Test for correct setting of errno.
[glibc.git] / ChangeLog
blobba57667649d258d29e9c161ecd60810833273b1a
1 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
2             Zack Weinberg  <zackw@panix.com>
4         * posix/test-errno.c: New file.
5         * posix/Makefile (tests): Add test-errno.
6         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
9 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
11         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13 2017-03-07  Florian Weimer  <fweimer@redhat.com>
15         * time/tzset.c (compute_offset): Open-code min macro.
16         (min, max, sign): Remove.
18 2017-03-07  Florian Weimer  <fweimer@redhat.com>
20         [BZ #15576]
21         Remove TZNAME_MAX limit from sysconf.
22         * include/time.h (__tzname_cur_max, __tzname_max): Remove
23         declaration.
24         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
25         compute_tzname_max.
26         (compute_tzname_max): Remove.
27         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
28         (update_vars): Do not update __tzname_cur_max.
29         (tzset_internal): Remove argument.
30         (__tzset): Adjust call to tzset_internal.
31         (__tz_convert): Likewise.
33         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
34         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
35         * manual/conf.texi (Sysconf Definition): Update comment.
37 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
39         [BZ #21209]
40         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
41         AT_SECURE processes.
42         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
43         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
44         (test_child): Likewise.
45         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
47 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
49         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
51 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
53         * sysdeps/s390/atomic-machine.h
54         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
55         (__arch_compare_and_exchange_val_8_acq,
56         __arch_compare_and_exchange_val_16_acq,
57         __arch_compare_and_exchange_val_32_acq,
58         __arch_compare_and_exchange_val_64_acq):
59         Delete macro.
60         (atomic_compare_and_exchange_val_acq,
61         atomic_compare_and_exchange_val_rel,
62         atomic_compare_and_exchange_bool_acq,
63         catomic_compare_and_exchange_bool_acq,
64         atomic_exchange_acq, atomic_exchange_rel,
65         atomic_exchange_and_add_acq,
66         atomic_exchange_and_add_rel,
67         catomic_exchange_and_add, atomic_or_val,
68         atomic_or, catomic_or, atomic_bit_test_set,
69         atomic_and_val, atomic_and, catomic_and):
70         Define macros with help of C11 atomic builtins.
72 2017-03-03  Justus Winter <justus@gnupg.org>
74         * sysdeps/mach/hurd/ftruncate64.c: New file.
75         * sysdeps/mach/hurd/truncate64.c: Likewise.
77 2017-03-03  Florian Weimer  <fweimer@redhat.com>
79         * time/tzfile.c (NOID): Do not define.
80         * time/tzset.c (NOID): Likewise.
82 2017-03-03  Florian Weimer  <fweimer@redhat.com>
84         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
86 2017-03-02  Florian Weimer  <fweimer@redhat.com>
88         * elf/get-dynamic-info.h: Remove header file inclusion guard.
90 2017-03-02  Florian Weimer  <fweimer@redhat.com>
92         [BZ #21015]
93         * manual/install.texi (Configuring and compiling): Document
94         --enable-bind-now.
95         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
96         (build-shlib-helper): Use $(LDFLAGS-lib.so).
97         (format.lds): Likewise.
98         [bind-now] (LDFLAGS-c.so): Remove.
99         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
100         be R_X86_64_GLOB_DAT.
101         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
102         relocation can be R_386_GLOB_DAT.
103         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
104         relocaiton can be R_ALPHA_GLOB_DAT.
105         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
107 2017-03-01  Zack Weinberg  <zackw@panix.com>
109         * include/libc-pointer-arith.h: New file.  Define
110         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
111         PTR_ALIGN_DOWN here.
112         * include/libc-internal.h: Definitions of above macros
113         moved from here.  Don't include libc-diag.h anymore either.
114         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
115         Don't include libc-internal.h.
117         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
118         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
119         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
120         * string/strcoll_l.c, sysdeps/nacl/brk.c
121         * sysdeps/unix/clock_settime.c
122         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
123         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
124         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
125         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
126         Don't include libc-internal.h.
128         * elf/get-dynamic-info.h, iconv/loop.c
129         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
130         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
131         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
132         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
133         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
134         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
135         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
136         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
137         * sysdeps/ieee754/ldbl-128/k_tanl.c
138         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
139         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
140         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
141         Include libc-diag.h instead of libc-internal.h.
143         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
144         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
145         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
146         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
147         * sysdeps/unix/sysv/linux/spawni.c
148         * sysdeps/x86_64/nptl/tls.h:
149         Include libc-pointer-arith.h instead of libc-internal.h.
151         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
152         * sysdeps/x86_64/atomic-machine.h:
153         Add multiple include guard.
155         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
156         * string/strcasestr.c: No need to include config.h.
157         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
158         sys/auxv.h. Don't include sysdep.h.
159         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
161         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
162         DL_LOOKUP_ADDRESS.
163         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
164         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
165         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
166         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
167         of ARTIFICIAL_LIMIT.
168         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
169         declaration of __clone2.
171 2017-02-28  Florian Weimer  <fweimer@redhat.com>
173         * scripts/backport-support.sh (latest_commit): New file.
175 2017-02-28  Florian Weimer  <fweimer@redhat.com>
177         [BZ #20257]
178         * inet/Makefile (routines): Add deadline.
179         (tests-static): Add tst-deadline.
180         * inet/net-internal.h (struct deadline_current_time)
181         (__deadline_current_time, struct deadline, __deadline_is_infinite)
182         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
183         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
184         * inet/deadline.c: New file.
185         * inet/tst-deadline.c: Likewise.
186         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
187         tst-udp-timeout, tst-udp-garbage.
188         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
189         explicitly.
190         (tst-udp-garbage): Likewise.  Also link against thread library.
191         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
192         struct layout is part of the ABI.
193         (clntudp_call): Rework timeout handling.
194         * sunrpc/tst-udp-garbage.c: New file.
195         * sunrpc/tst-udp-nonblocking.c: Likewise.
196         * sunrpc/tst-udp-timeout.c: Likewise.
198 2017-02-28  Florian Weimer  <fweimer@redhat.com>
200         [BZ #5010]
201         * sunrpc/svc.c (svc_is_mapped): Remove.
202         (svc_unregister): Obtain mapped status while the service is still
203         registered.
204         * sunrpc/Makefile [have-thread-library] (tests): Add
205         tst-svc_register.
206         (tst-svc_register): Link against libc.so explicitly and the thread
207         library.
208         * sunrpc/tst-svc_register.c: New file.
210 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
212         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
213         * sysdeps/pthread/bits/sigthread.h: Likewise.
215 2017-02-27  Florian Weimer  <fweimer@redhat.com>
217         [BZ #21115]
218         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
219         * sunrpc/Makefile (tests): Add tst-udp-error.
220         (tst-udp-error): Link against libc.so explicitly.
221         * sunrpc/tst-udp-error: New file.
223 2017-02-25  Zack Weinberg  <zackw@panix.com>
225         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
226         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
228         * sysdeps/generic/math_ldbl.h
229         * sysdeps/ia64/fpu/math_ldbl.h
230         * sysdeps/ieee754/ldbl-128/math_ldbl.h
231         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
232         * sysdeps/ieee754/ldbl-96/math_ldbl.h
233         * sysdeps/powerpc/fpu/math_ldbl.h
234         * sysdeps/x86_64/fpu/math_ldbl.h:
235         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
236         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
237         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
238         Add copyright notices.
240         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
241         Don't use EXTRACT_WORDS64.
243         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
244         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
245         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
246         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
247         Include math_ldbl.h, not math_private.h.
249 2017-02-25  Zack Weinberg  <zackw@panix.com>
251         * include/libc-diag.h: New file.  Define ignore_value,
252         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
253         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
255         * include/libc-internal.h: Definitions of above macros moved from
256         here.  Include libc-diag.h.  Add copyright notice.
258         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
259         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
260         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
261         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
262         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
263         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
264         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
265         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
266         Include libc-diag.h instead of libc-internal.h.
268         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
269         call to unsetenv (NULL).
270         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
271         call to pthread_mutexattr_destroy (NULL).
273 2017-02-25  Zack Weinberg  <zackw@panix.com>
275         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
276         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
277         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
278         gets was removed from C++ in C++14.
279         * include/stdio.h: Remove redundant declaration of gets.
280         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
281         be declared, since we are testing it.
282         * stdio-common/Makefile (tst-gets.c): Compile with
283         -Wno-deprecated-declarations.
284         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
285         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
286         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
287         Compile with -Wno-deprecated-declarations.
289 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
291         * math/libm-test-support.c (check_ulp): Use LIT() around literal
292         numbers.
294 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
296         * resolv/tst-resolv-qtypes.c (domain):
297         Change type to const pointer to const char.
299 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
301         * math/Makefile (libm-tests-generated): Remove variable.
302         (libm-tests-base-normal): New variable.
303         (libm-tests-base-finite): Likewise.
304         (libm-tests-base-inline): Likewise.
305         (libm-tests-base): Likewise.
306         (libm-tests-normal): Likewise.
307         (libm-tests-finite): Likewise.
308         (libm-tests-inline): Likewise.
309         (libm-tests-vector): Likewise.
310         (libm-tests): Define in terms of these new variables.
311         (libm-tests-for-type): New variable.
312         (libm-tests.o): Move definition.
313         (tests): Move addition of $(libm-tests).
314         (generated): Update for new and removed libm test files.
315         ($(objpfx)libm-test.c): Remove target.
316         ($(objpfx)libm-have-vector-test.h): Likewise.
317         (CFLAGS-test-double-vlen2.c): Remove variable.
318         (CFLAGS-test-double-vlen4.c): Likewise.
319         (CFLAGS-test-double-vlen8.c): Likewise.
320         (CFLAGS-test-float-vlen4.c): Likewise.
321         (CFLAGS-test-float-vlen8.c): Likewise.
322         (CFLAGS-test-float-vlen16.c): Likewise.
323         (CFLAGS-test-float.c): Likewise.
324         (CFLAGS-test-float-finite.c): Likewise.
325         (CFLAGS-libm-test-support-float.c): Likewise.
326         (CFLAGS-test-double.c): Likewise.
327         (CFLAGS-test-double-finite.c): Likewise.
328         (CFLAGS-libm-test-support-double.c): Likewise.
329         (CFLAGS-test-ldouble.c): Likewise.
330         (CFLAGS-test-ldouble-finite.c): Likewise.
331         (CFLAGS-libm-test-support-ldouble.c): Likewise.
332         (libm-test-inline-cflags): New variable.
333         (CFLAGS-test-ifloat.c): Remove variable.
334         (CFLAGS-test-idouble.c): Likewise.
335         (CFLAGS-test-ildouble.c): Likewise.
336         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
337         dependencies.
338         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
339         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
340         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
341         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
342         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
343         Likewise.
344         (dependencies on libm-test-support-*.o): Remove.
345         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
346         rules using iterators.
347         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
348         Likewise.
349         ($(objpfx)libm-test-support-$(o).o): Likewise.
350         ($(addprefix $(objpfx),$(filter-out $(tests-static)
351         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
352         instead.
353         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
354         define rule instead.
355         * math/README.libm-test: Update.
356         * math/libm-test-acos.inc: Include libm-test-driver.c.
357         (do_test): New function.
358         * math/libm-test-acosh.inc: Include libm-test-driver.c.
359         (do_test): New function.
360         * math/libm-test-asin.inc: Include libm-test-driver.c.
361         (do_test): New function.
362         * math/libm-test-asinh.inc: Include libm-test-driver.c.
363         (do_test): New function.
364         * math/libm-test-atan.inc: Include libm-test-driver.c.
365         (do_test): New function.
366         * math/libm-test-atan2.inc: Include libm-test-driver.c.
367         (do_test): New function.
368         * math/libm-test-atanh.inc: Include libm-test-driver.c.
369         (do_test): New function.
370         * math/libm-test-cabs.inc: Include libm-test-driver.c.
371         (do_test): New function.
372         * math/libm-test-cacos.inc: Include libm-test-driver.c.
373         (do_test): New function.
374         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
375         (do_test): New function.
376         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
377         (do_test): New function.
378         * math/libm-test-carg.inc: Include libm-test-driver.c.
379         (do_test): New function.
380         * math/libm-test-casin.inc: Include libm-test-driver.c.
381         (do_test): New function.
382         * math/libm-test-casinh.inc: Include libm-test-driver.c.
383         (do_test): New function.
384         * math/libm-test-catan.inc: Include libm-test-driver.c.
385         (do_test): New function.
386         * math/libm-test-catanh.inc: Include libm-test-driver.c.
387         (do_test): New function.
388         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
389         (do_test): New function.
390         * math/libm-test-ccos.inc: Include libm-test-driver.c.
391         (do_test): New function.
392         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
393         (do_test): New function.
394         * math/libm-test-ceil.inc: Include libm-test-driver.c.
395         (do_test): New function.
396         * math/libm-test-cexp.inc: Include libm-test-driver.c.
397         (do_test): New function.
398         * math/libm-test-cimag.inc: Include libm-test-driver.c.
399         (do_test): New function.
400         * math/libm-test-clog.inc: Include libm-test-driver.c.
401         (do_test): New function.
402         * math/libm-test-clog10.inc: Include libm-test-driver.c.
403         (do_test): New function.
404         * math/libm-test-conj.inc: Include libm-test-driver.c.
405         (do_test): New function.
406         * math/libm-test-copysign.inc: Include libm-test-driver.c.
407         (do_test): New function.
408         * math/libm-test-cos.inc: Include libm-test-driver.c.
409         (do_test): New function.
410         * math/libm-test-cosh.inc: Include libm-test-driver.c.
411         (do_test): New function.
412         * math/libm-test-cpow.inc: Include libm-test-driver.c.
413         (do_test): New function.
414         * math/libm-test-cproj.inc: Include libm-test-driver.c.
415         (do_test): New function.
416         * math/libm-test-creal.inc: Include libm-test-driver.c.
417         (do_test): New function.
418         * math/libm-test-csin.inc: Include libm-test-driver.c.
419         (do_test): New function.
420         * math/libm-test-csinh.inc: Include libm-test-driver.c.
421         (do_test): New function.
422         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
423         (do_test): New function.
424         * math/libm-test-ctan.inc: Include libm-test-driver.c.
425         (do_test): New function.
426         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
427         (do_test): New function.
428         * math/libm-test-erf.inc: Include libm-test-driver.c.
429         (do_test): New function.
430         * math/libm-test-erfc.inc: Include libm-test-driver.c.
431         (do_test): New function.
432         * math/libm-test-exp.inc: Include libm-test-driver.c.
433         (do_test): New function.
434         * math/libm-test-exp10.inc: Include libm-test-driver.c.
435         (do_test): New function.
436         * math/libm-test-exp2.inc: Include libm-test-driver.c.
437         (do_test): New function.
438         * math/libm-test-expm1.inc: Include libm-test-driver.c.
439         (do_test): New function.
440         * math/libm-test-fabs.inc: Include libm-test-driver.c.
441         (do_test): New function.
442         * math/libm-test-fdim.inc: Include libm-test-driver.c.
443         (do_test): New function.
444         * math/libm-test-floor.inc: Include libm-test-driver.c.
445         (do_test): New function.
446         * math/libm-test-fma.inc: Include libm-test-driver.c.
447         (do_test): New function.
448         * math/libm-test-fmax.inc: Include libm-test-driver.c.
449         (do_test): New function.
450         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
451         (do_test): New function.
452         * math/libm-test-fmin.inc: Include libm-test-driver.c.
453         (do_test): New function.
454         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
455         (do_test): New function.
456         * math/libm-test-fmod.inc: Include libm-test-driver.c.
457         (do_test): New function.
458         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
459         (do_test): New function.
460         * math/libm-test-frexp.inc: Include libm-test-driver.c.
461         (do_test): New function.
462         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
463         (do_test): New function.
464         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
465         (do_test): New function.
466         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
467         (do_test): New function.
468         * math/libm-test-hypot.inc: Include libm-test-driver.c.
469         (do_test): New function.
470         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
471         (do_test): New function.
472         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
473         (do_test): New function.
474         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
475         (do_test): New function.
476         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
477         (do_test): New function.
478         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
479         (do_test): New function.
480         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
481         (do_test): New function.
482         * math/libm-test-isinf.inc: Include libm-test-driver.c.
483         (do_test): New function.
484         * math/libm-test-isless.inc: Include libm-test-driver.c.
485         (do_test): New function.
486         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
487         (do_test): New function.
488         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
489         (do_test): New function.
490         * math/libm-test-isnan.inc: Include libm-test-driver.c.
491         (do_test): New function.
492         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
493         (do_test): New function.
494         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
495         (do_test): New function.
496         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
497         (do_test): New function.
498         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
499         (do_test): New function.
500         * math/libm-test-iszero.inc: Include libm-test-driver.c.
501         (do_test): New function.
502         * math/libm-test-j0.inc: Include libm-test-driver.c.
503         (do_test): New function.
504         * math/libm-test-j1.inc: Include libm-test-driver.c.
505         (do_test): New function.
506         * math/libm-test-jn.inc: Include libm-test-driver.c.
507         (do_test): New function.
508         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
509         (do_test): New function.
510         * math/libm-test-llogb.inc: Include libm-test-driver.c.
511         (do_test): New function.
512         * math/libm-test-llrint.inc: Include libm-test-driver.c.
513         (do_test): New function.
514         * math/libm-test-llround.inc: Include libm-test-driver.c.
515         (do_test): New function.
516         * math/libm-test-log.inc: Include libm-test-driver.c.
517         (do_test): New function.
518         * math/libm-test-log10.inc: Include libm-test-driver.c.
519         (do_test): New function.
520         * math/libm-test-log1p.inc: Include libm-test-driver.c.
521         (do_test): New function.
522         * math/libm-test-log2.inc: Include libm-test-driver.c.
523         (do_test): New function.
524         * math/libm-test-logb.inc: Include libm-test-driver.c.
525         (do_test): New function.
526         * math/libm-test-lrint.inc: Include libm-test-driver.c.
527         (do_test): New function.
528         * math/libm-test-lround.inc: Include libm-test-driver.c.
529         (do_test): New function.
530         * math/libm-test-modf.inc: Include libm-test-driver.c.
531         (do_test): New function.
532         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
533         (do_test): New function.
534         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
535         (do_test): New function.
536         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
537         (do_test): New function.
538         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
539         (do_test): New function.
540         * math/libm-test-nextup.inc: Include libm-test-driver.c.
541         (do_test): New function.
542         * math/libm-test-pow.inc: Include libm-test-driver.c.
543         (do_test): New function.
544         * math/libm-test-remainder.inc: Include libm-test-driver.c.
545         (do_test): New function.
546         * math/libm-test-remquo.inc: Include libm-test-driver.c.
547         (do_test): New function.
548         * math/libm-test-rint.inc: Include libm-test-driver.c.
549         (do_test): New function.
550         * math/libm-test-round.inc: Include libm-test-driver.c.
551         (do_test): New function.
552         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
553         (do_test): New function.
554         * math/libm-test-scalb.inc: Include libm-test-driver.c.
555         (do_test): New function.
556         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
557         (do_test): New function.
558         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
559         (do_test): New function.
560         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
561         (do_test): New function.
562         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
563         (do_test): New function.
564         * math/libm-test-signbit.inc: Include libm-test-driver.c.
565         (do_test): New function.
566         * math/libm-test-significand.inc: Include libm-test-driver.c.
567         (do_test): New function.
568         * math/libm-test-sin.inc: Include libm-test-driver.c.
569         (do_test): New function.
570         * math/libm-test-sincos.inc: Include libm-test-driver.c.
571         (do_test): New function.
572         * math/libm-test-sinh.inc: Include libm-test-driver.c.
573         (do_test): New function.
574         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
575         (do_test): New function.
576         * math/libm-test-tan.inc: Include libm-test-driver.c.
577         (do_test): New function.
578         * math/libm-test-tanh.inc: Include libm-test-driver.c.
579         (do_test): New function.
580         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
581         (do_test): New function.
582         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
583         (do_test): New function.
584         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
585         (do_test): New function.
586         * math/libm-test-trunc.inc: Include libm-test-driver.c.
587         (do_test): New function.
588         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
589         (do_test): New function.
590         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
591         (do_test): New function.
592         * math/libm-test-y0.inc: Include libm-test-driver.c.
593         (do_test): New function.
594         * math/libm-test-y1.inc: Include libm-test-driver.c.
595         (do_test): New function.
596         * math/libm-test-yn.inc: Include libm-test-driver.c.
597         (do_test): New function.
598         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
599         (HAVE_VECTOR): Remove macro.
600         (START): Do not call HAVE_VECTOR.
601         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
602         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
603         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
604         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
605         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
606         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
607         * math/test-math-vector.h (FUNC_TEST): New macro.
608         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
609         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
610         (double-vlen4-funcs): Likewise.
611         (double-vlen4-avx2-funcs): Likewise.
612         (double-vlen8-funcs): Likewise.
613         (float-vlen4-funcs): Likewise.
614         (float-vlen8-funcs): Likewise.
615         (float-vlen8-avx2-funcs): Likewise.
616         (float-vlen16-funcs): Likewise.
617         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
618         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
619         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
620         macro.
621         (TEST_VECTOR_sin): Likewise.
622         (TEST_VECTOR_sincos): Likewise.
623         (TEST_VECTOR_log): Likewise.
624         (TEST_VECTOR_exp): Likewise.
625         (TEST_VECTOR_pow): Likewise.
626         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
627         Likewise.
628         (TEST_VECTOR_sin): Likewise.
629         (TEST_VECTOR_sincos): Likewise.
630         (TEST_VECTOR_log): Likewise.
631         (TEST_VECTOR_exp): Likewise.
632         (TEST_VECTOR_pow): Likewise.
633         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
634         Likewise.
635         (TEST_VECTOR_sinf): Likewise.
636         (TEST_VECTOR_sincosf): Likewise.
637         (TEST_VECTOR_logf): Likewise.
638         (TEST_VECTOR_expf): Likewise.
639         (TEST_VECTOR_powf): Likewise.
640         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
641         Likewise.
642         (TEST_VECTOR_sinf): Likewise.
643         (TEST_VECTOR_sincosf): Likewise.
644         (TEST_VECTOR_logf): Likewise.
645         (TEST_VECTOR_expf): Likewise.
646         (TEST_VECTOR_powf): Likewise.
647         * math/gen-libm-have-vector-test.sh: Remove file.
648         * math/libm-test.inc: Likewise.
649         * math/libm-test-support-double.c: Likewise.
650         * math/libm-test-support-float.c: Likewise.
651         * math/libm-test-support-ldouble.c: Likewise.
652         * math/test-double-finite.c: Likewise.: Likewise.
653         * math/test-double.c: Likewise.
654         * math/test-float-finite.c: Likewise.
655         * math/test-float.c: Likewise.
656         * math/test-idouble.c: Likewise.
657         * math/test-ifloat.c: Likewise.
658         * math/test-ildouble.c: Likewise.
659         * math/test-ldouble-finite.c: Likewise.
660         * math/test-ldouble.c: Likewise.
661         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
662         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
663         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
664         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
665         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
666         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
667         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
668         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
669         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
670         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
672 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
673            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
675         * math/Makefile: Add wrappers to gen-libm-calls.
676         * math/w_acos_template.c: New file.
677         * math/w_acosh_template.c: Likewise.
678         * math/w_asin_template.c: Likewise.
679         * math/w_atan2_template.c: Likewise.
680         * math/w_atanh_template.c: Likewise.
681         * math/w_cosh_template.c: Likewise.
682         * math/w_exp10_template.c: Likewise.
683         * math/w_exp2_template.c: Likewise.
684         * math/w_exp_template.c: Likewise.
685         * math/w_fmod_template.c: Likewise.
686         * math/w_hypot_template.c: Likewise.
687         * math/w_j0_template.c: Likewise.
688         * math/w_j1_template.c: Likewise.
689         * math/w_jn_template.c: Likewise.
690         * math/w_lgamma_r_template.c: Likewise.
691         * math/w_lgamma_template.c: Likewise.
692         * math/w_log10_template.c: Likewise.
693         * math/w_log2_template.c: Likewise.
694         * math/w_log_template.c: Likewise.
695         * math/w_pow_template.c: Likewise.
696         * math/w_remainder_template.c: Likewise.
697         * math/w_sinh_template.c: Likewise.
698         * math/w_sqrt_template.c: Likewise.
699         * math/w_tgamma_template.c: Likewise.: Likewise.
700         * sysdeps/generic/math-type-macros-double.h
701         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
702         the new wrappers.
703         * sysdeps/generic/math-type-macros-float.h: Likewise.
704         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
706 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
708         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
709         New enum constant and macro.
711         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
712         kernel version to 4.10.
714 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
716         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
718 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
722 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
724         * sysdeps/powerpc/tst-set_ppr.c: New file.
725         Implement test cases for __ppc_set_ppr_* functions.
726         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
727         in the list of tests.
729 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
731         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
732         instead of test-skeleton.c.
733         (do_test): Replaced pthread_create and pthread_join with
734         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
735         Removed unneeded status variable.
736         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
737         instead of test-skeleton.c.
738         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
740 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
742         [BZ #20313]
743         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
744         201605L, for Unicode 9.
746 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
748         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
749         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
750         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
751         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
752         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
753         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
755 2017-02-19  Zack Weinberg  <zackw@panix.com>
757         * rt/tst-mqueue4.c: Include stdint.h.
759 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
761         * sysdeps/arm/libm-test-ulps: Update.
762         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
763         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
764         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
766 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
768         [BZ #21029]
769         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
770         * sysdeps/unix/sysv/linux/i386/Makefile
771         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
772         (uses-6-syscall-arguments): Remove.
773         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
774         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
775         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
776         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
777         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
778         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
779         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
780         [$(subdir) = misc] (cflags-pselect.o): Likewise.
781         [$(subdir) = misc] (cflags-pselect.os): Likewise.
782         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
783         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
784         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
785         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
786         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
787         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
788         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
789         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
790         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
791         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
792         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
793         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
794         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
795         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
796         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
797         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
798         Likewise.
799         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
800         Likewise.
801         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
802         Likewise.
803         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
804         Likewise.
805         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
806         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
807         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
808         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
809         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
810         ebp on inline assembly.
811         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
812         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
813         Set if CAN_USE_REGISTER_ASM_EBP is set.
815 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
817         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
818         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
820 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
822         * math/auto-libm-test-in: Add tests of catan and catanh.
823         * math/auto-libm-test-out-catan: New generated file.
824         * math/auto-libm-test-out-catanh: Likewise.
825         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
826         Move tests with finite inputs, except divide-by-zero cases, to
827         auto-libm-test-in.
828         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
829         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
830         (libm-test-funcs-noauto): Remove catan and catanh.
831         * sysdeps/i386/fpu/libm-test-ulps: Update.
832         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
835         * math/auto-libm-test-in: Add tests of casin and casinh.
836         * math/auto-libm-test-out-casin: New generated file.
837         * math/auto-libm-test-out-casinh: Likewise.
838         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
839         Move tests with finite inputs to auto-libm-test-in.
840         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
841         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
842         (libm-test-funcs-noauto): Remove casin and casinh.
843         * sysdeps/i386/fpu/libm-test-ulps: Update.
844         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
847         * math/auto-libm-test-in: Add tests of cacos and cacosh.
848         * math/auto-libm-test-out-cacos: New generated file.
849         * math/auto-libm-test-out-cacosh: Likewise.
850         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
851         Move tests with finite inputs to auto-libm-test-in.
852         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
853         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
854         (libm-test-funcs-noauto): Remove cacos and cacosh.
855         * sysdeps/i386/fpu/libm-test-ulps: Update.
856         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
859         Revert:
860         2017-02-16  Zack Weinberg  <zackw@panix.com>
862         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
863         Don't include init-arch.h.
864         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
865         Don't include init-arch.h.
867 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
869         [BZ #21171]
870         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
871         +Inf and raise divide-by-zero when x is negative.
872         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
873         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
874         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
875         -Inf and raise divide-by-zero when x = +-0.
876         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
877         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
878         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
879         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
880         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
881         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
882         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
884 2017-02-16  Zack Weinberg  <zackw@panix.com>
886         * scripts/build-many-glibcs.py (bot_build_mail): If the
887         bot_config does not contain all of the necessary email-
888         related settings, just print a warning and continue.
890 2017-02-16  Zack Weinberg  <zackw@panix.com>
892         * crypt/md5.h: Test _LIBC with #if defined, not #if.
893         * dirent/opendir-tst1.c: Include sys/stat.h.
894         * dirent/tst-fdopendir.c: Include sys/stat.h.
895         * dirent/tst-fdopendir2.c: Include stdlib.h.
896         * dirent/tst-scandir.c: Include stdbool.h.
897         * elf/tst-auditmod1.c: Include link.h and stddef.h.
898         * elf/tst-tls15.c: Include stdlib.h.
899         * elf/tst-tls16.c: Include stdlib.h.
900         * elf/tst-tls17.c: Include stdlib.h.
901         * elf/tst-tls18.c: Include stdlib.h.
902         * iconv/tst-iconv6.c: Include endian.h.
903         * iconvdata/bug-iconv11.c: Include limits.h.
904         * io/test-utime.c: Include stdint.h.
905         * io/tst-faccessat.c: Include sys/stat.h.
906         * io/tst-fchmodat.c: Include sys/stat.h.
907         * io/tst-fchownat.c: Include sys/stat.h.
908         * io/tst-fstatat.c: Include sys/stat.h.
909         * io/tst-futimesat.c: Include sys/stat.h.
910         * io/tst-linkat.c: Include sys/stat.h.
911         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
912         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
913         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
914         * io/tst-openat.c: Include stdbool.h.
915         * io/tst-readlinkat.c: Include sys/stat.h.
916         * io/tst-renameat.c: Include sys/stat.h.
917         * io/tst-symlinkat.c: Include sys/stat.h.
918         * io/tst-unlinkat.c: Include stdbool.h.
919         * libio/bug-memstream1.c: Include stdlib.h.
920         * libio/bug-wmemstream1.c: Include stdlib.h.
921         * libio/tst-fwrite-error.c: Include stdlib.h.
922         * libio/tst-memstream1.c: Include stdlib.h.
923         * libio/tst-memstream2.c: Include stdlib.h.
924         * libio/tst-memstream3.c: Include stdlib.h.
925         * malloc/tst-interpose-aux.c: Include stdint.h.
926         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
927         * nptl/tst-basic7.c: Include limits.h.
928         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
929         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
930         * nptl/tst-cancel4_1.c: Include stddef.h.
931         * nptl/tst-cancel4_2.c: Include stddef.h.
932         * nptl/tst-cond16.c: Include limits.h.
933         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
934         * nptl/tst-cond18.c: Include limits.h.
935         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
936         * nptl/tst-cond4.c: Include stdint.h.
937         * nptl/tst-cond6.c: Include stdint.h.
938         * nptl/tst-stack2.c: Include limits.h.
939         * nptl/tst-stackguard1.c: Include stddef.h.
940         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
941         * nptl/tst-tls4moda.c: Include stddef.h.
942         Don't include stdio.h, unistd.h, or tls.h.
943         * nptl/tst-tls4modb.c: Include stddef.h.
944         Don't include stdio.h, unistd.h, or tls.h.
945         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
946         * posix/tst-getaddrinfo2.c: Include stdio.h.
947         * posix/tst-getaddrinfo5.c: Include stdio.h.
948         * posix/tst-pathconf.c: Include sys/stat.h.
949         * posix/tst-posix_fadvise-common.c: Include stdint.h.
950         * posix/tst-preadwrite-common.c: Include sys/stat.h.
951         * posix/tst-regex.c: Include stdint.h.
952         Don't include spawn.h or spawn_int.h.
953         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
954         * posix/tst-vfork3.c: Include sys/stat.h.
955         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
956         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
957         * resolv/tst-resolv-search.c: Include stdlib.h.
958         * stdio-common/tst-fmemopen2.c: Include stdint.h.
959         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
960         * stdlib/test-canon.c: Include sys/stat.h.
961         * stdlib/tst-tls-atexit.c: Include stdbool.h.
962         * string/test-memchr.c: Include stdint.h.
963         * string/tst-cmp.c: Include stdint.h.
964         * sysdeps/pthread/tst-timer.c: Include stdint.h.
965         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
966         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
967         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
968         Don't include init-arch.h.
969         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
970         Don't include init-arch.h.
971         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
972         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
973         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
974         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
975         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
976         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
977         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
978         * time/clocktest.c: Include stdint.h.
979         * time/tst-posixtz.c: Include stdint.h.
980         * timezone/tst-timezone.c: Include stdint.h.
982 2017-02-16  Zack Weinberg  <zackw@panix.com>
984         * string/string.h [__USE_MISC]: Include strings.h.
985         (__bzero, bcmp, bcopy, bzero, index, rindex)
986         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
987         (ffs, ffsl, ffsll): Don't declare.
988         * string/strings.h: Do not suppress the file if string.h has
989         already been included.
990         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
991         annotations.
992         (index, rindex): Define inline forwarders even if
993         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
994         (ffs): Use __attribute_const__.
995         (ffsl, ffsll): Declare here.
996         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
997         have now been standardized.
998         * include/string.h (__bzero): Declare here.
1000         * bits/types.h: Move to posix/bits.
1001         * include/bits/types.h: New wrapper.
1003 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1005         * string/bits/string2.h (strcmp): Remove define.
1006         (__strcmp_cg): Likewise.
1007         (strncmp): Likewise.
1009 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1011         * include/string.h: Add __cplusplus check.
1013 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1015         [BZ #21134]
1016         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1017         "divide by zero" exception when the input is zero.
1018         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1019         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1020         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1021         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1022         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1024 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1026         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1027         and include ...
1028         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1029         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1030         to, and include ...
1031         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1032         file.
1033         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1034         and include ...
1035         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1036         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1037         and include ...
1038         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1039         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1040         and include ...
1041         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1042         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1043         and include ...
1044         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1045         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1046         to, and include ...
1047         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1048         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1049         and include ...
1050         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1052 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1054         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1055         here.
1056         * math/libm-test-support.c (libm_test_init): Do not call
1057         INIT_ARCH_EXT here.
1058         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1059         (main): Call INIT_ARCH_EXT.
1061 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1063         [BZ #21130]
1064         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1065         with the "invalid" exception raised when x is -Inf.
1066         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1068 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1070         * string/bits/string2.h (strchr): Remove define.
1072 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1074         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1075         tst-avx512.
1076         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1077         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1078         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1079         ($(objpfx)tst-sse): New rule.
1080         ($(objpfx)tst-avx): Likewise.
1081         ($(objpfx)tst-avx512): Likewise.
1082         (CFLAGS-tst-avx-aux.c): New.
1083         (CFLAGS-tst-avxmod.c): Likewise.
1084         (CFLAGS-tst-avx512-aux.c): Likewise.
1085         (CFLAGS-tst-avx512mod.c): Likewise.
1086         * sysdeps/x86_64/tst-avx-aux.c: New file.
1087         * sysdeps/x86_64/tst-avx.c: Likewise.
1088         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1089         * sysdeps/x86_64/tst-avx512.c: Likewise.
1090         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1091         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1092         * sysdeps/x86_64/tst-sse.c: Likewise.
1093         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1095 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1097         * math/auto-libm-test-in: Add more tests of csin and csinh.
1098         * math/auto-libm-test-out-csin: Regenerated.
1099         * math/auto-libm-test-out-csinh: Likewise.
1100         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1101         auto-libm-test-in.
1102         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1104 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1106         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1107         libm-compat-calls-auto.
1108         (libm-compat-calls): Likewise.
1109         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1110         w_lgamma_compatF and k_standardF (merged from the items above).
1111         (libm-routines): Use libm-compat-calls, instead of
1112         libm-compat-calls-auto, with type-foreach.
1114 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1116         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1117         macro.
1118         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1119         (CFLAGS-test-ifloat.c): ... this.  Remove
1120         -U__LIBC_INTERNAL_MATH_INLINES.
1121         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1122         (CFLAGS-test-idouble.c): ... this.  Remove
1123         -U__LIBC_INTERNAL_MATH_INLINES.
1124         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1125         (CFLAGS-test-ildouble.c): ... this.  Remove
1126         -U__LIBC_INTERNAL_MATH_INLINES.
1128 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1130         * math/libm-test-support.c: New file.  Content from
1131         math/libm-test-driver.c.
1132         * math/libm-test-support.h: Likewise.
1133         * math/libm-test-support-double.c: New file.
1134         * math/libm-test-support-float.c: Likewise.
1135         * math/libm-test-support-ldouble.c: Likewise.
1136         * math/libm-test-driver.c: Remove main comment and header
1137         includes.  Include libm-test-support.h.
1138         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1139         (flag_test_errno): Remove static.
1140         (flag_test_exceptions): Likewise.
1141         (flag_test_finite): Likewise.
1142         (flag_test_inline): Likewise.
1143         (flag_test_mathvec): Likewise.
1144         (test_msg): Likewise.
1145         (NO_EXCEPTION): Remove.
1146         (INVALID_EXCEPTION): Likewise.
1147         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1148         (OVERFLOW_EXCEPTION): Likewise.
1149         (UNDERFLOW_EXCEPTION): Likewise.
1150         (INEXACT_EXCEPTION): Likewise.
1151         (INVALID_EXCEPTION_OK): Likewise.
1152         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1153         (OVERFLOW_EXCEPTION_OK): Likewise.
1154         (UNDERFLOW_EXCEPTION_OK): Likewise.
1155         (NO_INEXACT_EXCEPTION): Likewise.
1156         (EXCEPTIONS_OK): Likewise.
1157         (IGNORE_ZERO_INF_SIGN): Likewise.
1158         (TEST_NAN_SIGN): Likewise.
1159         (TEST_NAN_PAYLOAD): Likewise.
1160         (NO_TEST_INLINE): Likewise.
1161         (XFAIL_TEST): Likewise.
1162         (ERRNO_UNCHANGED): Likewise.
1163         (ERRNO_EDOM): Likewise.
1164         (ERRNO_ERANGE): Likewise.
1165         (IGNORE_RESULT): Likewise.
1166         (NON_FINITE): Likewise.
1167         (TEST_SNAN): Likewise.
1168         (NO_TEST_MATHVEC): Likewise.
1169         (__CONCATX): Likewise.
1170         (TYPE_MIN): Likewise.
1171         (TYPE_TRUE_MIN): Likewise.
1172         (TYPE_MAX): Likewise.
1173         (MIN_EXP): Likewise.
1174         (MAX_EXP): Likewise.
1175         (MANT_DIG): Likewise.
1176         (FSTR_MAX): Likewise.
1177         (ulp_idx): Likewise.
1178         (qtype_str): Remove static.
1179         (TEST_COND_binary32): Remove.
1180         (TEST_COND_binary64): Likewise.
1181         (TEST_COND_binary128): Likewise.
1182         (TEST_COND_ibm128): Likewise.
1183         (TEST_COND_intel96): Likewise.
1184         (TEST_COND_m68k96): Likewise.
1185         (TEST_COND_ibm128_libgcc): Likewise.
1186         (XFAIL_IBM128_LIBGCC): Likewise.
1187         (PAYLOAD_DIG): Likewise.
1188         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1189         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1190         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1191         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1192         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1193         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1194         (TEST_COND_long32): Likewise.
1195         (TEST_COND_long64): Likewise.
1196         (TEST_COND_before_rounding): Likewise.
1197         (TEST_COND_after_rounding): Likewise.
1198         (ulps_file_name): Likewise.
1199         (ulps_file): Likewise.
1200         (output_ulps): Likewise.
1201         (output_dir): Likewise.
1202         (noErrors): Likewise.
1203         (noTests): Likewise.
1204         (noExcTests): Likewise.
1205         (noErrnoTests): Likewise.
1206         (verbose): Likewise.
1207         (output_max_error): Likewise.
1208         (output_points): Likewise.
1209         (ignore_max_ulp): Likewise.
1210         (max_error): Likewise.
1211         (real_max_error): Likewise.
1212         (imag_max_error): Likewise.
1213         (prev_max_error): Likewise.
1214         (prev_real_max_error): Likewise.
1215         (prev_imag_max_error): Likewise.
1216         (max_valid_error): Likewise.
1217         (TYPE_DECIMAL_DIG): Likewise.
1218         (TYPE_HEX_DIG): Likewise.
1219         (fmt_ftostr): Likewise.
1220         (compare_ulp_data): Likewise.
1221         (find_ulps): Likewise.
1222         (init_max_error): Likewise.
1223         (set_max_error): Likewise.
1224         (print_float): Likewise.
1225         (print_screen): Likewise.
1226         (print_screen_max_error): Likewise.
1227         (update_stats): Likewise.
1228         (print_function_ulps): Likewise.
1229         (print_complex_function_ulps): Likewise.
1230         (fpstack_test): Likewise.
1231         (print_max_error): Likewise.
1232         (print_complex_max_error): Likewise.
1233         (test_single_exception): Likewise.
1234         (test_exceptions): Likewise.
1235         (test_single_errno): Likewise.
1236         (test_errno): Likewise.
1237         (ULPDIFF): Likewise.
1238         (ulp): Likewise.
1239         (check_float_internal): Likewise.
1240         (check_float): Likewise.
1241         (check_complex): Likewise.
1242         (check_int): Likewise.
1243         (check_long): Likewise.
1244         (check_bool): Likewise.
1245         (check_longlong): Likewise.
1246         (check_intmax_t): Likewise.
1247         (check_uintmax_t): Likewise.
1248         (enable_test): Likewise.
1249         (matherr): Likewise.
1250         (initialize): Likewise.
1251         (options): Likewise.
1252         (doc): Remove static.
1253         (argp): Likewise.
1254         (parse_opt): Remove.
1255         (check_ulp): Likewise.
1256         (libm_test_init): Likewise.
1257         (libm_test_finish): Likewise.
1258         * math/Makefile (libm-test-support): New variable.
1259         (test-extras): Add libm-test-support files.
1260         (extra-test-objs): Likewise.
1261         (CFLAGS-libm-test-support-float.c): New variable.
1262         (CFLAGS-libm-test-support-double.c): Likewise.
1263         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1264         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1265         libm-test-support objects.
1267 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1269         * math/Makefile (libm-calls): Move w_exp...
1270         (libm-compat-calls-auto): Here.
1272         * math/w_expl.c: Add suffix "_compat" to filename.
1273         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1274         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1275         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1276         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1277         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1278         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1279         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1280         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1282         * math/w_expl_compat.c: New file, copied from above.
1283         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1284         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1285         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1286         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1287         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1288         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1289         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1290         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1292         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1293         to filename.
1294         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1296         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1297         copied from above and adjusted for the new filenames.
1298         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1300 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1302         * math/Makefile (libm-calls): Move w_lgammaF...
1303         (libm-compat-calls-auto): Here.
1305         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1306         * math/w_lgammaf.c: Likewise.
1307         * math/w_lgammal.c: Likewise.
1309         * math/w_lgamma_compat2.c: New file, copied from above.
1310         * math/w_lgammaf_compat2.c: Likewise.
1311         * math/w_lgammal_compat2.c: Likewise.
1313 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1315         * math/Makefile (libm-calls): Move w_lgammaF_r...
1316         (libm-compat-calls-auto): Here.
1318         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1319         * math/w_lgammaf_r.c: Likewise.
1320         * math/w_lgammal_r.c: Likewise.
1321         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1322         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1323         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1325         * math/w_lgamma_r_compat.c: New file, copied from above.
1326         * math/w_lgammaf_r_compat.c: Likewise.
1327         * math/w_lgammal_r_compat.c: Likewise.
1328         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1329         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1330         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1332         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1333         to filename.
1334         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1336         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1337         copied from above and adjusted for the new filenames.
1338         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1340 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1342         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1343         calculation in SYSCALL_ERROR_HANDLER().
1345 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1347         * manual/contrib.texi: Fix typo.
1349 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1351         [BZ #21109]
1352         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1353         tunable_val_t as argument.
1354         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1355         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1356         argument.
1357         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1359 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1361         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1362         Add PTRACE_EVENT_STOP.
1363         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1364         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1365         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1366         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1367         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1368         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1370 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1372         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1373         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1374         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1375         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1376         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1377         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1378         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1379         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1380         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1381         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1383         [BZ #21112]
1384         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1385         12 bits zero.
1386         (cp_l): Update for new value of cp_h.
1387         * math/auto-libm-test-in: Add another test of pow.
1388         * math/auto-libm-test-out-pow: Regenerated.
1390 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1392         * manual/contrib.texi: Fix typo.
1394 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1396         [BZ #15998]
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1398         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1401 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1403         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1404         STRCHR as __strchr_power8.
1405         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1406         strlen as __strlen_power8.
1408 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1410         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1411         unaligned load for shorter strings.
1412         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1414 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1416         * math/libm-test-driver.c (flag_test_errno): New variable.
1417         (flag_test_exceptions): Likewise.
1418         (flag_test_finite): Likewise.
1419         (flag_test_inline): Likewise.
1420         (flag_test_mathvec): Likewise.
1421         (test_msg): Likewise.
1422         (ulp_idx): Likewise.
1423         (qtype_str): Likewise.
1424         (ULP_IDX): Remove macro.
1425         (QTYPE_STR): Likewise.
1426         (find_ulps): Use ulp_idx not ULP_IDX.
1427         (print_function_ulps): Use qtype_str, printed with %s, not
1428         QTYPE_STR, printed with concatentation to format string.
1429         (print_complex_function_ulps): Likewise.
1430         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1431         (test_errno): Use flag_test_errno not TEST_ERRNO.
1432         (enable_test): Use flag_test_inline, flag_test_finite and
1433         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1434         TEST_MATHVEC.
1435         (libm_test_init): New function.  Factored out of main.
1436         (libm_test_finish): Likewise.
1437         (main): Call libm_test_init and libm_test_finish and move most
1438         code to those functions.
1440         * math/libm-test-driver.c (STRX): New macro.
1441         (STR): Likewise.
1442         (STR_FLOAT): Likewise.
1443         (STR_VEC_LEN): Likewise.
1444         (TEST_MSG): Likewise.  Define here instead of expecting to be
1445         defined by including file.
1446         * math/test-double-finite.c (TEST_MSG): Remove macro.
1447         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1448         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1449         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1450         * math/test-double.c (TEST_MSG): Likewise.
1451         * math/test-float-finite.c (TEST_MSG): Likewise.
1452         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1453         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1454         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1455         * math/test-float.c (TEST_MSG): Likewise.
1456         * math/test-idouble.c (TEST_MSG): Likewise.
1457         * math/test-ifloat.c (TEST_MSG): Likewise.
1458         * math/test-ildouble.c (TEST_MSG): Likewise.
1459         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1460         * math/test-ldouble.c (TEST_MSG): Likewise.
1462         * math/libm-test.inc: Move all tests of individual functions to
1463         libm-test-*.inc and #include libm-test-*.c files.
1464         (acos_test_data): Remove.
1465         (acos_test): Likewise.
1466         (acosh_test_data): Likewise.
1467         (acosh_test): Likewise.
1468         (asin_test_data): Likewise.
1469         (asin_test): Likewise.
1470         (asinh_test_data): Likewise.
1471         (asinh_test): Likewise.
1472         (atan_test_data): Likewise.
1473         (atan_test): Likewise.
1474         (atanh_test_data): Likewise.
1475         (atanh_test): Likewise.
1476         (atan2_test_data): Likewise.
1477         (atan2_test): Likewise.
1478         (cabs_test_data): Likewise.
1479         (cabs_test): Likewise.
1480         (cacos_test_data): Likewise.
1481         (cacos_test): Likewise.
1482         (cacosh_test_data): Likewise.
1483         (cacosh_test): Likewise.
1484         (canonicalize_test_data): Likewise.
1485         (canonicalize_test): Likewise.
1486         (carg_test_data): Likewise.
1487         (carg_test): Likewise.
1488         (casin_test_data): Likewise.
1489         (casin_test): Likewise.
1490         (casinh_test_data): Likewise.
1491         (casinh_test): Likewise.
1492         (catan_test_data): Likewise.
1493         (catan_test): Likewise.
1494         (catanh_test_data): Likewise.
1495         (catanh_test): Likewise.
1496         (cbrt_test_data): Likewise.
1497         (cbrt_test): Likewise.
1498         (ccos_test_data): Likewise.
1499         (ccos_test): Likewise.
1500         (ccosh_test_data): Likewise.
1501         (ccosh_test): Likewise.
1502         (ceil_test_data): Likewise.
1503         (ceil_test): Likewise.
1504         (cexp_test_data): Likewise.
1505         (cexp_test): Likewise.
1506         (cimag_test_data): Likewise.
1507         (cimag_test): Likewise.
1508         (clog_test_data): Likewise.
1509         (clog_test): Likewise.
1510         (clog10_test_data): Likewise.
1511         (clog10_test): Likewise.
1512         (conj_test_data): Likewise.
1513         (conj_test): Likewise.
1514         (copysign_test_data): Likewise.
1515         (copysign_test): Likewise.
1516         (cos_test_data): Likewise.
1517         (cos_test): Likewise.
1518         (cosh_test_data): Likewise.
1519         (cosh_test): Likewise.
1520         (cpow_test_data): Likewise.
1521         (cpow_test): Likewise.
1522         (cproj_test_data): Likewise.
1523         (cproj_test): Likewise.
1524         (creal_test_data): Likewise.
1525         (creal_test): Likewise.
1526         (csin_test_data): Likewise.
1527         (csin_test): Likewise.
1528         (csinh_test_data): Likewise.
1529         (csinh_test): Likewise.
1530         (csqrt_test_data): Likewise.
1531         (csqrt_test): Likewise.
1532         (ctan_test_data): Likewise.
1533         (ctan_test): Likewise.
1534         (ctanh_test_data): Likewise.
1535         (ctanh_test): Likewise.
1536         (erf_test_data): Likewise.
1537         (erf_test): Likewise.
1538         (erfc_test_data): Likewise.
1539         (erfc_test): Likewise.
1540         (exp_test_data): Likewise.
1541         (exp_test): Likewise.
1542         (exp10_test_data): Likewise.
1543         (exp10_test): Likewise.
1544         (pow10_test): Likewise.
1545         (exp2_test_data): Likewise.
1546         (exp2_test): Likewise.
1547         (expm1_test_data): Likewise.
1548         (expm1_test): Likewise.
1549         (fabs_test_data): Likewise.
1550         (fabs_test): Likewise.
1551         (fdim_test_data): Likewise.
1552         (fdim_test): Likewise.
1553         (floor_test_data): Likewise.
1554         (floor_test): Likewise.
1555         (fma_test_data): Likewise.
1556         (fma_test): Likewise.
1557         (fmax_test_data): Likewise.
1558         (fmax_test): Likewise.
1559         (fmaxmag_test_data): Likewise.
1560         (fmaxmag_test): Likewise.
1561         (fmin_test_data): Likewise.
1562         (fmin_test): Likewise.
1563         (fminmag_test_data): Likewise.
1564         (fminmag_test): Likewise.
1565         (fmod_test_data): Likewise.
1566         (fmod_test): Likewise.
1567         (fpclassify_test_data): Likewise.
1568         (fpclassify_test): Likewise.
1569         (frexp_test_data): Likewise.
1570         (frexp_test): Likewise.
1571         (fromfp_test_data): Likewise.
1572         (fromfp_test): Likewise.
1573         (fromfpx_test_data): Likewise.
1574         (fromfpx_test): Likewise.
1575         (getpayload_test_data): Likewise.
1576         (getpayload_test): Likewise.
1577         (hypot_test_data): Likewise.
1578         (hypot_test): Likewise.
1579         (ilogb_test_data): Likewise.
1580         (ilogb_test): Likewise.
1581         (iscanonical_test_data): Likewise.
1582         (iscanonical_test): Likewise.
1583         (iseqsig_test_data): Likewise.
1584         (iseqsig_test): Likewise.
1585         (isfinite_test_data): Likewise.
1586         (isfinite_test): Likewise.
1587         (finite_test): Likewise.
1588         (isgreater_test_data): Likewise.
1589         (isgreater_test): Likewise.
1590         (isgreaterequal_test_data): Likewise.
1591         (isgreaterequal_test): Likewise.
1592         (isinf_test_data): Likewise.
1593         (isinf_test): Likewise.
1594         (isless_test_data): Likewise.
1595         (isless_test): Likewise.
1596         (islessequal_test_data): Likewise.
1597         (islessequal_test): Likewise.
1598         (islessgreater_test_data): Likewise.
1599         (islessgreater_test): Likewise.
1600         (isnan_test_data): Likewise.
1601         (isnan_test): Likewise.
1602         (isnormal_test_data): Likewise.
1603         (isnormal_test): Likewise.
1604         (issignaling_test_data): Likewise.
1605         (issignaling_test): Likewise.
1606         (issubnormal_test_data): Likewise.
1607         (issubnormal_test): Likewise.
1608         (isunordered_test_data): Likewise.
1609         (isunordered_test): Likewise.
1610         (iszero_test_data): Likewise.
1611         (iszero_test): Likewise.
1612         (j0_test_data): Likewise.
1613         (j0_test): Likewise.
1614         (j1_test_data): Likewise.
1615         (j1_test): Likewise.
1616         (jn_test_data): Likewise.
1617         (jn_test): Likewise.
1618         (lgamma_test_data): Likewise.
1619         (lgamma_test): Likewise.
1620         (gamma_test): Likewise.
1621         (llogb_test_data): Likewise.
1622         (llogb_test): Likewise.
1623         (lrint_test_data): Likewise.
1624         (lrint_test): Likewise.
1625         (llrint_test_data): Likewise.
1626         (llrint_test): Likewise.
1627         (log_test_data): Likewise.
1628         (log_test): Likewise.
1629         (log10_test_data): Likewise.
1630         (log10_test): Likewise.
1631         (log1p_test_data): Likewise.
1632         (log1p_test): Likewise.
1633         (log2_test_data): Likewise.
1634         (log2_test): Likewise.
1635         (logb_test_data): Likewise.
1636         (logb_test): Likewise.
1637         (lround_test_data): Likewise.
1638         (lround_test): Likewise.
1639         (llround_test_data): Likewise.
1640         (llround_test): Likewise.
1641         (modf_test_data): Likewise.
1642         (modf_test): Likewise.
1643         (nearbyint_test_data): Likewise.
1644         (nearbyint_test): Likewise.
1645         (nextafter_test_data): Likewise.
1646         (nextafter_test): Likewise.
1647         (nextup_test_data): Likewise.
1648         (nextup_test): Likewise.
1649         (nextdown_test_data): Likewise.
1650         (nextdown_test): Likewise.
1651         (nexttoward_test_data): Likewise.
1652         (nexttoward_test): Likewise.
1653         (pow_test_data): Likewise.
1654         (pow_test): Likewise.
1655         (remainder_test_data): Likewise.
1656         (remainder_test): Likewise.
1657         (drem_test): Likewise.
1658         (remquo_test_data): Likewise.
1659         (remquo_test): Likewise.
1660         (rint_test_data): Likewise.
1661         (rint_test): Likewise.
1662         (round_test_data): Likewise.
1663         (round_test): Likewise.
1664         (roundeven_test_data): Likewise.
1665         (roundeven_test): Likewise.
1666         (scalb_test_data): Likewise.
1667         (scalb_test): Likewise.
1668         (scalbn_test_data): Likewise.
1669         (scalbn_test): Likewise.
1670         (ldexp_test): Likewise.
1671         (scalbln_test_data): Likewise.
1672         (scalbln_test): Likewise.
1673         (setpayload_test_data): Likewise.
1674         (setpayload_test): Likewise.
1675         (setpayloadsig_test_data): Likewise.
1676         (setpayloadsig_test): Likewise.
1677         (signbit_test_data): Likewise.
1678         (signbit_test): Likewise.
1679         (sin_test_data): Likewise.
1680         (sin_test): Likewise.
1681         (sincos_test_data): Likewise.
1682         (sincos_test): Likewise.
1683         (sinh_test_data): Likewise.
1684         (sinh_test): Likewise.
1685         (sqrt_test_data): Likewise.
1686         (sqrt_test): Likewise.
1687         (tan_test_data): Likewise.
1688         (tan_test): Likewise.
1689         (tanh_test_data): Likewise.
1690         (tanh_test): Likewise.
1691         (tgamma_test_data): Likewise.
1692         (tgamma_test): Likewise.
1693         (totalorder_test_data): Likewise.
1694         (totalorder_test): Likewise.
1695         (totalordermag_test_data): Likewise.
1696         (totalordermag_test): Likewise.
1697         (trunc_test_data): Likewise.
1698         (trunc_test): Likewise.
1699         (ufromfp_test_data): Likewise.
1700         (ufromfp_test): Likewise.
1701         (ufromfpx_test_data): Likewise.
1702         (ufromfpx_test): Likewise.
1703         (y0_test_data): Likewise.
1704         (y0_test): Likewise.
1705         (y1_test_data): Likewise.
1706         (y1_test): Likewise.
1707         (yn_test_data): Likewise.
1708         (yn_test): Likewise.
1709         (significand_test_data): Likewise.
1710         (significand_test): Likewise.
1711         * math/Makefile (auto-libm-test-out-files): Remove variable.
1712         (libm-test-funcs-noauto): New variable.
1713         (libm-test-funcs-all): Likewise.
1714         (libm-test-c-auto): Likewise.
1715         (libm-test-c-noauto): Likewise.
1716         (libm-tests-generated): Add $(libm-test-c-auto) and
1717         $(libm-test-c-noauto).
1718         (generated): Do not add auto-libm-test-out.
1719         (libm-test-c-auto-obj): New variable.
1720         (libm-test-c-noauto-obj): Likewise.
1721         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
1722         ($(libm-test-c-noauto-obj)): New static pattern rule.
1723         ($(libm-test-c-auto-obj)): Likewise.
1724         (libm-test-incs): New variable.
1725         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
1726         and pass it to gen-libm-have-vector-test.sh.
1727         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
1728         be passed on command line.
1729         * math/libm-test-acos.inc: New file.  Content from
1730         math/libm-test.inc.
1731         * math/libm-test-acosh.inc: Likewise.
1732         * math/libm-test-asin.inc: Likewise.
1733         * math/libm-test-asinh.inc: Likewise.
1734         * math/libm-test-atan.inc: Likewise.
1735         * math/libm-test-atan2.inc: Likewise.
1736         * math/libm-test-atanh.inc: Likewise.
1737         * math/libm-test-cabs.inc: Likewise.
1738         * math/libm-test-cacos.inc: Likewise.
1739         * math/libm-test-cacosh.inc: Likewise.
1740         * math/libm-test-canonicalize.inc: Likewise.
1741         * math/libm-test-carg.inc: Likewise.
1742         * math/libm-test-casin.inc: Likewise.
1743         * math/libm-test-casinh.inc: Likewise.
1744         * math/libm-test-catan.inc: Likewise.
1745         * math/libm-test-catanh.inc: Likewise.
1746         * math/libm-test-cbrt.inc: Likewise.
1747         * math/libm-test-ccos.inc: Likewise.
1748         * math/libm-test-ccosh.inc: Likewise.
1749         * math/libm-test-ceil.inc: Likewise.
1750         * math/libm-test-cexp.inc: Likewise.
1751         * math/libm-test-cimag.inc: Likewise.
1752         * math/libm-test-clog.inc: Likewise.
1753         * math/libm-test-clog10.inc: Likewise.
1754         * math/libm-test-conj.inc: Likewise.
1755         * math/libm-test-copysign.inc: Likewise.
1756         * math/libm-test-cos.inc: Likewise.
1757         * math/libm-test-cosh.inc: Likewise.
1758         * math/libm-test-cpow.inc: Likewise.
1759         * math/libm-test-cproj.inc: Likewise.
1760         * math/libm-test-creal.inc: Likewise.
1761         * math/libm-test-csin.inc: Likewise.
1762         * math/libm-test-csinh.inc: Likewise.
1763         * math/libm-test-csqrt.inc: Likewise.
1764         * math/libm-test-ctan.inc: Likewise.
1765         * math/libm-test-ctanh.inc: Likewise.
1766         * math/libm-test-erf.inc: Likewise.
1767         * math/libm-test-erfc.inc: Likewise.
1768         * math/libm-test-exp.inc: Likewise.
1769         * math/libm-test-exp10.inc: Likewise.
1770         * math/libm-test-exp2.inc: Likewise.
1771         * math/libm-test-expm1.inc: Likewise.
1772         * math/libm-test-fabs.inc: Likewise.
1773         * math/libm-test-fdim.inc: Likewise.
1774         * math/libm-test-floor.inc: Likewise.
1775         * math/libm-test-fma.inc: Likewise.
1776         * math/libm-test-fmax.inc: Likewise.
1777         * math/libm-test-fmaxmag.inc: Likewise.
1778         * math/libm-test-fmin.inc: Likewise.
1779         * math/libm-test-fminmag.inc: Likewise.
1780         * math/libm-test-fmod.inc: Likewise.
1781         * math/libm-test-fpclassify.inc: Likewise.
1782         * math/libm-test-frexp.inc: Likewise.
1783         * math/libm-test-fromfp.inc: Likewise.
1784         * math/libm-test-fromfpx.inc: Likewise.
1785         * math/libm-test-getpayload.inc: Likewise.
1786         * math/libm-test-hypot.inc: Likewise.
1787         * math/libm-test-ilogb.inc: Likewise.
1788         * math/libm-test-iscanonical.inc: Likewise.
1789         * math/libm-test-iseqsig.inc: Likewise.
1790         * math/libm-test-isfinite.inc: Likewise.
1791         * math/libm-test-isgreater.inc: Likewise.
1792         * math/libm-test-isgreaterequal.inc: Likewise.
1793         * math/libm-test-isinf.inc: Likewise.
1794         * math/libm-test-isless.inc: Likewise.
1795         * math/libm-test-islessequal.inc: Likewise.
1796         * math/libm-test-islessgreater.inc: Likewise.
1797         * math/libm-test-isnan.inc: Likewise.
1798         * math/libm-test-isnormal.inc: Likewise.
1799         * math/libm-test-issignaling.inc: Likewise.
1800         * math/libm-test-issubnormal.inc: Likewise.
1801         * math/libm-test-isunordered.inc: Likewise.
1802         * math/libm-test-iszero.inc: Likewise.
1803         * math/libm-test-j0.inc: Likewise.
1804         * math/libm-test-j1.inc: Likewise.
1805         * math/libm-test-jn.inc: Likewise.
1806         * math/libm-test-lgamma.inc: Likewise.
1807         * math/libm-test-llogb.inc: Likewise.
1808         * math/libm-test-llrint.inc: Likewise.
1809         * math/libm-test-llround.inc: Likewise.
1810         * math/libm-test-log.inc: Likewise.
1811         * math/libm-test-log10.inc: Likewise.
1812         * math/libm-test-log1p.inc: Likewise.
1813         * math/libm-test-log2.inc: Likewise.
1814         * math/libm-test-logb.inc: Likewise.
1815         * math/libm-test-lrint.inc: Likewise.
1816         * math/libm-test-lround.inc: Likewise.
1817         * math/libm-test-modf.inc: Likewise.
1818         * math/libm-test-nearbyint.inc: Likewise.
1819         * math/libm-test-nextafter.inc: Likewise.
1820         * math/libm-test-nextdown.inc: Likewise.
1821         * math/libm-test-nexttoward.inc: Likewise.
1822         * math/libm-test-nextup.inc: Likewise.
1823         * math/libm-test-pow.inc: Likewise.
1824         * math/libm-test-remainder.inc: Likewise.
1825         * math/libm-test-remquo.inc: Likewise.
1826         * math/libm-test-rint.inc: Likewise.
1827         * math/libm-test-round.inc: Likewise.
1828         * math/libm-test-roundeven.inc: Likewise.
1829         * math/libm-test-scalb.inc: Likewise.
1830         * math/libm-test-scalbln.inc: Likewise.
1831         * math/libm-test-scalbn.inc: Likewise.
1832         * math/libm-test-setpayload.inc: Likewise.
1833         * math/libm-test-setpayloadsig.inc: Likewise.
1834         * math/libm-test-signbit.inc: Likewise.
1835         * math/libm-test-significand.inc: Likewise.
1836         * math/libm-test-sin.inc: Likewise.
1837         * math/libm-test-sincos.inc: Likewise.
1838         * math/libm-test-sinh.inc: Likewise.
1839         * math/libm-test-sqrt.inc: Likewise.
1840         * math/libm-test-tan.inc: Likewise.
1841         * math/libm-test-tanh.inc: Likewise.
1842         * math/libm-test-tgamma.inc: Likewise.
1843         * math/libm-test-totalorder.inc: Likewise.
1844         * math/libm-test-totalordermag.inc: Likewise.
1845         * math/libm-test-trunc.inc: Likewise.
1846         * math/libm-test-ufromfp.inc: Likewise.
1847         * math/libm-test-ufromfpx.inc: Likewise.
1848         * math/libm-test-y0.inc: Likewise.
1849         * math/libm-test-y1.inc: Likewise.
1850         * math/libm-test-yn.inc: Likewise.
1851         * math/README.libm-test: Update.
1853         * math/gen-auto-libm-tests.c: Update comment about use of program.
1854         (generate_output): Add argument FUNCTION.
1855         (main): Require extra argument.  Pass function name to
1856         generate_output.
1857         * math/Makefile (generated): Add auto-libm-test-out.
1858         (libm-test-funcs-auto): New variable.
1859         (auto-libm-test-out-files): New variable.
1860         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
1861         Concatenate those files to form $(objpfx)auto-libm-test-out and
1862         use it as input to gen-libm-test.pl.
1863         * math/README.libm-test: Update.
1864         * math/auto-libm-test-out: Remove.
1865         * math/auto-libm-test-out-acos: New generated file.
1866         * math/auto-libm-test-out-acosh: Likewise.
1867         * math/auto-libm-test-out-asin: Likewise.
1868         * math/auto-libm-test-out-asinh: Likewise.
1869         * math/auto-libm-test-out-atan: Likewise.
1870         * math/auto-libm-test-out-atan2: Likewise.
1871         * math/auto-libm-test-out-atanh: Likewise.
1872         * math/auto-libm-test-out-cabs: Likewise.
1873         * math/auto-libm-test-out-carg: Likewise.
1874         * math/auto-libm-test-out-cbrt: Likewise.
1875         * math/auto-libm-test-out-ccos: Likewise.
1876         * math/auto-libm-test-out-ccosh: Likewise.
1877         * math/auto-libm-test-out-cexp: Likewise.
1878         * math/auto-libm-test-out-clog: Likewise.
1879         * math/auto-libm-test-out-clog10: Likewise.
1880         * math/auto-libm-test-out-cos: Likewise.
1881         * math/auto-libm-test-out-cosh: Likewise.
1882         * math/auto-libm-test-out-cpow: Likewise.
1883         * math/auto-libm-test-out-csin: Likewise.
1884         * math/auto-libm-test-out-csinh: Likewise.
1885         * math/auto-libm-test-out-csqrt: Likewise.
1886         * math/auto-libm-test-out-ctan: Likewise.
1887         * math/auto-libm-test-out-ctanh: Likewise.
1888         * math/auto-libm-test-out-erf: Likewise.
1889         * math/auto-libm-test-out-erfc: Likewise.
1890         * math/auto-libm-test-out-exp: Likewise.
1891         * math/auto-libm-test-out-exp10: Likewise.
1892         * math/auto-libm-test-out-exp2: Likewise.
1893         * math/auto-libm-test-out-expm1: Likewise.
1894         * math/auto-libm-test-out-fma: Likewise.
1895         * math/auto-libm-test-out-hypot: Likewise.
1896         * math/auto-libm-test-out-j0: Likewise.
1897         * math/auto-libm-test-out-j1: Likewise.
1898         * math/auto-libm-test-out-jn: Likewise.
1899         * math/auto-libm-test-out-lgamma: Likewise.
1900         * math/auto-libm-test-out-log: Likewise.
1901         * math/auto-libm-test-out-log10: Likewise.
1902         * math/auto-libm-test-out-log1p: Likewise.
1903         * math/auto-libm-test-out-log2: Likewise.
1904         * math/auto-libm-test-out-pow: Likewise.
1905         * math/auto-libm-test-out-sin: Likewise.
1906         * math/auto-libm-test-out-sincos: Likewise.
1907         * math/auto-libm-test-out-sinh: Likewise.
1908         * math/auto-libm-test-out-sqrt: Likewise.
1909         * math/auto-libm-test-out-tan: Likewise.
1910         * math/auto-libm-test-out-tanh: Likewise.
1911         * math/auto-libm-test-out-tgamma: Likewise.
1912         * math/auto-libm-test-out-y0: Likewise.
1913         * math/auto-libm-test-out-y1: Likewise.
1914         * math/auto-libm-test-out-yn: Likewise.
1916         * math/Makefile (generated): Do not include libm-test.stmp.
1917         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
1918         on $(objpfx)libm-test.stmp.
1919         ($(objpfx)libm-test.stmp): Remove rule.
1920         ($(objpfx)libm-test-ulps.h): New rule.
1921         ($(objpfx)libm-test.c): Likewise.
1922         ($(objpfx)libm-have-vector-test.h): Likewise.
1923         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
1924         individual generated files, not libm-test.stmp.
1926         * math/gen-libm-test.pl ($output_dir): Remove variable.
1927         ($srcdir): Likewise.
1928         ($opt_a): New variable.
1929         ($opt_c): Likewise.
1930         ($opt_C): Likewise.
1931         ($opt_H): Likewise.
1932         (-n): Make option take argument and use it as NewUlps output.
1933         (-a): New option.  Use its argument for auto-libm-test-out input.
1934         (-c): New option.  Use its argument for libm-test.inc input.
1935         (-C): New option.  Use its argument for libm-test.c output.
1936         (-H): New option.  Use its argument for libm-test-ulps.h output.
1937         (top level): Only process inputs needed to generate outputs
1938         specified by command-line options.  Only generate outputs
1939         specified by command-line options.
1940         * math/README.libm-test: Update example gen-libm-test.pl command.
1941         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
1942         commands.
1943         (regen-ulps): Likewise.
1945 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
1947         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
1948         * include/string.h (index): Remove define.
1949         (rindex): Likewise.
1950         * misc/getttyent.c (__getttyent): Rename index to strchr.
1951         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
1952         * sunrpc/rpc_main.c (mkfile_output): Likewise.
1954 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1956         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
1957         * math/libm-test.inc: Move all contents, other than tests of
1958         individual functions, to libm-test-driver.c.
1959         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
1960         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
1961         [!FE_UPWARD] (FE_UPWARD): Likewise.
1962         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
1963         (NO_EXCEPTION): Likewise.
1964         (INVALID_EXCEPTION): Likewise.
1965         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1966         (OVERFLOW_EXCEPTION): Likewise.
1967         (UNDERFLOW_EXCEPTION): Likewise.
1968         (INEXACT_EXCEPTION): Likewise.
1969         (INVALID_EXCEPTION_OK): Likewise.
1970         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1971         (OVERFLOW_EXCEPTION_OK): Likewise.
1972         (UNDERFLOW_EXCEPTION_OK): Likewise.
1973         (NO_INEXACT_EXCEPTION): Likewise.
1974         (EXCEPTIONS_OK): Likewise.
1975         (IGNORE_ZERO_INF_SIGN): Likewise.
1976         (TEST_NAN_SIGN): Likewise.
1977         (TEST_NAN_PAYLOAD): Likewise.
1978         (NO_TEST_INLINE): Likewise.
1979         (XFAIL_TEST): Likewise.
1980         (ERRNO_UNCHANGED): Likewise.
1981         (ERRNO_EDOM): Likewise.
1982         (ERRNO_ERANGE): Likewise.
1983         (IGNORE_RESULT): Likewise.
1984         (NON_FINITE): Likewise.
1985         (TEST_SNAN): Likewise.
1986         (NO_TEST_MATHVEC): Likewise.
1987         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
1988         (__CONCATX): Likewise.
1989         (TYPE_MIN): Likewise.
1990         (TYPE_TRUE_MIN): Likewise.
1991         (TYPE_MAX): Likewise.
1992         (MIN_EXP): Likewise.
1993         (MAX_EXP): Likewise.
1994         (MANT_DIG): Likewise.
1995         (FSTR_MAX): Likewise.
1996         (ULP_IDX): Likewise.
1997         (QTYPE_STR): Likewise.
1998         (TEST_COND_binary32): Likewise.
1999         (TEST_COND_binary64): Likewise.
2000         (TEST_COND_binary128): Likewise.
2001         (TEST_COND_ibm128): Likewise.
2002         (TEST_COND_intel96): Likewise.
2003         (TEST_COND_m68k96): Likewise.
2004         (TEST_COND_ibm128_libgcc): Likewise.
2005         (XFAIL_IBM128_LIBGCC): Likewise.
2006         (PAYLOAD_DIG): Likewise.
2007         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2008         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2009         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2010         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2011         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2012         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2013         (TEST_COND_long32): Likewise.
2014         (TEST_COND_long64): Likewise.
2015         (TEST_COND_before_rounding): Likewise.
2016         (TEST_COND_after_rounding): Likewise.
2017         (lit_pi_3_m_4_d): Likewise.
2018         (lit_pi_3_m_4_ln10_m_d): Likewise.
2019         (lit_pi_2_ln10_m_d): Likewise.
2020         (lit_pi_4_ln10_m_d): Likewise.
2021         (lit_pi_ln10_d): Likewise.
2022         (lit_pi_2_d): Likewise.
2023         (lit_pi_4_d): Likewise.
2024         (lit_pi): Likewise.
2025         (lit_e): Likewise.
2026         (ulps_file_name): Likewise.
2027         (ulps_file): Likewise.
2028         (output_ulps): Likewise.
2029         (output_dir): Likewise.
2030         (noErrors): Likewise.
2031         (noTests): Likewise.
2032         (noExcTests): Likewise.
2033         (noErrnoTests): Likewise.
2034         (verbose): Likewise.
2035         (output_max_error): Likewise.
2036         (output_points): Likewise.
2037         (ignore_max_ulp): Likewise.
2038         (plus_zero): Likewise.
2039         (minus_zero): Likewise.
2040         (plus_infty): Likewise.
2041         (minus_infty): Likewise.
2042         (qnan_value_pl): Likewise.
2043         (qnan_value): Likewise.
2044         (snan_value_pl): Likewise.
2045         (snan_value): Likewise.
2046         (max_value): Likewise.
2047         (min_value): Likewise.
2048         (min_subnorm_value): Likewise.
2049         (snan_value_ld): Likewise.
2050         (max_error): Likewise.
2051         (real_max_error): Likewise.
2052         (imag_max_error): Likewise.
2053         (prev_max_error): Likewise.
2054         (prev_real_max_error): Likewise.
2055         (prev_imag_max_error): Likewise.
2056         (max_valid_error): Likewise.
2057         (TYPE_DECIMAL_DIG): Likewise.
2058         (TYPE_HEX_DIG): Likewise.
2059         (fmt_ftostr): Likewise.
2060         (compare_ulp_data): Likewise.
2061         (find_ulps): Likewise.
2062         (init_max_error): Likewise.
2063         (set_max_error): Likewise.
2064         (print_float): Likewise.
2065         (print_screen): Likewise.
2066         (print_screen_max_error): Likewise.
2067         (update_stats): Likewise.
2068         (print_function_ulps): Likewise.
2069         (print_complex_function_ulps): Likewise.
2070         (fpstack_test): Likewise.
2071         (print_max_error): Likewise.
2072         (print_complex_max_error): Likewise.
2073         (test_single_exception): Likewise.
2074         (test_exceptions): Likewise.
2075         (test_single_errno): Likewise.
2076         (test_errno): Likewise.
2077         (ULPDIFF): Likewise.
2078         (ulp): Likewise.
2079         (check_float_internal): Likewise.
2080         (check_float): Likewise.
2081         (check_complex): Likewise.
2082         (check_int): Likewise.
2083         (check_long): Likewise.
2084         (check_bool): Likewise.
2085         (check_longlong): Likewise.
2086         (check_intmax_t): Likewise.
2087         (check_uintmax_t): Likewise.
2088         (enable_test): Likewise.
2089         (struct test_f_f_data): Likewise.
2090         (struct test_ff_f_data): Likewise.
2091         (struct test_fj_f_data): Likewise.
2092         (struct test_fi_f_data): Likewise.
2093         (struct test_fl_f_data): Likewise.
2094         (struct test_if_f_data): Likewise.
2095         (struct test_fff_f_data): Likewise.
2096         (struct test_fiu_M_data): Likewise.
2097         (struct test_fiu_U_data): Likewise.
2098         (struct test_c_f_data): Likewise.
2099         (struct test_f_f1_data): Likewise.
2100         (struct test_fF_f1_data): Likewise.
2101         (struct test_ffI_f1_data): Likewise.
2102         (struct test_c_c_data): Likewise.
2103         (struct test_cc_c_data): Likewise.
2104         (struct test_f_i_data): Likewise.
2105         (struct test_ff_i_data): Likewise.
2106         (struct test_f_l_data): Likewise.
2107         (struct test_f_L_data): Likewise.
2108         (struct test_fFF_11_data): Likewise.
2109         (struct test_Ff_b1_data): Likewise.
2110         (IF_ROUND_INIT_): Likewise.
2111         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2112         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2113         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2114         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2115         (ROUND_RESTORE_): Likewise.
2116         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2117         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2118         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2119         (ROUND_RESTORE_FE_UPWARD): Likewise.
2120         (RM_): Likewise.
2121         (RM_FE_DOWNWARD): Likewise.
2122         (RM_FE_TONEAREST): Likewise.
2123         (RM_FE_TOWARDZERO): Likewise.
2124         (RM_FE_UPWARD): Likewise.
2125         (COMMON_TEST_SETUP): Likewise.
2126         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2127         (COMMON_TEST_CLEANUP): Likewise.
2128         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2129         (RUN_TEST_f_f): Likewise.
2130         (RUN_TEST_LOOP_f_f): Likewise.
2131         (RUN_TEST_fp_f): Likewise.
2132         (RUN_TEST_LOOP_fp_f): Likewise.
2133         (RUN_TEST_2_f): Likewise.
2134         (RUN_TEST_LOOP_2_f): Likewise.
2135         (RUN_TEST_ff_f): Likewise.
2136         (RUN_TEST_LOOP_ff_f): Likewise.
2137         (RUN_TEST_LOOP_fj_f): Likewise.
2138         (RUN_TEST_fi_f): Likewise.
2139         (RUN_TEST_LOOP_fi_f): Likewise.
2140         (RUN_TEST_fl_f): Likewise.
2141         (RUN_TEST_LOOP_fl_f): Likewise.
2142         (RUN_TEST_if_f): Likewise.
2143         (RUN_TEST_LOOP_if_f): Likewise.
2144         (RUN_TEST_fff_f): Likewise.
2145         (RUN_TEST_LOOP_fff_f): Likewise.
2146         (RUN_TEST_fiu_M): Likewise.
2147         (RUN_TEST_LOOP_fiu_M): Likewise.
2148         (RUN_TEST_fiu_U): Likewise.
2149         (RUN_TEST_LOOP_fiu_U): Likewise.
2150         (RUN_TEST_c_f): Likewise.
2151         (RUN_TEST_LOOP_c_f): Likewise.
2152         (RUN_TEST_f_f1): Likewise.
2153         (RUN_TEST_LOOP_f_f1): Likewise.
2154         (RUN_TEST_fF_f1): Likewise.
2155         (RUN_TEST_LOOP_fF_f1): Likewise.
2156         (RUN_TEST_fI_f1): Likewise.
2157         (RUN_TEST_LOOP_fI_f1): Likewise.
2158         (RUN_TEST_ffI_f1_mod8): Likewise.
2159         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2160         (RUN_TEST_Ff_b1): Likewise.
2161         (RUN_TEST_LOOP_Ff_b1): Likewise.
2162         (RUN_TEST_Ffp_b1): Likewise.
2163         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2164         (RUN_TEST_c_c): Likewise.
2165         (RUN_TEST_LOOP_c_c): Likewise.
2166         (RUN_TEST_cc_c): Likewise.
2167         (RUN_TEST_LOOP_cc_c): Likewise.
2168         (RUN_TEST_f_i): Likewise.
2169         (RUN_TEST_LOOP_f_i): Likewise.
2170         (RUN_TEST_f_i_tg): Likewise.
2171         (RUN_TEST_LOOP_f_i_tg): Likewise.
2172         (RUN_TEST_ff_b): Likewise.
2173         (RUN_TEST_LOOP_ff_b): Likewise.
2174         (RUN_TEST_ff_i_tg): Likewise.
2175         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2176         (RUN_TEST_f_b): Likewise.
2177         (RUN_TEST_LOOP_f_b): Likewise.
2178         (RUN_TEST_f_b_tg): Likewise.
2179         (RUN_TEST_LOOP_f_b_tg): Likewise.
2180         (RUN_TEST_f_l): Likewise.
2181         (RUN_TEST_LOOP_f_l): Likewise.
2182         (RUN_TEST_f_L): Likewise.
2183         (RUN_TEST_LOOP_f_L): Likewise.
2184         (RUN_TEST_fFF_11): Likewise.
2185         (RUN_TEST_LOOP_fFF_11): Likewise.
2186         (VEC_SUFF): Likewise.
2187         (STR_CONCAT): Likewise.
2188         (STR_CON3): Likewise.
2189         (HAVE_VECTOR): Likewise.
2190         (START): Likewise.
2191         (END): Likewise.
2192         (END_COMPLEX): Likewise.
2193         (ALL_RM_TEST): Likewise.
2194         (matherr): Likewise.
2195         (initialize): Likewise.
2196         (options): Likewise.
2197         (doc): Likewise.
2198         (parse_opt): Likewise.
2199         (argp): Likewise.
2200         (check_ulp): Likewise.
2201         (main): Likewise.
2202         (do_test): New function.  Call tests of individual functions
2203         previously called from main.
2205         * math/libm-test.inc: Remove comment listing functions tested and
2206         not tested.
2208 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2210         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2211         (allocate_stack): Remove COLORING_INCREMENT usage.
2212         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2213         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2215 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2217         * manual/libm-err-tab.pl (@all_functions): Change to
2218         %all_functions.  Initialize as empty.
2219         (parse_ulps): Add to %all_functions based on functions found in
2220         ulps files.  Ignore results for non-default rounding modes and
2221         vector functions.
2222         (print_platforms): Use %all_platforms.
2223         * manual/math.texi (Errors in Math Functions): Document omissions
2224         from the table.
2226         * math/Makefile (before-compile): Remove.
2228 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2230         [BZ #21075]
2231         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2232         unused assignment.
2233         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2235 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2237         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2238         Add __glibc_unlikely hint.
2240 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2242         [BZ #16640]
2243         * sysdeps/i386/i686/strtok.S: Remove file.
2244         * sysdeps/i386/i686/strtok_r.S: Likewise.
2245         * sysdeps/i386/strtok.S: Likewise.
2246         * sysdeps/i386/strtok_r.S: Likewise.
2247         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2248         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2249         * sysdeps/x86_64/strtok.S: Likewise.
2250         * sysdeps/x86_64/strtok_r.S: Likewise.
2252         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2253         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2254         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2255         (__ASSUME_FADVISE64_AS_64_64): Define.
2256         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2257         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2258         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2259         __ALIGNMENT_ARG usage.
2260         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2261         __NR_fadvise64_64 if it is not defined.
2263 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2265         * version.h (RELEASE): Set to "development"
2266         (VERSION): Set to 2.25.90.
2267         * NEWS: Add 2.26 section.
2269         * version.h (RELEASE): Set to "stable"
2270         (VERSION): Set to 2.25.
2271         * include/features.h (__GLIBC_MINOR__): Set to 25.
2273         * manual/contrib.texi: Add more contributors from this release
2274         and past releases.
2276         * NEWS (2.25): Add list of bugs fixed.
2278         * NEWS: Add missing news items.
2280 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2282         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2283         parent if child exited in that manner.  Print WEXITSTATUS
2284         instead of the raw status.
2285         (do_test_prep): Rename to do_test.
2286         (do_test): Return the result of run_executable_sgid.
2287         (TEST_FUNCTION_ARGV): Adjust.
2289 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2290             Florian Weimer  <fweimer@redhat.com>
2291             Carlos O'Donell  <carlos@redhat.com>
2293         [BZ #20915]
2294         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2295         Do not initialize DTV.
2296         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2298 2017-02-03  David S. Miller  <davem@davemloft.net>
2300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2301         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2308         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2309         (libm-sysdep_routines): Update.
2310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2315         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2316         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2317         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2318         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2320         Likewise.
2321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2323         Likewise.
2324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2326         Likewise.
2327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2329         Likewise.
2330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2332         (libm-sysdep_routines): Update.
2334 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2336         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2337         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2338         against unrelocated shared library.
2339         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2341 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2343         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2344         * elf/tst-env-setuid-tunables.c
2345         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2346         GLIBC_TUNABLES is removed in a setgid process.
2348         [BZ #21073]
2349         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2350         * elf/dl-tunables.c (tunables_strdup): Remove.
2351         (get_next_env): Also return the previous envp.
2352         (parse_tunables): Erase tunables of category
2353         TUNABLES_SECLEVEL_SXID_ERASE.
2354         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2355         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2356         (__tunables_init)[TUNABLES_FRONTEND ==
2357         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2358         after parsing.
2359         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2360         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2361         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2362         to security_level.
2363         * elf/dl-tunables.list: Add security_level annotations for all
2364         tunables.
2365         * scripts/gen-tunables.awk: Recognize and generate enum values
2366         for security_level.
2367         * elf/tst-env-setuid.c: New test case.
2368         * elf/tst-env-setuid-tunables: new test case.
2369         * elf/Makefile (tests-static): Add them.
2371 2017-02-01  Richard Henderson  <rth@twiddle.net>
2373         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2374         adjusting the byte count.
2376 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2378         * conform/Makefile (linknamespace-libs): Define.
2380         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2381         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2382         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2383         operands.
2385 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2387         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2389 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2391         [BZ #21081]
2392         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2393         (L(stosb)): Add VZEROUPPER before ret.
2395 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2396             Alexey Makhalov <amakhalov@vmware.com>
2397             Florian Weimer <fweimer@redhat.com>
2399         [BZ #20116]
2400         * nptl/pthread_create.c: Document concurrency notes.
2401         Enhance thread creation notes.
2402         (create_thread): Use bool *stopped_start.
2403         (START_THREAD_DEFN): Comment ownership of PD.
2404         (__pthread_create_2_1): Add local bool stopped_start and use
2405         that instead of pd->stopped_start where appropriate.
2406         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2407         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2408         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2409         * nptl/tst-create-detached.c: New file.
2410         * nptl/Makefile (tests): Add tst-create-detached.
2411         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2412         Reference the enhanced thread creation notes.
2413         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2414         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2415         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2416         (__pthread_current_priority): Likewise.
2417         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2418         xpthread_attr_init, xpthread_attr_setdetachstate, and
2419         xpthread_attr_setstacksize.
2420         * support/xpthread_attr_destroy.c: New file.
2421         * support/xpthread_attr_init.c: New file.
2422         * support/xpthread_attr_setdetachstate.c: New file.
2423         * support/xpthread_attr_setstacksize.c: New file.
2424         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2425         xpthread_attr_init, xpthread_attr_setdetachstate, and
2426         xpthread_attr_setstacksize.
2428 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2430         * nptl/Makefile (tests): Add tst-robust-fork.
2431         * nptl/tst-robust-fork.c: New file.
2432         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2433         xpthread_mutex_consistent, xpthread_mutex_destroy,
2434         xpthread_mutex_init, xpthread_mutexattr_destroy,
2435         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2436         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2437         xpthread_mutexattr_settype.
2438         * support/xmmap.c: New file.
2439         * support/xmunmap.c: Likewise.
2440         * support/xpthread_mutex_consistent.c: Likewise.
2441         * support/xpthread_mutex_destroy.c: Likewise.
2442         * support/xpthread_mutex_init.c: Likewise.
2443         * support/xpthread_mutexattr_destroy.c: Likewise.
2444         * support/xpthread_mutexattr_init.c: Likewise.
2445         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2446         * support/xpthread_mutexattr_setpshared.c: Likewise.
2447         * support/xpthread_mutexattr_setrobust.c: Likewise.
2448         * support/xpthread_mutexattr_settype.c: Likewise.
2449         * support/xthread.h (xpthread_mutexattr_destroy)
2450         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2451         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2452         (xpthread_mutexattr_settype, xpthread_mutex_init)
2453         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2454         * support/xunistd.h (xmmap, xmunmap): Likewise.
2456 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2458         * string/Makefile (xtests): Add comment.
2459         (LOCALES): Add en_GB.UTF-8.
2460         (tst-strcoll-overflow.out): Depend on generated locales.
2461         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2462         (SIZE, TIMEOUT): Update comments.
2463         (do_test): Define as static.  Fail test if setlocale fails.
2464         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2465         messages.
2466         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2467         TIMEOUT at 300 seconds should be enough to run this test
2468         successfully.
2470 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2472         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2473         /* FALLTHRU */ comments.
2475 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2477         [BZ #21053]
2478         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2479         constants instead of the old R* ones.
2480         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2481         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2482         (NGREG): ... to this, to fit in with other architectures.
2483         (gpregset_t): Use new NGREG macro.
2484         [__USE_GNU]: Remove condition; all architectures other than tile
2485         are unconditional.
2486         (R*): Rename to REG_R*.
2488 2017-01-20  DJ Delorie  <dj@redhat.com>
2490         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
2491         (tunable_set_val_if_valid_range_signed) ... this, and ...
2492         (tunable_set_val_if_valid_range_unsigned) ... this.
2493         (tunable_initialize): Call the correct one of the above based on type.
2495 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
2497         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
2498         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2499         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2500         * sysdeps/microblaze/libm-test-ulps: Likewise.
2501         * sysdeps/sh/libm-test-ulps: Likewise.
2503         * math/README.libm-test: Update list of characters for input and
2504         output types.
2506 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2508         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2509         (__lll_unlock_elision): Fix adapt_count decrement.
2511 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
2513         * README.pretty-printers (Known issues): Warn about printers not
2514         always covering everything.
2515         * nptl/nptl-printers.py (MutexPrinter): Change output.
2516         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
2518 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2520         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
2521         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2522         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
2523         (__lll_lock_elision): Do not test futex before starting a
2524         transaction.  Use __glibc_likely instead of __builtin_expect.
2525         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
2526         (__lll_trylock_elision): Do not test futex before starting a
2527         transaction.  Use __glibc_likely instead of __builtin_expect.
2529 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2531         * po/Makefile (update-translations): New target.
2533 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2535         [BZ #21061]
2536         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
2538 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2540         * elf/dl-tunables (get_next_env): Always advance envp.
2541         * stdlib/tst-empty-env.c: New test case.
2542         * stdlib/Makefile (tests): Use it.
2544 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2546         [BZ #21047]
2547         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
2548         name for instruction.
2549         [!__SOFTFP__] (_FPU_SETCW): Likewise.
2551 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2553         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
2554         for make install.
2556 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2558         * po/bg.po: Merge from Translation Project.
2559         * po/fr.po: Likewise.
2560         * po/ko.po: Likewise.
2561         * po/nl.po: Likewise.
2562         * po/sv.po: Likewise.
2564 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2566         * manual/install.texi (Tools for Compilation): Update GCC version
2567         known to work to build glibc.
2568         * INSTALL: Regenerated.
2570 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2572         [BZ #21006]
2573         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
2575 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
2577         [BZ #21045]
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2579         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
2580         to __sigprocmask.
2582 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
2584         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
2585         wrap-around.
2586         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
2588         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
2590 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2592         * NEWS: Fix typo.
2594 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2596         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
2597         barriers and comments.
2598         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
2599         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2600         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2602 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2604         [BZ #19402]
2605         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
2606         mutexes.
2608 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2610         [BZ #20985]
2611         * nptl/Makefile: Adapt.
2612         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2613         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2614         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2615         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2616         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
2617         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
2618         lll_robust* functions and adapt.
2619         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2620         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
2621         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2622         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2623         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
2624         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2625         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
2626         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2627         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
2628         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2629         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2630         * nptl/lowlevelrobustlock.c: Remove file.
2631         * nptl/lowlevelrobustlock.sym: Likewise.
2632         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
2633         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
2635 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2637         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2639 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2641         * po/cs.po: Merge translations from the Translation Project.
2642         * po/de.po: Likewise.
2643         * po/pl.po: Likewise.
2644         * po/ru.po: Likewise.
2645         * po/tr.po: Likewise.
2646         * po/uk.po: Likewise.
2647         * po/vi.po: Likewise.
2648         * po/zh_CN.po: Likewise.
2650 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
2652         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2654         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
2655         object.
2657 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2659         [BZ #16458]
2660         * bits/uintn-identity.h: New file.
2661         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
2662         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
2663         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
2664         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
2665         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
2666         * string/endian.h: Include <bits/uintn-identity.h>.
2667         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
2668         __uint16_identity.
2669         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
2670         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
2671         __uint32_identity.
2672         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
2673         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
2674         __uint64_identity.
2675         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
2676         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
2677         __uint16_identity.
2678         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
2679         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
2680         __uint32_identity.
2681         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
2682         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
2683         __uint64_identity.
2684         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
2685         * string/Makefile (headers): Add bits/uintn-identity.h.
2686         (tests): Add test-endian-types.
2687         * string/test-endian-types.c: New file.
2688         * inet/Makefile (tests): Add test-hnto-types.
2689         * inet/test-hnto-types.c: New file.
2691 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2693         * po/be.po: Update from Translation Project.
2694         * po/bg.po: Likewise.
2695         * po/ca.po: Likewise.
2696         * po/cs.po: Likewise.
2697         * po/da.po: Likewise.
2698         * po/de.po: Likewise.
2699         * po/el.po: Likewise.
2700         * po/eo.po: Likewise.
2701         * po/es.po: Likewise.
2702         * po/fi.po: Likewise.
2703         * po/fr.po: Likewise.
2704         * po/gl.po: Likewise.
2705         * po/hr.po: Likewise.
2706         * po/hu.po: Likewise.
2707         * po/ia.po: Likewise.
2708         * po/id.po: Likewise.
2709         * po/it.po: Likewise.
2710         * po/ja.po: Likewise.
2711         * po/ko.po: Likewise.
2712         * po/lt.po: Likewise.
2713         * po/nb.po: Likewise.
2714         * po/nl.po: Likewise.
2715         * po/pl.po: Likewise.
2716         * po/pt_BR.po: Likewise.
2717         * po/ru.po: Likewise.
2718         * po/rw.po: Likewise.
2719         * po/sk.po: Likewise.
2720         * po/sl.po: Likewise.
2721         * po/sv.po: Likewise.
2722         * po/tr.po: Likewise.
2723         * po/uk.po: Likewise.
2724         * po/vi.po: Likewise.
2725         * po/zh_CN.po: Likewise.
2726         * po/zh_TW.po: Likewise.
2728 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2730         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
2731         -Wformat-truncation instead of -Wformat-length.
2732         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
2733         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
2734         GCC 7.
2735         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
2736         (do_test): Ignore -Wformat-truncation for GCC 7.
2738         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
2739         buffer used to print long int value.
2741         * elf/sotruss-lib.c (init): Increase space allocated for pid by
2742         one byte.  Print it with %ld, cast to long int.
2744 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2746         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
2747         (re.fullmatch, subprocess.run): Likewise.
2749 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2751         * po/libc.pot: Regenerate.
2753 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2755         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
2756         (min_strlen): Likewise.
2757         (disable_tunable): Likewise.
2758         (maybe_disable_malloc_check): Rename to
2759         maybe_enable_malloc_check.
2760         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
2761         if /etc/suid-debug file exists.
2762         (__tunables_init): Update caller.
2763         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
2764         secure.
2766 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2768         * nptl/DESIGN-rwlock.txt: Remove.
2769         * nptl/lowlevelrwlock.sym: Remove.
2770         * nptl/Makefile: Add new tests.
2771         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2772         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2773         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2774         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2775         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2776         PTHREAD_RWLOCK_FUTEX_USED): New.
2777         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2778         implementation.
2779         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2780         (__pthread_rwlock_rdlock): Adapt.
2781         * nptl/pthread_rwlock_timedrdlock.c
2782         (pthread_rwlock_timedrdlock): Adapt.
2783         * nptl/pthread_rwlock_timedwrlock.c
2784         (pthread_rwlock_timedwrlock): Adapt.
2785         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2786         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2787         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2788         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2789         (__pthread_rwlock_wrlock): Adapt.
2790         * nptl/tst-rwlock10.c: Adapt.
2791         * nptl/tst-rwlock11.c: Adapt.
2792         * nptl/tst-rwlock17.c: New file.
2793         * nptl/tst-rwlock18.c: New file.
2794         * nptl/tst-rwlock19.c: New file.
2795         * nptl/tst-rwlock2b.c: New file.
2796         * nptl/tst-rwlock8.c: Adapt.
2797         * nptl/tst-rwlock9.c: Adapt.
2798         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2799         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2800         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2801         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2802         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2803         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2804         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2805         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2806         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2807         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2808         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2809         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2810         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2811         (pthread_rwlock_t): Adapt.
2812         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2813         (pthread_rwlock_t): Adapt.
2814         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2815         * nptl/nptl-printers.py (): Adapt.
2816         * nptl/nptl_lock_constants.pysym: Adapt.
2817         * nptl/test-rwlock-printers.py: Adapt.
2818         * nptl/test-rwlockattr-printers.c: Adapt.
2819         * nptl/test-rwlockattr-printers.py: Adapt.
2821 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
2823         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
2824         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
2825         (fma_test_data): Likewise.
2826         (hypot_test_data): Likewise.
2827         (log1p_test_data): Likewise.
2828         (modf_test_data): Likewise.
2829         (pow_test_data): Likewise.
2830         (remainder_test_data): Likewise.
2831         (remquo_test_data): Likewise.
2832         (scalb_test_data): Likewise.
2833         (scalbn_test_data): Likewise.
2834         (scalbln_test_data): Likewise.
2835         * math/gen-libm-test.pl (parse_args): Transform
2836         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
2837         on the rounding mode.
2839 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
2841         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
2842         xfail-rounding:ibm128-libgcc automatically to tests overflowing
2843         and those that can underflow to zero.
2844         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
2845         add others.
2846         * math/auto-libm-test-out: Regenerated.
2848         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
2849         supported.
2850         (feholdexcept_tests): Skip tests requiring exceptions or rounding
2851         modes support if not supported.
2853         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
2854         Add libc.so PLT entry.
2855         (__tls_get_addr): Make ld.so PLT entry optional.
2857 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2859         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
2860         * string/bits/string3.h: ... here.
2862 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2864         [BZ #21028]
2865         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
2866         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
2867         if EXCEPTION_TESTS returns false.
2869 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2871         [BZ #20558]
2872         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
2873         strings_fortified.h.
2874         [__USE_MISC] (bzero): Likewise.
2875         [__USE_MISC] (explicit_bzero): Likewise.
2876         * string/strings.h: Include strings_fortified.h.
2877         * string/Makefile (headers): Add strings_fortified.h.
2878         * string/bits/strings_fortified.h: New file.
2879         * include/bits/strings_fortified.h: Likewise.
2881 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2883         * elf/tst-tls13.c (TIMEOUT): Remove.
2884         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
2885         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
2886         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
2887         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
2888         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
2890         [BZ #21026]
2891         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
2892         (readahead): New syscall entry.
2894 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2896         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
2897         around tests of strncat with large sizes.
2899         * malloc/tst-malloc.c: Include <libc-internal.h>.
2900         (do_test): Disable -Walloc-size-larger-than= around tests of
2901         malloc with negative sizes.
2902         * malloc/tst-mcheck.c: Include <libc-internal.h>.
2903         (do_test): Disable -Walloc-size-larger-than= around tests of
2904         malloc and realloc with negative sizes.
2905         * malloc/tst-realloc.c: Include <libc-internal.h>.
2906         (do_test): Disable -Walloc-size-larger-than= around tests of
2907         realloc with negative sizes.
2909         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
2910         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
2911         allowed to 16 ulps.
2912         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
2913         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
2914         * math/auto-libm-test-out: Regenerated.
2916 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2918         * math/Makefile (libm-calls): Move wrappers...
2919         (libm-compat-call-auto): Here.
2920         (libm-routines): Add items in libm-compat-calls-auto.
2921         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
2922         the filenames of the wrappers that have been renamed.
2923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
2924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2926         * math/w_acos.c: Add _compat suffix to filename.
2927         * math/w_acosf.c: Likewise.
2928         * math/w_acosh.c: Likewise.
2929         * math/w_acoshf.c: Likewise.
2930         * math/w_acoshl.c: Likewise.
2931         * math/w_acosl.c: Likewise.
2932         * math/w_asin.c: Likewise.
2933         * math/w_asinf.c: Likewise.
2934         * math/w_asinl.c: Likewise.
2935         * math/w_atan2.c: Likewise.
2936         * math/w_atan2f.c: Likewise.
2937         * math/w_atan2l.c: Likewise.
2938         * math/w_atanh.c: Likewise.
2939         * math/w_atanhf.c: Likewise.
2940         * math/w_atanhl.c: Likewise.
2941         * math/w_cosh.c: Likewise.
2942         * math/w_coshf.c: Likewise.
2943         * math/w_coshl.c: Likewise.
2944         * math/w_exp10.c: Likewise.
2945         * math/w_exp10f.c: Likewise.
2946         * math/w_exp10l.c: Likewise.
2947         * math/w_exp2.c: Likewise.
2948         * math/w_exp2f.c: Likewise.
2949         * math/w_exp2l.c: Likewise.
2950         * math/w_fmod.c: Likewise.
2951         * math/w_fmodf.c: Likewise.
2952         * math/w_fmodl.c: Likewise.
2953         * math/w_hypot.c: Likewise.
2954         * math/w_hypotf.c: Likewise.
2955         * math/w_hypotl.c: Likewise.
2956         * math/w_j0.c: Likewise.
2957         * math/w_j0f.c: Likewise.
2958         * math/w_j0l.c: Likewise.
2959         * math/w_j1.c: Likewise.
2960         * math/w_j1f.c: Likewise.
2961         * math/w_j1l.c: Likewise.
2962         * math/w_jn.c: Likewise.
2963         * math/w_jnf.c: Likewise.
2964         * math/w_jnl.c: Likewise.
2965         * math/w_log10.c: Likewise.
2966         * math/w_log10f.c: Likewise.
2967         * math/w_log10l.c: Likewise.
2968         * math/w_log2.c: Likewise.
2969         * math/w_log2f.c: Likewise.
2970         * math/w_log2l.c: Likewise.
2971         * math/w_log.c: Likewise.
2972         * math/w_logf.c: Likewise.
2973         * math/w_logl.c: Likewise.
2974         * math/w_pow.c: Likewise.
2975         * math/w_powf.c: Likewise.
2976         * math/w_powl.c: Likewise.
2977         * math/w_remainder.c: Likewise.
2978         * math/w_remainderf.c: Likewise.
2979         * math/w_remainderl.c: Likewise.
2980         * math/w_scalb.c: Likewise.
2981         * math/w_scalbf.c: Likewise.
2982         * math/w_scalbl.c: Likewise.
2983         * math/w_sinh.c: Likewise.
2984         * math/w_sinhf.c: Likewise.
2985         * math/w_sinhl.c: Likewise.
2986         * math/w_sqrt.c: Likewise.
2987         * math/w_sqrtf.c: Likewise.
2988         * math/w_sqrtl.c: Likewise.
2989         * math/w_tgamma.c: Likewise.
2990         * math/w_tgammaf.c: Likewise.
2991         * math/w_tgammal.c: Likewise.
2993         * math/w_acos_compat.c: New file copied from above and
2994         adjusted for new #includes path
2995         * math/w_acosf_compat.c: Likewise.
2996         * math/w_acosh_compat.c: Likewise.
2997         * math/w_acoshf_compat.c: Likewise.
2998         * math/w_acoshl_compat.c: Likewise.
2999         * math/w_acosl_compat.c: Likewise.
3000         * math/w_asin_compat.c: Likewise.
3001         * math/w_asinf_compat.c: Likewise.
3002         * math/w_asinl_compat.c: Likewise.
3003         * math/w_atan2_compat.c: Likewise.
3004         * math/w_atan2f_compat.c: Likewise.
3005         * math/w_atan2l_compat.c: Likewise.
3006         * math/w_atanh_compat.c: Likewise.
3007         * math/w_atanhf_compat.c: Likewise.
3008         * math/w_atanhl_compat.c: Likewise.
3009         * math/w_cosh_compat.c: Likewise.
3010         * math/w_coshf_compat.c: Likewise.
3011         * math/w_coshl_compat.c: Likewise.
3012         * math/w_exp10_compat.c: Likewise.
3013         * math/w_exp10f_compat.c: Likewise.
3014         * math/w_exp10l_compat.c: Likewise.
3015         * math/w_exp2_compat.c: Likewise.
3016         * math/w_exp2f_compat.c: Likewise.
3017         * math/w_exp2l_compat.c: Likewise.
3018         * math/w_fmod_compat.c: Likewise.
3019         * math/w_fmodf_compat.c: Likewise.
3020         * math/w_fmodl_compat.c: Likewise.
3021         * math/w_hypot_compat.c: Likewise.
3022         * math/w_hypotf_compat.c: Likewise.
3023         * math/w_hypotl_compat.c: Likewise.
3024         * math/w_j0_compat.c: Likewise.
3025         * math/w_j0f_compat.c: Likewise.
3026         * math/w_j0l_compat.c: Likewise.
3027         * math/w_j1_compat.c: Likewise.
3028         * math/w_j1f_compat.c: Likewise.
3029         * math/w_j1l_compat.c: Likewise.
3030         * math/w_jn_compat.c: Likewise.
3031         * math/w_jnf_compat.c: Likewise.
3032         * math/w_jnl_compat.c: Likewise.
3033         * math/w_log10_compat.c: Likewise.
3034         * math/w_log10f_compat.c: Likewise.
3035         * math/w_log10l_compat.c: Likewise.
3036         * math/w_log2_compat.c: Likewise.
3037         * math/w_log2f_compat.c: Likewise.
3038         * math/w_log2l_compat.c: Likewise.
3039         * math/w_log_compat.c: Likewise.
3040         * math/w_logf_compat.c: Likewise.
3041         * math/w_logl_compat.c: Likewise.
3042         * math/w_pow_compat.c: Likewise.
3043         * math/w_powf_compat.c: Likewise.
3044         * math/w_powl_compat.c: Likewise.
3045         * math/w_remainder_compat.c: Likewise.
3046         * math/w_remainderf_compat.c: Likewise.
3047         * math/w_remainderl_compat.c: Likewise.
3048         * math/w_scalb_compat.c: Likewise.
3049         * math/w_scalbf_compat.c: Likewise.
3050         * math/w_scalbl_compat.c: Likewise.
3051         * math/w_sinh_compat.c: Likewise.
3052         * math/w_sinhf_compat.c: Likewise.
3053         * math/w_sinhl_compat.c: Likewise.
3054         * math/w_sqrt_compat.c: Likewise.
3055         * math/w_sqrtf_compat.c: Likewise.
3056         * math/w_sqrtl_compat.c: Likewise.
3057         * math/w_tgamma_compat.c: Likewise.
3058         * math/w_tgammaf_compat.c: Likewise.
3059         * math/w_tgammal_compat.c: Likewise.
3061         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3062         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3063         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3064         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3065         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3066         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3067         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3068         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3069         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3070         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3071         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3072         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3073         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3074         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3075         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3076         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3077         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3078         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3079         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3080         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3081         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3082         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3083         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3084         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3085         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3086         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3087         * sysdeps/ia64/fpu/w_log.c: Likewise.
3088         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3089         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3090         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3091         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3092         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3093         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3094         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3095         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3096         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3097         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3098         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3099         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3100         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3101         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3102         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3103         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3104         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3105         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3106         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3107         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3108         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3109         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3110         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3111         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3112         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3113         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3114         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3115         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3116         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3117         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3118         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3119         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3120         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3121         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3122         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3123         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3124         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3125         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3126         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3127         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3128         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3129         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3130         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3131         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3132         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3133         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3134         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3135         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3136         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3137         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3138         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3139         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3140         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3141         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3142         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3143         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3144         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3145         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3146         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3147         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3148         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3149         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3150         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3151         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3152         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3153         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3154         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3155         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3156         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3157         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3158         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3159         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3160         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3162         Likewise.
3163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3164         Likewise.
3165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3167         Likewise.
3168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3169         Likewise.
3170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3171         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3172         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3173         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3174         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3175         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3176         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3181         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3182         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3183         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3184         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3186         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3187         and adjusted for new #includes path
3188         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3189         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3190         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3191         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3192         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3193         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3194         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3195         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3196         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3197         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3198         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3199         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3200         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3201         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3202         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3203         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3204         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3205         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3206         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3207         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3208         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3209         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3210         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3211         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3212         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3213         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3214         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3215         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3216         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3217         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3218         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3219         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3220         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3221         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3222         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3223         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3224         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3225         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3226         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3227         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3228         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3229         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3230         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3231         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3232         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3233         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3234         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3235         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3236         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3237         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3238         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3239         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3240         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3241         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3242         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3243         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3244         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3245         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3246         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3247         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3248         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3249         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3250         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3251         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3252         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3253         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3254         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3255         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3256         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3257         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3258         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3259         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3260         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3261         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3262         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3263         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3264         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3265         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3266         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3267         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3268         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3269         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3270         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3271         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3272         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3273         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3274         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3275         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3276         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3277         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3278         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3279         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3280         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3281         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3282         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3283         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3284         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3285         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3286         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3288         Likewise.
3289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3290         Likewise.
3291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3292         Likewise.
3293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3294         Likewise.
3295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3296         Likewise.
3297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3298         Likewise.
3299         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3300         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3301         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3302         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3303         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3304         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3306         Likewise.
3307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3308         Likewise.
3309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3310         Likewise.
3311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3312         Likewise.
3313         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3314         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3315         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3316         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3318 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3320         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3321         __jmp_buf_internal_tag.
3323         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3324         preserve NaN payload if [__mips_nan2008].
3325         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3327         [BZ #21022]
3328         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3330 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3332         * sysdeps/i386/fpu/libm-test-ulps: Update.
3334 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3336         * sysdeps/ia64/strcat.c: Remove file.
3337         * sysdeps/powerpc/strcat.c: Likewise.
3338         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3339         C implementation.
3340         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3341         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3343 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3344             Steven Munroe  <sjmunroe@us.ibm.com>
3345             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3347         [BZ #20822]
3348         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3349         (__lll_lock_elision): Access adapt_count via C11 atomics.
3350         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3351         (__lll_trylock_elision): Likewise.
3352         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3353         (__lll_unlock_elision):  Update adapt_count variable inside the
3354         critical section using C11 atomics.
3356 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3358         * math/test-fenvinline.c (do_test): Disable tests of raised
3359         exceptions if !EXCEPTION_TESTS (FLOAT).
3361 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3363         [BZ #19390]
3364         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3365         maximum string size.
3366         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3367         in pointer addition.
3368         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3369         Likewise.
3371 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3373         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3374         passed to tst-ldconfig-X.sh.
3376 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3378         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3380 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3382         [BZ #21019]
3383         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3384         New syscall entry.
3385         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3386         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3387         lseek.
3389         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3390         power4 glibc for powerpc-linux-gnu.
3392 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3394         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3395         semctl.
3397 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3399         * math/test-nearbyint-except.c: Include <stdbool.h>.
3400         (any_supported): New variable.
3401         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3402         set any_supported.
3403         (do_test): Return 77 if no floating-point type supported
3404         exceptions.
3406         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3407         condition on [__mips_hard_float].
3409 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3411         [BZ #21014]
3412         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3413         in pointer addition.
3414         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3416 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3418         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3419         new condvar.
3421 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3423         * scripts/build-many-glibcs.py (Context.checkout): Default
3424         binutils version to 2.28 branch.
3426 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3428         * support/support_format_netent.c (support_format_netent): Work
3429         around alpha struct netent definition difference.
3431 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3433         * support/xwrite.c (xwrite): Use %td for pointer difference.
3435 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3437         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3438         have-tunables only.
3439         (tests-static): Add tst-malloc-usable-static-tunables for
3440         have-tunables only.
3442 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3444         * scripts/config.guess: Update to version 2017-01-01.
3445         * scripts/config.sub: Update to version 2017-01-01.
3447         * NEWS: Update copyright dates.
3448         * catgets/gencat.c (print_version): Likewise.
3449         * csu/version.c (banner): Likewise.
3450         * debug/catchsegv.sh: Likewise.
3451         * debug/pcprofiledump.c (print_version): Likewise.
3452         * debug/xtrace.sh (do_version): Likewise.
3453         * elf/ldconfig.c (print_version): Likewise.
3454         * elf/ldd.bash.in: Likewise.
3455         * elf/pldd.c (print_version): Likewise.
3456         * elf/sotruss.sh: Likewise.
3457         * elf/sprof.c (print_version): Likewise.
3458         * iconv/iconv_prog.c (print_version): Likewise.
3459         * iconv/iconvconfig.c (print_version): Likewise.
3460         * locale/programs/locale.c (print_version): Likewise.
3461         * locale/programs/localedef.c (print_version): Likewise.
3462         * login/programs/pt_chown.c (print_version): Likewise.
3463         * malloc/memusage.sh (do_version): Likewise.
3464         * malloc/memusagestat.c (print_version): Likewise.
3465         * malloc/mtrace.pl: Likewise.
3466         * manual/libc.texinfo: Likewise.
3467         * nptl/version.c (banner): Likewise.
3468         * nscd/nscd.c (print_version): Likewise.
3469         * nss/getent.c (print_version): Likewise.
3470         * nss/makedb.c (print_version): Likewise.
3471         * posix/getconf.c (main): Likewise.
3472         * scripts/test-installation.pl: Likewise.
3473         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3475         * All files with FSF copyright notices: Update copyright dates
3476         using scripts/update-copyrights.
3477         * intl/plural.c: Regenerated.
3478         * locale/programs/charmap-kw.h: Likewise.
3479         * locale/programs/locfile-kw.h: Likewise.
3481 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3483         [BZ #20593]
3484         Update DNS RR type definitions.
3485         * scripts/gen-rrtypes.py: New file.
3486         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
3487         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
3488         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
3489         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
3490         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
3491         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
3492         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
3493         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
3494         ns_t_ta, ns_t_dlv.
3495         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
3496         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
3497         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
3498         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
3499         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
3500         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
3501         Define.
3502         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
3503         entry for ns_t_zxfr.
3505 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3507         [BZ #18784]
3508         CVE-2015-5180
3509         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
3510         T_UNSPEC.  Adjust value.
3511         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
3512         * resolv/res_query.c (__libc_res_nquery): Likewise.
3513         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
3514         QTYPEs.
3515         * resolv/tst-resolv-qtypes.c: New file.
3516         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
3517         (tst-resolv-qtypes): Link against libresolv and libpthread.
3519 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3521         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
3523 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3525         * manual/tunables.texi: New chapter.
3526         * manual/Makefile (chapters): Add it.
3527         * manual/probes.texi (@node): Point to the Tunables chapter.
3529         * Makeconfig (have-tunables): Check for non-negative instead
3530         of positive.
3531         * configure.ac: Add 'valstring' as a valid value for
3532         --enable-tunables.
3533         * configure: Regenerate.
3534         * elf/Makefile (have-tunables): Check for non-negative instead
3535         of positive.
3536         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
3537         dl-tunables.c.
3538         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
3539         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3540         (tunables_strdup): Likewise.
3541         (disable_tunables): Likewise.
3542         (parse_tunables): Likewise.
3543         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
3544         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3545         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
3546         (TUNABLES_FRONTEND_yes): New macro, define as
3547         TUNABLES_FRONTEND_valstring by default.
3548         * manual/install.texi: Document new acceptable values for
3549         --enable-tunables.
3550         * INSTALL: Regenerate.
3552         * config.make.in (have-loop-to-function): Define.
3553         * elf/Makefile (CFLAGS-dl-tunables.c): Add
3554         -fno-tree-loop-distribute-patterns.
3555         * elf/dl-tunables.c: Include libc-internals.h.
3556         (GLIBC_TUNABLES): New macro.
3557         (tunables_strdup): New function.
3558         (parse_tunables): New function.
3559         (min_strlen): New function.
3560         (__tunables_init): Use the new functions and macro.
3561         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
3562         * malloc/tst-malloc-usable-tunables.c: New test case.
3563         * malloc/tst-malloc-usable-static-tunables.c: New test case.
3564         * malloc/Makefile (tests, tests-static): Add tests.
3566         * manual/install.texi: Add --enable-tunables option.
3567         * INSTALL: Regenerate.
3568         * README.tunables: New file.
3569         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
3570         (before-compile): Generate dl-tunable-list.h early.
3571         * config.h.in: Add HAVE_TUNABLES.
3572         * config.make.in: Add have-tunables.
3573         * configure.ac: Add --enable-tunables option.
3574         * configure: Regenerate.
3575         * csu/init-first.c (__libc_init_first): Move
3576         __libc_init_secure earlier...
3577         * csu/init-first.c (LIBC_START_MAIN):... to here.
3578         Include dl-tunables.h, libc-internal.h.
3579         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
3580         binaries.
3581         * elf/Makefile (dl-routines): Add dl-tunables.
3582         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
3583         namespace.
3584         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
3585         only when !HAVE_TUNABLES.
3586         * elf/rtld.c (process_envvars): Likewise.
3587         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
3588         (_dl_sysdep_start): Call __tunables_init.
3589         * elf/dl-tunable-types.h: New file.
3590         * elf/dl-tunables.c: New file.
3591         * elf/dl-tunables.h: New file.
3592         * elf/dl-tunables.list: New file.
3593         * malloc/tst-malloc-usable-static.c: New test case.
3594         * malloc/Makefile (tests-static): Add it.
3595         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
3596         Define TUNABLE_NAMESPACE.
3597         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
3598         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
3599         callback functions.
3600         (ptmalloc_init): Set tunable values.
3601         * scripts/gen-tunables.awk: New file.
3602         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
3603         (_dl_sysdep_start): Call __tunables_init.
3605 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3607         * resolv/resolv.h (RES_BLAST): Deprecate.
3608         * resolv/res_debug.c (p_option): Remove RES_BLAST.
3609         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
3610         to RES_BLAST.
3612 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3614         [BZ #19582]
3615         Deprecate RES_USE_INET6.
3616         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
3617         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
3618         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
3619         RES_USE_INET6.
3620         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
3621         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
3622         (_nss_nisplus_gethostbyaddr_r): Likewise.
3623         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
3624         of res_use_inet6.
3625         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
3626         instead of RES_USE_INET6.
3627         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
3628         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
3629         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
3630         Likewise.
3631         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
3632         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
3633         Likewise.
3634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
3635         (_nss_dns_gethostbyname_r): Likewise.
3636         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
3637         alternate RES_USE_INET6 handling.
3638         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
3639         instead of RES_USE_INET6.
3640         * resolv/res_init.c (res_setoptions): Likewise.
3641         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
3642         * resolv/resolv-internal.h: New file.
3643         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
3644         make the deprecation warning non-fatal.
3645         * resolv/README (Using the resolver in multi-threaded code): Drop
3646         reference to RES_USE_INET6.
3647         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
3648         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
3650 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3652         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
3653         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
3654         tst-resolv-search.
3655         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
3656         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
3657         with libresolv and libpthread.
3658         * resolv/tst-bug18665.c: New file.
3659         * resolv/tst-bug18665-tcp: Likewise.
3660         * resolv/tst-res_use_inet6: Likewise.
3661         * resolv/tst-resolv-basic: Likewise.
3662         * resolv/tst-resolv-network: Likewise.
3663         * resolv/tst-resolv-search: Likewise.
3664         * support/Makefile (libsupport-routines): Add check_addrinfo,
3665         check_dns_packet, check_hostent, check_netent, resolv_test,
3666         support_format_address_family, support_format_addrinfo,
3667         support_format_dns_packet, support_format_herrno,
3668         support_format_hostent, support_format_netent, support_run_diff,
3669         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
3670         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
3671         xstrdup, xwrite.
3672         * support/check_addrinfo.c: New file.
3673         * support/check_dns_packet.c: Likewise.
3674         * support/check_hostent.c: Likewise.
3675         * support/check_netent.c: Likewise.
3676         * support/check_nss.h: Likewise.
3677         * support/format_nss.h: Likewise.
3678         * support/resolv_test.c: Likewise.
3679         * support/resolv_test.h: Likewise.
3680         * support/run_diff.h: Likewise.
3681         * support/support_format_address_family.c: Likewise.
3682         * support/support_format_addrinfo.c: Likewise.
3683         * support/support_format_dns_packet.c: Likewise.
3684         * support/support_format_herrno.c: Likewise.
3685         * support/support_format_hostent.c: Likewise.
3686         * support/support_format_netent.c: Likewise.
3687         * support/support_run_diff.c: Likewise.
3688         * support/xaccept.c: Likewise.
3689         * support/xbind.c: Likewise.
3690         * support/xconnect.c: Likewise.
3691         * support/xfclose.c: Likewise.
3692         * support/xfopen.c: Likewise.
3693         * support/xgetsockname.c: Likewise.
3694         * support/xlisten.c: Likewise.
3695         * support/xmemstream.c: Likewise.
3696         * support/xmemstream.h: Likewise.
3697         * support/xpoll.c: Likewise.
3698         * support/xpthread_once.c: Likewise.
3699         * support/xrecvfrom.c: Likewise.
3700         * support/xsendto.c: Likewise.
3701         * support/xsetsockopt.c: Likewise.
3702         * support/xstdio.h: Likewise.
3703         * support/xstrdup.c: Likewise.
3704         * support/support.h (xstrdup): Declare.
3705         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
3706         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
3707         * support/xthread.h (xpthread_once): Likwise.
3708         * support/xunistd.h (xwrite): Declare.
3710 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3712         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
3713         (test_verbose): Declare.
3714         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
3715         * support/support_test_main.c (default_options): Likewise.
3716         (usage, support_test_main): Handle 'v'.
3717         (test_verbose): Define.
3718         * support/tst-support_record_failure.c (do_test): Use
3719         test_verbose.
3720         * support/tst-support_record_failure-2.sh (different_status): Add
3721         --verbose test.
3723 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3725         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
3726         test failures are recorded.
3727         * support/check.c (support_print_failure_impl): Call
3728         support_record_failure.
3729         (support_exit_failure_impl): Call support_record_failure if status
3730         indicates failure.
3731         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
3732         * support/xasprintf.c (xasprintf): Likewise.
3733         * support/xfork.c (xfork): Likewise.
3734         * support/xpthread_check_return.c (xpthread_check_return):
3735         Likewise.
3736         * support/xsocket.c (xsocket): Likeweise.
3737         * support/xwaitpid.c (xwaitpid): Likewise.
3738         * support/support_record_failure.c (struct test_failures): Adjust
3739         to coding style.
3740         * support/support_test_verify_impl.c (support_test_verify_impl):
3741         Adjust error messages.
3742         * support/tst-support_record_failure-2.sh (different_status):
3743         Adjust error messages.
3745 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3747         * support/namespace.h: New file.
3748         * support/support_become_root.c: Likewise.
3749         * support/support_enter_network_namespace.c: Likewise.
3750         * support/tst-support-namespace.c: Likewise.
3751         * support/xsocket.c: Likewise.
3752         * support/xsocket.h: Likewise.
3753         * support/Makefile (libsupport-routines): Add support_become_root,
3754         support_enter_network_namespace, xsocket.
3755         (tests): Add tst-support-namespace.
3757 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3759         [BZ #17252]
3760         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
3761         __USE_GNU.
3763 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3765         [BZ #13165]
3766         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3767         use new algorithm.
3768         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3769         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3770         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3771         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3772         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3773         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3774         __condvar_cleanup_waiting, __condvar_dec_grefs,
3775         __pthread_cond_wait_common): New.
3776         (__condvar_cleanup): Remove.
3777         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3778         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3779         Likewise.
3780         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3781         Likewise.
3782         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3783         * nptl/tst-cond1.c: Add comment.
3784         * nptl/tst-cond20.c (do_test): Adapt.
3785         * nptl/tst-cond22.c (do_test): Likewise.
3786         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3787         structure.
3788         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3789         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3790         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3791         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3792         Likewise.
3793         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3794         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3795         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3796         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3797         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3798         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3799         Likewise.
3800         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3801         Likewise.
3802         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3803         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3804         (COND_CLOCK_BITS): Adapt.
3805         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3806         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
3807         __PTHREAD_COND_SHARED_MASK): New.
3808         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
3809         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
3810         * nptl/nptl_lock_constants.pysym: Adapt.
3811         * nptl/test-cond-printers.py: Adapt.
3812         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
3813         cond_compat_check_and_clear): Adapt.
3814         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
3815         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3816         (__pthread_cond_timedwait): ... and move here.
3817         * nptl/DESIGN-condvar.txt: Remove file.
3818         * nptl/lowlevelcond.sym: Likewise.
3819         * nptl/pthread_cond_timedwait.c: Likewise.
3820         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
3821         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
3822         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
3823         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
3824         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
3825         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
3826         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
3827         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
3828         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
3829         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
3830         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
3831         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
3832         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
3833         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
3834         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
3835         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
3837 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
3839         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3840         (fromfp): New declaration.
3841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3844         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
3845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
3846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3847         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3849         * math/math.h: Include <bits/types.h>.
3850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
3851         constant and macro.
3852         (FP_INT_DOWNWARD): Likewise.
3853         (FP_INT_TOWARDZERO): Likewise.
3854         (FP_INT_TONEARESTFROMZERO): Likewise.
3855         (FP_INT_TONEAREST): Likewise.
3856         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
3857         (fromfpf): Likewise.
3858         (fromfpl): Likewise.
3859         (ufromfp): Likewise.
3860         (ufromfpf): Likewise.
3861         (ufromfpl): Likewise.
3862         (fromfpx): Likewise.
3863         (fromfpxf): Likewise.
3864         (fromfpxl): Likewise.
3865         (ufromfpx): Likewise.
3866         (ufromfpxf): Likewise.
3867         (ufromfpxl): Likewise.
3868         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
3869         s_fromfpxF and s_ufromfpxF.
3870         * math/gen-fromfp-tests.py: New file.
3871         * math/gen-fromfp-tests-inputs: Likewise.
3872         * math/libm-test.inc: Include <stdint.h>
3873         (check_intmax_t): New function.
3874         (check_uintmax_t): Likewise.
3875         (struct test_fiu_M_data): New type.
3876         (struct test_fiu_U_data): Likewise.
3877         (RUN_TEST_fiu_M): New macro.
3878         (RUN_TEST_LOOP_fiu_M): Likewise.
3879         (RUN_TEST_fiu_U): Likewise.
3880         (RUN_TEST_LOOP_fiu_U): Likewise.
3881         (fromfp_test_data): New array.
3882         (fromfp_test): New function.
3883         (fromfpx_test_data): New array.
3884         (fromfpx_test): New function.
3885         (ufromfp_test_data): New array.
3886         (ufromfp_test): New function.
3887         (ufromfpx_test_data): New array.
3888         (ufromfpx_test): New function.
3889         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
3890         ufromfpx_test.
3891         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
3892         characters.
3893         * math/test-tgmath-ret.c: Include <stdint.h>.
3894         (rm): New variable.
3895         (width): Likewise.
3896         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
3897         called function.
3898         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
3899         CHECK_RET_CONST_TYPE.
3900         (CHECK_RET_CONST_DOUBLE): Likewise.
3901         (CHECK_RET_CONST_LDOUBLE): Likewise.
3902         (CHECK_RET_CONST): Take extra arguments and pass them to calls
3903         macros.
3904         (fromfp): New CHECK_RET_CONST call.
3905         (ufromfp): Likewise.
3906         (fromfpx): Likewise.
3907         (ufromfpx): Likewise.
3908         (do_test): Call check_return_fromfp, check_return_ufromfp,
3909         check_return_fromfpx and check_return_ufromfpx.
3910         * math/test-tgmath.c: Include <stdint.h>
3911         (NCALLS): Increase to 138.
3912         (F(compile_test)): Initialize i.  Call fromfp functions.
3913         (F(fromfp)): New function.
3914         (F(fromfpx)): Likewise.
3915         (F(ufromfp)): Likewise.
3916         (F(ufromfpx)): Likewise.
3917         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
3918         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
3919         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
3920         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
3921         ufromfpxl.
3922         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
3923         ufromfp and ufromfpx.
3924         * math/fromfp.h: New file.
3925         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
3926         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
3927         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
3928         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
3929         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
3930         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
3931         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
3932         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
3933         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
3934         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
3935         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
3936         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
3937         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
3938         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
3939         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
3940         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
3941         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
3942         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
3943         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
3944         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
3945         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
3946         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
3947         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
3948         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
3949         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
3950         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
3951         ufromfp, fromfpx and ufromfpx.
3952         (CFLAGS-nldbl-fromfp.c): New variable.
3953         (CFLAGS-nldbl-fromfpx.c): Likewise.
3954         (CFLAGS-nldbl-ufromfp.c): Likewise.
3955         (CFLAGS-nldbl-ufromfpx.c): Likewise.
3956         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
3957         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
3958         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
3959         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
3960         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
3961         * sysdeps/nacl/libm.abilist: Update.
3962         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3963         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3964         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3965         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3966         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3967         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3968         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3969         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3970         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3971         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3972         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3973         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3975         Likewise.
3976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3977         Likewise.
3978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3979         Likewise.
3980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3981         Likewise.
3982         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3983         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3984         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3985         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3986         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3988         Likewise.
3989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3990         Likewise.
3991         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3992         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3993         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3995 2016-12-30  Florian Weimer  <fweimer@redhat.com>
3997         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
3998         compat-gethnamaddr.
3999         (CPPFLAGS): Remove.
4000         * resolv/gethnamaddr.c: Rename ...
4001         * resolv/compat-gethnamaddr.c: ... to this file.
4002         (_endhtent): Make static.
4003         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4004         symbol.
4005         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4006         compat symbol.
4007         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4008         symbol.
4009         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4010         Turn into compat symbol.
4011         * include/resolv.h (_endhtent): Remove declaration.
4013 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4015         * bits/types.h (__intmax_t): New typedef.
4016         (__uintmax_t): Likewise.
4017         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4018         (intmax_t): Define using __intmax_t.
4019         (uintmax_t): Define using __uintmax_t.
4021         * support/Makefile (tests-special): Make definition conditional on
4022         [$(run-built-tests) = yes].
4023         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4024         on [$(run-built-tests) = yes].
4026 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4028         * Rules (tests): Add tests-printers-programs to tests to be
4029         built.
4031 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4033         * sysvipc/Makefile (tests): Add test-sysvshm.
4034         * sysvipc/test-sysvshm.c: New file.
4036         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4037         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4038         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4039         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4040         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4041         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4042         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4043         Likewise.
4044         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4045         Likewise.
4046         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4047         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4048         is defined.
4050         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4051         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4052         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4053         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4054         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4055         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4056         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4057         Likewise.
4058         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4059         Likewise.
4060         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4061         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4062         defined.
4064         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4065         oldshmctl.
4066         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4067         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4068         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4069         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4070         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4071         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4072         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4073         Likewise.
4074         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4075         Likewise.
4076         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4077         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4078         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4079         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4080         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4081         implementation.
4082         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4083         if it is defined.
4085         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4086         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4087         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4088         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4089         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4090         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4091         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4092         Likewise.
4093         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4094         Likewise.
4095         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4096         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4097         Define to __NR_osf_shmat.
4098         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4099         defined.
4101         * sysvipc/Makefile (tests): Add test-sysvsem.
4102         * sysvipc/test-sysvsem.c: New file.
4104         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4105         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4106         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4107         Likewise.
4108         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4109         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4110         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4111         Likewise.
4112         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4113         Likewise.
4114         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4115         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4116         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4117         add a comment about s390 syscall difference from default one.
4118         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4119         syscall if it is defined.
4121         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4122         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4123         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4124         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4125         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4126         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4127         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4128         Likewise.
4129         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4130         Likewise.
4131         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4132         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4133         defined.
4135         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4136         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4137         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4138         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4139         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4140         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4141         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4142         Likewise.
4143         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4144         Likewise.
4145         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4146         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4147         if it is defined.
4149         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4150         oldsemctl.
4151         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4152         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4153         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4154         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4155         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4156         implementation.
4157         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4158         syscall if it is defined.
4159         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4160         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4161         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4162         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4163         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4164         Likewise.
4165         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4167         * sysvipc/Makefile (tests): Add test-sysvmsg.
4168         * sysvipc/test-sysvmsg.c: New file.
4169         * support/check.h (FAIL_UNSUPPORTED): New define.
4171         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4172         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4173         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4174         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4175         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4176         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4177         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4178         Likewise.
4179         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4180         Likewise.
4181         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4182         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4183         define.
4185         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4186         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4187         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4188         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4189         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4190         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4191         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4192         Likewise.
4193         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4194         Likewise.
4195         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4196         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4197         if defined.
4199         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4200         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4201         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4202         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4203         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4204         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4205         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4206         Likewise.
4207         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4208         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4209         Likewise.
4210         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4211         if defined.
4212         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4214         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4215         oldmsgctl.
4216         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4217         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4218         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4219         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4220         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4221         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4222         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4223         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4224         Likewise.
4225         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4226         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4227         implementation.
4228         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4229         if defined.
4231         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4232         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4233         definition and define its own.
4234         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4235         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4236         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4237         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4238         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4239         definitions to common header.
4240         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4241         operation from ipc_ops.h.
4243         * sysdeps/unix/sysv/linux/kernel-features.h
4244         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4245         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4246         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4247         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4248         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4249         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4250         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4251         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4252         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4253         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4254         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4255         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4256         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4257         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4258         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4260 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4262         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4263         overflow in pointer addition.
4265 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4267         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4268         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4270         (strchr): Add __strchr_power8 to list of strchr functions.
4271         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4272         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4273         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4274         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4275         (strchr): Add __strchr_power8 to ifunc list.
4276         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4277         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4278         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4279         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4281 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4283         * support/Makefile (libsupport-routines): Add
4284         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4285         (tests): Add tst-support_record_failure.
4286         (tests-special): tst-support_record_failure-2.
4287         (tst-support_record_failure-2.out): Depend on
4288         tst-support_record_failure-2.sh and tst-support_record_failure.
4289         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4290         (support_test_verify_impl, support_record_failure)
4291         (support_report_failure, support_report_failure_reset): Declare.
4292         * support/support_test_main.c (adjust_exit_status): New function.
4293         (support_test_main): Call it to incorporate record test failures.
4294         * support/support_test_verify_impl.c: New file.
4295         * support/support_record_failure.c: Likewise.
4296         * support/tst-support_record_failure.c: Likewise.
4297         * support/tst-support_record_failure-2.sh: Likewise.
4298         * support/xunistd.h: Likewise.
4299         * support/xfork.c: Likewise.
4300         * support/xwaitpid.c: Likewise.
4302 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4304         * scripts/check-c++-types.sh: Add comments.
4306 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4308         [BZ #19514]
4309         * resolv/res_send.c: Fix typo in comment.
4310         * sysdeps/i386/i386-mcount.S: Likewise.
4311         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4312         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4313         * sysdeps/sparc/sparc-mcount.S: Likewise.
4315 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4317         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4318         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4319         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4320         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4321         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4322         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4323         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4324         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4326 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4328         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4330 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4332         [BZ #17252]
4333         * posix/unistd.h (getentropy): Declare.
4335 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4337         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4338         Remove.
4339         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4340         (cmd): Remove spoof, nospoof, spoofalert.
4341         (parse_line): Ignore spoof-related lines.
4342         (do_init): Do not process RESOLV_SPOOF_CHECK.
4344 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4346         [BZ #20964]
4347         sunrpc: Always obtain AF_INET addresses from NSS.
4348         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4349         * sunrpc/rpc_gethostbyname.c: New file.
4350         * sunrpc/Makefile (routines): Add it.
4351         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4352         * sunrpc/clnt_simp.c (callrpc): Likewise.
4353         * sunrpc/getrpcport.c (getrpcport): Likewise.
4355 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4357         * sunrpc/rpcinfo.c: Remove.
4358         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4360 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4362         [BZ# 19387]
4363         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4364         addition.
4365         * string/test-memchr.c (do_test): Remove alignment limitation.
4366         (test_main): Add test that trigger BZ# 19387.
4368 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4370         [BZ #7065]
4371         Enable stack protectore if requested by ./configure.
4372         * Makeconfig (+stack-protector): New variable.
4373         (+cflags): Use it.
4375 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4377         [BZ #7065]
4378         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4379         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4380         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4381         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4382         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4384 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4386         [BZ #7065]
4387         * login/Makefile (pt_chown-cflags): Remove.
4388         * nscd/Makefile (CFLAGS-nscd): Likewise.
4389         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4391 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4393         [BZ #7065]
4394         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4395         non-libc-linking testcase.
4397 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4398             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4399             Florian Weimer  <fweimer@redhat.com>
4401         [BZ #7065]
4402         PLT avoidance for __stack_chk_fail*.
4403         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4404         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4405         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4406         __stack_chk_fail_local alias.
4407         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4408         (__stack_chk_fail): Turn into hidden reference to
4409         __stack_chk_fail_local.
4411 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4413         [BZ #7065]
4414         * configure.ac: Add check for unsupported stack-protection level.
4415         (libc_cv_predef_stack_protector): Remove.
4416         (no_ssp): New variable.
4417         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4418         (stack_protector): Set to -fno-stack-protector similarly.
4419         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4420         (libc_cv_asm_set_directive): Likewise.
4421         (libc_cv_protected_data): Likewise.
4422         (libc_cv_z_combreloc): Likewise.
4423         (libc_cv_hashstyle): Likewise.
4424         (libc_cv_has_glob_dat): Likewise.
4425         (libc_cv_output_format): Likewise.
4426         (libc_cv_output_format): Likewise.
4427         (libc_cv_ehdr_start): Likewise.
4428         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4429         (LIBC_LINKER_FEATURE): Likewise.
4430         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4432 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4434         [BZ #7065]
4435         * elf/Makefile (dummy-stack-chk-fail): New.
4436         (librtld.map): Use it.
4438 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4440         [BZ #7065]
4441         Compile the dynamic linker without stack protection.
4442         * elf/Makefile (elide-stack-protector): New.
4443         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4444         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4445         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4446         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4448 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4450         [BZ #7065]
4451         * config.make.in (have-ssp, no-stack-protector): New.
4452         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4453         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4454         (CFLAGS-sbrk.op): Likewise.
4455         (CFLAGS-brk.o): Likewise.
4456         (CFLAGS-brk.op): Likewise.
4457         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4458         (CFLAGS-wordcopy.c): Likewise.
4460 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4462         [BZ #7065]
4463         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4464         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4465         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4466         (__ifunc_resolver): Use it.
4467         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4468         inhibit_stack_protector.
4469         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4470         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4471         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4472         (foo_protected_ifunc): Likewise.
4473         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4474         (foo_protected_ifunc): Likewise.
4475         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4476         * sysdeps/nacl/nacl_interface_query.c
4477         (nacl_interface_query_ifunc): Likewise.
4478         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4479         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4480         Likewise.
4481         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4482         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4483         the generated vDSO syscall resolver.
4485 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4486             Florian Weimer  <fweimer@redhat.com>
4488         [BZ #7065]
4489         Initialize the stack guard earlier when linking statically.
4490         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
4491         (__pthread_initialize_minimal): Declare.
4492         * csu/libc-start.c (__pthread_initialize_minimal): Remove
4493         declaration.
4494         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
4495         stack canary and apply_irel initialization up.  Call
4496         __pthread_initialize_minimal only if linked in.
4497         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
4498         constant values.
4499         (__pthread_initialize_minimal): Remove.
4500         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
4501         (__pthread_initialize_minimal_internal): Do not call
4502         __libc_setup_tls.
4504 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4506         [BZ #7065]
4507         * configure.ac (libc_cv_ssp): Move up.
4508         (libc_cv_ssp_strong): Likewise.
4509         (libc_cv_ssp_all): New.
4510         (stack_protector): Augment, adding -fstack-protector-all.
4511         (no_stack_protector): New.
4512         (STACK_PROTECTOR_LEVEL): New.
4513         (AC_ARG_ENABLE(stack-protector)): New configure flag.
4514         * manual/install.texi (--enable-stack-protector): Document it.
4515         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
4517 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
4519         * README.pretty-printers: Must specify CPPFLAGS-* also.
4520         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
4521         (CPPFLAGS-test-mutex-printers.c): Define.
4522         (CPPFLAGS-test-condattr-printers.c): Define.
4523         (CPPFLAGS-test-cond-printers.c): Define.
4524         (CPPFLAGS-test-rwlockattr-printers.c): Define.
4525         (CPPFLAGS-test-rwlock-printers.c): Define.
4527         * nss/Makefile [ifeq (yes,$(have-thread-library))]
4528         (tests): Add tst-cancel-getpwuid_r.
4529         * nss/tst-cancel-getpwuid_r.c: New file.
4531         [BZ #11941]
4532         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
4533         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
4534         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
4535         tst-nodelete-dlclose.
4536         (modules-names): Add tst-nodelete-dlclose-dso and
4537         tst-nodelete-dlclose-plugin.
4538         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
4539         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
4540         ($(objpfx)tst-nodelete-dlclose): Define.
4541         ($(objpfx)tst-nodelete-dlclose.out): Define.
4543 2016-12-23  Florian Weimer  <fweimer@redhat.com>
4545         * scripts/test_printers_common.py: Log GDB output in case of
4546         Python detection failure.
4548 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4550         * configure.ac: Check for python3 or python.
4551         * configure: Regenerated.
4552         * config.make.in (PYTHON): New variable.
4553         * benchtests/Makefile: Don't define PYTHON.
4554         (bench): Define target only if PYTHON was defined.
4555         * Rules: Don't define PYTHON.
4556         Define pretty printer targets only if PYTHON was defined.
4557         (tests-printers): Add to tests-unsupported if PYTHON is not
4558         found.
4559         (python-flags, python-invoke): Remove.
4560         (tests-printers-out): Use PYTHON instead of python-invoke.
4562 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4564         [BZ #20978]
4565         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4566         Compare name == NULL, not name != NULL.
4568         * manual/texinfo.tex: Update to version 2016-09-18.18 with
4569         trailing whitespace removed.
4570         * scripts/config.guess: Update to version 2016-10-02.
4571         * scripts/config.sub: Update to version 2016-11-19.
4572         * scripts/install-sh: Update to version 2016-01-11.22.
4573         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
4574         * scripts/move-if-change: Update to version 2016-01-11 22:04.
4576 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
4578         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
4579         (do_one_test) Restore original string so iteration works.
4580         * string/string-inlines.c (do_test): Create better input strings.
4581         (test_main) Reduce number of testruns.
4582         * string/string-inlines.c (__old_strsep_1c): New function.
4583         (__old_strsep_2c): Likewise.
4584         (__old_strsep_3c): Likewise.
4585         * string/strsep.c (__strsep): Remove case of small delim string.
4586         Call strcspn directly rather than strpbrk.
4587         * string/bits/string2.h (__strsep): Remove define.
4588         (__strsep_1c): Remove.
4589         (__strsep_2c): Remove.
4590         (__strsep_3c): Remove.
4591         (strsep): Remove.
4592         * sysdeps/unix/sysv/linux/internal_statvfs.c
4593         (__statvfs_getflags): Rename to __strsep.
4595 2016-12-21  Florian Weimer  <fweimer@redhat.com>
4597         * csu/libc-tls.c (_dl_tls_setup): Remove.
4598         * elf/dl-tls.c (_dl_tls_setup): Likewise.
4599         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
4600         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
4602 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4604         [BZ #7065]
4605         * sysdeps/x86_64/Makefile [$(subdir) = elf]
4606         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
4608 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4609             Florian Weimer  <fweimer@redhat.com>
4611         [BZ #7065]
4612         * csu/Makefile (tests): Empty assignment and document it.
4613         (tests-static): Remove.
4614         * csu/tst-empty.c: Move to...
4615         * misc/tst-empty.c: ... here.  Switch to new test driver.
4616         * csu/tst-atomic.c: Move to...
4617         * misc/tst-atomic.c: ... here.  Switch to new test driver.
4618         * csu/tst-atomic-long.c: Move to...
4619         * misc/tst-atomic-long.c: ... here.
4620         * misc/Makefile (tests): Add tst-empty, tst-atomic,
4621         tst-atomic-long.
4622         (tests-static): Add tst-empty.
4624 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
4626         * manual/nss.texi: Change incorrect @vtable to @table.
4627         * manual/arith.texi: Convert @tables of variables to @vtables
4628         and remove unnecessary indexing.
4629         * manual/filesys.texi: Likewise.
4630         * manual/llio.texi: Likewise.
4631         * manual/memory.texi: Likewise.
4632         * manual/process.texi: Likewise.
4633         * manual/resource.texi: Likewise.
4634         * manual/search.texi: Likewise.
4635         * manual/signal.texi: Likewise.
4636         * manual/socket.texi: Likewise.
4637         * manual/stdio.texi: Likewise.
4638         * manual/sysinfo.texi: Likewise.
4639         * manual/syslog.texi: Likewise.
4640         * manual/terminal.texi: Likewise.
4641         * manual/time.texi: Likewise.
4642         * manual/users.texi: Likewise.
4644 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4646         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4647         (roundeven): New declaration.
4648         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
4649         macro.
4650         * math/Versions (roundeven): New libm symbol at version
4651         GLIBC_2.25.
4652         (roundevenf): Likewise.
4653         (roundevenl): Likewise.
4654         * math/Makefile (libm-calls): Add s_roundevenF.
4655         * math/libm-test.inc (roundeven_test_data): New array.
4656         (roundeven_test): New function.
4657         (main): Call roundeven_test.
4658         * math/test-tgmath.c (NCALLS): Increase to 134.
4659         (F(compile_test)): Call roundeven.
4660         (F(roundeven)): New function.
4661         * manual/arith.texi (Rounding Functions): Document roundeven,
4662         roundevenf and roundevenl.
4663         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
4664         * include/math.h (roundeven): Use libm_hidden_proto.
4665         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
4666         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
4667         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
4669         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
4670         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
4671         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4672         roundeven.
4673         (CFLAGS-nldbl-roundeven.c): New variable.
4674         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
4675         * sysdeps/nacl/libm.abilist: Update.
4676         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4677         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4678         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4679         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4680         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4681         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4682         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4683         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4684         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4685         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4686         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4687         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4689         Likewise.
4690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4691         Likewise.
4692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4693         Likewise.
4694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4695         Likewise.
4696         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4697         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4698         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4699         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4700         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4702         Likewise.
4703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4704         Likewise.
4705         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4706         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4707         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4709 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4711         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
4712         preprocessor indentation inside #if.
4714 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4716         * math/libm-test.inc (fmt_ftostr): New function.
4717         (print_float, check_float_internal): Replace some uses of
4718         FTOSTR with uses of fmt_ftostr.
4719         (print_max_error, print_complex_max_error, print_function_ulps)
4720         (print_complex_function_ulps): Remove uses of the macros
4721         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
4722         * math/test-double.h (FTOSTR): Define to strfromd.
4723         (PRINTF_EXPR): Delete.
4724         (PRINTF_XEXPR): Likewise.
4725         (PRINTF_NEXPR): Likewise.
4726         * math/test-float.h (FTOSTR): Define to strfromf.
4727         (PRINTF_EXPR): Delete.
4728         (PRINTF_XEXPR): Likewise.
4729         (PRINTF_NEXPR): Likewise.
4730         * math/test-ldouble.h (FTOSTR): Define to strfroml.
4731         (PRINTF_EXPR): Delete.
4732         (PRINTF_XEXPR): Likewise.
4733         (PRINTF_NEXPR): Likewise.
4735 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4737         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4738         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
4739         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4740         (__lll_lock_elision): Decrement adapt_count while unlocking
4741         instead of before locking.
4742         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4743         (__lll_trylock_elision): Likewise.
4744         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
4745         (__lll_unlock_elision): Likewise.
4747 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4749         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
4750         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
4751         Use __libc_tbegin_retry macro.
4753 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4755         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
4756         Add -msoft-float.
4757         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
4758         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4759         Use __libc_t* transaction macros instead of __builtin_t*.
4760         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4761         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4763 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4765         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4766         (__lll_lock_elision): Use atomics to load / store adapt_count.
4767         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4768         (__lll_trylock_elision): Likewise.
4770 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4772         Do not require memset elimination in explicit_bzero test.
4773         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4774         (enum test_expectation): Add NO_EXPECTATIONS.
4775         (subtests): NO_EXPECTATIONS for ordinary clear.
4776         (check_test_buffer): Handle NO_EXPECTATIONS.
4777         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4779 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4781         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4782         (fmaxmag): New declaration.
4783         (fminmag): Likewise.
4784         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4785         macro.
4786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4787         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4788         (fmaxmagf): Likewise.
4789         (fmaxmagl): Likewise.
4790         (fminmag): Likewise.
4791         (fminmagf): Likewise.
4792         (fminmagl): Likewise.
4793         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4794         * math/s_fmaxmag_template.c: New file.
4795         * math/s_fminmag_template.c: Likewise.
4796         * math/libm-test.inc (fmaxmag_test_data): New array.
4797         (fmaxmag_test): New function.
4798         (fminmag_test_data): New array.
4799         (fminmag_test): New function.
4800         (main): Call fmaxmag_test and fminmag_test.
4801         * math/test-tgmath.c (NCALLS): Increase to 132.
4802         (F(compile_test)): Call fmaxmag and fminmag.
4803         (F(fminmag)): New function.
4804         (F(fmaxmag)): Likewise.
4805         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4806         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
4807         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
4808         fminmag.
4809         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
4810         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
4811         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4812         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4813         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
4814         and fminmag.
4815         (CFLAGS-nldbl-fmaxmag.c): New variable.
4816         (CFLAGS-nldbl-fminmag.c): Likewise.
4817         * sysdeps/nacl/libm.abilist: Update.
4818         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4824         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4827         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4828         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4829         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4833         Likewise.
4834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4835         Likewise.
4836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4837         Likewise.
4838         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4839         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4842         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4844         Likewise.
4845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4846         Likewise.
4847         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4848         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4849         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4851 2016-12-19  Torvald Riegel  <triegel@redhat.com>
4853         [BZ #20973]
4854         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
4855         wake-up in robust mutexes.
4856         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4858 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4860         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
4861         (CFLAGS-bench-fmaxf.c): New rule.
4862         (CFLAGS-bench-fminf.c): Likewise.
4863         * benchtests/fmaxf-inputs: New file.
4864         * benchtests/fminf-inputs: Likewise.
4866         * benchtests/Makefile (bench-math): Add fmin and fmax.
4867         (CFLAGS-bench-fmax.c): New rule.
4868         (CFLAGS-bench-fmin.c): Likewise.
4869         * benchtests/fmax-inputs: New file.
4870         * benchtests/fmin-inputs: Likewise.
4872         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
4873         parenthesis.
4874         (CMDLINE_PROCESS): Define using function instead of macro.
4875         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
4876         of test-skeleton.
4877         * benchtests/bench-memchr.c: Likewise.
4878         * benchtests/bench-memcmp.c: Likewise.
4879         * benchtests/bench-memcpy-large.c: Likewise.
4880         * benchtests/bench-memcpy.c: Likewise.
4881         * benchtests/bench-memmem.c: Likewise.
4882         * benchtests/bench-memmove-large.c: Likewise.
4883         * benchtests/bench-memmove.c: Likewise.
4884         * benchtests/bench-memset-large.c: Likewise.
4885         * benchtests/bench-memset.c: Likewise.
4886         * benchtests/bench-rawmemchr.c: Likewise.
4887         * benchtests/bench-strcasecmp.c: Likewise.
4888         * benchtests/bench-strcasestr.c: Likewise.
4889         * benchtests/bench-strcat.c: Likewise.
4890         * benchtests/bench-strchr.c: Likewise.
4891         * benchtests/bench-strcmp.c: Likewise.
4892         * benchtests/bench-strcpy.c: Likewise.
4893         * benchtests/bench-strcpy_chk.c: Likewise.
4894         * benchtests/bench-strlen.c: Likewise.
4895         * benchtests/bench-strncasecmp.c: Likewise.
4896         * benchtests/bench-strncmp.c: Likewise.
4897         * benchtests/bench-strncpy.c: Likewise.
4898         * benchtests/bench-strnlen.c: Likewise.
4899         * benchtests/bench-strpbrk.c: Likewise.
4900         * benchtests/bench-strrchr.c: Likewise.
4901         * benchtests/bench-strsep.c: Likewise.
4902         * benchtests/bench-strspn.c: Likewise.
4903         * benchtests/bench-strstr.c: Likewise.
4904         * benchtests/bench-strtok.c: Likewise.
4906 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4908         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
4909         stepping identification.
4910         (init_cpu_features): Add handle of Haswell.
4912 2016-11-25  Jim Meyering  <meyering@fb.com>
4914         [BZ #20386]
4915         Let gcc detect assert(a = 1) errors.
4916         * assert/assert.h (assert): Rewrite, retaining the old definintion
4917         when required, but otherwise putting the expression as-is in an "if"
4918         expression (hence, with no added parentheses) within a statement
4919         expression.
4921 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4923         * benchtests/Makefile (binaries-benchset): Depend on libsupport
4924         DSO.
4926 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
4928         * Rules (python-flags, python-invoke): New.
4929         ($(test-printers-out)): Use $(python-flags).
4931 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4933         * manual/arith.texi (Math Error Reporting): Document that sNaN
4934         arguments are not considered domain errors.
4936 2016-12-16  Zack Weinberg <zackw@panix.com>
4937             Florian Weimer <fweimer@redhat.com>
4938             Nick Mathewson <nickm@torproject.org>
4940         * string/explicit_bzero.c: New routine.
4941         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
4942         * string/Makefile (routines, strop-tests, tests): Add them.
4943         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
4944         * string/string.h [__USE_MISC]: Declare explicit_bzero.
4946         * debug/explicit_bzero_chk.c: New routine.
4947         * debug/Makefile (routines): Add it.
4948         * debug/tst-chk1.c: Test fortification of explicit_bzero.
4949         * string/bits/string3.h: Fortify explicit_bzero.
4951         * manual/string.texi: Document explicit_bzero.
4952         * NEWS: Mention addition of explicit_bzero.
4954         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
4955         data before returning, using explicit_bzero.
4956         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
4957         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4958         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4960         * include/string.h: Redirect internal uses of explicit_bzero
4961         to __explicit_bzero_chk[_internal].
4962         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
4963         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
4964         * sysdeps/arm/nacl/libc.abilist
4965         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4966         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4967         * sysdeps/unix/sysv/linux/arm/libc.abilist
4968         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4969         * sysdeps/unix/sysv/linux/i386/libc.abilist
4970         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4971         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4972         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4973         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4974         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4975         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4976         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4977         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4978         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4983         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4984         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4985         * sysdeps/unix/sysv/linux/sh/libc.abilist
4986         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4987         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4990         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4991         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4992         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4993         Add entries for explicit_bzero and __explicit_bzero_chk.
4995 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4997         * math/fenv.h
4998         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
4999         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5000         * math/test-fe-snans-always-signal.c: New file.
5001         * math/Makefile (tests): Add test-fe-snans-always-signal.
5002         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5003         * manual/arith.texi (Infinity and NaN): Document
5004         FE_SNANS_ALWAYS_SIGNAL.
5006 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5008         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5009         bracket.
5011 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5013         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5014         before calling execv.
5016 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5018         [BZ# 20971]
5019         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5020         overflow in pointer addition.
5021         * string/test-memchr.c (do_test): Add an argument to pass as
5022         the size on memchr.
5023         (test_main): Add check for SIZE_MAX.
5025 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5027         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5028         (libm-calls): Add w_scalblnF.
5029         * math/w_scalbln.c: Remove.
5030         * math/w_scalblnf.c: Likewise.
5031         * math/w_scalblnl.c: Likewise.
5032         * math/w_scalbln_template.c: New file with type-generic
5033         implementation based on math/w_scalbln.c.
5034         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5035         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5037 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5039         [BZ #20947]
5040         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5041         either is a signaling NaN.
5042         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5043         follow fmaxl more closely.
5044         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5045         when either is a signaling NaN.
5046         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5047         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5048         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5049         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5050         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5051         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5052         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5053         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5054         (fmin_test_data): Likewise.
5056 2016-12-15  Andreas Schwab  <schwab@suse.de>
5058         * support/support_test_main.c (support_test_main): Don't shadow
5059         file-local variable test_pid.
5061 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5063         [BZ #20947]
5064         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5065         either is a signaling NaN.
5066         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5068 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5070         [BZ #20947]
5071         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5072         when either is a signaling NaN.
5073         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5075         * bits/long-double.h: New file.
5076         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5077         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5078         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5079         * sysdeps/mips/bits/long-double.h: Likewise.
5080         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5081         * math/Makefile (headers): Add bits/long-double.h.
5082         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5083         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5084         <bits/wordsize.h>.
5085         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5086         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5087         * math/math.h: Do not include <bits/mathdef.h>.
5088         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5089         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5090         inclusion.
5091         * sysdeps/ia64/bits/mathdef.h: Remove file.
5092         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5093         * sysdeps/mips/bits/mathdef.h: Likewise.
5094         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5095         * sysdeps/s390/bits/mathdef.h: Likewise.
5096         * sysdeps/sparc/bits/mathdef.h: Likewise.
5097         * sysdeps/x86/bits/mathdef.h: Likewise.
5098         * sysdeps/s390/s390-32/bits/wordsize.h
5099         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5100         conditional code.
5101         * sysdeps/s390/s390-64/bits/wordsize.h
5102         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5103         Likewise.
5104         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5105         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5106         Likewise.
5107         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5108         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5109         Likewise.
5110         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5111         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5112         Likewise.
5114         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5115         <linux/falloc.h>.
5116         (FALLOC_FL_KEEP_SIZE): Remove.
5117         (FALLOC_FL_PUNCH_HOLE): Likewise.
5118         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5119         (FALLOC_FL_ZERO_RANGE): Likewise.
5121 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5123         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5125 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5127         * sysdeps/unix/sysv/linux/renameat.c: New file.
5128         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5130         * sysdeps/unix/sysv/linux/rename.c: New file.
5131         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5133 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5135         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5136         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5137         * string/strtok_r.c (__strtok_r): Optimize for performance.
5138         * string/string-inlines.c (__old_strtok_r_1c): New function.
5139         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5141 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5143         * math/Makefile (gen-libm-calls): Add w_log1pF.
5144         (libm-calls): Remove w_log1pF.
5145         * math/w_log1p.c: Remove.
5146         * math/w_log1pf.c: Likewise.
5147         * math/w_log1pl.c: Likewise.
5148         * math/w_log1p_template.c: New file with type-generic
5149         implementation based on math/w_log1p.c.
5150         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5151         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5153 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5155         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5157 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5159         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5160         kernel version to 4.9.
5162 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5164         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5165         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5167 2016-12-13  Andreas Schwab  <schwab@suse.de>
5169         * sysdeps/powerpc/dl-procinfo.c: Don't define
5170         _dl_powerpc_platforms.
5171         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5172         constants instead of referencing _dl_powerpc_platforms.
5173         (_dl_platform_string): Remove.
5175 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5177         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5179 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5181         * Rules (binaries-shared-tests, binaries-pie-tests)
5182         (binaries-static-tests): Link with $(link-extra-libs-tests).
5183         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5184         Remove $(link-extra-libs-tests).
5186 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5188         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5189         (sysdep_routines): Add strncmp_power9.
5190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5191         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5192         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5193         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5194         (strncmp): Add __strncmp_power9 to ifunc list.
5195         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5197 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5199         [BZ #17252]
5200         Add getentropy, getrandom.
5201         * stdlib/sys/random.h: New file.
5202         (headers): Add it.
5203         * stdlib/Makefile (routines): Add getentropy, getrandom.
5204         (tests): Add tst-getrandom.
5205         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5206         * stdlib/getentropy.c: New file.
5207         * stdlib/getrandom.c: Likewise.
5208         * stdlib/tst-getrandom.c: Likewise.
5209         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5210         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5211         * manual/crypt.texi (Unpredictable Bytes): New section.
5212         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5213         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5214         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5215         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5216         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5217         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5218         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5219         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5220         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5221         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5222         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5223         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5224         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5225         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5226         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5227         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5229         Likewise.
5230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5231         Likewise.
5232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5234         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5235         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5236         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5237         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5238         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5241         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5242         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5243         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5245 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5247         [BZ #20956]
5248         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5249         as additional compiler barriers.
5250         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5251         (fn2, do_test): Declare with external linkage.
5252         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5253         (do_test): Declare with external linkage.
5254         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5255         (do_test): Declare with external linkage.
5256         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5257         (do_test): Declare with external linkage.
5259 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5261         * support/support_test_main.c (support_test_main): Use correct
5262         timeout.
5264 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5265             Florian Weimer  <fweimer@redhat.com>
5267         [BZ #16421]
5268         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5269         and __u6_addr32 members.
5270         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5271         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5272         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5273         Use __u6_addr32.
5274         * inet/tst-checks.c: Use <support/test-driver.c>
5275         * inet/tst-checks-posix.c: New file.
5276         * inet/Makefile (tests): Add it.
5277         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5279 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5281         New subdirectory support for build and test infrastructure.
5282         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5283         setting install-lib.
5284         * Makeconfig (link-extra-libs-tests): Define.
5285         (+link-pie-tests, +link-static-tests, +link-tests): Use
5286         link-extra-libs-tests.
5287         (rpath-dirs, all-subdirs): Add support.
5288         (built-modules): Add libsupport.
5289         (libsupport): Define.
5290         * support: New directory.
5291         * support/Makefile: New file.
5292         * support/check.c: Likewise.
5293         * support/check.h: Likewise.
5294         * support/delayed_exit.c: Likewise.
5295         * support/ignore_stderr.c: Likewise.
5296         * support/oom_error.c: Likewise.
5297         * support/set_fortify_handler.c: Likewise.
5298         * support/support.h: Likewise.
5299         * support/temp_file-internal.h: Likewise.
5300         * support/temp_file.c: Likewise.
5301         * support/test-driver.c: Likewise.
5302         * support/test-driver.h: Likewise.
5303         * support/test_main.c: Likewise.
5304         * support/write_message.c: Likewise.
5305         * support/xasprintf.c: Likewise.
5306         * support/xcalloc.c: Likewise.
5307         * support/xmalloc.c: Likewise.
5308         * support/xpthread_barrier_destroy.c: Likewise.
5309         * support/xpthread_barrier_init.c: Likewise.
5310         * support/xpthread_barrier_wait.c: Likewise.
5311         * support/xpthread_cancel.c: Likewise.
5312         * support/xpthread_check_return.c: Likewise.
5313         * support/xpthread_cond_wait.c: Likewise.
5314         * support/xpthread_create.c: Likewise.
5315         * support/xpthread_detach.c: Likewise.
5316         * support/xpthread_join.c: Likewise.
5317         * support/xpthread_mutex_lock.c: Likewise.
5318         * support/xpthread_mutex_unlock.c: Likewise.
5319         * support/xpthread_sigmask.c: Likewise.
5320         * support/xpthread_spin_lock.c: Likewise.
5321         * support/xpthread_spin_unlock.c: Likewise.
5322         * support/xrealloc.c: Likewise.
5323         * support/xsignal.h: Likewise.
5324         * support/xthread.h: Likewise.
5325         * support_tempfile.h: Likewise.
5326         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5327         (TEST_DATA_LIMIT): Remove unused macro.
5328         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5329         <support/check.h>.
5330         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5331         (ignore_stderr, set_fortify_handler): Remove.  Now in
5332         <support/support.h>.
5333         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5334         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5335         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5336         (xpthread_join): Remove.  Now in <support/xthread.h>.
5337         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5338         Introduce legacy wrappers.
5339         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5340         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5341         (write_message): Remove.
5342         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5343         test-skeleton.c.
5344         * io/test-open-tmpfile: Likewise.
5345         * io/tst-posix_fallocate-common.c: Likewise.
5346         * libio/tst-fseek.c: Likewise.
5347         * malloc/tst-malloc-backtrace.c: Likewise.
5348         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5349         * malloc/tst-malloc-thread-exit.c: Likewise.
5350         * nptl/tst-cancel7.c: Likewise.
5351         * nptl/tst-cleanup0.c: Likewise.
5352         * posix/tst-posix_fadvise-common.c: Likewise.
5353         * rt/tst-shm.c: Likewise.
5354         * time/bug-getdate1.c: Likewise.
5355         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5356         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5357         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5359 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5361         * Rules [$(run-built-tests) != no] (tests-expected): Add
5362         $(tests-printers).
5363         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5365 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5367         [BZ #20539]
5368         * math/Makefile (install-lib-ldscripts): Add libm.a.
5369         (install_subdir): Remove.
5370         (install-others): Add.
5371         ($(inst_libdir)/libm.a): Add rule for installation as
5372         linker script.
5373         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5375 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5377         * INSTALL: Regenerated.
5378         * Makeconfig: Add comments and whitespace to make the control flow
5379         clearer.
5380         (+link-printers-tests, +link-pie-printers-tests,
5381         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5382         built-rtld-LDFLAGS, link-libc-rpath,
5383         link-libc-tests-after-rpath-link,
5384         link-libc-printers-tests): New.
5385         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5386         link-libc-tests): Use the new variables as required.
5387         * Makerules ($(py-const)): New rule.
5388         generated: Add $(py-const).
5389         * README.pretty-printers: New file.
5390         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5391         (others): Depend on $(py-const).
5392         (tests): Depend on $(tests-printers-programs) or
5393         $(tests-printers-out),
5394         as required.  Pass $(tests-printers) to merge-test-results.sh.
5395         * manual/install.texi: Add requirements for testing the pretty
5396         printers.
5397         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5398         tests-printers, CFLAGS-test-mutexattr-printers.c
5399         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5400         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5401         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5402         * nptl/nptl-printers.py: New file.
5403         * nptl/nptl_lock_constants.pysym: Likewise.
5404         * nptl/test-cond-printers.c: Likewise.
5405         * nptl/test-cond-printers.py: Likewise.
5406         * nptl/test-condattr-printers.c: Likewise.
5407         * nptl/test-condattr-printers.py: Likewise.
5408         * nptl/test-mutex-printers.c: Likewise.
5409         * nptl/test-mutex-printers.py: Likewise.
5410         * nptl/test-mutexattr-printers.c: Likewise.
5411         * nptl/test-mutexattr-printers.py: Likewise.
5412         * nptl/test-rwlock-printers.c: Likewise.
5413         * nptl/test-rwlock-printers.py: Likewise.
5414         * nptl/test-rwlockattr-printers.c: Likewise.
5415         * nptl/test-rwlockattr-printers.py: Likewise.
5416         * scripts/gen-py-const.awk: Likewise.
5417         * scripts/test_printers_common.py: Likewise.
5418         * scripts/test_printers_exceptions.py: Likewise.
5420 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5422         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5423         argument.
5424         (Glibc.build_glibc): Strip installed shared libraries if
5425         requested.
5426         (get_parser): Add --strip option.
5427         (main): Update Context call.
5429 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5430             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5432         [BZ #20847]
5433         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5434         array bounds for else branch.
5435         (__execvpe): Style fixes.
5436         * posix/tst-vfork3.c (run_script): New function.
5437         (create_script): Likewise.
5438         (do_test): Use run_script internal function.
5439         (do_prepare): Use create_script internal function.
5441 2016-12-07  Andreas Schwab  <schwab@suse.de>
5443         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5444         (__elision_available): Don't declare.
5445         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5446         (__elision_available): Don't define.
5447         (elision_init): Don't set __elision_available.
5449 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5451         [BZ #20940]
5452         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5453         return Inf for arguments Inf and sNaN.
5454         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5455         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5456         Likewise.
5457         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5458         Likewise.
5459         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5460         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5461         for arguments Inf and sNaN.  When returning a NaN, compute it by
5462         arithmetic on the arguments.
5463         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5464         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5465         arguments.
5467 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5469         [BZ #20916]
5470         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5471         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5472         to compute result.
5473         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5474         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5476 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5478         * include/atomic.h (__atomic_check_size_ls): New.
5479         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5480         atomic_store_release): Use it.
5481         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5482         (elision_adapt, ELIDE_LOCK): Use atomics.
5483         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
5484         atomics and improve code comments.
5485         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
5486         (__lll_trylock_elision): Likewise.
5488 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5490         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
5491         programs.
5493 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5495         [BZ #20916]
5496         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
5497         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
5498         arguments to compute result.
5499         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
5500         1 for arguments (sNaN, 0) or (1, sNaN).
5501         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5502         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5504         [BZ #20919]
5505         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
5506         NaN first argument when raised to power 0.
5507         * math/w_pow.c (__pow): Do not check for NaN or zero results from
5508         raising to power zero.
5509         * math/w_powf.c (__powf): Likewise.
5510         * math/w_powl.c (__powl): Likewise.
5511         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
5512         pow (0, 0) or pow (NaN, 0).
5514 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
5516         [BZ #20918]
5517         * configure.ac: Test for static NSS cryptographic libraries and set
5518         libc_cv_static_nss_crypt.
5519         * configure: Regenerate.
5520         * config.make.in (static-nss-crypt): Define.
5521         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
5522         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
5523         (CFLAGS-tst-linkall-static.c): Define.
5524         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
5525         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
5526         ($(objpfx)tst-linkall-static): Define.
5527         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
5528         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
5530 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5532         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
5533         (one-hundred, tst-tls-many-dynamic-modules): Define.
5534         (modules-names): Add $(tst-tls-many-dynamic-modules).
5535         (tst-tls-manydynamic%mod.os): Build with special preprocessor
5536         macros.
5537         (tst-tls-manydynamic): Link against libdl, libpthread.
5538         (tst-tls-manydynamic.out): The test needs the test modules at run
5539         time.
5540         * elf/tst-tls-manydynamic.c: New file.
5541         * elf/tst-tls-manydynamic.h: Likewise.
5542         * elf/tst-tls-manydynamicmod.c: Likewise.
5544 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5546         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
5547         (TLS_DTV_UNALLOCATED): Add.
5548         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
5549         offsets.
5551 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5553         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5555 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5557         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
5558         Add -fno-optimize-sibling-calls.
5560 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5562         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
5563         New declaration.
5564         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
5565         macro.
5566         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
5567         New macro.
5568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
5569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
5570         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
5571         (llogbf): Likewise.
5572         (llogbl): Likewise.
5573         * math/Makefile (gen-libm-calls): Add w_llogbF.
5574         (tests): Add test-fp-llogb-constants.
5575         * math/w_llogb_template.c: New file.  Based on
5576         math/w_ilogb_template.c.
5577         * math/libm-test.inc (llogb_test_data): New array.
5578         (llogb_test): New function.
5579         (main): Call llogb_test.
5580         * math/test-fp-llogb-constants.c: New file.  Based on
5581         math/test-fp-ilogb-constants.c.
5582         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
5583         (do_test): Call check_return_llogb.
5584         * math/test-tgmath.c (NCALLS): Increase to 126.
5585         (F(compile_test)): Call llogb.
5586         (F(llogb)): New function.
5587         * manual/math.texi (Exponents and Logarithms): Document llogb,
5588         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
5589         * manual/libm-err-tab.pl (@all_functions): Add llogb.
5590         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
5591         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
5592         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
5593         (CFLAGS-nldbl-llogb.c): New variable.
5594         * sysdeps/nacl/libm.abilist: Update.
5595         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5596         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5597         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5598         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5599         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5600         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5601         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5602         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5603         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5604         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5605         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5606         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5608         Likewise.
5609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5610         Likewise.
5611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5612         Likewise.
5613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5614         Likewise.
5615         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5616         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5617         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5618         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5619         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5621         Likewise.
5622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5623         Likewise.
5624         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5625         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5626         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5628 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5630         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
5631         _Float128 instead of long double.
5632         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
5634         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
5635         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
5636         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
5637         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
5638         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
5639         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
5640         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
5641         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
5642         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
5643         Likewise.
5645 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5647         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
5648         Remove redirection to __strrchr_ppc.
5650 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5652         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5653         (sysdep_routines): Add strcmp_power9.
5654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5655         (strcmp): Add __strcmp_power9 to list of strcmp functions.
5656         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
5657         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
5658         (strcmp): Add __strcmp_power9 to ifunc list.
5659         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
5661 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5663         * bits/fp-logb.h: New file.
5664         * sysdeps/ia64/bits/fp-logb.h: Likewise.
5665         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
5666         * sysdeps/x86/bits/fp-logb.h: Likewise.
5667         * math/Makefile (headers): Add bits/fp-logb.h.
5668         * math/math.h: Include <bits/fp-logb.h>.
5669         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
5670         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
5671         * bits/mathdef.h (FP_ILOGB0): Remove.
5672         (FP_ILOGBNAN): Likewise.
5673         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
5674         (FP_ILOGBNAN): Likewise.
5675         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
5676         (FP_ILOGBNAN): Likewise.
5677         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
5678         (FP_ILOGBNAN): Likewise.
5679         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
5680         (FP_ILOGBNAN): Likewise.
5681         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
5682         (FP_ILOGBNAN): Likewise.
5683         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
5684         (FP_ILOGBNAN): Likewise.
5685         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
5686         (FP_ILOGBNAN): Likewise.
5687         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
5688         (FP_ILOGBNAN): Likewise.
5689         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
5690         (FP_ILOGBNAN): Likewise.
5692         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
5693         time module.
5694         (Context.__init__): Initialize self.logsdir_old.
5695         (Context.run_builds): Handle bot action.
5696         (Context.bot_cycle): Copy logs directory before running builds.
5697         (Context.bot_run_self): Take argument for whether to check
5698         subprocess result.  Flush stdout before running subprocess.
5699         (Context.bot): New function.
5700         (get_parser): Allow bot action.
5702 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
5704         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
5705         Import email.mime.text, email.utils and smtplib modules.
5706         (Context.__init__): Initialize self.bot_config_json.
5707         (Context.run_builds): Handle bot-cycle action.
5708         (Context.load_bot_config_json): New function.
5709         (Context.part_build_old): Likewise.
5710         (Context.bot_cycle): Likewise.
5711         (Context.bot_build_mail): Likewise.
5712         (Context.bot_run_self): Likewise.
5713         (get_parser): Allow bot-cycle action.
5715 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5717         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
5718         Remove redirection to __stpcpy_ppc.
5720 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5722         Remove __libc_memalign from ld.so because it is unused.
5723         * elf/dl-minimal.c: Update comment on the malloc implementation.
5724         (malloc): Renamed from __libc_memalign, replacing the original
5725         malloc implementation.  Replace the align parameter with
5726         MALLOC_ALIGNMENT.
5727         * elf/Versions (ld): Update comment and remove __libc_memalign.
5728         * sysdeps/nacl/ld.abilist: Likewise.
5729         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
5730         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
5731         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
5732         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
5733         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
5734         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
5735         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
5736         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
5737         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
5738         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
5739         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
5740         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
5741         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
5742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
5743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5745         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5746         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5747         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5748         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5749         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
5751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
5752         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5753         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5754         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5755         * sysdeps/generic/localplt.data (ld.so): Likewise.
5756         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5757         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5758         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5759         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5760         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5761         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5762         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5763         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
5764         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5766         (ld.so): Likewise.
5767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5768         (ld.so): Likewise.
5769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5770         Likewise.
5771         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5772         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5773         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5774         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5775         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5777 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5779         [BZ #16628]
5780         Implement _dl_catch_error, _dl_signal_error in libc.so.
5781         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5782         (catch_hook): Define as thread-local or regular variable,
5783         depending on DL_ERROR_BOOTSTRAP.
5784         (CATCH_HOOK): Remove.
5785         (dl_signal_error, _dl_catch_error): Use
5786         catch_hook.  Add hidden definition for libc.
5787         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5788         for DL_ERROR_BOOTSTRAP only.
5789         * elf/dl-error.c: New file.
5790         * elf/dl-error-minimal.c: Likewise.
5791         * elf/tst-latepthread.c: Likewise.
5792         * elf/tst-latepthreadmod.c: Likewise.
5793         * elf/Makefile (routines): Add dl-error.
5794         (dl-routines): Remove dl-error.
5795         (rtld-routines): Add dl-error-minimal.
5796         [build-shared] (tests): Add tst-latepthread.
5797         (module-names): Add tst-latepthreadmod.
5798         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5799         symbol.
5800         (tst-latepthreadmod.so): Link against libpthread.
5801         (tst-latepthread): Link against libdbl.
5802         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5803         _dl_catch_error.
5804         [ld] (GLIBC_PRIVATE): Likewise.
5805         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5806         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
5807         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
5808         directly.
5809         * elf/dl-tsd.c: Remove file.
5810         * elf/rtld.c (_rtld_global_ro): Remove initializers for
5811         _dl_catch_error, _dl_signal_error.
5812         (_dl_initial_error_catch_tsd): Remove definition.
5813         (do_preload): Remove initialization of dl_error_catch_tsd.
5814         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
5815         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
5816         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5817         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5818         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
5819         set dl_error_catch_tsd.
5820         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
5821         _dl_error_catch_tsd member.
5822         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
5823         members.
5824         (_dl_initial_error_catch_tsd): Remove declaration.
5825         (_dl_dprintf): Provide definition for use outside of ld.so.
5826         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
5827         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
5828         prototype for libc.
5829         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
5830         _dl_catch_error.
5831         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5832         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5833         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5834         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5835         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5836         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5837         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5838         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
5839         Likewise.
5840         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5842         (ld.so): Likewise.
5843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5844         (ld.so): Likewise.
5845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5846         Likewise.
5847         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5848         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5849         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
5850         Likewise.
5851         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
5852         Likewise.
5853         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5855 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5857         [BZ #4099]
5858         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
5859         _IO_BUFSIZ (8192).
5861 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
5863         * PROJECTS: Remove file.
5865 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5867         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
5869 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
5870             Steve Ellcey  <sellcey@caviumnetworks.com>
5872         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
5873         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
5874         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
5875         fxstatat.
5876         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
5877         lxstat.
5878         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
5879         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
5880         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
5881         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
5882         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
5883         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
5884         __xstat.
5886 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5888         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
5889         Define.
5890         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
5891         definition.
5893 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5895         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
5896         version and turn into strong alias.  Remove compat symbol.
5898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5899         (__longjmp): Remove.
5901 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
5903         * bits/fp-fast.h: New file.
5904         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
5905         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
5906         * math/Makefile (headers): Add bits/fp-fast.h.
5907         * math/math.h: Include <bits/fp-fast.h>.
5908         * bits/mathdef.h (FP_FAST_FMA): Remove.
5909         (FP_FAST_FMAF): Likewise.
5910         (FP_FAST_FMAL): Likewise.
5911         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
5912         (FP_FAST_FMAF): Likewise.
5913         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
5914         (FP_FAST_FMAF): Likewise.
5915         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
5916         (FP_FAST_FMAF): Likewise.
5917         (FP_FAST_FMAL): Likewise.
5918         * sysdeps/arm/bits/mathdef.h: Remove file.
5919         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
5920         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5921         * sysdeps/tile/bits/mathdef.h: Likewise.
5923 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5925         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
5926         * math/w_ilogb.c: Remove.
5927         * math/w_ilogbf.c: Likewise.
5928         * math/w_ilogbl.c: Likewise.
5929         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
5930         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
5931         * math/Makefile (gen-libm-calls): Add w_ilogbF.
5932         (libm-calls): Remove w_ilogbF.
5933         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
5934         (LDOUBLE_ilogbl_libm_version): New macro.
5936         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
5938         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
5939         [!__STRICT_ANSI__ && !__cplusplus].
5941 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5943         [BZ #20750]
5944         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
5945         of PIC.
5947 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5948             Yury Norov  <ynorov@caviumnetworks.com>
5949             Steve Ellcey  <sellcey@caviumnetworks.com>
5951         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
5952         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
5953         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
5954         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
5955         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
5956         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
5957         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
5958         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
5959         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
5960         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
5961         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
5962         to get correct reg name for ILP32.
5963         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
5964         (RELA_SIZE): New Macro.
5965         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
5966         to support ILP32.
5967         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
5968         cast for ILP32 mode.
5969         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
5970         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
5971         * sysdeps/aarch64/memset.S (__memset): Ditto.
5972         * sysdeps/aarch64/strchr.S (strchr): Ditto.
5973         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
5974         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
5975         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
5976         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
5977         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
5978         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
5979         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
5980         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
5981         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
5982         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
5983         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
5984         change PTR_MANGLE call to use register numbers instead of names.
5985         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
5986         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
5987         ILP32 mode, change PTR_MANGLE calls to use register numbers.
5988         * sysdeps/aarch64/start.S (_start): Ditto.
5989         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
5990         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
5991         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
5992         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
5993         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
5994         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
5995         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
5996         Make defined values dependent on __ILP32__.
5997         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
5998         (sem_t): Change __align type.
5999         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6000         PTR_SIZE): New Macros.
6001         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6002         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6003         Set when in ILP32 mode.
6004         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6005         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6006         Set elf flags for ILP32.
6007         (add_system_dir): Set ILP32 library directories.
6008         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6009         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6010         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6011         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6012         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6013         New Macros.
6014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6016 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6018         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6019         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6020         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6022 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6024         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6025         <asm/cachectl.h>.
6027 2016-11-27  Zack Weinberg  <zackw@panix.com>
6029         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6030         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6032 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6034         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6035         error_t to fix usage in C++ programs.
6037 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6039         * scripts/build-many-glibcs.py: Import datetime module.
6040         (Context.__init__): Load JSON build state.  Initialize list of
6041         status logs.
6042         (Context.run_builds): Update saved build state.
6043         (Context.add_makefile_cmdlist): Update list of status logs.
6044         (Context.load_build_state_json): New function.
6045         (Context.store_build_state_json): Likewise.
6046         (Context.clear_last_build_state): Likewise.
6047         (Context.update_build_state): Likewise.
6048         (CommandList.status_logs): Likewise.
6050 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6052         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6053         script being executed.
6054         (Context.get_script_text): New function.
6055         (Context.exec_self): Likewise.
6056         (Context.checkout): Re-exec script if changed by checkout process.
6058 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6060         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6061         (setpayloadsig): New declaration.
6062         * math/Versions (setpayloadsig): New libm symbol at version
6063         GLIBC_2.25.
6064         (setpayloadsigf): Likewise.
6065         (setpayloadsigl): Likewise.
6066         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6067         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6068         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6069         (setpayloadsig_test_data): New array.
6070         (setpayloadsig_test): New function.
6071         (main): Call setpayloadsig_test.
6072         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6073         setpayloadsigf and setpayloadsigl.
6074         * manual/libm-err-tab.pl: Update comment on interfaces without
6075         ulps tabulated.
6076         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6077         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6078         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6079         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6080         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6081         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6082         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6083         setpayloadsig.
6084         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6085         * sysdeps/nacl/libm.abilist: Update.
6086         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6087         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6088         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6089         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6090         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6091         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6092         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6093         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6094         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6095         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6096         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6097         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6099         Likewise.
6100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6101         Likewise.
6102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6103         Likewise.
6104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6105         Likewise.
6106         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6107         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6108         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6109         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6110         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6112         Likewise.
6113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6114         Likewise.
6115         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6116         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6117         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6119         * scripts/build-many-glibcs.py: Import json module.
6120         (Context.__init__): Take replace_sources argument.  Load
6121         versions.json.
6122         (Context.load_versions_json): New function.
6123         (Context.store_json): Likewise.
6124         (Context.store_versions_json): Likewise.
6125         (Context.set_component_version): Likewise.
6126         (Context.checkout): Update versions.json.  Check for and handle
6127         changes of version.  Prefer previously explicitly specified
6128         version to default version.
6129         (Context.checkout_vcs): Return a revision identifier.
6130         (Context.git_checkout): Likewise.
6131         (Context.gcc_checkout): Likewise.
6132         (get_parser): Add --replace-sources option.
6133         (main): Pass replace_sources argument to Context call.
6135 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6137         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6138         * nptl/allocatestack.c (allocate_stack): Likewise.
6139         (__reclaim_stacks): Likewise.
6140         (setxid_signal_thread): Obtain pid through syscall.
6141         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6142         (sighandle_setxid): Likewise.
6143         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6144         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6145         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6146         Likewise.
6147         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6148         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6149         comment.
6150         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6151         * nptl/descr.h (struct pthread): Change comment about pid value.
6152         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6153         pid assert.
6154         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6155         Do not set pid value.
6156         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6157         pid cache check.
6158         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6159         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6160         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6161         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6162         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6163         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6164         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6165         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6166         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6167         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6168         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6169         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6170         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6171         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6172         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6173         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6174         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6175         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6176         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6177         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6178         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6179         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6180         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6181         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6182         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6185         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6186         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6187         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6188         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6189         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6190         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6191         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6192         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6193         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6194         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6195         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6196         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6197         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6198         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6199         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6200         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6203         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6204         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6205         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6206         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6207         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6208         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6209         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6210         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6211         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6212         struct access.
6213         (clone_test): Remove function.
6214         (do_test): Rewrite to take in consideration pid is not cached anymore.
6216 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6218         * bits/flt-eval-method.h: New file.
6219         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6220         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6221         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6222         * math/Makefile (headers): Add bits/flt-eval-method.h.
6223         * math/math.h: Include <bits/flt-eval-method.h>.
6224         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6225         [__USE_ISOC99] (double_t): Likewise.
6226         * bits/mathdef.h (float_t): Remove.
6227         (double_t): Likewise.
6228         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6229         (double_t): Likewise.
6230         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6231         (double_t): Likewise.
6232         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6233         (double_t): Likewise.
6234         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6235         (double_t): Likewise.
6236         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6237         (double_t): Likewise.
6238         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6239         (double_t): Likewise.
6240         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6241         (double_t): Likewise.
6242         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6243         (double_t): Likewise.
6244         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6245         (double_t): Likewise.
6246         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6247         (double_t): Likewise.
6248         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6249         (double_t): Likewise.
6250         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6251         (double_t): Likewise.
6252         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6253         (double_t): Likewise.
6255 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6257         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6258         instead of PIC.
6260 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6262         [BZ #20859]
6263         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6264         (-0x7fffffff) instead of 0x80000001.
6265         * math/test-fp-ilogb-constants.c: New file.
6266         * math/Makefile (tests): Add test-fp-ilogb-constants.
6268 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6270         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6271         (_init): Use it in place of hardcoded R_MIPS_JALR.
6272         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6273         (_init): Use it in place of hardcoded R_MIPS_JALR.
6274         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6275         (_init): Use it in place of hardcoded R_MIPS_JALR.
6277 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6279         [BZ #20787]
6280         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6281         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6282         (double_t): Do not define to double if [__x86_64__] when
6283         __FLT_EVAL_METHOD__ is nonzero.
6284         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6285         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6286         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6287         test-flt-eval-method-387 and test-flt-eval-method-sse.
6288         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6289         variable.
6290         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6292 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6294         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6295         use of -fno-isolate-erroneous-paths options for tilepro.
6297 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6299         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6300         structure initialization is no longer needed.
6302 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6304         [BZ #20855]
6305         * bits/mathdef.h (float_t): Define to float.
6306         * math/test-flt-eval-method.c: New file.
6307         * math/Makefile (tests): Add test-flt-eval-method.
6308         (CFLAGS-test-flt-eval-method.c): New variable.
6310 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6312         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6313         and __fstatfs.  Make them aliases of __fstatfs64 if
6314         STATFS_IS_STATFS64 is set to non-zero.
6315         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6316         and __statfs64.
6317         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6318         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6319         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6320         for __statfs and statfs.
6321         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6322         to 0.
6323         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6324         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6325         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6326         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6327         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6328         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6331         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6332         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6333         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6334         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6336 2016-11-22  Andreas Schwab  <schwab@suse.de>
6338         * misc/mkstemp.c: Include <fcntl.h>.
6339         * misc/mkstemps.c: Likewise.
6340         * misc/mkostemp.c: Likewise.
6341         * misc/mkostemps.c: Likewise.
6343 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6345         [BZ #20847]
6346         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6347         array bounds.
6348         (__execvpe): Likewise.
6350 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6352         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6353         -fno-isolate-erroneous-paths options for tilepro.
6355 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6357         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6358         to 0 when in 32 bit mode.
6359         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6360         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6361         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6362         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6364         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6365         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6366         XSTAT_IS_XSTAT64 test.
6367         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6368         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6369         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6370         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6371         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6372         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6373         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6374         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6375         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6376         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6377         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6379 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6381         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6382         (setpayload): New declaration.
6383         * math/Versions (setpayload): New libm symbol at version
6384         GLIBC_2.25.
6385         (setpayloadf): Likewise.
6386         (setpayloadl): Likewise.
6387         * math/Makefile (libm-calls): Add s_setpayloadF.
6388         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6389         test_Ff_b1_data.
6390         (RUN_TEST_Ff_b1): New macro.
6391         (RUN_TEST_LOOP_Ff_b1): Likewise.
6392         (canonicalize_test_data): Update type.
6393         (setpayload_test_data): New array.
6394         (setpayload_test): New function.
6395         (main): Call setpayload_test.
6396         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6397         setpayloadf and setpayloadl.
6398         * manual/libm-err-tab.pl: Update comment on interfaces without
6399         ulps tabulated.
6400         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6401         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6402         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6403         Likewise.
6404         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6405         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6406         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6407         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6408         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6409         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6410         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6411         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6412         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6413         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6414         setpayload.
6415         (CFLAGS-nldbl-setpayload.c): New variable.
6416         * sysdeps/nacl/libm.abilist: Update.
6417         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6418         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6419         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6420         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6421         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6422         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6423         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6424         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6425         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6426         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6427         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6428         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6430         Likewise.
6431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6432         Likewise.
6433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6434         Likewise.
6435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6436         Likewise.
6437         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6438         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6439         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6440         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6441         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6443         Likewise.
6444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6445         Likewise.
6446         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6447         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6448         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6450 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6452         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6453         * include/unistd.h: Extend comment about __access_noerrno return
6454         semantics.
6455         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6456         (access_common): Correct typo for EACCES.
6458 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6460         * sysdeps/tile/math-tests.h: New file.
6462         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6463         (__old_set_dataplane): Rename from set_dataplane and make a
6464         compatibility symbol.
6465         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6466         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6467         sys/dataplane.h.
6469 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6471         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6472         script quote words in command output to log suitably for input to
6473         the shell.
6475 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6476             Maciej W. Rozycki  <macro@imgtec.com>
6478         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6479         `.Lno_weak_fn' label.
6480         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6481         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6483 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6484             Yury Norov  <ynorov@caviumnetworks.com>
6486         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
6487         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
6488         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6489         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
6490         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6491         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
6492         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6494         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6495         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
6496         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6497         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
6498         (sysdep_routines): Remove oldgetrlimit64.
6499         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
6500         (sysdep_routines): Likewise.
6501         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
6502         (sysdep_routines): Likewise.
6503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6504         [$(subdir) = resource] (sysdep_routines): Likewise.
6505         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6506         [$(subdir) = resource] (sysdep_routines): Likewise.
6507         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
6508         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
6509         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
6510         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
6511         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
6512         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6513         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6514         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
6515         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
6516         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
6517         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
6518         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
6519         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
6520         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
6521         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
6522         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
6523         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
6524         setrlimit and getrlimit.
6525         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6526         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6527         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
6528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
6530         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6531         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
6532         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6533         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6534         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
6535         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
6536         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
6537         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
6538         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
6539         (__old_getrlimit64): Add compatibility symbol.
6540         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
6542 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
6544         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
6545         newly built gmp, mpfr and mpc.
6547         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
6549 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6551         * conform/Makefile (linknamespace-libs): Rename to
6552         linknamespace-libs-thr.
6553         (linknamespace-libs-posix): New variable.
6554         (linknamespace-libs-xsi): Likewise.
6555         (linknamespace-libs-XPG3): Include libcrypt.a.
6556         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
6557         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
6558         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
6559         (linknamespace-libs-XOPEN2K): Likewise.
6560         (linknamespace-libs-XOPEN2K8): Likewise.
6561         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
6563         [BZ #20829]
6564         * stdio-common/Versions (__snprintf): Add to version
6565         GLIBC_PRIVATE.
6566         * include/stdio.h (__snprintf): Use libc_hidden_proto.
6567         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
6568         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
6569         of snprintf.
6570         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6572 2016-11-16  Zack Weinberg  <zackw@panix.com>
6574         * string/string.h: Remove obsolete comment stating that
6575         strcoll_l and strxfrm_l have not yet been standardized.
6577 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6579         * hurd/hurd.h (__hurd_fail_noerrno): New function.
6580         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
6581         __access_noerrno.
6582         * io/access.c (__access_noerrno): New function.
6583         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
6584         (hurd_fail_seterrno): Likewise.
6585         (access_common): Likewise.
6586         (__access_noerrno): Likewise.
6587         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
6588         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
6589         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
6590         macro.
6592 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6594         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
6595         Only declare fpregs if [__SH_FPU_ANY__].
6597 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
6599         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
6600         Make code unconditional.
6601         [!(__SH4__ || __SH4A__)]: Remove conditional code.
6603 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
6605         * manual/sysinfo.texi (S_APPEND): Delete.
6606         (S_IMMUTABLE): Likewise.
6608 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
6609             Magnus Granberg  <zorry@gentoo.org>
6610             Mike Frysinger  <vapier@gentoo.org>
6612         [BZ #20662]
6613         * configure.ac (libc_cv_predef_stack_protector): Also check for
6614         __stack_chk_fail_local symbols.
6615         * configure: Regenerated.
6617 2016-11-15  Florian Weimer  <fweimer@redhat.com>
6619         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6620         (libc_hidden_def): Remove redefinition.
6621         (__sigsetjmp): Add hidden definition.
6622         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6623         (libc_hidden_def): Remove redefinition.
6624         (__sigsetjmp): Add hidden definition.
6626 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
6628         * scripts/build-many-glibcs.py (os.path): Do not import.
6629         (Context): Inherit explicitly from object.  Remove blank line
6630         between class and docstring.
6631         (Config): Likewise.
6632         (Glibc): Likewise.
6633         (Command): Likewise.
6634         (CommandList): Likewise.
6635         (Context.write_files): Store chmod mode in a variable.
6637         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
6638         LIBC_SLIBDIR_RTLDDIR for tilegx32.
6639         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
6641 2016-11-14  Zack Weinberg  <zackw@panix.com>
6643         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
6644         creating or re-creating it.
6646         * string/bits/string2.h: Fix typo in comment.
6648 2016-11-14  Zack Weinberg  <zackw@panix.com>
6650         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
6651         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
6652         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
6653         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
6654         of redirected function names.
6656         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
6657         as well.  Document that MESSAGE must be a single string literal.
6659 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
6661         * scripts/build-many-glibcs.py: New file.
6663         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
6664         (do_test): Disable -Wmaybe-uninitialized around uses of
6665         except_mask.
6667         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
6669 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
6671         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
6672         (atomic_store_release): Provide tilepro-specific implementations.
6674 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
6676         * math/math.h (__MATH_TG): New macro.
6677         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
6678         [__USE_ISOC99] (signbit): Likewise.
6679         [__USE_ISOC99] (isfinite): Likewise.
6680         [__USE_ISOC99] (isnan): Likewise.
6681         [__USE_ISOC99] (isinf): Likewise.
6682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
6683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
6684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
6685         __MATH_TG and __MATH_EVAL_FMT2.
6686         * sysdeps/generic/math_private.h (fabs_tg): Define using
6687         __MATH_TG.
6688         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6689         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
6690         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
6691         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
6692         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
6693         macro.
6694         (__iscanonical): Likewise.
6695         (iscanonical): Define using __MATH_TG.
6697 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6699         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
6700         guards.
6702         * sysdeps/unix/sysv/linux/access.c: New file.
6703         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
6705 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
6707         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
6708         and __WORDSIZE32_PTRDIFF_LONG.
6710 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6712         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6714 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6716         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
6717         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
6718         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
6719         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
6720         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
6721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
6722         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
6723         * sysdeps/unix/sysv/linux/truncate.c: New file.
6724         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
6725         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6726         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
6727         Remove.
6728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
6729         Likewise.
6731         * posix/tst-truncate-common.c: New file.
6732         * posix/tst-truncate.c: Use tst-truncate-common.c.
6733         * posix/tst-truncate64.c: Likewise and add LFS tests.
6734         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
6735         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
6736         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
6737         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
6738         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
6739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
6740         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
6741         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
6742         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
6743         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6744         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
6745         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
6746         Remove.
6747         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
6748         Likewise.
6750 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
6752         [BZ #20790]
6753         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
6754         to MAXLINESIZE.
6755         * sunrpc/bug20790.x: New file.
6756         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
6757         variable.
6758         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
6759         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
6761         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
6763         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6765         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6766         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6767         calloc, realloc, free, memalign and __libc_memalign rather than
6768         making them optional.
6770         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6771         for libc.so.
6773 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6775         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6776         ptw-lseek64.
6777         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6778         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6779         Likewise.
6780         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6781         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6782         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6783         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6784         * sysdeps/unix/sysv/linux/lseek.c: New file.
6785         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6786         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6787         __libc_lseek64 from auto-generation.
6788         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6789         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6791 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6793         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6794         * nptl/tst-cleanup1.c (do_test): Likewise.
6795         * nptl/tst-cleanup3.c (do_test): Likewise.
6796         * nptl/tst-key1.c (do_test): Likewise.
6797         * nptl/tst-key2.c (tf, do_test): Likewise.
6798         * nptl/tst-key3.c (tf, do_test): Likewise.
6799         * nptl/tst-stdio1.c (do_test): Likewise.
6800         * nptl/tst-stdio2.c (do_test): Likewise.
6802         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6803         * nptl/tst-kill6.c (handler): Likewise.
6804         * nptl/tst-tls2.c (CB): Likewise.
6805         * nptl/tst-tls3.c (CB): Likewise.
6807 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
6809         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
6811 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6812             Steve Ellcey  <sellcey@caviumnetworks.com>
6814         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
6815           __ASSUME_ST_INO_64_BIT as 0
6816         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
6817         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
6818           over the code where __ASSUME_ST_INO_64_BIT is used.
6819         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6820         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6821         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6823 2016-11-07  Florian Weimer  <fweimer@redhat.com>
6825         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6826         Document ABI exposure of the __kind offset.
6827         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6828         Mention reason for the __kind offset exposure in the ABI.
6829         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6830         Likewise.
6831         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6832         Likewise.
6833         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6834         Likewise.
6835         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
6836         (struct __pthread_mutex_s): Likewise.
6837         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6838         Likewise.
6839         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6840         Likewise.
6841         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6842         Likewise.
6843         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6844         Likewise.
6845         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6846         Likewise.
6847         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6848         Likewise.
6849         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6850         (struct __pthread_mutex_s): Likewise.
6851         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6852         (struct __pthread_mutex_s): Likewise.
6853         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
6854         Likewise.
6856 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
6858         * test-skeleton.c: Document do_test usage.
6860 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
6862         * iconv/gconv.h (__gconv_info): Define __data element using a
6863         zero-length array.
6865 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
6867         * math/test-tgmath2.c: Split up test function.
6869 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6871         * Rules (tests-expected): New variable, depending on
6872         $(run-built-tests).
6873         (tests): Pass $(tests-expected) to merge-test-results.sh, not
6874         $(tests).
6876         * Rules [$(run-built-tests) = no] (tests): Do not depend on
6877         $(tests-unsupported).
6879 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6881         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6882         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
6884 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6886         [BZ #20768]
6887         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
6888         __fegetenv instead of fegetenv.
6890         [BZ #14139]
6891         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
6892         (find_files): Obtain platform name from libm-test-ulps-name and
6893         store in %pplatforms.
6894         (canonicalize_platform): Remove.
6895         (print_platforms): Use $pplatforms directly.
6896         (by_platforms): Do not allow for platforms missing from
6897         %pplatforms.
6898         * sysdeps/aarch64/libm-test-ulps-name: New file.
6899         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
6900         * sysdeps/arm/libm-test-ulps-name: Likewise.
6901         * sysdeps/generic/libm-test-ulps-name: Likewise.
6902         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
6903         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
6904         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
6905         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
6906         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
6907         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
6908         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
6909         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
6910         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
6911         * sysdeps/nios2/libm-test-ulps-name: Likewise.
6912         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
6913         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
6914         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
6915         * sysdeps/sh/libm-test-ulps-name: Likewise.
6916         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
6917         * sysdeps/tile/libm-test-ulps-name: Likewise.
6918         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
6920         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
6922         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
6923         (test-xfail-check-execstack): New variable.
6925         * sysdeps/mips/localplt.data: New file.
6927 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
6928             Steve Ellcey  <sellcey@caviumnetworks.com>
6930         * bits/wordsize.h: Add documentation.
6931         * sysdeps/aarch64/bits/wordsize.h : New file
6932         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
6933         definitions.
6934         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
6935         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
6936         with #if instead of #ifdef.
6937         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
6938         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
6939         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
6940         Add or change defines.
6941         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
6942         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6943         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
6944         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
6945         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6946         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6947         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
6948         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
6949         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
6950         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6951         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
6952         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
6953         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
6954         * sysdeps/x86/bits/wordsize.h: Likewise.
6956 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
6957             Kevin Petit  <kevin.petit@arm.com>
6959         * sysdeps/aarch64/memchr.S (__memchr): New file.
6961 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6963         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
6965 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
6967         [BZ #19398]
6968         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
6969         $(linknamespace-symlists-tests).
6971 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
6973         * time/tst-strptime2.c: Ignore -Wformat-length warning.
6975 2016-11-02  Florian Weimer  <fweimer@redhat.com>
6976             Carlos O'Donell  <carlos@redhat.com>
6978         [Bug #20729]
6979         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
6980         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
6981         for -Os related change.
6983 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
6985         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
6987 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
6989         [BZ #19673]
6990         * manual/math.texi (Exponents and Logarithms): Correct description
6991         of clog10.
6993 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
6995         [Bz #20729]
6996         * locale/weight.h: Include libc-internal.h.
6997         * locale/weightwc.h: Likewise.
6998         * nptl/nptl_dbP.h: Likewise.
7000 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7002         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7003         when it is MACH_PORT_NULL.
7005 2016-10-31  Andreas Schwab  <schwab@suse.de>
7007         [BZ #20707]
7008         * posix/glob.c (glob): Initialize pglob before checking for
7009         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7010         valid brace expression despite GLOB_BRACE.
7011         * posix/globtest.sh: Test it.
7013 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7015         [BZ #20729]
7016         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7017         Define.
7018         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7019         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7020         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7021         for seq2.back_us and seq1.back_us only for -Os compiles.
7022         * locale/weightwc.h (findix): Likewise.
7023         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7024         DB_GET_FIELD_ADDRESS only for -Os compiles.
7025         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7026         for slen only for -Os compiles.
7027         * string/strcoll_l.c (get_next_seq): Ignore
7028         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7029         for -Os compiles.
7031         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7032         * include/crypt.h: New file.
7034 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7036         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7037         from test-skeleton.c.
7038         (statclass): Replace calls to write with calls to write_message.
7040 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7042         * math/math.h
7043         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7044         New macro.
7045         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7046         Likewise.
7047         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7048         Likewise.
7049         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7050         SNANL.
7051         * math/test-double.h (snan_value_MACRO): New macro.
7052         * math/test-float.h (snan_value_MACRO): Likewise.
7053         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7054         * math/libm-test.inc (issignaling_test_data): Add tests of
7055         snan_value_MACRO.
7057 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7059         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7060         behavior when eliding a lock not held by the current thread.
7061         * sysdeps/powerpc/nptl/elide.h: Likewise.
7063 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7065         [BZ #20728]
7066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7067         branch to _exit() by a function call.
7069 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7071         * malloc/malloc.c: Update chunk layout comments.
7072         (chunk_main_arena): Update comment.
7074 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7076         * crypt/sha256.c, crypt/sha256-block.c,
7077         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7078         sha256_process_block to __sha256_process_block.
7079         * crypt/sha512.c, crypt/sha512-block.c,
7080         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7081         sha512_process_block to __sha512_process_block.
7083 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7085         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7087         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7089 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7091         [BZ #20019]
7092         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7093         definition in unrelocated shared library.
7094         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7096 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7098         [BZ #20729]
7099         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7100         * sysdeps/unix/sysv/linux/i386/Makefile
7101         (uses-6-syscall-arguments): Define.
7102         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7103         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7104         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7105         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7106         Likewise.
7107         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7108         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7109         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7110         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7111         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7112         (CFLAGS-fallocate64.os): Likewise.
7113         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7114         (CFLAGS-pthread_rwlock_timedrdlock.os)
7115         (CFLAGS-pthread_rwlock_timedwrlock.o)
7116         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7117         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7118         (CFLAGS-sem_timedwait.os): Likewise.
7120 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7122         * elf/tst-linkall-static.c: New file.
7123         * elf/Makefile (tests-static): Add tst-linkall-static.
7124         (tst-linkall-static): Link against static libraries.
7126 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7128         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7129         mmaped chunks.
7131 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7133         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7134         members to mchunk_prev_size, mchunk_size.
7135         (chunk_main_arena): Reverse sense and rename from
7136         chunk_non_main_arena.
7137         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7138         mchunk_size instead of size.
7139         (set_non_main_arena): Define.
7140         (chunksize): Use chunksize_nomask instead of direct member access.
7141         (chunksize_nomask): Define.
7142         (next_chunk): Use chunksize instead of direct member access.
7143         (prev_size, set_prev_size): Define.
7144         (prev_chunk): Use prev_size instead of direct member access.
7145         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7146         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7147         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7148         (mchunk_prev_size, mchunk_size): Poison tokens.
7149         (unlink): Use chunksize_nomask, prev_size accessors.
7150         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7151         (do_check_free_chunk): Use prev_size accessor.
7152         (sysmalloc): Use set_prev_size, set_head accessors.
7153         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7154         (__libc_free): Use chunksize_nomask accessor.
7155         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7156         chunk_main_arena accessors.
7157         (_int_free): Use chunksize_nomask, prev_size accessors.
7158         (malloc_consolidate): Use chunksize, prev_size accessors.
7159         (_int_realloc): Use chunksize_nomask accessor.
7160         (_int_memalign): Use set_prev_size accessor.
7161         (__malloc_info): Use chunksize_nomask accessor.
7162         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7163         accessors.
7164         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7165         (heap_trim): Use chunksize_nomask, prev_size accessors.
7167 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7169         [BZ #19380]
7170         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7171         for inexact results.
7172         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7173         of inexact result where mpfr_subnormalize is the only inexact
7174         step.
7175         * stdlib/tst-strtod-round-data.h: Regenerated.
7176         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7177         Define to 0.
7178         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7180 2016-10-27  David S. Miller  <davem@davemloft.net>
7182         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7184 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7186         * malloc/malloc.c (do_set_mallopt_check): New function.
7187         (do_set_mmap_threshold): Likewise.
7188         (do_set_mmaps_max): Likewise.
7189         (do_set_top_pad): Likewise.
7190         (do_set_perturb_byte): Likewise.
7191         (do_set_trim_threshold): Likewise.
7192         (do_set_arena_max): Likewise.
7193         (do_set_arena_test): Likewise.
7194         (__libc_mallopt): Use them.
7196 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7198         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7199         (canonicalize): New declaration.
7200         * math/Versions (canonicalize): New libm symbol at version
7201         GLIBC_2.25.
7202         (canonicalizef): Likewise.
7203         (canonicalizel): Likewise.
7204         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7205         * math/s_canonicalize_template.c: New file.
7206         * math/libm-test.inc: Update comment on functions tested and
7207         testing of NaN payloads.
7208         (TEST_NAN_PAYLOAD): New macro.
7209         (NO_TEST_INLINE): Update value.
7210         (XFAIL_TEST): Likewise.
7211         (ERRNO_UNCHANGED): Likewise.
7212         (ERRNO_EDOM): Likewise.
7213         (ERRNO_ERANGE): Likewise.
7214         (IGNORE_RESULT): Likewise.
7215         (NON_FINITE): Likewise.
7216         (TEST_SNAN): Likewise.
7217         (NO_TEST_MATHVEC): Likewise.
7218         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7219         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7220         (struct test_Ffp_b1_data): New type.
7221         (RUN_TEST_Ffp_b1): New macro.
7222         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7223         (canonicalize_test_data): New array.
7224         (canonicalize_test): New function.
7225         (main): Call canonicalize_test.
7226         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7227         canonicalizef and canonicalizel.
7228         * manual/libm-err-tab.pl: Update comment on interfaces without
7229         ulps tabulated.
7230         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7231         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7232         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7233         canonicalize.
7234         (CFLAGS-nldbl-canonicalize.c): New variable.
7235         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7236         to ...
7237         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7238         ... here.
7239         (do_test): Also test canonicalizel.
7240         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7241         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7242         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7243         file.
7244         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7245         Use libm_hidden_def.
7246         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7247         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7248         (do_test): Also test canonicalizel.
7249         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7250         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7251         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7252         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7253         libm_hidden_def.
7254         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7255         macro.
7256         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7257         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7258         * sysdeps/nacl/libm.abilist: Update.
7259         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7260         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7261         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7262         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7263         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7264         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7265         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7266         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7267         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7268         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7269         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7270         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7272         Likewise.
7273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7274         Likewise.
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7276         Likewise.
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7278         Likewise.
7279         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7280         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7281         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7282         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7283         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7285         Likewise.
7286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7287         Likewise.
7288         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7289         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7290         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7292         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7293         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7294         getpayload.
7295         (CFLAGS-nldbl-getpayload.c): New variable.
7297 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7299         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7300         integer from the format string.
7302 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7304         [BZ #19473]
7305         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7306         declarations.
7307         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7308         weak aliases.
7309         * malloc/hooks.c (__malloc_get_state): Remove definition.
7310         (malloc_get_state): New stub implementation as
7311         compatibility symbol.
7312         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7313         compat symbol.
7314         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7315         malloc_set_state.
7316         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7318 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7320         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7321         (names): Turn into concatenation of strings.
7322         (gconv_init): Adapt iteration over names.
7324 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7326         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7327         make const.
7328         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7329         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7330         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7331         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7332         character in sbconv.
7333         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7334         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7335         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7337 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7339         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7341         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7342         (M_TRIM_THRESHOLD): Likewise.
7344         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7345         (M_ARENA_MAX): Likewise.
7346         * malloc/malloc.c: Remove obsolete comment.
7348         * manual/memory.texi: Add environment variable alternatives to
7349         setting mallopt parameters.
7351 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7353         * include/atomic.h
7354         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7355         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7357 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7359         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7360         * stdlib/tst-strfrom.h: New file.
7361         * stdlib/tst-strfrom.c: New file.
7362         * stdlib/tst-strfrom-locale.c: New file.
7364         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7365         * stdlib/bug-strtod2.c: Likewise.
7366         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7367         * stdlib/tst-strtod6.c: Likewise.
7368         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7370 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7372         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7373         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7374         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7375         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7376         * stdlib/stdlib.h (strfromd): New declaration.
7377         (strfromf): Likewise.
7378         (strfroml): Likewise.
7379         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7380         strfrom.
7381         * stdlib/strfromd.c: New file.
7382         * stdlib/strfromf.c: Likewise.
7383         * stdlib/strfroml.c: Likewise.
7384         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7385         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7386         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7387         * sysdeps/arm/nacl/libc.abilist: Update.
7388         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7389         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7390         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7391         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7392         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7393         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7394         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7395         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7396         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7397         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7398         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7399         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7400         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7401         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7406         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7407         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7408         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7409         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7410         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7413         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7414         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7415         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7417 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7419         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7420         instead of cmpli.
7421         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7422         instead of cmpli.
7424 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7426         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7427         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7428         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7429         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7430         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7431         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7433 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7435         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7436         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7437         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7438         SYSCALL_LL64_PRW.
7439         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7440         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7441         __ASSUME_PRW_DUMMY_ARG.
7442         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7443         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7444         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7445         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7446         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7447         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7449 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7451         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7453 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7455         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7456         "C++", to override a potential extern "C" directive around the
7457         header file inclusion.
7459 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7461         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7463 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7465         * sysdeps/powerpc/fpu/fenv_private.h:
7466         (_FPU_MASK_ALL): Rename to...
7467         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7468         XE FPSCR bits.
7470         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7472         (_FPU_MASK_ROUNDING): Rename to...
7473         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7474         NI bits.
7476         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7477         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7478         bits and rounding bits.
7480         (__libc_feholdbits_ppc): New inline function to mask, set,
7481         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7482         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7483         (libc_feholdexcept_setround_ppc): Likewise.
7485         (__libc_femergeenv_ppc): New function to dynamically mask both
7486         old and new FP environments and merge.
7487         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
7488         (libc_feresetround_ppc): Likewise.
7489         (libc_feupdateenv_test_ppc): Likewise.
7490         (libc_feupdateenv_ppc): Likewise.
7492         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
7493         of ISA RN bits, and update macro names.
7494         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
7495         effectively the same as the previously mentioned function.
7497         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
7498         usage with fe_resetround_ppc.
7500         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
7501         to be used.
7502         (libc_feholdexcept_setround_ctxf): Likewise.
7503         (libc_feholdexcept_setround_ctxl): Likewise.
7505 2016-10-21  Florian Weimer  <fweimer@redhat.com>
7507         [BZ #20715]
7508         * math/math.h [__cplusplus] (iszero): Define as function template.
7509         * math/Makefile [CXX] (tests): Add test-math-iszero.
7510         (CFLAGS-test-math-iszero.cc): Set.
7511         * math/test-math-iszero.cc: New file.
7513 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
7515         [BZ #20660]
7516         * sysdeps/arm/e_sqrt.c: New file.
7517         * sysdeps/arm/e_sqrtf.c: Likewise.
7519 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
7521         [BZ #20718]
7522         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
7523         not use floating-point comparisons to test sign.
7524         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
7525         Likewise.
7527         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7528         (getpayload): New declaration.
7529         * math/Versions (getpayload): New libm symbol at version
7530         GLIBC_2.25.
7531         (getpayloadf): Likewise.
7532         (getpayloadl): Likewise.
7533         * math/Makefile (libm-calls): Add s_getpayloadF.
7534         * math/libm-test.inc: Include <nan-high-order-bit.h>.
7535         (struct test_f_f_data): Add comment.
7536         (RUN_TEST_fp_f): New macro.
7537         (RUN_TEST_LOOP_fp_f): Likewise.
7538         (getpayload_test_data): New array.
7539         (getpayload_test): New function.
7540         (main): Call getpayload_test.
7541         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
7542         descriptor.
7543         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
7544         getpayloadf and getpayloadl.
7545         * manual/libm-err-tab.pl: Update comment on interfaces without
7546         ulps tabulated.
7547         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
7548         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
7549         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
7550         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
7551         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
7552         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
7553         * sysdeps/nacl/libm.abilist: Update.
7554         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7555         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7556         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7557         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7558         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7559         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7560         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7561         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7562         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7563         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7564         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7565         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7567         Likewise.
7568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7569         Likewise.
7570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7571         Likewise.
7572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7573         Likewise.
7574         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7575         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7576         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7577         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7578         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7580         Likewise.
7581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7582         Likewise.
7583         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7584         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7585         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7587 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7589         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
7590         tst-fallocate{64}.
7591         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
7592         on syscall return.
7594 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
7596         [BZ #20689]
7597         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
7598         usable.
7600 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
7602         * sysdeps/generic/nan-high-order-bit.h: New file.
7603         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
7604         * sysdeps/mips/nan-high-order-bit.h: Likewise.
7605         * sysdeps/hppa/math_private.h: Remove file.
7606         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
7607         not define here.
7608         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
7609         <nan-high-order-bit.h>.
7610         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7611         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
7612         <nan-high-order-bit.h>.
7613         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7614         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
7615         <nan-high-order-bit.h>.
7616         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7617         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
7618         <nan-high-order-bit.h>.
7619         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7620         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
7621         <nan-high-order-bit.h>.
7622         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7623         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
7624         <nan-high-order-bit.h>.
7625         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7626         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
7627         <nan-high-order-bit.h>.
7628         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7629         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
7630         <nan-high-order-bit.h>.
7631         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7632         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
7633         <nan-high-order-bit.h>.
7634         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7635         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
7636         <nan-high-order-bit.h>.
7637         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7638         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
7639         <nan-high-order-bit.h>.
7640         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7641         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
7642         <nan-high-order-bit.h>.
7643         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7644         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
7645         <nan-high-order-bit.h>.
7646         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7647         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
7648         <nan-high-order-bit.h>.
7649         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7650         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
7651         <nan-high-order-bit.h>.
7652         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7653         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
7654         <nan-high-order-bit.h>.
7655         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7656         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
7657         <nan-high-order-bit.h>.
7658         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7659         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
7660         <nan-high-order-bit.h>.
7661         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7663 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7665         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
7667 2016-09-22  John David Anglin  <dave.anglin@bell.net>
7669         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
7670         abort-instr.h.
7671         (EFAULT): Remove conditional define.
7672         (ENOSYS): Likewise.
7673         (atomic_compare_and_exchange_val_acq): Use instruction nullification
7674         instead of conditional branch instructions.
7676 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
7678         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7679         (totalordermag): New declaration.
7680         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
7681         New macro.
7682         * math/Versions (totalordermag): New libm symbol at version
7683         GLIBC_2.25.
7684         (totalordermagf): Likewise.
7685         (totalordermagl): Likewise.
7686         * math/Makefile (libm-calls): Add s_totalordermagF.
7687         * math/libm-test.inc (totalordermag_test_data): New array.
7688         (totalordermag_test): New function.
7689         (main): Call totalordermag_test.
7690         * math/test-tgmath.c (NCALLS): Increase to 125.
7691         (F(compile_test)): Call totalordermag.
7692         (F(totalordermag)): New function.
7693         * manual/arith.texi (FP Comparison Functions): Document
7694         totalordermag, totalordermagf and totalordermagl.
7695         * manual/libm-err-tab.pl: Update comment on interfaces without
7696         ulps tabulated.
7697         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
7698         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
7699         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
7700         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
7701         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
7702         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
7703         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
7704         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7705         totalordermag.
7706         (CFLAGS-nldbl-totalordermag.c): New variable.
7707         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
7708         (do_test): Also test totalordermagl.
7709         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
7710         Likewise.
7711         * sysdeps/nacl/libm.abilist: Update.
7712         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7713         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7714         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7715         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7716         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7717         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7718         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7719         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7720         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7721         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7722         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7723         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7725         Likewise.
7726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7727         Likewise.
7728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7729         Likewise.
7730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7731         Likewise.
7732         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7733         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7734         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7735         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7736         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7738         Likewise.
7739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7740         Likewise.
7741         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7742         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7743         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7745 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
7747         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
7748         boolean.
7750 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
7752         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
7753         raising FE_INVALID with feraisexcept in case where part of
7754         argument is infinite, subtract that part of argument from itself.
7755         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
7756         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
7757         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7759 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7761         * math/libm-test.inc (totalorder_test_data): Add more tests.
7763 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7765         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7766         Undefine weak_alias and add a comment why mips64 require
7767         versioning.
7769 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7771         [BZ #20647]
7772         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7773         maximum CPUID level is less than 2.
7775 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7777         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7778         (totalorder): New declaration.
7779         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7780         New macro.
7781         * math/Versions (totalorder): New libm symbol at version
7782         GLIBC_2.25.
7783         (totalorderf): Likewise.
7784         (totalorderl): Likewise.
7785         * math/Makefile (libm-calls): Add s_totalorderF.
7786         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7787         string.
7788         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7789         (qnan_value_pl): Likewise.
7790         (snan_value_pl): Likewise.
7791         (qnan_value): Define using qnan_value_pl.
7792         (snan_value): Define using snan_value_pl.
7793         (struct test_ff_i_data): Add comment about which tests use this
7794         structure.
7795         (RUN_TEST_ff_b): New macro.
7796         (RUN_TEST_LOOP_ff_b): Likewise.
7797         (totalorder_test_data): New array.
7798         (totalorder_test): New function.
7799         (main): Call totalorder_test.
7800         * math/test-tgmath.c (NCALLS): Increase to 122.
7801         (F(compile_test)): Call totalorder.
7802         (F(totalorder)): New function.
7803         * manual/arith.texi (FP Comparison Functions): Document
7804         totalorder, totalorderf and totalorderl.
7805         * manual/libm-err-tab.pl: Update comment on interfaces without
7806         ulps tabulated.
7807         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
7808         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
7809         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
7810         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
7811         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
7812         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
7813         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
7814         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7815         totalorder.
7816         (CFLAGS-nldbl-totalorder.c): New variable.
7817         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
7818         file.
7819         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7820         Add test-totalorderl-ldbl-128ibm.
7821         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
7822         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
7823         test-totalorderl-ldbl-96.
7824         * sysdeps/nacl/libm.abilist: Update.
7825         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7826         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7827         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7828         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7829         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7830         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7831         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7832         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7833         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7834         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7835         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7836         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7838         Likewise.
7839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7840         Likewise.
7841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7842         Likewise.
7843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7844         Likewise.
7845         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7846         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7847         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7848         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7849         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7851         Likewise.
7852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7853         Likewise.
7854         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7855         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7856         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7858 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7860         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
7861         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
7862         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
7863         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
7864         remove ENOSYS implementation.
7865         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
7866         Consolidate all Linux implementations.
7868 2016-10-11  Florian Weimer  <fweimer@redhat.com>
7870         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
7871         * resolv/herror.c (herror): Cast away const-ness.
7872         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
7873         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
7875 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
7877         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
7878         instead of M_NAN + M_NAN.
7879         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7881 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7883         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
7884         unused variable 'p'.
7886 2016-10-09  Alan Modra  <amodra@gmail.com>
7887             Andreas Schwab  <schwab@linux-m68k.org>
7889         [BZ #20554]
7890         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
7891         [PIC && !SHARED]: Set up PIC register for PLT call.
7893 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
7895         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
7896         conditional on value of [__FLT_EVAL_METHOD__].
7897         * math/test-iseqsig-excess-precision.c: New file.
7898         * math/Makefile (tests): Add test-iseqsig-excess-precision.
7900 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7902         * math/s_iseqsig_template.c: Include math-private.h.
7904         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
7905         * posix/tst-posix_fadvise.c: New file.
7906         * posix/tst-posix_fadvise64.c: Likewise.
7907         * posix/tst-posix_fadvise-common.c: Likewise.
7908         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7909         (__ASSUME_FADVISE64_64_6ARG): Define.
7910         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7911         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
7912         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7913         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
7914         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
7915         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
7916         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
7917         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7918         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
7919         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
7920         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
7921         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
7922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
7923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
7924         Likewise.
7925         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
7926         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
7927         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
7928         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7929         Alias to __posix_fadvise64_l32.
7930         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
7931         Add compat definition to posix_fadvise64.
7932         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7933         Add versioned definition to posix_fadvise64.
7934         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
7935         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
7936         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
7937         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
7938         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
7940         * io/Makefile (tests): Add tst-posix_fallocate and
7941         tst-posix_fallocate64.
7942         * io/tst-posix_fallocate-common.c: New file.
7943         * io/tst-posix_fallocate.c: Likewise.
7944         * io/tst-posix_fallocate64.c: Likewise.
7945         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
7946         file.
7947         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
7948         Likewise.
7949         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
7950         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
7951         Likewise.
7952         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
7953         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
7954         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
7955         SYSCALL_LL to pass both offset and len arguments.
7956         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
7957         Likewise.
7958         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
7959         __libc_pwrite64 alias used by posix_fallocate64.
7961         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7962         tst-fallocate64.
7963         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7964         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7965         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7966         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7967         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7968         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7969         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7970         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7971         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7972         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7973         macro on offset argument.
7974         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7975         SYSCALL_LL64 on offset argument.
7977         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7978         tst-fallocate64.
7979         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7980         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7981         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7982         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7983         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7984         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7985         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7986         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7987         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7988         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7989         macro on offset argument.
7990         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7991         SYSCALL_LL64 on offset argument.
7992         * test-skeleton.c (FAIL_RET): Add macro.
7993         (FAIL_EXIT): Likewise.
7994         (FAIL_EXIT1): Likewise.
7995         (_FAIL): Likewise.
7997 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7999         [BZ #20629]
8000         resolv: Remove RES_USEBSTRING and its implementation.
8001         * resolv/resolv.h (RES_USEBSTRING): Remove.
8002         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8003         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8004         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8005         (labellen): Remove extended label types support.
8006         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8007         * resolv/res_init.c (res_setoptions): Likewise.
8008         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8010 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8012         resolv: Remove RES_NOIP6DOTINT and its implementation.
8013         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8014         (RES_NOIP6DOTINT): Remove.
8015         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8016         handling.
8017         * resolv/res_debug.c (p_option): Likewise.
8018         * resolv/res_init.c (res_setoptions): Likewise.
8019         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8021 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8023         resolv: Deprecate unimplemented flags.
8024         * misc/sys/cdefs.h (__glibc_macro_warning1)
8025         (__glibc_macro_warning): Define.
8026         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8027         (RES_KEEPTSIG): Mark as deprecated.
8028         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8029         RES_NOCHECKNAME, RES_KEEPTSIG.
8030         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8032 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8034         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8035         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8036         Use strong_alias to create symbols for glibc verison 2.19.
8038 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8040         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8042 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8044         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8046 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8048         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8050 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8052         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8053         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8054         in header for using it as type for ifunc function because __GI_* symbols
8055         for ppc32 do not target the ifunc symbols.
8056         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8058 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8060         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8061         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8062         libc_ifunc_hidden_def.
8063         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8064         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8065         Redirect ifunced function in header for using it as type of ifunc'ed
8066         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8067         function for __GI_* symbol.
8068         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8069         * include/libc-symbols.h
8070         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8072 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8074         [BZ #20478]
8075         * sysdeps/s390/multiarch/ifunc-resolve.h
8076         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8077         to create ifunc symbols.
8078         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8079         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8080         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8081         for using it as type for ifunc function.
8082         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8083         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8084         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8085         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8086         * sysdeps/s390/multiarch/strcat.c: Likewise.
8087         * sysdeps/s390/multiarch/strchr.c: Likewise.
8088         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8089         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8090         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8091         * sysdeps/s390/multiarch/strlen.c: Likewise.
8092         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8093         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8094         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8095         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8096         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8097         * sysdeps/s390/multiarch/strspn.c: Likewise.
8098         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8099         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8100         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8101         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8102         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8103         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8104         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8105         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8106         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8107         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8108         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8109         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8111 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8113         * include/libc-symbols.h (__ifunc_resolver):
8114         New macro is used by __ifunc* macros.
8115         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8116         depending on HAVE_GCC_IFUNC.
8117         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8118         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8120         Redirect ifunced function in header for using as type for ifunc function.
8121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8125         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8127         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8128         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8129         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8130         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8131         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8132         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8133         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8134         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8140         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8141         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8142         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8143         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8144         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8145         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8146         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8147         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8148         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8149         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8150         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8151         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8152         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8153         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8155         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8156         instead of libc_ifunc() macro.
8157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8158         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8160 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8162         * config.h.in (HAVE_GCC_IFUNC): New undef.
8163         * configure.ac: Add check if gcc supports attribute ifunc feature.
8164         * configure: Regenerated.
8165         * manual/install.texi: Add recommendation for gcc with
8166         indirect-function support.
8167         * INSTALL: Regenerated.
8169 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8171         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8172         macro.
8173         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8174         (__iseqsig): New declaration.
8175         * math/s_iseqsig_template.c: New file.
8176         * math/Versions (__iseqsigf): New libm symbol at version
8177         GLIBC_2.25.
8178         (__iseqsig): Likewise.
8179         (__iseqsigl): Likewise.
8180         * math/libm-test.inc (iseqsig_test_data): New array.
8181         (iseqsig_test): New function.
8182         (main): Call iseqsig_test.
8183         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8184         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8185         * manual/libm-err-tab.pl: Update comment on interfaces without
8186         ulps tabulated.
8187         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8188         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8189         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8190         * sysdeps/nacl/libm.abilist: Update.
8191         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8192         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8193         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8194         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8195         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8196         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8197         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8198         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8199         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8200         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8201         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8202         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8204         Likewise.
8205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8206         Likewise.
8207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8208         Likewise.
8209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8210         Likewise.
8211         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8212         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8213         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8214         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8215         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8217         Likewise.
8218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8219         Likewise.
8220         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8221         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8222         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8224 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8226         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8227         do_sincos_2, sloww, sloww1): Update comments.
8229         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8230         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8232         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8233         K boolean and rename it.
8234         (__sin): Adjust.
8235         (__cos): Adjust.
8237 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8238             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8240         * manual/nss.texi: Fix typos in the manual.
8242 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8244         * manual/contrib.texi: Fix typos in the manual.
8246         * manual/maint.texi: Fix typos in the manual.
8248         * manual/install.texi: Fix typos in the manual.
8249         * INSTALL: Regenerated.
8251         * manual/lang.texi: Fix typos in the manual.
8253         * manual/probes.texi: Fix typos in the manual.
8255         * manual/threads.texi: Fix typos in the manual.
8257         * manual/debug.texi: Fix typos in the manual.
8259         * manual/crypt.texi: Fix typos in the manual.
8261         * manual/conf.texi: Fix typos in the manual.
8263         * manual/sysinfo.texi: Fix typos in the manual.
8265         * manual/users.texi: Fix typos in the manual.
8267         * manual/job.texi: Fix typos in the manual.
8269         * manual/process.texi: Fix typos in the manual.
8271         * manual/argp.texi: Fix typos in the manual.
8272         * manual/getopt.texi: Likewise.
8273         * manual/startup.texi: Likewise.
8275         * manual/signal.texi: Fix typos in the manual.
8277         * manual/setjmp.texi: Fix typos in the manual.
8279         * manual/resource.texi: Fix typos in the manual.
8281         * manual/time.texi: Fix typos in the manual.
8283         * manual/arith.texi: Fix typos in the manual.
8285         * manual/math.texi: Fix typos in the manual.
8287         * manual/syslog.texi: Fix typos in the manual.
8289         * manual/terminal.texi: Fix typos in the manual.
8291         * manual/socket.texi: Fix typos in the manual.
8293         * manual/filesys.texi: Fix typos in the manual.
8295         * manual/llio.texi: Fix typos in the manual.
8297         * manual/stdio.text: Fix typos in the manual.
8299 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8301         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8302         instead of K1.
8304         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8305         SHIFT_QUADRANT and make it bool.
8306         (do_sincos_2): Likewise.
8307         (sloww): Likewise.
8308         (sloww1): Likewise.
8309         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8310         (__cos): Likewise.
8312 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8314         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8316 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8318         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8319         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8320         0x7fffffffL].
8321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8323 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8325         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8326         inline by __inline__.
8327         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8328         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8329         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8330         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8331         sigset_t from signal.h.
8332         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8333         which is already required.
8335 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8337         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8339 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8341         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8342         (struct tcp_repair_window): New type.
8344 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8346         * libio/tst-memstream3.c: Include string.h.
8348 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8350         [BZ #18241]
8351         [BZ #20181]
8352         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8353         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8354         write position is at the end the buffer.
8355         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8356         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8357         (_IO_str_seekoff): Set correct offset from negative displacement and
8358         set EINVAL for invalid ones.
8359         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8360         buffer length.
8361         (_IO_wstr_switch_to_get_mode): New function.
8362         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8363         set EINVAL for invalid ones.
8364         * libio/tst-memstream3.c: New file.
8365         * libio/tst-wmemstream3.c: Likewise.
8366         * manual/examples/memstrm.c: Remove warning when priting size_t.
8368 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8370         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8371         macro to use __builtin_fma.
8372         * sysdeps/x86_64/fpu/dla.h: Remove file.
8374         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8375         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8376         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8378 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8380         [BZ #20292]
8381         * elf/Makefile (routines): Add dl-addr-obj.
8382         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8383         tst-_dl_addr_inside_object.
8384         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8385         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8386         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8387         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8388         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8389         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8390         * elf/dl-open.c: Likewise.
8391         * elf/dl-addr-obj.c: New file.
8392         * elf/tst-_dl_addr_inside_object.c: New file.
8394 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8396         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8397         <bits/iscanonical.h>.
8398         * bits/iscanonical.h: New file.
8399         * math/s_iscanonicall.c: Likewise.
8400         * math/Versions (__iscanonicall): New libm symbol at version
8401         GLIBC_2.25.
8402         * math/libm-test.inc (iscanonical_test_data): New array.
8403         (iscanonical_test): New function.
8404         (main): Call iscanonical_test.
8405         * math/Makefile (headers): Add bits/iscanonical.h.
8406         (type-ldouble-routines): Add s_iscanonicall.
8407         * manual/arith.texi (Floating Point Classes): Document
8408         iscanonical.
8409         * manual/libm-err-tab.pl: Update comment on interfaces without
8410         ulps tabulated.
8411         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8412         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8413         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8414         Likewise.
8415         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8416         test-iscanonical-ldbl-128ibm.
8417         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8418         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8419         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8420         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8421         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8422         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8423         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8425         Likewise.
8426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8427         Likewise.
8428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8429         Likewise.
8430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8431         Likewise.
8432         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8433         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8435 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8437         * string/bits/string3.h: Remove C++ style comments.
8439 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8441         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8442         instead of ternary condition.
8443         (do_sincos_2): Likewise.
8444         (__sin): Likewise.
8445         (__cos): Likewise.
8446         (slow): Likewise.
8447         (sloww): Likewise.
8448         (sloww1): Likewise.
8449         (bsloww): Likewise.
8450         (bsloww1): Likewise.
8452         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8453         instead of ternary condition.
8454         (do_sin_slow): Likewise.
8455         (do_sincos_1): Likewise.
8456         (do_sincos_2): Likewise.
8457         (__cos): Likewise.
8458         (sloww): Likewise.
8459         (sloww1): Likewise.
8460         (sloww2): Likewise.
8461         (bsloww): Likewise.
8462         (bsloww1): Likewise.
8463         (bsloww2): Likewise.
8465         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8466         check from here...
8467         (slow2): ... and here...
8468         (__sin): ... to here.
8470 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8472         * math/math.h
8473         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8474         Cast argument to its own type.
8475         * math/test-iszero-excess-precision.c: New file.
8476         * math/Makefile (tests): Add test-iszero-excess-precision.
8477         (CFLAGS-test-iszero-excess-precision.c): New variable.
8479 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8481         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8482         field, add err field.
8483         (__spawni_child): Report error through err member instead of pipe.
8484         (__spawnix): Likewise.
8486 2016-09-28  Zack Weinberg  <zackw@panix.com>
8488         * scripts/check-installed-headers.sh: Generalize treatment of
8489         sys/elf.h to all target architectures.
8491         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
8492         deleted typedef ucontext_t.
8494 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8496         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
8497         (__INTERNAL_SYSCALL1): Likewise.
8498         (__INTERNAL_SYSCALL2): Likewise.
8499         (__INTERNAL_SYSCALL3): Likewise.
8500         (__INTERNAL_SYSCALL4): Likewise.
8501         (__INTERNAL_SYSCALL5): Likewise.
8502         (__INTERNAL_SYSCALL6): Likewise.
8503         (__INTERNAL_SYSCALL7): Likewise.
8504         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
8505         (__INTERNAL_SYSCALL_NARGS): Likewise.
8506         (__INTERNAL_SYSCALL_DISP): Likewise.
8507         (INTERNAL_SYSCALL_CALL): Likewise.
8508         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
8509         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
8510         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
8511         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
8512         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
8513         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
8514         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
8515         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
8516         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
8517         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
8518         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
8519         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
8520         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
8522 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
8524         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
8525         macro.
8526         * math/libm-test.inc (iszero_test_data): New array.
8527         (iszero_test): New function.
8528         (main): Call iszero_test.
8529         * manual/arith.texi (Floating Point Classes): Document iszero.
8530         * manual/libm-err-tab.pl: Update comment on interfaces without
8531         ulps tabulated.
8533 2016-09-23  Zack Weinberg  <zackw@panix.com>
8535         * scripts/check-installed-headers.sh: New script.
8536         * Rules: In each directory that defines header files to be installed,
8537         run check-installed-headers.sh on them as a special test.
8538         * Makefile: Likewise for the headers installed at top level.
8540         * include/aliases.h, include/alloca.h, include/argz.h
8541         * include/arpa/nameser.h, include/arpa/nameser_compat.h
8542         * include/elf.h, include/envz.h, include/err.h
8543         * include/execinfo.h, include/fpu_control.h, include/getopt.h
8544         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
8545         * include/link.h, include/malloc.h, include/mcheck.h
8546         * include/mntent.h, include/netinet/ether.h
8547         * include/nss.h, include/obstack.h, include/printf.h
8548         * include/pty.h, include/resolv.h, include/rpc/auth.h
8549         * include/rpc/auth_des.h, include/rpc/auth_unix.h
8550         * include/rpc/clnt.h, include/rpc/des_crypt.h
8551         * include/rpc/key_prot.h, include/rpc/netdb.h
8552         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
8553         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
8554         * include/rpc/rpc_msg.h, include/rpc/svc.h
8555         * include/rpc/svc_auth.h, include/rpc/xdr.h
8556         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
8557         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
8558         * include/rpcsvc/ypupd.h, include/shadow.h
8559         * include/stdio_ext.h, include/sys/epoll.h
8560         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
8561         * include/sys/prctl.h, include/sys/profil.h
8562         * include/sys/statfs.h, include/sys/sysctl.h
8563         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
8564         * sysdeps/arm/nacl/include/bits/setjmp.h
8565         * sysdeps/mips/include/sys/asm.h
8566         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
8567         * sysdeps/unix/sysv/linux/include/sys/timex.h
8568         * sysdeps/x86/fpu/include/bits/fenv.h:
8569         Add #ifndef _ISOMAC guard around internal declarations.
8570         Add multiple-inclusion guard if not already present.
8572 2016-09-23  Zack Weinberg  <zackw@panix.com>
8574         * sysdeps/generic/sys/ucontext.h
8575         * sysdeps/arm/sys/ucontext.h
8576         * sysdeps/i386/sys/ucontext.h
8577         * sysdeps/m68k/sys/ucontext.h
8578         * sysdeps/mips/sys/ucontext.h
8579         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
8580         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
8581         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
8582         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
8583         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
8584         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
8585         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
8586         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
8587         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
8588         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
8589         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
8590         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
8591         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
8592         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
8593         Include both bits/sigcontext.h and bits/sigstack.h.
8594         Fix grammar error in comment, if present.
8596         * bits/sigstack.h
8597         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
8598         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
8599         * sysdeps/unix/sysv/linux/bits/sigstack.h
8600         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
8601         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
8602         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
8603         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
8604         * bits/sigcontext.h
8605         * sysdeps/mach/hurd/i386/bits/sigcontext.h
8606         * sysdeps/unix/sysv/linux/bits/sigcontext.h
8607         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
8608         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
8609         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
8610         as well as signal.h, if this was not already allowed.  Request
8611         definition of size_t if necessary.  Minimize semantically-null
8612         differences across files.
8614 2016-09-23  Zack Weinberg  <zackw@panix.com>
8616         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
8617         Remove all logic conditional on __need macros.  Move all the
8618         conditionally defined types to their own headers...
8619         * time/bits/types/clock_t.h: Define clock_t here.
8620         * time/bits/types/clockid_t.h: Define clockid_t here.
8621         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
8622         * time/bits/types/struct_timespec.h: Define struct timespec here.
8623         * time/bits/types/struct_timeval.h: Define struct timeval here.
8624         * time/bits/types/struct_tm.h: Define struct tm here.
8625         * time/bits/types/time_t.h: Define time_t here.
8626         * time/bits/types/timer_t.h: Define timer_t here.
8627         * time/Makefile: Install the new headers.
8629         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
8630         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
8631         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
8632         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
8633         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
8634         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
8635         * sysdeps/unix/sysv/linux/bits/resource.h
8636         * sysdeps/unix/sysv/linux/bits/timex.h
8637         * sysdeps/unix/sysv/linux/mips/bits/resource.h
8638         * sysdeps/unix/sysv/linux/net/ppp_defs.h
8639         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
8640         * sysdeps/unix/sysv/linux/sys/acct.h
8641         * sysdeps/unix/sysv/linux/sys/timerfd.h
8642         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
8643         * time/sys/time.h, time/sys/timeb.h
8644         Use the new bits/types headers.
8646         * include/time.h: Remove __need logic.
8647         * include/bits/time.h
8648         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
8649         * include/bits/types/time_t.h, include/bits/types/timer_t.h
8650         * include/bits/types/struct_itimerspec.h
8651         * include/bits/types/struct_timespec.h
8652         * include/bits/types/struct_timeval.h
8653         * include/bits/types/struct_tm.h:
8654         New wrapper headers.
8656 2016-09-23  Zack Weinberg  <zackw@panix.com>
8658         * sysdeps/mach/hurd/net/if_ppp.h
8659         * sysdeps/unix/sysv/linux/net/if_ppp.h:
8660         Only define struct ifpppstatsreq and struct ifpppcstatsreq
8661         if __USE_MISC is defined, to ensure struct ifreq is declared.
8663         * inet/netinet/ether.h: Condition all function prototypes
8664         on __USE_MISC, to ensure struct ether_addr is declared.
8666         * socket/bits/types/struct_osockaddr.h: New header.
8667         * include/bits/types/struct_osockaddr.h: New wrapper.
8668         * socket/Makefile: Install the new header.
8669         * socket/sys/socket.h, inet/protocols/talkd.h:
8670         Refer to bits/types/struct_osockaddr.h for the definition of
8671         struct osockaddr.
8673 2016-09-23  Zack Weinberg  <zackw@panix.com>
8675         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
8676         * inet/protocols/routed.h, inet/protocols/talkd.h
8677         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
8678         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
8679         * sysdeps/generic/netinet/if_ether.h
8680         * sysdeps/generic/netinet/in_systm.h
8681         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
8682         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8683         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
8684         * sysdeps/mach/hurd/net/if_arp.h
8685         * sysdeps/mach/hurd/net/if_ppp.h
8686         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
8687         * sysdeps/unix/sysv/linux/bits/in.h
8688         * sysdeps/unix/sysv/linux/net/ethernet.h
8689         * sysdeps/unix/sysv/linux/net/if_arp.h
8690         * sysdeps/unix/sysv/linux/net/if_ppp.h
8691         * sysdeps/unix/sysv/linux/net/if_shaper.h
8692         * sysdeps/unix/sysv/linux/net/route.h
8693         * sysdeps/unix/sysv/linux/netinet/if_ether.h
8694         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8695         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8696         * sysdeps/unix/sysv/linux/netipx/ipx.h
8697         * sysdeps/unix/sysv/linux/sys/acct.h
8698         * include/arpa/nameser.h, include/resolv.h:
8699         Change all uses of u_char to unsigned char,
8700         u_short and ushort to unsigned short, u_int and uint to unsigned int,
8701         u_long and ulong to unsigned long, u_int8_t to uint8_t,
8702         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
8703         and u_int64_t and u_quad_t to uint64_t.
8705         * mach/sys/reboot.h: Remove two casts of integer literals
8706         to the types they already have.
8708         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
8709         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8710         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
8711         from referring to 'unsigned char' to 'uint8_t' for consistency with
8712         the macro definition below.
8714         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
8715         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
8716         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
8717         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
8718         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
8719         * sysdeps/unix/sysv/linux/sys/acct.h
8720         * include/arpa/nameser.h, include/resolv.h:
8721         Fix indentation disrupted by mechanical edits.
8723         * inet/protocols/talkd.h, resolv/arpa/nameser.h
8724         * sysdeps/generic/netinet/in_systm.h
8725         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8726         * sysdeps/gnu/netinet/udp.h
8727         * sysdeps/unix/sysv/linux/net/ethernet.h
8728         * sysdeps/unix/sysv/linux/net/if_arp.h
8729         * sysdeps/unix/sysv/linux/net/if_ppp.h
8730         * sysdeps/unix/sysv/linux/net/if_shaper.h
8731         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8732         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8733         * sysdeps/unix/sysv/linux/netipx/ipx.h
8734         * sysdeps/unix/sysv/linux/sys/acct.h
8735         Include stdint.h for uintNN_t definitions.
8736         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
8738 2016-09-23  Zack Weinberg  <zackw@panix.com>
8740         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
8741         * sysdeps/unix/sysv/linux/netrose/rose.h:
8742         Include sys/socket.h and netax25/ax25.h.
8744         * inet/netinet/icmp6.h, inet/netinet/ip6.h
8745         * resolv/arpa/nameser_compat.h:
8746         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
8748         * sysdeps/unix/sysv/linux/sys/quota.h:
8749         Use __caddr_t instead of caddr_t.
8750         * sysdeps/unix/sysv/linux/sys/timerfd.h:
8751         Use __clockid_t instead of clockid_t.
8753         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
8755         * argp/argp.h: Check whether _LIBC is defined before expanding it.
8756         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
8757         expanding it.
8759         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
8760         Define __glibc_c99_flexarr_available to 1 when the compiler
8761         supports C99-compatible flexible array members, 0 otherwise.
8762         * sysdeps/unix/sysv/linux/bits/socket.h
8763         * sysdeps/mach/hurd/bits/socket.h
8764         * bits/socket.h: Use __glibc_c99_flexarr_available in
8765         definitions of struct cmsghdr and CMSG_DATA.
8767 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8769         * manual/nss.texi (NSS Modules Interface): Adjust function return
8770         type to enum nss_status.  Document errnop argument.  Clarify
8771         h_errnop semantics.  Fix cross-reference formatting.
8772         (NSS Module Function Internals): Mention that *errnop needs to be
8773         set on failure, but not to zero.
8775 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8777         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8778         (get_random_name): New functions.
8779         (check_wrapper_flags_mode): Use linkat to give the new file a name
8780         determined by get_random_name.
8781         (do_test): Add calls to test open64 and openat64.
8783 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8785         * test-skeleton.c: Remove #include <stdarg.h>.
8787 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8789         [BZ #19826]
8790         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8791         initialization of static TLS entries.
8792         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8793         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8795 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8797         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8798         _hurd_malloc_fork_prepare.
8799         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8800         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8801         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8802         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8803         (_hurd_fork_child_hook): Drop malloc_fork_child.
8804         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8805         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8806         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
8807         after locking locks (notably hurd_dtable_lock). Call
8808         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
8809         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
8810         __malloc_fork_unlock_child.
8811         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
8813 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
8815         * soft-fp/extendhftf2.c: New.
8816         * soft-fp/fixhfti.c: Likewise.
8817         * soft-fp/fixunshfti.c: Likewise.
8818         * soft-fp/floattihf.c: Likewise.
8819         * soft-fp/floatuntihf.c: Likewise.
8820         * soft-fp/half.h: Likewise.
8821         * soft-fp/trunctfhf2.c: Likewise.
8823 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
8825         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
8826         macro.
8827         * math/libm-test.inc (issubnormal_test_data): New array.
8828         (issubnormal_test): New function.
8829         * manual/arith.texi (Floating Point Classes): Document
8830         issubnormal.
8831         * manual/libm-err-tab.pl: Update comment on interfaces without
8832         ulps tabulated.
8834         * sysdeps/generic/stdint.h: Define
8835         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8836         <bits/libc-header-start.h> instead of including <features.h>.
8837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
8838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
8839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
8840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
8841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
8842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
8843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
8844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
8845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
8846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
8847         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
8848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
8849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
8850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
8851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
8852         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
8853         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
8854         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
8855         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
8856         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
8857         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
8858         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
8859         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
8860         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
8861         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
8862         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
8863         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
8864         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
8865         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
8866         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
8867         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
8868         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
8869         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
8870         * manual/arith.texi (Integers): Document these macros for types
8871         specified by width properties.
8872         * manual/lang.texi (Width of Type): Document these macros for
8873         other standard typedefs.
8874         * stdlib/tst-width-stdint.c: New file.
8875         * stdlib/Makefile (tests): Add tst-width-stdint.
8877 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8879         [BZ #20016]
8880         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
8881         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
8882         Move ...
8883         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
8884         ... here, as compatibility symbols in a new file.
8885         * resolv/Makefile (libresolv-routines): Add compat-hooks.
8886         * resolv/res_init.c (__res_vinit): Adjust member names.
8887         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
8888         * resolv/resolv.h (res_sendhookact, res_send_qhook)
8889         (res_send_rhook): Remove.
8890         (struct __res_state): Rename qhook, rhook members.
8892 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8894         malloc: Use __libc_lock wrappers.
8895         * malloc/arena.c (list_lock, free_list_lock): Define using
8896         __libc_lock_define_initialized.
8897         (arena_lock): Adjust formatting.
8898         * malloc/malloc.c (struct malloc_state): Define mutex using
8899         __libc_lock_define.
8900         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
8901         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
8902         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
8903         (mutex_unlock, mutex_trylock): Remove.
8904         (__pthread_initialize): Remove unused macro.
8905         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
8906         (mutex_unlock, mutex_trylock): Remove.
8908 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8910         [BZ #20592]
8911         Remove RR type classification macros.
8912         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
8913         (ns_t_udp_p, ns_t_xfr_p): Remove.
8915 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8917         Remove misleading version information.
8918         * resolv/arpa/nameser.h (__NAMESER): Remove.
8919         * resolv/arpa/nameser_compat.h (__BIND): Remove.
8921 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8923         Remove the always-defined BIND_4_COMPAT macro.
8924         * resolv/arpa/nameser.h: Unconditionally include
8925         <arpa/nameser_compat.h>.
8926         (BIND_4_COMPAT): Remove.
8927         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
8929 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8931         [BZ #20591]
8932         Remove obsolete DNSSEC support.
8933         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
8934         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
8935         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
8936         (ns_verify_tcp, ns_verify_tcp_init): Remove.
8937         (ns_cert_types): Add comment.
8938         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
8939         separately.
8940         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
8941         (dst_s_dns_key_id): Remove.
8942         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
8943         variables.
8945 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8947         [BZ #20524]
8948         * manual/string.texi (String/Array Comparison): Clarify the
8949         strverscmp behavior.
8951 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8953         * test-skeleton.c (xasprintf): Add function.
8954         * io/tst-open-tmpfile.c: New test.
8955         * io/Makefile (tests): Add it.
8957 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8959         Avoid running $(CXX) during build to obtain header file paths.
8960         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
8961         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
8962         * Makerules (cstdlib, cmath): Remove variables.  Use
8963         $(c++-cstdlib-header), $(c++-cmath-header) instead.
8964         * configure: Regenerate.
8966 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8968         * Makeconfig (all-object-suffixes): Include .op only if
8969         $(build-profile).
8971 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8973         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
8974         conditionals.  Do not define PATH_MAX.
8976 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8978         * posix/Makefile (tests): Add tst-spawn3.
8979         * posix/tst-spawn3.c: New file.
8980         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
8981         if it is already opened for open action.
8983         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
8984         all signals when executing the clone vfork child.
8985         (SIGALL_SET): Remove macro.
8987         * nptl/Makefile (tests): Add tst-exec5.
8988         * nptl/tst-exec5.c: New file.
8989         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
8990         asynchronous cancellation.
8992 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8994         * hurd/exc2signal.c: #include <hurd/signal.h>
8995         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
8996         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
8997         accordingly.
8998         * mach/mach_error.c (mach_error): Fix old-style function definition.
8999         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9001 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9003         * math/Makefile (libm-calls): Remove s_nanF.
9004         (gen-libm-calls): Add s_nanF.
9006         * math/s_nan.c: Refactor into ...
9007         * math/s_nan_template.c: New file.
9009         * math/s_nanf.c: Removed.
9010         * math/s_nanl.c: Removed.
9011         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9012         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9014         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9015         (LDOUBLE_nanl_libm_version): New macro.
9017         * sysdeps/generic/math-type-macros-double.h:
9018         (M_STRTO_NAN): New macro.
9019         * sysdeps/generic/math-type-macros-float.h: Likewise.
9020         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9022         * sysdeps/generic/math-type-macros.h: Document
9023         M_STRTO_NAN.
9025 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9027         * math/s_nanf.c: Remove __nanf undef.
9028         * math/s_nan.c: Remove __nan undef.
9029         * math/s_nanl.c: Remove __nanl undef.
9031         * sysdeps/generic/math_private.h (__nan): Remove macro
9032         override.
9033         (__nanf): Likewise.
9034         (__nanl): Likewise.
9036 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9038         * math/Makefile (gen-all-calls): New variable.
9039         (generated): Replace gen-libm-calls with gen-all-calls.
9040         (gen-libm-templates.stmp): Likewise.  Also, ensure
9041         the output directory exists or is created and add
9042         dependency on the Makefile.
9043         (calls): Move s_ldexpF into gen-calls.
9044         (gen-calls): New variable.
9046         * math/s_ldexpf.c: Removed.
9047         * math/s_ldexpl.c: Removed.
9048         * math/s_ldexp.c: Refactored into ...
9049         * math/s_ldexp_template.c: New file.
9051         * sysdeps/generic/math-type-macros-double.h: Remove
9052         redundant fall-through definition of declare_mgen_alias.
9053         (declare_mgen_alias_2): New macro.
9055         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9056         New macro for function aliased to two exported symbols.
9058         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9059         new template file.
9060         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9062 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9064         * Makeconfig (all-object-suffixes): Remove .og.
9065         * Makerules (elide-routines.og): Remove.
9066         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9067         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9068         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9070 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9072         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9073         .os objects.
9075 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9077         [BZ #20615]
9078         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9079         fpu directory by non-fpu.
9080         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9081         on non-fpu directory from a fpu directory.
9083 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9085         * include/limits.h: Define
9086         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9087         <bits/libc-header-start.h> instead of including <features.h>.
9088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9099         * manual/lang.texi (Width of Type): Document these macros.
9100         * stdlib/tst-width.c: New file.
9101         * stdlib/Makefile (tests): Add tst-width.
9103 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9105         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9106         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9108 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9110         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9111         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9112         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9114 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9116         [BZ #18243]
9117         * rt/Makefile (test): Add tst-shm-cancel.
9118         * rt/tst-shm-cancel.c: New file.
9119         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9121         [BZ #18243]
9122         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9123         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9124         definition.
9125         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9126         uncontended case.
9127         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9128         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9129         (tf): Fix check for uncontended case.
9130         (do_test): Likewise.
9131         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9132         (tf): Fix check for uncontended case.
9133         (do_test): Likewise.
9134         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9135         (tf): Fix check for uncontended case.
9136         (do_test): Likewise.
9137         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9138         (tf): Fix check for uncontended case.
9139         (do_test): Likewise.
9141         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9142         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9144         [BZ #15765]
9145         * nptl/Makefile (tests): Add tst-sem16.
9146         * nptl/tst-sem16.c: New file.
9147         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9149         * nptl/sem_open.c (sem_open): Init pad value to 0.
9150         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9151         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9153 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9155         [BZ #20611]
9156         * inet/Makefile (routines): Add inet6_scopeid_pton.
9157         (tests): Add tst-inet6_scopeid_pton.
9158         * inet/inet6_scopeid_pton.c: New file.
9159         * inet/net-internal.h: Likewise.
9160         * inet/tst-inet6_scopeid_pton.c: New test.
9161         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9162         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9165 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9167         Remove support for compiling wrappers with PTW.
9168         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9169         * nptl/Makefile (pthread-compat-wrappers): Define.
9170         (libpthread-routines): Use pthread-compat-wrappers.
9171         * sysdeps/unix/sysv/linux/alpha/Makefile
9172         (libpthread-routines, libpthread-shared-only-routines): Remove
9173         ptw- prefix.
9174         * sysdeps/s390/nptl/Makefile
9175         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9176         * sysdeps/ia64/nptl/Makefile
9177         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9178         * sysdeps/nacl/Makefile (libpthread-routines): Use
9179         pthread-compat-wrappers to filter the routines list instead of the
9180         ptw- prefix.
9182 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9184         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9185         with L() and remove explicit suffix, convert real literals
9186         which can be equivalentally substituted with integers, and
9187         transform -L(x) to L(-x).
9189         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9190         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9191         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9192         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9193         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9194         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9195         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9196         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9197         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9198         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9199         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9200         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9201         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9202         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9203         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9204         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9205         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9206         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9207         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9208         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9209         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9210         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9211         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9212         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9213         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9214         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9215         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9216         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9217         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9218         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9219         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9220         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9221         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9222         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9223         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9224         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9225         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9226         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9227         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9228         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9229         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9230         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9231         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9232         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9233         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9234         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9235         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9236         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9237         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9238         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9240 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9242         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9244 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9246         * malloc/Makefile (tests): Remove individual static test names
9247         and just add all of tests-static.
9249         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9251 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9253         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9254         file.
9256         * sysdeps/sparc/fpu/fegetmode.c: New file.
9257         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9259         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9260         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9262         * sysdeps/s390/fpu/fegetmode.c: New file.
9263         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9265         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9266         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9267         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9268         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9269         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9270         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9272         * sysdeps/mips/fpu/fegetmode.c: New file.
9273         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9275         * sysdeps/m68k/fpu/fegetmode.c: New file.
9276         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9278         * sysdeps/ia64/fpu/fegetmode.c: New file.
9279         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9281         * sysdeps/hppa/fpu/fegetmode.c: New file.
9282         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9284         * sysdeps/arm/fegetmode.c: New file.
9285         * sysdeps/arm/fesetmode.c: Likewise.
9287         * sysdeps/alpha/fpu/fegetmode.c: New file.
9288         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9290         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9291         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9293         * math/fegetmode.c: New file.
9294         * math/fesetmode.c: Likewise.
9295         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9296         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9297         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9298         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9299         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9301         declaration.
9302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9303         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9304         typedef.
9305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9306         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9307         (femode_t): New typedef.
9308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9309         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9310         (femode_t): New typedef.
9311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9312         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9313         (femode_t): New typedef.
9314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9315         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9316         (femode_t): New typedef.
9317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9318         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9319         (femode_t): New typedef.
9320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9321         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9322         (femode_t): New typedef.
9323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9324         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9325         (femode_t): New typedef.
9326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9327         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9328         (femode_t): New typedef.
9329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9330         * sysdeps/nios2/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/powerpc/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 variable
9336         declaration.
9337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9338         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9339         (femode_t): New typedef.
9340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9341         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9342         (femode_t): New typedef.
9343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9344         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9345         (femode_t): New typedef.
9346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9347         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9348         (femode_t): New typedef.
9349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9350         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9351         (femode_t): New typedef.
9352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9353         * manual/arith.texi (FE_DFL_MODE): Document macro.
9354         (fegetmode): Document function.
9355         (fesetmode): Likewise.
9356         * math/Versions (fegetmode): New libm symbol at version
9357         GLIBC_2.25.
9358         (fesetmode): Likewise.
9359         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9360         (tests): Add test-femode and test-femode-traps.
9361         * math/test-femode-traps.c: New file.
9362         * math/test-femode.c: Likewise.
9363         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9364         alias for __fe_dfl_env.
9365         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9366         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9367         (__fe_dfl_mode): Likewise.
9368         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9369         version GLIBC_2.25.
9370         * sysdeps/nacl/libm.abilist: Update.
9371         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9372         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9373         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9374         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9375         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9376         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9377         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9378         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9379         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9380         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9381         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9382         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9384         Likewise.
9385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9386         Likewise.
9387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9388         Likewise.
9389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9390         Likewise.
9391         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9392         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9397         Likewise.
9398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9399         Likewise.
9400         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9401         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9402         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9404 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9406         [BZ #20495]
9407         [BZ #20508]
9408         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9409         processors, set Use_dl_runtime_resolve_slow and set
9410         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9411         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9412         New.
9413         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9414         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9415         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9416         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9417         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9418         if Use_dl_runtime_resolve_opt is set.  Use
9419         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9420         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9421         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9422         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9423         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9424         New.
9425         (_dl_runtime_resolve_opt): Likewise.
9426         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9427         defined.
9429 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9431         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9432         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9434 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9436         Convert malloc to __libc_lock.  Automated part, using this Perl
9437         s/// command:
9438           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9439             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9440         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9441         conversion.
9443 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9445         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9446         (linknamespace-symlists-tests): Likewise.
9447         (linknamespace-header-tests): Likewise.
9449 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9451         [BZ #19810]
9452         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9453         * elf/tst-noload.c: New test case.
9454         * elf/Makefile (tests): Add tst-noload.
9456 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9458         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9460         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9461         not any more.
9463         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9465 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9467         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9468         (do_cos_slow): Likewise.
9469         (do_sin): Likewise.
9470         (do_sin_slow): Likewise.
9471         (slow): Likewise.
9472         (slow1): Likewise.
9473         (slow2): Likewise.
9474         (sloww): Likewise.
9475         (sloww1): Likewise.
9476         (sloww2): Likewise.
9477         (bsloww): Likewise.
9478         (bsloww1): Likewise.
9479         (bsloww2): Likewise.
9480         (cslow2): Likewise.
9482         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
9484         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
9485         arguments.  Consolidate input partitioning from callers here.
9486         (do_cos_slow): Likewise.
9487         (do_sin): Likewise.
9488         (do_sin_slow): Likewise.
9489         (do_sincos_1): Remove the no longer necessary input partitioning.
9490         (do_sincos_2): Likewise.
9491         (__sin): Likewise.
9492         (__cos): Likewise.
9493         (slow1): Likewise.
9494         (slow2): Likewise.
9495         (sloww1): Likewise.
9496         (sloww2): Likewise.
9497         (bsloww1): Likewise.
9498         (bsloww2): Likewise.
9499         (cslow2): Likewise.
9501 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9503         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
9504         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
9505         outside of allocated array.
9507 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9509         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
9510         instead of MB_CUR_MAX to avoid variable-length array.
9512 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9514         * math/Makefile (libm-calls): Remove k_rem_pio2F.
9515         (type-double-routines): Add k_rem_pio2.
9516         (type-float-routines): Add k_rem_pio2f.
9518         * sysdeps/generic/math_private.h:
9519         (__kernel_rem_pio2l): Removed.
9521         * math/k_rem_pio2l.c: Removed.
9522         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
9523         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
9524         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
9525         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
9527 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9529         * math/Makefile (gen-libm-calls): Add s_fmin
9530         (libm-calls): Remove above.
9532         * math/s_fmin.c: Refactor into ...
9533         * math/s_fmin_template.c: New file.
9535         * math/s_fminf.c: Removed.
9536         * math/s_fminl.c: Removed.
9537         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9538         (LDOUBLE_fmin_libm_version): New macro.
9540         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
9541         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
9543 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9545         * math/Makefile: (gen-libm-calls): Add s_fmax.
9546         (libm-calls): Remove above.
9548         * math/s_fmax.c: Refactor into ...
9549         * math/s_fmax_template.c: New file.
9550         * math/s_fmaxf.c: Removed.
9551         * math/s_fmaxl.c: Removed.
9553         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9554         (LDOUBLE_fmaxl_libm_version): New macro.
9556         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
9557         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
9559         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
9560         s_fmin.c to pick the aarch64 version of the file.
9561         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
9562         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
9564 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9566         * math/Makefile: (gen-libm-calls): Add s_nextdown.
9567         (libm-calls): Remove above.
9569         * math/s_nextdown.c: Refactor into ...
9570         * math/s_nextdown_template.c: New file.
9571         * math/s_nextdownf.c: Removed.
9572         * math/s_nextdownl.c: Removed.
9574         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
9576 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9578         * math/Makefile (gen-libm-calls): Add s_fdim.
9579         (libm-calls): Move to above.
9581         * math/s_fdim.c: Renamed and refactored into to ...
9582         * math/s_fdim_template.c: New file.
9583         * math/s_fdiml.c: Removed.
9584         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
9585         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
9587         * sysdeps/generic/math-type-macros-double.h:
9588         (declare_mgen_alias): Don't declare if already declared.
9589         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
9590         Likewise.
9592         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9593         (declare_mgen_alias): Don't declare if already declared.
9594         (M_LIBM_NEED_COMPAT): Likewise.
9595         (declare_mgen_libm_compat): Likewise.
9596         (LDOUBLE_fdiml_libm_version): New macro.
9598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9599         Include math/s_fdim.c now that ldbl-opt version is not needed.
9600         (declare_mgen_alias): New macro to disable aliasing.
9602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
9603         (declare_mgen_alias): Likewise.
9604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
9605         (declare_mgen_alias): Likewise.
9606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
9607         (declare_mgen_alias): Likewise.
9608         (M_LIBM_NEED_COMPAT): Likewise.
9610 2016-09-01  Florian Weimer  <fweimer@redhat.com>
9612         [BZ #20525]
9613         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
9614         Include <linux/quota.h>.
9615         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
9616         and btodb.
9617         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
9618         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
9619         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
9620         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
9621         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
9622         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
9623         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
9624         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
9625         types.
9626         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
9627         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
9629 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9631         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
9632         (gammal_positive): Fix spacing.
9633         (__ieee754_gammal_r): Likewise.
9635 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9637         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
9638         (_Float128): Define as long double, always.
9639         (L): Apply long double type suffix, always.
9641         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
9642         _Float128, excepting comments.
9644         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9645         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9646         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9647         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9648         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9649         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9650         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9651         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9652         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9653         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
9654         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9655         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9656         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9657         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9659         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9660         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9661         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9662         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9663         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9664         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9665         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9666         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9667         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9668         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9669         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9670         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9671         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9672         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9673         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9674         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9675         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9676         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9677         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9678         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9679         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9680         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9681         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9682         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9683         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9684         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9685         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9686         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9687         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9688         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9689         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9690         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9691         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9692         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9693         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9694         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9695         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9696         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9697         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9698         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9699         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9700         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9702         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9703         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9704         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9705         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9706         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9707         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9708         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9709         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9710         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9711         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9713         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
9714         _Float128, and include math_private.h.
9715         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
9718         long double semantics.
9719         (_Float128): Likewise.
9720         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
9721         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9722         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9723         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9725 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9727         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
9728         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
9729         * sysdeps/s390/configure: Regenerated.
9730         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
9731         instruction for raising over-/underflow if z196 zarch is supported
9732         by default.
9733         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
9735 2016-08-30  Svante Signell  <svante.signell@gmail.com>
9737         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
9738         it point to a dumb buffer for RPC to fill it.
9740 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9742         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
9743         instead of if/else.
9744         (do_sin_slow): Likewise.
9745         (do_sincos_1): Use fabs instead of if/else.
9746         (do_sincos_2): Likewise.
9747         (__sin): Likewise.
9748         (__cos): Likewise.
9749         (slow2): Likewise.
9750         (sloww): Likewise.
9751         (sloww1): Likewise.  Drop argument M.
9752         (sloww2): Use fabs instead of if/else.
9753         (bsloww): Likewise.
9754         (bsloww1): Likewise.
9755         (bsloww2): Likewise.
9757         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
9758         fall through comment.
9759         (do_sincos_1): Likewise.
9761         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
9762         Consolidate switch cases 0 and 2.
9764 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9766         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9767         (libm-calls): Remove the above.
9769         * math/s_cexp_template.c: Update using type-generic macros.
9770         * math/s_clog10_template.c: Likewise.
9771         * math/s_cpow_template.c: Likewise.
9772         * math/s_clog_template.c: Likewise.
9773         * math/s_cproj_template.c: Likewise.
9774         * math/s_csqrt_template.c: Likewise.
9776         * math/s_cexp.c: Removed.
9777         * math/s_cexpf.c: Removed.
9778         * math/s_cexpl.c: Removed.
9779         * math/s_clog10.c: Removed.
9780         * math/s_clog10f.c: Removed.
9781         * math/s_clog10l.c: Removed.
9782         * math/s_cpow.c: Removed.
9783         * math/s_cpowf.c: Removed.
9784         * math/s_cpowl.c: Removed.
9785         * math/s_clog.c: Removed.
9786         * math/s_clogf.c: Removed.
9787         * math/s_clogl.c: Removed.
9788         * math/s_cproj.c: Removed.
9789         * math/s_cprojf.c: Removed.
9790         * math/s_cprojl.c: Removed.
9791         * math/s_csqrt.c: Removed.
9792         * math/s_csqrtf.c: Removed.
9793         * math/s_csqrtl.c: Removed.
9795         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9796         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9797         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9798         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9799         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9800         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9802         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9803         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9804         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9805         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9806         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
9807         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
9808         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
9809         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
9810         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
9811         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
9812         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
9814         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
9815         version.
9817         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
9818         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
9819         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
9820         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
9822 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9824         * s_cexp_template.c: Copy of s_cexp.c.
9825         * s_clog_template.c: Copy of s_clog.c.
9826         * s_clog10_template.c: Copy of s_clog10.c.
9827         * s_cpow_template.c: Copy of s_cpow.c.
9828         * s_cproj_template.c: Copy of s_cproj.c.
9829         * s_csqrt_template.c: Copy of s_csqrt.c.
9831 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9833         [BZ #20517]
9834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9835         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
9836         exported.
9838 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
9840         * math/fetestexceptflag.c: New file.
9841         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
9842         Stefan Liebler.
9843         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9844         (fetestexceptflag): New function declaration.
9845         * manual/arith.texi (fetestexceptflag): Document function.
9846         * math/Versions (fetestexceptflag): New libm symbol at version
9847         GLIBC_2.25.
9848         * math/Makefile (libm-support): Add fetestexceptflag.
9849         (tests): Add test-fetestexceptflag.
9850         * math/test-fetestexceptflag.c: New file.
9851         * sysdeps/nacl/libm.abilist: Update.
9852         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9853         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9854         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9855         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9856         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9857         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9858         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9859         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9860         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9861         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9862         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9863         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9865         Likewise.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9867         Likewise.
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9869         Likewise.
9870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9871         Likewise.
9872         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9873         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9874         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9875         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9876         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9878         Likewise.
9879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9880         Likewise.
9881         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9882         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9883         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9885 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9887         [BZ #20432]
9888         Avoid strong references to malloc-internal symbols when linking
9889         statically, to support statically interposed mallocs.
9890         * include/libc-symbols.h (call_function_static_weak): New macro.
9891         * malloc/Makefile (tests): Add tst-interpose-nothread,
9892         tst-interpose-thread, tst-interpose-static-nothread,
9893         tst-interpose-static-thread.
9894         (tests-static): Add tst-interpose-static-nothread,
9895         tst-interpose-static-thread.
9896         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
9897         tst-interpose-aux-thread.o.
9898         (test-extras): Add tst-interpose-aux-nothread,
9899         tst-interpose-aux-thread.
9900         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
9901         tst-interpose-aux-nothread.o.
9902         (tst-interpose-thread, tst-interpose-static-thread): Link with
9903         tst-interpose-aux-thread.o and libthread.
9904         * malloc/tst-interpose-aux-nothread.c: New file.
9905         * malloc/tst-interpose-aux-thread.c: Likewise.
9906         * malloc/tst-interpose-aux.c: Likewise.
9907         * malloc/tst-interpose-aux.h: Likewise.
9908         * malloc/tst-interpose-nothread.c: Likewise.
9909         * malloc/tst-interpose-skeleton.c: Likewise.
9910         * malloc/tst-interpose-static-nothread.c: Likewise.
9911         * malloc/tst-interpose-static-thread.c: Likewise.
9912         * malloc/tst-interpose-thread.c: Likewise.
9913         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
9914         * sysdeps/mach/hurd/fork.c (__fork): Only call
9915         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9916         __malloc_fork_unlock_child if defined.
9917         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9919 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9921         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
9922         timespec C99 designated initialization.
9924 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9926         [BZ #19946]
9927         Avoid expected SIGALRM signals.
9928         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
9929         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
9930         (xpthread_create, xpthread_detach, xpthread_join)
9931         (delayed_exit_thread, delayed_exit): New functions.
9932         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
9933         (tf): Use xpthread_cond_wait.
9934         (do_test): Likewise.  Replace alarm with delayed_exit.
9935         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9936         (do_test): Call delayed_exit.  Report failure.
9937         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9938         (do_test): Call delayed_exit.
9939         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9940         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
9941         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9942         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
9943         error.
9944         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9945         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
9946         error.
9947         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
9948         (do_test): Call delayed_exit.
9949         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
9950         (do_test): Call delayed_exit.
9951         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
9952         (do_test): Call delayed_exit instead of alarm.  Use
9953         xpthread_mutex_lock.
9954         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
9955         (do_test): Call delayed_exit instead of alarm.  Use
9956         xpthread_mutex_lock.
9957         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
9958         (do_test): Call delayed_exit instead of alarm.
9959         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
9960         (do_test): Call delayed_exit instead of alarm.  Use
9961         xpthread_spin_lock.
9962         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
9963         (do_test): Call delayed_exit instead of alarm.  Use
9964         xpthread_join.
9966 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9968         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
9969         adjust CFA when allocating register save area on re-aligned
9970         stack.
9972 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9974         * string/tst-cmp.c: New test.
9975         * string/Makefile (tests): Add it.
9977 2016-08-25  Mark Wielaard  <mark@klomp.org>
9979         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
9980         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
9981         (check_tree_recurse): Use newly defined accessors.
9982         (check_tree): Likewise.
9983         (maybe_split_for_insert): Likewise.
9984         (__tfind): Likewise.
9985         (__tdelete): Likewise.
9986         (trecurse): Likewise.
9987         (tdestroy_recurse): Likewise.
9988         (__tsearch): Likewise. And add asserts for malloc alignment.
9989         (__twalk): Cast root to node in case CHECK_TREE is defined.
9991 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9993         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
9995 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9997         * math/Makefile (libm-gen-calls): Add
9998         catan, catanh, ctan, ctanh.
9999         (libm-calls): Remove the above.
10001         * math/s_catan_template.c: Update using type-generic macros.
10002         * math/s_catanh_template.c: Likewise.
10003         * math/s_ctan_template.c: Likewise.
10004         * math/s_ctanh_template.c: Likewise.
10006         * math/s_catanf.c: Removed.
10007         * math/s_catan.c: Removed.
10008         * math/s_catanl.c: Removed.
10009         * math/s_catanhf.c: Removed.
10010         * math/s_catanh.c: Removed.
10011         * math/s_catanhl.c: Removed.
10012         * math/s_ctanf.c: Removed.
10013         * math/s_ctan.c: Removed.
10014         * math/s_ctanl.c: Removed.
10015         * math/s_ctanhf.c: Removed.
10016         * math/s_ctanh.c: Removed.
10017         * math/s_ctanhl.c: Removed.
10019         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10020         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10021         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10022         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10023         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10024         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10026         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10027         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10028         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10029         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10031 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10033         * s_catan_template.c: Copy of s_catan.c.
10034         * s_catanh_template.c: Copy of s_catanh.c.
10035         * s_ctan_template.c: Copy of s_ctan.c.
10036         * s_ctanh_template.c: Copy of s_ctanh.c.
10038 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10040         * math/Makefile (gen-libm-calls): Move
10041         casin, casinh, csin, csinh here.
10042         (libm-calls): Remove the above.
10044         * math/s_casin_template.c: Update using type-generic macros.
10045         * math/s_casinh_template.c: Likewise.
10046         * math/s_csin_template.c: Likewise.
10047         * math/s_csinh_template.c: Likewise.
10048         * math/k_casinh_template.c: Likewise.
10050         * math/s_casinf.c: Removed.
10051         * math/s_casin.c: Removed.
10052         * math/s_casinl.c: Removed.
10053         * math/s_casinh.c: Removed.
10054         * math/s_casinhf.c: Removed.
10055         * math/s_casinhl.c: Removed.
10056         * math/s_csin.c: Removed.
10057         * math/s_csinf.c: Removed.
10058         * math/s_csinl.c: Removed.
10059         * math/s_csinh.c: Removed.
10060         * math/s_csinhf.c: Removed.
10061         * math/s_csinhl.c: Removed.
10062         * math/k_casinh.c: Removed.
10063         * math/k_casinhf.c: Removed.
10064         * math/k_casinhl.c: Removed.
10066         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10067         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10068         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10069         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10071         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10072         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10073         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10074         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10075         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10076         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10077         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10078         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10080         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10081         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10082         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10083         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10085         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10086         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10087         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10088         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10090 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10092         * s_casin_template.c: Copy of s_casin.c.
10093         * s_casinh_template.c: Copy of s_casinh.c.
10094         * s_csin_template.c: Copy of s_csin.c.
10095         * s_csinh_template.c: Copy of s_csinh.c.
10096         * k_casinh_template.c: Copy of k_casinh.c.
10098 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10100         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10102 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10104         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10105         (mul_split) Remove, rename as mul_splitl, remove
10106         redundant float.h include, and include via mul_splitl.h
10108         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10109         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10110         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10111         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10112         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10114         * math/mul_splitl.h: New file.
10116         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10117         Move into mul_split.h, and remove redundant float.h include.
10119         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10120         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10121         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10122         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10124         * math/mul_split.h: New file.
10126 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10128         * math/Makefile (libm-gen-calls): Move
10129         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10130         (libm-calls): Remove above.
10132         * math/s_cacos_template.c: Update using type-generic macros.
10133         * math/s_cacosh_template.c: Likewise.
10134         * math/s_ccos_template.c: Likewise.
10135         * math/s_ccosh_template.c: Likewise.
10137         * math/s_cacosf.c: Removed.
10138         * math/s_cacos.c: Removed.
10139         * math/s_cacosl.c: Removed.
10140         * math/s_cacoshf.c: Removed.
10141         * math/s_cacosh.c: Removed.
10142         * math/s_cacoshl.c: Removed.
10143         * math/s_ccosf.c: Removed.
10144         * math/s_ccos.c: Removed.
10145         * math/s_ccosl.c: Removed.
10146         * math/s_ccoshf.c: Removed.
10147         * math/s_ccosh.c: Removed.
10148         * math/s_ccoshl.c: Removed.
10150         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10151         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10152         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10153         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10154         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10155         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10157         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10158         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10159         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10160         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10162         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10163         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10164         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10165         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10167 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10169         * s_cacos_template.c: Copy of s_cacos.c.
10170         * s_cacosh_template.c: Copy of s_cacosh.c.
10171         * s_ccos_template.c: Copy of s_ccos.c.
10172         * s_ccosh_template.c: Copy of s_ccosh.c.
10174 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10176         * stdlib/tst-strtod-round-skeleton.c:
10177         Refactored from tst-strtod-round.c.
10179         (L_): New macro to apply literal modifier.
10180         (FNPFX): New macro to select str or wcs prefix.
10181         (CHAR): New macro to choose wchar_t or char.
10182         (STRM): New macro to choose printf for tested character type.
10184         (STRTO): New macro to choose appropriate string -> real function.
10185         (FNPFXS): Stringitized version of FNPFX.
10186         (STR): Support for above macro.
10187         (STRX): Likewise.
10189         (TEST): Update with above macros.
10190         (test): Likewise.
10191         (GEN_ONE_TEST): Likewise.
10192         (test_in_one_mode): Likewise.
10194         * stdlib/tst-strtod-round.c: New file.
10195         * wcsmbs/tst-wcstod-round.c: New file.
10197         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10198         (tst-wcstod-round): Add libm depencency for fesetround.
10200 2016-08-19  Zack Weinberg  <zackw@panix.com>
10202         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10204 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10206         [BZ #20477]
10207         * resolv/res_hconf.c (do_init): Use atomic access.
10208         * resolv/res_hconf.h: Add comments.
10209         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10210         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10213 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10216         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10217         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10218         Likewise.
10220 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10222         [BZ #16907]
10223         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10224         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10225         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10226         (__attribute__): Remove definition.
10228 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10230         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10231         Remove unused sqrtl declaration.
10233 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10235         * math/Makefile: (gen-libm-templates.stmp): New rule.
10236         (libm-calls): Move carg conj cimag and cabs into ...
10237         (gen-libm-calls): New variable.
10238         (generated): Inform Make objects from gen-libm-calls
10239         may be generated.
10241         * sysdeps/generic/math-type-macros.h: New file.
10242         * sysdeps/generic/math-type-macros-float.h: Likewise.
10243         * sysdeps/generic/math-type-macros-double.h: Likewise.
10244         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10245         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10246         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10248         * math/cabs.c: Refactor into
10249         * math/cabs_template.c: new file.
10250         * math/cabsf.c: Removed.
10251         * math/cabsl.c: Removed.
10252         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10253         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10255         * math/carg.c: Refactor into
10256         * math/carg_template.c: new file.
10257         * math/cargf.c: Removed.
10258         * math/cargl.c: Removed.
10259         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10260         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10262         * math/conj.c: Refactor into
10263         * math/conj_template.c: new file.
10264         * math/conjf.c: Removed.
10265         * math/conjl.c: Removed.
10266         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10267         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10269         * math/cimag.c: Refactor into
10270         * math/cimag_template.c: new file.
10271         * math/cimagf.c: Removed.
10272         * math/cimagl.c: Removed.
10273         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10274         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10276         * math/cimag.c: Refactor into
10277         * math/cimag_template.c: new file.
10278         * math/cimagf.c: Removed.
10279         * math/cimagl.c: Removed.
10280         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10281         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10283 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10285         Reduce time to expected nptl/tst-once5 failure.
10286         * nptl/tst-once5.cc (TIMEOUT): Define.
10288 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10290         [BZ #20452]
10291         Avoid additional copies of objects in libc.a in static libraries.
10292         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10293         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10294         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10295         rt-sysdep.
10296         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10297         Add nptl-sysdep.
10298         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10299         Add ptw-sysdep.
10300         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10301         rt-sysdep.
10302         * sysdeps/unix/sysv/linux/alpha/Makefile
10303         (libpthread-shared-only-routines): Add ptw-sysdep,
10304         ptw-sigprocmask, ptw-rt_sigaction.
10305         * sysdeps/unix/sysv/linux/ia64/Makefile
10306         (librt-shared-only-routines): Add rt-sysdep.
10307         * sysdeps/unix/sysv/linux/i386/Makefile
10308         (libpthread-shared-only-routines): Add libc-do-syscall.
10309         * sysdeps/unix/sysv/linux/microblaze/Makefile
10310         (libpthread-shared-only-routines): Add sysdep.
10311         * sysdeps/unix/sysv/linux/powerpc/Makefile
10312         (librt-shared-only-routines): Add rt-sysdep.
10313         (libpthread-shared-only-routines): Add sysdep.
10314         * sysdeps/unix/sysv/linux/s390/Makefile
10315         (librt-shared-only-routines): Add rt-sysdep.
10316         * sysdeps/unix/sysv/linux/sparc/Makefile
10317         (librt-shared-only-routines): Add rt-sysdep.
10318         (libpthread-shared-only-routines): Add sysdep.
10319         * sysdeps/unix/sysv/linux/tile/Makefile
10320         (libpthread-shared-only-routines): Likewise.
10322 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10324         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10325         Mask implicit bit out of unpacked value.
10326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10330         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10332         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10334         * sysdeps/s390/fpu/fesetexcept.c: New file.
10336         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10337         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10338         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10340         * sysdeps/mips/fpu/fesetexcept.c: New file.
10342         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10344         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10346         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10348         * sysdeps/arm/fesetexcept.c: New file.
10350         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10352         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10354         * math/fesetexcept.c: New file.
10355         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10356         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10357         * math/fenv.h: Define
10358         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10359         <bits/libc-header-start.h> instead of including <features.h>.
10360         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10361         declaration.
10362         * manual/arith.texi (fesetexcept): Document function.
10363         * math/Versions (fesetexcept): New libm symbol at version
10364         GLIBC_2.25.
10365         * math/Makefile (libm-support): Add fesetexcept.
10366         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10367         * math/test-fesetexcept.c: New file.
10368         * math/test-fesetexcept-traps.c: Likewise.
10369         * sysdeps/nacl/libm.abilist: Update.
10370         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10371         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10372         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10373         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10374         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10375         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10376         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10377         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10378         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10379         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10380         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10381         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10383         Likewise.
10384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10385         Likewise.
10386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10387         Likewise.
10388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10389         Likewise.
10390         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10391         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10392         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10393         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10394         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10398         Likewise.
10399         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10400         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10401         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10403 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10405         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10406         New.
10407         (do_test): Apply default_stack_size_in_mb if not set.
10408         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10410 2016-08-15  Andreas Schwab  <schwab@suse.de>
10412         [BZ #20435]
10413         CVE-2016-6323
10414         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10415         as .cantunwind.
10417 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10419         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10420         comment from fraiseexcpt.c.
10422         * math/test-fexcept.c (feraiseexcept_exact): New function.
10423         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10424         (test_except): Likewise.
10426 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10428         [BZ #20455]
10429         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10430         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10431         to be restored.
10433         * math/test-fexcept-traps.c: New file.
10434         * math/test-fexcept.c: Likewise.
10435         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10436         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10437         macro.
10438         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10439         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10441 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10443         * include/atomic.h (atomic_fetch_and_relaxed,
10444         atomic_fetch_and_release, atomic_fetch_or_release,
10445         atomic_fetch_xor_release): New.
10447 2016-08-06  Christian Seiler  <christian@iwakd.de>
10449         [BZ #20444]
10450         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10451         MACH_PORT_NULL.
10453 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10455         * math/s_fdim.c: Avoid alias renamed.
10456         * math/s_fdimf.c: Likewise.
10457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10458         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10459         Add s_fdimf-vis3, s_fdim-vis3.
10460         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10461         (CFLAGS-s_fdim-vis3.c): Likewise.
10462         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10463         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10465 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10468         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10469         Remove s_fdimf-vis3, s_fdim-vis3.
10470         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10471         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10478         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10479         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10481 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10483         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
10484         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
10485         -Wa,-Av9a -mvis.
10487 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10489         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
10490         LIT() to individual constants in simple expressions
10491         after splitting on spaces.
10492         (_apply_lit): Rename replaced version, and use it to
10493         apply to what appears to be a token.
10495         * math/libm-test.inc: Fix many, many issues with
10496         spacing.
10498 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
10500         * math/math.h: Move comment about <bits/mathdef.h> definitions
10501         above inclusion of <bits/mathdef.h>.  Do not mention
10502         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
10504 2016-08-05  Torvald Riegel  <triegel@redhat.com>
10506         * include/atomic.h (atomic_exchange_relaxed): New.
10508 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
10510         * math/e_scalb.c: Do not include <fenv.h>.
10511         (invalid_fn): Do calculation resulting in NaN instead of raising
10512         FE_INVALID and returning a NaN explicitly.
10513         * math/e_scalbf.c: Do not include <fenv.h>.
10514         (invalid_fn): Do calculation resulting in NaN instead of raising
10515         FE_INVALID and returning a NaN explicitly.
10516         * math/e_scalbl.c: Do not include <fenv.h>.
10517         (invalid_fn): Do calculation resulting in NaN instead of raising
10518         FE_INVALID and returning a NaN explicitly.
10520 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
10522         * po/de.po: Updated from Translation Project.
10523         * po/fi.po: Likewise.
10524         * po/sv.po: Likewise.
10526 2016-08-04  Florian Weimer  <fweimer@redhat.com>
10528         [BZ #20452]
10529         Use sysdep.o from libc.a in static libraries.
10530         * sysdeps/unix/sysv/linux/i386/Makefile
10531         (libpthread-shared-only-routines): Add sysdep.
10532         (librt-shared-only-routines): Likewise.
10534 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10536         * math/tgmath.h (nextdown): Define if
10537         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
10538         (nextup): Likewise.
10540         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
10541         macro.
10542         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10543         Document.
10544         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10545         Document macro.
10546         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
10547         (exp10f): Likewise.
10548         (exp10l): Likewise.
10549         * math/bits/mathcalls.h (exp10): Declare if
10550         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10552         * manual/arith.texi (nextup): Fix typo in last change.
10554 2016-08-03  Zack Weinberg  <zackw@panix.com>
10556         [BZ #19239]
10557         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
10558         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
10559         define major, minor, and makedev to issue deprecation warnings on use.
10560         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
10561         previously-activated deprecation warnings for these macros and prevent
10562         subsequent inclusions of this header from having any effect.
10563         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
10564         including <sys/sysmacros.h>, and undefine it again afterward.
10566 2016-08-03  Zack Weinberg  <zackw@panix.com>
10568         * sysdeps/generic/sys/sysmacros.h: Delete file.
10569         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
10570         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
10571         * bits/sysmacros.h: ... here; this encoding is now the generic
10572         encoding.  Now defines only the following macros:
10573         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
10574         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
10575         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
10577         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
10578         bits/sysmacros.h and the above new macros to generate the
10579         public implementations of major, minor, and makedev.
10580         * misc/tst-makedev.c: New test.
10581         * include/sys/sysmacros.h: New wrapper.
10583         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
10584         (routines): Add makedev.
10585         (tests): Add tst-makedev.
10586         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
10587         gnu_dev_makedev.
10588         * posix/Makefile (headers): Remove sys/sysmacros.h.
10589         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
10591         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
10592         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
10593         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10594         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10595         * sysdeps/unix/sysv/linux/arm/libc.abilist
10596         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10597         * sysdeps/unix/sysv/linux/i386/libc.abilist
10598         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10599         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10600         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10601         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10602         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10603         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10604         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10605         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10606         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10611         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10612         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10613         * sysdeps/unix/sysv/linux/sh/libc.abilist
10614         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10615         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10618         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10619         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10620         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10621         Add GLIBC_2.25.
10623         * include/features.h (__glibc_clang_prereq): New macro.
10624         * misc/sys/cdefs.h (__glibc_clang_has_extension)
10625         (__attribute_deprecated_msg__): New macros.
10627 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10629         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
10630         macro.
10631         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
10632         * manual/arith.texi (issignaling): Document as ISO from TS
10633         18661-1:2014.
10634         (nextup): Likewise.
10635         (nextupf): Likewise.
10636         (nextupl): Likewise.
10637         (nextdown): Likewise.
10638         (nextdownf): Likewise.
10639         (nextdownl): Likewise.
10640         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
10641         macro.
10642         * math/math.h: Define
10643         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10644         <bits/libc-header-start.h> instead of including <features.h>.
10645         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
10646         [__USE_GNU].
10647         * math/bits/mathcalls.h (nextdown): Declare if
10648         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
10649         (nextup): Likewise.
10650         (__issignaling): Likewise.
10652 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10654         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
10655         check, and remove __glibc_likely hint
10656         from FP_INFINITE check.
10657         * s_csinhf.c (__csinhf): Likewise.
10659         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
10660         hint from FP_INFINITE check.
10661         * s_csinhl.c (__csinhl): Likewise.
10663 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10665         * math/Makefile (libm-calls): Insert F placeholder into
10666         object names.  Move w_lgamma_compat* routines into
10667         (libm-compat-calls): New variable.
10668         (libm-compat-calls-ldouble-yes): New variable.
10669         (calls): Insert F placeholder.
10670         (generated): Redefine using new type-foreach macro call.
10671         (routines): Likewise.
10673         (types): New variable to hold a list of symbolic names
10674         for each type supported by the target machine.
10675         (libm-routines): Redefine using new types variable.
10676         (type-foreach): macro to replace fooF with the
10677         appropriately suffixed foo for each types.
10679         (type-ldouble-suffix): New variable.
10680         (type-ldouble-routines): Likewise.
10681         (type-ldouble-yes): Likewise.
10682         (type-double-suffix): Likewise.
10683         (type-double-routines): Likewise.
10684         (type-float-suffix): Likewise.
10685         (type-float-routines): Likewise.
10687         (dbl-only-routines): Remove.
10688         (long-c-yes): Likewise.
10689         (long-m-routines): Likewise.
10690         (long-m-support): Likewise.
10691         (long-m-yes): Likewise.
10692         (test-longdouble-yes): Likewise.
10694         (test-float.o): Simplify by increasing the scope of the
10695         recipe which adds libm-test.stmp to the vector types.
10696         (test-ifloat.o): Likewise.
10697         (test-float-finite.o): Likewise.
10698         (test-double.o): Likewise
10699         (test-idouble.o): Likewise.
10700         (test-double-finite.o): Likewise.
10701         (test-ldouble.o): Likewise
10702         (test-ildoubl.o): Likewise.
10703         (test-ldouble-finite.o): Likewise.
10705         (libm-tests): Redefine type tests using foreach and the
10706         list of types in types.
10708         (CPPFLAGS-test-ildoubl.c): Rename to
10709         (CPPFLAGS-test-ildouble.c): New variable
10711         * math/test-ildoubl.c: Rename to
10712         * math/test-ildouble.c: New file.
10714 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10716         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
10717         Use fabsl instead of fabs.
10718         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
10719         Likewise.
10720         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
10721         Add long double suffix to constant to ensure proper
10722         promotion to long double.
10724 2016-08-03  Tom Tromey  <tom@tromey.com>
10726         [BZ #20311]
10727         * nptl_db/Makefile (headers): Add proc_service.h.
10728         * nptl_db/proc_service.h: Add include guard.  Use
10729         __BEGIN/__END_DECLS.
10730         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
10731         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
10732         arguments.
10735 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10737         [BZ #17730]
10738         Avoid using memalign for TCB allocations.
10739         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
10740         (_dl_allocate_tls_storage): Use malloc and manual alignment.
10741         Avoid alignment gap in the TLS_DTV_AT_TP case.
10742         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
10743         determine the pointer to free.
10744         * nptl/tst-tls3-malloc.c: New test.
10745         * nptl/Makefile (tests): Add it.
10746         (tst-tls3-malloc): Link with libdl, libpthread.
10747         (LDFLAGS-tst-tls3-malloc): Set.
10748         (tst-tls3-malloc.out): Depend on DSO used in test.
10750 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10752         [BZ #17730]
10753         Avoid using memalign for TLS allocations.
10754         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
10755         is_static member with to_free member.
10756         (union dtv): Use struct dtv_pointer.
10757         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
10758         dtv_pointer instead of is_static.
10759         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
10760         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
10761         instead of val.
10762         (allocate_dtv_entry): New function.
10763         (allocate_and_init): Return struct dtv_pointer.  Call
10764         allocate_dtv_entry instead of __libc_memalign.
10765         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10766         instead of val.
10767         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10768         instead of is_static.  Adjust call to allocate_and_init.
10769         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10770         struct dtv_pointer instead of val.
10772 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10774         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10775         (MALLOC_ALIGN_MASK): Move ...
10776         * malloc/malloc-internal.h: ... to here.
10777         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10779 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10781         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10782         (UDP_ENCAP_GTP1U): Likewise.
10784         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10785         (PF_MAX): Update value.
10786         (AF_QIPCRTR): New macro.
10788 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10790         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10791         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10792         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10794         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10795         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10796         s_truncf-vis3, s_trunc-vis3.
10797         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10798         (CFLAGS-s_ceil-vis3.c): Likewise.
10799         (CFLAGS-s_floorf-vis3.c): Likewise.
10800         (CFLAGS-s_floor-vis3.c): Likewise.
10801         (CFLAGS-s_truncf-vis3.c): Likewise.
10802         (CFLAGS-s_trunc-vis3.c): Likewise.
10803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10805         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
10808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
10810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10811         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
10812         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10813         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
10814         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10816 2016-08-02  David S. Miller  <davem@davemloft.net>
10818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10819         (__nearbyint_vis3): Don't check for sNaN before float register is
10820         loaded with the incoming argument.
10821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10822         (__nearbyintf_vis3): Likewise.
10823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
10824         Likewise.
10825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
10826         Likewise.
10828         * string/test-strncmp.c (do_test_limit): Make sure the test data
10829         stream is aligned as required for the type "CHAR".
10830         (do_test): Likewise.
10832 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10834         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
10835         by beq instructions jumping to the end of the function.
10836         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
10837         clobber list. Use "i" constraint instead of "X".
10838         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
10839         of "X".
10841 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
10843         * bits/libc-header-start.h: New file.
10844         * Makefile (headers): Add bits/libc-header-start.h.
10845         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
10846         (__GLIBC_USE): New macro.
10847         * libio/stdio.h: Define
10848         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10849         <bits/libc-header-start.h> instead of including <features.h>.
10850         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
10851         (open_memstream): Likewise.
10852         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
10853         (__asprintf): Likewise.
10854         (asprintf): Likewise.
10855         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
10856         (getdelim): Likewise.
10857         (getline): Likewise.
10858         * string/string.h: Define
10859         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10860         <bits/libc-header-start.h> instead of including <features.h>.
10861         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
10862         (strndup): Likewise.
10863         * wcsmbs/wchar.h: Define
10864         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10865         <bits/libc-header-start.h> instead of including <features.h>.
10866         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
10867         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
10869 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10871         Support linking against compatibility symbols, for use in tests.
10872         * include/libc-symbols.h (symbol_version_reference): New macro.
10873         (symbol_version): Use it.
10874         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
10875         (compat_symbol): Use compat_symbol_reference.
10876         (compat_symbol_1, compat_symbol_2): Remove.
10877         (compat_symbol_reference, compat_symbol_reference_1)
10878         (compat_symbol_reference_2): New macro.  Use
10879         symbol_version_reference.
10881 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10883         [BZ #19469]
10884         * malloc/Makefile (CPPFLAGS): Compile tests with
10885         -DTEST_NO_MALLOPT.
10886         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
10888 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
10890         [BZ #20033]
10891         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
10892         finite version.
10893         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
10894         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
10895         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
10896         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
10897         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
10898         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
10899         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
10900         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
10901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
10902         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
10903         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
10904         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
10905         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
10906         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
10907         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
10908         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
10909         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
10910         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
10911         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
10912         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
10913         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
10914         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
10915         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
10916         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
10917         in zero power.
10919 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10921         [BZ #20370]
10922         * malloc/arena.c (get_free_list): Update comment.  Assert that
10923         arenas on the free list have no attached threads.
10924         (remove_from_free_list): New function.
10925         (reused_arena): Call it.
10927 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
10929         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
10930         when it is a NaN.
10931         [_IEEE_FP_INEXACT] Remove.
10932         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
10933         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
10934         when it is a NaN.
10935         [_IEEE_FP_INEXACT] Remove.
10936         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
10937         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
10938         when it is a NaN.
10939         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
10940         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
10941         when its absolute value is greater than 0x1.0p52.
10942         [_IEEE_FP_INEXACT] Remove.
10943         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
10944         when its absolute value is greater than 0x1.0p23.
10945         [_IEEE_FP_INEXACT] Remove.
10947 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
10949         * version.h (RELEASE): Set to "development"
10950         (VERSION): Set to 2.24.90.
10951         * NEWS: Add 2.25 section.
10953         * version.h (RELEASE): Set to "stable"
10954         (VERSION): Set to 2.24.
10955         * include/features.h (__GLIBC_MINOR__): Set to 24.
10957         * NEWS: Add 2.24 fixed bugs.
10958         * po/libc.pot: Regenerate.
10960 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
10962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10963         [$(subdir) = math] (libm-sysdep_routines): Remove.
10964         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10965         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10966         s_truncf-vis3, s_trunc-vis3.
10967         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
10969         file.
10970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
10971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
10972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
10976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
10977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
10979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
10980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
10981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
10982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
10983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
10984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
10985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
10989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
10990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
10991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
10992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
10998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10999         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11003         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11004         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11005         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11006         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11007         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11008         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11009         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11010         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11011         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11012         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11014 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11016         [BZ #20384]
11017         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11018         test-double-libmvec-sincos-avx-main.o,
11019         test-double-libmvec-sincos-avx2-main.o,
11020         test-double-libmvec-sincos-main.o,
11021         test-float-libmvec-sincosf-avx-main.o,
11022         test-float-libmvec-sincosf-avx2-main.o and
11023         test-float-libmvec-sincosf-main.o.
11024         test-float-libmvec-sincosf-avx512-main.o.
11025         ($(objpfx)test-double-libmvec-sincos): Also link with
11026         $(objpfx)test-double-libmvec-sincos-main.o.
11027         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11028         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11029         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11030         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11031         ($(objpfx)test-float-libmvec-sincosf): Also link with
11032         $(objpfx)test-float-libmvec-sincosf-main.o.
11033         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11034         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11035         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11036         test-double-libmvec-sincos-avx512-main.o and
11037         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11038         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11039         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11040         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11041         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11042         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11043         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11044         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11045         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11046         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11047         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11048         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11049         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11050         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11051         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11052         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11053         -DREQUIRE_AVX2.
11054         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11055         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11056         -DREQUIRE_AVX512F.
11057         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11058         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11059         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11060         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11061         file.
11062         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11063         Likewise.
11064         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11065         Likewise.
11066         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11067         Likewise.
11068         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11069         Likewise.
11070         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11071         Likewise.
11072         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11073         Likewise.
11074         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11075         Likewise.
11077 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11079         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11081 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11083         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11084         and typo in a comment about AT_HWCAP entry.
11086 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11088         * sysdeps/aarch64/libm-test-ulps: Updated.
11090 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11092         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11093         of r13 as it is not restored in mvcle case.
11095 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11097         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11098         Rename "ret" to "__ret".
11099         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11100         inline_syscall5, inline_syscall6): Likewise.
11102 2016-07-19   Will Newton  <will.newton@gmail.com>
11104         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11105         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11106         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11107         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11108         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11110 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11112         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11113         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11114         -mfpmath=387 with $(rtld-CFLAGS).
11115         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11116         $(rtld-CFLAGS).
11118 2016-07-18   Ross Burton  <ross.burton@intel.com>
11119              Khem Raj  <raj.khem@gmail.com>
11121         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11122         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11123         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11124         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11125         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11126         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11127         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11128         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11129         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11130         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11131         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11132         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11133         R_METAG_TLS_DTPOFF): New.
11135 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11136             Matt Clay  <mclay@lycos.com>
11138         [BZ #20357]
11139         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11140         to call __mpsin/__mpcos and to negate values.
11141         * math/auto-libm-test-in: Add test.
11142         * math/auto-libm-test-out: Regenerate.
11144 2016-07-18  Zack Weinberg  <zackw@panix.com>
11146         * grp/Makefile: Don't install the internal header grp-merge.h.
11148 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11150         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11152 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11154         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11156 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11158         [BZ #15368]
11159         * sysdeps/unix/sysv/linux/nptl-signals.h
11160         (__nptl_clear_internal_signals): New function.
11161         (__libc_signal_block_all): Likewise.
11162         (__libc_signal_block_app): Likewise.
11163         (__libc_signal_restore_set): Likewise.
11164         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11165         implementation.
11166         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11167         the cached pid/tid value in pthread structure.
11169 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11171         [BZ #20347]
11172         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11174 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11176         [BZ #20348]
11177         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11178         preadv64, pwrite64 and pwritev64.
11180 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11182         [BZ #20350]
11183         * posix/tst-preadwrite.c: Renamed to ...
11184         * posix/tst-preadwrite-common.c: This.
11185         (PREAD): Removed.
11186         (PWRITE): Likewise.
11187         (STRINGIFY): Likewise.
11188         (STRINGIFY2): Likewise.
11189         (do_prepare): Make it static and remove function arguments.
11190         (do_test): Likewise.
11191         (PREPARE): Updated.
11192         (TEST_FUNCTION): New.
11193         (name): Make it static.
11194         (fd): Likewise.
11195         (do_prepare): Use create_temp_file.
11196         (do_test): Renamed to ...
11197         (do_test_with_offset): This.  Make it static and accept offset.
11198         Properly check return value of PWRITE and PREAD.  Return bytes
11199         read.  Don't close fd nor unlink name.
11200         * posix/tst-preadwrite.c: Rewrite.
11201         * posix/tst-preadwrite64.c: Likewise.
11203 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11205         [BZ #20309]
11206         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11207         -mtls-dialect=gnu2 works.
11208         * configure: Regenerated.
11209         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11210         (tests): Add tst-gnu2-tls1.
11211         (modules-names): Add tst-gnu2-tls1mod.
11212         ($(objpfx)tst-gnu2-tls1): New.
11213         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11214         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11215         * elf/tst-gnu2-tls1.c: New file.
11216         * elf/tst-gnu2-tls1mod.c: Likewise.
11217         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11218         bytes for push in the PLT entry to align the stack.
11220 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11222         [BZ #20349]
11223         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11225 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11227         [BZ #18707]
11228         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11229         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11231 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11233         * sysdeps/unix/sysv/linux/sysdep.h
11234         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11235         guards.
11236         * misc/tst-preadvwritev-common.c: New file.
11237         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11238         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11239         a check for files larger than 2GB.
11241         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11242         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11243         * sysdeps/unix/sysv/linux/pread.c
11244         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11245         __OFF_T_MATCHES_OFF64_T.
11246         * sysdeps/unix/sysv/linux/pread64.c
11247         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11248         * sysdeps/unix/sysv/linux/preadv.c
11249         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11250         * sysdeps/unix/sysv/linux/preadv64.c
11251         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11252         * sysdeps/unix/sysv/linux/pwrite.c
11253         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11254         * sysdeps/unix/sysv/linux/pwrite64.c
11255         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11256         * sysdeps/unix/sysv/linux/pwritev.c
11257         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11258         * sysdeps/unix/sysv/linux/pwritev64.c
11259         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11261 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11263         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11264         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11266 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11268         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11270 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11272         [BZ #20240]
11273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11274         (CFLAGS-s_modf-ppc32.c): New variable.
11275         (CFLAGS-s_modff-ppc32.c): Likewise.
11276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11277         (CFLAGS-s_modf-ppc64.c): Likewise.
11278         (CFLAGS-s_modff-ppc64.c): Likewise.
11280 2016-07-07  Andreas Schwab  <schwab@suse.de>
11282         [BZ #20263]
11283         * nptl/tst-robust10.c: New test.
11284         * nptl/Makefile (tests): Add tst-robust10.
11286 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11288         [BZ #20263]
11289         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11291 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11293         * sysdeps/s390/linkmap.h (struct link_map_machine):
11294         Remove member gotplt and add member jmprel.
11295         * sysdeps/s390/s390-32/dl-machine.h
11296         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11297         instead of gotplt with &got[3].
11298         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11299         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11301 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11303         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11305 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11307         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11308         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11309         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11310         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11311         * libio/vtables.c (_IO_vtable_check)
11312         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11313         * libio/libioP.h (IO_set_accept_foreign_vtables)
11314         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11316 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11318         [BZ #20314]
11319         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11320         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11321         $(common-objpfx)cmath.
11322         ($(common-objpfx)cstdlib): New target.
11323         ($(common-objpfx)cmath): Likewise.
11325 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11327         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11329 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11331         [BZ #20327]
11332         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11333         are not part of the string.
11335 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11337         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11338         * nptl/tst-cancel4-common.h (fifoname): New variable.
11339         (fifofd): Likewise.
11340         (cl_fifo): New function.
11341         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11342         SIGINT.
11343         (tf_open): Add early cancel test.
11345 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11347         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11349 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11351         * sysdeps/generic/ldsodefs.h
11352         (dl_symbol_visibility_binds_local_p): New inline function.
11353         * elf/dl-addr.c (determine_info): Treat hidden and internal
11354         symbols as local.
11355         * elf/dl-lookup.c (do_lookup_x): Likewise.
11356         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11358 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11360         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11361         invalid exception for a sNaN input.
11362         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11363         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11364         (__nearbyint_vis3): Likewise
11365         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11366         (__nearbyintf_vis3): Likewise
11367         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11368         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11369         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11370         Likewise.
11371         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11372         Likewise.
11374 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11376         [BZ #20139]
11377         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11378         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11379         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11380         2.24 or above.
11381         (HAVE_AVX512_ASM_SUPPORT): Removed.
11382         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11383         * sysdeps/x86_64/configure: Regenerated.
11384         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11385         check unconditional.
11386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11387         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11388         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11389         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11390         Likewise.
11391         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11392         Likewise.
11393         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11394         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11395         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11396         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11397         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11398         Likewise.
11399         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11400         Likewise.
11401         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11402         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11403         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11404         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11405         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11406         Likewise.
11407         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11408         Likewise.
11409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11410         Likewise.
11411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11412         Likewise.
11413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11414         Likewise.
11415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11416         Likewise.
11417         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11418         Likewise.
11419         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11420         Likewise.
11421         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11422         Likewise.
11423         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11424         Likewise.
11425         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11426         Likewise.
11428 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11430         [BZ #20024]
11431         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11432         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11433         of this implementation of vector function.
11434         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11435         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11436         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11437         Likewise.
11438         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11439         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11440         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11441         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11442         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11443         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11444         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11445         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11446         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11447         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11448         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11449         for testing vector sincos with fixed ABI.
11450         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11451         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11452         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11453         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11454         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11456         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11457         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11458         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11459         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11460         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11461         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11462         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11463         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11464         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11465         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11467 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11469         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11471 2016-06-30  Anton Blanchard  <anton@samba.org>
11473         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11474         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11475         s_sinf-ppc64.
11476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11479         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11481 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11485         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
11486         e_expf-ppc64.
11487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
11488         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
11489         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
11490         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
11492 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
11494         [BZ #20277]
11495         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
11496         when SHARED is defined.
11498 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
11500         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
11501         (index_arch_Prefer_ERMS): Likewise.
11502         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
11503         __memcpy_erms for Prefer_ERMS.
11504         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11505         (__memmove_erms): Enabled for libc.a.
11506         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
11507         __memmove_erms or Prefer_ERMS.
11508         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
11509         __mempcpy_erms for Prefer_ERMS.
11510         * sysdeps/x86_64/multiarch/memset.S (memset): Return
11511         __memset_erms for Prefer_ERMS.
11513 2016-06-30  Andreas Schwab  <schwab@suse.de>
11515         [BZ #20262]
11516         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
11517         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
11518         of memory.
11520 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
11522         [BZ #18645]
11523         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
11524         (test-extras): Add tst-cleanupx4aux.
11525         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
11526         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
11527         tst-cleanupx4aux.o.
11528         * nptl/tst-cleanupx4aux.c: New file.
11530 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11532         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11534 2016-06-29  Andreas Schwab  <schwab@suse.de>
11536         [BZ #20260]
11537         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
11538         address before the beginning of the string as an integer to avoid
11539         array-bounds warning.
11541 2016-06-28  Richard Henderson  <rth@redhat.com>
11543         * elf/elf.h (EM_BPF): New.
11544         (EM_NUM): Update.
11545         (R_BPF_NONE, R_BPF_MAP_FD): New.
11547         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
11548         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
11549         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
11550         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
11551         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
11552         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
11553         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
11554         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
11555         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
11556         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
11557         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
11558         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
11559         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
11560         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
11561         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
11562         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
11563         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
11564         (EM_NUM): Update.
11566 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
11568         [BZ #18960]
11569         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
11570         Set _nl_current_LC_CATEGORY_used to two instead of one.
11572 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
11574         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
11575         (do_test): ... this.
11576         (TEST_FUNCTION): New macro.
11577          Include test-skeleton.c.
11578         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
11579         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
11581 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
11583         [BZ #15479]
11584         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
11585         floating-point environment rather than just control word.
11586         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11587         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
11588         floating-point environment, with "invalid" exceptions merged in,
11589         rather than just control word.
11590         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
11591         * math/libm-test.inc (trunc_test_data): Do not allow spurious
11592         "inexact" exceptions.
11594         [BZ #15479]
11595         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
11596         floating-point environment rather than just control word.
11597         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11598         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
11599         floating-point environment, with "invalid" exceptions merged in,
11600         rather than just control word.
11601         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
11602         * math/libm-test.inc (floor_test_data): Do not allow spurious
11603         "inexact" exceptions.
11605         [BZ #15479]
11606         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
11607         floating-point environment rather than just control word.
11608         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11609         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
11610         floating-point environment, with "invalid" exceptions merged in,
11611         rather than just control word.
11612         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
11613         * math/libm-test.inc (ceil_test_data): Do not allow spurious
11614         "inexact" exceptions.
11616 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
11618         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
11619         __libc_vfork.
11620         (__vfork) [IS_IN (libc)]: Remove alias.
11621         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
11622         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11623         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11625 2016-06-24  Torvald Riegel  <triegel@redhat.com>
11627         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
11628         of atomic_compare_and_exchange_bool_rel.
11629         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11630         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
11631         catomic_compare_and_exchange_bool_rel): Remove.
11632         * sysdeps/aarch64/atomic-machine.h
11633         (atomic_compare_and_exchange_bool_rel): Likewise.
11634         * sysdeps/alpha/atomic-machine.h
11635         (atomic_compare_and_exchange_bool_rel): Likewise.
11636         * sysdeps/arm/atomic-machine.h
11637         (atomic_compare_and_exchange_bool_rel): Likewise.
11638         * sysdeps/mips/atomic-machine.h
11639         (atomic_compare_and_exchange_bool_rel): Likewise.
11640         * sysdeps/microblaze/atomic-machine.h
11641         ( __arch_compare_and_exchange_bool_8_rel,
11642         __arch_compare_and_exchange_bool_16_rel): Likewise.
11643         * sysdeps/powerpc/atomic-machine.h
11644         ( __arch_compare_and_exchange_bool_8_rel,
11645         __arch_compare_and_exchange_bool_16_rel): Likewise.
11646         * sysdeps/powerpc/powerpc32/atomic-machine.h
11647         ( __arch_compare_and_exchange_bool_32_rel,
11648         __arch_compare_and_exchange_bool_64_rel): Likewise.
11649         * sysdeps/powerpc/powerpc64/atomic-machine.h
11650         ( __arch_compare_and_exchange_bool_32_rel,
11651         __arch_compare_and_exchange_bool_64_rel): Likewise.
11652         * sysdeps/tile/atomic-machine.h
11653         (atomic_compare_and_exchange_bool_rel): Likewise.
11655 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
11657         [BZ #20296]
11658         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
11659         when either argument is a NaN.
11660         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11661         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
11663         * math/libm-test.inc (snan_value_ld): New macro.
11664         (isgreater_test_data): Add sNaN tests.
11665         (isgreaterequal_test_data): Likewise.
11666         (isless_test_data): Likewise.
11667         (islessequal_test_data): Likewise.
11668         (islessgreater_test_data): Likewise.
11669         (isunordered_test_data): Likewise.
11670         (nextafter_test_data): Likewise.
11671         (nexttoward_test_data): Likewise.
11672         (remainder_test_data): Likewise.
11673         (remquo_test_data): Likewise.
11674         (significand_test_data): Likewise.
11675         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
11677 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11679         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
11680         environment macros are defined.
11681         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
11683 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11685         [BZ #20191]
11686         Implement vtable verification in libio.
11687         * Makerules (shlib.lds): Place __libc_IO_vtables section.
11688         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
11689         * debug/vdprintf_chk.c (__vdprintf_chk): Call
11690         _IO_new_file_init_internal instead of _IO_file_init.
11691         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
11692         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
11693         * libio/Makefile (routines): Add vtables.
11694         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
11695         (_IO_init): Remove, not for internal use.
11696         (_IO_init_internal): Declare, internal replacement for _IO_init.
11697         (_IO_file_init): Remove, not for internal use.
11698         (_IO_new_file_init): Remove, not for internal use.
11699         (_IO_new_file_init_internal): Declare, internal replacement for
11700         _IO_new_file_init.
11701         (_IO_old_file_init): Remove, not for internal use.
11702         (_IO_old_file_init_internal): Declare, internal replacement for
11703         _IO_old_file_init.
11704         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
11705         internal use.
11706         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
11707         Declare.
11708         (libio_vtable): New macro.
11709         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
11710         functions.
11711         * libio/fileops.c (_IO_new_file_init_internal): Rename from
11712         _IO_new_file_init.
11713         (_IO_new_file_init): New externally visible wrapper which disables
11714         vtable verification.
11715         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
11716         Define as vtables.
11717         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
11718         (_IO_init): New externally visible wrapper which disables
11719         vtable verification.
11720         * libio/iofdopen.c (_IO_new_fdopen): Call
11721         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
11722         comment.
11723         * libio/iofopen.c (__fopen_internal): Call
11724         _IO_new_file_init_internal instead of _IO_file_init.
11725         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
11726         Define as vtables.
11727         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
11728         _IO_new_file_init_internal instead of _IO_file_init.
11729         * libio/iopopen.c (_IO_new_popen): Likewise.
11730         (_IO_proc_jumps): Define as vtable.
11731         * libio/iovdprintf.c (_IO_vdprintf): Call
11732         _IO_new_file_init_internal instead of _IO_file_init.
11733         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
11734         (__open_memstream): Call _IO_init_internal instead of _IO_init.
11735         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
11736         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
11737         _IO_old_file_init.
11738         (_IO_old_file_init): New externally visible wrapper which disables
11739         vtable verification.
11740         (_IO_old_file_jumps): Define as vtable.
11741         * libio/oldiofdopen.c (_IO_old_fdopen): Call
11742         _IO_old_file_init_internal instead of _IO_old_file_init.
11743         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11744         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11745         (_IO_old_proc_jumps): Define as vtable.
11746         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
11747         Define as vtables.
11748         * libio/vtables.c: New file.
11749         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
11750         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
11751         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
11752         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
11753         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
11754         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
11755         instead of _IO_init.
11757 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11759         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
11761 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11763         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
11764         potentially unused.
11766 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11768         * test-skeleton.c (write_message): New function.
11769         * malloc/tst-mallocfork2.c (write_message): Remove.
11770         * debug/tst-longjmp_chk2.c (write_indented): New function.
11771         (write_message): Remove.
11772         (stackoverflow_handler): Call write_indented.
11774 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11776         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11777         "inexact" exceptions after fnstenv.
11778         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11779         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11780         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11782 2015-06-22  Zack Weinberg  <zackw@panix.com>
11784         * sysdeps/generic/bits/hwcap.h: Moved to ...
11785         * bits/hwcap.h: Here.
11787 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11789         * sysdeps/aarch64/memcpy.S (memcpy):
11790         Further tuning for performance.
11792 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11794         [BZ #20284]
11795         * malloc/arena.c (reused_arena): Do not return NULL if we start
11796         out with a non-corrupted arena.
11798 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11800         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11801         * misc/tst-preadvwritev.c: New file.
11802         * misc/tst-preadvwritev64.c: Likewise.
11803         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11804         usage.
11805         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11806         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
11807         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
11808         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
11810 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
11812         [BZ #19654]
11813         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11814         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
11815         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
11816         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
11817         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
11818         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
11819         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
11820         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
11821         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
11822         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
11823         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
11824         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
11825         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
11826         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
11827         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
11828         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
11829         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
11830         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
11831         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
11832         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
11833         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
11834         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
11835         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
11836         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
11837         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
11838         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
11840 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11842         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
11843         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
11845 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11847         * sysdeps/aarch64/memcpy.S (memcpy):
11848         Rewrite of optimized memcpy and memmove.
11849         * sysdeps/aarch64/memmove.S (memmove): Remove
11850         memmove code (merged into memcpy.S).
11852 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11854         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
11855         * sysdeps/generic/dl-dtv.h: New file.
11856         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11857         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
11858         (dtv_t): Remove.
11859         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11860         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
11861         (dtv_t): Remove.
11862         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11863         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
11864         (dtv_t): Remove.
11865         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11866         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
11867         (dtv_t): Remove.
11868         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11869         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
11870         (dtv_t): Remove.
11871         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11872         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
11873         (dtv_t): Remove.
11874         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11875         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
11876         (dtv_t): Remove.
11877         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
11878         (dtv_t): Remove.
11879         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11880         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
11881         (dtv_t): Remove.
11882         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11883         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
11884         (dtv_t): Remove.
11885         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11886         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
11887         (dtv_t): Remove.
11888         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11889         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
11890         (dtv_t): Remove.
11891         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11892         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
11893         (dtv_t): Remove.
11894         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11895         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
11896         (dtv_t): Remove.
11897         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11898         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
11899         (dtv_t): Remove.
11900         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11901         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
11902         (dtv_t): Remove.
11904 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11906         Revert symbol poisoning of  __malloc_initialize_hook.
11907         * include/stdc-predef.h (__malloc_initialize_hook): Remove
11908         poisoning.
11909         * malloc/Makefile: Remove un-poisoning.
11910         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
11911         instead of old__malloc_initialize_hook.
11912         * malloc/malloc-hooks.h: Likewise.
11913         * malloc/malloc.c: Likewise.
11914         * malloc/mcheck-init.c: Likewise.
11916 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
11918         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
11920 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
11922         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
11923         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
11924         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11925         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11927 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11929         * NEWS: Mention addition of nextup and nextdown.
11930         * manual/arith.texi: Document nextup and nextdown.
11931         * manual/libm-err-tab.pl: Add nextup and nextdown.
11932         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
11933         * math/Versions (libm): Add GLIBC_2.24.
11934         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
11935         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11936         Add new test.
11937         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
11938         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
11939         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
11940         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
11941         (nextup_test_data): Likewise.
11942         (nextdown_test_data): Likewise.
11943         * math/s_nextdown.c: New file.
11944         * math/s_nextdownf.c: Likewise.
11945         * math/s_nextdownl.c: Likewise.
11946         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
11947         F(nextup): New function.
11948         F(nextdown): Likewise.
11949         * math/tgmath.h: Add nextup and nextdown.
11950         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
11951         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
11952         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11953         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11954         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11955         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
11956         Add nextup and nextdown.
11957         (CFLAGS-nldbl-nextup.c): New variable.
11958         (CFLAGS-nldbl-nextdown.c): Likewise.
11959         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
11960         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
11961         * sysdeps/nacl/libm.abilist: Update.
11962         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11963         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11964         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11965         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11967         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11968         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11969         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11970         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11971         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11973         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11976         Likewise.
11977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11979         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11980         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11981         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11982         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
11985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11987         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11989         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11991 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11993         * manual/pattern.texi: Fix typos & grammar errors.
11995 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11997         * manual/search.texi: Fix typos & grammar errors.
11999 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12001         * manual/message.texi: Fix typos & grammar errors.
12003 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12005         * manual/contrib.texi: Fix spelling typos.
12006         * manual/crypt.texi: Likewise.
12007         * manual/filesys.texi: Likewise.
12008         * manual/locale.texi: Likewise.
12009         * manual/message.texi: Likewise.
12010         * manual/nss.texi: Likewise.
12011         * manual/string.texi: Likewise.
12013 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12015         * manual/locale.texi: Fix typos & grammar errors.
12017 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12019         * manual/charset.texi: Fix typos & grammar errors.
12021 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12023         * manual/string.texi: Fix typos.
12025 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12027         * manual/ctype.texi: Fix typos.
12029 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12031         * manual/memory.texi: Fix various typos & grammar errors.
12033 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12035         [BZ #20255]
12036         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12037         * math/libm-test.inc (fdim_test_data): Add another test.
12039         [BZ #6796]
12040         [BZ #20255]
12041         [BZ #20256]
12042         * math/s_fdim.c: Include <math_private.h>.
12043         (__fdim): Use math_narrow_eval on result.
12044         * math/s_fdimf.c: Include <math_private.h>.
12045         (__fdimf): Use math_narrow_eval on result.
12046         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12047         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12048         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12049         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12050         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12051         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12052         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12053         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12054         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12055         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12056         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12057         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12058         overflow.  Add sNaN tests.
12060         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12061         fpclassify.
12062         * math/s_fdimf.c (__fdimf): Likewise.
12063         * math/s_fdiml.c (__fdiml): Likewise.
12065 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12067         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12068         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12070         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12071         ifunc'ed strcasecmp/strncasecmp.
12072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12073         [EALIGN]: Removed.
12074         [END]: Likewise.
12075         [__strcasecmp]: Define instead of the above to control symbol name.
12076         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12077         for __strcasecmp_power8.
12078         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12079         for __strncasecmp_power8.
12080         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12081         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12082         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12083         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12084         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12085         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12087 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12089         [BZ #20252]
12090         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12091         arguments when second argument is a NaN.
12092         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12093         qNaN tests.
12095         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12096         (conj_test_data): Likewise.
12097         (copysign_test_data): Likewise.
12098         (creal_test_data): Likewise.
12099         (fma_test_data): Likewise.
12100         (fmod_test_data): Likewise.
12102         [BZ #20250]
12103         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12104         itself.
12105         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12106         zero input to itself.
12107         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12108         Likewise.
12109         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12110         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12111         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12112         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12113         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12115 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12117         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12118         * nptl/tst-cancel4-common.c: New file.
12119         * nptl/tst-cancel4-common.h: Likewise.
12120         * nptl/tst-cancel4.c: Move common definitions to
12121         tst-cancel4-common.{c,h} file.
12122         * nptl/tst-cancel4_1.c: New test.
12123         * nptl/tst-cancel4_2.c: New test.
12125 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12127         [BZ #20248]
12128         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12129         (write_message): New function.
12130         (stackoverflow_handler): Call it instead of printf, to avoid
12131         excessive stack usage by printf.
12132         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12134 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12136         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12137         (prio_inherit_missing): Remove define.
12138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12139         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12140         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12141         Likewise.
12142         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12143         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12144         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12145         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12146         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12147         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12149 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12151         [BZ #19670]
12152         [BZ #19672]
12154         * io/test-lfs.c (do_prepare): Use xmalloc.
12155         * io/tst-fcntl.c (do_prepare): Likewise.
12156         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12157         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12158         * login/tst-utmp.c (do_prepare): Likewise.
12159         * posix/tst-exec.c (do_prepare): Likewise.
12160         * posix/tst-pathconf.c (prepare): Likewise.
12161         * posix/tst-spawn.c (do_prepare): Likewise.
12162         * posix/tst-truncate.c (do_prepare): Likewise.
12163         * rt/tst-aio.c (do_prepare): Likewise.
12164         * rt/tst-aio64.c (do_prepare): Likewise.
12166 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12168         [BZ #20237]
12169         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12170         (get*ent): Set entidx to NULL during initialization.  If entidx is
12171         NULL, start iteration from the beginning.
12173 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12175         * malloc/malloc.c (musable): Return correct size for dumped fake
12176         mmapped chunk.
12178 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12180         [BZ #20222]
12181         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12182         (_IO_cookie_write): Likewise.
12183         (_IO_cookie_seek): Likewise.
12184         (_IO_cookie_close): Likewise.
12185         (_IO_old_cookie_seek): Likewise.
12186         (set_callbacks): New function.
12187         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12189 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12191         * locale/programs/localedef.c (oldstyle_tables): Remove.
12192         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12194 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12196         [BZ #20240]
12197         * math/Makefile (CFLAGS-s_modf.c): New variable.
12198         (CFLAGS-s_modff.c): Likewise.
12199         (CFLAGS-s_modfl.c): Likewise.
12200         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12202 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12204         [BZ #20215]
12205         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12206         [!__GNUC_PREREQ (3,2)]: Likewise.
12208 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12210         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12211         (msghdr.msg_controllen): Likewise.
12212         (cmsghdr.cmsg_len): Likewise.
12213         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12214         ptw-oldsendmsg.
12215         (CFLAGS-oldrecvmsg.c): Remove rule.
12216         (CFLAGS-oldsendmsg.c): Likewise.
12217         (CFLAGS-recvmsg.c): Add rule.
12218         (CFLAGS-sendmsg.c): Likewise.
12219         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12220         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12221         (CFLAGS-recvmsg.c): Remove rule.
12222         (CFLAGS-sendmsg.c): Likewise.
12223         (CFLAGS-oldrecvmsg.c): Likewise.
12224         (CFLAGS-oldsendmsg.c): Likewise.
12225         (CFLAGS-recvmmsg.c): Likewise.
12226         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12227         to kernel defined interfaces.
12228         (msghdr.msg_controllen): Likewise.
12229         (cmsghdr.cmsg_len): Likewise.
12230         (msghdr.__glibc_reserved1): Remove member.
12231         (msghdr.__glibc_reserved2): Likewise.
12232         (cmsghdr.__glibc_reserved1): Likewise.
12233         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12234         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12235         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12236         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12237         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12238         version.
12239         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12240         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12241         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12242         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12243         Remove recvmsg and sendmsg.
12244         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12245         Likewise.
12246         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12247         Likewise.
12248         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12249         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12250         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12251         Likewise.
12252         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12253         Likewise.
12254         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12255         [libc] (GLIBC_2.24): Likewise.
12256         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12257         Likewise.
12258         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12259         Likewise.
12260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12261         [libc] (GLIBC_2.24): Likewise.
12262         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12263         Likewise.
12264         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12265         Likewise.
12266         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12267         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12268         Likewise.
12269         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12270         Likewise.
12271         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12272         Likewise.
12273         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12274         Likewise.
12275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12276         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12277         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12278         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12279         version for {recv,send,recm,sendm}msg.
12280         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12281         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12282         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12283         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12284         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12285         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12286         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12287         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12288         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12289         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12290         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12291         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12293         Likewise.
12294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12295         Likewise.
12296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12298         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12299         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12300         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12301         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12302         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12303         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12306         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12307         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12308         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12310 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12312         [BZ #19564]
12313         Remove __malloc_initialize_hook from the API.
12314         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12315         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12316         #pragma GCC poison.
12317         * malloc/malloc-hooks.h: New file.
12318         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12319         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12320         (old__malloc_initialize_hook): Rename from
12321         __malloc_initialize_hook to evade poisoning.  Turn into compat
12322         symbol.
12323         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12324         __malloc_initialize_hook.
12325         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12326         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12327         * manual/memory.texi (Hooks for Malloc): Remove
12328         __malloc_initialize_hook.  Adjust hook example.
12330 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12332         [BZ #20235]
12333         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12334         itself.
12335         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12336         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12338         [BZ #20234]
12339         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12340         infinity or NaN input to itself.
12342         [BZ #20233]
12343         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12344         to itself.
12346         [BZ #20232]
12347         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12348         itself.
12350 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12352         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12353         __libc_start_main via GOT.
12355 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12357         * sysdeps/x86_64/memcopy.h: New file.
12358         * sysdeps/x86_64/wordcopy.c: Likewise.
12360 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12362         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12363         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12364         <cstdlib>.
12365         (optimization_barrier): New.
12366         (do_test): Use it.  Call quick_exit in the global namespace.
12367         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12368         instead of <cstdlib>, <thread>.
12369         (optimization_barrier): New.
12370         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12371         Call quick_exit in the global namespace.
12372         (do_test): Call optimization_barrier.  Use pthread_create,
12373         pthread_join instead of std::thread.
12375 2016-06-09  Andreas Schwab  <schwab@suse.de>
12377         [BZ #19755]
12378         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12379         new entries in auto-propagate mode.
12380         * nscd/grpcache.c (cache_addgr): Likewise.
12382 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12384         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12385         New functions.
12386         (add_temp_file): Use them.
12388 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12390         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12392 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12394         [BZ #20229]
12395         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12396         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12397         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12399         [BZ #20228]
12400         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12401         itself.
12402         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12403         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12405         [BZ #20227]
12406         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12407         itself.
12408         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12409         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12410         * math/libm-test.inc (log_test_data): Add sNaN tests.
12412         [BZ #20226]
12413         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12414         itself.
12415         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12416         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12417         (exp10_test_data): Likewise.
12418         (expm1_test_data): Likewise.
12420         [BZ #20225]
12421         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12422         itself.
12423         * math/s_ldexpf.c (__ldexpf): Likewise.
12424         * math/s_ldexpl.c (__ldexpl): Likewise.
12425         * math/w_scalbln.c (__w_scalbln): Likewise.
12426         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12427         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12428         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12429         (scalbln_test_data): Likewise.
12431         [BZ #20224]
12432         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12433         argument to itself.
12434         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12436 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12438         [BZ #19776]
12439         * sysdeps/x86_64/memcpy.S: Make it dummy.
12440         * sysdeps/x86_64/mempcpy.S: Likewise.
12441         * sysdeps/x86_64/memmove.S: New file.
12442         * sysdeps/x86_64/memmove_chk.S: Likewise.
12443         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12444         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12445         * sysdeps/x86_64/memmove.c: Removed.
12446         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12447         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12448         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12449         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12450         Likewise.
12451         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12452         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12454         memcpy-sse2-unaligned, memmove-avx-unaligned,
12455         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12457         (__libc_ifunc_impl_list): Replace
12458         __memmove_chk_avx512_unaligned_2 with
12459         __memmove_chk_avx512_unaligned.  Remove
12460         __memmove_chk_avx_unaligned_2.  Replace
12461         __memmove_chk_sse2_unaligned_2 with
12462         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12463         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12464         with __memmove_avx512_unaligned.  Replace
12465         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12466         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12467         with __memcpy_chk_avx512_unaligned.  Remove
12468         __memcpy_chk_avx_unaligned_2.  Replace
12469         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12470         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12471         Replace __memcpy_avx512_unaligned_2 with
12472         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12473         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12474         with __mempcpy_chk_avx512_unaligned.  Remove
12475         __mempcpy_chk_avx_unaligned_2.  Replace
12476         __mempcpy_chk_sse2_unaligned_2 with
12477         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12478         Replace __mempcpy_avx512_unaligned_2 with
12479         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12480         Replace __mempcpy_sse2_unaligned_2 with
12481         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12482         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12483         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
12484         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
12485         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
12486         (ENTRY): Removed.
12487         (END): Likewise.
12488         (ENTRY_CHK): Likewise.
12489         (libc_hidden_builtin_def): Likewise.
12490         Don't include ../memcpy.S.
12491         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
12492         __memcpy_chk_avx512_unaligned_erms and
12493         __memcpy_chk_avx512_unaligned.  Use
12494         __memcpy_chk_avx_unaligned_erms and
12495         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12496         Default to __memcpy_chk_sse2_unaligned.
12497         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12498         Change function suffix from unaligned_2 to unaligned.
12499         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
12500         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
12501         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
12502         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
12503         (ENTRY): Removed.
12504         (END): Likewise.
12505         (ENTRY_CHK): Likewise.
12506         (libc_hidden_builtin_def): Likewise.
12507         Don't include ../mempcpy.S.
12508         (mempcpy): New.  Add a weak alias.
12509         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
12510         __mempcpy_chk_avx512_unaligned_erms and
12511         __mempcpy_chk_avx512_unaligned.  Use
12512         __mempcpy_chk_avx_unaligned_erms and
12513         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12514         Default to __mempcpy_chk_sse2_unaligned.
12516 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12518         [BZ #19881]
12519         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
12520         into ...
12521         * sysdeps/x86_64/memset.S: This.
12522         (__bzero): Removed.
12523         (__memset_tail): Likewise.
12524         (__memset_chk): Likewise.
12525         (memset): Likewise.
12526         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
12527         defined.
12528         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
12529         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
12530         (__memset_zero_constant_len_parameter): Check SHARED instead of
12531         PIC.
12532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12533         memset-avx2 and memset-sse2-unaligned-erms.
12534         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12535         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
12536         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
12537         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12538         (__bzero): Enabled.
12539         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
12540         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
12541         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
12542         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
12543         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12544         (memset): Removed.
12545         (__memset_chk): Likewise.
12546         (MEMSET_SYMBOL): New.
12547         (libc_hidden_builtin_def): Replace __memset_sse2 with
12548         __memset_sse2_unaligned.
12549         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
12550         __memset_chk_sse2 and __memset_chk_avx2 with
12551         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
12552         Use __memset_chk_sse2_unaligned_erms or
12553         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
12554         __memset_chk_avx512_unaligned_erms and
12555         __memset_chk_avx512_unaligned.
12557 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12559         * math/gen-auto-libm-test.c (fp_format_desc): remove
12560         suffix member.
12561         (output_generic_value): Remove usage of suffix member,
12562         and the resulting unuse of the fp_format argument.
12563         (output_for_one_input_case): Remove unused fp_format
12564         parameter.
12566         * math/auto-libm-test-out: Regenerate.
12568         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
12569         usage with TEST_COND_ibm128.
12570         (TEST_COND_flt_32): Remove.
12571         (TEST_COND_dbl_64): Remove.
12572         (TEST_COND_ldbl_96_intel): Remove.
12573         (TEST_COND_ldbl_96_m68k): Remove.
12574         (TEST_COND_ldbl_128): Remove.
12576 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12578         * auto-libm-test-in:
12579         Replace flt-32 usage with binary32.
12580         Replace dbl-64 usage with binary64.
12581         Replace ldbl-intel-96 usage with intel96.
12582         Replace ldbl-m68k-96 usage with m68k96.
12583         Replace ldbl-128ibm usage with ibm128.
12584         Replace ldbl-128 usage with binary128.
12586         * auto-libm-test-out: Regenerate.
12588 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12590         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
12591         (parse_ulps): Dynamically generate type name matching
12592         string from all_floats.
12593         (get_ulps): Generate the ulps as an array instead.
12594         (output_ulps): Dynamically compose the type based
12595         on the number of supported formats, and print
12596         the indices as type specific helper macros.
12598         * math/libm-test.inc: Remove comment about CHOOSE.
12599         (ulp_data): Generate the type in libm-test-ulps.h.
12600         (ULP_IDX): New macro.
12601         (find_ulps): Update usage of max_ulp.
12603         * math/test-double-vlen2.h (CHOOSE): Remove.
12604         * math/test-double-vlen4.h (CHOOSE): Likewise.
12605         * math/test-double-vlen8.h (CHOOSE): Likewise.
12606         * math/test-float.c (CHOOSE): Likewise.
12607         * math/test-float-finite.c (CHOOSE): Likewise.
12608         * math/test-double.c (CHOOSE): Likewise.
12609         * math/test-double-finite.c (CHOOSE): Likewise.
12610         * math/test-idouble.c (CHOOSE): Likewise.
12611         * math/test-ifloat.c (CHOOSE): Likewise.
12612         * math/test-ildoubl.c (CHOOSE): Likewise.
12613         * math/test-ldouble-finite.c (CHOOSE): Likewise.
12614         * math/test-ldouble.c (CHOOSE): Likewise.
12616         * math/test-float.h (TEST_FLOAT): Remove.
12617         * math/test-double.h (TEST_DOUBLE): Likewise.
12618         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
12620 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12622         * math/gen-libm-test.pl: (apply_lit): New subroutine.
12623         (parse_args): Strip C suffix from floating point literals
12624         typed with 'f' and wrap them with LIT().
12626         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
12627         (test_ff_f_data_nexttoward): Rename to
12628         (test_fj_f_data): New struct.
12629         (nexttoward_test_data): Relabel tests as
12630         TEST_fj_f instead of TEST_ff_f.
12632 2016-06-08  Florian Weimer  <fweimer@redhat.com>
12634         Emacs bug 23726.
12635         * malloc/malloc.c (dumped_main_arena_start): Update comment.
12636         (__libc_realloc): Correct size computation for dumped fake mmapped
12637         chunks.
12639 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
12641         [BZ #20219]
12642         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
12643         to itself.
12644         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
12646         [BZ #20218]
12647         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
12648         to itself.
12649         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
12651 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
12653         [BZ #20195]
12654         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
12655         check to ...
12656         (init_cpu_features): Here.
12658 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
12660         [BZ #20214]
12661         * sysdeps/unix/sysv/linux/bits/in.h
12662         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12663          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
12664         Define to 1.
12665         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12666          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
12667         Define to 0.
12668         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
12669         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
12671 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
12673         [BZ #20198]
12674         * stdlib/Makefile (tests): Add tst-quick_exit, and
12675         tst-thread-quick_exit.
12676         [ifeq ($(have-cxx-thread_local),yes)]
12677         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
12678         (CFLAGS-tst-thread-quick_exit.o): Likewise.
12679         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
12680         (LDLIBS-tst-thread-quick_exit): Likewise.
12681         [ifneq ($(have-cxx-thread_local),yes)]
12682         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
12683         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
12684         If run_dtors is true call __call_tls_dtors.
12685         (exit): Call __run_exit_handlers with run_dtors set to true.
12686         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
12687         definition.
12688         * stdlib/quick_exit.c (quick_exit): Remove function.
12689         (__new_quick_exit): New function.
12690         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
12691         function.
12692         * stdlib/tst-quick_exit.cc: New file.
12693         * stdlib/tst-thread-quick_exit.cc: New file.
12694         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
12695         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
12696         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
12697         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
12698         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
12699         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
12700         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
12701         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
12702         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
12703         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
12704         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
12705         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
12706         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
12707         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
12708         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
12709         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
12711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
12712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
12713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
12714         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
12715         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
12716         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
12717         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
12718         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
12719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
12720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
12721         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
12722         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
12723         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
12725 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12727         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
12728         a typo in comments.
12730 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12732         [BZ #20213]
12733         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
12734         argument to itself.
12735         * math/libm-test.inc (asin_test_data): Add sNaN tests.
12737 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12739         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
12740         required flags.
12741         (CFLAGS-pwritev64.c): Likewise.
12742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
12743         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12744         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
12745         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12746         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
12747         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
12748         syscall from auto-generation.
12749         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
12750         [WORDSIZE == 64] (pwritev64): Remove macro.
12751         [!PWRITEV] (PWRITEV): Likewise.
12752         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12753         [!PWRITEV] (PWRITE): Likewise.
12754         [!PWRITEV] (OFF_T): Likewise.
12755         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12756         (LO_HI_LONG): Remove macro.
12757         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
12758         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
12759         (PWRITEV): Remove macro.
12760         (PWRITEV_REPLACEMENTE): Likewise.
12761         (PWRITE): Likewise.
12762         (OFF_T): Likewise.
12763         (pwritev64): New function.
12764         * nptl/tst-cancel4.c (tf_writev): Add test.
12766         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12767         required flags.
12768         (CFLAGS-preadv64.c): Likewise.
12769         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12770         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12771         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12772         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12773         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12774         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12775         syscall from auto-generation.
12776         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12777         [WORDSIZE == 64] (preadv64): Remove macro.
12778         [!PREADV] (PREADV): Likewise.
12779         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12780         [!PREADV] (PREAD): Likewise.
12781         [!PREADV] (OFF_T): Likewise.
12782         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12783         (LO_HI_LONG): Remove macro.
12784         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12785         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12786         (PREADV): Remove macro.
12787         (PREADV_REPLACEMENTE): Likewise.
12788         (PREAD): Likewise.
12789         (OFF_T): Likewise.
12790         (preadv64): New function.
12791         * nptl/tst-cancel4.c (tf_preadv): Add test.
12793 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12795         [BZ #20212]
12796         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12797         argument to itself.
12798         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12800 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12802         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12803         New symbol defined as libc_hidden_def.
12804         (strcasestr): Became a weak alias to __strcasestr.
12805         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12806         according to multi-arch support.  Move __stpncpy hidden
12807         definition from here to...
12808         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
12809         symbol stpncpy.
12810         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
12811         libc_hidden_builtin_def.
12812         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
12813         memset symbol to use when multi-arch support is available.
12815 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12817         * dlfcn/tst-rec-dlopen.c: Include string.h.
12819 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12821         * manual/install.texi: Remove mention of --without-tls
12822         * INSTALL: Regenerate.
12824 2016-06-05  Florian Weimer  <fweimer@redhat.com>
12826         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
12827         Remove.
12828         (call_function, interposed_malloc_called): New variables.
12829         (malloc): New function.
12830         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
12831         and clear call_function as needed.
12833 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
12835         * include/wchar.h (__wmemset): Use __typeof.
12837 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
12839         * include/wchar.h (__wmemset): Declare function without typeof.
12841 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
12843         [BZ #20205]
12844         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
12845         exponent when incrementing negative subnormal with low mantissa
12846         word zero.
12847         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12848         Add another test.
12850 2016-06-03  Florian Weimer  <fweimer@redhat.com>
12852         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
12853         __wmemset instead of wmemset.
12855 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
12857         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
12858         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
12859         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
12860         __USE_KERNEL_IPV6_DEFS to 0.
12861         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
12862         Update comment.
12864 2016-06-01  Florian Weimer  <fweimer@redhat.com>
12866         [BZ #19861]
12867         Do not use IFUNC resolver with potentially unrelocated symbol.
12868         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
12869         (DEFINE_FORK): Remove macro and inline definition.
12870         (fork_alias): Renamed from fork_ifunc.
12871         (__fork_alias): Renamed from __fork_ifunc.
12873 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
12875         [BZ 19653]
12876         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
12877         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
12879 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12881         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
12882         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
12883         i386-linux-gnu).
12884         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
12885         Set to no.
12886         * sysdeps/mach/hurd/configure: Refresh.
12888 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12890         [BZ #20178]
12891         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
12892         on failure instead of exit.
12894 2016-05-30  Roland McGrath  <roland@hack.frob.com>
12896         [BZ #3629]
12897         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
12898         of POSIX.1-2008.
12900 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12902         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
12903           Use PLT entry for calling _hurd_self_sigstate.
12905 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
12907         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
12908         available logical processors with SMT level type sharing L2
12909         cache for Intel processors.
12911 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12913         [BZ #20160]
12914         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
12915         argument to itself before returning the result.
12916         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12917         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12918         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12919         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12920         Likewise.
12921         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12922         Likewise.
12923         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
12924         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
12925         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12926         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12927         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12928         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12930         [BZ #20160]
12931         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
12932         argument to itself before returning the result.
12933         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12934         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12935         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12936         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
12937         Likewise.
12938         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12939         Likewise.
12940         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
12941         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
12942         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
12943         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12944         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12945         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12947 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12949         * libm-test.inc: Replace usage of M_El with
12950         (lit_e): New macro.
12952 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12954         * libm-test.inc: Replace usage of M_PI_4l with
12955         (lit_pi_4_d): New macro.
12957 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12959         * libm-test.inc: Replace usage of M_PIl with
12960         (lit_pi): New macro.
12962 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12964         * libm-test.inc: Replace usage of M_PI2l with
12965         (lit_pi_2_d): New macro.
12967         * math/test-double.h (LITM): New macro.
12968         * math/test-float.h (LITM): Likewise.
12969         * math/test-ldouble.h (LITM): Likewise.
12971 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12973         * libm-test.inc (M_PI_34l): Rename to
12974         (lit_pi_3_m_4_d): New Macro.
12975         (M_PI_34_LOG10El): Rename to
12976         (lit_pi_3_m_4_ln10_m_d): New Macro.
12977         (M_PI2_LOG10El): Rename to
12978         (lit_pi_2_ln10_m_d):  New Macro.
12979         (M_PI4_LOG10El): Rename to
12980         (lit_pi_4_ln10_m_d):  New Macro.
12981         (M_PI_LOG10El): Rename to
12982         (lit_pi_ln10_d):  New Macro.
12984 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12986         [BZ #20157]
12987         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
12988         determine whether to negate low half if [_ARCH_PPCGR], and integer
12989         comparison otherwise.
12990         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
12991         determine whether to negate low half.
12993         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
12994         (NO_TEST_INLINE_DOUBLE): Likewise.
12995         (TEST_COND_x86_64): Likewise.
12996         (TEST_COND_x86): Likewise.
12997         (M_PI_6l): Likewise.
12999 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13001         * math/libm-test.inc:
13002         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13003         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13004         (TEST_LDOUBLE): Update usage to evaluate as true if
13005         the guarded tests match the property being tested.
13006         (LDBL_MAX_EXP): Change to MAX_EXP.
13007         (LDBL_MIN_EXP): Change to MIN_EXP.
13008         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13009         nexttoward tests.
13011 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13013         * math/libm-test.inc:
13014         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13015         (TYPE_MIN): Likewise.
13016         (TYPE_TRUE_MIN): Likewise.
13017         (TYPE_MAX): Likewise.
13018         (MIN_EXP): Likewise.
13019         (MAX_EXP): Likewise.
13020         (MANT_DIG): Likewise.
13022         (FSTR_MAX): New macro.
13023         (__CONCATX): Likewise.
13024         (QTYPE_STR): Likewise.
13025         (TEST_COND_binary32): Likewise.
13026         (TEST_COND_binary64): Likewise.
13027         (TEST_COND_binary128): Likewise.
13028         (TEST_COND_ibm128): Likewise.
13029         (TEST_COND_intel96): Likewise.
13030         (TEST_COND_m68k96): Likewise.
13032         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13033         (TEST_COND_dbl_64): Likewise.
13034         (TEST_COND_ldbl_96_intel): Likewise.
13035         (TEST_COND_ldbl_96_m68k): Likewise.
13036         (TEST_COND_ldbl_128): Likewise.
13037         (TEST_COND_ldbl_128ibm): Likewise.
13039         (plus_zero): Redefine using LIT macro.
13040         (minus_zero): Likewise.
13041         (plus_infty): Redefine as (INF).
13042         (minux_infty): Redefine as (-INF).
13043         (max_value): Redefine as TYPE_MAX.
13044         (min_value): Redefine as TYPE_MIN.
13045         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13047         (print_float): Refactor to use snprintf to convert FLOAT values
13048         to string. This brings it closer to dropin replacement of strtof
13049         for the TS 18661 defined types.
13050         (update_stats): Likewise.
13051         (print_complex_function_ulps): Likewise.
13052         (print_max_error): Likewise.
13053         (print_complex_max_error): Likewise.
13054         (check_float_internal): Likewise.
13056         * math/test-float.h (PREFIX): New macro.
13057         (LIT): Likewise.
13058         (TYPE_STR): Likewise.
13059         (FTOSTR): Likewise.
13061         * math/test-double.h (PREFIX): New macro.
13062         (LIT): Likewise.
13063         (TYPE_STR): Likewise.
13064         (FTOSTR): Likewise.
13066         * math/test-ldouble.h (PREFIX): New macro.
13067         (LIT): Likewise.
13068         (TYPE_STR): Likewise.
13069         (FTOSTR): Likewise.
13071 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13073         [BZ #20156]
13074         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13075         to itself when zero or not finite.
13076         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13077         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13078         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13079         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13081 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13083         [BZ #20153]
13084         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13085         x * x + x for infinities and NaNs.
13087         [BZ #20151]
13088         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13089         argument to itself before returning result.
13090         (__ieee754_y0l): Likewise.
13091         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13092         (__ieee754_y1l).
13094         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13095         (atan_test_data): Likewise.
13096         (ceil_test_data): Likewise.
13097         (cos_test_data): Likewise.
13098         (cosh_test_data): Likewise.
13099         (erf_test_data): Likewise.
13100         (exp2_test_data): Likewise.
13101         (fabs_test_data): Likewise.
13102         (floor_test_data): Likewise.
13103         (ilogb_test_data): Likewise.
13104         (j0_test_data): Likewise.
13105         (j1_test_data): Likewise.
13106         (jn_test_data): Likewise.
13107         (lgamma_test_data): Likewise.
13108         (lrint_test_data): Likewise.
13109         (llrint_test_data): Likewise.
13110         (logb_test_data): Likewise.
13111         (lround_test_data): Likewise.
13112         (llround_test_data): Likewise.
13113         (nearbyint_test_data): Likewise.
13114         (rint_test_data): Likewise.
13115         (round_test_data): Likewise.
13116         (sin_test_data): Likewise.
13117         (sincos_test_data): Likewise.
13118         (sinh_test_data): Likewise.
13119         (sqrt_test_data): Likewise.
13120         (tan_test_data): Likewise.
13121         (tanh_test_data): Likewise.
13122         (tgamma_test_data): Likewise.
13123         (trunc_test_data): Likewise.
13124         (y0_test_data): Likewise.
13125         (y1_test_data): Likewise.
13126         (yn_test_data): Likewise.
13128         * math/libm-test.inc: Update comment about NaN testing.
13129         (TEST_SNAN): New macro.
13130         (snan_value): Likewise.
13131         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13132         (fpclassify_test_data): Add sNaN tests.
13133         (isfinite_test_data): Likewise.
13134         (isinf_test_data): Likewise.
13135         (isnan_test_data): Likewise.
13136         (isnormal_test_data): Likewise.
13137         (issignaling_test_data): Likewise.
13138         (signbit_test_data): Likewise.
13139         * math/gen-libm-test.pl (%beautify): Add snan_value.
13140         (show_exceptions): Add argument $test_snan.
13141         (parse_args): Handle snan_value as non-finite.  Update call to
13142         show_exceptions.
13143         * math/Makefile (libm-test-no-inline-cflags): Add
13144         -fsignaling-nans.
13146 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13148         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13149         (CFLAGS-oldsendmsg.c): Add rule.
13150         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13151         Correct recvmsg symbol name.
13152         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13153         Likewise.
13155 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13157         * sysdeps/unix/sysv/linux/Makefile
13158         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13159         oldsendmmsg.
13160         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13161         sendmmsg.
13162         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13163         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13164         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13165         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13167         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13168         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13170         Likewise.
13171         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13172         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13173         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13174         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13175         iovlen and controllen fields to adjust to POSIX specification.
13176         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13178         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13179         and change to correct expected type.
13180         (msghdr.msg_controllen): Likewise.
13181         (cmsghdr.cmsg_len): Likewise.
13182         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13183         expected POSIX assumption about the size.
13184         (msghdr.msg_controllen): Likewise.
13185         (msghdr.__glibc_reserved1): Likewise.
13186         (msghdr.__glibc_reserved2): Likewise.
13187         (cmsghdr.cmsg_len): Likewise.
13188         (cmsghdr.__glibc_reserved1): Likewise.
13189         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13190         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13191         (CFLAGS-sendmsg.c): Remove rule.
13192         (CFLAGS-recvmsg.c): Likewise.
13193         (CFLAGS-oldsendmsg.c): Add rule.
13194         (CFLAGS-oldrecvmsg.c): Likewise.
13195         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13196         recvmsg and sendmsg.
13197         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13198         Likewise.
13199         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13200         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13201         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13202         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13203         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13204         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13205         Likewise.
13206         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13207         Likewise.
13208         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13209         Likewise.
13210         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13211         Likewise.
13212         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13213         Likewise.
13214         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13215         Likewise.
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13217         (GLIBC_2.24): Likewise.
13218         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13219         Likewise.
13220         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13221         Likewise.
13222         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13223         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13224         Likewise.
13225         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13226         Likewise.
13227         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13228         Likewise.
13229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13230         (GLIBC_2.24): Likewise.
13231         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13232         Likewise.
13233         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13234         Likewise.
13235         * sysdeps/unix/sysv/linux/Makefile
13236         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13237         (CFLAGS-sendmsg.c): Add rule.
13238         (CFLAGS-recvmsg.c): Likewise.
13239         (CFLAGS-oldsendmsg.c): Likewise.
13240         (CFLAGS-oldrecvmsg.c): Likewise.
13241         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13242         initialization.
13243         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13244         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13245         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13246         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13247         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13248         iovlen and controllen fields to adjust to POSIX specification.
13249         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13250         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13251         added recvmsg and sendmsg.
13252         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13253         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13254         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13255         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13256         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13257         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13258         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13259         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13260         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13261         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13262         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13263         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13265         Likewise.
13266         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13268         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13269         Likewise.
13270         Likewise.
13271         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13272         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13273         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13274         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13275         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13276         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13278         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13280         Likewise.
13281         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13282         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13284         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13285         from auto-generation.
13286         (sendmsg): Likewise.
13287         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13288         (sendmsg): Likewise.
13289         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13290         (sendmsg): Likewise.
13291         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13292         (sendmsg): Likewise.
13293         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13294         (sendmsg): Likewise.
13295         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13296         (sendmsg): Likewise.
13297         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13298         Likewise.
13299         (sendmsg): Likewise.
13300         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13301         (sendmsg): Likewise.
13302         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13304         Remove.
13305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13306         Likewise.
13307         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13308         Undefine.
13309         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13310         Likewise.
13311         * sysdeps/unix/sysv/linux/kernel-features.h
13312         (__ASSUME_SENDMSG_SYSCALL): Define.
13313         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13314         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13316         Remove.
13317         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13318         Likewise.
13319         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13320         Undefine.
13321         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13322         Likewise.
13323         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13325         Remove.
13326         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13327         Likewise.
13328         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13329         Undefine.
13330         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13331         Likewise.
13332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13333         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13334         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13335         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13336         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13337         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13338         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13339         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13340         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13342 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13344         * stdlib/gen-tst-strtod-round.c: Add backslash to
13345         compile command in comment.
13346         (printfp): Remove the literal suffix, and define an infinite
13347         value as INF to avoid expansion clash with INFINITY.
13348         (round_str): Remove the literal suffix.
13349         (round_for_all): Likewise, remove the now duplicate ldbl-64
13350         entry, and remove some magic constants.
13352         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13353         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13354         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13355         (_CONCAT): New macro.
13356         (CONCAT): Likewise.
13357         (CHOOSE_ld): Likewise.
13358         (CHOOSE_f): Likewise.
13359         (CHOOSE_d): Likewise.
13360         (FTYPE_MEMBER): Likewise.
13361         (BOOL_MEMBER): Likewise.
13362         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13363         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13364         (_XNTRY): Likewise.
13365         (XNTRY): Likewise.
13366         (_ENTRY): Likewise.
13367         (ENTRY): Likewise.
13368         (test_exactness): Generate members via macro.
13369         (test_results): Likewise.
13370         (test): Update members.
13371         (TEST): Redefine using new macros.
13372         (INF): New macro.
13373         (fetestmodes): New structure.
13374         (do_test): Refactor to be type generic.
13375         (test_in_one_mode): Refactor duplicate code into
13376         (GEN_ONE_TEST): New macro.
13378         * stdlib/tst-strtod-round-data.h: Regenerate.
13380         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13381         Extend to pass additional arbitrary parameters to
13382         generators.
13384 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13386         [BZ #15479]
13387         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13388         floating-point state after first floating-point operation on
13389         input.  Restore full floating-point state instead of just rounding
13390         mode.
13391         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13392         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13393         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13394         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13395         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13397         [BZ #15479]
13398         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13399         floating-point state after first floating-point operation on
13400         input.  Restore full floating-point state instead of just rounding
13401         mode.
13402         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13403         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13404         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13405         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13406         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13408 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13410         [BZ #19727]
13411         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13412         valid high surrogate.
13413         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13414         of an utf16 surrogate.
13415         * iconv/gconv_simple.c (BODY): Likewise.
13416         * iconvdata/bug-iconv12.c: New file.
13417         * iconvdata/Makefile (tests): Add bug-iconv12.
13419 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13421         [BZ #19726]
13422         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13423         outptrp in case of an illegal input.
13424         * iconv/tst-iconv6.c: New file.
13425         * iconv/Makefile (tests): Add tst-iconv6.
13427 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13429         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13430         an error in case of a value in range of an utf16 low surrogate.
13432 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13434         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13435         an error in case of a value in range of an utf16 low surrogate.
13437 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13439         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13440         Move to ...
13441         * sysdeps/s390/Makefile: ... here.
13442         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13443         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13444         (BRANCH_ON_COUNT): New define.
13445         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13446         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13447         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13448         run on s390-32, too.
13449         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13450         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13451         run on s390-32, too.
13452         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13453         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13454         run on s390-32, too.
13456 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13458         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13459         etf3eh or new vector loop-variant.
13461 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13463         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13464         etf3eh or new vector loop-variant.
13466 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13468         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13469         or new vector loop-variant.
13471 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13473         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13474         Rename to TR_LOOP and usage of tr instead of troo instruction.
13476 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13478         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13479         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13481 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13483         * sysdeps/s390/multiarch/8bit-generic.c: New File.
13484         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
13485         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
13486         New override define.
13487         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
13489 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13491         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
13492         * sysdeps/s390/configure.ac: Add test for S390 vector register
13493         support in gcc.
13494         * sysdeps/s390/configure: Regenerated.
13496 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13498         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
13499         Install file from $(objpfx)gconv-modules.
13500         ($(objpfx)gconv-modules): Concatenate architecture specific file
13501         in variable sysdeps-gconv-modules and gconv-modules in src dir.
13502         * sysdeps/s390/gconv-modules: New file.
13503         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
13504         Deleted.
13505         ($(objpfx)gconv-modules-s390): Deleted.
13506         (sysdeps-gconv-modules): New variable.
13508 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13510         [BZ #15479]
13511         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
13512         of immediate operand to rounding instruction.
13513         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
13514         Likewise.
13515         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
13516         Likewise.
13517         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
13518         Likewise.
13520 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13522         * math/libm-test.inc (MIN_EXP): Directly define as
13523         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
13525 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13527         * math/libm-test.inc (MANT_DIG): Directly define as
13528         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
13530 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13532         * stdlib/gen-tst-strtod-round.c (main):
13533           Change usage to more closely match the generated
13534           output.  Add usage and compilation instructions.
13535           (string_to_fp): Add and use FILE* parameter as
13536           output target.
13537           (print_fp): Likewise.
13538           (round_str): Likewise.
13539           (round_for_all): Likewise.
13540         * stdlib/tst-strtod-round.c (tests): Move into
13541         * stdlib/tst-strtod-round-data.h: New file.
13543 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13545         [BZ #15479]
13546         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
13547         (__round): Do not force "inexact" exception.
13548         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
13549         variable.
13550         (__round): Do not force "inexact" exception.
13551         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
13552         (__roundf): Do not force "inexact" exception.
13553         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
13554         (__roundl): Do not force "inexact" exception.
13555         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
13556         (__roundl): Do not force "inexact" exception.
13557         * math/libm-test.inc (round_test_data): Do not allow spurious
13558         "inexact" exceptions.
13560         [BZ #15479]
13561         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
13562         exception in comment.
13563         (huge): Remove variable.
13564         (__floor): Do not force "inexact" exception.
13565         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
13566         "inexact" exception in comment.
13567         (huge): Remove variable.
13568         (__floor): Do not force "inexact" exception.
13569         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
13570         exception in comment.
13571         (huge): Remove variable.
13572         (__floorf): Do not force "inexact" exception.
13573         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
13574         exception in comment.
13575         (huge): Remove variable.
13576         (__floorl): Do not force "inexact" exception.
13578         [BZ #15479]
13579         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
13580         exception in comment.
13581         (huge): Remove variable.
13582         (__ceil): Do not force "inexact" exception.
13583         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
13584         "inexact" exception in comment.
13585         (huge): Remove variable.
13586         (__ceil): Do not force "inexact" exception.
13587         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
13588         (__ceilf): Do not force "inexact" exception.
13589         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
13590         exception in comment.
13591         (huge): Remove variable.
13592         (__ceill): Do not force "inexact" exception.
13594 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13596         * config.h.in (BIND_NOW): New.
13597         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
13598         * configure: Regenerated.
13599         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
13600         indirect branch via the GOT slot.
13602 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13604         [BZ #19765]
13605         * sysdeps/s390/mempcpy.S: New File.
13606         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13607         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
13608         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13609         Add mempcpy variants.
13610         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
13611         (memcpy): Adjust to be usable from mempcpy entry point.
13612         (__memcpy_mvcle): Likewise.
13613         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13614         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
13615         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
13616         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
13617         (__memcpy_z10): Likewise.
13618         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13620 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13622         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
13623         Remove __GI_ symbol.
13624         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
13625         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
13626         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
13627         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13628         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
13629         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
13631 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13633         * sysdeps/s390/s390-64/memcpy.S (memcpy):
13634         Use cghi instead of chi to compare 64bit value.
13636 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13638         * sysdeps/s390/s390-32/memcpy.S (memcpy):
13639         Jump to 1MB check before executing mvc-loop.
13641 2016-05-24  Florian Weimer  <fweimer@redhat.com>
13643         [BZ #6527]
13644         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
13645         unconditionally.
13646         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
13648 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13650         * stdlib/tst-strtod6.c (do_test): Use new type generic
13651         invocation of the test function.
13652         (test): Refactor into ...
13653         (TEST_STRTOD): New macro base function.
13655 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13657         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
13658         (TEST_STRTOD): New macro.
13659         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
13661 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13663         * stdlib/tst-strtod6.c (do_test): Use new type generic
13664         invocation of the test function.
13665         (test): Refactor into ...
13666         (TEST_STRTOD): New macro base function.
13668 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13670         CVE-2016-4429
13671         [BZ #20112]
13672         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
13673         payload.
13675 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13677         [BZ #20111]
13678         * bits/sockaddr.h (_SS_SIZE): Define.
13679         * bits/socket.h (_SS_SIZE): Remove.
13680         (_SS_PADSIZE): Adjust to account for all padding.
13681         (struct sockaddr_storage): Update comment.  Avoid implicit
13682         padding.
13683         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
13684         (_SS_PADSIZE): Adjust to account for all padding.
13685         (struct sockaddr_storage): Update comment.  Avoid implicit
13686         padding.
13687         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
13688         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
13689         (_SS_PADSIZE): Adjust to account for all padding.
13690         (struct sockaddr_storage): Update comment.  Avoid implicit
13691         padding.
13692         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
13693         __SS_SIZE is 126 in this version.
13694         * inet/tst-sockaddr.c: New file.
13695         * inet/Makefile (tests): Add tst-sockaddr.c
13696         (tst-sockaddr.c): Compile with non-strict aliasing.
13698 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
13700         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
13701         [XPG3 || XPG4].
13702         (NL_ARGMAX): Also expect for [XPG3].
13703         (NL_LANGMAX): Likewise.
13704         (NL_MSGMAX): Likewise.
13705         (NL_NMAX): Likewise.
13706         (NL_SETMAX): Likewise.
13707         (NL_TEXTMAX): Likewise.
13708         (NZERO): Likewise.
13709         (TMP_MAX): Likewise.
13710         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
13711         variable.
13713         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
13714         (PF_MAX): Update value.
13715         (AF_KCM): New macro.
13716         (SOL_NETBEUI): Likewise.
13717         (SOL_LLC): Likewise.
13718         (SOL_DCCP): Likewise.
13719         (SOL_NETLINK): Likewise.
13720         (SOL_TIPC): Likewise.
13721         (SOL_RXRPC): Likewise.
13722         (SOL_PPPOL2TP): Likewise.
13723         (SOL_BLUETOOTH): Likewise.
13724         (SOL_PNPIPE): Likewise.
13725         (SOL_RDS): Likewise.
13726         (SOL_IUCV): Likewise.
13727         (SOL_CAIF): Likewise.
13728         (SOL_ALG): Likewise.
13729         (SOL_NFC): Likewise.
13730         (SOL_KCM): Likewise.
13731         (MSG_BATCH): New enum value and macro.
13733 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
13735         [BZ #18185]
13736         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
13737         sharing L2 cache to 2 for Knights Landing.
13739 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
13741         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
13742         (FTW_DP): Do not expect for [XPG3 || XPG4].
13743         (FTW_SL): Do not expect for [XPG3].
13744         (FTW_SLN): Likewise.
13745         (FTW_PHYS): Likewise.
13746         (FTW_MOUNT): Likewise.
13747         (FTW_DEPTH): Likewise.
13748         (FTW_CHDIR): Likewise.
13749         (nftw): Likewise.
13750         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
13751         variable.
13753 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13755         * manual/errno.texi: Fix various typos & grammar errors.
13757 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13759         * manual/intro.texi: Fix duplicated typo.
13761 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13763         [BZ #13304]
13764         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13765         <float.h>, <math_private.h> and <stdlib.h>.
13766         (add_split): New function.
13767         (mul_split): Likewise.
13768         (ext_val): New typedef.
13769         (store_ext_val): New function.
13770         (mul_ext_val): New function.
13771         (compare): New function.
13772         (add_split_ext): New function.
13773         (__fmal): After checking for Inf, NaN and zero, compute result as
13774         an exact sum of scaled double values in round-to-nearest before
13775         adding those up and adjusting for other rounding modes.
13776         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13777         tests of fma.
13778         * math/auto-libm-test-out: Regenerated.
13780 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13782         [BZ #20119]
13783         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13784         processor level type mask for CPUID with EAX == 11.
13786 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13788         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13789         logical threads if the HTT bit is 0.
13790         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13791         (index_cpu_HTT): Likewise.
13792         (reg_HTT): Likewise.
13794 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13796         [BZ #20115]
13797         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13798         Remove alignments on jump targets.
13800 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13802         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13803         (getpwent): Likewise.
13804         (setpwent): Likewise.
13805         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13806         variable.
13808         * conform/data/search.h-data (insque): Do not expect for [XPG3].
13809         (remque): Likewise.
13810         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
13811         variable.
13813 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13815         * math/libm-test.inc: Update comment not to refer to signs of NaNs
13816         not being tested.
13818 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13820         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13821         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
13822         call.
13823         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13824         (__condvar_cleanup1): Likewise.
13826 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13828         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
13829         New
13830         (__pthread_unwind): Renamed to ...
13831         (PTHREAD_UNWIND): This.
13832         (__pthread_enable_asynccancel): Replace
13833         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
13835 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13837         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
13838         (CLONE_NEWCGROUP): New macro.
13840         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
13841         (Q_GETNEXTQUOTA): New macro.
13843 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13845         [BZ #19907]
13846         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
13847         buffer updated by the previous run.
13848         * string/test-memcpy.c (do_one_test): Likewise.
13849         * benchtests/bench-memmove.c (do_one_test): Add a comment.
13850         * string/test-memmove.c (do_one_test): Likewise.
13852 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
13854         [BZ #20094]
13855         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
13856         not [__USE_XOPEN].
13857         (unlockpt): Likewise.
13858         (ptsname): Likewise.
13859         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
13860         variable.
13862         [BZ #20076]
13863         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
13864         instead of [__USE_UNIX98].
13865         (S_ISSOCK): Likewise.
13866         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
13867         variable.
13869         [BZ #20074]
13870         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
13871         [__USE_POSIX].
13872         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
13873         variable.
13875         [BZ #20051]
13876         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
13877         (ttyslot): Do not declare.
13878         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
13879         (ttyslot): New prototype.
13880         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
13881         variable.
13882         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13884 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13886         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
13888 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13890         Fix race condition in tst-mallocfork2, use fewer resources.
13891         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
13892         to current process group.
13893         (signal_sender): Yield in the non-sleeping case.
13895 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
13897         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
13898         (ecvt): Likewise.
13899         (fcvt): Likewise.
13900         (gcvt): Likewise.
13901         (getsubopt): Likewise.
13902         (grantpt): Likewise.
13903         (initstate): Likewise.
13904         (l64a): Likewise.
13905         (mktemp): Likewise.
13906         (mkstemp): Likewise.
13907         (ptsname): Likewise.
13908         (random): Likewise.
13909         (realpath): Likewise.
13910         (setstate): Likewise.
13911         (srandom): Likewise.
13912         (ttyslot): Likewise.
13913         (unlockpt): Likewise.
13914         (valloc): Likewise.
13916         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
13917         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
13918         variable.
13920 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13922         [BZ #20072]
13923         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
13924         init_cpu_features only if SHARED is defined.
13925         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
13927 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13929         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
13930         non-inclusive caches on Intel processors.
13932 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13934         * malloc/malloc.c (dumped_main_arena_start)
13935         (dumped_main_arena_end): New variables.
13936         (DUMPED_MAIN_ARENA_CHUNK): New macro.
13937         (do_check_chunk): Skip dumped fake mmapped chunks.
13938         (munmap_chunk): Likewise.
13939         (__libc_free): Do not adjust statistics for fake mmapped chunks.
13940         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
13941         mmapped chunks.
13942         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
13943         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
13944         and dumped_main_arena_end to cover the dumped heap.
13946 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
13948         * conform/data/time.h-data (getdate_err): Do not expect for
13949         [XPG3].
13950         (getdate): Likewise.
13951         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
13952         variable.
13954         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
13955         (F_ULOCK): Likewise.
13956         (F_TEST): Likewise.
13957         (F_TLOCK): Likewise.
13958         (useconds_t): Likewise.
13959         (intptr_t): Do not expect for [XPG3] or [XPG4].
13960         (brk): Do not expect for [XPG3]
13961         (fchown): Likewise.
13962         (fchdir): Likewise.
13963         (ftruncate): Likewise.
13964         (getdtablesize): Likewise.
13965         (gethostid): Likewise.
13966         (getpagesize): Likewise.
13967         (getpgid): Likewise.
13968         (getsid): Likewise.
13969         (getwd): Likewise.
13970         (lchown): Likewise.
13971         (lockf): Likewise.
13972         (readlink): Likewise.
13973         (sbrk): Likewise.
13974         (setpgrp): Likewise.
13975         (setregid): Likewise.
13976         (setreuid): Likewise.
13977         (symlink): Likewise.
13978         (sync): Likewise.
13979         (truncate): Likewise.
13980         (ualarm): Likewise.
13981         (usleep): Likewise.
13982         (vfork): Likewise.
13983         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
13984         variable.
13986         [BZ #20054]
13987         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
13988         not [__USE_UNIX98].
13989         * conform/data/unistd.h-data (gethostname): Do not expect for
13990         [XPG3].
13992         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
13993         [!POSIX] (S_IFBLK): Likewise.
13994         [!POSIX] (S_IFCHR): Likewise.
13995         [!POSIX] (S_IFIFO): Likewise.
13996         [!POSIX] (S_IFREG): Likewise.
13997         [!POSIX] (S_IFDIR): Likewise.
13998         [!POSIX] (S_IFLNK): Likewise.
13999         [!POSIX] (S_IFSOCK): Likewise.
14000         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14001         variable.
14002         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14004 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14006         * sysdeps/aarch64/memset.S (__memset):
14007         Rewrite of optimized memset.
14009 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14011         [BZ #19703]
14012         Partially async-signal-safe fork for single-threaded processes.
14013         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14014         variable.  Do not acquire and reset/release malloc and libio locks
14015         in single-threaded processes.
14016         * malloc/tst-mallocfork2.c: New file.
14017         * malloc/Makefile (tests): Add it.
14019 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14021         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14022         argument.  Use scratch buffer instead of extend_alloca.
14023         (gethosts): Use scratch buffer instead of extend_alloca.
14024         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14025         extend_alloca.
14026         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14028 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14030         [BZ #20055]
14031         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14032         instead of [__USE_UNIX98].
14033         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14034         [__USE_UNIX98].
14035         * conform/data/termios.h-data (tcgetsid): Do not expect for
14036         [XPG3].
14037         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14038         variable.
14039         (test-xfail-XPG4/termios.h/conform): Likewise.
14041 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14043         Do not use mcheck in localedef.
14044         * locale/programs/localedef.c (turn_on_mcheck)
14045         (__malloc_initialize_hook): Remove.
14047 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14049         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14050         * sysdeps/s390/s390-64/Makefile: Likewise.
14052 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14054         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14055         Remove ifunc-defines.sym.
14056         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14057         Likewise.
14058         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14059         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14060         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14061         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14062         rtld-global-offsets.sym.
14063         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14064         * sysdeps/x86/cpu-features-offsets.sym: This.
14065         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14066         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14068 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14070         [BZ #20073]
14071         * io/sys/stat.h (fchmod): Declare for
14072         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14073         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14074         variable.
14076         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14077         [XPG3] (S_IFSOCK): Likewise.
14078         [XPG3] (S_ISVTX): Likewise.
14079         [XPG3] (S_ISLNK): Likewise.
14080         [XPG3] (S_ISSOCK): Likewise.
14081         [XPG3] (fchmod): Likewise.
14082         [XPG3] (lstat): Likewise.
14083         [XPG3] (mknod): Likewise.
14085         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14086         [XPG3].  Expect type long and XFAIL for [XPG4].
14087         (st_blocks): Likewise.
14089         [BZ #20044]
14090         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14091         (pthread_atfork): New prototype.
14092         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14093         variable.
14095         [BZ #20043]
14096         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14097         prototype.
14099 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14101         [BZ #20017]
14102         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14103         gmtime.
14105 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14107         [BZ #19994]
14108         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14109         flag in _res.options.
14111 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14113         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14114         [XPG3 || XPG4].
14115         (blksize_t): Likewise.
14116         (clockid_t): Likewise.
14117         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14118         variable.
14119         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14121 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14123         * sysdeps/unix/sysv/linux/s390/init-first.c:
14124         Add VDSO_SYMBOL(getcpu).
14125         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14126         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14127         Add VDSO_SYMBOL(getcpu).
14128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14129         New define HAVE_GETCPU_VSYSCALL.
14130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14132 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14134         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14135         instead of <sysdeps/x86_64/cacheinfo.c>.
14136         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14137         * sysdeps/x86/cacheinfo.c: Here.
14139 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14141         * malloc/malloc-internal.h: Adjust header file guard.
14143 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14145         [BZ #19787]
14146         * inet/getnameinfo.c (check_sprintf_result): New function.
14147         (CHECKED_SNPRINTF): New macro.
14148         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14149         to the host buffer.
14150         (gni_host_local): Use checked_copy to copy the host name.
14151         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14152         (gni_serv_local): Use checked_copy to copy the service name.
14153         (getnameinfo): Remove unnecessary truncation of result buffers.
14155 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14157         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14158         in case of inet_ntop failure.
14160 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14162         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14163         avoid long lines.
14164         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14165         variables.
14166         (gni_host_inet, gni_host_local): Add comment.
14167         (gni_host): Add comment.  Use temporary to avoid long lines.
14169 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14171         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14172         registers specifiers where general purpose registers specifiers should
14173         have been used.
14175 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14177         [BZ #19779]
14178         CVE-2016-1234
14179         Avoid copying names of directory entries.
14180         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14181         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14182         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14183         (struct readdir_result): New type.
14184         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14185         (GL_READDIR): New macros.
14186         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14187         (convert_dirent, convert_dirent64): New functions.
14188         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14189         convert_dirent64.  Adjust references to the readdir result.
14190         * sysdeps/unix/sysv/linux/i386/glob64.c:
14191         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14192         * posix/bug-glob2.c (LONG_NAME): Define.
14193         (filesystem): Add LONG_NAME.
14194         (my_DIR): Increase the size of room_for_dirent.
14196 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14198         [BZ #20041]
14199         * misc/sys/select.h (__need_timespec): Only define if
14200         [__USE_XOPEN2K].
14201         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14202         variable.
14203         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14204         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14205         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14207 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14208             Segher Boessenkool  <segher@gcc.gnu.org>
14210         [BZ #20004]
14211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14212         (__novec_swapcontext): Add missing load.
14214 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14216         [BZ #20023]
14217         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14218         <time.h>.
14219         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14220         variable.
14221         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14223 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14226         flags CLONE_VM compare.
14228 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14230         [BZ #20031]
14231         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14232         completely empty.
14234 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14236         [BZ #19573]
14237         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14238         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14239         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14240         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14241         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14242         (hesiod_free_list): Mark as hidden.
14243         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14244         res_set, res_get.
14245         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14246         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14247         (hesiod_init): Remove obsolete res_ninit call.
14248         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14249         (hesiod_bind): Do not call init.
14250         (get_txt_records): Use res_mkquery, res_send instead of
14251         res_nmkquery, res_nsend.
14252         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14253         instead of _nss_hesiod_init.
14254         (_nss_hesiod_initgroups_dyn): Likewise.
14255         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14256         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14257         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14259 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14261         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14262         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14264 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14266         * hesiod/hesiod.h: Remove RCS keyword.
14267         * hesiod/hesiod_p.h: Likewise.
14269         * hesiod/hesiod.c: Likewise.
14271 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14273         [BZ #12450]
14274         * locale/iso-639.def: Add Samogitian/sgs.
14276 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14278         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14280         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14282 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14283             Carlos O'Donell  <carlos@redhat.com>
14285         [BZ #19072]
14286         * grp/Makefile (headers): Add grp-merge.h
14287         (routines): Add grp-merge.
14288         * grp/getgrgid_r.c: Include grp-merge.h.
14289         (DEEPCOPY_FN): Define.
14290         (MERGE_FN): Define.
14291         * grp/getgrname_r.c: Include grp-merge.h.
14292         (DEEPCOPY_FN): Define.
14293         (MERGE_FN): Define.
14294         * grp/grp-merge.c: New file.
14295         * grp/grp-merge.h: New file.
14296         * include/grp-merge.h: New file.
14297         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14298         __copy_grp@GLIBC_PRIVATE.
14299         * manual/nss.texi (Actions in the NSS configuration): Describe
14300         return, continue, and merge.
14301         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14302         (DEEPCOPY_FN): Define.
14303         (MERGE_FN): Define.
14304         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14305         (DEEPCOPY_FN): Define.
14306         (MERGE_FN): Define.
14307         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14308         [!MERGE_FN]: Define __merge_einval.
14309         (CHECK_MERGE): Define.
14310         (REENTRANT_NAME): Process merge if do_merge is true.
14311         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14312         (__nss_getent_r): Likewise.
14313         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14314         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14316 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14318         [BZ #20012]
14319         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14320         length to calculate the buffer to read.
14321         (fmemopen_write): Set the buffer position based on bytes written.
14322         (fmemopen_seek): Return EINVAL for invalid whence modes.
14324         [BZ #19957]
14325         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14326         tst-getpid2.
14327         (test): Add tst-clone2.
14328         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14329         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14330         pid/tid fields for CLONE_VM.
14331         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14332         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14333         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14334         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14335         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14336         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14337         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14338         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14340         Likewise.
14341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14342         Likewise.
14343         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14344         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14345         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14346         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14347         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14348         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14349         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14350         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14352 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14354         [BZ #19642]
14355         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14356         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14357         (gni_serv_local, gni_serv): New functions extracted from
14358         getnameinfo.
14359         (getnameinfo): Call gni_host and gni_serv to perform the
14360         processing.  Always free scratch buffer.
14362 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14364         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14365         remaining bytes in the dest string, with zeros.
14367 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14369         [BZ #20010]
14370         CVE-2016-3706
14371         * sysdeps/posix/getaddrinfo.c
14372         (convert_hostent_to_gaih_addrtuple): New function.
14373         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14374         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14375         AF_INET data.
14377 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14379         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14380         callback function gl_readdir.
14381         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14382         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14383         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14384         memcpy to copy the name.
14385         * manual/pattern.texi (Calling Glob): Document requirements for
14386         implementations of the gl_readdir callback function.
14387         * manual/examples/mkdirent.c: New example.
14388         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14389         per the manual guidance.
14390         * posix/tst-gnuglob.c (my_readdir): Likewise.
14392 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14394         [BZ #20014]
14395         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14396         not [__USE_POSIX].
14397         (getchar_unlocked): Likewise.
14398         (putc_unlocked): Likewise.
14399         (putchar_unlocked): Likewise.
14400         (flockfile): Likewise.
14401         (ftrylockfile): Likewise.
14402         (funlockfile): Likewise.
14403         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14404         variable.
14405         (test-xfail-XPG4/stdio.h/conform): Likewise.
14407         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14408         Expect constant.
14409         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14410         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14411         variable.
14412         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14413         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14415         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14416         [__USE_LARGEFILE64] (off64_t): Likewise.
14417         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14418         variable.
14420 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14422         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14424 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14426         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14427         * resolv/res_init.c: Likewise.
14428         * resolv/res_mkquery.c: Likewise.
14430 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14432         * resolv/res_init.c (isascii): Do not define.  Use definition in
14433         <ctype.h>.
14434         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14435         (LOG_AUTH): Remove.
14436         (SPRINTF): Remove, adjust caller.
14437         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14439 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14441         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14442         SUNSECURITY conditional.
14443         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14445 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14447         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14448         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14449         Remove BSD-related preprocessor conditionals.
14450         * conf/portability.h: Remove.
14452 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14454         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14455         * resolv/res_data.c: Likewise.
14457 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14459         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14460         * resolv/res_data.c: Remove code conditional on ultrix.
14462 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14464         * resolv/res_init.c (RFC1535): Do not define.  Remove
14465         RFC1535 preprocessor conditionals.
14466         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14467         because there configuration options which make the resolver
14468         behavior different.
14470 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14472         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14473         RESOLVSORT preprocessor conditionals.
14474         * resolv/nss_dns/dns-host.c: Likewise.
14475         * resolv/res_init.c: Likewise.
14477 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14479         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14480         is never defined.
14482 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14484         * inet/inet_lnaof.c: Remove SCSS keyword.
14485         * inet/inet_mkadr.c: Likewise.
14486         * inet/inet_net.c: Likewise.
14487         * inet/inet_netof.c: Likewise.
14488         * inet/rcmd.c: Likewise.
14489         * inet/rexec.c: Likewise.
14490         * inet/ruserpass.c: Likewise.
14492 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14494         * resolv/inet_addr.c: Remove _LIBC conditionals.
14495         * resolv/res_data.c: Likewise.
14496         * resolv/res_init.c: Likewise.
14497         * resolv/res_mkquery.c: Likewise.
14498         * resolv/res_libc.c: Update comment.
14499         * resolv/README: Update.
14501 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14503         * resolv/gethnamaddr.c: Remove SCSS keyword.
14504         * resolv/herror.c: Likewise.
14505         * resolv/inet_addr.c: Likewise.
14506         * resolv/inet_net_ntop.c: Likewise.
14507         * resolv/inet_net_pton.c: Likewise.
14508         * resolv/inet_neta.c: Likewise.
14509         * resolv/inet_ntop.c: Likewise.
14510         * resolv/inet_pton.c: Likewise.
14511         * resolv/ns_date.c: Remove RCS keyword.
14512         * resolv/ns_name.c: Likewise.
14513         * resolv/ns_netint.c: Likewise.
14514         * resolv/ns_parse.c: Likewise.
14515         * resolv/ns_print.c: Likewise.
14516         * resolv/ns_samedomain.c: Likewise.
14517         * resolv/ns_ttl.c: Likewise.
14518         * resolv/nsap_addr.c: Likewise.
14519         * resolv/res_comp.c: Remove SCSS and RCS keyword.
14520         * resolv/res_data.c: Remove RCS keyword.
14521         * resolv/res_debug.c: Remove SCSS and RCS keyword.
14522         * resolv/res_init.c: Likewise.
14523         * resolv/res_mkquery.c: Likewise.
14524         * resolv/res_query.c: Likewise.
14525         * resolv/res_send.c: Likewise.
14527 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14529         * conform/data/stdio.h-data (fdopen): Expect also for
14530         [XPG3 || XPG4].
14532         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
14533         (fseeko): Likewise.
14534         (ftello): Likewise.
14535         (ftrylockfile): Likewise.
14536         (funlockfile): Likewise.
14537         (getc_unlocked): Likewise.
14538         (getchar_unlocked): Likewise.
14539         (putc_unlocked): Likewise.
14540         (putchar_unlocked): Likewise.
14542 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14544         [BZ #19868]
14545         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
14546         DNS packet syntax checks (which were not needed before).  Skip
14547         over non-PTR records.
14549 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14551         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
14552         definition.  Include <stddef.h> instead.
14554 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14556         [BZ #19831]
14557         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
14558         function.
14559         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
14560         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
14562 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14564         [BZ #19862]
14565         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
14566         (getanswer_r): Do not call syslog.
14567         (gaih_getanswer_slice): Likewise.
14568         * resolv/gethnamaddr.c (AskedForGot): Remove.
14569         (getanswer): Do not call syslog.
14570         (gethostbyaddr): Likewise.
14572 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14574         * conform/data/signal.h-data (union sigval): Expect also if
14575         [XOPEN2K].
14576         (struct sigevent): Likewise.
14577         (SIGEV_NONE): Likewise.
14578         (SIGEV_SIGNAL): Likewise.
14579         (SIGEV_THREAD): Likewise.
14580         (SIGRTMIN): Likewise.
14581         (SIGRTMAX): Likewise.
14582         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
14583         variable.
14584         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14586 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14588         [BZ #19830]
14589         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
14590         (gaih_getanswer_slice): Likewise.
14591         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
14592         Also check for availability of RR metadata.
14594 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14596         [BZ #19825]
14597         * resolv/res_send.c (send_vc): Remove early *resplen2
14598         initialization.  Set *resplen2 on socket error.  Call
14599         close_and_return_error for other errors.
14601 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
14603         * sysdeps/unix/sysv/linux/netiucv/iucv.h
14604         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
14605         (SCM_IUCV_TRGCLS): New define.
14607 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14609         [BZ #20005]
14610         * libio/fmemopen.c (fmemopen_write): Update internal position after
14611         write.
14612         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
14613         * stdio-common/tst-fmemopen4.c: New file..
14615 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
14617         [BZ #19996]
14618         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
14619         not [__USE_XOPEN2K].
14620         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
14621         variable.
14623         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
14624         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
14625         variable.
14627         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
14628         [__USE_XOPEN2K8].
14629         [__USE_LARGEFILE64] (off64_t): Likewise.
14630         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
14631         variable.
14633 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
14635         [BZ #19989]
14636         * libio/stdio.h (cuserid): Do not declare if
14637         [__USE_XOPEN2K && !__USE_GNU].
14638         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
14639         variable.
14641 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14643         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14644         (sysdep_routines): Add P8 and PPC64 strcspn targets.
14645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14646         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14647         ifunc'ed strcspn.
14648         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14649         [EALIGN]: Removed.
14650         [END]: Likewise
14651         [STRSPN]: Define instead of the above to control symbol name.
14652         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
14653         New file.
14654         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
14655         Likewise.
14656         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
14657         Likewise.
14658         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
14659         Likewise.
14660         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14661         [INITIAL_MASK]: New macro.
14662         [STRCSPN]: Likewise.
14663         [UPDATE_MASK]: Likewise.
14664         [USE_AS_STRCSPN]: Likewise.
14666 2016-04-25  Florian Weimer  <fweimer@redhat.com>
14668         [BZ #19931]
14669         * stdio-common/tst-vfprintf-width-prec.c: New file.
14670         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
14671         (tests-special): Add tst-vfprintf-width-prec-mem.out.
14672         (generated): Add mtrace-related files.
14673         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
14674         (tst-%-mem.out): New pattern rule, replaces
14675         tst-printf-bz18872-mem.out.
14676         * stdio-common/vfprintf.c (vfprintf): When handling a precision
14677         specifier, deallocate any previously allocated work buffer.
14679 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14681         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
14682         Add nop before __startcontext, add explaining comments.
14684 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
14686         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
14687         any more. Notably since IPV6_PKTINFO has been reintroduced with a
14688         completely different API.
14690         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
14691         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
14692         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
14693         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
14694         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
14695         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
14696         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
14697         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
14698         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
14699         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
14701 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
14703         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
14705 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
14707         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
14708         when it is the default of 0.
14710 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14712         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
14713         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14714         (sysdep_routines): Add new strcasestr targets.
14715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14716         (__libc_ifunc_impl_list): Likewise.
14717         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
14718         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
14719         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
14720         * sysdeps/powerpc/powerpc64/power8/Makefile:
14721         New file to add strcasestr-ppc64 to sysdep_routines.
14722         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
14723         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
14725 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
14727         * benchtests/Makefile (wcsmbs-benchset): Include only for
14728         native builds and runs.
14729         (LOCALES): Likewise.
14730         (bench-build): Build timing-type here instead of the bench
14731         target.  Generate locale only for native builds.
14732         * benchtests/README: Add note for cross-building.
14734         * benchtests/Makefile (bench-clean): Clean up extra-objs.
14736         * benchtests/README: Update README to include instructions on
14737         using bench-build.
14739         * Makefile.in (bench-build): New target.
14740         * Rules (PHONY): Add bench-build target.
14741         * benchtests/Makefile (bench): Depend on bench-build.
14742         (bench-build): New target.
14744 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14746         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
14747         profil_reply_port.
14748         (profile_waiter): Do not initialize profil_reply_port.
14749         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
14750         frequency instead of tick length in us.
14752 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
14754         [BZ #18712]
14755         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
14756         (__old_mempcpy_small): Likewise.
14757         (__old_strcpy_small): Likewise.
14758         (__old_stpcpy_small): Likewise.
14759         (__old_strpbrk_c2): Fix compat symbol name.
14760         (__old_strpbrk_c3): Likewise.
14761         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
14762         (__mempcpy_small): Remove.
14763         (__strcpy_small): Remove.
14764         (__stpcpy_small): Remove.
14766 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14768         [BZ #19400]
14769         * locale/iso-639.def: Add the Talossan/tzl language.
14771 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14773         [BZ #16983]
14774         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14775         comment.  Add "ln" to strchr check on postal_fmt.
14777 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14779         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14780         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14781         tel_dom_fmt.
14783 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14785         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14786         (sysdep_routines): Added __strlen_power8.
14787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14788         __strlen_power8 entry.
14789         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14790         Implementation for POWER8.
14791         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14792         for __strlen_power8.
14793         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14794         Implementation for POWER8.
14796 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14798         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14800 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14802         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14803         Goldmont and Airmont processors.
14805 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
14807         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
14808         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
14809         (__STRING2_SMALL_GET32): Remove.
14810         (memset): Remove.
14811         (__memset_1): Remove.
14812         (__memset_gc): Remove.
14813         (__mempcpy): Remove.
14814         (mempcpy): Remove.
14815         (__mempcpy_args): Remove.
14816         (strchr): Remove.
14817         (strcpy): Remove.
14818         (strcpy_args): Remove.
14819         (__stpcpy_args): Remove.
14820         (__strcmp_cc): Remove.
14821         (__strcmp_gc): Remove.
14822         (strstr): Remove.
14824 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
14826         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
14827         * nis/nis_call.c (nis_server_cache_add): Likewise.
14829 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14831         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
14833 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14835         * malloc/arena.c (__malloc_fork_lock_parent)
14836         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
14837         internal_function attribute.
14839 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
14841         * stdio-common/printf_fp.c (__printf_fp_l):
14842         Rename ___printf_fp_l to __printf_fp_l and
14843         remove strong alias. Use libc_hidden_def instead
14844         of ldbl_hidden_def macro.
14846 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14848         Remove malloc hooks from fork handler.  They are no longer needed
14849         because malloc runs right before fork, and no malloc calls from
14850         other fork handlers are not possible anymore.
14851         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
14852         declarations.
14853         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
14854         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
14855         (atfork_recursive_cntr): Remove.
14856         (__malloc_fork_lock_parent): Do not override malloc hooks and
14857         thread_arena.
14858         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
14859         thread_arena.
14860         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
14861         thread_arena instead of save_arena.
14863 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14865         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
14866         (thread_atfork, thread_atfork_static): Remove.
14867         * sysdeps/mach/hurd/malloc-machine.h:
14868         (thread_atfork, thread_atfork_static): Remove.
14870 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14872         [BZ #19431]
14873         Run the malloc fork handler as late as possible to avoid deadlocks.
14874         * malloc/malloc-internal.h: New file.
14875         * malloc/malloc.c: Include it.
14876         * malloc/arena.c (ATFORK_MEM): Remove.
14877         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
14878         Update comment.
14879         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
14880         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
14881         Remove outdated comment.
14882         (ptmalloc_init): Do not call thread_atfork.  Remove
14883         thread_atfork_static.
14884         * malloc/tst-malloc-fork-deadlock.c: New file.
14885         * Makefile (tests): Add tst-malloc-fork-deadlock.
14886         (tst-malloc-fork-deadlock): Link against libpthread.
14887         * manual/memory.texi (Aligned Memory Blocks): Update safety
14888         annotation comments.
14889         * sysdeps/nptl/fork.c (__libc_fork): Call
14890         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14891         __malloc_fork_unlock_child.
14892         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
14894 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14896         [BZ #19613]
14897         Remove union wait.
14898         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
14899         (w_stopsig, w_stopval): Remove.
14900         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
14901         stat_loc argument.
14902         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
14903         (__WAIT_STATUS_DEFN): Remove.
14904         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14905         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
14906         (wait, wait3, wait4): Use int * for the stat_loc argument.
14907         * posix/wait.c (__wait): Likewise.
14908         * posix/wait3.c (__wait3): Likewise.
14909         * posix/wait4.c (__wait4): Likewise.
14910         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
14911         (__WAIT_STATUS_DEFN): Remove.
14912         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14913         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
14914         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
14915         argument.
14916         * sysdeps/posix/wait.c (__libc_wait): Likewise.
14917         * sysdeps/posix/wait3.c (__wait3): Likewise.
14918         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
14919         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14920         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
14921         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
14922         stat_loc argument.
14923         * manual/process.texi (BSD Wait Functions): Remove union wait.
14925 2016-04-13  Andreas Schwab  <schwab@suse.de>
14927         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
14928         (test-extras): Add tst-tlsalign-vars.
14929         * math/Makefile: Wrap long lines.
14930         (libm-vec-test-wrappers): Define.
14931         (test-extras): Add $(libm-vec-test-wrappers).
14932         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
14933         * nss/Makefile (extra-test-objs): Add nss_test1.os.
14934         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
14935         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
14936         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
14937         (extra-test-objs): Add corresponding objects.
14939 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
14941         [BZ #19928]
14942         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
14943         New.
14944         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
14945         times of shared cache size.
14946         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
14947         (VMOVNT): New.
14948         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
14949         (VMOVNT): Likewise.
14950         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14951         (VMOVNT): Likewise.
14952         (VMOVU): Changed to movups for smaller code sizes.
14953         (VMOVA): Changed to movaps for smaller code sizes.
14954         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
14955         comments.
14956         (PREFETCH): New.
14957         (PREFETCH_SIZE): Likewise.
14958         (PREFETCHED_LOAD_SIZE): Likewise.
14959         (PREFETCH_ONE_SET): Likewise.
14960         Rewrite to use forward and backward loops, which move 4 vector
14961         registers at a time, to support overlapping addresses and use
14962         non temporal store if size is above the threshold and there is
14963         no overlap between destination and source.
14965 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
14967         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
14968         Include dl-vdso.
14969         * sysdeps/unix/sysv/linux/mips/Versions: Add
14970         __vdso_clock_gettime.
14971         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
14972         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
14973         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
14974         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
14975         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
14976         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
14977         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14978         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14979         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14981 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14983         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
14984         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
14985         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14986         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14987         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14988         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14991         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
14992         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
14993         syscalls generation.
14994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14995         [__NR_pwrite64] (__NR_write): Remove define.
14996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14997         [__NR_pwrite64] (__NR_write): Remove define.
14998         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
14999         Remove define.
15000         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15001         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15002         Remove define.
15003         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15004         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15005         Linux implementation as base.
15006         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15008         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15009         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15010         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15011         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15014         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15015         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15016         syscall generation.
15017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15018         [__NR_pread64] (__NR_pread): Remove define.
15019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15020         [__NR_pread64] (__NR_pread): Likewise.
15021         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15022         define.
15023         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15024         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15025         Remove define.
15026         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15027         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15028         Linux implementation as base.
15029         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15030         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15031         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15033         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15034         definition.
15035         (__ALIGNMENT_COUNT): Likewise.
15036         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15037         (__ALIGNMENT_COUNT): Likewise.
15038         (SYSCALL_LL): New define.
15039         (SYSCALL_LL64): Likewise.
15040         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15041         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15042         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15043         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15045         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15046         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15047         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15048         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15049         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15050         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15052 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15054         [BZ #19865]
15055         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15056         original buffer before retry.
15058 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15060         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15061         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15062         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15063         GLRO(dl_auxv) list.
15064         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15065         including <ldsodefs.h>.
15066         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15068 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15070         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15071         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15072         $(CPPFLAGS).
15074 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15076         [BZ #17950]
15077         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15078         Add -mfpmath=387.
15080 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15082         * sysdeps/i386/configure.ac: Change == to = when calling test.
15083         * sysdeps/x86_64/configure.ac: Likewise.
15084         * sysdeps/i386/configure: Regenerated.
15085         * sysdeps/x86_64/configure: Likewise.
15087 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15089         [BZ #16137]
15090         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15091         * benchtests/bench-strcoll.c (input_files): Likewise.
15092         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15093         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15094         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15096 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15098         [BZ #19929]
15099         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15100         [__USE_XOPEN2K8 && !__USE_GNU].
15101         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15102         variable.
15104         [BZ #19925]
15105         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15106         define if [!__USE_MISC && __USE_XOPEN2K].
15107         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15108         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15109         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15110         Likewise.
15111         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15112         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15113         variable.
15114         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15116 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15118         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15119         (sysdep_routines): Add new strspn targets.
15120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15121         (__libc_ifunc_impl_list): Add strspn.
15122         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15123         New file.
15124         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15125         Likewise.
15126         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15127         Likewise.
15128         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15129         Likewise.
15131 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15133         * misc/hsearch_r.c: Include <limits.h>.
15135 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15137         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15139 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15141         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15142         (MEMCPY_SYMBOL): New.
15143         (MEMPCPY_SYMBOL): Likewise.
15144         (MEMMOVE_CHK_SYMBOL): Likewise.
15145         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15146         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15147         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15148         Provide alias for memcpy in libc.a and ld.so.
15150 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15152         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15153         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15154         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15155         Disabled fro now.
15156         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15157         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15159 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15161         * benchtests/Makefile (string-benchset): Add memcpy-large,
15162         memmove-large and memset-large.
15163         * benchtests/bench-memcpy-large.c: New file.
15164         * benchtests/bench-memmove-large.c: Likewise.
15165         * benchtests/bench-memmove-large.c: Likewise.
15166         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15168 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15170         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15171         32-bit displacement to avoid long nop between instructions.
15173 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15175         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15176         a comment on VMOVU and VMOVA.
15178 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15180         [BZ #19633]
15181         Use specified locale for number formatting in strfmon_l.
15182         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15183         (__nl_lookup_word): New inline functions.
15184         * include/printf.h (__print_fp_l): Declare.
15185         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15186         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15187         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15188         (___printf_fp): New function.
15189         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15190         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15191         * stdlib/tst-strfmon_l.c (do_test): New test.
15192         * stdlib/Makefile (tests): Add kt.
15193         (LOCALES): Build additional locales.
15194         (tst-strfmon_l.out): Require locales.
15196 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15198         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15199         if not in libc.
15200         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15201         Likewise.
15202         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15203         Likewise.
15204         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15205         Likewise.
15207 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15209         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15210         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15211         with unaligned_erms.
15212         (__memmove_erms): Skip if source == destination.
15213         (__memmove_unaligned_erms): Don't check source == destination
15214         first.
15216 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15218         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15219         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15221 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15223         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15224         * string/strspn.c (strspn): Likewise.
15226 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15228         * benchtests/bench-memset.c (do_test): Support 64-byte
15229         alignment.
15230         (test_main): Test 64-byte alignment.
15232 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15234         * benchtests/bench-memmove.c (test_main): Test 64-byte
15235         alignment.
15237 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15239         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15241 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15243         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15244         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15245         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15247         * string/strpbrk.c (strpbrk): Rewrite function.
15248         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15249         (__strpbrk_c2): Likewise.
15250         (__strpbrk_c3): Likewise.
15251         * string/string-inlines.c
15252         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15253         Likewise.
15254         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15255         Likewise.
15257         * string/strspn.c (strcspn): Rewrite function.
15258         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15259         (__strspn_c1): Remove inline function.
15260         (__strspn_c2): Likewise.
15261         (__strspn_c3): Likewise.
15262         * string/string-inlines.c
15263         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15264         compatibility symbol.
15265         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15266         Likewise.
15267         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15268         Likewise.
15269         * string/string-inlines.c: Include generic version.
15271 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15272             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15274         * string/Version (libc): Add GLIBC_2.24.
15275         * string/strcspn.c (strcspn): Rewrite function.
15276         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15277         (__strcspn_c1): Remove inline function.
15278         (__strcspn_c2): Likewise.
15279         (__strcspn_c3): Likewise.
15280         * string/string-inline.c
15281         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15282         compatibility symbol.
15283         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15284         Likewise.
15285         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15286         Likewise.
15287         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15289 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15291         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15292         Use ahi instead of aghi to adjust stack pointer.
15294 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15296         [BZ #19853]
15297         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15298         TEST to take significant digits as second parameter.
15299         [TEST]: Redefine in terms of TEST_N taking 30
15300         significant digits.
15301         (do_test): Add test case to demonstrate precision
15302         failure in the ldbl-128ibm printf.
15303         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15304         (__mpn_extract_long_double): Carry 7 extra intermediate
15305         bits of precision to aide computing difference when
15306         signs differ.
15308 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15310         [BZ #19881]
15311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15312         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15313         memset-avx512-unaligned-erms.
15314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15315         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15316         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15317         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15318         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15319         __memset_sse2_unaligned_erms, __memset_erms,
15320         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15321         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15322         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15323         file.
15324         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15325         Likewise.
15326         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15327         Likewise.
15328         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15329         Likewise.
15331 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15333         [BZ #19776]
15334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15335         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15336         memmove-avx512-unaligned-erms.
15337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15338         (__libc_ifunc_impl_list): Test
15339         __memmove_chk_avx512_unaligned_2,
15340         __memmove_chk_avx512_unaligned_erms,
15341         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15342         __memmove_chk_sse2_unaligned_2,
15343         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15344         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15345         __memmove_avx512_unaligned_erms, __memmove_erms,
15346         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15347         __memcpy_chk_avx512_unaligned_2,
15348         __memcpy_chk_avx512_unaligned_erms,
15349         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15350         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15351         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15352         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15353         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15354         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15355         __mempcpy_chk_avx512_unaligned_erms,
15356         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15357         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15358         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15359         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15360         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15361         __mempcpy_erms.
15362         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15363         file.
15364         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15365         Likewise.
15366         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15367         Likewise.
15368         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15369         Likewise.
15371 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15373         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15374         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15375         (La_s390_64_regs): Likewise.
15376         (La_s390_32_retval): Append vector register lrv_v24.
15377         (La_s390_64_retval): Likeweise.
15378         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15379         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15380         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15381         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15383 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15385         [BZ #19916]
15386         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15387         to create a non-vector/vector version for _dl_runtime_resolve and
15388         _dl_runtime_profile. Move implementation to ...
15389         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15390         (_dl_runtime_resolve) Save and restore fpr/vrs.
15391         (_dl_runtime_profile) Save and restore vrs and fix some issues
15392         if _dl_call_pltexit is called.
15393         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15394         Choose the correct resolver function if running on a machine with vx.
15395         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15396         to create a non-vector/vector version for _dl_runtime_resolve and
15397         _dl_runtime_profile. Move implementation to ...
15398         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15399         (_dl_runtime_resolve) Save and restore fpr/vrs.
15400         (_dl_runtime_profile) Save and restore vrs and fix some issues
15401         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15402         Choose the correct resolver function if running on a machine with vx.
15404 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15406         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15408 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15410         [BZ #19509]
15411         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15412         skip_map != NULL.
15413         * elf/tst-dlsym-error.c: New file.
15414         * elf/Makefile (tests): Add tst-dlsym-error.
15415         (tst-dlsym-error): Link against libdl.
15417 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15420         (__ASSUME_FUTIMESAT): Remove macro.
15421         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15423 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15425         [BZ #19879]
15426         CVE-2016-3075
15427         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15428         copy name.
15430 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15432         [BZ #19837]
15433         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15434         error if parse_line fails.
15436 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15438         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15439         (index_cpu_ERMS): Likewise.
15440         (reg_ERMS): Likewise.
15442 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15444         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15445         PER_LINUX_FDPIC): Add.
15447 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15450         memcpy-avx512-no-vzeroupper.
15451         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15452         to ...
15453         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15454         (MEMCPY): Don't define.
15455         (MEMCPY_CHK): Likewise.
15456         (MEMPCPY): Likewise.
15457         (MEMPCPY_CHK): Likewise.
15458         (MEMPCPY_CHK): Renamed to ...
15459         (__mempcpy_chk_avx512_no_vzeroupper): This.
15460         (MEMPCPY_CHK): Renamed to ...
15461         (__mempcpy_chk_avx512_no_vzeroupper): This.
15462         (MEMCPY_CHK): Renamed to ...
15463         (__memmove_chk_avx512_no_vzeroupper): This.
15464         (MEMCPY): Renamed to ...
15465         (__memmove_avx512_no_vzeroupper): This.
15466         (__memcpy_avx512_no_vzeroupper): New alias.
15467         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15469 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15471         [BZ #18858]
15472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15473         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15474         and mempcpy-avx512-no-vzeroupper.
15475         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15476         New.
15477         (MEMPCPY): Likewise.
15478         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15479         (MEMPCPY_CHK): New.
15480         (MEMPCPY): Likewise.
15481         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15482         (MEMPCPY): Likewise.
15483         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
15484         (MEMPCPY): Likewise.
15485         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
15486         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
15487         Likewise.
15488         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
15489         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
15491 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15492              Amit Pawar  <Amit.Pawar@amd.com>
15494         [BZ #19583]
15495         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15496         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
15497         processors.  Set Fast_Copy_Backward for AMD Excavator
15498         processors.
15499         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
15500         New.
15501         (index_arch_Fast_Unaligned_Copy): Likewise.
15502         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
15503         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
15505 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15507         [BZ #19791]
15508         * resolv/res_send.c (close_and_return_error): New function.
15509         (send_dg): Initialize *resplen2 after reopen failure.  Call
15510         close_and_return_error for error returns.  On error paths without
15511         __res_iclose, initialze *resplen2 explicitly.  Update comment for
15512         successful return.
15514 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15516         [BZ# 19860]
15517         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
15518         zero if the compiler does not provide the AVX512F bit.
15520 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
15522         [BZ #19848]
15523         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
15524         from 8 to 4.
15525         (__ieee754_powl): Compare integer exponent against 4 not 8.
15526         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
15527         from 8 to 4.
15528         (__ieee754_powl): Compare integer exponent against 4 not 8.
15529         * math/auto-libm-test-in: Add more tests of pow.
15530         * math/auto-libm-test-out: Regenerated.
15531         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15534 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15536         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
15537         Make code unconditional.
15538         [!__NR_utimensat]: Remove conditional code.
15539         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
15540         Make code unconditional.
15541         [!__NR_utimensat]: Remove conditional code.
15542         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
15543         Make code unconditional.
15544         [!__NR_utimensat]: Remove conditional code.
15546 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15548         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
15549         Make code unconditional.
15551 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
15553         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
15554         call-clobbered %eax on retry path.
15555         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15557 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15559         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
15560         Don't set %rcx twice before "rep movsb".
15562 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15564         [BZ #19583]
15565         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
15566         inline.  Check family before setting family, model and
15567         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
15568         bits here.
15569         (init_cpu_features): Replace HAS_CPU_FEATURE and
15570         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
15571         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
15572         for Intel processors with usable AVX2.  Call get_common_indeces
15573         for other processors with family == NULL.
15574         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
15575         (CPU_FEATURES_ARCH_P): Likewise.
15576         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
15577         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
15579 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15581         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
15582         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
15583         $(shared-thread-library) instead of hardcoding the path to libpthread.
15585 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
15587         * sysdeps/unix/sysv/linux/kernel-features.h
15588         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
15589         * sysdeps/unix/sysv/linux/getdents.c
15590         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
15591         [!have_no_getdents64_defined]: Likewise.
15592         (__GETDENTS): Remove __have_no_getdents64 conditional.
15594 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
15596         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
15597         Remove macro.
15598         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
15599         <kernel-features.h>.
15600         (signalfd) [__NR_signalfd4]: Make code unconditional.
15601         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
15603 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15605         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
15606         style.
15608 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15610         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
15611         (__pthread_enable_asynccancel): Use JUMPTARGET to call
15612         __pthread_unwind.
15613         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15614         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
15615         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15616         (__condvar_cleanup1): Likewise.
15618 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
15620         [BZ #19822]
15621         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
15622         move it to the final $@ location.
15624 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15626         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
15627         access where posix_spawn success and pid argument is null.
15628         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
15629         success case.
15631 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
15633         * sysdeps/mach/hurd/i386/c++-types.data: New file.
15635         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
15637         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
15638         and __fcntl.
15639         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
15640         __fcntl only.
15641         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
15642         adding attribute_hidden to __open and __fcntl.
15644         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
15645         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
15646         depend on libc-modules.h,
15647         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
15649 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
15651         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
15652         Remove macro.
15653         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
15654         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
15655         entry.
15657         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
15658         Remove macro.
15659         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
15660         include <kernel-features.h>.
15661         [!__ASSUME_FALLOCATE]: Remove conditional code.
15662         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
15664 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15666         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
15667         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
15668         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
15669         (_ZGVdN4v_cos_avx2): Likewise.
15670         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
15671         (_ZGVdN4v_cos): Likewise.
15672         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
15673         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
15674         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
15675         (_ZGVdN4v_exp_avx2): Likewise.
15676         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
15677         (_ZGVdN4v_exp): Likewise.
15678         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
15679         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
15680         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
15681         (_ZGVdN4v_log_avx2): Likewise.
15682         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
15683         (_ZGVdN4v_log): Likewise.
15684         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
15685         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
15686         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
15687         (_ZGVdN4vv_pow_avx2): Likewise.
15688         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
15689         (_ZGVdN4vv_pow): Likewise.
15690         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
15691         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
15692         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
15693         (_ZGVdN4v_sin_avx2): Likewise.
15694         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
15695         (_ZGVdN4v_sin): Likewise.
15696         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
15697         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
15698         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
15699         (_ZGVdN4vvv_sincos_avx2): Likewise.
15700         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
15701         (_ZGVdN4vvv_sincos): Likewise.
15702         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
15703         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
15704         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
15705         (_ZGVbN4v_cosf_sse4): Likewise.
15706         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
15707         (_ZGVdN8v_cosf_avx2): Likewise.
15708         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
15709         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
15710         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
15711         (_ZGVbN4v_expf_sse4): Likewise.
15712         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
15713         (_ZGVdN8v_expf_avx2): Likewise.
15714         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
15715         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
15716         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
15717         (_ZGVbN4v_logf_sse4): Likewise.
15718         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
15719         (_ZGVdN8v_logf_avx2): Likewise.
15720         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
15721         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
15722         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
15723         (_ZGVbN4vv_powf_sse4): Likewise.
15724         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
15725         (_ZGVdN8vv_powf_avx2): Likewise.
15726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15727         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
15728         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15729         (_ZGVbN4vvv_sincosf_sse4): Likewise.
15730         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15731         (_ZGVdN8vvv_sincosf_avx2): Likewise.
15732         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
15733         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
15734         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
15735         (_ZGVbN4v_sinf_sse4): Likewise.
15736         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
15737         (_ZGVdN8v_sinf_avx2): Likewise.
15738         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15739         Use JUMPTARGET to call callee.
15740         (WRAPPER_IMPL_SSE2_ff): Likewise.
15741         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15742         (WRAPPER_IMPL_AVX): Likewise.
15743         (WRAPPER_IMPL_AVX_ff): Likewise.
15744         (WRAPPER_IMPL_AVX_fFF): Likewise.
15745         (WRAPPER_IMPL_AVX512): Likewise.
15746         (WRAPPER_IMPL_AVX512_ff): Likewise.
15747         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15748         Likewise.
15749         (WRAPPER_IMPL_SSE2_ff): Likewise.
15750         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15751         (WRAPPER_IMPL_AVX): Likewise.
15752         (WRAPPER_IMPL_AVX_ff): Likewise.
15753         (WRAPPER_IMPL_AVX_fFF): Likewise.
15754         (WRAPPER_IMPL_AVX512): Likewise.
15755         (WRAPPER_IMPL_AVX512_ff): Likewise.
15756         (WRAPPER_IMPL_AVX512_fFF): Likewise.
15758 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15760         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
15761         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
15762         qualifier.
15763         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
15764         internal_function qualifiers.
15766 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15768         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15769         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15770         * math/atest-exp.c (exp_mpn): Mark chk unused.
15771         * math/atest-exp2.c (exp_mpn): Likewise.
15772         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15773         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15775 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15777         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15778         Remove macro.
15779         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15780         <kernel-features.h>.
15781         [__NR_ppoll]: Make code unconditional.
15782         [!__ASSUME_PPOLL]: Remove conditional code.
15784         * sysdeps/unix/sysv/linux/kernel-features.h
15785         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15786         (__ASSUME_ACCEPT4): Likewise.
15787         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15788         Define.
15789         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15790         Likewise.
15791         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15792         Likewise.
15793         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15794         Likewise.
15795         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15796         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15797         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15798         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15799         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15802         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15803         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15804         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15805         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15806         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15807         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15808         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15809         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15810         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15811         Likewise.
15812         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15813         Likewise.
15814         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15815         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15816         0x040300].
15817         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15818         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15819         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15820         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15821         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15822         0x030300].
15823         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
15824         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15825         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15826         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15827         0x040300].
15828         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15829         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15830         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15831         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15833         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15834         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15835         0x030300].
15836         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15837         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15838         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15839         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15840         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15841         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15842         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15843         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15844         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15845         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15846         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15847         0x040300].
15848         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15849         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15850         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15851         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15852         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15853         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15854         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15855         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15856         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15857         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15859         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15860         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15861         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15862         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
15863         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15864         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15865         Likewise.
15866         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15867         Likewise.
15869 2016-03-15  Andreas Schwab  <schwab@suse.de>
15871         [BZ #19257]
15872         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
15873         statp->_u._ext.nscount as loop count.
15875 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15877         * math/test-signgam-finite-c99.c: Also #undef
15878         __LIBC_INTERNAL_MATH_INLINES.
15879         * math/test-signgam-main.c: Likewise.
15881 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15883         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
15884         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15885         (MADV_FREE): Likewise.
15886         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
15887         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
15888         EPOLLEXCLUSIVE.
15890 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
15892         * timezone/README: Remove mention of checktab.awk. Mention wiki
15893         SharedSourceFiles.
15895 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
15897         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
15898         WUNTRACED.
15900 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15902         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
15903         order to match the type of p when calling atomic_exchange_acq().
15905 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15907         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
15908         cfi_offset calls.
15909         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15910         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
15911         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
15912         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
15913         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
15915 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
15917         * timezone/checktab.awk: Removed.
15919 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
15921         * manual/math.texi (Errors in Math Functions): Document relaxed
15922         accuracy goals for IBM long double.
15923         * math/libm-test.inc (test_exceptions): Always allow spurious
15924         "underflow" and "inexact" exceptions for IBM long double.
15926 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
15928         [BZ #19762]
15929         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15930         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
15931         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
15932         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15933         (bit_arch_*): This for feature array.
15934         (bit_*): Renamed to ...
15935         (bit_cpu_*): This for cpu array.
15936         (index_*): Renamed to ...
15937         (index_arch_*): This for feature array.
15938         (index_*): Renamed to ...
15939         (index_cpu_*): This for cpu array.
15940         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
15941         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
15942         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
15943         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
15944         bit_##name with index_cpu_##name and bit_cpu_##name.
15945         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
15946         bit_##name with index_arch_##name and bit_arch_##name.
15948 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
15950         [BZ #19792]
15951         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
15952         Terminate FDE before return label.
15954 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
15956         [BZ #19790]
15957         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
15958         (rintl): Define as macro.
15959         [USE_AS_NEARBYINTL] (__rintl): Likewise.
15960         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
15961         of fesetround.  Ensure results are evaluated before end of scope.
15962         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
15963         USE_AS_NEARBYINTL and include s_rintl.c.
15964         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
15965         Disable exception traps in new environment.
15966         (libc_feholdsetround_ppc_ctx): Likewise.
15968 2016-03-08  Roland McGrath  <roland@hack.frob.com>
15970         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
15971         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
15972         (tst_audit10_aux) [__AVX512F__]: ... here.
15974 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
15976         * include/sys/auxv.h: New file.
15978 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15980         [BZ #19759]
15981         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
15983 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15985         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
15986         operand modifier.
15987         (feclearexcept): Likewise.
15989 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15991         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
15992         to reflect the entire 32-bit HWCAP.
15993         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
15994         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
15996 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15998         [BZ #19783]
15999         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16000         $(test-via-rtld-prefix).
16001         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16003 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16005         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16006         union wait.  Report any non-zero exit status as error.
16008 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16010         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16011         configured with --enable-hardcoded-path-in-tests.
16013 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16015         [BZ #19677]
16016         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16017         (__ieee754_remainderl): Put zero low parts in canonical form.
16018         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16019         file.  Based on
16020         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16021         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16022         with wrapper round test-fmodrem-ldbl-128ibm.c.
16023         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16024         file.
16025         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16026         Likewise.
16027         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16028         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16030 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16032         [BZ #19610]
16033         * elf/ldconfig.c (opt_link): Update comment.
16034         (options): Update help string for option -X.
16035         (search_dir): Unlink stale symbolic link only if updating symbolic
16036         links.
16037         * elf/tst-ldconfig-X.sh: New file.
16038         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16039         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16041 2016-03-07  Andreas Schwab  <schwab@suse.de>
16043         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16044         needed arguments.
16046 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16048         [BZ #15333]
16049         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16050         to lstat64.
16052 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16054         * libio/filedoalloc.c (isatty): Remove.
16055         (local_isatty): Add comment.  Call __isatty directly.
16056         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16057         * libio/wfiledoalloc.c (isatty): Remove.
16058         (_IO_wfile_doallocate): Update comment.
16060 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16062         [BZ #19269]
16063         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16064         tst-audit4-aux.o.
16065         (tst-audit10): Depend on tst-audit10-aux.o.
16066         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16067         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16068         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16069         instead of inline AVX code.
16070         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16071         instead of inline AVX512 code.
16072         * sysdeps/x86_64/tst-audit4-aux.c: New file
16073         * sysdeps/x86_64/tst-audit10-aux.c: New file
16075         [BZ #19648]
16076         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16078 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16080         [BZ #14750]
16081         [BZ #10354]
16082         [BZ #18433]
16083         * include/sched.h (__clone): Add hidden prototype.
16084         (__clone2): Likewise.
16085         * include/unistd.h (__dup): Likewise.
16086         * posix/Makefile (tests): Add tst-spawn2.
16087         * posix/tst-spawn2.c: New file.
16088         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16089         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16090         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16091         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16092         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16093         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16094         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16095         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16096         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16097         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16098         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16100         Likewise.
16101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16102         Likewise.
16103         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16104         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16105         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16106         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16107         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16108         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16109         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16110         * sysdeps/unix/sysv/linux/nptl-signals.h
16111         (____nptl_is_internal_signal): New function.
16112         * sysdeps/unix/sysv/linux/spawni.c: New file.
16114         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16115         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16116         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16117         * posix/tst-execvp2.c (do_test): Likewise.
16118         * posix/tst-execvp3.c (do_test): Likewise.
16119         * posix/tst-execvp4.c (do_test): Likewise.
16120         * posix/tst-execvpe1.c: New file.
16121         * posix/tst-execvpe2.c: Likewise.
16122         * posix/tst-execvpe3.c: Likewise.
16123         * posix/tst-execvpe4.c: Likewise.
16124         * posix/tst-execvpe5.c: Likewise.
16125         * posix/tst-execvpe6.c: Likewise.
16127         [BZ #19534]
16128         * posix/execl.c (execl): Remove dynamic memory allocation.
16129         * posix/execle.c (execle): Likewise.
16130         * posix/execlp.c (execlp): Likewise.
16132 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16134         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16135         Replace .text with .text.avx512.
16136         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16137         Likewise.
16139 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16141         * sysdeps/generic/libnsl.abilist: New file.
16142         * sysdeps/generic/libutil.abilist: New file.
16144 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16146         [BZ #19762]
16147         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16148         HAS_ARCH_FEATURE with Fast_Rep_String.
16149         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16150         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16151         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16152         Likewise.
16153         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16154         Likewise.
16155         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16156         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16157         Likewise.
16158         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16159         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16160         Likewise.
16162 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16164         [BZ #19745]
16165         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16166         with *%rax in call.
16168 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16170         [BZ #19745]
16171         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16172         with *__libc_start_main@GOTPCREL(%rip) in call.
16174 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16176         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16177         inside conditional for nonempty $(CXX).
16179         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16180         nonempty.
16182         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16183         to test for empty $(CXX) rather than $(CXX) of "no".
16185 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16187         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16189 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16190             H.J. Lu  <hongjiu.lu@intel.com>
16192         [BZ #18880]
16193         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16194         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16195         enable __memcpy_ssse3_back.
16197 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16199         [BZ #19758]
16200         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16201         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16203 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16205         [BZ #19490]
16206         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16207         (__fentry__): Likewise.
16209 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16211         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16212         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16214 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16216         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16217         __mcount_internal directly.
16218         (C_LABEL(__fentry__)): Likewise.
16219         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16220         directly.
16222 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16224         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16225         (__start_context): Call __setcontext directly.
16227 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16229         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16230         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16231         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16232         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16233         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16234         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16235         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16236         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16237         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16238         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16239         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16240         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16241         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16242         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16243         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16244         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16245         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16247         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16248         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16249         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16250         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16251         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16252         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16253         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16254         Remove conditional code.
16255         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16256         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16257         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16258         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16259         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16260         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16261         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16262         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16263         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16264         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16265         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16266         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16268 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16270         * NEWS (2.23): Fix typo in bug 19048 text.
16272 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16274         [BZ #14259]
16275         * Makeconfig: Rename msgcatdir to localedir.
16276         Rename inst_msgcatdir to inst_localedir.
16277         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16278         * config.make.in: Add localedir.
16279         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16280         (ldd-rewrite): Likewise.
16281         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16282         (install-others): Use inst_localedir.
16283         (CPPFLAGS): Use localedir.
16284         * locale/Makefile (locale-CPPFLAGS): Likewise.
16285         * po/Makefile (mo-installed): Use inst_localedir.
16287         [BZ #19575]
16288         * localedata/charmaps/GB18030: Update comments regarding PAU to
16289         non-PUA mappings.
16291 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16293         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16294         test for header.
16295         * sysdeps/unix/sysv/linux/configure: Regenerated.
16296         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16297         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16298         Remove conditional code.
16299         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16301         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16302         Define to 3.2.0.
16303         (arch_minimum_kernel): Likewise.
16304         * sysdeps/unix/sysv/linux/configure: Regenerated.
16305         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16306         Define to 2.6.32.
16307         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16308         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16309         (arch_minimum_kernel): Define to 2.6.32.
16310         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16311         * README: Document Linux 3.2 requirement.
16312         * manual/install.texi (Linux): Document Linux 3.2 headers
16313         requirement.
16314         * INSTALL: Regenerated.
16316 2016-02-24  Andreas Schwab  <schwab@suse.de>
16318         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16319         if !NO_LONG_DOUBLE.
16321 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16323         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16324         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16326 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16328         [BZ #19512]
16329         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16331 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16333         * posix/tst-dir.c: Include libc-internal.h.
16335 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16337         [BZ #19056]
16338         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16339         * manual/filesys.texi (Reading/Closing Directory): Mention
16340         deprecaion.
16341         * posix/tst-dir.c (main): Disable deprecation warning in test.
16343 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16345         [BZ #19679]
16346         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16347         Renamed to ...
16348         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16349         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16350         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16351         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16352         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16353         * sysdeps/x86_64/dl-trampoline.h
16354         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16355         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16357 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16359         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16361 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16363         * elf/elf.h (R_386_GOT32X): New.
16364         (R_386_NUM): Update.
16365         (R_X86_64_GOTPCRELX: New.
16366         (R_X86_64_REX_GOTPCRELX): New.
16367         (R_X86_64_NUM): Update.
16369 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16371         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16373 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16375         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16376         assign attr->stackaddr to it, and adjust it down when
16377         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16378         [_STACK_GROWS_UP]: Delete assert.
16379         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16380         Implement stack grows up logic.
16381         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16382         stack grows up logic.
16384 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16386         * NEWS: Update with 2.24 template.
16388 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16390         [BZ #19678]
16391         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16392         Ensure +0.0 is returned when taking the next value below the least
16393         positive value.
16395 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16397         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16398         available.  Do not define NO_THREADS.
16399         * malloc/malloc.c: Do not check NO_THREADS.
16400         * malloc/arena.c: Likewise.
16402 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16404         * malloc/malloc.c (__libc_mallinfo): Update comment.
16405         (struct malloc_par): Remove max_total_mem member, it was always 0.
16406         (int_mallinfo): Store 0 into usmblks (no functional change).
16407         * malloc/hooks.c (struct malloc_state): Document that
16408         max_total_mem is always 0.
16409         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16410         always 0.
16411         * manual/memory.texi (Statistics of Malloc): Likewise.
16413 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16415         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16416         * malloc/arena.c (arena_max): Remove.
16417         (heap_trim, _int_new_arena): Do not update arena_max.
16419 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16421         * resolv/res_init.c (res_ninit): Update comment.
16423 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16425         [BZ #19505]
16426         * posix/spawn_int.h: Add headers and include guard.
16427         (__spawn_valid_fd): New function.
16428         * posix/spawn_faction_addopen.c
16429         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16430         * posix/spawn_faction_addclose.c
16431         (posix_spawn_file_actions_addclose): Likewise.
16432         * posix/spawn_faction_adddup2.c
16433         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16434         second file descriptor.
16435         * posix/spawn_valid_fd.c: New file.
16436         * posix/tst-posix_spawn-fd.c: New file.
16437         * posix/Makefile (routines): Add spawn_valid_fd.
16438         (tests): Add tst-posix_spawn-fd.
16440 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16442         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16443         (do_test): Limit the number of arenas, so that we can use fewer
16444         outer threads.  Limit timeout to 3 seconds, in preparation for a
16445         larger TIMEOUT value.
16447 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16449         [BZ #19674]
16450         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16451         sign in overflowing and underflowing results when overflow or
16452         underflow is detected early.  Include sign in result before rather
16453         than after scaling.
16455         [BZ #19603]
16456         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16457         (__ieee754_remainderl): Adjust sign of integer version of low part
16458         when taking absolute value of high part.
16459         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16460         * math/libm-test.inc (remainder_test_data): Add another test.
16461         (remquo_test_data): Likewise.
16463 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16465         [BZ #19602]
16466         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16467         equal high parts and both low parts zero specially.
16468         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16469         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16470         Add test-fmodl-ldbl-128ibm.
16472         [BZ #19595]
16473         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16474         common logic for all cases of shifting subnormal results.  Do not
16475         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16476         exponent to ldbl_insert_mantissa in subnormal case.
16478         [BZ #19594]
16479         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16480         on high and low parts then adjust result and use
16481         ldbl_canonicalize_int if needed.
16483         [BZ #19593]
16484         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
16485         on high part and __floor or __ceil on low part then use
16486         ldbl_canonicalize_int if needed.
16488         [BZ #19592]
16489         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
16490         high and low parts then use ldbl_canonicalize_int if needed.
16492         [BZ #17899]
16493         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
16494         New function.
16495         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
16496         on high and low parts then use ldbl_canonicalize_int if needed.
16498 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16500         * configure: Regenerated.
16502         * po/libc.pot: Regenerated.
16504         * po/be.po: Updated translation.
16505         * po/bg.po: Likewise.
16506         * po/ca.po: Likewise.
16507         * po/cs.po: Likewise.
16508         * po/da.po: Likewise.
16509         * po/el.po: Likewise.
16510         * po/eo.po: Likewise.
16511         * po/es.po: Likewise.
16512         * po/fi.po: Likewise.
16513         * po/fr.po: Likewise.
16514         * po/gl.po: Likewise.
16515         * po/hr.po: Likewise.
16516         * po/hu.po: Likewise.
16517         * po/ia.po: Likewise.
16518         * po/id.po: Likewise.
16519         * po/it.po: Likewise.
16520         * po/ja.po: Likewise.
16521         * po/lt.po: Likewise.
16522         * po/nb.po: Likewise.
16523         * po/nl.po: Likewise.
16524         * po/pt_BR.po: Likewise.
16525         * po/rw.po: Likewise.
16526         * po/sk.po: Likewise.
16527         * po/sl.po: Likewise.
16528         * po/sv.po: Likewise.
16529         * po/tr.po: Likewise.
16530         * po/zh_CN.po: Likewise.
16531         * po/zh_TW.po: Likewise.
16533         * version.h (RELEAES): Set to "development".
16534         (VERSION): Set to 2.23.90.
16536         * version.h (RELEASE): Set to "stable".
16537         (VERSION): Set to 2.23.
16538         * include/feature.h (__GLIBC_MINOR__): Set to 23.
16540         * NEWS: Updated fixed bugs.
16542 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
16543             Wilco Dijkstra  <wdijkstr@arm.com>
16545         [BZ #19462]
16546         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
16547         (_STRING_INLINE_unaligned): This.
16548         * include/string.h: Include <string_private.h>.
16549         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
16550         _STRING_INLINE_unaligned.
16551         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
16552         (_STRING_INLINE_unaligned): New.
16553         * sysdeps/aarch64/string_private.h: New file.
16554         * sysdeps/generic/string_private.h: Likewise.
16555         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
16556         * sysdeps/s390/string_private.h: Likewise.
16557         * sysdeps/x86/string_private.h: Likewise.
16558         * sysdeps/m68k/m680x0/m68020/bits/string.h
16559         (_STRING_ARCH_unaligned): Renamed to ...
16560         (_STRING_INLINE_unaligned): This.
16561         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
16562         to ...
16563         (_STRING_INLINE_unaligned): This.
16564         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
16565         to ...
16566         (_STRING_INLINE_unaligned): This.
16567         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
16568         to ...
16569         (_STRING_INLINE_unaligned): This.
16571 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16572             H.J. Lu  <hongjiu.lu@intel.com>
16574         [BZ #19590]
16575         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
16576         relocation.
16578 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
16580         [BZ #18665]
16581         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
16582         *herrno_p.
16583         (gaih_getanswer): Document functional behviour. Return tryagain
16584         if any result is tryagain.
16585         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
16586         when freed.
16587         * resolv/res_send.c: Add copyright text.
16588         (__libc_res_nsend): Document that MAXPACKET is expected.
16589         (send_vc): Document. Remove buffer reuse.
16590         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
16591         size of the buffer. Add Dprint for truncated UDP buffer.
16593 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
16595         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
16596         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
16597         * INSTALL: Regenerate.
16599 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
16600             Jonathan Wakely  <jwakely@redhat.com>
16601             Carlos O'Donell  <carlos@redhat.com>
16603         [BZ 19439]
16604         * math/Makefile (tests): Add test-math-isinff.
16605         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
16606         * math/bits/mathcalls.h [__USE_MISC]: Use
16607         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
16608         functions not in C++11 and which don't conflict e.g. isinff,
16609         isinfl etc.
16610         * math/test-math-isinff.cc: New file.
16612 2016-02-12  Florian Weimer  <fweimer@redhat.com>
16614         * misc/bug18240.c (do_test): Set RLIMIT_AS.
16616 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16618         [BZ #19529]
16619         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
16621 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16623         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16625 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
16627         [BZ #19550]
16628         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
16629         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
16630         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
16631         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
16632         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
16633         New syscall entry.
16634         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
16635         New syscall entry.
16636         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
16637         syscall entry.
16639 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
16641         [BZ #18240]
16642         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
16643         unsigned int wraparound.
16645 2016-01-27  Florian Weimer  <fweimer@redhat.com>
16647         [BZ #18240]
16648         * misc/bug18240.c: New test.
16649         * misc/Makefile (tests): Add it.
16651 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
16652             Joseph Myers  <joseph@codesourcery.com>
16654         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
16655         load in branch delay slot when less than a word of input left.
16657 2016-01-27  Andreas Schwab  <schwab@suse.de>
16659         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
16660         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
16661         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
16662         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
16664 2016-01-26  David S. Miller  <davem@davemloft.net>
16666         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
16668 2016-01-25  David S. Miller  <davem@davemloft.net>
16670         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
16671         __sqrtl_finite.
16672         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
16673         instead using versioned_symbol.
16674         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
16675         of entries.
16677         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
16678         __sqrtl_finite to GLIBC_2.23
16680 2016-01-25  Ricchard Henderson  <rth@redhat.com>
16682         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16684 2016-01-25  Andreas Schwab  <schwab@suse.de>
16686         [BZ #17514]
16687         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
16688         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
16689         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
16690         * nptl/tst-mutex-errorcheck.c: New file.
16692 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16694         [BZ #18560]
16695         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
16696         (IPCOP_semop): Likewise.
16697         (IPCOP_semget): Likewise.
16698         (IPCOP_semctl): Likewise.
16699         (IPCOP_msgsnd): Likewise.
16700         (IPCOP_msgrcv): Likewise.
16701         (IPCOP_msgget): Likewise.
16702         (IPCOP_msgctl): Likewise.
16703         (IPCOP_shmat): Likewise.
16704         (IPCOP_shmdt): Likewise.
16705         (IPCOP_shmget): Likewise.
16706         (IPCOP_shmctl): Likewise.
16708 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16710         * string/tst-endian.c: Include <libc-internal.h>.
16711         (do_test): Ignore tautological-compare warnings around
16712         "htobeXX (beXXtoh (i)) != i" and
16713         "htoleXX (leXXtoh (i)) != i" if-statements.
16715 2016-01-24  David S. Miller  <davem@davemloft.net>
16717         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
16718         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
16719         alias.
16720         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16721         __sqrtl_finite.
16723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16725 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
16727         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
16728         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
16729         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16731 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16733         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
16734         (thread_func): Use new function to simplify barrier check.
16735         (do_test): Use new function to simplify checking barrier exit
16736         code, and actually join the child thread.
16738 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16740         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
16741         semicolon.
16742         (__libc_tend): Likewise.
16743         (__libc_tabort): Likewise.
16745 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
16747         * sysdeps/nios2/libm-test-ulps: Update.
16748         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
16749         (__gtsf2): Likewise.
16750         (__unorddf2): Likewise.
16751         (__unordsf2): Likewise.
16752         (__ledf2): Likewise.
16754 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
16756         * nis/nis_table.c (__follow_path): Disable diagnostic for
16757         uninitialized variable that is a false positive for gcc 4.7.
16758         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
16760 2016-01-20  Roland McGrath  <roland@hack.frob.com>
16762         * sysdeps/nacl/lowlevellock-futex.h
16763         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
16764         Always evaluate PRIVATE argument.
16766 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16768         [BZ #19490]
16769         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16770         (pthread_cond_broadcast): Use ENTRY/END
16771         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16772         (pthread_cond_signal): Likewise.
16773         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16774         Likewise.
16775         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16776         Likewise.
16777         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16778         Likewise.
16780 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16782         * sysdeps/ieee754/dbl-64/s_finite.c
16783         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16784         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16785         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16786         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16787         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16790         (__gtsf2): Add as optional for libc.so.
16791         (__unordsf2): Likewise.
16792         (__signbit): Remove for libc.so.
16793         (__signbitl): Likewise.
16795 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16797         * iconvdata/bug-iconv11.c (test_ibm93x):
16798         Use %zu printf format specifier for size_t argument.
16800 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16802         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16803         already-recorded ulps.
16804         * sysdeps/arm/libm-test-ulps: Regenerated.
16805         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16806         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16807         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16809 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16810             Paul Pluzhnikov  <ppluzhnikov@google.com>
16812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
16813         assembler not supporting AVX-512.
16815 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16817         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16819 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
16821         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16822         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16824         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16826         * sysdeps/arm/libm-test-ulps: Regenerated.
16828 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16830         [BZ #19451]
16831         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
16833 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16835         [BZ #19486]
16836         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
16837         * sysdeps/generic/fix-fp-int-convert-overflow.h
16838         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
16839         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
16840         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
16841         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
16842         Likewise.
16843         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
16844         Avoid conversions to long int where inexact exceptions
16845         could be raised.
16846         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
16847         Likewise.
16848         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
16849         Avoid conversions to long long int where inexact exceptions
16850         could be raised.
16851         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
16852         Likewise.
16854 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
16856         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
16857         * configure: Regenerated.
16859 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16861         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
16863 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
16865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
16866         outside of comment.
16868 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16870         * nptl/tst-barrier1.c: Add description on first line.
16871         * nptl/tst-barrier2.c: Likewise.
16872         * nptl/tst-barrier3.c: Likewise.
16873         * nptl/tst-barrier4.c: Likewise.
16874         * nptl/tst-barrier5.c: Likewise.
16876 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16878         [BZ #18868]
16879         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
16881 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
16884         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16885         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
16886         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
16887         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
16888         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
16889         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16890         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16891         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16892         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16893         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16895 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16897         [BZ #13065]
16898         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
16899         new implementation.
16900         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
16901         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
16902         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
16903         (BARRIER_IN_THRESHOLD): New macro.
16904         * nptl/pthread_barrierattr_setpshared.c
16905         (pthread_barrierattr_setpshared): Clean up.
16906         * nptl/tst-barrier4.c: Correct comment.
16907         * nptl/tst-barrier5.c: New file.
16908         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
16909         (gen-as-const-headers): Remove lowlevelbarrier.sym.
16910         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
16911         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
16912         * nptl/lowlevelbarrier.sym: Remove.
16913         * nptl/DESIGN-barrier.txt: Remove.
16914         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
16915         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
16916         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
16917         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
16918         error.
16919         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
16920         implementation.
16922 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16924         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
16925         (do_child): Mask SIGRTMIN while thr is running.
16927 2016-01-15  Martin Sebor  <msebor@redhat.com>
16929         [BZ #19432]
16930         * iconvdata/Makefile: Add bug-iconv11.
16931         * iconvdata/bug-iconv11.c: New test.
16932         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
16933         * iconvdata/ibm933.c: Same.
16934         * iconvdata/ibm935.c: Same.
16935         * iconvdata/ibm937.c: Same.
16936         * iconvdata/ibm939.c: Same.
16938 2016-01-15  Martin Sebor  <msebor@redhat.com>
16940         [BZ #19443]
16941         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
16942         [DEBUG] (_ufc_set_bits): Declare used.
16943         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
16944         [DEBUG] (print_all): Declare used.
16945         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
16946         operands of the ternary ?: expression to target type.
16947         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
16948         calling the undeclared abort.
16949         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
16951 2016-01-15  Martin Sebor  <msebor@redhat.com>
16953         [BZ #18755]
16954         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
16955         warnings.
16956         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
16957         (__gai_create_helper_thread): Same.
16958         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
16959         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
16960         to suppress -Wmaybe-uninitialized warnings.
16962 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
16964         [BZ #19465]
16965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16966         inside if.
16967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16968         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16969         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16971 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
16973         [BZ #19466]
16974         * time/tst-mktime2.c (time_t_max): Removed.
16975         (time_t_min): Likewise.
16976         (TYPE_SIGNED): New.
16977         (TYPE_MINIMUM): Likewise.
16978         (TYPE_MAXIMUM): Likewise.
16979         (TIME_T_MIN): Likewise.
16980         (TIME_T_MAX): Likewise.
16981         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
16982         and TIME_T_MIN.
16983         (do_test): Likewise.
16985 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
16987         [BZ #19467]
16988         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16989         index_Fast_Unaligned_Load flag for Excavator family CPUs.
16991 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
16993         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
16995 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
16997         * benchtests/Makefile (PYTHON): Define.
16998         (bench-func): Use $(PYTHON) to run python scripts.
16999         ($(objpfx)bench-%.c): Likewise.
17001 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17003         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17004         leading slash when `file_name' is "/".
17006 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17008         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17009         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17010         Likewise.
17011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17012         Likewise.
17013         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17014         Likewise.
17015         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17016         enum constant and macro.
17017         (PTRACE_SETSIGMASK): Likewise.
17018         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17019         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17020         (PTRACE_GETSIGMASK): Likewise.
17021         (PTRACE_SETSIGMASK): Likewise.
17022         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17023         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17024         Likewise.
17025         (PTRACE_SETSIGMASK): Likewise.
17026         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17027         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17028         (PTRACE_GETSIGMASK): Likewise.
17029         (PTRACE_SETSIGMASK): Likewise.
17030         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17032         Likewise.
17033         (PTRACE_SETSIGMASK): Likewise.
17034         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17035         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17036         Likewise.
17037         (PTRACE_SETSIGMASK): Likewise.
17038         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17039         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17040         Likewise.
17041         (PTRACE_SETSIGMASK): Likewise.
17042         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17044 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17045             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17047         [BZ #19439]
17048         * math/bits/mathcalls.h
17049         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17050         prototype.
17051         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17053 2016-01-11  Andreas Schwab  <schwab@suse.de>
17055         [BZ #19253]
17056         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17057         cache when TZDEFRULES was used.
17058         * time/tst-tzname.c: New file.
17059         * time/Makefile (test): Add tst-tzname.
17060         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17061         * timezone/Makefile (test-zones): Add $(posixrules-file).
17062         ($(testdata)/$(posixrules-file)): New rule.
17064 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17066         Fix doc quoting problems with Texinfo 5
17067         Without this change, in the info file output, Texinfo 5 quotes code
17068         in text with undirected single quotes 'like this' and generates
17069         code examples that with many PDF readers cannot be cut out of PDFs
17070         and pasted into code.
17071         * manual/libc.texinfo: Configure the libc manual like the GNU
17072         Emacs manual, by using @documentencoding and setting
17073         txicodequoteundirected and txicodequotebacktick.  This way,
17074         Texinfo 5 quotes code in text with directed single quotes ‘like
17075         this’ and produces examples that can be cut out of PDFs.  This
17076         change causes Texinfo 5 to generate info files that contain UTF-8
17077         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17078         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17080 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17082         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17083         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17084         barriers to their respective compiler built-ins.
17085         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17086         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17087         * sysdeps/powerpc/sysdep.h: Likewise.
17088         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17089         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17090         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17092 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17094         * scripts/config.guess: Revert previous shebang change.
17095         * scripts/config.sub: Likewise.
17096         * scripts/mkinstalldirs: Likewise.
17098 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17100         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17101         PPC_FEATURE2_HAS_IEEE128.
17102         * sysdeps/powerpc/dl-procinfo.c:
17103         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17105 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17107         [BZ #19415]
17108         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17109         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17110         (_dl_lookup_address): Rewrite using function resolver trampoline.
17111         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17112         two bits in address.
17114 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17116         * longlong.h: Change !__SHMEDIA__ to
17117         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17118         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17120 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17121             Joseph Myers  <joseph@codesourcery.com>
17122             Mark Shinwell  <shinwell@codesourcery.com>
17123             Andrew Stubbs  <ams@codesourcery.com>
17124             Rich Felker <dalias@libc.org>
17126         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17128 2016-01-07  Richard Henderson  <rth@redhat.com>
17130         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17132 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17134         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17135         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17136         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17137         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17138         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17140 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17141             Joseph Myers  <joseph@codesourcery.com>
17143         * timezone/private.h: Update from tzcode 2015g.
17144         * timezone/tzfile.h: Likewise.
17145         * timezone/tzselect.ksh: Likewise.
17146         * timezone/zdump.c: Likewise.
17147         * timezone/zic.c: Likewise.
17148         * timezone/ialloc.c: Remove file.
17149         * timezone/scheck.c: Likewise.
17150         * timezone/Makefile (extra-objs): Remove variable.
17151         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17152         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17153         -Wno-maybe-uninitialized.
17154         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17155         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17156         (CFLAGS-ialloc.c): Remove variable.
17157         (CFLAGS-scheck.c): Likewise.
17158         * timezone/README: Update list of files from tzcode.
17160 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17162         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17163         instead of __fxprintf when _LIBC is undefined.
17165 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17167         * catgets/test-gencat.sh: Remove space after shebang.
17168         * conform/GlibcConform.pm: Likewise.
17169         * conform/check-header-lists.sh: Likewise.
17170         * conform/conformtest.pl: Likewise.
17171         * conform/linknamespace.pl: Likewise.
17172         * conform/list-header-symbols.pl: Likewise.
17173         * debug/catchsegv.sh: Likewise.
17174         * elf/genrtldtbl.awk: Likewise.
17175         * elf/tst-pathopt.sh: Likewise.
17176         * elf/tst-rtld-load-self.sh: Likewise.
17177         * grp/tst_fgetgrent.sh: Likewise.
17178         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17179         * iconvdata/gen-8bit-gap.sh: Likewise.
17180         * iconvdata/gen-8bit.sh: Likewise.
17181         * iconvdata/run-iconv-test.sh: Likewise.
17182         * intl/tst-gettext.sh: Likewise.
17183         * intl/tst-gettext2.sh: Likewise.
17184         * intl/tst-gettext4.sh: Likewise.
17185         * intl/tst-gettext6.sh: Likewise.
17186         * intl/tst-translit.sh: Likewise.
17187         * io/ftwtest-sh: Likewise.
17188         * libio/test-freopen.sh: Likewise.
17189         * locale/gen-translit.pl: Likewise.
17190         * malloc/tst-mtrace.sh: Likewise.
17191         * manual/check-safety.sh: Likewise.
17192         * manual/libc-texinfo.sh: Likewise.
17193         * manual/tsort.awk: Likewise.
17194         * manual/xtract-typefun.awk: Likewise.
17195         * nptl/tst-cancel-wrappers.sh: Likewise.
17196         * nptl/tst-tls6.sh: Likewise.
17197         * posix/globtest.sh: Likewise.
17198         * posix/tst-getconf.sh: Likewise.
17199         * posix/wordexp-tst.sh: Likewise.
17200         * scripts/check-c++-types.sh: Likewise.
17201         * scripts/check-local-headers.sh: Likewise.
17202         * scripts/config.guess: Likewise.
17203         * scripts/config.sub: Likewise.
17204         * scripts/cpp: Likewise.
17205         * scripts/cross-test-ssh.sh: Likewise.
17206         * scripts/documented.sh: Likewise.
17207         * scripts/evaluate-test.sh: Likewise.
17208         * scripts/gen-libc-abis: Likewise.
17209         * scripts/gen-sorted.awk: Likewise.
17210         * scripts/list-fixed-bugs.py: Likewise.
17211         * scripts/merge-test-results.sh: Likewise.
17212         * scripts/mkinstalldirs: Likewise.
17213         * scripts/rellns-sh: Likewise.
17214         * scripts/test-installation.pl: Likewise.
17215         * scripts/update-copyrights: Likewise.
17216         * stdio-common/tst-printf.sh: Likewise.
17217         * stdio-common/tst-unbputc.sh: Likewise.
17218         * stdlib/tst-fmtmsg.sh: Likewise.
17219         * stdlib/tst-setcontext3.sh: Likewise.
17220         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17221         * sysdeps/unix/make-syscalls.sh: Likewise.
17223 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17225         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17226         asm stw with atomic_exchange_rel.  Add explanatory comment.
17227         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17228         Likewise.
17230 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17232         [BZ #19122]
17233         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17234         * sysdeps/generic/dl-unistd.h: New file.
17235         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17237 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17239          [BZ #19122]
17240          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17241          * sysdeps/generic/dl-mman.h: New file.
17242          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17244 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17246         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17247         trailing whitespace removed.
17248         * scripts/config.guess: Update to version 2016-01-01.
17249         * scripts/config.sub: Update to version 2016-01-01.
17250         * scripts/move-if-change: Update from gnulib.
17252 2016-01-04  Anton Blanchard  <anton@samba.org>
17254         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17255         for array indices.
17256         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17258 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17260         * NEWS: Update copyright dates.
17261         * catgets/gencat.c (print_version): Likewise.
17262         * csu/version.c (banner): Likewise.
17263         * debug/catchsegv.sh: Likewise.
17264         * debug/pcprofiledump.c (print_version): Likewise.
17265         * debug/xtrace.sh (do_version): Likewise.
17266         * elf/ldconfig.c (print_version): Likewise.
17267         * elf/ldd.bash.in: Likewise.
17268         * elf/pldd.c (print_version): Likewise.
17269         * elf/sotruss.sh: Likewise.
17270         * elf/sprof.c (print_version): Likewise.
17271         * iconv/iconv_prog.c (print_version): Likewise.
17272         * iconv/iconvconfig.c (print_version): Likewise.
17273         * locale/programs/locale.c (print_version): Likewise.
17274         * locale/programs/localedef.c (print_version): Likewise.
17275         * login/programs/pt_chown.c (print_version): Likewise.
17276         * malloc/memusage.sh (do_version): Likewise.
17277         * malloc/memusagestat.c (print_version): Likewise.
17278         * malloc/mtrace.pl: Likewise.
17279         * manual/libc.texinfo: Likewise.
17280         * nptl/version.c (banner): Likewise.
17281         * nscd/nscd.c (print_version): Likewise.
17282         * nss/getent.c (print_version): Likewise.
17283         * nss/makedb.c (print_version): Likewise.
17284         * posix/getconf.c (main): Likewise.
17285         * scripts/test-installation.pl: Likewise.
17286         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17288         * All files with FSF copyright notices: Update copyright dates
17289         using scripts/update-copyrights.
17290         * intl/plural.c: Regenerated.
17291         * locale/programs/charmap-kw.h: Likewise.
17292         * locale/programs/locfile-kw.h: Likewise.
17294 2016-01-02  Helge Deller  <deller@gmx.de>
17296         [BZ #19285]
17297         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17298         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17299         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17300         (MADV_xxK_PAGES): Remove.
17302 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17304         [BZ #15421]
17305         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17306         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17307         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17308         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17310 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17312         [BZ #19408]
17313         * sysdeps/unix/sysv/linux/personality.c: New file.
17314         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17315         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17316         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17317         (sysdep_routines): Add personality.
17318         (tests): Add tst-personality.
17319         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17321         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17322         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17323         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17324         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17325         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17326         Likewise.
17327         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17328         Likewise.
17329         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17330         Likewise.
17331         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17332         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17333         Likewise.
17335 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17337         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17338         (PATH_ARM_SYSTYPE): Remove.
17339         (PATH_CPUINFO): Likewise.
17340         (IO_BASE_FOOTBRIDGE): Likewise.
17341         (IO_SHIFT_FOOTBRIDGE): Likewise.
17342         (struct platform): Likewise.
17343         (init_iosys): Remove compatibility code for 2.4 kernels.
17344         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17346 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17348         * malloc/tst-malloc-thread-fail.c: New file.
17349         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17350         (tst-malloc-thread-fail): Link against libpthread.
17352 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17354         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17355         (get_parser): New function.
17356         (main): New function.
17358 2015-12-29  Rob Wu  <rob@robwu.nl>
17360         [BZ #19369]
17361         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17363 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17365         [BZ #19270]
17366         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17368 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17370         [BZ #15421]
17371         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17373 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17375         [BZ #13690]
17376         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17377         after releasing it.
17378         (__lll_robust_unlock): Likewise.
17379         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17380         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17381         (lll_robust_unlock): Likewise.
17382         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17383         Prevent warnings in callers.
17385 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17387         * malloc/arena.c (list_lock): Update comment.
17389 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17391         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17392         __parse_hwcap_and_convert_at_platform to libc.a.
17394 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17396         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17397         platform and feature support for POWER9.
17398         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17399         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17400         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17401         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17402         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17403         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17404         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17405         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17407 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17409         Harmonize generic stdio-lock support with nptl
17411         This fixes build when _IO_funlockfile is a macro, fixes build where
17412         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17413         stack unwind.
17415         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17416         _IO_release_lock ): Use cleanup attribute on new
17417         _IO_acquire_lock_file variable instead of assuming that
17418         _IO_release_lock will be called.
17419         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17420         _IO_acquire_lock_needs_exceptions_enabled.
17421         (_IO_acquire_lock_clear_flags2): New macro.
17423 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17425         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17427 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17429         [BZ #19182]
17430         * malloc/arena.c (list_lock): Document lock ordering requirements.
17431         (free_list_lock): New lock.
17432         (ptmalloc_lock_all): Comment on free_list_lock.
17433         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17434         (detach_arena): Update comment.  free_list_lock is now needed.
17435         (_int_new_arena): Use free_list_lock around detach_arena call.
17436         Acquire arena lock after list_lock.  Add comment, including FIXME
17437         about incorrect synchronization.
17438         (get_free_list): Switch to free_list_lock.
17439         (reused_arena): Acquire free_list_lock around detach_arena call
17440         and attached threads counter update.  Add two FIXMEs about
17441         incorrect synchronization.
17442         (arena_thread_freeres): Switch to free_list_lock.
17443         * malloc/malloc.c (struct malloc_state): Update comments to
17444         mention free_list_lock.
17446 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17448         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17449         Remove functions.
17450         (sloww, sloww1): Accept argument to offset quadrant.
17451         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17452         quadrant.
17453         (__sin, __cos): Consolidate common code into new functions.
17454         (reduce_sincos_1, do_sincos_1): New functions.
17455         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17458         code to new functions.
17459         (reduce_sincos_2, do_sincos_2): New functions.
17460         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17463         common code for sincos.
17464         (__cos) [!IN_SINCOS]: Likewise.
17465         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17466         New function.
17467         (__sincos): Use it.
17469 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17471         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17472         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17473         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17475 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17477         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17479         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17480         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17481         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17482         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17483         index_Prefer_No_VZEROUPPER): New feature.
17484         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17485         Prefer_No_VZEROUPPER for Knights Landing.
17487 015-12-18  Torvald Riegel  <triegel@redhat.com>
17489         * math/atest-exp2.c (mp_exp_m1): Remove.
17491 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17493         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
17494         syscalls.
17495         (__SYSCALL0): New macro.
17496         (__SYSCALL1): Likewise.
17497         (__SYSCALL2): Likewise.
17498         (__SYSCALL3): Likewise.
17499         (__SYSCALL4): Likewise.
17500         (__SYSCALL5): Likewise.
17501         (__SYSCALL6): Likewise.
17502         (__SYSCALL_CONCAT_X): Likewise.
17503         (__SYSCALL_CONCAT): Likewise.
17504         (__SYSCALL_DIST): Likewise.
17505         (__SYSCALL_CALL): Likewise.
17507 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
17509         [BZ #19363]
17510         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
17512 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17514         [BZ #19375]
17515         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
17516         negative subnormals.
17518 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
17520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17521         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
17522         (INTERNAL_SYSCALL_NCS): Use it.
17523         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17525 2015-12-16  Florian Weimer  <fweimer@redhat.com>
17527         [BZ #19243]
17528         * malloc/arena.c (get_free_list): Remove assert and adjust
17529         reference count handling.  Add comment about reused_arena
17530         interaction.
17531         (reused_arena): Add comments abount get_free_list interaction.
17532         * malloc/tst-malloc-thread-exit.c: New file.
17533         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
17534         (tst-malloc-thread-exit): Link against libpthread.
17536 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17538         [BZ #19367]
17539         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
17540         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
17541         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
17542         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
17543         (index_Prefer_MAP_32BIT_EXEC): Likewise.
17545 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17547         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
17548         Silvermont optimizations for Knights Landing.
17550 2015-12-15  Andreas Schwab  <schwab@suse.de>
17552         [BZ #17197]
17553         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
17554         immediately after emitting SI.
17555         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
17556         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
17557         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
17558         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
17559         * iconvdata/bug-iconv10.c: New file.
17560         * iconvdata/Makefile (tests): Add bug-iconv10.
17561         ($(objpfx)bug-iconv10.out): New rule.
17563 2015-12-15  Florian Weimer  <fweimer@redhat.com>
17565         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
17566         aliasing violation.
17568 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
17570         [BZ #18472]
17571         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
17572         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
17573         conditionals for them.
17574         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
17575         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
17576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
17577         sys/kdaemon.h.
17578         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
17579         compat-only syscall, obsoleted in glibc 2.23.
17580         (create_module): Likewise.
17581         (get_kernel_syms): Likewise.
17582         (query_module): Likewise.
17583         (uselib): Likewise.
17584         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
17586 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
17588         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
17589         <linux/version.h>.
17590         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
17591         conditional code.
17592         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
17593         and ioshift_name initialization.
17595 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17597         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17598         Fix indentation.
17600 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17602         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
17604 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17606         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
17608 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
17609             Jakub Wilk  <jwilk@debian.org>
17611         [BZ #19347]
17612         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
17613         to change the group of the device to the tty group.
17615 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
17617         Split large string section; add truncation advice
17618         * manual/examples/strncat.c: Remove.
17619         This example was misleading, as the code would have undefined
17620         behavior if "hello" was longer than SIZE.  Anyway, the manual
17621         shouldn't encourage strncpy+strncat for this sort of thing.
17622         * manual/string.texi (Copying Strings and Arrays): Split into
17623         three sections Copying Strings and Arrays, Concatenating Strings,
17624         and Truncating Strings, as this section was way too long.  All
17625         cross-referenced changed.  Add advice about string-truncation
17626         functions.  Remove misleading strncat example.
17628 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
17630         * manual/nss.texi (NSS Modules Interface): Document
17631         NSS_STATUS_NOTFOUND and SUCCESS.
17633 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17635         [BZ 18568]
17636         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17637         201505L, for Unicode 8.
17639 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
17641         * locale/C-translit.h: Regenerate.
17643 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17645         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
17646         and U+0153.
17648 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
17650         [BZ #19351]
17651         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
17652         expanding log(1+z), compare z rather than its square with epsilon
17653         to determine when to avoid evaluating the expansion.
17655         [BZ #19350]
17656         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17657         Increase overflow threshold.
17659         [BZ #19349]
17660         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
17661         when small.
17663         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17665         New macro.
17666         [__LINUX_KERNEL_VERSION >= 0x040300]
17667         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17668         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17669         Likewise.
17670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17671         Likewise.
17672         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17673         Likewise.
17674         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17675         Likewise.
17676         [__LINUX_KERNEL_VERSION >= 0x040300]
17677         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17678         [__LINUX_KERNEL_VERSION >= 0x040300]
17679         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17680         [__LINUX_KERNEL_VERSION >= 0x040300]
17681         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17682         [__LINUX_KERNEL_VERSION >= 0x040300]
17683         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17684         [__LINUX_KERNEL_VERSION >= 0x040300]
17685         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17686         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17687         Likewise.
17688         [__LINUX_KERNEL_VERSION >= 0x040300]
17689         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17690         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17691         Likewise.
17692         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17693         Likewise.
17694         [__LINUX_KERNEL_VERSION >= 0x040300]
17695         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17696         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17697         Likewise.
17698         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17699         Likewise.
17700         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17701         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
17702         Likewise.
17703         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
17704         Likewise.
17705         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17706         Likewise.
17707         [__LINUX_KERNEL_VERSION >= 0x040300]
17708         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17709         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17710         Likewise.
17711         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17712         Likewise.
17713         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17714         Likewise.
17715         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17716         Likewise.
17717         [__LINUX_KERNEL_VERSION >= 0x040300]
17718         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17719         [__LINUX_KERNEL_VERSION >= 0x040300]
17720         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17721         [__LINUX_KERNEL_VERSION >= 0x040300]
17722         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17723         [__LINUX_KERNEL_VERSION >= 0x040300]
17724         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17725         [__LINUX_KERNEL_VERSION >= 0x040300]
17726         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17727         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17728         Likewise.
17729         [__LINUX_KERNEL_VERSION >= 0x040300]
17730         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17731         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17732         Likewise.
17733         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17734         Likewise.
17735         [__LINUX_KERNEL_VERSION >= 0x040300]
17736         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17737         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17738         Likewise.
17739         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17740         Likewise.
17741         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17742         (__ASSUME_SOCKET_SYSCALL): Likewise.
17743         (__ASSUME_BIND_SYSCALL): Likewise.
17744         (__ASSUME_CONNECT_SYSCALL): Likewise.
17745         (__ASSUME_LISTEN_SYSCALL): Likewise.
17746         (__ASSUME_ACCEPT_SYSCALL): Likewise.
17747         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17748         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17749         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17750         (__ASSUME_SEND_SYSCALL): Likewise.
17751         (__ASSUME_SENDTO_SYSCALL): Likewise.
17752         (__ASSUME_RECV_SYSCALL): Likewise.
17753         (__ASSUME_RECVFROM_SYSCALL): Likewise.
17754         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
17755         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17756         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17757         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17758         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17759         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17760         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
17761         Likewise.
17762         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
17763         Likewise.
17764         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17765         Likewise.
17766         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17767         Likewise.
17768         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17769         Likewise.
17770         [__LINUX_KERNEL_VERSION >= 0x020625]
17771         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17772         [__LINUX_KERNEL_VERSION >= 0x020625]
17773         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17774         [__LINUX_KERNEL_VERSION >= 0x020625]
17775         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17776         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17777         Likewise.
17778         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17779         Likewise.
17780         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17781         Likewise.
17782         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17783         Likewise.
17784         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17785         Likewise.
17786         [__LINUX_KERNEL_VERSION >= 0x020625]
17787         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17788         [__LINUX_KERNEL_VERSION >= 0x020625]
17789         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17790         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17791         Likewise.
17792         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17793         Likewise.
17795 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17797         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17798         record the current if the current ABI and CPU support the FP64
17799         extension.
17800         (has-modd-spreg): Define to record the current if the current ABI and
17801         CPU support 32-bit floating point values in odd FPU registers.
17802         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17803         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17804         $(has-modd-spreg) equals yes.
17805         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17806         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
17807         $(has-modd-spreg) equal yes.
17809 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17811         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
17812         basename.
17814 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
17816         * benchtests/Makefile (bench-math): Move ffs and ffsll...
17817         (bench-string): ... here.
17818         (bench): Add bench-string.
17819         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
17820         to *-benchset to reflect what they are.
17821         (benchset): Adjust.
17823         * benchtests/sincos-inputs: Add inputs from sin-inputs and
17824         cos-inputs.
17826 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
17828         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
17829         __attribute__ ((__simd__)) for vector math function declarations.
17831 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17833         Fix typo in strncat, wcsncat manual entries
17834         * manual/string.texi (Copying and Concatenation): Fix typos in
17835         sample implementations of strncat and wcsncat, by having them use
17836         the old value of the destination length, not the new one.
17838 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
17840         [BZ #16961]
17841         [BZ #16962]
17842         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
17843         string on the stack for strtod.
17844         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
17845         a string on the stack for strtof.
17846         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
17847         constructing a string on the stack for strtold.
17848         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
17849         __strtold_nan to GLIBC_PRIVATE.
17850         * math/test-nan-overflow.c: New file.
17851         * math/test-nan-payload.c: Likewise.
17852         * math/Makefile (tests): Add test-nan-overflow and
17853         test-nan-payload.
17855 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17857         Consistency about byte vs character in string.texi
17858         * manual/string.texi (String and Array Utilities):
17859         Distinguish more carefully among bytes, multibyte characters,
17860         and wide characters.  Use "byte" when talking about C 'char',
17861         to distinguish it more clearly from multibyte characters.
17862         Say "wide character" or "multibyte character" instead of
17863         "character", when a wide or multibyte character is intended.
17864         Similarly for "multibyte string" versus "string".
17865         Define these terms more carefully.
17867 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
17869         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
17870         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
17871         Likewise.
17872         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17873         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17874         * sysdeps/sh/math_private.h: New file.
17875         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
17876         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
17877         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
17878         long double function name.
17879         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17880         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17881         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17882         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17883         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17885         Remove __finitel, __isinfl, and __isnanl.
17886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17887         Likewise.
17888         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17890         Remove __finitel.
17891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17892         Likewise.
17893         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17895 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
17897         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
17898         installed libmvec_nonshared.a.
17900 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17902         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
17903         (sysdep_routines): Likewise.
17904         (sysdep-rtld-routines): Likewise.
17905         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
17906         [$(subdir) = nptl](tests-static): test-get_hwcap-static
17907         * sysdeps/powerpc/Versions: Added new
17908         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
17909         * sysdeps/powerpc/hwcapinfo.c: New file.
17910         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17911         and parse hwcap, hwcap2 and platform number information.
17912         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
17913         to store HWCAP+HWCAP2 and platform number.
17914         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
17915         for HWCAP+HWCAP2 and platform number in the TCB.
17916         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
17917         the HWCAP, HWCAP2 and platform number in the TCB.
17918         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
17919         (TLS_INIT_TP): Included calls to add the hwcap and
17920         at_platform values in the TCB in TP initialization.
17921         (TLS_DEFINE_INIT_TP): Likewise.
17922         (THREAD_GET_HWCAP): New macro.
17923         (THREAD_SET_HWCAP): Likewise.
17924         (THREAD_GET_AT_PLATFORM): Likewise.
17925         (THREAD_SET_AT_PLATFORM): Likewise.
17926         * sysdeps/powerpc/powerpc32/dl-machine.h:
17927         (dl_platform_init): New function that calls
17928         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
17929         powerpc32.
17930         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
17931         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
17932         this functionality, static linking case.
17933         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
17934         linking case.
17935         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
17936         __parse_hwcap_and_convert_at_platform for the static linking case.
17937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
17938         Included the new __parse_hwcap_and_convert_at_platform symbol in the
17939         ABI list for GLIBC 2.23.
17940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
17941         Likewise.
17942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
17943         Likewise.
17945 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
17947         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
17948         * configure: Regenerate.
17949         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
17950         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
17952 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
17954         * iconvdata/ibm930.c: Add comment explaining encoding uses.
17955         * iconvdata/ibm933.c: Likewise.
17956         * iconvdata/ibm935.c: Likewise.
17957         * iconvdata/ibm937.c: Likewise.
17958         * iconvdata/ibm939.c: Likewise.
17960 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17962         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
17963         pthread_join.
17964         * nptl/tst-cancel21.c (tf): Likewise.
17966 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17968         [BZ #19313]
17969         * bits/typesizes.h (__CPU_MASK_TYPE): New.
17970         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17971         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17972         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
17973         Likewise.
17974         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
17975         Likewise.
17976         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
17977         Likewise.
17978         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
17979         Likewise.
17980         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
17981         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
17982         unsigned long int with __CPU_MASK_TYPE.
17984 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17986         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17988 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
17990         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
17991         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
17992         t512.x.
17993         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
17995 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
17997         [BZ #19214]
17998         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
17999         argument to return extended model.  Update family and model
18000         with extended family and model when family == 0x0f.
18001         (init_cpu_features): Updated.
18003 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18005         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18006         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18008         * sysdeps/mach/hurd/mmap64.c: New file.
18010 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18012         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18013         rights for its main user thread in NEWTASK.
18015 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18017         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18018         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18020 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18022         [BZ #14259]
18023         * Makeconfig: Rename localedir to complocaledir.
18024         Rename inst_localedir to inst_complocaledir.
18025         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18026         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18027         * configure.ac: Use libc_cv_complocaledir.
18028         * configure: Regenerate.
18029         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18030         -DCOMPLOCALEDIR.
18031         * locale/findlocale.c: Use COMPLOCALEDIR.
18032         * locale/loadarchive.c: Likewise.
18033         * locale/programs/locale.c: Likewise.
18034         * locale/programs/localedef.c: Likewise.
18035         * locale/programs/locarchive.c: Likewise.
18036         * localedata/Makefile: Use inst_complocaledir.
18037         * sysdeps/gnu/configure: Regenerate.
18038         * sysdeps/hppa/configure: Regenerate.
18039         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18040         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18042         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18043         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18044         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18045         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18047 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18049         [BZ #19058]
18050         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18051         AS_NEEDED.
18052         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18053         workaround.
18054         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18055         libmvec-static-only-routines): Added new file.
18056         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18058 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18060         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18061         of interrupted RPC instead of restoring it.
18063         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18064         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18065         libc_hidden_def.
18066         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18067         into initialized data instead of common. Define rtld_hidden_data_def.
18068         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18069         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18070         libc_hidden_def.
18071         (if_freenameindex): Add libc_hidden_weak.
18072         (if_nameindex): Add libc_hidden_weak.
18073         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18074         __open64.
18075         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18076         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18077         * sysdeps/mach/nanosleep.c: Include <time.h>
18078         (__nanosleep): Rename to __libc_nanosleep.
18079         (__nanosleep): Add weak_alias.
18080         (nanosleep): Update alias.
18082 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18084         * stdlib/strtod_nan.c: New file.
18085         * stdlib/strtod_nan_double.h: Likewise.
18086         * stdlib/strtod_nan_float.h: Likewise.
18087         * stdlib/strtod_nan_main.c: Likewise.
18088         * stdlib/strtod_nan_narrow.h: Likewise.
18089         * stdlib/strtod_nan_wide.h: Likewise.
18090         * stdlib/strtof_nan.c: Likewise.
18091         * stdlib/strtold_nan.c: Likewise.
18092         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18093         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18094         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18095         * wcsmbs/wcstod_nan.c: Likewise.
18096         * wcsmbs/wcstof_nan.c: Likewise.
18097         * wcsmbs/wcstold_nan.c: Likewise.
18098         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18099         strtold_nan.
18100         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18101         wcstof_nan.
18102         * include/stdlib.h (__strtof_nan): Declare and use
18103         libc_hidden_proto.
18104         (__strtod_nan): Likewise.
18105         (__strtold_nan): Likewise.
18106         (__wcstof_nan): Likewise.
18107         (__wcstod_nan): Likewise.
18108         (__wcstold_nan): Likewise.
18109         * include/wchar.h (____wcstoull_l_internal): Declare.
18110         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18111         (____strtoull_l_internal): Remove declaration.
18112         (STRTOF_NAN): Define macro.
18113         (SET_MANTISSA): Remove macro.
18114         (STRTOULL): Likewise.
18115         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18116         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18117         (STRTOF_NAN): Define macro.
18118         (SET_MANTISSA): Remove macro.
18119         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18120         (SET_MANTISSA): Remove macro.
18121         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18122         macro.
18123         (SET_MANTISSA): Remove macro.
18124         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18125         macro.
18126         (SET_MANTISSA): Remove macro.
18127         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18128         (SET_MANTISSA): Remove macro.
18129         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18130         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18131         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18133         [BZ #19266]
18134         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18135         upper case and lower case letters inside NAN(), not using TOLOWER.
18136         * stdlib/tst-strtod-nan-locale-main.c: New file.
18137         * stdlib/tst-strtod-nan-locale.c: Likewise.
18138         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18139         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18140         Depend on $(gen-locales).
18141         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18142         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18143         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18144         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18145         Depend on $(gen-locales).
18146         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18148 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18150         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18152         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18154         __finitel, __isinfl, and __isnanl.
18155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18156         Likewise.
18157         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18159         __finitel.
18160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18161         Likewise.
18162         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18164 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18166         * malloc/memusage.c (me): Remove redundant getenv call.
18168 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18170         [BZ #19143]
18171         [BZ #19164]
18172         * nptl/check-cpuset.h: Remove.
18173         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18174         Remove CPU set size check.
18175         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18176         Likewise.
18177         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18178         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18179         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18180         (__pthread_setaffinity_new): Remove CPU set size check.
18181         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18182         (__kernel_cpumask_size): Remove.
18183         (__sched_setaffinity_new): Remove CPU set size check.
18184         * manual/threads.texi (Default Thread Attributes): Remove stale
18185         reference to check_cpuset_attr, determine_cpumask_size in comment.
18186         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18187         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18188         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18189         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18190         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18191         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18192         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18193         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18194         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18195         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18196         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18197         skeleton test file.
18198         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18199         tst-affinity-pid.
18201 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18203         * scripts/update-abilist.sh: New file.
18204         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18205         * Makerules (update-all-abi-%, update-all-abi)
18206         (subdir_update-all-abi): New targets.
18207         * elf/Makefile (update-all-abi): New target.
18209 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18211         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18212         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18213         (__libc_lock_define_initialized): Use it.
18214         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18215         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18216         * malloc/malloc.c (main_arena): Likewise.
18217         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18218         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18220 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18222         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18223         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18224         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18225         (PTRACE_O_MASK): Update value.
18226         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18227         New value in enum __ptrace_setoptions.
18228         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18229         (PTRACE_O_MASK): Update value.
18230         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18231         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18232         (PTRACE_O_MASK): Update value.
18233         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18234         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18235         (PTRACE_O_MASK): Update value.
18236         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18237         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18238         (PTRACE_O_MASK): Update value.
18239         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18240         New value in enum __ptrace_setoptions.
18241         (PTRACE_O_MASK): Update value.
18242         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18243         New value in enum __ptrace_setoptions.
18244         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18245         (PTRACE_O_MASK): Update value.
18247         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18248         New macro.
18249         (PACKET_AUXDATA): Likewise.
18250         (PACKET_ORIGDEV): Likewise.
18251         (PACKET_VERSION): Likewise.
18252         (PACKET_HDRLEN): Likewise.
18253         (PACKET_RESERVE): Likewise.
18254         (PACKET_TX_RING): Likewise.
18255         (PACKET_LOSS): Likewise.
18256         (PACKET_VNET_HDR): Likewise.
18257         (PACKET_TX_TIMESTAMP): Likewise.
18258         (PACKET_TIMESTAMP): Likewise.
18259         (PACKET_FANOUT): Likewise.
18260         (PACKET_TX_HAS_OFF): Likewise.
18261         (PACKET_QDISC_BYPASS): Likewise.
18262         (PACKET_ROLLOVER_STATS): Likewise.
18263         (PACKET_FANOUT_DATA): Likewise.
18264         (PACKET_MR_UNICAST): Likewise.
18266         [BZ #19242]
18267         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18268         (TOUPPER): Likewise.
18269         * stdlib/tst-strtol-locale-main.c: New file.
18270         * stdlib/tst-strtol-locale.c: Likewise.
18271         * stdlib/Makefile (tests): Add tst-strtol-locale.
18272         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18273         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18274         Depend on $(gen-locales).
18275         * wcsmbs/tst-wcstol-locale.c: New file.
18276         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18277         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18278         tr_TR.ISO-8859-9.
18279         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18280         Depend on $(gen-locales).
18282 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18284         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18285         __glibc_likely instead of __builtin_expect.  After falling back to
18286         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18287         system interface to register the code pages as occupied.
18289 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18291         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18292         [!ARM_MATH_PRIVATE_H].
18293         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18294         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18295         [!HPPA_MATH_PRIVATE_H].
18296         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18297         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18298         to [!I386_MATH_PRIVATE_H].
18299         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18300         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18301         Change guard to [!M68K_MATH_PRIVATE_H].
18302         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18303         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18304         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18305         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18306         macro.
18307         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18308         [!MIPS_MATH_PRIVATE_H].
18309         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18310         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18311         [!NIO2_MATH_PRIVATE_H].
18312         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18313         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18314         [!TILE_MATH_PRIVATE_H].
18315         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18317         [BZ #15421]
18318         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18319         initialize with 0 and define as weak alias of __signgam.
18320         * include/math.h [!_ISOMAC] (__signgam): Declare.
18321         * math/Makefile (libm-calls): Add w_lgamma_compat.
18322         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18323         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18324         test-signgam-ullong-init.
18325         (tests-static): Add test-signgam-uchar-static,
18326         test-signgam-uchar-init-static, test-signgam-uint-static,
18327         test-signgam-uint-init-static, test-signgam-ullong-static and
18328         test-signgam-ullong-init-static.
18329         (CFLAGS-test-signgam-uchar.c): New variable.
18330         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18331         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18332         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18333         (CFLAGS-test-signgam-uint.c): Likewise.
18334         (CFLAGS-test-signgam-uint-init.c): Likewise.
18335         (CFLAGS-test-signgam-uint-static.c): Likewise.
18336         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18337         (CFLAGS-test-signgam-ullong.c): Likewise.
18338         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18339         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18340         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18341         * math/Versions (libm): Add GLIBC_2.23.
18342         * math/lgamma-compat.h: New file.
18343         * math/test-signgam-main.c: Likewise.
18344         * math/test-signgam-uchar-init-static.c: Likewise.
18345         * math/test-signgam-uchar-init.c: Likewise.
18346         * math/test-signgam-uchar-static.c: Likewise.
18347         * math/test-signgam-uchar.c: Likewise.
18348         * math/test-signgam-uint-init-static.c: Likewise.
18349         * math/test-signgam-uint-init.c: Likewise.
18350         * math/test-signgam-uint-static.c: Likewise.
18351         * math/test-signgam-uint.c: Likewise.
18352         * math/test-signgam-ullong-init-static.c: Likewise.
18353         * math/test-signgam-ullong-init.c: Likewise.
18354         * math/test-signgam-ullong-static.c: Likewise.
18355         * math/test-signgam-ullong.c: Likewise.
18356         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18357         wrapper of w_lgamma_main.c.
18358         * math/w_lgamma_compat.c: New file.
18359         * math/w_lgamma_compatf.c: Likewise.
18360         * math/w_lgamma_compatl.c: Likewise.
18361         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18362         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18363         defining compatibility symbols.
18364         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18365         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18366         wrapper of w_lgammaf_main.c.
18367         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18368         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18369         defining compatibility symbols.
18370         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18371         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18372         wrapper of w_lgammal_main.c.
18373         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18374         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18375         defining compatibility symbols.
18376         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18377         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18378         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18379         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18380         <lgamma-compat.h>.
18381         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18382         (__ieee754_gamma): Define as alias.
18383         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18384         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18385         <lgamma-compat.h>.
18386         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18387         (__ieee754_gammaf): Define as alias.
18388         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18389         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18390         <lgamma-compat.h>.
18391         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18392         (__ieee754_gammal): Define as alias.
18393         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18394         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18395         <math/w_lgamma_compat.c>.
18396         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18397         Define as alias of __lgamma_compat and use in defining lgammal.
18398         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18399         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18400         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18401         (USE_AS_COMPAT): New macro.
18402         (LGAMMA_OLD_VER): Undefine and redefine.
18403         (lgammal): Do not define here.
18404         (gammal): Only define here if [GAMMA_ALIAS].
18405         * conform/linknamespace.pl (@whitelist): Remove signgam.
18406         * sysdeps/nacl/libm.abilist: Update.
18407         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18408         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18409         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18410         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18411         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18412         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18413         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18414         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18415         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18416         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18417         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18418         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18420         Likewise.
18421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18422         Likewise.
18423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18424         Likewise.
18425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18426         Likewise.
18427         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18428         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18429         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18430         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18431         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18433         Likewise.
18434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18435         Likewise.
18436         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18437         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18438         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18440 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18442         [BZ #16364]
18443         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18444         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18446 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18448         * sysdeps/s390/fpu/bits/mathinline.h:
18449         Use __asm__ [__volatile__] instead of asm [volatile].
18450         * sysdeps/s390/abort-instr.h: Likewise.
18451         * sysdeps/s390/atomic-machine.h: Likewise.
18452         * sysdeps/s390/bits/string.h: Likewise.
18453         * sysdeps/s390/dl-tls.h: Likewise.
18454         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18455         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18456         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18457         * sysdeps/s390/fpu/fesetround.c: Likewise.
18458         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18459         * sysdeps/s390/fpu/s_fma.c: Likewise.
18460         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18461         * sysdeps/s390/memusage.h: Likewise.
18462         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18463         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18464         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18465         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18466         * sysdeps/s390/nptl/tls.h: Likewise.
18467         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18468         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18469         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18470         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18471         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18472         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18473         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18474         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18475         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18476         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18477         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18478         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18479         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18480         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18481         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18482         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18483         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
18484         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18485         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
18486         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18487         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
18488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18489         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
18491 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18492             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18494         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18495         Add lwarx hint, and use macro for acquire instruction.
18496         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18497         Likewise.
18498         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
18499         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
18500         update to use new atomic macros.
18502 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18504         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18505         (__lll_trylock_elision): Fix setting of adapt_count.
18506         * sysdeps/unix/sysv/linux/powerpc/htm.h
18507         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
18508         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
18509         (_ABORT_SYSCALL): Renumber, and clarify definition.
18510         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
18512 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18514         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
18515         after system headers to prevent MIN/MAX redefinition.  Define
18516         HAVE_ALLOCA to preserve builtin alloca usage.
18518 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18520         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
18521         static and don't set or restore rounding.
18522         (__cos)[IN_SINCOS]: Likewise.
18523         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
18524         (__sincos): Set and restore rounding mode.  Remove check for infinite
18525         or NaN input.
18527         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
18529         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
18530         as used.
18532 2015-11-16  Florian Weimer  <fweimer@redhat.com>
18534         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
18536 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18538         * config.make.in (have-glob-dat-reloc): New.
18539         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
18540         target supports GLOB_DAT relocaton. AC_SUBST.
18541         * configure: Regenerated.
18542         * elf/Makefile (tests): Add tst-prelink.
18543         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18544         (tst-prelink-ENV): New.
18545         ($(objpfx)tst-prelink-conflict.out): Likewise.
18546         ($(objpfx)tst-prelink-cmp.out): Likewise.
18547         * sysdeps/x86/tst-prelink.c: Moved to ...
18548         * elf/tst-prelink.c: Here.
18549         * sysdeps/x86/tst-prelink.exp: Moved to ...
18550         * elf/tst-prelink.exp: Here.
18551         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
18552         (tst-prelink-ENV): Removed.
18553         ($(objpfx)tst-prelink-conflict.out): Likewise.
18554         ($(objpfx)tst-prelink-cmp.out): Likewise.
18555         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
18557 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
18559         [BZ #14551]
18560         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
18561         (__mpn_construct_long_double): If high part overflows to infinity,
18562         set errno and recompute overflowed result of the correct sign.
18563         * sysdeps/ieee754/ldbl-128ibm/Makefile
18564         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
18565         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
18566         $(libm).
18567         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
18569 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
18571         [BZ #15479]
18572         [BZ #19238]
18573         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
18574         floating-point state after first operation on input.  Restore full
18575         state rather than just rounding mode.
18576         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18577         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18578         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18580         [BZ #19235]
18581         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
18582         add 0.5 to integer arguments.
18583         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
18584         Likewise.
18585         (.LC2): New object.
18587 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
18589         * scripts/pylintrc (reports): Set to no.
18591 2015-11-10  Roland McGrath  <roland@hack.frob.com>
18593         * elf/dl-load.c (open_verify): Take new argument FD.
18594         Skip __open call if passed FD is not -1.
18595         (_dl_map_object, open_path): Update callers.
18596         * elf/dl-sysdep-open.h: New file.
18597         * elf/dl-load.c: Include it.
18598         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
18599         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
18600         * sysdeps/nacl/dl-sysdep-open.h: New file.
18601         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
18602         from libc to rtld.
18604 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18606         [BZ #19228]
18607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
18608         and restore full floating-point state.
18609         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18610         Likewise.
18611         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18612         Likewise.
18613         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18614         Likewise.
18615         * math/test-nearbyint-except-2.c: New file.
18616         * math/Makefile (tests): Add test-nearbyint-except-2.
18618 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
18620         [BZ #19178]
18621         * sysdeps/x86/Makefile (tests): Add tst-prelink.
18622         (tst-prelink-ENV): New.
18623         ($(objpfx)tst-prelink-conflict.out): Likewise.
18624         ($(objpfx)tst-prelink-cmp.out): Likewise.
18625         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18626         * sysdeps/x86/tst-prelink.c: New file.
18627         * sysdeps/x86/tst-prelink.exp: Likewise.
18629 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18631         * math/auto-libm-test-in: Add another test of pow.
18632         * math/auto-libm-test-out: Regenerated.
18633         * math/libm-test.inc (pow_test_data): Add another test.
18635 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18637         [BZ #19219]
18638         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
18639         weak_alias to nearbyintl.
18641 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18643         * sysdeps/aarch64/bits/string.h: New file.
18644         (_STRING_ARCH_unaligned): Define.
18646 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18648         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
18649         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18650         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18651         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
18652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
18654 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
18656         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
18657         for original name of the DSO.  Add it to the name list of the DSO
18658         if it is actually given.
18659         (_dl_map_object): Keep track of whether an audit module rewrote
18660         the file name.  If yes, pass the original name to
18661         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
18662         debugging is enabled, log the change of the file name.
18663         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
18664         _dl_map_object_from_fd.
18665         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
18666         * elf/tst-audit11.c: New file
18667         * elf/tst-auditmod11.c: New file.
18668         * elf/tst-audit11mod1.c: New file.
18669         * elf/tst-audit11mod2.c: New file.
18670         * elf/tst-audit11mod2.map: New file.
18671         * elf/tst-audit12.c: New file
18672         * elf/tst-auditmod12.c: New file.
18673         * elf/tst-audit12mod1.c: New file.
18674         * elf/tst-audit12mod2.c: New file.
18675         * elf/tst-audit12mod2.map: New file.
18676         * elf/tst-audit12mod3.c: New file.
18678 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18680         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
18681         Don't create weak aliases,
18682         because versioned symbols are created later.
18683         * sysdeps/s390/s390-32/setjmp.S
18684         (setjmp, _setjmp): Remove weak and rename to an unique name
18685         in SHARED case due to existing versioned symbols.
18686         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18687         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
18688         (getcontext): Create weak alias only in non SHARED case.
18689         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18691 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18693         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
18694         (__ASSUME_*_SYSCALL) Define new macros.
18695         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
18696         Remove socketcall syscalls.
18697         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
18698         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
18699         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
18700         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
18701         * sysdeps/unix/sysv/linux/send.c (__libc_send):
18702         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
18704 2015-11-09  Florian Weimer  <fweimer@redhat.com>
18706         [BZ #12926]
18707         Terminate process on invalid netlink response.
18708         * sysdeps/unix/sysv/linux/netlinkaccess.h
18709         (__netlink_assert_response): Declare.
18710         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
18711         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
18712         (sysdep_routines): Add netlink_assert_response.
18713         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
18714         __netlink_assert_response.
18715         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18716         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18717         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
18718         __netlink_assert_response.
18720 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18722         [BZ #19178]
18723         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
18724         (RTYPE_CLASS_PLT): Likewise.
18725         (RTYPE_CLASS_COPY): Likewise.
18726         (RTYPE_CLASS_TLS): Likewise.
18727         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
18728         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
18729         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
18730         DL_DEBUG_PRELINK.
18732 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
18734         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
18735         calls with argument -0.5.
18736         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
18738         * configure.ac (libc_cv_z_nodelete): Remove configure test.
18739         (libc_cv_z_nodlopen): Likewise.
18740         (libc_cv_z_initfirst): Likewise.
18741         * configure: Regenerated.
18743 2015-11-06  Florian Weimer  <fweimer@redhat.com>
18745         Simplify abilist format to be line-based.
18746         * scripts/abilist.awk: Collect descriptors in the descs variable.
18747         (emit): Write descs variable and sort it
18748         externally, with sort.
18749         * sysdeps/**/*.abilist: Convert to new format.
18751 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18753         [BZ #11460]
18754         * io/Makefile (routines): Add fts64.
18755         (tests): Add tst-fts and tst-fts-lfs.
18756         (CFLAGS-fts64.c): New.
18757         * io/Versions (GLIBC_2.23): New.
18758         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
18759         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
18760         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
18761         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
18762         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
18763         (FTSENT64): Likewise.
18764         (fts64_children): Likewise.
18765         (fts64_close): Likewise.
18766         (fts64_open): Likewise.
18767         (fts64_read): Likewise.
18768         (fts64_set): Likewise.
18769         * io/fts64.c: New file.
18770         * io/tst-fts.c: New test.
18771         * io/tst-fts-lfs.c: Likewise.
18772         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18773         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18774         fts64_set.
18775         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18776         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18777         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18778         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18779         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18780         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18781         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18782         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18783         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18784         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18785         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18786         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18787         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18789         Likewise.
18790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18791         Likewise.
18792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18794         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18795         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18796         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18797         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18798         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18801         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18802         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18803         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18804         * sysdeps/wordsize-64/fts.c: New file.
18805         * sysdeps/wordsize-64/fts64.c: Likewise.
18806         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
18807         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
18808         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
18809         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
18811 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18813         * math/libm-test.inc (NON_FINITE): New macro.
18814         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
18815         * math/gen-libm-test.pl (show_exceptions): Add argument
18816         $non_finite.
18817         (parse_args): Update call to show_exceptions.
18818         * math/test-math-finite.h: New file.
18819         * math/test-math-no-finite.h: Likewise.
18820         * math/test-double-finite.c: Likewise.
18821         * math/test-float-finite.c: Likewise.
18822         * math/test-ldouble-finite.c: Likewise.
18823         * math/test-double.c: Include "test-math-no-finite.h".
18824         * math/test-float.c: Include "test-math-no-finite.h".
18825         * math/test-ldouble.c: Include "test-math-no-finite.h".
18826         * math/test-math-inline.h (TEST_FINITE): New macro.
18827         * math/test-math-vector.h (TEST_FINITE): Likewise.
18828         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
18829         (libm-tests): Add test-float-finite and test-double-finite.
18830         ($(objpfx)test-float-finite.o): New dependency on
18831         $(objpfx)libm-test.stmp.
18832         ($(objpfx)test-double-finite.o): Likewise.
18833         ($(objpfx)test-ldouble-finite.o): Likewise.
18834         (libm-test-no-inline-cflags): New variable.
18835         (libm-test-finite-cflags): Likewise.
18836         (CFLAGS-test-float-finite.c): Likewise.
18837         (CFLAGS-test-double-finite.c): Likewise.
18838         (CFLAGS-test-ldouble-finite.c): Likewise.
18839         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
18840         (CFLAGS-test-double.c): Likewise.
18841         (CFLAGS-test-ldouble.c): Likewise.
18843 2015-11-05  Roland McGrath  <roland@hack.frob.com>
18845         * io/fcntl.c (__fcntl): Add ... to prototype.
18846         * misc/ioctl.c (__ioctl): Likewise.
18847         * misc/syscall.c (syscall): Likewise.
18849 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18851         * scripts/list-fixed-bugs.py: New file.
18853         [BZ #19213]
18854         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
18855         returned for argument 1.
18856         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
18857         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
18858         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
18859         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
18860         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
18861         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
18863         [BZ #19211]
18864         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
18865         __USE_XOPEN], not if [!__USE_ISOC99].
18866         (lgammaf): Likewise.
18867         (lgammal): Likewise.
18868         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
18869         (gammaf): Likewise.
18870         (gammal): Likewise.
18871         * math/test-signgam-finite-c11.c: New file.
18872         * math/test-signgam-finite-c99.c: Likewise.
18873         * math/test-signgam-finite.c: Likewise.
18874         * math/Makefile (tests): Add test-signgam-finite,
18875         test-signgam-finite-c99 and test-signgam-finite-c11.
18876         (CFLAGS-test-signgam-finite.c): New variable.
18877         (CFLAGS-test-signgam-finite-c99.c): Likewise.
18878         (CFLAGS-test-signgam-finite-c11.c): Likewise.
18880         [BZ #19212]
18881         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
18882         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
18883         500].
18884         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
18885         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
18886         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
18887         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
18888         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
18889         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
18890         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
18891         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
18892         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
18893         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
18895         [BZ #19209]
18896         * math/bits/math-finite.h (ldexp): Remove declaration.
18897         (ldexpf): Likewise.
18898         (ldexpl): Likewise.
18900         [BZ #19205]
18901         * math/bits/math-finite.h (acosf): Condition declaration on
18902         [__USE_ISOC99].
18903         (acosl): Likewise.
18904         (acoshf): Likewise.
18905         (acoshl): Likewise.
18906         (asinf): Likewise.
18907         (asinl): Likewise.
18908         (atan2f): Likewise.
18909         (atan2l): Likewise.
18910         (atanhf): Likewise.
18911         (atanhl): Likewise.
18912         (coshf): Likewise.
18913         (coshl): Likewise.
18914         (expf): Likewise.
18915         (expl): Likewise.
18916         (fmodf): Likewise.
18917         (fmodl): Likewise.
18918         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
18919         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
18920         (j0l): Likewise.
18921         (y0f): Likewise.
18922         (y0l): Likewise.
18923         (j1f): Likewise.
18924         (j1l): Likewise.
18925         (y1f): Likewise.
18926         (y1l): Likewise.
18927         (jnf): Likewise.
18928         (jnl): Likewise.
18929         (ynf): Likewise.
18930         (ynl): Likewise.
18931         (lgammaf_r): Condition declaration on [__USE_ISOC99].
18932         (lgammal_r): Likewise.
18933         (__lgamma_r_finite): New declaration.
18934         (__lgammaf_r_finite): Likewise.
18935         (__lgammal_r_finite): Likewise.
18936         (lgamma): Use __lgamma_r_finite.
18937         (lgammaf): Condition definition on [__USE_ISOC99].  Use
18938         __lgammaf_r_finite.
18939         (lgammal): Condition definition on [__USE_ISOC99].  Use
18940         __lgammal_r_finite.
18941         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
18942         __lgamma_r_finite.
18943         (gammaf): Condition definition on [__USE_ISOC99].  Use
18944         __lgammaf_r_finite.
18945         (gammal): Condition definition on [__USE_ISOC99].  Use
18946         __lgammal_r_finite.
18947         (logf): Condition declaration on [__USE_ISOC99].
18948         (logl): Likewise.
18949         (log10f): Likewise.
18950         (log10l): Likewise.
18951         (ldexpf): Likewise.
18952         (ldexpl): Likewise.
18953         (powf): Likewise.
18954         (powl): Likewise.
18955         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
18956         __USE_ISOC99].
18957         (remainderf): Condition declaration on [__USE_ISOC99].
18958         (remainderl): Likewise.
18959         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
18960         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
18961         (scalbl): Likewise.
18962         (sinhf): Condition declaration on [__USE_ISOC99].
18963         (sinhl): Likewise.
18964         (sqrtf): Likewise.
18965         (sqrtl): Likewise.
18967 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18969         * sysdeps/arm/atomic-machine.h
18970         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18971         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18972         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
18973         Remove conditional code.
18974         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18975         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18976         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
18977         Change conditional to [__ASSEMBLER__].
18978         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18979         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
18980         [!__ASSEMBLER__].
18981         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
18982         code.
18983         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
18984         conditional macro definitions.
18985         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
18986         (__arch_compare_and_exchange_val_16_acq): Likewise.
18987         (__arch_compare_and_exchange_val_32_acq): Likewise.
18988         (atomic_exchange_and_add): Likewise.
18989         (atomic_add): Likewise.
18990         (atomic_add_negative): Likewise.
18991         (atomic_add_zero): Likewise.
18992         (atomic_bit_set): Likewise.
18993         (atomic_bit_test_set): Likewise.
18994         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
18995         code unconditional.
18996         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18998         * math/test-math-errno.h: New file.
18999         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19000         empty.
19001         (TEST_ERRNO): New macro.
19002         (TEST_EXCEPTIONS): Likewise.
19003         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19004         (TEST_EXCEPTIONS): Likewise.
19005         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19006         * math/test-double.c: Include "test-math-errno.h".
19007         * math/test-float.c: Likewise.
19008         * math/test-ldouble.c: Likewise.
19009         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19010         code unconditional.
19011         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19012         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19013         unconditional.
19014         (test_errno): Only run code if TEST_ERRNO.
19015         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19017 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19019         * nptl/tst-once5.cc: Remove attribution.
19021 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19023         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19024         sqrt, tan, tanh, y0, y1 and yn.
19025         * math/auto-libm-test-out: Regenerated.
19026         * math/libm-test.inc (scalb_test_data): Add more tests.
19027         (scalbn_test_data): Likewise.
19028         (scalbln_test_data): Likewise.
19029         (signbit_test_data): Likewise.
19030         (sin_test_data): Likewise.
19031         (sincos_test_data): Likewise.
19032         (sinh_test_data): Likewise.
19033         (sqrt_test_data): Likewise.
19034         (tan_test_data): Likewise.
19035         (tanh_test_data): Likewise.
19036         (tgamma_test_data): Likewise.
19037         (y0_test_data): Likewise.
19038         (y1_test_data): Likewise.
19039         (yn_test_data): Likewise.
19040         (significand_test_data): Likewise.
19041         * sysdeps/i386/fpu/libm-test-ulps: Update.
19043 2015-11-03  David Kastrup  <dak@gnu.org>
19045         [BZ #18604]
19046         * assert/assert.h (assert): Don't macro-expand failed assertion
19047         expression in error message.
19048         * malloc/malloc.c (assert): Likewise.
19050 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19052         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19053         test.
19054         * configure: Regenerated.
19056 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19058         * math/libm-test.inc (modf_test_data): Add more tests.
19059         (nearbyint_test_data): Likewise.
19060         (nextafter_test_data): Likewise.
19061         (nexttoward_test_data): Likewise.
19062         (pow_test_data): Likewise.
19063         (remainder_test_data): Likewise.
19064         (remquo_test_data): Likewise.
19065         (rint_test_data): Likewise.
19067         [BZ #19201]
19068         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19069         Check for zero remainder in case of large exponents and ensure
19070         correct sign of result in that case.
19071         * math/libm-test.inc (remainder_test_data): Add more tests.
19073         [BZ #6799]
19074         * math/s_nextafter.c: Include <errno.h>.
19075         (__nextafter): Set errno on overflow and underflow.
19076         * math/s_nexttowardf.c: Include <errno.h>.
19077         (__nexttowardf): Set errno on overflow and underflow.
19078         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19079         (__nextafterl): Set errno on overflow and underflow.
19080         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19081         (__nexttoward): Set errno on overflow and underflow.
19082         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19083         (__nexttowardf): Set errno on overflow and underflow.
19084         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19085         (__nextafterf): Set errno on overflow and underflow.
19086         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19087         (__nextafterl): Set errno on overflow and underflow.
19088         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19089         (__nexttoward): Set errno on overflow and underflow.
19090         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19091         (__nexttowardf): Set errno on overflow and underflow.
19092         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19093         (__nextafterl): Set errno on overflow and underflow.
19094         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19095         (__nexttoward): Set errno on overflow and underflow.
19096         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19097         (__nexttowardf): Set errno on overflow and underflow.
19098         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19099         (__nexttoward): Set errno on overflow and underflow.
19100         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19101         (__nexttowardf): Set errno on overflow and underflow.
19102         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19103         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19104         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19105         (__nextafterl): Set errno on overflow and underflow.
19106         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19107         setting to be missing on overflow.  Add more tests.
19108         (nexttoward_test_data): Likewise.
19110         * configure.ac (libc_cv_initfini_array): Remove configure test.
19111         * configure: Regenerated.
19113 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19115         [BZ #19189]
19116         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19117         non-finite argument handle arguments with negative sign.
19119         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19120         result from infinite argument.
19121         (j1_test_data): Likewise.
19122         (jn_test_data): Likewise.
19123         (y0_test_data): Likewise.
19124         (y1_test_data): Likewise.
19125         (yn_test_data): Likewise.
19127         [BZ #16171]
19128         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19129         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19130         * math/w_remainderf.c (dremf): Define as weak alias of
19131         __remainderf.
19132         * math/w_remainderl.c (dreml): Define as weak alias of
19133         __remainderl.
19134         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19135         __remainder.
19136         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19137         __remainderf.
19138         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19139         __remainderl.
19140         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19141         weak alias of remainderl.
19142         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19143         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19144         alias of __remainder.
19145         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19146         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19147         strong alias of __remainderl.
19148         (dreml): Use long_double_symbol.
19149         * math/Makefile (libm-calls): Remove w_drem.
19150         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19151         (CFLAGS-nldbl-drem.c): Remove variable.
19152         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19153         * math/w_drem.c: Remove file.
19154         * math/w_dremf.c: Likewise.
19155         * math/w_dreml.c: Likewise.
19156         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19157         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19158         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19160         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19161         * sysdeps/i386/configure: Regenerated.
19162         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19163         * sysdeps/x86_64/configure: Regenerated.
19165         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19166         test.
19167         (libc_cv_visibility_attribute): Likewise.
19168         (libc_cv_protected_data): Test unconditionally.
19169         (libc_cv_broken_visibility_attribute): Remove configure test.
19170         (libc_cv_have_sdata_section): Test unconditionally.
19171         * configure: Regenerated.
19173         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19174         * include/scratch_buffer.h: Include <stddef.h> instead of
19175         <libc-internal.h>.
19176         (struct scratch_buffer): Use max_align_t instead of
19177         libc_max_align_t.
19179 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19181         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19182         instead of extend_alloca.  Change control flow to avoid a goto.
19183         Remove assert which is trivially always true.
19185 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19187         [BZ #16068]
19188         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19189         (FE_ALL_EXCEPT_X86): New macro.
19190         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19191         FE_ALL_EXCEPT.  Ensure precision control is included in
19192         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19193         handle "denormal operand exception" and clear FZ and DAZ bits.
19194         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19195         (FE_ALL_EXCEPT_X86): New macro.
19196         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19197         FE_ALL_EXCEPT.  Ensure precision control is included in
19198         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19199         handle "denormal operand exception" and clear FZ and DAZ bits.
19200         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19201         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19202         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19203         test-fenv-x87 and test-fenv-sse-2.
19204         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19206         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19207         * math/test-double.h (BUILD_COMPLEX): New macro.
19208         * math/test-float.h (BUILD_COMPLEX): Likewise.
19209         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19211         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19212         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19213         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19215         instead of DBL_DENORM_MIN in comment.
19216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19217         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19219         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19221         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19223 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19225         [BZ# 19048]
19226         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19227         attached_threads member.
19228         (main_arena): Initialize attached_threads.
19229         * malloc/arena.c (list_lock): Update comment.
19230         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19231         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19232         (deattach_arena): New function.
19233         (_int_new_arena): Initialize arena reference count and deattach
19234         replaced arena.
19235         (get_free_list, reused_arena): Update reference count and deattach
19236         replaced arena.
19237         (arena_thread_freeres): Update arena reference count and only put
19238         unreferenced arenas on the free list.
19240 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19242         [BZ #19181]
19243         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19244         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19245         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19246         * math/test-fenv-clear-main.c: New file.
19247         * math/test-fenv-clear.c: Likewise.
19248         * math/Makefile (tests): Add test-fenv-clear.
19249         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19250         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19251         test-fenv-clear-sse.
19252         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19254         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19255         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19256         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19258 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19260         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19261         static libc.
19263 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19265         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19266         test.
19267         * sysdeps/i386/configure: Regenerated.
19268         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19269         test.
19270         * sysdeps/x86_64/configure: Regenerated.
19271         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19273         memset-avx2 unconditionally instead of conditionally on
19274         [$(config-cflags-avx2) = yes].
19275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19276         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19277         unconditional.
19278         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19279         * sysdeps/x86_64/multiarch/memset_chk.S
19280         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19281         to [IS_IN (libc) && SHARED].
19283 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19285         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19286         configure test.
19287         * sysdeps/arm/configure: Regenerated.
19288         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19289         Define variable if not already defined.
19291         [BZ #17404]
19292         * sysdeps/mips/atomic-machine.h
19293         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19294         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19295         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19297         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19298         unconditional.
19299         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19300         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19301         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19302         unconditional.
19303         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19304         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19305         unconditional.
19306         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19307         * stdlib/setenv.c
19308         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19309         code unconditional.
19310         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19311         Remove conditional code.
19312         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19313         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19314         unconditional.
19315         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19316         code.
19317         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19318         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19319         unconditional.
19320         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19321         code.
19322         * sysdeps/ieee754/ldbl-128/k_tanl.c
19323         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19324         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19325         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19326         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19327         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19328         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19329         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19330         unconditional.
19331         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19332         code.
19333         * sysdeps/ieee754/ldbl-96/k_tanl.c
19334         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19335         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19337         * nptl/tst-initializers1-c11.c: New file.
19338         * nptl/tst-initializers1-gnu11.c: Likewise.
19339         * nptl/Makefile (tests): Add these new tests.
19340         (CFLAGS-tst-initializers1-c11.c): New variable.
19341         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19343         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19344         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19345         instead of -std=gnu99.
19346         * configure.ac (systemtap): Test with -std=gnu11 instead of
19347         -std=gnu99.
19348         * configure: Regenerated.
19349         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19350         in compilation command in comment.
19352         * sysdeps/nptl/configure.ac: Remove file.
19353         * sysdeps/nptl/configure: Remove generated file.
19354         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19355         * configure: Regenerated.
19356         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19357         * config.make.in (have-forced-unwind): Remove variable.
19358         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19359         unconditional.
19360         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19361         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19362         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19363         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19364         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19365         unconditional.
19367 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19369         [BZ #19174]
19370         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19371         .skip_lock_out_of_tbegin_retries.
19372         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19373         (__lll_lock_elision): Likewise, and respect a value of
19374         try_tbegin <= 0.
19376 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19378         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19379         statement.
19381 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19383         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19384         variable.
19385         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19386         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19388         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19389         of -std=c1x -D_ISOC11_SOURCE.
19391         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19392         * configure: Regenerated.
19393         * manual/install.texi (Tools for Compilation): Document
19394         requirement for GCC 4.7 or later.
19395         * INSTALL: Regenerated.
19397 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19399         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19400         on CNT to a conditional jump to 'puntdata'.
19402 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19404         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19405         (libc_cv_gcc_tls_model_attr): Likewise.
19406         * configure: Regenerated.
19408         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19409         * configure: Regenerated.
19410         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19412 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19414         * configure.ac (old_glibc_headers): Remove configure test.
19415         * configure: Regenerated.
19416         * config.make.in (old-glibc-headers): Remove variable.
19417         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19418         (install): Remove dependency on remove-old-headers.
19419         (headers2_0): Remove variable.
19420         (remove-old-headers): Remove rule.
19422         * configure.ac (libc_cv_dot_text): Remove configure test.
19423         (libc_cv_asm_set_directive): Use .text instead of
19424         ${libc_cv_dot_text} in configure test.
19425         * configure: Regenerated.
19427 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19429         [BZ #19168]
19430         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19432 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19434         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19435         not support static linking.
19436         * configure: Regenerate.
19438 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19440         * math/libm-test.inc (check_float_internal): Do not special-case
19441         errors up to 0.5 ulp.
19443         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19444         log2.
19445         * math/auto-libm-test-out: Regenerated.
19446         * math/libm-test.inc (MAX_EXP): New macro.
19447         (ilogb_test_data): Add more tests.
19448         (isfinite_test_data): Likewise.
19449         (isgreater_test_data): Likewise.
19450         (isgreaterequal_test_data): Likewise.
19451         (isinf_test_data): Likewise.
19452         (isless_test_data): Likewise.
19453         (islessequal_test_data): Likewise.
19454         (islessgreater_test_data): Likewise.
19455         (isnan_test_data): Likewise.
19456         (isnormal_test_data): Likewise.
19457         (issignaling_test_data): Likewise.
19458         (isunordered_test_data): Likewise.
19459         (j0_test_data): Likewise.
19460         (j1_test_data): Likewise.
19461         (jn_test_data): Likewise.
19462         (lgamma_test_data): Likewise.
19463         (log_test_data): Likewise.
19464         (log10_test_data): Likewise.
19465         (log1p_test_data): Likewise.
19466         (log2_test_data): Likewise.
19467         (logb_test_data): Likewise.
19468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19470         [BZ #18611]
19471         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19472         avoid excess range and precision on underflow.
19473         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19474         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19475         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19476         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19477         underflow.
19478         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19479         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19480         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19481         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19482         * math/auto-libm-test-in: Do not allow missing errno setting for
19483         tests of j1 and jn.
19484         * math/auto-libm-test-out: Regenerated.
19486 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
19488         [BZ #15491]
19489         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
19490         floating-point environment instead of clearing all exceptions.
19491         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19492         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
19493         merging in "invalid" exceptions from frndint.
19494         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19495         * math/test-nearbyint-except.c: New file.
19496         * math/Makefile (tests): Add test-nearbyint-except.
19498 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
19500         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
19502         * sysdeps/tile/libm-test-ulps: Regenerated.
19504 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
19507         (__NR_sync_file_range2): Assume it is always defined.
19508         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19509         (__NR_sync_file_range): Assume it is always defined.
19511 2015-10-22  Andreas Schwab  <schwab@suse.de>
19513         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19514         INTERNAL_SYSCALL_ERRNO.
19515         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19516         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19517         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19518         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19519         Likewise.
19520         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19522 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19524         * io/tst-fcntl.c (fd): New static variable.
19525         (do_prepare): Open temporary file here....
19526         (do_test): ...not here.
19528         * io/ftwtest-sh: Also trap on exit to remove temporary files.
19530 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19532         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
19533         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19534         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19535         Moved before "#ifdef __ASSEMBLER__".
19537 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19539         [BZ #19156]
19540         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
19541         arguments very close to 0.
19543 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
19545         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
19546         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
19548 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19550         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19551         New.  Defined for GCC 5 and above when not compiling for
19552         profiling.
19553         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19555         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19556         Renamed to ...
19557         (CFLAGS-epoll_pwait.o): This.
19558         (CFLAGS-mmap.c): Renamed to ...
19559         (CFLAGS-mmap.o): This.
19560         (CFLAGS-mmap64.c): Renamed to ...
19561         (CFLAGS-mmap64.o): This.
19562         (CFLAGS-epoll_pwait.os): New.
19563         (CFLAGS-mmap.os): Likewise.
19564         (CFLAGS-mmap64.os): Likewise.
19565         (CFLAGS-semtimedop.os): Likewise.
19566         (CFLAGS-semtimedop.c): Renamed to ...
19567         (CFLAGS-semtimedop.o): This.
19569 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19571         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
19572         warning message.
19574 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19576         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
19577         * Makefile ($(objpfx)c++-types-check.out): Filter out
19578         $(+gccwarn-c) instead of -Wstrict-prototypes.
19580         * io/fts.c (fts_open): Convert to prototype-style function
19581         definition.
19582         * malloc/mcheck.c (mcheck): Likewise.
19583         (mcheck_pedantic): Likewise.
19584         * posix/regexec.c (re_search_2_stub): Likewise.  Use
19585         internal_function.
19586         (re_search_internal): Likewise.
19587         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
19588         prototype-style function definition.
19589         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19590         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
19591         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
19592         (xdr_utmpptr): Likewise.
19593         (xdr_utmparr): Likewise.
19594         (xdr_utmpidle): Likewise.
19595         (xdr_utmpidleptr): Likewise.
19596         (xdr_utmpidlearr): Likewise.
19598         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
19599         log, log10 and log2.
19600         * math/auto-libm-test-out: Regenerated.
19601         * math/libm-test.inc (fmod_test_data): Add more tests.
19602         (fpclassify_test_data): Likewise.
19603         (frexp_test_data): Likewise.
19604         (hypot_test_data): Likewise.
19605         (ilogb_test_data): Likewise.
19607 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
19609         * debug/fortify_fail.c (__fortify_fail): Convert to
19610         prototype-style function definition.  Use internal_function.
19611         * libio/genops.c (save_for_backup): Convert to prototype-style
19612         function definition.
19613         * libio/wgenops.c (save_for_wbackup): Likewise.
19614         * login/grantpt.c (grantpt): Likewise.
19615         * login/ptsname.c (ptsname): Likewise.
19616         (__ptsname_r): Likewise.
19617         * login/unlockpt.c (unlockpt): Likewise.
19618         * mach/msgserver.c (__mach_msg_server): Likewise.
19619         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
19620         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
19621         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
19622         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
19623         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
19624         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
19625         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
19626         Likewise.
19627         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
19628         internal_function.
19629         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
19630         prototype-style function definition.
19631         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
19632         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
19633         (__pthread_create_2_0): Likewise.
19634         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
19635         * nptl/register-atfork.c (__register_atfork): Likewise.
19636         * posix/glob.c (glob): Likewise.
19637         * posix/regcomp.c (re_comp): Likewise.
19638         * posix/regexec.c (re_exec): Likewise.
19639         * stdlib/add_n.c [__STDC__]: Make code unconditional.
19640         [!__STDC__]: Remove conditional code.
19641         * stdlib/cmp.c [__STDC__]: Make code unconditional.
19642         [!__STDC__]: Remove conditional code.
19643         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
19644         [!__STDC__]: Remove conditional code.
19645         * stdlib/divrem.c [__STDC__]: Make code unconditional.
19646         [!__STDC__]: Remove conditional code.
19647         * stdlib/lshift.c [__STDC__]: Make code unconditional.
19648         [!__STDC__]: Remove conditional code.
19649         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
19650         [!__STDC__]: Remove conditional code.
19651         * stdlib/mul.c [__STDC__]: Make code unconditional.
19652         [!__STDC__]: Remove conditional code.
19653         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
19654         [!__STDC__]: Remove conditional code.
19655         * stdlib/rshift.c [__STDC__]: Make code unconditional.
19656         [!__STDC__]: Remove conditional code.
19657         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
19658         function definition.
19659         (STRTOF): Likewise.
19660         * stdlib/strtod_l.c (__STRTOF): Likewise.
19661         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
19662         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
19663         (__strtol_l): Likewise.
19664         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
19665         [!__STDC__]: Remove conditional code.
19666         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
19667         definition.
19668         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19669         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19670         type.
19671         (__strcasecmp): Convert to prototype-style function definition.
19672         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
19673         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19674         type.
19675         (__strncasecmp): Convert to prototype-style function definition.
19676         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
19677         * sunrpc/xdr.c (xdr_union): Likewise.
19678         * sunrpc/xdr_array.c (xdr_array): Likewise.
19679         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
19680         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
19681         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
19682         Likewise.
19683         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
19684         Likewise.
19685         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
19686         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19687         Likewise.
19688         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
19689         (LOCALE_PARAM_PROTO): Likewise.
19690         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
19691         argument type.
19692         (ut_argument_spec): Remove macro.
19693         (ut_argument_spec_iso): Rename to ut_argument_spec.
19694         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
19695         prototype-style function definition.
19696         (memcpy_uppcase): Likewise.
19697         (__strftime_internal): Likewise.
19698         (my_strftime): Likewise.
19699         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
19700         (LOCALE_PARAM_DECL): Likewise.
19701         [_LIBC] (LOCALE_PARAM): Include argument type.
19702         (__strptime_internal): Convert to prototype-style function
19703         definition.
19704         (strptime): Likewise.
19705         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19706         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19707         type.
19708         (__wcscasecmp): Convert to prototype-style function definition.
19709         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
19710         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19711         type.
19712         (__wcsncasecmp): Convert to prototype-style function definition.
19714         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
19715         function definition.
19716         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19717         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19718         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
19719         * elf/dl-minimal.c (_itoa): Likewise.
19720         * hurd/hurdmalloc.c (malloc): Likewise.
19721         (free): Likewise.
19722         (realloc): Likewise.
19723         * inet/inet6_option.c (inet6_option_space): Likewise.
19724         (inet6_option_init): Likewise.
19725         (inet6_option_append): Likewise.
19726         (inet6_option_alloc): Likewise.
19727         (inet6_option_next): Likewise.
19728         (inet6_option_find): Likewise.
19729         * io/ftw.c (FTW_NAME): Likewise.
19730         (NFTW_NAME): Likewise.
19731         (NFTW_NEW_NAME): Likewise.
19732         (NFTW_OLD_NAME): Likewise.
19733         * libio/iofwide.c (_IO_fwide): Likewise.
19734         * libio/strops.c (_IO_str_init_static_internal): Likewise.
19735         (_IO_str_init_static): Likewise.
19736         (_IO_str_init_readonly): Likewise.
19737         (_IO_str_overflow): Likewise.
19738         (_IO_str_underflow): Likewise.
19739         (_IO_str_count): Likewise.
19740         (_IO_str_seekoff): Likewise.
19741         (_IO_str_pbackfail): Likewise.
19742         (_IO_str_finish): Likewise.
19743         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
19744         (_IO_wstr_overflow): Likewise.
19745         (_IO_wstr_underflow): Likewise.
19746         (_IO_wstr_count): Likewise.
19747         (_IO_wstr_seekoff): Likewise.
19748         (_IO_wstr_pbackfail): Likewise.
19749         (_IO_wstr_finish): Likewise.
19750         * locale/programs/localedef.c (normalize_codeset): Likewise.
19751         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19752         (add_locales_to_archive): Likewise.
19753         (delete_locales_from_archive): Likewise.
19754         * malloc/malloc.c (__libc_mallinfo): Likewise.
19755         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
19756         * misc/tsearch.c (__tfind): Likewise.
19757         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
19758         * nptl/pthread_attr_getdetachstate.c
19759         (__pthread_attr_getdetachstate): Likewise.
19760         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19761         Likewise.
19762         * nptl/pthread_attr_getinheritsched.c
19763         (__pthread_attr_getinheritsched): Likewise.
19764         * nptl/pthread_attr_getschedparam.c
19765         (__pthread_attr_getschedparam): Likewise.
19766         * nptl/pthread_attr_getschedpolicy.c
19767         (__pthread_attr_getschedpolicy): Likewise.
19768         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19769         Likewise.
19770         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19771         Likewise.
19772         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19773         Likewise.
19774         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19775         Likewise.
19776         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19777         (__pthread_attr_init_2_0): Likewise.
19778         * nptl/pthread_attr_setdetachstate.c
19779         (__pthread_attr_setdetachstate): Likewise.
19780         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19781         Likewise.
19782         * nptl/pthread_attr_setinheritsched.c
19783         (__pthread_attr_setinheritsched): Likewise.
19784         * nptl/pthread_attr_setschedparam.c
19785         (__pthread_attr_setschedparam): Likewise.
19786         * nptl/pthread_attr_setschedpolicy.c
19787         (__pthread_attr_setschedpolicy): Likewise.
19788         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19789         Likewise.
19790         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19791         Likewise.
19792         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19793         Likewise.
19794         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19795         Likewise.
19796         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19797         Likewise.
19798         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19799         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19800         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19801         use internal_function.
19802         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19803         prototype-style function definition.
19804         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19805         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19806         internal_function.
19807         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
19808         Convert to prototype-style function definition.
19809         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19810         Likewise.
19811         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
19812         Likewise.
19813         (__pthread_mutex_unlock): Likewise.
19814         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
19815         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
19816         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
19817         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
19818         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
19819         * nss/makedb.c (process_input): Likewise.
19820         * posix/fnmatch.c (__strchrnul): Likewise.
19821         (__wcschrnul): Likewise.
19822         (fnmatch): Likewise.
19823         * posix/fnmatch_loop.c (FCT): Likewise.
19824         * posix/glob.c (globfree): Likewise.
19825         (__glob_pattern_type): Likewise.
19826         (__glob_pattern_p): Likewise.
19827         * posix/regcomp.c (re_compile_pattern): Likewise.
19828         (re_set_syntax): Likewise.
19829         (re_compile_fastmap): Likewise.
19830         (regcomp): Likewise.
19831         (regerror): Likewise.
19832         (regfree): Likewise.
19833         * posix/regexec.c (regexec): Likewise.
19834         (re_match): Likewise.
19835         (re_search): Likewise.
19836         (re_match_2): Likewise.
19837         (re_search_2): Likewise.
19838         (re_search_stub): Likewise.  Use internal_function
19839         (re_copy_regs): Likewise.
19840         (re_set_registers): Convert to prototype-style function
19841         definition.
19842         (prune_impossible_nodes): Likewise.  Use internal_function.
19843         * resolv/inet_net_pton.c (inet_net_pton): Convert to
19844         prototype-style function definition.
19845         (inet_net_pton_ipv4): Likewise.
19846         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19847         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
19848         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
19849         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
19850         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19851         Make variadic.
19852         * time/strptime_l.c (localtime_r): Convert to prototype-style
19853         function definition.
19854         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19855         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19856         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19857         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19859         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
19860         definition.
19861         (_ufc_doit_r): Likewise.
19862         * crypt/crypt_util.c (_ufc_copymem): Likewise.
19863         (_ufc_output_conversion_r): Likewise.
19864         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
19865         * inet/rcmd.c (rcmd_af): Likewise.
19866         (rcmd): Likewise.
19867         (ruserok_af): Likewise.
19868         (ruserok): Likewise.
19869         (ruserok2_sa): Likewise.
19870         (ruserok_sa): Likewise.
19871         (iruserok_af): Likewise.
19872         (iruserok): Likewise.
19873         (__ivaliduser): Likewise.
19874         (__validuser2_sa): Likewise.
19875         * inet/rexec.c (rexec_af): Likewise.
19876         (rexec): Likewise.
19877         * inet/ruserpass.c (ruserpass): Likewise.
19878         * locale/programs/xmalloc.c (xcalloc): Likewise.
19879         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
19880         * math/w_drem.c (__drem): Likewise.
19881         * math/w_dremf.c (__dremf): Likewise.
19882         * math/w_dreml.c (__dreml): Likewise.
19883         * misc/daemon.c (daemon): Likewise.
19884         * resolv/res_debug.c (p_fqnname): Likewise.
19885         * stdlib/div.c (div): Likewise.
19886         * string/memcmp.c (memcmp_bytes): Likewise.
19887         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
19888         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
19890         * crypt/cert.c (main): Convert to prototype-style function
19891         definition.
19892         * io/pipe.c (__pipe): Likewise.
19893         * io/pipe2.c (__pipe2): Likewise.
19894         * misc/futimesat.c (futimesat): Likewise.
19895         * misc/utimes.c (__utimes): Likewise.
19896         * posix/execve.c (__execve): Likewise.
19897         * posix/execvp.c (execvp): Likewise.
19898         * posix/execvpe.c (__execvpe): Likewise.
19899         * posix/fexecve.c (fexecve): Likewise.
19900         * socket/socketpair.c (socketpair): Likewise.
19901         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19902         * stdlib/erand48.c (erand48): Likewise.
19903         * stdlib/erand48_r.c (__erand48_r): Likewise.
19904         * stdlib/jrand48.c (jrand48): Likewise.
19905         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19906         * stdlib/lcong48.c (lcong48): Likewise.
19907         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
19908         * stdlib/nrand48.c (nrand48): Likewise.
19909         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
19910         * stdlib/seed48.c (seed48): Likewise.
19911         * stdlib/seed48_r.c (__seed48_r): Likewise.
19912         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
19913         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
19914         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
19916 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19918         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
19919         * configure: Regenerated.
19920         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
19921         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
19922         unconditional.
19923         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19924         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19925         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19926         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
19927         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
19928         unconditional.
19929         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19931         * posix/Makefile (CFLAGS-regex.c): Remove variable.
19932         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
19934         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
19935         function definition.
19936         * crypt/crypt_util.c (__encrypt_r): Likewise.
19937         * libio/genops.c (_IO_no_init): Likewise.
19938         * libio/iofopncook.c (_IO_fopencookie): Likewise.
19939         (_IO_old_fopencookie): Likewise.
19940         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19941         * libio/iogetline.c (_IO_getline): Likewise.
19942         (_IO_getline_info): Likewise.
19943         * libio/iogetwline.c (_IO_getwline): Likewise.
19944         (_IO_getwline_info): Likewise.
19945         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
19946         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19947         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
19948         (find_entry): Likewise.
19949         (iterate_table): Likewise.
19950         (lookup): Likewise.
19951         * login/forkpty.c (forkpty): Likewise.
19952         * misc/hsearch_r.c (__hsearch_r): Likewise.
19953         * misc/select.c (__select): Likewise.
19954         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
19955         Likewise.
19956         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
19957         Likewise.
19958         * nptl/old_pthread_cond_timedwait.c
19959         (__pthread_cond_timedwait_2_0): Likewise.
19960         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19961         * nptl/pthread_barrierattr_getpshared.c
19962         (pthread_barrierattr_getpshared): Likewise.
19963         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
19964         Likewise.
19965         * nptl/pthread_mutex_setprioceiling.c
19966         (pthread_mutex_setprioceiling): Likewise.
19967         * nptl/pthread_mutexattr_getprioceiling.c
19968         (pthread_mutexattr_getprioceiling): Likewise.
19969         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19970         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19971         Likewise.
19972         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19973         Likewise.
19974         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
19975         Likewise.
19976         * socket/recvfrom.c (__recvfrom): Likewise.
19977         * socket/sendto.c (__sendto): Likewise.
19978         * socket/setsockopt.c (__setsockopt): Likewise.
19979         * stdio-common/_itoa.c (_itoa): Likewise.
19980         * stdio-common/_itowa.c (_itowa): Likewise.
19981         * stdio-common/reg-printf.c (__register_printf_specifier):
19982         Likewise.
19983         (__register_printf_function): Likewise.
19984         * stdio-common/tempname.c (__path_search): Likewise.
19985         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
19986         * stdlib/mul_1.c (mpn_mul_1): Likewise.
19987         * stdlib/random_r.c (__initstate_r): Likewise.
19988         * stdlib/setenv.c (__add_to_environ): Likewise.
19989         * stdlib/submul_1.c (mpn_submul_1): Likewise.
19990         * streams/getpmsg.c (getpmsg): Likewise.
19991         * streams/putmsg.c (putmsg): Likewise.
19992         * streams/putpmsg.c (putpmsg): Likewise.
19993         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
19994         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19995         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
19996         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19997         * sunrpc/pm_getport.c (pmap_getport): Likewise.
19998         * sunrpc/svc_udp.c (cache_get): Likewise.
19999         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20000         * sysdeps/mach/hurd/getcwd.c
20001         (__canonicalize_directory_name_internal): Likewise.
20002         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20003         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20004         * sysdeps/mach/hurd/select.c (__select): Likewise.
20005         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20006         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20007         * sysdeps/sparc/nptl/pthread_barrier_init.c
20008         (__pthread_barrier_init): Likewise.
20009         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20010         (__pthread_cond_timedwait): Likewise.
20011         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20012         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20013         Likewise.
20014         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20015         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20016         Likewise.
20017         * sysvipc/semtimedop.c (semtimedop): Likewise.
20018         * time/setitimer.c (__setitimer): Likewise.
20019         * time/strftime_l.c (emacs_strftime): Likewise.
20021 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20023         * config.make.in (have-ssp): Delete.
20024         (stack-protector): New variable.
20025         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20026         cache test for -fstack-protector-strong.  Export stack_protector to
20027         the best ssp flag.
20028         * configure: Regenerated.
20029         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20030         * nscd/Makefile (CFLAGS-nscd): Likewise.
20031         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20033 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20035         [BZ #19122]
20036         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20037         attribute_hidden.
20039 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20041         [BZ #18743]
20042         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20043         code to...
20044         (ELIDE_LOCK): ...here.
20045         (__get_new_count): New function with part of the code from
20046         __elide_lock that updates the value of adapt_count after a
20047         transaction abort.
20048         (__elided_trylock): Moved this code to...
20049         (ELIDE_TRYLOCK): ...here.
20051 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20053         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20054         * configure: Regenerate.
20055         * INSTALL: Regenerate.
20056         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20057         and tweak grammar.
20059 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20061         * login/programs/pt_chown.c: Include signal.h
20062         (main): Clear any signal mask from the parent process.
20064 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20066         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20067         * configure: Regenerated.
20068         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20069         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20070         $(gnu89-inline-CFLAGS).
20072         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20073         test.
20074         (libc_cv_asm_weakext_directive): Likewise.
20075         * configure: Regenerated.
20076         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20077         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20078         * include/libc-symbols.h
20079         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20080         #error.
20081         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20082         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20084         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20085         prototype-style function definition.
20086         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20087         * sysdeps/i386/ffs.c (__ffs): Likewise.
20088         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20089         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20090         Likewise.
20091         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20092         Likewise.
20093         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20094         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20095         Likewise.
20096         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20097         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20098         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20099         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20100         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20101         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20102         * sysdeps/mach/hurd/access.c (__access): Likewise.
20103         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20104         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20105         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20106         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20107         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20108         (cthread_getspecific): Likewise.
20109         (cthread_setspecific): Likewise.
20110         (__libc_getspecific): Likewise.
20111         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20112         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20113         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20114         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20115         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20116         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20117         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20118         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20119         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20120         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20121         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20122         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20123         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20124         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20125         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20126         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20127         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20128         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20129         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20130         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20131         * sysdeps/mach/hurd/link.c (__link): Likewise.
20132         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20133         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20134         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20135         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20136         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20137         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20138         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20139         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20140         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20141         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20142         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20143         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20144         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20145         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20146         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20147         * sysdeps/mach/hurd/send.c (__send): Likewise.
20148         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20149         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20150         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20151         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20152         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20153         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20154         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20155         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20156         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20157         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20158         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20159         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20160         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20161         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20162         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20163         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20164         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20165         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20166         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20167         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20168         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20169         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20170         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20171         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20172         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20173         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20174         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20175         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20176         * sysdeps/posix/alarm.c (alarm): Likewise.
20177         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20178         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20179         * sysdeps/posix/dup.c (__dup): Likewise.
20180         * sysdeps/posix/dup2.c (__dup2): Likewise.
20181         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20182         (main): Likewise.
20183         * sysdeps/posix/flock.c (__flock): Likewise.
20184         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20185         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20186         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20187         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20188         * sysdeps/posix/isatty.c (__isatty): Likewise.
20189         * sysdeps/posix/killpg.c (killpg): Likewise.
20190         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20191         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20192         * sysdeps/posix/raise.c (raise): Likewise.
20193         * sysdeps/posix/remove.c (remove): Likewise.
20194         * sysdeps/posix/rename.c (rename): Likewise.
20195         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20196         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20197         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20198         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20199         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20200         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20201         * sysdeps/posix/sigset.c (sigset): Likewise.
20202         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20203         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20204         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20205         * sysdeps/posix/time.c (time): Likewise.
20206         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20207         (ttyname): Likewise.
20208         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20209         * sysdeps/posix/utime.c (utime): Likewise.
20210         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20211         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20212         Likewise.
20213         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20214         (pthread_spin_trylock): Likewise.
20215         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20216         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20217         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20218         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20219         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20220         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20221         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20222         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20223         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20224         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20225         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20226         * sysdeps/s390/ffs.c (__ffs): Likewise.
20227         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20228         Likewise.
20229         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20230         Likewise.
20231         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20232         Likewise.
20233         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20234         (pthread_barrier_destroy): Likewise.
20235         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20236         (__pthread_barrier_wait): Likewise.
20237         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20238         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20239         (__pthread_barrier_wait): Likewise.
20240         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20241         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20242         (memcmp_not_common_alignment): Likewise.
20243         (MEMCMP): Likewise.
20244         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20245         (_wordcopy_fwd_dest_aligned): Likewise.
20246         (_wordcopy_bwd_aligned): Likewise.
20247         (_wordcopy_bwd_dest_aligned): Likewise.
20248         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20249         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20250         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20251         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20252         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20253         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20254         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20255         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20256         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20257         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20258         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20259         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20260         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20261         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20262         * sysdeps/unix/stime.c (stime): Likewise.
20263         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20264         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20265         Likewise.  Use internal_function.
20266         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20267         Convert to prototype-style function definition.
20268         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20269         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20270         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20271         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20272         Likewise.  Use internal_function.
20273         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20274         prototype-style function definition
20275         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20276         Likewise.
20277         (__getlogin_r): Likewise.
20278         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20279         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20280         (__pthread_cond_broadcast): Likewise.
20281         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20282         (__pthread_cond_destroy): Likewise.
20283         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20284         (__pthread_cond_init): Likewise.
20285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20286         (__pthread_cond_signal): Likewise.
20287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20288         (__pthread_cond_wait): Likewise.
20289         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20290         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20291         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20292         Likewise.
20293         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20294         Likewise.
20295         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20296         Likewise.
20297         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20298         Likewise.
20299         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20301         (__ftruncate64): Likewise.
20302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20303         (truncate64): Likewise.
20304         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20305         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20306         (pthread_getcpuclockid): Likewise.
20307         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20308         Likewise.
20309         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20310         Likewise.
20311         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20312         Likewise.
20313         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20314         Likewise.
20315         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20316         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20317         (__libc_sigaction): Likewise.
20318         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20319         Likewise.
20320         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20321         (__sigprocmask): Likewise.
20322         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20323         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20324         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20325         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20326         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20327         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20328         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20329         Likewise.
20330         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20331         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20332         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20333         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20334         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20335         Likewise.
20336         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20337         (__sigprocmask): Likewise.
20338         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20339         (cfgetispeed): Likewise.
20340         (cfsetospeed): Likewise.
20341         (cfsetispeed): Likewise.
20342         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20343         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20344         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20345         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20346         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20347         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20348         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20349         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20350         Likewise.
20351         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20352         Likewise.
20353         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20354         Likewise.
20355         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20356         Likewise.
20357         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20359 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20361         sunrpc: Rewrite with explicit TLS access using __thread.
20362         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20363         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20364         directly.
20365         (__rpc_thread_variables): Access thread_rpc_vars directly.
20366         Eliminate redundant assignment of the tvp variable.
20368 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20370         malloc: Rewrite with explicit TLS access using __thread.
20371         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20372         (tsd_setspecific, tsd_getspecific): Remove.
20373         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20374         (tsd_setspecific, tsd_getspecific): Likewise.
20375         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20376         (tsd_setspecific, tsd_getspecific): Likewise.
20377         * malloc/arena.c (thread_arena): New TLS variable.
20378         (arena_key): Remove variable.
20379         (arena_get): Use thread_arena.
20380         (arena_lookup): Remove macro.
20381         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20382         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20383         (_int_new_arena, get_free_list, reused_arena)
20384         (arena_thread_freeres): Use thread_arena.
20385         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20386         tsd_getspecific, tsd_setspecific from safety annotations.
20387         (Allocating Cleared Space): Remove arena_lookup from safety
20388         annotations.
20390 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20392         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20393         struct scratch_buffer instead of extend_alloca.
20395 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20397         * sysdeps/unix/sysv/linux/kernel-features.h
20398         (__ASSUME_SOCK_CLOEXEC): Remove.
20399         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20400         (__have_paccept): Remove unused macro.
20401         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20402         * misc/syslog.c (openlog_internal): Remove fallback code for
20403         !__ASSUME_SOCK_CLOEXEC.
20404         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20405         missing SOCK_CLOEXEC.
20406         * nscd/connections.c (have_sock_cloexec): Remove definition.
20407         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20408         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20409         !__ASSUME_SOCK_CLOEXEC.
20410         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20411         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20412         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20413         definition.
20414         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20415         code for !__ASSUME_SOCK_CLOEXEC.
20417 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20419         [BZ #18982]
20420         * manual/stdio.texi (Variable Arguments Output): Add portability
20421         note, explaining that vfprintf clobbers the va_list pointer.
20423 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20425         * math/libm-test.inc (fabs_test_data): Add more tests.
20426         (fdim_test_data): Likewise.
20427         (fma_test_data): Likewise.
20428         (fmax_test_data): Likewise.
20429         (fmin_test_data): Likewise.
20430         (fmod_test_data): Likewise.
20432 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20434         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20435         data.
20437 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20439         * math/libm-test.inc (ceil_test_data): Add more tests and more
20440         expectations for "inexact".
20441         (floor_test_data): Add more tests.
20442         (round_test_data): Likewise.
20443         (trunc_test_data): Likewise.
20445         * crypt/cert.c (good_bye): Convert to prototype-style function
20446         definition.
20447         (get8): Likewise.
20448         (put8): Likewise.
20449         * crypt/crypt-entry.c (crypt): Likewise.
20450         (__fcrypt): Likewise.
20451         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20452         (_ufc_set_bits): Likewise.
20453         (_ufc_clearmem): Likewise.
20454         (__init_des_r): Likewise.
20455         (shuffle_sb): Likewise.
20456         (shuffle_sb): Likewise.
20457         (_ufc_setup_salt_r): Likewise.
20458         (_ufc_mk_keytab_r): Likewise.
20459         (_ufc_dofinalperm_r): Likewise.
20460         (encrypt): Likewise.
20461         (__setkey_r): Likewise.
20462         (setkey): Likewise.
20463         * crypt/md5.c (md5_init_ctx): Likewise.
20464         (md5_read_ctx): Likewise.
20465         (md5_finish_ctx): Likewise.
20466         (md5_stream): Likewise.
20467         (md5_buffer): Likewise.
20468         (md5_process_bytes): Likewise.
20469         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20470         (__sha256_finish_ctx): Likewise.
20471         (__sha256_process_bytes): Likewise.
20472         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20473         (__sha512_finish_ctx): Likewise.
20474         (__sha512_process_bytes): Likewise.
20475         * ctype/isctype.c (__isctype): Likewise.
20476         * debug/backtrace.c (__backtrace): Likewise.
20477         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20478         * debug/fgets_chk.c (__fgets_chk): Likewise.
20479         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20480         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20481         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20482         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20483         * debug/memset_chk.c (__memset_chk): Likewise.
20484         * debug/strcat_chk.c (__strcat_chk): Likewise.
20485         * debug/strncat_chk.c (__strncat_chk): Likewise.
20486         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
20487         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
20488         * dirent/dirfd.c (dirfd): Likewise.
20489         * dirent/getdents.c (__getdirentries): Likewise.
20490         * dirent/getdents64.c (getdirentries64): Likewise.
20491         * dirent/rewinddir.c (__rewinddir): Likewise.
20492         * dirent/seekdir.c (seekdir): Likewise.
20493         * dirent/telldir.c (telldir): Likewise.
20494         * elf/sln.c (makesymlinks): Likewise.
20495         (makesymlink): Likewise.
20496         * gmon/gmon.c (__moncontrol): Likewise.
20497         (__monstartup): Likewise.
20498         (write_hist): Likewise.
20499         (write_call_graph): Likewise.
20500         (write_bb_counts): Likewise.
20501         * grp/setgroups.c (setgroups): Likewise.
20502         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20503         * inet/inet_net.c (inet_network): Likewise.
20504         * inet/inet_netof.c (inet_netof): Likewise.
20505         * inet/rcmd.c (rresvport_af): Likewise.
20506         (rresvport): Likewise.
20507         * io/access.c (__access): Likewise.
20508         * io/chdir.c (__chdir): Likewise.
20509         * io/chmod.c (__chmod): Likewise.
20510         * io/chown.c (__chown): Likewise.
20511         * io/close.c (__close): Likewise.
20512         * io/creat.c (creat): Likewise.
20513         * io/creat64.c (creat64): Likewise.
20514         * io/dup.c (__dup): Likewise.
20515         * io/dup2.c (__dup2): Likewise.
20516         * io/dup3.c (__dup3): Likewise.
20517         * io/euidaccess.c (__euidaccess): Likewise.
20518         * io/faccessat.c (faccessat): Likewise.
20519         * io/fchmod.c (__fchmod): Likewise.
20520         * io/fchmodat.c (fchmodat): Likewise.
20521         * io/fchown.c (__fchown): Likewise.
20522         * io/fchownat.c (fchownat): Likewise.
20523         * io/fcntl.c (__fcntl): Likewise.
20524         * io/flock.c (__flock): Likewise.
20525         * io/fts.c (fts_load): Likewise.
20526         (fts_close): Likewise.
20527         (fts_read): Likewise.
20528         (fts_set): Likewise.
20529         (fts_children): Likewise.
20530         (fts_build): Likewise.
20531         (fts_stat): Likewise.
20532         (fts_sort): Likewise.
20533         (fts_alloc): Likewise.
20534         (fts_lfree): Likewise.
20535         (fts_palloc): Likewise.
20536         (fts_padjust): Likewise.
20537         (fts_maxarglen): Likewise.
20538         (fts_safe_changedir): Likewise.
20539         * io/getwd.c (getwd): Likewise.
20540         * io/isatty.c (__isatty): Likewise.
20541         * io/lchown.c (__lchown): Likewise.
20542         * io/link.c (__link): Likewise.
20543         * io/linkat.c (linkat): Likewise.
20544         * io/lseek.c (__libc_lseek): Likewise.
20545         * io/mkdir.c (__mkdir): Likewise.
20546         * io/mkdirat.c (mkdirat): Likewise.
20547         * io/mkfifo.c (mkfifo): Likewise.
20548         * io/mkfifoat.c (mkfifoat): Likewise.
20549         * io/open.c (__libc_open): Likewise.
20550         * io/open64.c (__libc_open64): Likewise.
20551         * io/readlink.c (__readlink): Likewise.
20552         * io/readlinkat.c (readlinkat): Likewise.
20553         * io/rmdir.c (__rmdir): Likewise.
20554         * io/symlink.c (__symlink): Likewise.
20555         * io/symlinkat.c (symlinkat): Likewise.
20556         * io/ttyname.c (ttyname): Likewise.
20557         * io/ttyname_r.c (__ttyname_r): Likewise.
20558         * io/umask.c (__umask): Likewise.
20559         * io/unlink.c (__unlink): Likewise.
20560         * io/unlinkat.c (unlinkat): Likewise.
20561         * io/utime.c (utime): Likewise.
20562         * libio/clearerr.c (clearerr): Likewise.
20563         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
20564         * libio/feof.c (_IO_feof): Likewise.
20565         * libio/feof_u.c (feof_unlocked): Likewise.
20566         * libio/ferror.c (_IO_ferror): Likewise.
20567         * libio/ferror_u.c (ferror_unlocked): Likewise.
20568         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20569         * libio/fileno.c (__fileno): Likewise.
20570         * libio/fputc.c (fputc): Likewise.
20571         * libio/fputc_u.c (fputc_unlocked): Likewise.
20572         * libio/fputwc.c (fputwc): Likewise.
20573         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
20574         * libio/freopen.c (freopen): Likewise.
20575         * libio/freopen64.c (freopen64): Likewise.
20576         * libio/fseek.c (fseek): Likewise.
20577         * libio/fseeko.c (fseeko): Likewise.
20578         * libio/fseeko64.c (fseeko64): Likewise.
20579         * libio/ftello.c (__ftello): Likewise.
20580         * libio/ftello64.c (ftello64): Likewise.
20581         * libio/fwide.c (fwide): Likewise.
20582         * libio/genops.c (_IO_un_link): Likewise.
20583         (_IO_link_in): Likewise.
20584         (_IO_least_marker): Likewise.
20585         (_IO_switch_to_main_get_area): Likewise.
20586         (_IO_switch_to_backup_area): Likewise.
20587         (_IO_switch_to_get_mode): Likewise.
20588         (_IO_free_backup_area): Likewise.
20589         (_IO_switch_to_put_mode): Likewise.
20590         (__overflow): Likewise.
20591         (__underflow): Likewise.
20592         (__uflow): Likewise.
20593         (_IO_setb): Likewise.
20594         (_IO_doallocbuf): Likewise.
20595         (_IO_default_underflow): Likewise.
20596         (_IO_default_uflow): Likewise.
20597         (_IO_default_xsputn): Likewise.
20598         (_IO_sgetn): Likewise.
20599         (_IO_default_xsgetn): Likewise.
20600         (_IO_sync): Likewise.
20601         (_IO_default_setbuf): Likewise.
20602         (_IO_default_seekpos): Likewise.
20603         (_IO_default_doallocate): Likewise.
20604         (_IO_init): Likewise.
20605         (_IO_old_init): Likewise.
20606         (_IO_default_sync): Likewise.
20607         (_IO_default_finish): Likewise.
20608         (_IO_default_seekoff): Likewise.
20609         (_IO_sputbackc): Likewise.
20610         (_IO_sungetc): Likewise.
20611         (_IO_set_column): Likewise.
20612         (_IO_set_column): Likewise.
20613         (_IO_adjust_column): Likewise.
20614         (_IO_get_column): Likewise.
20615         (_IO_init_marker): Likewise.
20616         (_IO_remove_marker): Likewise.
20617         (_IO_marker_difference): Likewise.
20618         (_IO_marker_delta): Likewise.
20619         (_IO_seekmark): Likewise.
20620         (_IO_unsave_markers): Likewise.
20621         (_IO_nobackup_pbackfail): Likewise.
20622         (_IO_default_pbackfail): Likewise.
20623         (_IO_default_seek): Likewise.
20624         (_IO_default_stat): Likewise.
20625         (_IO_default_read): Likewise.
20626         (_IO_default_write): Likewise.
20627         (_IO_default_showmanyc): Likewise.
20628         (_IO_default_imbue): Likewise.
20629         (_IO_iter_next): Likewise.
20630         (_IO_iter_file): Likewise.
20631         * libio/getc.c (_IO_getc): Likewise.
20632         * libio/getwc.c (_IO_getwc): Likewise.
20633         * libio/iofclose.c (_IO_new_fclose): Likewise.
20634         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20635         * libio/iofflush.c (_IO_fflush): Likewise.
20636         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
20637         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
20638         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
20639         * libio/iofgets.c (_IO_fgets): Likewise.
20640         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
20641         * libio/iofgetws.c (fgetws): Likewise.
20642         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20643         * libio/iofopen64.c (_IO_fopen64): Likewise.
20644         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20645         (_IO_cookie_write): Likewise.
20646         (_IO_cookie_seek): Likewise.
20647         (_IO_cookie_close): Likewise.
20648         (_IO_cookie_seekoff): Likewise.
20649         (_IO_old_cookie_seek): Likewise.
20650         * libio/iofputs.c (_IO_fputs): Likewise.
20651         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
20652         * libio/iofputws.c (fputws): Likewise.
20653         * libio/iofputws_u.c (fputws_unlocked): Likewise.
20654         * libio/iofread.c (_IO_fread): Likewise.
20655         * libio/iofread_u.c (__fread_unlocked): Likewise.
20656         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
20657         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
20658         * libio/ioftell.c (_IO_ftell): Likewise.
20659         * libio/iofwrite.c (_IO_fwrite): Likewise.
20660         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20661         * libio/iogets.c (_IO_gets): Likewise.
20662         * libio/iopadn.c (_IO_padn): Likewise.
20663         * libio/iopopen.c (_IO_new_proc_open): Likewise.
20664         (_IO_new_popen): Likewise.
20665         (_IO_new_proc_close): Likewise.
20666         * libio/ioputs.c (_IO_puts): Likewise.
20667         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
20668         (_IO_seekoff): Likewise.
20669         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
20670         (_IO_seekpos): Likewise.
20671         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
20672         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
20673         * libio/ioungetc.c (_IO_ungetc): Likewise.
20674         * libio/ioungetwc.c (ungetwc): Likewise.
20675         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20676         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
20677         * libio/iowpadn.c (_IO_wpadn): Likewise.
20678         * libio/libc_fatal.c (__libc_fatal): Likewise.
20679         * libio/memstream.c (__open_memstream): Likewise.
20680         (_IO_mem_sync): Likewise.
20681         (_IO_mem_finish): Likewise.
20682         * libio/oldfileops.c (_IO_old_file_init): Likewise.
20683         (_IO_old_file_close_it): Likewise.
20684         (_IO_old_file_finish): Likewise.
20685         (_IO_old_file_fopen): Likewise.
20686         (_IO_old_file_attach): Likewise.
20687         (_IO_old_file_setbuf): Likewise.
20688         (_IO_old_do_write): Likewise.
20689         (old_do_write): Likewise.
20690         (_IO_old_file_underflow): Likewise.
20691         (_IO_old_file_overflow): Likewise.
20692         (_IO_old_file_sync): Likewise.
20693         (_IO_old_file_seekoff): Likewise.
20694         (_IO_old_file_write): Likewise.
20695         (_IO_old_file_xsputn): Likewise.
20696         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
20697         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20698         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
20699         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
20700         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20701         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
20702         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
20703         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
20704         (_IO_old_popen): Likewise.
20705         (_IO_old_proc_close): Likewise.
20706         * libio/oldpclose.c (__old_pclose): Likewise.
20707         * libio/pclose.c (__new_pclose): Likewise.
20708         * libio/peekc.c (_IO_peekc_locked): Likewise.
20709         * libio/putc.c (_IO_putc): Likewise.
20710         * libio/putc_u.c (putc_unlocked): Likewise.
20711         * libio/putchar.c (putchar): Likewise.
20712         * libio/putchar_u.c (putchar_unlocked): Likewise.
20713         * libio/putwc.c (putwc): Likewise.
20714         * libio/putwc_u.c (putwc_unlocked): Likewise.
20715         * libio/putwchar.c (putwchar): Likewise.
20716         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
20717         * libio/rewind.c (rewind): Likewise.
20718         * libio/setbuf.c (setbuf): Likewise.
20719         * libio/setlinebuf.c (setlinebuf): Likewise.
20720         * libio/vasprintf.c (_IO_vasprintf): Likewise.
20721         * libio/vscanf.c (_IO_vscanf): Likewise.
20722         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
20723         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
20724         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20725         * libio/wgenops.c (_IO_least_wmarker): Likewise.
20726         (_IO_switch_to_main_wget_area): Likewise.
20727         (_IO_switch_to_wbackup_area): Likewise.
20728         (_IO_wsetb): Likewise.
20729         (_IO_wdefault_pbackfail): Likewise.
20730         (_IO_wdefault_finish): Likewise.
20731         (_IO_wdefault_uflow): Likewise.
20732         (__woverflow): Likewise.
20733         (__wuflow): Likewise.
20734         (__wunderflow): Likewise.
20735         (_IO_wdefault_xsputn): Likewise.
20736         (_IO_wdefault_xsgetn): Likewise.
20737         (_IO_wdoallocbuf): Likewise.
20738         (_IO_wdefault_doallocate): Likewise.
20739         (_IO_switch_to_wget_mode): Likewise.
20740         (_IO_free_wbackup_area): Likewise.
20741         (_IO_switch_to_wput_mode): Likewise.
20742         (_IO_sputbackwc): Likewise.
20743         (_IO_sungetwc): Likewise.
20744         (_IO_adjust_wcolumn): Likewise.
20745         (_IO_init_wmarker): Likewise.
20746         (_IO_wmarker_delta): Likewise.
20747         (_IO_seekwmark): Likewise.
20748         (_IO_unsave_wmarkers): Likewise.
20749         * libio/wmemstream.c (open_wmemstream): Likewise.
20750         (_IO_wmem_sync): Likewise.
20751         (_IO_wmem_finish): Likewise.
20752         * locale/nl_langinfo.c (nl_langinfo): Likewise.
20753         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
20754         * locale/programs/simple-hash.c (init_hash): Likewise.
20755         (delete_hash): Likewise.
20756         (insert_entry): Likewise.
20757         (set_entry): Likewise.
20758         (next_prime): Likewise.
20759         (is_prime): Likewise.
20760         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
20761         (xmalloc): Likewise.
20762         (xrealloc): Likewise.
20763         * locale/programs/xstrdup.c (xstrdup): Likewise.
20764         * localedata/collate-test.c (xstrcoll): Likewise.
20765         * localedata/xfrm-test.c (xstrcmp): Likewise.
20766         * login/getlogin_r.c (__getlogin_r): Likewise.
20767         * login/getpt.c (__posix_openpt): Likewise.
20768         * login/login_tty.c (login_tty): Likewise.
20769         * login/setlogin.c (setlogin): Likewise.
20770         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20771         (mach_msg_destroy_port): Likewise.
20772         (mach_msg_destroy_memory): Likewise.
20773         * malloc/mcheck.c (flood): Likewise.
20774         * misc/acct.c (acct): Likewise.
20775         * misc/brk.c (__brk): Likewise.
20776         * misc/chflags.c (chflags): Likewise.
20777         * misc/chroot.c (chroot): Likewise.
20778         * misc/fchflags.c (fchflags): Likewise.
20779         * misc/fstab.c (getfsspec): Likewise.
20780         (getfsfile): Likewise.
20781         * misc/fsync.c (fsync): Likewise.
20782         * misc/ftruncate.c (__ftruncate): Likewise.
20783         * misc/ftruncate64.c (__ftruncate64): Likewise.
20784         * misc/getdomain.c (getdomainname): Likewise.
20785         (getdomainname): Likewise.
20786         * misc/gethostname.c (__gethostname): Likewise.
20787         * misc/getpass.c (getpass): Likewise.
20788         * misc/getttyent.c (skip): Likewise.
20789         (value): Likewise.
20790         * misc/gtty.c (gtty): Likewise.
20791         * misc/hsearch.c (hsearch): Likewise.
20792         (hcreate): Likewise.
20793         * misc/hsearch_r.c (__hcreate_r): Likewise.
20794         (__hdestroy_r): Likewise.
20795         * misc/ioctl.c (__ioctl): Likewise.
20796         * misc/mkdtemp.c (mkdtemp): Likewise.
20797         * misc/mkostemp.c (mkostemp): Likewise.
20798         * misc/mkostemp64.c (mkostemp64): Likewise.
20799         * misc/mkostemps.c (mkostemps): Likewise.
20800         * misc/mkostemps64.c (mkostemps64): Likewise.
20801         * misc/mkstemp.c (mkstemp): Likewise.
20802         * misc/mkstemp64.c (mkstemp64): Likewise.
20803         * misc/mkstemps.c (mkstemps): Likewise.
20804         * misc/mkstemps64.c (mkstemps64): Likewise.
20805         * misc/mktemp.c (__mktemp): Likewise.
20806         * misc/preadv.c (preadv): Likewise.
20807         * misc/preadv64.c (preadv64): Likewise.
20808         * misc/pwritev.c (pwritev): Likewise.
20809         * misc/pwritev64.c (pwritev64): Likewise.
20810         * misc/readv.c (__readv): Likewise.
20811         * misc/revoke.c (revoke): Likewise.
20812         * misc/setdomain.c (setdomainname): Likewise.
20813         * misc/setegid.c (setegid): Likewise.
20814         * misc/seteuid.c (seteuid): Likewise.
20815         * misc/sethostid.c (sethostid): Likewise.
20816         * misc/sethostname.c (sethostname): Likewise.
20817         * misc/setregid.c (__setregid): Likewise.
20818         * misc/setreuid.c (__setreuid): Likewise.
20819         * misc/sstk.c (sstk): Likewise.
20820         * misc/stty.c (stty): Likewise.
20821         * misc/syscall.c (syscall): Likewise.
20822         * misc/syslog.c (setlogmask): Likewise.
20823         * misc/truncate.c (__truncate): Likewise.
20824         * misc/truncate64.c (truncate64): Likewise.
20825         * misc/ualarm.c (ualarm): Likewise.
20826         * misc/usleep.c (usleep): Likewise.
20827         * misc/ustat.c (ustat): Likewise.
20828         * misc/writev.c (__writev): Likewise.
20829         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
20830         * nptl/old_pthread_cond_broadcast.c
20831         (__pthread_cond_broadcast_2_0): Likewise.
20832         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
20833         Likewise.
20834         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
20835         Likewise.
20836         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
20837         Likewise.
20838         * nptl/pt-raise.c (raise): Likewise.
20839         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
20840         Likewise.
20841         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
20842         * nptl/pthread_barrierattr_destroy.c
20843         (pthread_barrierattr_destroy): Likewise.
20844         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20845         Likewise.
20846         * nptl/pthread_barrierattr_setpshared.c
20847         (pthread_barrierattr_setpshared): Likewise.
20848         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20849         Likewise.
20850         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
20851         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20852         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
20853         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
20854         Likewise.
20855         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
20856         Likewise.
20857         * nptl/pthread_condattr_getpshared.c
20858         (pthread_condattr_getpshared): Likewise.
20859         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
20860         Likewise.
20861         * nptl/pthread_condattr_setpshared.c
20862         (pthread_condattr_setpshared): Likewise.
20863         * nptl/pthread_detach.c (pthread_detach): Likewise.
20864         * nptl/pthread_equal.c (__pthread_equal): Likewise.
20865         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
20866         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
20867         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
20868         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
20869         Likewise.
20870         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
20871         Likewise.
20872         * nptl/pthread_mutex_getprioceiling.c
20873         (pthread_mutex_getprioceiling): Likewise.
20874         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
20875         Likewise.
20876         * nptl/pthread_mutexattr_getprotocol.c
20877         (pthread_mutexattr_getprotocol): Likewise.
20878         * nptl/pthread_mutexattr_getpshared.c
20879         (pthread_mutexattr_getpshared): Likewise.
20880         * nptl/pthread_mutexattr_getrobust.c
20881         (pthread_mutexattr_getrobust): Likewise.
20882         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20883         Likewise.
20884         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
20885         Likewise.
20886         * nptl/pthread_mutexattr_setprioceiling.c
20887         (pthread_mutexattr_setprioceiling): Likewise.
20888         * nptl/pthread_mutexattr_setprotocol.c
20889         (pthread_mutexattr_setprotocol): Likewise.
20890         * nptl/pthread_mutexattr_setpshared.c
20891         (pthread_mutexattr_setpshared): Likewise.
20892         * nptl/pthread_mutexattr_setrobust.c
20893         (pthread_mutexattr_setrobust): Likewise.
20894         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
20895         Likewise.
20896         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
20897         Likewise.
20898         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
20899         Likewise.
20900         * nptl/pthread_rwlockattr_getkind_np.c
20901         (pthread_rwlockattr_getkind_np): Likewise.
20902         * nptl/pthread_rwlockattr_getpshared.c
20903         (pthread_rwlockattr_getpshared): Likewise.
20904         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
20905         Likewise.
20906         * nptl/pthread_rwlockattr_setkind_np.c
20907         (pthread_rwlockattr_setkind_np): Likewise.
20908         * nptl/pthread_rwlockattr_setpshared.c
20909         (pthread_rwlockattr_setpshared): Likewise.
20910         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
20911         Likewise.
20912         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
20913         Likewise.
20914         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
20915         Likewise.
20916         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
20917         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
20918         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
20919         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
20920         * nptl/sem_close.c (sem_close): Likewise.
20921         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
20922         * nptl/sem_init.c (__old_sem_init): Likewise.
20923         * nptl/sigaction.c (__sigaction): Likewise.
20924         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20925         * posix/_exit.c (_exit): Likewise.
20926         * posix/alarm.c (alarm): Likewise.
20927         * posix/confstr.c (confstr): Likewise.
20928         * posix/fpathconf.c (__fpathconf): Likewise.
20929         * posix/getgroups.c (__getgroups): Likewise.
20930         * posix/getpgid.c (__getpgid): Likewise.
20931         * posix/group_member.c (__group_member): Likewise.
20932         * posix/pathconf.c (__pathconf): Likewise.
20933         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
20934         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
20935         * posix/setgid.c (__setgid): Likewise.
20936         * posix/setpgid.c (__setpgid): Likewise.
20937         * posix/setuid.c (__setuid): Likewise.
20938         * posix/sleep.c (__sleep): Likewise.
20939         * posix/sysconf.c (__sysconf): Likewise.
20940         * posix/times.c (__times): Likewise.
20941         * posix/uname.c (__uname): Likewise.
20942         * posix/waitid.c (__waitid): Likewise.
20943         * pwd/getpw.c (__getpw): Likewise.
20944         * resolv/base64.c (b64_pton): Likewise.
20945         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20946         * resolv/gethnamaddr.c (Dprintf): Likewise.
20947         (gethostbyname): Likewise.
20948         (gethostbyname2): Likewise.
20949         (gethostbyaddr): Likewise.
20950         (_sethtent): Likewise.
20951         (_gethtbyname): Likewise.
20952         (_gethtbyname2): Likewise.
20953         (_gethtbyaddr): Likewise.
20954         (map_v4v6_address): Likewise.
20955         (map_v4v6_hostent): Likewise.
20956         (addrsort): Likewise.
20957         (ht_sethostent): Likewise.
20958         (ht_gethostbyname): Likewise.
20959         (ht_gethostbyaddr): Likewise.
20960         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
20961         (inet_net_ntop_ipv4): Likewise.
20962         * resolv/inet_neta.c (inet_neta): Likewise.
20963         * resolv/inet_ntop.c (inet_ntop): Likewise.
20964         (inet_ntop4): Likewise.
20965         (inet_ntop6): Likewise.
20966         * resolv/inet_pton.c (__inet_pton): Likewise.
20967         (inet_pton4): Likewise.
20968         (inet_pton6): Likewise.
20969         * resolv/res_debug.c (loc_aton): Likewise.
20970         (loc_ntoa): Likewise.
20971         * resource/getpriority.c (__getpriority): Likewise.
20972         * resource/getrusage.c (__getrusage): Likewise.
20973         * resource/nice.c (nice): Likewise.
20974         * resource/setpriority.c (__setpriority): Likewise.
20975         * resource/setrlimit64.c (setrlimit64): Likewise.
20976         * resource/vlimit.c (vlimit): Likewise.
20977         * resource/vtimes.c (vtimes): Likewise.
20978         * rt/aio_error.c (aio_error): Likewise.
20979         * rt/aio_return.c (aio_return): Likewise.
20980         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
20981         * signal/kill.c (__kill): Likewise.
20982         * signal/killpg.c (killpg): Likewise.
20983         * signal/raise.c (raise): Likewise.
20984         * signal/sigaction.c (__sigaction): Likewise.
20985         * signal/sigaddset.c (sigaddset): Likewise.
20986         * signal/sigaltstack.c (sigaltstack): Likewise.
20987         * signal/sigandset.c (sigandset): Likewise.
20988         * signal/sigblock.c (__sigblock): Likewise.
20989         * signal/sigdelset.c (sigdelset): Likewise.
20990         * signal/sigempty.c (sigemptyset): Likewise.
20991         * signal/sigfillset.c (sigfillset): Likewise.
20992         * signal/sighold.c (sighold): Likewise.
20993         * signal/sigignore.c (sigignore): Likewise.
20994         * signal/sigintr.c (siginterrupt): Likewise.
20995         * signal/sigisempty.c (sigisemptyset): Likewise.
20996         * signal/sigismem.c (sigismember): Likewise.
20997         * signal/signal.c (signal): Likewise.
20998         * signal/sigorset.c (sigorset): Likewise.
20999         * signal/sigpause.c (__sigpause): Likewise.
21000         * signal/sigpending.c (sigpending): Likewise.
21001         * signal/sigprocmask.c (__sigprocmask): Likewise.
21002         * signal/sigrelse.c (sigrelse): Likewise.
21003         * signal/sigreturn.c (__sigreturn): Likewise.
21004         * signal/sigset.c (sigset): Likewise.
21005         * signal/sigsetmask.c (__sigsetmask): Likewise.
21006         * signal/sigstack.c (sigstack): Likewise.
21007         * signal/sigsuspend.c (__sigsuspend): Likewise.
21008         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21009         * signal/sysv_signal.c (__sysv_signal): Likewise.
21010         * socket/accept.c (accept): Likewise.
21011         * socket/accept4.c (__libc_accept4): Likewise.
21012         * socket/bind.c (__bind): Likewise.
21013         * socket/connect.c (__connect): Likewise.
21014         * socket/getpeername.c (getpeername): Likewise.
21015         * socket/getsockname.c (__getsockname): Likewise.
21016         * socket/getsockopt.c (getsockopt): Likewise.
21017         * socket/listen.c (__listen): Likewise.
21018         * socket/recv.c (__recv): Likewise.
21019         * socket/recvmsg.c (__recvmsg): Likewise.
21020         * socket/send.c (__send): Likewise.
21021         * socket/sendmsg.c (__sendmsg): Likewise.
21022         * socket/shutdown.c (shutdown): Likewise.
21023         * socket/sockatmark.c (sockatmark): Likewise.
21024         * socket/socket.c (__socket): Likewise.
21025         * stdio-common/ctermid.c (ctermid): Likewise.
21026         * stdio-common/cuserid.c (cuserid): Likewise.
21027         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21028         * stdio-common/remove.c (remove): Likewise.
21029         * stdio-common/rename.c (rename): Likewise.
21030         * stdio-common/renameat.c (renameat): Likewise.
21031         * stdio-common/tempname.c (__gen_tempname): Likewise.
21032         * stdio-common/xbug.c (InitBuffer): Likewise.
21033         (AppendToBuffer): Likewise.
21034         (ReadFile): Likewise.
21035         * stdlib/a64l.c (a64l): Likewise.
21036         * stdlib/drand48_r.c (drand48_r): Likewise.
21037         * stdlib/getcontext.c (getcontext): Likewise.
21038         * stdlib/getenv.c (getenv): Likewise.
21039         * stdlib/l64a.c (l64a): Likewise.
21040         * stdlib/llabs.c (llabs): Likewise.
21041         * stdlib/lldiv.c (lldiv): Likewise.
21042         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21043         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21044         * stdlib/putenv.c (putenv): Likewise.
21045         * stdlib/random.c (__srandom): Likewise.
21046         (__initstate): Likewise.
21047         (__setstate): Likewise.
21048         * stdlib/random_r.c (__srandom_r): Likewise.
21049         (__setstate_r): Likewise.
21050         (__random_r): Likewise.
21051         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21052         * stdlib/setcontext.c (setcontext): Likewise.
21053         * stdlib/setenv.c (setenv): Likewise.
21054         (unsetenv): Likewise.
21055         * stdlib/srand48.c (srand48): Likewise.
21056         * stdlib/srand48_r.c (__srand48_r): Likewise.
21057         * stdlib/swapcontext.c (swapcontext): Likewise.
21058         * stdlib/system.c (__libc_system): Likewise.
21059         * stdlib/tst-strtod.c (expand): Likewise.
21060         * stdlib/tst-strtol.c (expand): Likewise.
21061         * stdlib/tst-strtoll.c (expand): Likewise.
21062         * streams/fattach.c (fattach): Likewise.
21063         * streams/fdetach.c (fdetach): Likewise.
21064         * streams/getmsg.c (getmsg): Likewise.
21065         * streams/isastream.c (isastream): Likewise.
21066         * string/ffs.c (__ffs): Likewise.
21067         * string/ffsll.c (ffsll): Likewise.
21068         * string/memcmp.c (memcmp_common_alignment): Likewise.
21069         (memcmp_not_common_alignment): Likewise.
21070         (MEMCMP): Likewise.
21071         * string/memcpy.c (memcpy): Likewise.
21072         * string/memmove.c (MEMMOVE): Likewise.
21073         * string/memset.c (memset): Likewise.
21074         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21075         * string/strchrnul.c (STRCHRNUL): Likewise.
21076         * string/strerror.c (strerror): Likewise.
21077         * string/strndup.c (__strndup): Likewise.
21078         * string/strverscmp.c (__strverscmp): Likewise.
21079         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21080         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21081         (clnttcp_freeres): Likewise.
21082         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21083         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21084         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21085         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21086         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21087         (xdr_callhdr): Likewise.
21088         * sunrpc/rpcinfo.c (udpping): Likewise.
21089         (tcpping): Likewise.
21090         (pstatus): Likewise.
21091         (pmapdump): Likewise.
21092         (brdcst): Likewise.
21093         (deletereg): Likewise.
21094         (getprognum): Likewise.
21095         (getvers): Likewise.
21096         (get_inet_address): Likewise.
21097         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21098         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21099         (svcudp_stat): Likewise.
21100         (svcudp_recv): Likewise.
21101         (svcudp_reply): Likewise.
21102         (svcudp_getargs): Likewise.
21103         (svcudp_freeargs): Likewise.
21104         (svcudp_destroy): Likewise.
21105         * sunrpc/xdr.c (xdr_bytes): Likewise.
21106         (xdr_netobj): Likewise.
21107         (xdr_string): Likewise.
21108         (xdr_wrapstring): Likewise.
21109         * sunrpc/xdr_float.c (xdr_float): Likewise.
21110         (xdr_double): Likewise.
21111         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21112         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21113         * sysvipc/ftok.c (ftok): Likewise.
21114         * sysvipc/msgctl.c (msgctl): Likewise.
21115         * sysvipc/msgget.c (msgget): Likewise.
21116         * sysvipc/msgrcv.c (msgrcv): Likewise.
21117         * sysvipc/msgsnd.c (msgsnd): Likewise.
21118         * sysvipc/semget.c (semget): Likewise.
21119         * sysvipc/semop.c (semop): Likewise.
21120         * sysvipc/shmat.c (shmat): Likewise.
21121         * sysvipc/shmctl.c (shmctl): Likewise.
21122         * sysvipc/shmdt.c (shmdt): Likewise.
21123         * sysvipc/shmget.c (shmget): Likewise.
21124         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21125         * termios/speed.c (cfgetospeed): Likewise.
21126         (cfgetispeed): Likewise.
21127         (cfsetospeed): Likewise.
21128         (cfsetispeed): Likewise.
21129         * termios/tcflow.c (tcflow): Likewise.
21130         * termios/tcflush.c (tcflush): Likewise.
21131         * termios/tcgetattr.c (__tcgetattr): Likewise.
21132         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21133         * termios/tcgetsid.c (tcgetsid): Likewise.
21134         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21135         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21136         * time/adjtime.c (__adjtime): Likewise.
21137         * time/dysize.c (dysize): Likewise.
21138         * time/ftime.c (ftime): Likewise.
21139         * time/getitimer.c (__getitimer): Likewise.
21140         * time/gettimeofday.c (__gettimeofday): Likewise.
21141         * time/gmtime.c (__gmtime_r): Likewise.
21142         (gmtime): Likewise.
21143         * time/localtime.c (__localtime_r): Likewise.
21144         (localtime): Likewise.
21145         * time/offtime.c (__offtime): Likewise.
21146         * time/settimeofday.c (__settimeofday): Likewise.
21147         * time/stime.c (stime): Likewise.
21148         * time/strftime_l.c (tm_diff): Likewise.
21149         (iso_week_days): Likewise.
21150         * time/strptime.c (strptime): Likewise.
21151         * time/time.c (time): Likewise.
21152         * time/timespec_get.c (timespec_get): Likewise.
21153         * time/tzset.c (tzset_internal): Likewise.
21154         (compute_change): Likewise.
21155         (__tz_compute): Likewise.
21156         * wcsmbs/btowc.c (__btowc): Likewise.
21157         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21158         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21159         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21160         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21161         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21162         * wcsmbs/wcscat.c (__wcscat): Likewise.
21163         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21164         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21165         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21166         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21167         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21168         * wcsmbs/wcslen.c (__wcslen): Likewise.
21169         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21170         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21171         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21172         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21173         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21174         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21175         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21176         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21177         * wcsmbs/wcstok.c (wcstok): Likewise.
21178         * wcsmbs/wctob.c (wctob): Likewise.
21179         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21180         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21181         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21182         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21183         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21184         * wcsmbs/wmemset.c (__wmemset): Likewise.
21185         * wctype/wcfuncs.c (__towlower): Likewise.
21186         (__towupper): Likewise.
21188         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21189         (lll_unlock_elision): Add adapt_count parameter.
21191 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21193         * sysdeps/nptl/configure.ac: Do not give errors based on the
21194         results of top-level configure tests.
21195         * sysdeps/nptl/configure: Regenerated.
21197         * configure.ac (libc_cv_Bgroup): Remove configure test.
21198         * configure: Regenerated.
21199         * config.make.in (have-Bgroup): Remove variable.
21201         * configure.ac (sizeof_long_double): Remove configure test.
21202         * configure: Regenerated.
21203         * config.make.in (sizeof-long-double): Remove variable.
21205         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21206         * configure: Regenerated.
21207         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21208         variable.
21209         (exceptions): Likewise.
21210         * sysdeps/arm/configure: Regenerated.
21211         * config.make.in (exceptions): Remove variable.
21212         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21213         $(exceptions).
21214         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21215         (CFLAGS-vdprintf_chk.c): Likewise.
21216         (CFLAGS-printf_chk.c): Likewise.
21217         (CFLAGS-fprintf_chk.c): Likewise.
21218         (CFLAGS-vprintf_chk.c): Likewise.
21219         (CFLAGS-vfprintf_chk.c): Likewise.
21220         (CFLAGS-gets_chk.c): Likewise.
21221         (CFLAGS-fgets_chk.c): Likewise.
21222         (CFLAGS-fgets_u_chk.c): Likewise.
21223         (CFLAGS-fread_chk.c): Likewise.
21224         (CFLAGS-fread_u_chk.c): Likewise.
21225         (CFLAGS-wprintf_chk.c): Likewise.
21226         (CFLAGS-fwprintf_chk.c): Likewise.
21227         (CFLAGS-vwprintf_chk.c): Likewise.
21228         (CFLAGS-vfwprintf_chk.c): Likewise.
21229         (CFLAGS-fgetws_chk.c): Likewise.
21230         (CFLAGS-fgetws_u_chk.c): Likewise.
21231         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21232         (CFLAGS-fputc.c): Likewise.
21233         (CFLAGS-fputwc.c): Likewise.
21234         (CFLAGS-freopen64.c): Likewise.
21235         (CFLAGS-freopen.c): Likewise.
21236         (CFLAGS-fseek.c): Likewise.
21237         (CFLAGS-fseeko64.c): Likewise.
21238         (CFLAGS-fseeko.c): Likewise.
21239         (CFLAGS-ftello64.c): Likewise.
21240         (CFLAGS-ftello.c): Likewise.
21241         (CFLAGS-fwide.c): Likewise.
21242         (CFLAGS-genops.c): Likewise.
21243         (CFLAGS-getc.c): Likewise.
21244         (CFLAGS-getchar.c): Likewise.
21245         (CFLAGS-getwc.c): Likewise.
21246         (CFLAGS-getwchar.c): Likewise.
21247         (CFLAGS-iofclose.c): Likewise.
21248         (CFLAGS-iofflush.c): Likewise.
21249         (CFLAGS-iofgetpos64.c): Likewise.
21250         (CFLAGS-iofgetpos.c): Likewise.
21251         (CFLAGS-iofgets.c): Likewise.
21252         (CFLAGS-iofgetws.c): Likewise.
21253         (CFLAGS-iofputs.c): Likewise.
21254         (CFLAGS-iofputws.c): Likewise.
21255         (CFLAGS-iofread.c): Likewise.
21256         (CFLAGS-iofsetpos64.c): Likewise.
21257         (CFLAGS-iofsetpos.c): Likewise.
21258         (CFLAGS-ioftell.c): Likewise.
21259         (CFLAGS-iofwrite.c): Likewise.
21260         (CFLAGS-iogetdelim.c): Likewise.
21261         (CFLAGS-iogetline.c): Likewise.
21262         (CFLAGS-iogets.c): Likewise.
21263         (CFLAGS-iogetwline.c): Likewise.
21264         (CFLAGS-ioputs.c): Likewise.
21265         (CFLAGS-ioseekoff.c): Likewise.
21266         (CFLAGS-ioseekpos.c): Likewise.
21267         (CFLAGS-iosetbuffer.c): Likewise.
21268         (CFLAGS-iosetvbuf.c): Likewise.
21269         (CFLAGS-ioungetc.c): Likewise.
21270         (CFLAGS-ioungetwc.c): Likewise.
21271         (CFLAGS-oldfileops.c): Likewise.
21272         (CFLAGS-oldiofclose.c): Likewise.
21273         (CFLAGS-oldiofgetpos64.c): Likewise.
21274         (CFLAGS-oldiofgetpos.c): Likewise.
21275         (CFLAGS-oldiofsetpos64.c): Likewise.
21276         (CFLAGS-oldiofsetpos.c): Likewise.
21277         (CFLAGS-peekc.c): Likewise.
21278         (CFLAGS-putc.c): Likewise.
21279         (CFLAGS-putchar.c): Likewise.
21280         (CFLAGS-putwc.c): Likewise.
21281         (CFLAGS-putwchar.c): Likewise.
21282         (CFLAGS-rewind.c): Likewise.
21283         (CFLAGS-wfileops.c): Likewise.
21284         (CFLAGS-wgenops.c): Likewise.
21285         (CFLAGS-oldiofopen.c): Likewise.
21286         (CFLAGS-iofopen.c): Likewise.
21287         (CFLAGS-iofopen64.c): Likewise.
21288         (CFLAGS-oldtmpfile.c): Likewise.
21289         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21290         (CFLAGS-fprintf.c): Likewise.
21291         (CFLAGS-printf.c): Likewise.
21292         (CFLAGS-vfwprintf.c): Likewise.
21293         (CFLAGS-vfscanf.c): Likewise.
21294         (CFLAGS-vfwscanf.c): Likewise.
21295         (CFLAGS-fscanf.c): Likewise.
21296         (CFLAGS-scanf.c): Likewise.
21297         (CFLAGS-isoc99_vfscanf.c): Likewise.
21298         (CFLAGS-isoc99_vscanf.c): Likewise.
21299         (CFLAGS-isoc99_fscanf.c): Likewise.
21300         (CFLAGS-isoc99_scanf.c): Likewise.
21301         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21302         (CFLAGS-isoc99_fwscanf.c): Likewise.
21303         (CFLAGS-isoc99_vwscanf.c): Likewise.
21304         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21306         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21307         after mkstemp64.
21308         * login/tst-utmp.c (do_prepare): Likewise.
21309         * rt/tst-aio.c (do_prepare): Likewise.
21310         * rt/tst-aio64.c (do_prepare): Likewise.
21312 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21314         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21315         (__lll_lock_elision): Remove adapt_count decrement...
21316         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21317         (__lll_trylock_elision): Likewise.
21318         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21319         (__lll_unlock_elision): ... to here. And utilize
21320         new adapt_count parameter.
21321         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21322         (__lll_unlock_elision): Update to include adapt_count
21323         parameter.
21324         (lll_unlock_elision): Pass pointer to adapt_count
21325         variable.
21327 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21329         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21330         Add elision adapt_count parameter to list of arguments.
21331         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21332         (lll_unlock_elision): Update with new parameter list
21333         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21334         (lll_unlock_elision): Likewise.
21335         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21336         (lll_unlock_elision): Likewise.
21338 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21340         [BZ #19122]
21341         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21342         attribute_hidden.
21344         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21345         attribute_hidden.
21346         [IS_IN (rtld)] (__strdup): Likewise.
21347         [IS_IN (rtld)] (__strerror_r): Likewise.
21348         [IS_IN (rtld)] (__strsep_g): Likewise.
21349         [IS_IN (rtld)] (memchr): Likewise.
21350         [IS_IN (rtld)] (memcmp): Likewise.
21351         [IS_IN (rtld)] (memcpy): Likewise.
21352         [IS_IN (rtld)] (memmove): Likewise.
21353         [IS_IN (rtld)] (memset): Likewise.
21354         [IS_IN (rtld)] (rawmemchr): Likewise.
21355         [IS_IN (rtld)] (stpcpy): Likewise.
21356         [IS_IN (rtld)] (strchr): Likewise.
21357         [IS_IN (rtld)] (strcmp): Likewise.
21358         [IS_IN (rtld)] (strlen): Likewise.
21359         [IS_IN (rtld)] (strnlen): Likewise.
21360         [IS_IN (rtld)] (strsep): Likewise.
21362         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21363         attribute_hidden.
21364         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21366         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21367         attribute_hidden.
21368         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21370         * include/setjmp.h (__longjmp): Add attribute_hidden.
21371         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21373         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21374         Add attribute_hidden.
21376         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21377         [IS_IN (rtld)] (__open): Likewise.
21378         [IS_IN (rtld)] (__fcntl): Likewise.
21380         * include/dirent.h (__opendirat): Add attribute_hidden.
21381         (__getdents): Likewise.
21382         (__getdents64): Likewise.
21383         (__alloc_dir): Likewise.
21384         [IS_IN (rtld)] (__closedir): Likewise.
21385         [IS_IN (rtld)] (__fdopendir): Likewise.
21386         [IS_IN (rtld)] (__readdir): Likewise.
21387         [IS_IN (rtld)] (__readdir64): Likewise.
21388         [IS_IN (rtld)] (__rewinddir): Likewise.
21390         * include/dlfcn.h (_dl_catch_error): Moved to ...
21391         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21392         attribute_hidden.
21394         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21395         (_itoa_word): Likewise.
21397         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21398         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21399         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21400         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21401         (_dl_higher_prime_number): Likewise.
21402         (_dl_debug_printf_c): Likewise.
21403         (_dl_signal_cerror): Likewise.
21404         (_dl_receive_error): Likewise.
21405         (_dl_reloc_bad_type): Likewise.
21406         (_dl_resolve_conflicts): Likewise.
21407         (_dl_check_all_versions): Likewise.
21408         (_dl_check_map_versions): Likewise.
21409         (_dl_sort_fini): Likewise.
21410         (_dl_debug_initialize): Likewise.
21411         (_dl_init_paths): Likewise.
21412         (_dl_show_auxv): Likewise.
21413         (_dl_next_ld_env_entry): Likewise.
21414         (_dl_important_hwcaps): Likewise.
21415         (_dl_load_cache_lookup): Likewise.
21416         (_dl_update_slotinfo): Likewise.
21417         (_dl_show_scope): Likewise.
21419         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21420         attribute_hidden.
21421         (_wordcopy_fwd_dest_aligned): Likewise.
21422         (_wordcopy_bwd_aligned): Likewise.
21423         (_wordcopy_bwd_dest_aligned): Likewise.
21425         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21426         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21427         Likewise.
21428         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21429         Likewise.
21430         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21432 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21434         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21435         GCC 5 requirement.
21437 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21439         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21440         test.
21441         * sysdeps/i386/configure: Regenerated.
21442         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21443         code unconditional.
21445         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21446         test.
21447         (libc_cv_asm_popsection_directive): Likewise.
21448         * configure: Regenerated.
21449         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21450         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21451         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21452         (__make_section_unallocated): Make definition unconditional.
21453         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21454         Remove conditional definition.
21455         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21456         (__make_section_unallocated): Likewise.
21458         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21459         * configure: Regenerated.
21460         * config.make.in (static-libgcc): Remove variable.
21461         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21462         $(static-libgcc).
21463         (build-module-helper): Likewise.
21465         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21466         * configure: Regenerated.
21468 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21470         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21471         (struct char_buffer): New type.
21472         (char_buffer_start, char_buffer_size, char_buffer_error)
21473         (char_buffer_rewind, char_buffer_add): New functions.
21474         (ADDW): Remove macro, replaced by the char_buffer_add function.
21475         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21476         of extend_alloca.  Make control flow more explicit.
21478 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21480         [BZ #19137]
21481         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21482         Add -fomit-frame-pointer.
21483         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
21485 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21487         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
21488         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
21489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
21490         only if !__GNUC_PREREQ (5,0).
21491         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
21492         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
21493         (INTERNAL_SYSCALL_NCS): Likewise.
21494         (LOADREGS_0): New macro for GCC 5.
21495         (ASMARGS_0): Likewise.
21496         (LOADREGS_1): Likewise.
21497         (ASMARGS_1): Likewise.
21498         (LOADREGS_2): Likewise.
21499         (ASMARGS_2): Likewise.
21500         (LOADREGS_3): Likewise.
21501         (ASMARGS_3): Likewise.
21502         (LOADREGS_4): Likewise.
21503         (ASMARGS_4): Likewise.
21504         (LOADREGS_5): Likewise.
21505         (ASMARGS_5): Likewise.
21506         (LOADREGS_6): Likewise.
21507         (ASMARGS_6): Likewise.
21509 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21511         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
21512         -fomit-frame-pointer.
21513         (CFLAGS-mmap64.c): Likewise.
21514         (CFLAGS-semtimedop.c): Likewise.
21515         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
21516         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
21517         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21518         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21520 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21522         [BZ #18928]
21523         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
21524         _dl_pointer_guard member.
21525         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
21526         initializer.
21527         (security_init): Always set up pointer guard.
21528         (process_envvars): Do not process LD_POINTER_GUARD.
21530 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
21532         [BZ #19134]
21533         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
21534         (.LC2): Likewise.
21535         (.LC3): Likewise.
21536         (__lround): Do not add 0.5 to integer or out-of-range arguments.
21538 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21540         [BZ #19129]
21541         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
21542         r0 and r1.
21544 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
21546         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
21548 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
21550         * include/stap-probe.h: Fix macro definition formatting.
21552 2015-10-14  Florian Weimer  <fweimer@redhat.com>
21554         [BZ #19074]
21555         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
21556         load and store num_ifs.
21558 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21560         [BZ #18822]
21561         * sysdeps/unix/sysv/linux/sched_getaffinity.c
21562         (__sched_getaffinity_new): Add libc_hidden_proto and
21563         libc_hidden_def.
21565 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21567         [BZ #19007]
21568         * scripts/localplt.awk: Also allow GOT references.
21569         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
21570         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
21571         with "+ REL R_386_GLOB_DAT".
21572         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
21573         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
21575 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21577         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
21578         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21579         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
21580         Likewise.
21581         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21582         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
21583         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21584         INTERNAL_SYSCALLINTERNAL_SYSCALL and
21585         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21586         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21587         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21588         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21589         Likewise.
21590         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21592 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21594         [BZ #19125]
21595         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
21596         <math_private.h> and <stdint.h>.
21597         (__llround): Avoid conversions to and from long long int, and
21598         subtractions, where those might raise spurious exceptions.
21599         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21600         <math_private.h> and <stdint.h>.
21601         (__llroundf): Avoid conversions to and from long long int, and
21602         subtractions, where those might raise spurious exceptions.
21604 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21606         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
21607         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21608         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21609         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
21610         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21611         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21612         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
21613         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
21614         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
21615         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21616         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21617         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21618         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
21619         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21620         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21621         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
21622         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
21623         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21624         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
21625         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
21626         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21627         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
21628         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
21629         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21630         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
21631         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21632         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
21633         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21634         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21635         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
21636         (__xstat64_conv): Likewise.
21637         (__xstat32_conv): Likewise.
21639 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21641         * sysdeps/unix/sysv/linux/sysdep.h: New file.
21642         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
21643         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
21644         <sysdeps/unix/sysv/linux/sysdep.h>.
21645         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21646         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
21647         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
21648         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21649         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21650         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
21651         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
21652         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21653         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21658         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21659         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21661         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
21662         (sysdep-dl-routines): Add sysdep.
21663         [$(subdir) == nptl] (libpthread-routines): Likewise.
21664         [$(subdir) == rt] (librt-routines): Likewise.
21665         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
21666         PIC when branching to SYSCALL_ERROR_LABEL.
21667         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
21668         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
21669         <sysdeps/unix/sysv/linux/sysdep.h>.
21670         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
21671         (SYSCALL_ERROR_ERRNO): Removed.
21672         (SYSCALL_ERROR_HANDLER): Changed to empty.
21673         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
21674         (__syscall_error): New prototype.
21675         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
21676         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
21678 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21680         [BZ #19124]
21681         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
21682         (_dl_runtime_resolve_avx512): Make it a hidden alias of
21683         _dl_runtime_resolve_avx.
21684         (_dl_runtime_profile_avx512): Make it a hidden alias of
21685         _dl_runtime_profile_avx.
21687 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21689         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
21690         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
21691         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
21692         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
21694         [BZ #16422]
21695         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
21696         New configure test.
21697         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
21698         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
21699         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
21700         <math_private.h> and <stdint.h>.
21701         (__llrint): Avoid conversions to long long int where those might
21702         raise spurious exceptions.
21703         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21704         <math_private.h> and <stdint.h>.
21705         (__llrintf): Avoid conversions to long long int where those might
21706         raise spurious exceptions.
21708 2015-10-12  Andreas Schwab  <schwab@suse.de>
21710         [BZ #18969]
21711         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
21712         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
21713         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
21714         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
21715         $(gen-locales).
21716         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
21717         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
21718         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
21719         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
21720         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
21721         $(gen-locales).
21722         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
21723         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
21724         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
21725         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
21726         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
21727         ($(objpfx)tst-ftell-active-handler.out)
21728         ($(objpfx)tst-ftell-append.out)
21729         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
21730         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
21731         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
21732         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
21733         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
21734         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
21735         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
21736         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
21737         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
21738         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
21739         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
21740         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
21741         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
21742         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
21743         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
21744         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
21745         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
21746         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
21747         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
21748         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
21749         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
21750         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
21751         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
21752         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
21753         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
21754         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
21755         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
21756         $(gen-locales).
21757         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
21758         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
21759         $(gen-locales).
21760         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
21761         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
21762         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
21763         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
21764         $(gen-locales).
21765         * libio/tst_wprintf2.c (main): Use explicit locale.
21766         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21768 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21770         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21771         __msg_sig_post.
21772         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21774 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21776         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21777         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21779         * sysdeps/arm/libm-test-ulps: Regenerated.
21781         [BZ #15470]
21782         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21784         [BZ #16399]
21785         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21786         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21787         and <fix-fp-int-convert-overflow.h>.
21788         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21789         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21790         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21791         and <fix-fp-int-convert-overflow.h>.
21792         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21793         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21794         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21795         <fix-fp-int-convert-overflow.h>.
21796         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21797         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21798         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21799         <fix-fp-int-convert-overflow.h>.
21800         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21801         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21802         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21803         and <fix-fp-int-convert-overflow.h>.
21804         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21805         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21806         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
21807         <limits.h> and <fix-fp-int-convert-overflow.h>.
21808         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21809         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21810         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
21811         and <fix-fp-int-convert-overflow.h>.
21812         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21813         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21814         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
21815         and <fix-fp-int-convert-overflow.h>.
21816         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21817         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21818         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
21820 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
21822         [BZ #18589]
21823         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
21824         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
21825         $(gen-locales).
21827 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21828             Phil Blundell <pb@pbcl.net>
21830         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
21831         * nptl/tst-cancel26.c: New file.
21832         * nptl/tst-cancel27.c: Likewise.
21834 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
21836         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
21837         __ILP32__ isn't defined.
21838         (lrint): Likewise.
21839         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
21840         (lrintf): Likewise.
21841         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
21842         (lrintl): Likewise.
21843         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
21844         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
21845         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
21847 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21849         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21850         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21852         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
21853         file.
21854         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
21855         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21857 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21859         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
21860         configure test.
21861         * sysdeps/i386/configure: Regenerated.
21862         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
21863         configure test.
21864         * sysdeps/x86_64/configure: Regenerated.
21865         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
21866         Make code unconditional.
21868         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
21869         test.
21870         * sysdeps/i386/configure: Regenerated.
21871         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
21872         test.
21873         * sysdeps/x86_64/configure: Regenerated.
21874         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
21875         Make code unconditional.
21876         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21877         Likewise.
21878         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
21879         Likewise.
21880         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21881         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
21882         code unconditional.
21883         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21884         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
21885         code unconditional.
21886         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21887         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
21888         code unconditional.
21889         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
21890         code unconditional.
21891         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21892         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
21893         code unconditional.
21894         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21895         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
21896         code unconditional.
21897         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21898         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
21899         code unconditional.
21900         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21901         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
21902         code unconditional.
21903         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21904         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
21906         [BZ #19095]
21907         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
21908         mantissa to long int before shifting left.
21910 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21912         [BZ #19094]
21913         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
21914         <limits.h>.
21915         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21916         when result overflows but exception would not result from cast.
21917         * sysdeps/ieee754/ldbl-128/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-128/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         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
21926         <limits.h>.
21927         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21928         when result overflows but exception would not result from cast.
21929         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21930         <limits.h>.
21931         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21932         when result overflows but exception would not result from cast.
21933         * math/libm-test.inc (lrint_test_data): Add more tests.
21934         (llrint_test_data): Likewise.
21936 2015-10-08  Roland McGrath  <roland@hack.frob.com>
21938         [BZ #18872]
21939         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
21940         Move out from under [$(run-built-tests) = yes] conditional.
21941         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
21942         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
21944 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
21946         [BZ #18589]
21947         * string/Makefile (tests): Add bug-strcoll2.
21948         (LOCALES): Add cs_CZ.UTF-8.
21949         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
21951         [BZ #18589]
21952         * string/bug-strcoll2.c: New file.
21953         * locale/categories.def: Revert commit
21954         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
21955         * locale/langinfo.h: Likewise.
21956         * locale/localeinfo.h: Likewise.
21957         * locale/C-collate.c: Likewise.
21958         * locale/programs/ld-collate.c (collate_output): Likewise.
21959         * string/strcoll_l.c (STRDIFF): Likewise.
21960         (STRCOLL): Likewise.
21961         * wcsmbs/wcscoll_l.c: Likewise.
21963 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21965         * math/libm-test.inc (lround_test_data): Do not expect the absence
21966         of "inexact" for some tests with non-integer arguments.
21967         (llround_test_data): Likewise.
21969         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
21970         test.
21971         (libc_cv_cc_sse2avx): Likewise.
21972         * sysdeps/i386/configure: Regenerated.
21973         * sysdeps/i386/i686/multiarch/Makefile
21974         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
21975         [$(subdir) = math].
21976         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
21977         code unconditional.
21978         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21979         Likewise.
21980         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
21981         Likewise.
21982         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21983         Likewise.
21984         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
21985         test.
21986         (libc_cv_cc_sse2avx): Likewise.
21987         * sysdeps/x86_64/configure: Regenerated.
21988         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
21989         unconditional.
21990         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
21991         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
21992         unconditional.
21993         (_dl_runtime_profile)
21994         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
21995         conditional code.
21996         * sysdeps/x86_64/fpu/multiarch/Makefile
21997         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
21998         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21999         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22000         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22001         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22002         * sysdeps/x86_64/fpu/multiarch/e_log.c
22003         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22004         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22005         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22006         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22007         Likewise.
22008         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22009         Likewise.
22010         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22011         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22012         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22013         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22014         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22015         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22016         (HAVE_SSE2AVX_SUPPORT): Likewise.
22018 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22020         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22021         instead of #pragma optimize.
22023 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22025         [BZ #17195]
22026         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22027         as is similarly done in systrim and _int_free already.
22029 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22031         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22033 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22035         [BZ #19088]
22036         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22037         <limits.h>.
22038         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22039         overflows but exception would not result from cast.
22040         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22041         and <limits.h>.
22042         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22043         overflows but exception would not result from cast.
22044         * sysdeps/ieee754/ldbl-128/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-128/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         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22053         <limits.h>.
22054         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22055         overflows but exception would not result from cast.
22056         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22057         <limits.h>.
22058         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22059         overflows but exception would not result from cast.
22060         * math/libm-test.inc (lround_test_data): Add more tests.
22061         (llround_test_data): Likewise.
22063 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22065         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22066         (CFLAGS-ialloc.c): Ditto.
22067         (CFLAGS-scheck.c): Ditto.
22069 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22071         [BZ #19086]
22072         * manual/filesys.texi (Storage Allocation): Fix argument order for
22073         posix_fallocate64.
22075 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22077         [BZ #19085]
22078         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22079         exponent below 48 inside case for non-overflowing exponent.
22080         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22082 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22084         * iconvdata/cp737.h (from_idx): Add const.
22085         * iconvdata/cp775.h (from_idx): Likewise.
22087 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22089         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22090         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22091         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22093         [BZ #19079]
22094         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22095         file, conditioned on [!_LP64].
22096         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22097         [!_LP64] (__lround): Do not define as function or alias.
22098         [!_LP64] (lround): Likewise.
22099         [!_LP64] (__lroundl): Likewise.
22100         [!_LP64] (lroundl): Likewise.
22101         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22102         macro.
22103         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22104         Likewise.
22106 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22108         * math/libm-test.inc (lrint_test_data): Add more tests.
22109         (llrint_test_data): Likewise.
22110         (lround_test_data): Likewise.
22111         (llround_test_data): Likewise.
22113         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22114         (llrint_test_data): Add tests used for lrint.
22116         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22117         test.
22118         * sysdeps/i386/configure: Regenerated.
22119         * sysdeps/i386/i686/multiarch/Makefile
22120         [$(config-cflags-sse4) = yes]: Make code unconditional.
22121         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22122         Likewise.
22123         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22124         Likewise.
22125         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22126         test.
22127         * sysdeps/x86_64/configure: Regenerated.
22128         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22129         Make code unconditional.
22130         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22131         Likewise.
22132         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22133         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22135         * scripts/rpm2dynsym.sh: Remove file.
22137 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22139         * configure.ac (libc_cv_cxx_thread_local): Define.
22140         * configure: Regenerate.
22141         * config.make.in (have-cxx-thread_local): Define.
22142         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22143         (LDLIBS-tst-thread_local1): Define.
22144         (tests): Add tst-thread_local1.
22145         [have-cxx-thread_local != yes] (tests-unsupported): Add
22146         tst-thread_local1.
22147         * nptl/tst-thread_local1.cc: New file.
22149 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22151         [BZ #19078]
22152         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22153         (u_thres): Likewise.
22154         (__expl): Determine whether to call __kernel_standard_l based on
22155         value of result, not argument.
22157         * math/libm-test.inc (scalb_test_data): Add more expectations for
22158         the "inexact" exception.
22160         [BZ #19077]
22161         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22162         0.0L for argument 1.0L.
22164         [BZ #19076]
22165         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22166         constant 0.0L when computing infinite result.
22168 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22170         [BZ #10432]
22171         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22172         malloc_usable_size.
22174 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22176         [BZ #19018]
22177         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22178         Mangle function pointer before storing it.
22179         (__call_tls_dtors): Demangle function pointer before calling it.
22181 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22183         [BZ #19012]
22184         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22185         Clean up on failure.
22187 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22189         [BZ #19071]
22190         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22191         long int variable to store possibly incremented high part of
22192         mantissa.
22193         * math/libm-test.inc (lround_test_data): Add tests used for
22194         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22195         for tests requiring 64-bit long.  Do not condition tests on
22196         [TEST_FLOAT] unnecessarily.
22197         (llround_test_data): Add tests used for lround.  Add another
22198         expectation for the "inexact" exception.  Do not condition tests
22199         on [TEST_FLOAT] unnecessarily.
22201         [BZ #887]
22202         [BZ #19049]
22203         [BZ #19050]
22204         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22205         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22206         <fix-int-fp-convert-zero.h>.
22207         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22208         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22209         <fix-int-fp-convert-zero.h>.
22210         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22211         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22212         <fix-int-fp-convert-zero.h>.
22213         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22214         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22215         <fix-int-fp-convert-zero.h>.
22216         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22217         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22218         <fix-int-fp-convert-zero.h>.
22219         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22220         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22221         <fix-int-fp-convert-zero.h>.
22222         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22223         * sysdeps/ieee754/flt-32/s_erff.c: Include
22224         <fix-int-fp-convert-zero.h>.
22225         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22226         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22227         <fix-int-fp-convert-zero.h>.
22228         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22230         <fix-int-fp-convert-zero.h>.
22231         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22233         <fix-int-fp-convert-zero.h>.
22234         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22235         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22236         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22237         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22238         file.
22239         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22241 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22243         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22245 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22247         [BZ #19059]
22248         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22249         overflowing computation.
22250         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22251         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22252         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22253         Likewise.
22254         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22255         Likewise.
22256         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22257         Likewise.
22258         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22259         Likewise.
22260         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22261         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22262         Likewise.
22263         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22264         Likewise.
22265         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22267         * nss/rewrite_field.c (__nss_rewrite_field): Use
22268         internal_function.
22269         * nss/valid_field.c (__nss_valid_field): Likewise.
22270         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22272 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22274         [BZ #18724]
22275         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22276         (__nss_invalid_field_characters, __nss_valid_field)
22277         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22278         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22279         tst-field.c: New file.
22280         * nss/Makefile (routines): Add valid_field, rewrite_field.
22281         (tests-static): Define unconditionally.
22282         (tests): Include tests-static.
22283         [build-static-nss] (tests-static): Use append.
22284         [build-static-nss] (tests): Remove modification.
22285         * nss/getent.c (print_group): Call putgrent.  Report error.
22286         (print_gshadow): Call putsgent.  Report error.
22287         (print_passwd): Call putpwent.  Report error.
22288         (print_shadow): Call putspent.  Report error.
22289         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22290         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22291         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22292         name, password, directory, shell fields for valid syntax.  Rewrite
22293         GECOS field to match syntax.
22294         * pwd/Makefile (tests): Add tst-putpwent.
22295         * pwd/tst-putpwent.c: New file.
22296         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22297         Check grName, grpasswd, gr_mem fields for valid syntax.
22298         Change loop variable i to size_t.
22299         * grp/Makefile (tests): Add tst-putgrent.
22300         * grp/tst-putgrent.c: New file.
22301         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22302         valid syntax.
22303         * shadow/Makefile (tests): Add tst-putspent.
22304         * shadow/tst-putspent.c: New file.
22305         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22306         sg_mem fields for valid syntax.
22307         * gshadow/Makefile (tests): Add tst-putsgent.
22308         * gshadow/tst-putsgent.c: New file.
22310 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22312         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22313         assembly instructions.
22315 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22317         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22318         prefix from operands.
22320 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22322         [BZ #16347]
22323         [BZ #19046]
22324         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22325         <libc-internal.h>.
22326         (MAXLGM): Do not use diagnostic control macros.
22327         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22328         threshold for ldbl-128ibm.
22329         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22330         instead of multiplying by log then subtracting.
22331         * math/auto-libm-test-in: Add more tests of lgamma.
22332         * math/auto-libm-test-out: Regenerated.
22334         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22335         (TYPE_HEX_DIG): Likewise.
22336         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22337         precisions when printing floating-point numbers.
22338         (check_float_internal): Likewise.
22340 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22342         [BZ #16620]
22343         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22344         of log (10) rounded downward to 48 bits.
22345         (log10_low): Use corresponding low part of log (10).
22347         [BZ #19032]
22348         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22349         compute result as (x - x) / (x - x) not as 0 / 0.
22350         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22351         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22353         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22354         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22355         and expm1.
22356         * math/auto-libm-test-out: Regenerated.
22357         * math/libm-test.inc (acos_test_data): Add more tests.
22358         (asin_test_data): Likewise.
22359         (asinh_test_data): Likewise.
22360         (atan_test_data): Likewise.
22361         (atanh_test_data): Likewise.
22362         (atan2_test_data): Likewise.
22363         (cbrt_test_data): Likewise.
22364         (ceil_test_data): Likewise.
22365         (copysign_test_data): Likewise.
22366         (cos_test_data): Likewise.
22367         (cosh_test_data): Likewise.
22368         (erf_test_data): Likewise.
22369         (erfc_test_data): Likewise.
22370         (exp_test_data): Likewise.
22371         (exp10_test_data): Likewise.
22372         (exp2_test_data): Likewise.
22373         (expm1_test_data): Likewise.
22374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22376 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22378         [BZ #19006]
22379         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22380         to ...
22381         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22382         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22383         to ...
22384         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22385         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22386         to ...
22387         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22388         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22389         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22390         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22391         to ...
22392         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22393         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22394         Moved to ...
22395         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22396         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22397         Moved to ...
22398         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22399         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22400         to ...
22401         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22402         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22403         Moved to ...
22404         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22405         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22406         to ...
22407         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22408         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22409         Removed.
22410         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22411         Likewise.
22412         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22413         Likewise.
22414         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22415         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22416         Likewise.
22417         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22418         Likewise.
22419         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22420         Likewise.
22421         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22422         Likewise.
22423         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22424         Likewise.
22425         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22426         Likewise.
22427         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22428         Likewise.
22429         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22430         Likewise.
22431         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22432         Likewise.
22433         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22434         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22435         Likewise.
22436         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22437         Likewise.
22438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22439         Likewise.
22440         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22441         Likewise.
22442         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22443         Likewise.
22444         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22445         Replace ../i486/pthread_cond_timedwait.S with
22446         ../pthread_cond_timedwait.S.
22448 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22450         * math/libm-test.inc (acos_test_data): Refine expectations for
22451         errno and "inexact" exceptions.
22452         (acosh_test_data): Likewise.
22453         (asin_test_data): Likewise.
22454         (asinh_test_data): Likewise.
22455         (atan_test_data): Likewise.
22456         (atanh_test_data): Likewise.
22457         (atan2_test_data): Likewise.
22458         (cbrt_test_data): Likewise.
22459         (ceil_test_data): Likewise.
22460         (copysign_test_data): Likewise.
22461         (cosh_test_data): Likewise.
22462         (erf_test_data): Likewise.
22463         (erfc_test_data): Likewise.
22464         (exp_test_data): Likewise.
22465         (exp10_test_data): Likewise.
22466         (exp2_test_data): Likewise.
22467         (expm1_test_data): Likewise.
22468         (fabs_test_data): Likewise.
22469         (floor_test_data): Likewise.
22470         (fma_test_data): Likewise.
22471         (fmax_test_data): Likewise.
22472         (fmin_test_data): Likewise.
22473         (fmod_test_data): Likewise.
22474         (fpclassify_test_data): Likewise.
22475         (frexp_test_data): Likewise.
22476         (hypot_test_data): Likewise.
22477         (ilogb_test_data): Likewise.
22478         (isgreater_test_data): Likewise.
22479         (isgreaterequal_test_data): Likewise.
22480         (isinf_test_data): Likewise.
22481         (isless_test_data): Likewise.
22482         (islessequal_test_data): Likewise.
22483         (islessgreater_test_data): Likewise.
22484         (isnan_test_data): Likewise.
22485         (isnormal_test_data): Likewise.
22486         (issignaling_test_data): Likewise.
22487         (isunordered_test_data): Likewise.
22488         (j0_test_data): Likewise.
22489         (j1_test_data): Likewise.
22490         (jn_test_data): Likewise.
22491         (lgamma_test_data): Likewise.
22492         (lrint_test_data): Likewise.
22493         (llrint_test_data): Likewise.
22494         (log_test_data): Likewise.
22495         (log10_test_data): Likewise.
22496         (log1p_test_data): Likewise.
22497         (log2_test_data): Likewise.
22498         (logb_test_data): Likewise.
22499         (lround_test_data): Likewise.
22500         (llround_test_data): Likewise.
22501         (modf_test_data): Likewise.
22502         (nearbyint_test_data): Likewise.
22503         (nextafter_test_data): Likewise.
22504         (nexttoward_test_data): Likewise.
22505         (pow_test_data): Likewise.
22506         (remainder_test_data): Likewise.
22507         (remquo_test_data): Likewise.
22508         (rint_test_data): Likewise.
22509         (round_test_data): Likewise.
22510         (signbit_test_data): Likewise.
22511         (sinh_test_data): Likewise.
22512         (sqrt_test_data): Likewise.
22513         (tanh_test_data): Likewise.
22514         (tgamma_test_data): Likewise.
22515         (trunc_test_data): Likewise.
22516         (y0_test_data): Likewise.
22517         (y1_test_data): Likewise.
22518         (yn_test_data): Likewise.
22519         (significand_test_data): Likewise.
22521 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
22523         * manual/filesys.texi (Storage Allocation): Document that
22524         posix_fallocate emulation fails when fd is open with O_WRONLY.
22526 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
22528         [BZ #19016]
22529         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
22530         allow more cases with X^2 + Y^2 >= 0.5.
22531         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
22532         normal element in sum instead of special-casing based on values of
22533         arguments.
22534         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
22535         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
22536         -1 as normal element in sum instead of special-casing based on
22537         values of arguments.
22538         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
22539         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
22540         (__x2y2m1): Update comment.
22541         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
22542         as normal element in sum instead of special-casing based on values
22543         of arguments.
22544         * math/s_clog.c (__clog): Handle more cases using log1p without
22545         hypot.
22546         * math/s_clog10.c (__clog10): Likewise.
22547         * math/s_clog10f.c (__clog10f): Likewise.
22548         * math/s_clog10l.c (__clog10l): Likewise.
22549         * math/s_clogf.c (__clogf): Likewise.
22550         * math/s_clogl.c (__clogl): Likewise.
22551         * math/auto-libm-test-in: Add more tests of clog and clog10.
22552         * math/auto-libm-test-out: Regenerated.
22553         * sysdeps/i386/fpu/libm-test-ulps: Update.
22554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22556 2015-09-28  Martin Sebor  <msebor@redhat.com>
22558         [BZ #18969]
22559         * string/Makefile (LOCALES): Define.
22560         (gen-locales.mk): Include.
22561         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
22562         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
22563         * string/tst-strxfrm2.c (do_test): Print the name of the locale
22564         on setlocale failure.
22566 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22568         [BZ #18985]
22569         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
22570         (__strftime_internal): Likewise.
22571         * time/tst-strftime.c (do_bz18985): New test.
22572         (do_test): Call it.
22574 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
22576         [BZ #18956]
22577         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
22578         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
22579         extracting high part.
22580         * math/auto-libm-test-in: Add another test of pow.
22581         * math/auto-libm-test-out: Regenerated.
22582         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22584 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22586         [BZ #18825]
22587         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
22588         New macro.
22589         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
22590         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22591         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
22592         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
22593         DBL_NARROW_EVAL, reloading the PIC register as needed.
22594         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
22595         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
22596         FLT_NARROW_EVAL.  Use separate return path for case when first
22597         argument is NaN.
22598         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
22599         DEFINE_LDBL_MIN.
22600         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
22601         PIC register.
22602         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
22603         math_check_force_underflow_nonneg.
22604         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
22605         underflow for subnormal result.
22606         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
22607         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
22608         math_check_force_underflow_nonneg.
22609         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
22610         math_check_force_underflow.
22611         * sysdeps/x86_64/fpu/x86_64-math-asm.h
22612         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
22613         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
22614         DEFINE_LDBL_MIN.
22615         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
22616         * math/auto-libm-test-in: Add more tests of pow.
22617         * math/auto-libm-test-out: Regenerated.
22619 2015-09-25  Florian Weimer  <fweimer@redhat.com>
22621         * nss/bug17079.c (init_test_items): Add diagnostic for
22622         inconsistent entries.
22623         (test_buffer_size): Skip inconsistent entries.
22625 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22627         [BZ #13304]
22628         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
22629         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22630         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
22632         [BZ #13304]
22633         * sysdeps/microblaze/s_fma.c: New file.
22634         * sysdeps/microblaze/s_fmaf.c: Likewise.
22635         * sysdeps/microblaze/sfp-machine.h: Likewise.
22637 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
22639         [BZ #17250]
22640         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
22641         member.
22643 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22645         [BZ #18803]
22646         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
22647         (MO): New macro.
22648         (__ieee754_hypot) [PIC]: Load PIC register.
22649         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
22650         DBL_NARROW_EVAL.
22651         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
22652         math_check_force_underflow_nonneg in case where result might be
22653         tiny.
22654         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22655         Likewise.
22656         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22657         Likewise.
22658         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
22659         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
22660         * math/auto-libm-test-in: Add more tests of hypot.
22661         * math/auto-libm-test-out: Regenerated.
22663 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
22665         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
22667 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22669         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
22670         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
22671         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22672         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22673         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
22674         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22675         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22677         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
22678         LOAD_PIC_REG.
22680         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
22681         (FLT_CHECK_FORCE_UFLOW): Likewise.
22682         (DBL_CHECK_FORCE_UFLOW): Likewise.
22683         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
22684         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
22685         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
22686         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22687         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22688         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22689         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22690         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22691         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
22692         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22693         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
22694         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
22695         (flt_min): Replace with use of DEFINE_FLT_MIN.
22696         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
22697         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
22698         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22699         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
22700         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
22701         (flt_min): Replace with use of DEFINE_FLT_MIN.
22702         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
22703         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
22704         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22705         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
22706         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
22707         (flt_min): Replace with use of DEFINE_FLT_MIN.
22708         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
22709         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
22710         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22711         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22712         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
22713         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22714         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22715         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
22716         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22717         (__atan): Use DBL_CHECK_FORCE_UFLOW.
22718         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
22719         (flt_min): Replace with use of DEFINE_FLT_MIN.
22720         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
22721         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
22722         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22723         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
22724         main computation.
22725         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
22726         (flt_min): Replace with use of DEFINE_FLT_MIN.
22727         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
22728         main computation.
22729         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
22730         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22731         (MO): New macro.
22732         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
22733         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
22734         (flt_min): Replace with use of DEFINE_FLT_MIN.
22735         (MO): New macro.
22736         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
22737         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
22738         (__log1pl): Use MO.
22740         [BZ #19003]
22741         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
22742         $(config-cflags-nofma).
22744 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22746         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22748 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
22750         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
22751         (TWO127): Likewise.
22753         * sysdeps/generic/math_private.h (fabs_tg): New macro.
22754         (min_of_type): Likewise.
22755         (math_check_force_underflow): Likewise.
22756         (math_check_force_underflow_nonneg): Likewise.
22757         (math_check_force_underflow_complex): Likewise.
22758         * math/e_exp2l.c (__ieee754_exp2l): Use
22759         math_check_force_underflow_nonneg.
22760         * math/k_casinh.c (__kernel_casinh): Likewise.
22761         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22762         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22763         * math/s_catan.c (__catan): Use
22764         math_check_force_underflow_complex.
22765         * math/s_catanf.c (__catanf): Likewise.
22766         * math/s_catanh.c (__catanh): Likewise.
22767         * math/s_catanhf.c (__catanhf): Likewise.
22768         * math/s_catanhl.c (__catanhl): Likewise.
22769         * math/s_catanl.c (__catanl): Likewise.
22770         * math/s_ccosh.c (__ccosh): Likewise.
22771         * math/s_ccoshf.c (__ccoshf): Likewise.
22772         * math/s_ccoshl.c (__ccoshl): Likewise.
22773         * math/s_cexp.c (__cexp): Likewise.
22774         * math/s_cexpf.c (__cexpf): Likewise.
22775         * math/s_cexpl.c (__cexpl): Likewise.
22776         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22777         * math/s_clog10.c (__clog10): Likewise.
22778         * math/s_clog10f.c (__clog10f): Likewise.
22779         * math/s_clog10l.c (__clog10l): Likewise.
22780         * math/s_clogf.c (__clogf): Likewise.
22781         * math/s_clogl.c (__clogl): Likewise.
22782         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22783         * math/s_csinf.c (__csinf): Likewise.
22784         * math/s_csinh.c (__csinh): Likewise.
22785         * math/s_csinhf.c (__csinhf): Likewise.
22786         * math/s_csinhl.c (__csinhl): Likewise.
22787         * math/s_csinl.c (__csinl): Likewise.
22788         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22789         * math/s_csqrtf.c (__csqrtf): Likewise.
22790         * math/s_csqrtl.c (__csqrtl): Likewise.
22791         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22792         * math/s_ctanf.c (__ctanf): Likewise.
22793         * math/s_ctanh.c (__ctanh): Likewise.
22794         * math/s_ctanhf.c (__ctanhf): Likewise.
22795         * math/s_ctanhl.c (__ctanhl): Likewise.
22796         * math/s_ctanl.c (__ctanl): Likewise.
22797         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22798         instead of volatile.
22799         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22800         math_check_force_underflow.
22801         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22802         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22803         volatile when forcing underflow.
22804         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22805         math_check_force_underflow_nonneg.
22806         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
22807         Likewise.
22808         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
22809         math_check_force_underflow.
22810         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22811         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22812         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22813         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
22814         math_check_force_underflow_nonneg.
22815         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
22816         math_check_force_underflow.
22817         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
22818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
22819         instead of volatile.
22820         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
22821         math_check_force_underflow.
22822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22823         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22824         math_check_force_underflow_nonneg.
22825         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
22826         math_check_force_underflow.
22827         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
22828         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22829         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
22830         math_check_force_underflow_nonneg.
22831         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22832         Likewise.
22833         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
22834         math_check_force_underflow.
22835         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22836         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22837         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
22838         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
22839         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
22840         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
22841         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
22842         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
22843         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22844         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
22845         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
22846         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
22847         Likewise.
22848         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
22849         math_check_force_underflow_nonneg.
22850         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22851         Likewise.
22852         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
22853         math_check_force_underflow.
22854         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22855         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
22856         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22857         Likewise.
22858         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
22859         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
22860         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
22861         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
22862         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
22863         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
22864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
22865         instead of volatile.
22866         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
22867         math_check_force_underflow.
22868         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
22869         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
22870         math_check_force_underflow.
22871         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
22872         Likewise.
22873         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22874         Use math_check_force_underflow_nonneg.
22875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
22876         math_check_force_underflow.
22877         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22878         Likewise.
22879         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22880         Likewise.
22881         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22882         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22883         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22884         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
22886         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22887         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
22888         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
22889         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
22890         math_check_force_underflow_nonneg.
22891         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
22892         math_check_force_underflow.
22893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22894         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
22895         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
22896         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
22897         math_check_force_underflow_nonneg.
22898         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
22899         math_check_force_underflow.
22900         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
22901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
22902         instead of volatile.
22903         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
22904         math_check_force_underflow.
22906         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
22907         * stdlib/strtod_l.c: Include <math_private.h>.
22908         (overflow_value): Use math_narrow_eval.
22909         (underflow_value): Likewise.
22910         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22911         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22912         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
22913         (__ieee754_gamma_r): Likewise.
22914         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
22915         Likewise.
22916         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
22917         Likewise.
22918         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
22919         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
22920         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
22921         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
22922         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
22923         (__ieee754_gammaf_r): Likewise.
22924         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22925         Likewise.
22926         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
22927         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
22928         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
22929         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
22930         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
22931         volatile.
22932         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
22933         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
22934         math_narrow_eval.
22935         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22936         Likewise.
22937         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22938         Likewise.
22939         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
22940         Likewise.
22941         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
22942         volatile.
22943         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
22944         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
22945         math_narrow_eval.
22946         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22947         Likewise.
22948         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22949         Likewise.
22951 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
22953         * nptl/Versions: Remove ignored symbols.
22955 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22957         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
22958         * nss/Makefile (tests): Update.
22960 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22962         * nss/bug18287.c: New file.
22963         * nss/Makefile (tests): Add bug18287.
22965 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22967         * mach/Versions (__mach_host_self_): Add symbol.
22969 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22971         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
22972         vm_page_size.
22974 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22976         Really fix sysdeps/i386/fpu/s_scalbn.S build
22978         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
22979         (libc: GLIBC_2_22): Remove unused version set.
22981 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22983         * config.make.in (enable-timezone-tools): New variable.
22984         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
22985         (enable_timezone_tools): Export to generated files.
22986         * configure: Regenerate.
22987         * INSTALL: Regenerate.
22988         * manual/install.texi (--disable-timezone-tools): Document new flag.
22989         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
22990         ifeq ($(enable-timezone-tools),yes) check.
22992 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22994         * timezone/Makefile: Revert previous change.
22996         [BZ #18980]
22997         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
22998         (DEFINE_DBL_MIN): Likewise.
22999         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23000         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23001         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23002         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23003         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23004         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23005         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23006         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23007         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23008         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23009         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23010         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23011         (flt_min): Replace with use of DEFINE_FLT_MIN.
23012         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23013         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23014         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23015         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23016         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23017         (flt_min): Replace with use of DEFINE_FLT_MIN.
23018         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23019         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23020         (flt_min): Replace with use of DEFINE_FLT_MIN.
23021         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23022         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23023         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23024         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23025         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23026         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23027         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23028         (__ieee754_pow): Use DBL_NARROW_EVAL.
23029         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23030         (__ieee754_powf): Use FLT_NARROW_EVAL.
23031         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23032         (__ieee754_expf_sse2): Convert double-precision result to single
23033         precision.
23034         * sysdeps/i386/fpu/libm-test-ulps: Update.
23036 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23038         * timezone/Makefile: Ignore unused variable errors due to private.h
23039         (time_t_min) and (time_t_max).
23040         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23041         Likewise.
23043 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23045         [BZ #18981]
23046         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23047         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23048         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23049         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23050         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23051         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23052         (__scalbn): Use DBL_NARROW_EVAL.
23053         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23054         (__scalbnf): Use FLT_NARROW_EVAL.
23056 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23058         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23059         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23060         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23061         * stdio-common/printf_fp.c (___printf_fp):
23062         Use signbit to get the sign. Use isinf macro to allow inlining.
23063         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23064         * stdio-common/printf_size.c (__printf_size): Likewise.
23066 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23068         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23070 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23072         [BZ #18980]
23073         * sysdeps/generic/math_private.h: Include <float.h>.
23074         (math_narrow_eval): New macro.
23075         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23076         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23077         math_narrow_eval on overflowing return value.
23078         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23079         Likewise.
23080         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23081         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23082         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23083         Likewise.
23084         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23086 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23088         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23089         * math/Makefile: Remove isinf_ns.c.
23090         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23091         * math/multc3.c (__multc3): Likewise.
23092         * math/s_casin.c (__casin): Likewise.
23093         * math/s_casinf.c (__casinf): Likewise.
23094         * math/s_casinl.c (__casinl): Likewise.
23095         * math/s_cproj.c (__cproj): Likewise.
23096         * math/s_cprojf.c (__cprojf): Likewise.
23097         * math/s_cprojl.c (__cprofl): Likewise.
23098         * math/s_ctan.c (__ctan): Likewise.
23099         * math/s_ctanf.c (__ctanf): Likewise.
23100         * math/s_ctanh.c (__ctanh): Likewise.
23101         * math/s_ctanhf.c (__ctanhf): Likewise.
23102         * math/s_ctanhl.c (__ctanhl): Likewise.
23103         * math/s_ctanl.c (__ctanl): Likewise.
23104         * math/w_fmod.c (__fmod): Likewise.
23105         * math/w_fmodf.c (__fmodf): Likewise.
23106         * math/w_fmodl.c (_fmodl): Likewise.
23107         * math/w_remainder.c (__remainder): Likewise.
23108         * math/w_remainderf.c (__remainderf): Likewise.
23109         * math/w_remainderl.c (__remainderl): Likewise.
23110         * math/w_scalb.c (__scalb): Likewise.
23111         * math/w_scalbf.c (__scalbf): Likewise.
23112         * math/w_scalbl.c (__scalbl): Likewise.
23113         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23114         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23115         with isinf.
23116         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23117         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23118         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23119         __isinf_nsf with isinf.
23120         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23121         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23122         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23123         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23124         with isinf.
23125         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23126         __isinf_nsl with isinf.
23127         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23128         with isinf.
23129         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23130         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23131         __isinf_nsl with isinf.
23132         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23133         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23134         with isinf.
23136 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23138         * resolv/base64.c (rcsid): Remove unused static.
23139         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23140         static.  (tqpi1): Likewise.
23141         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23142         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23143         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23144         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23145         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23146         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23147         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23148         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23149         Likewise.
23151 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23153         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23154         <nptl/pthreadP.h>.
23155         (_longjmp_unwind): Use __libc_ptf_call.
23156         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23158 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23160         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23161         * sysdeps/arm/__longjmp.S: Likewise.
23163 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23165         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23166         Use __builtin_signbit.
23167         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23168         Use __builtin_signbitf.
23169         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23170         Use __builtin_signbitl.
23171         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23172         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23174 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23176         [BZ #15367]
23177         [BZ #17441]
23179         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23180         * math/math.h (fpclassify): Use __builtin_fpclassify when
23181         available.  (signbit): Use __builtin_signbit(f/l).
23182         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23183         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23184         (isinf): Use __builtin_isinf_sign.
23186 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23188         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23189         * benchtests/bench-math-inlines.c: New benchmark.
23190         * benchtests/bench-util.h: New file.
23191         * benchtests/bench-util.c: New file.
23192         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23194 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23196         * elf/tst-dlmopen1.c: Define TEST_SO.
23197         (do_test): Use TEST_SO.
23199         * elf/dl-load.c: Include libc-internal.h.
23200         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23202 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23204         [BZ #17887]
23205         * time/strptime_l.c (__strptime_internal): Make %z accept
23206         [+-]HH:MM time zones.
23208 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23210         [BZ #17886]
23211         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23212         valid time zone.
23214 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23216         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23217         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23218         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23219         (__ASSUME_FDATASYNC): Delete.
23221 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23223         * conform/linknamespace.pl: Require weak undefined symbols to be
23224         in the standard namespace.
23225         (%strong_syms): Rename to %seen_syms.
23226         (%strong_seen): Rename to %seen_where.
23228 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23230         [BZ #18970]
23231         * misc/error.c (error): Replace pthread_setcancelstate with
23232         __pthread_setcancelstate.
23233         (error_at_line): Likewise.
23234         * posix/wordexp.c (parse_comm): Likewise.
23235         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23236         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23237         (__pthread_setcancelstate): This.
23238         (pthread_setcancelstate): Add an alias.
23239         * nptl/nptl-init.c (pthread_functions): Replace
23240         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23241         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23242         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23243         hidden_proto.
23244         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23245         it with hidden_def.
23246         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23247         (pthread_setcancelstate): Renamed to ...
23248         (__pthread_setcancelstate): This.
23249         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23250         __libc_ptf_call with __pthread_setcancelstate.
23252 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23253             Andreas Schwab  <schwab@suse.de>
23255         [BZ #17118]
23256         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23257         result when imaginary part of argument is infinite using sine and
23258         cosine.
23259         * math/s_ctanf.c (__ctanf): Likewise.
23260         * math/s_ctanl.c (__ctanl): Likewise.
23261         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23262         of result when real part of argument is infinite using sine and
23263         cosine.
23264         * math/s_ctanhf.c (__ctanhf): Likewise.
23265         * math/s_ctanhl.c (__ctanhl): Likewise.
23266         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23267         (ctanh_test_data): Add more tests of ctanh.
23269 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23271         [BZ #15384]
23272         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23273         bit-mask as in subtraction.
23274         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23275         Likewise.
23276         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23277         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23278         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23280         [BZ #18951]
23281         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23282         underflow exception for small results.
23283         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23284         Likewise.
23285         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23286         Likewise.
23287         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23288         Likewise.
23289         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23290         Likewise.
23291         * math/auto-libm-test-in: Add more tests of tgamma.
23292         * math/auto-libm-test-out: Regenerated.
23294 2015-09-17  Andreas Schwab  <schwab@suse.de>
23296         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23298 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23300         [BZ #18977]
23301         * math/bits/mathcalls.h
23302         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23303         not declare.
23304         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23305         Likewise.
23306         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23307         Likewise.
23308         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23309         Likewise.
23310         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23311         Likewise.
23312         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23313         Likewise.
23314         * conform/data/math.h-data
23315         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23316         function.
23317         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23318         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23319         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23320         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23321         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23322         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23323         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23324         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23325         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23326         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23327         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23329         [BZ #6803]
23330         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23331         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23332         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23333         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23334         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23335         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23336         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23337         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23338         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23339         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23340         Likewise.
23341         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23342         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23343         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23344         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23345         long_double_symbol calls.
23346         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23347         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23348         strong alias of __ldexpl.
23349         (scalbnl): Define using long_double_symbol.
23350         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23351         Remove alias.
23352         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23353         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23354         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23355         (scalbln_test_data): Add more errno expectations.
23357 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23359         Cache the host port like we cache the task port.  This way we do not
23360         need to call the kernel just to get the port.  Furthermore, we no
23361         longer increase the reference count on every invocation of
23362         `mach_host_self'.
23364         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23365         Protect declarations against the macro expansion.
23366         * mach/mach_init.c (__mach_host_self_): New variable.
23367         (mach_init): Initialize `__mach_host_self_'.
23368         * mach/mach_init.h (__mach_host_self_): New declaration.
23369         (__mach_host_self, mach_host_self): New macros.
23370         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23371         Release reference.
23373 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23375         [BZ #4404]
23376         * po/de.po: Update from Translation Project.
23378         [BZ #16415]
23379         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23380         (__expm1l): Remove code to handle positive infinity and overflow.
23381         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23382         variable.
23383         (__expm1l): Remove code to handle positive infinity and overflow.
23385 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23386             Paul Pluzhnikov  <ppluzhnikov@google.com>
23388         [BZ #18872]
23389         * stdio-common/Makefile (tst-printf-bz18872): New test.
23390         (tst-printf-bz18872-mem.out): Likewise.
23391         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23392         * stdio-common/vfprintf.c: Fix memory leaks.
23394 2015-09-16  Andreas Schwab  <schwab@suse.de>
23396         [BZ #17244]
23397         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23398         Remove extra va_start/va_end calls.
23400         [BZ #17243]
23401         * posix/execl.c (execl): Add missing va_end.
23402         * posix/execle.c (execle): Likewise.
23403         * posix/execlp.c (execlp): Likewise.
23405 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23407         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23408         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23410 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23412         [BZ #18967]
23413         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23414         undefine around includes of <bits/mathcalls.h>.
23415         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23416         not declare function.
23417         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23418         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23419         (scalb): Likewise.
23420         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23421         not define macro.
23422         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23423         variable.
23424         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23425         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23426         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23428         [BZ #18857]
23429         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23430         return non-finite argument without doing ordered comparisons on
23431         it.
23433         [BZ #16296]
23434         * math/fenv.h (fegetround): Use __attribute_pure__.
23435         * include/fenv.h (__fegetround): Likewise.
23437         [BZ #18595]
23438         * math/s_ctan.c (__ctan): Force underflow exception for results
23439         whose real or imaginary part has small absolute value.
23440         * math/s_ctanf.c (__ctanf): Likewise.
23441         * math/s_ctanh.c (__ctanh): Likewise.
23442         * math/s_ctanhf.c (__ctanhf): Likewise.
23443         * math/s_ctanhl.c (__ctanhl): Likewise.
23444         * math/s_ctanl.c (__ctanl): Likewise.
23445         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23446         and ctanh.  Add more tests of ctan and ctanh.
23448         [BZ #15918]
23449         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23450         handling of cases where one argument is an infinity.
23452         [BZ #18875]
23453         [BZ #18966]
23454         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23455         (MO): New macro.
23456         (__ieee754_exp10): For small results, force underflow exception
23457         and remove excess range and precision from return value.
23458         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23459         (MO): New macro.
23460         (__ieee754_exp10f): For small results, force underflow exception
23461         and remove excess range and precision from return value.
23462         * math/auto-libm-test-in: Add more tests of exp10.
23463         * math/auto-libm-test-out: Regenerated.
23465 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23467         [BZ #18875]
23468         [BZ #18961]
23469         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23470         (MO): New macro.
23471         (__ieee754_exp): For small results, force underflow exception and
23472         remove excess range and precision from return value.
23473         (__exp_finite): Likewise.
23474         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23475         (MO): New macro.
23476         (__ieee754_expf): For small results, force underflow exception and
23477         remove excess range and precision from return value.
23478         (__expf_finite): Likewise.
23479         * math/auto-libm-test-in: Add more tests of exp.
23480         * math/auto-libm-test-out: Regenerated.
23482         [BZ #16521]
23483         [BZ #18875]
23484         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
23485         small results.
23486         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23487         (MO): New macro.
23488         (__ieee754_exp2): For small results, force underflow exception and
23489         remove excess range and precision from return value.
23490         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
23491         (MO): New macro.
23492         (__ieee754_exp2f): For small results, force underflow exception
23493         and remove excess range and precision from return value.
23494         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
23495         (MO): New macro.
23496         (__ieee754_exp2l): Force underflow exception for small results.
23497         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23498         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23499         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
23500         (MO): New macro.
23501         (__ieee754_exp2l): Force underflow exception for small results.
23502         * math/auto-libm-test-in: Add more tests or exp2.
23503         * math/auto-libm-test-out: Regenerated.
23505 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
23507         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
23509         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
23510         /dev/null.
23512 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23514         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23515         io fs process)): Drop spurious backslash.
23517 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23519         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
23520         Use sysinfo system call instead of parsing /proc/meminfo.
23521         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
23522         Likewise.
23524 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
23526         [BZ #16985]
23527         * programs/localedef.c (main): Display argv[remaining] when
23528         output_path is NULL.
23530 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23532         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23533         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
23534         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
23535         tanh.
23536         * math/auto-libm-test-out: Regenerated.
23537         * sysdeps/i386/fpu/libm-test-ulps: Update.
23538         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23539         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23542 2015-09-11  Roland McGrath  <roland@hack.frob.com>
23544         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
23545         Use 'override' keyword to freeze the value here, preventing
23546         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
23548 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23550         [BZ #14912]
23551         * sysdeps/aarch64/bits/atomic.h: Move to ...
23552         * sysdeps/aarch64/atomic-machine.h: ...here.
23553         (_AARCH64_BITS_ATOMIC_H): Rename macro to
23554         _AARCH64_ATOMIC_MACHINE_H.
23555         * sysdeps/alpha/bits/atomic.h: Move to ...
23556         * sysdeps/alpha/atomic-machine.h: ...here.
23557         * sysdeps/arm/bits/atomic.h: Move to ...
23558         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
23559         * bits/atomic.h: Move to ...
23560         * sysdeps/generic/atomic-machine.h: ...here.
23561         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23562         * sysdeps/i386/bits/atomic.h: Move to ...
23563         * sysdeps/i386/atomic-machine.h: ...here.
23564         * sysdeps/ia64/bits/atomic.h: Move to ...
23565         * sysdeps/ia64/atomic-machine.h: ...here.
23566         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
23567         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
23568         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23569         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
23570         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
23571         * sysdeps/microblaze/bits/atomic.h: Move to ...
23572         * sysdeps/microblaze/atomic-machine.h: ...here.
23573         * sysdeps/mips/bits/atomic.h: Move to ...
23574         * sysdeps/mips/atomic-machine.h: ...here.
23575         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
23576         * sysdeps/powerpc/bits/atomic.h: Move to ...
23577         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
23578         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
23579         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
23580         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
23581         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
23582         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
23583         <atomic-machine.h> instead of <bits/atomic.h>.
23584         * sysdeps/s390/bits/atomic.h: Move to ...
23585         * sysdeps/s390/atomic-machine.h: ...here.
23586         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
23587         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
23588         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23589         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
23590         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
23591         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
23592         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
23593         * sysdeps/tile/bits/atomic.h: Move to ...
23594         * sysdeps/tile/atomic-machine.h: ...here.
23595         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
23596         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
23597         <sysdeps/tile/atomic-machine.h> instead of
23598         <sysdeps/tile/bits/atomic.h>.
23599         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23600         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
23601         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
23602         <sysdeps/tile/atomic-machine.h> instead of
23603         <sysdeps/tile/bits/atomic.h>.
23604         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23605         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
23606         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
23607         <sysdeps/arm/atomic-machine.h> instead of
23608         <sysdeps/arm/bits/atomic.h>.
23609         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
23610         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
23611         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23612         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
23613         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
23614         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23615         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
23616         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
23617         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
23618         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
23619         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
23620         * sysdeps/x86_64/bits/atomic.h: Move to ...
23621         * sysdeps/x86_64/atomic-machine.h: ...here.
23622         * include/atomic.h: Include <atomic-machine.h> instead of
23623         <bits/atomic.h>.
23625         * sysdeps/mips/mips32/libm-test-ulps: Update.
23626         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23628         [BZ #18952]
23629         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
23630         not convert non-integer negative arguments to int to determine the
23631         value of signgam.
23632         * math/auto-libm-test-in: Add more tests of lgamma.
23633         * math/auto-libm-test-out: Regenerated.
23635         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
23636         cosh, csqrt, erfc, expm1 and lgamma.
23637         * math/auto-libm-test-out: Regenerated.
23638         * sysdeps/i386/fpu/libm-test-ulps: Update.
23639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23641 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
23643         [BZ #2542]
23644         [BZ #2543]
23645         [BZ #2558]
23646         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
23647         __lgamma_neg for arguments from -28.0 to -2.0.
23648         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
23649         __lgamma_negf for arguments from -15.0 to -2.0.
23650         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23651         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
23652         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
23653         Call __lgamma_negl for arguments from -33.0 to -2.0.
23654         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
23655         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
23656         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
23657         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
23658         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
23659         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
23660         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
23661         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
23662         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
23663         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
23664         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
23665         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
23666         (__lgamma_neg): Likewise.
23667         (__lgamma_negl): Likewise.
23668         (__lgamma_product): Likewise.
23669         (__lgamma_productl): Likewise.
23670         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
23671         * math/auto-libm-test-in: Add more tests of lgamma.
23672         * math/auto-libm-test-out: Regenerated.
23673         * sysdeps/i386/fpu/libm-test-ulps: Update.
23674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23676 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
23678         [BZ #18675]
23679         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
23681 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
23683         [BZ #14912]
23684         * bits/libc-lock.h: Move to ...
23685         * sysdeps/generic/libc-lock.h: ...here.
23686         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23687         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
23688         * sysdeps/mach/hurd/libc-lock.h: ...here.
23689         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23690         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
23691         * sysdeps/mach/bits/libc-lock.h: Move to ...
23692         * sysdeps/mach/libc-lock.h: ...here.
23693         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23694         * sysdeps/nptl/bits/libc-lock.h: Move to ...
23695         * sysdeps/nptl/libc-lock.h: ...here.
23696         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23697         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
23698         * sysdeps/nptl/libc-lockP.h: ...here.
23699         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
23700         * crypt/crypt_util.c: Include <libc-lock.h> instead of
23701         <bits/libc-lock.h>.
23702         * dirent/scandir-tail.c: Likewise.
23703         * dlfcn/dlerror.c: Likewise.
23704         * elf/dl-close.c: Likewise.
23705         * elf/dl-iteratephdr.c: Likewise.
23706         * elf/dl-lookup.c: Likewise.
23707         * elf/dl-open.c: Likewise.
23708         * elf/dl-support.c: Likewise.
23709         * elf/dl-writev.h: Likewise.
23710         * elf/rtld.c: Likewise.
23711         * grp/fgetgrent.c: Likewise.
23712         * gshadow/fgetsgent.c: Likewise.
23713         * gshadow/sgetsgent.c: Likewise.
23714         * iconv/gconv_conf.c: Likewise.
23715         * iconv/gconv_db.c: Likewise.
23716         * iconv/gconv_dl.c: Likewise.
23717         * iconv/gconv_int.h: Likewise.
23718         * iconv/gconv_trans.c: Likewise.
23719         * include/link.h: Likewise.
23720         * inet/getnameinfo.c: Likewise.
23721         * inet/getnetgrent.c: Likewise.
23722         * inet/getnetgrent_r.c: Likewise.
23723         * intl/bindtextdom.c: Likewise.
23724         * intl/dcigettext.c: Likewise.
23725         * intl/finddomain.c: Likewise.
23726         * intl/gettextP.h: Likewise.
23727         * intl/loadmsgcat.c: Likewise.
23728         * intl/localealias.c: Likewise.
23729         * intl/textdomain.c: Likewise.
23730         * libidn/idn-stub.c: Likewise.
23731         * libio/libioP.h: Likewise.
23732         * locale/duplocale.c: Likewise.
23733         * locale/freelocale.c: Likewise.
23734         * locale/newlocale.c: Likewise.
23735         * locale/setlocale.c: Likewise.
23736         * login/getutent_r.c: Likewise.
23737         * login/getutid_r.c: Likewise.
23738         * login/getutline_r.c: Likewise.
23739         * login/utmp-private.h: Likewise.
23740         * login/utmpname.c: Likewise.
23741         * malloc/mtrace.c: Likewise.
23742         * misc/efgcvt.c: Likewise.
23743         * misc/error.c: Likewise.
23744         * misc/fstab.c: Likewise.
23745         * misc/getpass.c: Likewise.
23746         * misc/mntent.c: Likewise.
23747         * misc/syslog.c: Likewise.
23748         * nis/nis_call.c: Likewise.
23749         * nis/nis_callback.c: Likewise.
23750         * nis/nss-default.c: Likewise.
23751         * nis/nss_compat/compat-grp.c: Likewise.
23752         * nis/nss_compat/compat-initgroups.c: Likewise.
23753         * nis/nss_compat/compat-pwd.c: Likewise.
23754         * nis/nss_compat/compat-spwd.c: Likewise.
23755         * nis/nss_nis/nis-alias.c: Likewise.
23756         * nis/nss_nis/nis-ethers.c: Likewise.
23757         * nis/nss_nis/nis-grp.c: Likewise.
23758         * nis/nss_nis/nis-hosts.c: Likewise.
23759         * nis/nss_nis/nis-network.c: Likewise.
23760         * nis/nss_nis/nis-proto.c: Likewise.
23761         * nis/nss_nis/nis-pwd.c: Likewise.
23762         * nis/nss_nis/nis-rpc.c: Likewise.
23763         * nis/nss_nis/nis-service.c: Likewise.
23764         * nis/nss_nis/nis-spwd.c: Likewise.
23765         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23766         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23767         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23768         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23769         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23770         * nis/nss_nisplus/nisplus-network.c: Likewise.
23771         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23772         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23773         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23774         * nis/nss_nisplus/nisplus-service.c: Likewise.
23775         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23776         * nis/ypclnt.c: Likewise.
23777         * nptl/libc_pthread_init.c: Likewise.
23778         * nss/getXXbyYY.c: Likewise.
23779         * nss/getXXent.c: Likewise.
23780         * nss/getXXent_r.c: Likewise.
23781         * nss/nss_db/db-XXX.c: Likewise.
23782         * nss/nss_db/db-netgrp.c: Likewise.
23783         * nss/nss_db/nss_db.h: Likewise.
23784         * nss/nss_files/files-XXX.c: Likewise.
23785         * nss/nss_files/files-alias.c: Likewise.
23786         * nss/nsswitch.c: Likewise.
23787         * posix/regex_internal.h: Likewise.
23788         * posix/wordexp.c: Likewise.
23789         * pwd/fgetpwent.c: Likewise.
23790         * resolv/res_hconf.c: Likewise.
23791         * resolv/res_libc.c: Likewise.
23792         * shadow/fgetspent.c: Likewise.
23793         * shadow/lckpwdf.c: Likewise.
23794         * shadow/sgetspent.c: Likewise.
23795         * socket/opensock.c: Likewise.
23796         * stdio-common/reg-modifier.c: Likewise.
23797         * stdio-common/reg-printf.c: Likewise.
23798         * stdio-common/reg-type.c: Likewise.
23799         * stdio-common/vfprintf.c: Likewise.
23800         * stdio-common/vfscanf.c: Likewise.
23801         * stdlib/abort.c: Likewise.
23802         * stdlib/cxa_atexit.c: Likewise.
23803         * stdlib/fmtmsg.c: Likewise.
23804         * stdlib/random.c: Likewise.
23805         * stdlib/setenv.c: Likewise.
23806         * string/strsignal.c: Likewise.
23807         * sunrpc/auth_none.c: Likewise.
23808         * sunrpc/bindrsvprt.c: Likewise.
23809         * sunrpc/create_xid.c: Likewise.
23810         * sunrpc/key_call.c: Likewise.
23811         * sunrpc/rpc_thread.c: Likewise.
23812         * sysdeps/arm/backtrace.c: Likewise.
23813         * sysdeps/generic/ldsodefs.h: Likewise.
23814         * sysdeps/generic/stdio-lock.h: Likewise.
23815         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
23816         * sysdeps/i386/backtrace.c: Likewise.
23817         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23818         * sysdeps/m68k/backtrace.c: Likewise.
23819         * sysdeps/mach/hurd/cthreads.c: Likewise.
23820         * sysdeps/mach/hurd/dirstream.h: Likewise.
23821         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23822         * sysdeps/nptl/malloc-machine.h: Likewise.
23823         * sysdeps/nptl/stdio-lock.h: Likewise.
23824         * sysdeps/posix/dirstream.h: Likewise.
23825         * sysdeps/posix/getaddrinfo.c: Likewise.
23826         * sysdeps/posix/system.c: Likewise.
23827         * sysdeps/pthread/aio_suspend.c: Likewise.
23828         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23829         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23830         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23831         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23832         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
23833         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
23834         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
23835         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23836         * sysdeps/unix/sysv/linux/system.c: Likewise.
23837         * sysdeps/x86_64/backtrace.c: Likewise.
23838         * time/alt_digit.c: Likewise.
23839         * time/era.c: Likewise.
23840         * time/tzset.c: Likewise.
23841         * wcsmbs/wcsmbsload.c: Likewise.
23842         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
23843         instead of <bits/libc-lock.h> in comment.
23845 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
23847         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
23848         Only use .set mips2 if the current ISA is below mips2.
23849         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
23850         Likewise.
23851         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
23852         mips32r2 if the current ISA is below mips32r2.
23853         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
23854         (TLS_IE): Updated to use the TLD_RDHWR macro.
23855         (TLS_LE): Likewise.
23856         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
23857         __ASSEMBLER__ condition.
23859 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23861         Fix parallel build of before-compile targets.
23863         * sysdeps/mach/Makefile ($(patsubst
23864         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
23865         mach-before-compile target.
23866         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23867         io fs process)): Move rule to dedicated hurd-before-compile target.
23869 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23871         Fix rules generating headers in hurd/ and mach/ when initial make call
23872         has subdir= explicitly set.
23874         * sysdeps/mach/Makefile ($(patsubst
23875         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
23876         calling $(MAKE).
23877         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23878         io fs process)): Force subdir to hurd when calling $(MAKE).
23879         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
23880         subdir to mach when calling $(MAKE).
23882 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
23884         Check sysheaders when looking for Mach and Hurd headers
23886         * sysdeps/mach/configure.ac: Add sysheaders check.
23887         * sysdeps/mach/configure: Regenerate.
23888         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
23889         * sysdeps/mach/hurd/configure: Regenerate.
23891 2015-09-04  Roland McGrath  <roland@hack.frob.com>
23893         [BZ #18921]
23894         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
23895         Fix inverted sense of test of 'o_directory_works' value.
23896         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
23897         Bernhard Voelker <mail@bernhard-voelker.de>.
23899 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23901         [BZ #14912]
23902         * bits/linkmap.h: Move to ...
23903         * sysdeps/generic/linkmap.h: ...here.
23904         * sysdeps/aarch64/bits/linkmap.h: Move to ...
23905         * sysdeps/aarch64/linkmap.h: ...here.
23906         * sysdeps/arm/bits/linkmap.h: Move to ...
23907         * sysdeps/arm/linkmap.h: ...here.
23908         * sysdeps/hppa/bits/linkmap.h: Move to ...
23909         * sysdeps/hppa/linkmap.h: ...here.
23910         * sysdeps/ia64/bits/linkmap.h: Move to ...
23911         * sysdeps/ia64/linkmap.h: ...here.
23912         * sysdeps/mips/bits/linkmap.h: Move to ...
23913         * sysdeps/mips/linkmap.h: ...here.
23914         * sysdeps/s390/bits/linkmap.h: Move to ...
23915         * sysdeps/s390/linkmap.h: ...here.
23916         * sysdeps/sh/bits/linkmap.h: Move to ...
23917         * sysdeps/sh/linkmap.h: ...here.
23918         * sysdeps/x86/bits/linkmap.h: Move to ...
23919         * sysdeps/x86/linkmap.h: ...here.
23920         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
23922 2015-09-04  Andreas Schwab  <schwab@suse.de>
23924         [BZ #18635]
23925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
23926         (__makecontext): Terminate FDE before return label.
23927         (__novec_makecontext): Likewise.
23929 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23931         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
23932         first member of struct sv in syscall macro.
23934 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23936         [BZ #14912]
23937         * bits/stdio-lock.h: Move to ...
23938         * sysdeps/generic/stdio-lock.h: ...here.
23939         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23940         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
23941         * sysdeps/nptl/stdio-lock.h: ...here.
23942         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23943         * include/libio.h: Include <stdio-lock.h> instead of
23944         <bits/stdio-lock.h>.
23945         * sysdeps/nptl/fork.c: Likewise.
23946         * sysdeps/pthread/flockfile.c: Likewise.
23947         * sysdeps/pthread/ftrylockfile.c: Likewise.
23948         * sysdeps/pthread/funlockfile.c: Likewise.
23950         [BZ #14912]
23951         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
23952         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
23953         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
23954         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
23955         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
23956         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23957         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
23959 2015-09-03  Roland McGrath  <roland@hack.frob.com>
23961         * elf/Makefile (test-xfail-tst-protected1a): New variable.
23962         (test-xfail-tst-protected1b): New variable.
23964 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
23966         [BZ #14912]
23967         * bits/libc-tsd.h: Move to ...
23968         * sysdeps/generic/libc-tsd.h: ...here.
23969         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
23970         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
23971         * sysdeps/mach/hurd/libc-tsd.h: ...here.
23972         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
23973         * include/ctype.h: Include <libc-tsd.h> instead of
23974         <bits/libc-tsd.h>.
23975         * include/rpc/rpc.h: Likewise.
23976         * locale/localeinfo.h: Likewise.
23977         * sunrpc/rpc_thread.c: Likewise.
23978         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23979         * sysdeps/nptl/malloc-machine.h: Likewise.
23981         * Makefile (headers): Remove bits/libc-lock.h.
23982         * libio/Makefile (headers): Remove bits/stdio-lock.h.
23984         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
23985         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
23986         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
23987         <bits/stdio-lock.h>.
23988         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
23989         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
23991 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23993         [BZ #18757]
23994         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
23995         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
23996         BZ #18757.
23998 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24000         * malloc/mtrace.pl: Filter out NULL entries.
24002 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24004         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24005         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24006         macro.
24008         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24009         (TCP_CC_INFO): Likewise.
24010         (TCP_SAVE_SYN): Likewise.
24011         (TCP_SAVED_SYN): Likewise.
24013 2015-08-31  Brett Neumeier <brett@neumeier.us>
24015         [BZ #18870]
24016         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24018 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24020         [BZ #18873]
24021         Fix broken overflow check in posix_fallocate
24022         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24023         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24024         Fix parenthesization typo.
24026 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24028         [BZ #18887]
24029         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24030         tst-mntent-blank-passno.
24031         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24032         * misc/tst-mntent-blank-corrupt.c: New test.
24033         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24034         * misc/tst-mntent.c (do_test): ... here.
24036 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24038         [BZ #4404]
24039         * po/de.po: Fix SIGALRM typo.
24041 2015-08-28  James Perkins  <james@loowit.net>
24043         * time/tst-strptime2.c (tests): Replace short list of test
24044         strings for strptime %z specifier with code which exhaustively
24045         tests every combination of sign and 0 to 5 digits. Tests for
24046         rejection of invalid strings.
24048 2015-08-28  James Perkins  <james@loowit.net>
24050         [BZ #16141]
24051         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24052         calculation, removing incorrect decimal time rounding, so that
24053         all minute values result in a valid seconds value.
24054         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24055         offset range limits to UTC-99:59 through UTC+99:59 to parse
24056         current and historical use cases.
24057         * time/tst-strptime2.c (tests): Modify and add tests for the
24058         strptime %z input field descriptor, specifically conversion of
24059         minutes to seconds and validating an offset range of -9959 to
24060         +9959.
24062 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24063             Dmitry V. Levin  <ldv@altlinux.org>
24065         [BZ #18877]
24066         * posix/Makefile (tests): Add tst-mmap-offset.
24067         * posix/tst-mmap.c: New file.
24068         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24069         offset calculation for negative values.
24071 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24073         * sysdeps/i386/init-arch.h: New file.
24074         * sysdeps/i386/i586/init-arch.h: Likewise.
24075         * sysdeps/i386/i686/init-arch.h: Likewise.
24076         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24077         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24078         * sysdeps/x86/cpu-features.h (bit_I586): New.
24079         (bit_I686): Likewise.
24080         (bit_CX8): Likewise.
24081         (bit_CMOV): Likewise.
24082         (index_CX8): Likewise.
24083         (index_CMOV): Likewise.
24084         (index_I586): Likewise.
24085         (index_I686): Likewise.
24086         (reg_CX8): Likewise.
24087         (reg_CMOV): Likewise.
24088         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24089         available at compile-time.
24090         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24091         available at compile-time.
24092         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24093         (USE_I686): Likewise.
24095 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24097         * sysdeps/i386/bcopy.S: New file.
24098         * sysdeps/i386/bzero.S: Likewise.
24099         * sysdeps/i386/memcpy.S: Likewise.
24100         * sysdeps/i386/memmove.S: Likewise.
24101         * sysdeps/i386/mempcpy.S: Likewise.
24102         * sysdeps/i386/memset.S: Likewise.
24103         * sysdeps/i386/bzero.c: Removed.
24104         * sysdeps/i386/memset.c: Likewise.
24105         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24106         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24107         * sysdeps/i386/i586/memset_chk.S: Likewise.
24108         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24109         * sysdeps/i386/memcpy_chk.S: Here.
24110         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24111         * sysdeps/i386/memmove_chk.S: Here.
24112         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24113         * sysdeps/i386/mempcpy_chk.S: Likewise.
24114         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24115         * sysdeps/i386/memset_chk.S: Likewise.
24117 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24119         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24120         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24121         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24122         * soft-fp/fmadf4.c: Ditto.
24123         * soft-fp/fmatf4.c: Ditto.
24125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24127         * sysdeps/i386/i586/Implies: Removed.
24128         * sysdeps/i386/i686/Implies: Likewise.
24130 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24132         * sysdeps/i386/i486/strlen.S: Moved to ...
24133         * sysdeps/i386/strlen.S: Here.
24135 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24137         * sysdeps/i386/i486/strcat.S: Moved to ...
24138         * sysdeps/i386/strcat.S: Here.
24140 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24142         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24143         * sysdeps/i386/pthread_spin_trylock.S: Here.
24144         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24145         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24147 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24149         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24150         * sysdeps/i386/string-inlines.c: Here.
24152 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24154         * sysdeps/i386/i486/htonl.S: Moved ...
24155         * sysdeps/i386/htonl.S: here.
24157 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24159         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24160         * sysdeps/i386/bits/atomic.h: Here.
24162 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24164         * sysdeps/i386/i486/Versions: Removed.
24166 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24168         [BZ #2898]
24169         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24170         Based on patch by Aurelien Jarno.
24172 2015-08-26  Stan Shebs  <stanshebs@google.com>
24174         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24175         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24177 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24179         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24180         * sysdeps/powerpc/dl-procinfo.c:
24181         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24182         feature so it shows when LD_SHOW_AUXV=1.
24184 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24186         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24187         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24188         definition.  ISA 2.07B no longer requires full sync.
24190 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24192         [BZ #18863]
24193         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24194         (si_call_addr): Define.
24195         (si_syscall): Define.
24196         (si_arch): Define.
24198 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24200         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24201         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24202         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24203         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24204         (__memset_zero_constant_len_parameter): New.
24205         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24206         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24207         (__memset_zero_constant_len_parameter): Don't define if
24208         __memset_chk or USE_AS_BZERO are defined.
24210         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24211         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24212         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24214         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24215         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24216         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24217         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24218         comments.
24219         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24220         -mno-mmx for $(all-rtld-routines).
24221         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24222         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24223         i386.
24225 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24227         * sysdeps/generic/unwind.h
24228         (_Unwind_Word): Use __mode__(__unwind_word__)
24229         instead of __mode__(__word__).
24230         (_Unwind_Sword): Likewise.
24232         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24233         (MAX_NEEDED_INPUT): New define.
24234         (MAX_NEEDED_OUTPUT): New define.
24236         * NEWS: New item for IBM z13 string optimizations.
24238         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24239         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24240         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24241         * sysdeps/s390/multiarch/Makefile
24242         (sysdep_routines): Add memrchr functions.
24243         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24244         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24246         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24247         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24248         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24249         * sysdeps/s390/multiarch/Makefile
24250         (sysdep_routines): Add wmemcmp functions.
24251         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24252         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24253         * benchtests/bench-wmemcmp.c: New File.
24254         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24256         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24257         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24258         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24259         * sysdeps/s390/multiarch/Makefile
24260         (sysdep_routines): Add wmemset functions.
24261         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24262         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24263         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24264         * string/test-memset.c: Add wmemset support.
24265         * wcsmbs/test-wmemset.c: New File.
24266         * wcsmbs/Makefile (strop-tests): Add wmemset.
24267         * benchtests/bench-memset.c: Add wmemset support.
24268         * benchtests/bench-wmemset.c: New File.
24269         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24271         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24272         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24273         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24274         * sysdeps/s390/multiarch/Makefile
24275         (sysdep_routines): Add memccpy functions.
24276         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24277         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24278         * string/memccpy.c: Use MEMCCPY if defined.
24280         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24281         * sysdeps/s390/multiarch/memchr.c: Likewise.
24282         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24283         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24284         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24285         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24286         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24287         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24288         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24289         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24290         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24291         and rawmemchr functions.
24292         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24293         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24294         and wmemchr.
24295         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24296         * string/test-memchr.c: Add wmemchr support.
24297         * wcsmbs/test-wmemchr.c: New File.
24298         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24299         * benchtests/bench-memchr.c: Add wmemchr support.
24300         * benchtests/bench-wmemchr.c: New File.
24301         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24303         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24304         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24305         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24306         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24307         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24308         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24309         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24310         wcscspn functions.
24311         * sysdeps/s390/multiarch/ifunc-impl-list.c
24312         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24313         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24314         * string/test-strcspn.c: Add wcscspn support.
24315         * wcsmbs/test-wcscspn.c: New File.
24316         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24317         * benchtests/bench-strcspn.c: Add wcscspn support.
24318         * benchtests/bench-wcscspn.c: New File.
24319         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24321         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24322         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24323         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24324         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24325         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24326         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24327         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24328         wcspbrk functions.
24329         * sysdeps/s390/multiarch/ifunc-impl-list.c
24330         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24331         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24332         * string/test-strpbrk.c: Add wcspbrk support.
24333         * wcsmbs/test-wcspbrk.c: New File.
24334         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24335         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24336         * benchtests/bench-wcspbrk.c: New File.
24337         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24339         * sysdeps/s390/multiarch/strspn-c.c: New File.
24340         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24341         * sysdeps/s390/multiarch/strspn.c: Likewise.
24342         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24343         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24344         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24345         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24346         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24347         wcsspn functions.
24348         * sysdeps/s390/multiarch/ifunc-impl-list.c
24349         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24350         * string/test-strspn.c: Add wcsspn support.
24351         * wcsmbs/test-wcsspn.c: New File.
24352         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24353         * benchtests/bench-strspn.c: Add wcsspn support.
24354         * benchtests/bench-wcsspn.c: New File.
24355         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24357         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24358         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24359         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24360         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24361         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24362         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24363         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24364         wcsrchr functions.
24365         * sysdeps/s390/multiarch/ifunc-impl-list.c
24366         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24367         * benchtests/bench-wcsrchr.c: New File.
24368         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24370         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24371         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24372         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24373         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24374         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24375         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24376         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24377         wcschrnul functions.
24378         * sysdeps/s390/multiarch/ifunc-impl-list.c
24379         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24380         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24381         * string/test-strchr.c: Add wcschrnul support.
24382         * wcsmbs/test-wcschrnul.c: New File.
24383         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24384         * benchtests/bench-strchr.c: Add wcschrnul support.
24385         * benchtests/bench-wcschrnul.c: New File.
24386         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24388         * sysdeps/s390/multiarch/strchr-c.c: New File.
24389         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24390         * sysdeps/s390/multiarch/strchr.c: Likewise.
24391         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24392         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24393         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24394         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24395         wcschr functions.
24396         * sysdeps/s390/multiarch/ifunc-impl-list.c
24397         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24398         * string/strchr.c (STRCHR): Define and use macro.
24399         * benchtests/bench-wcschr.c: New File.
24400         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24402         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24403         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24404         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24405         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24406         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24407         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24408         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24409         wcsncmp functions.
24410         * sysdeps/s390/multiarch/ifunc-impl-list.c
24411         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24412         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24413         * benchtests/bench-strncmp.c: Add wcsncmp support.
24414         * benchtests/bench-wcsncmp.c: New File.
24415         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24417         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24418         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24419         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24420         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24421         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24422         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24423         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24424         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24425         wcscmp functions.
24426         * sysdeps/s390/multiarch/ifunc-impl-list.c
24427         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24428         * string/strcmp.c (STRCMP): Define and use macro.
24429         * benchtests/bench-wcscmp.c: New File.
24430         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24431         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24432         instead of _HAVE_STRING_ARCH_memchr.
24434         * sysdeps/s390/multiarch/strncat-c.c: New File.
24435         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24436         * sysdeps/s390/multiarch/strncat.c: Likewise.
24437         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24438         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24439         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24440         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24441         wcsncat functions.
24442         * sysdeps/s390/multiarch/ifunc-impl-list.c
24443         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24444         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24445         * string/test-strncat.c: Add wcsncat support.
24446         * wcsmbs/test-wcsncat.c: New File.
24447         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24448         * benchtests/bench-strncat.c: Add wcsncat support.
24449         * benchtests/bench-wcsncat.c: New File.
24450         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24452         * sysdeps/s390/multiarch/strcat-c.c: New File.
24453         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24454         * sysdeps/s390/multiarch/strcat.c: Likewise.
24455         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24456         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24457         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24458         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24459         wcscat functions.
24460         * sysdeps/s390/multiarch/ifunc-impl-list.c
24461         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24462         * string/strcat.c (STRCAT): Define and use macro.
24463         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24464         * string/test-strcat.c: Add wcscat support.
24465         * wcsmbs/test-wcscat.c: New File.
24466         * wcsmbs/Makefile (strop-tests): Add wcscat.
24467         * benchtests/bench-strcat.c: Add wcscat support.
24468         * benchtests/bench-wcscat.c: New File.
24469         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24471         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24472         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24473         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24474         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24475         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24476         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24477         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24478         wcpncpy functions.
24479         * sysdeps/s390/multiarch/ifunc-impl-list.c
24480         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24481         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24482         * string/test-stpncpy.c: Add wcpncpy support.
24483         * wcsmbs/test-wcpncpy.c: New File.
24484         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
24485         * benchtests/bench-stpncpy.c: Add wcpncpy support.
24486         * benchtests/bench-wcpncpy.c: New File.
24487         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
24489         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
24490         * sysdeps/s390/multiarch/strncpy.c: Likewise.
24491         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
24492         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
24493         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
24494         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
24495         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
24496         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
24497         wcsncpy functions.
24498         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
24499         * sysdeps/s390/multiarch/ifunc-impl-list.c
24500         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
24501         * string/test-strncpy.c: Add wcsncpy support.
24502         * wcsmbs/test-wcsncpy.c: New File.
24503         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
24504         * benchtests/bench-strncpy.c: Add wcsncpy support.
24505         * benchtests/bench-wcsncpy.c: New File.
24506         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
24508         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
24509         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
24510         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
24511         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
24512         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
24513         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
24514         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
24515         wcpcpy functions.
24516         * string/stpcpy.c: Use STPCPY if defined.
24517         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
24518         * sysdeps/s390/multiarch/ifunc-impl-list.c
24519         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
24520         * string/test-stpcpy.c: Add wcpcpy support.
24521         * wcsmbs/test-wcpcpy.c: New File.
24522         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
24523         * benchtests/bench-stpcpy.c: Add wcpcpy support.
24524         * benchtests/bench-wcpcpy.c: New File.
24525         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
24527         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
24528         * sysdeps/s390/multiarch/strcpy.c: Likewise.
24529         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
24530         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
24531         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
24532         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
24533         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
24534         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
24535         wcscpy functions.
24536         * sysdeps/s390/multiarch/ifunc-impl-list.c
24537         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
24538         * benchtests/bench-wcscpy.c: New File.
24539         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
24541         * sysdeps/s390/multiarch/strnlen-c.c: New File.
24542         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
24543         * sysdeps/s390/multiarch/strnlen.c: Likewise.
24544         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
24545         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
24546         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
24547         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
24548         wcsnlen functions.
24549         * sysdeps/s390/multiarch/ifunc-impl-list.c
24550         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
24551         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
24552         * string/test-strnlen.c: Add wcsnlen support.
24553         * wcsmbs/test-wcsnlen.c: New File.
24554         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
24555         * benchtests/bench-strnlen.c: Add wcsnlen support.
24556         * benchtests/bench-wcsnlen.c: New File.
24557         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
24559         * sysdeps/s390/multiarch/Makefile: New File.
24560         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
24561         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
24562         * sysdeps/s390/multiarch/strlen.c: Likewise.
24563         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
24564         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
24565         * sysdeps/s390/multiarch/wcslen.c: Likewise.
24566         * string/strlen.c (STRLEN): Define and use macro.
24567         * sysdeps/s390/multiarch/ifunc-impl-list.c
24568         (IFUNC_VX_IMPL): New macro function.
24569         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
24570         * benchtests/Makefile (wcsmbs-bench): New variable.
24571         (string-bench-all): Added wcsmbs-bench.
24572         * benchtests/bench-wcslen.c: New File.
24574         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
24575         s390_vx_libc_ifunc2): New macro function.
24577         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
24578         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
24579         assembler support.
24580         * sysdeps/s390/configure: Regenerated.
24582         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
24583         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
24585         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
24586         * sysdeps/s390/dl-procinfo.h: Add vector capability.
24587         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
24589         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
24590         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
24591         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
24592         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
24593         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
24594         (memcmp, bcmp): Use __memcmp_default as alias source.
24595         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
24596         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
24597         Rename to __memcmp_default.
24598         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
24599         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
24600         (memcpy): Use __memcpy_default as alias source.
24601         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
24602         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
24603         Rename to __memcpy_default.
24604         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
24605         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
24606         (memset): Use __memset_default as alias source.
24607         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
24608         * sysdeps/s390/s390-32/memset.S (__memset_g5):
24609         Rename to __memset_default.
24610         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
24611         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
24612         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
24613         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
24614         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
24615         (memcmp, bcmp): Use __memcmp_default as alias source.
24616         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
24617         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
24618         Rename to __memcmp_default.
24619         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
24620         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
24621         (memcpy): Use __memcpy_default as alias source.
24622         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
24623         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
24624         Rename to __memcpy_default.
24625         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
24626         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
24627         (memset): Use __memset_default as alias source.
24628         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
24629         * sysdeps/s390/s390-64/memset.S (__memset_z900):
24630         Rename to __memset_default.
24631         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
24632         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
24634         [BZ #18610]
24635         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
24636         __ieee_instruction_pointer to __unused.
24637         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
24638         __ieee_instruction_pointer.
24639         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
24640         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
24641         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24642         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24643         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
24644         Mark dxc-field as reserved.
24646 2015-08-25  Roland McGrath  <roland@hack.frob.com>
24648         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
24649         if the weak reference is not null.
24651 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24653         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
24655         [BZ #11214]
24656         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
24658 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24660         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
24661         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
24662         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
24663         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
24664         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
24665         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
24666         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
24667         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
24668         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
24669         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
24670         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
24671         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
24672         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
24673         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
24674         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
24675         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
24676         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
24677         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
24679 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24681         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
24682         register other than r0 for tabort, it has special meaning.
24683         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
24684         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
24685         transaction before starting syscall.
24687 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24689         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
24691 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24693         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
24695         * sysdeps/x86_64/rtld-memcmp.c: Removed.
24696         * sysdeps/x86_64/rtld-memset.S: Likewise.
24697         * sysdeps/x86_64/rtld-strchr.S: Likewise.
24698         * sysdeps/x86_64/rtld-strlen.S: Likewise.
24699         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
24700         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24702         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
24704 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
24706         * debug/strcpy_chk.c: Improve performance.
24707         * debug/stpcpy_chk.c: Likewise.
24708         * sysdeps/x86_64/strcpy_chk.S: Remove.
24709         * sysdeps/x86_64/stpcpy_chk.S: Remove.
24711         [BZ #18240]
24712         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
24714 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24716         [BZ #15128]
24717         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
24718         ifuncmain8.
24719         (modules-names): Add ifuncmod8.
24720         ($(objpfx)ifuncmain8): New rule.
24721         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
24722         <cpuid.h>.
24723         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
24724         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
24725         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
24726         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
24727         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
24728         * sysdeps/x86_64/dl-trampoline.h: Likewise.
24729         * sysdeps/x86_64/ifuncmain8.c: New file.
24730         * sysdeps/x86_64/ifuncmod8.c: Likewise.
24731         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
24732         Removed.
24733         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
24734         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
24735         Change rtld_savespace_sse to __glibc_unused2.
24736         (RTLD_CHECK_FOREIGN_CALL): Removed.
24737         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
24738         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
24739         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
24741 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24743         * sysdeps/aarch64/bzero.S (__bzero): Remove.
24745 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24747         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
24748         Unconditionally set __fpcr to avoid uninialized warning.
24749         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
24751 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24753         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
24754         is corrupt.
24756         * malloc/arena.c (arena_get2): Drop unused argument.
24757         (arena_lock): Adjust.
24758         (arena_get_retry): Likewise.
24760 2015-08-24  Andreas Schwab  <schwab@suse.de>
24762         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
24763         Don't define.
24764         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24765         (__ASSUME_IPC64): Don't undef.
24766         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24767         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24768         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24769         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24770         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24771         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24772         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24773         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24774         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24775         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24776         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24777         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24778         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24779         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24780         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24781         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24782         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24783         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24784         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24785         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24786         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24788 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24790         * manual/Makefile (install): Only build manual when perl is available.
24792 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24794         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24795         '#undef memcpy' by '#undef memchr'.
24797 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24799         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24800         memchr not point to the internal __GI_memchr implementation.
24802 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24804         * timezone/Makefile (CFLAGS-zdump.c): Remove
24805         -Wno-strict-prototypes.
24806         (CFLAGS-zic.c): Likewise.
24807         (CFLAGS-ialloc.c): Likewise.
24808         (CFLAGS-scheck.c): Likewise.
24810         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24811         -Wno-error=undef.
24813 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24815         * i386/i686/multiarch/strcasestr-c.c: Removed.
24816         * x86_64/multiarch/strcasestr.c: Likewise.
24817         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24818         Remove strcasestr.
24820 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24822         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
24824         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
24825         variables for high and low parts before possibly modifying them.
24827 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24829         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
24830         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
24831         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
24832         of "multiarch/init-arch.h".
24833         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
24834         * sysdeps/x86/init-arch.h: This.
24836 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24838         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
24839         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
24841 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
24843         [BZ #17787]
24844         * manual/macros.texi: Add twoexp macro.
24845         * manual/filesys.texi: Fix exponents.
24846         * manual/llio.texi: Likewise.
24847         * manual/stdio.texi: Likewise.
24849 2015-08-20  Florian Weimer  <fweimer@redhat.com>
24851         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
24852         incorrect use.
24854 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24856         [BZ #18370]
24857         * math/s_csqrt.c (__csqrt): Force underflow exception for results
24858         whose real or imaginary part has small absolute value.
24859         * math/s_csqrtf.c (__csqrtf): Likewise.
24860         * math/s_csqrtl.c (__csqrtl): Likewise.
24861         * math/auto-libm-test-in: Add more tests of csqrt.
24862         * math/auto-libm-test-out: Regenerated.
24863         * sysdeps/i386/fpu/libm-test-ulps: Update.
24865 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24867         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
24868         __ppc_set_ppr_very_low): New functions.
24869         * manual/platform.texi: Add documentation about
24870         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
24872 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
24874         * string/stpncpy.c (stpncpy): Improve performance using
24875         __strnlen/memcpy/memset.
24877 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24879         [BZ #18796]
24880         * scripts/test-installation.pl: Don't add -lmvec to build options if
24881         libmvec wasn't built.
24883 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24885         [BZ #14341]
24886         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
24887         case when there is a gap between DT_REL and DT_JMPREL sections.
24888         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
24889         (LDFLAGS-tst-split-dynreloc): New.
24890         (tst-split-dynreloc-ENV): Likewise.
24891         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
24892         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
24894 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24896         [BZ #18822]
24897         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
24898         attribute_hidden.
24899         (__xstat64_conv): Likewise.
24900         (__xstat32_conv): Likewise.
24902 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24904         [BZ #18822]
24905         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24906         Don't load %ebx when calling __setcontext.  Call __setcontext
24907         with HIDDEN_JUMPTARGET.
24908         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
24909         libc_hidden_def.
24911 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24913         * sysdeps/i386/i686/Makefile
24914         [$(subdir) == string] (sysdep_routines): Moved to ...
24915         * sysdeps/i386/Makefile: Here.
24916         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
24917         * sysdeps/i386/cacheinfo.c: Here.
24918         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
24919         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
24920         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
24921         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
24923 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24925         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
24926         __i586__ is defined.
24927         (HAS_I686): Defined to 1 if __i686__ is defined.
24929 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24931         * elf/Makefile [$(have-z-execstack) = yes]
24932         (CPPFLAGS-tst-execstack.c): New variable.
24934         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
24935         conditional to [defined UTMPX || _HAVE_UT_TYPE].
24936         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
24937         UTMPX || _HAVE_UT_TV].
24938         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
24939         UTMPX || _HAVE_UT_TV - 0].
24941 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
24943         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
24944         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
24945         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
24947 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24949         * sysdeps/powerpc/dl-procinfo.c:
24950         (_dl_powerpc_cap_flags): Added missing strings for some
24951         hwcap features.
24952         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
24954 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
24956         Port the 0x7efe...feff pattern to GCC 6.
24957         See Steve Ellcey's bug report in:
24958         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
24959         * string/memrchr.c (MEMRCHR):
24960         * string/rawmemchr.c (RAWMEMCHR):
24961         * string/strchr.c (strchr):
24962         * string/strchrnul.c (STRCHRNUL):
24963         Rewrite code to avoid issues with signed shift overflow.
24965 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
24967         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
24968         whether cpuid is available only if HAS_CPUID is 0.
24969         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
24970         (HAS_I586): Likewise.
24971         (HAS_I686): Likewise.
24973 2015-08-18  Zack Weinberg  <zackw@panix.com>
24975         * misc/Versions (libc): Add GLIBC_2.23.
24977 2015-08-18  Alan Modra  <amodra@gmail.com>
24979         [BZ #18421]
24980         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
24981         .Lp__global.
24982         (_start): Load %dp via .Lp__global.
24983         [!SHARED]: Use .section .rodata.
24985 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24987         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
24988         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
24990 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24992         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
24993         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
24995 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24997         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
24998         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25000 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25002         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25003         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25005 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25007         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25008         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25010 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25012         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25013         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25015 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25017         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25019 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25021         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25022         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25023         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25024         (__ASSUME_LWS_CAS): Delete.
25026 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25028         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25029         * sysdeps/hppa/configure: Regenerated.
25030         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25031         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25032         * sysdeps/hppa/nptl/tls.h: Likewise.
25034 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25036         [BZ #18823]
25037         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25038         for scaling up small arguments.
25039         * math/s_csqrtf.c (__csqrtf): Likewise.
25040         * math/s_csqrtl.c (__csqrtl): Likewise.
25041         * math/auto-libm-test-in: Add more tests of csqrt.
25042         * math/auto-libm-test-out: Regenerated.
25044 2015-08-17  Andreas Schwab  <schwab@suse.de>
25046         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25047         version set GLIBC_2.19.
25049 2015-08-16  Zack Weinberg  <zackw@panix.com>
25051         [BZ #18681]
25052         * misc/regexp.h: This interface is no longer supported.
25053         Remove all contents, leaving only an #error directive.
25054         * misc/regexp.c (loc1, loc2, locs, step, advance):
25055         Demote to compatibility symbols.
25057 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25059         [BZ #18084]
25060         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25061         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25062         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25063         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25064         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25065         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25066         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25067         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25068         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25070 2015-08-15  Zack Weinberg  <zackw@panix.com>
25072         [BZ #18795]
25073         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25074         buffer length is known to be too large, not if it's known to be
25075         small enough.
25076         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25077         overflow at runtime, involving a length parameter, twice: once
25078         with a compile-time constant length parameter, once without.
25080 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25082         [BZ #18824]
25083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25084         scaling x * y up instead of down.
25085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25087         * math/auto-libm-test-in: Add more tests of fma.
25088         * math/auto-libm-test-out: Regenerated.
25090 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25092         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25094 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25096         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25097         unnecessary movq.
25098         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25099         Likewise.
25101 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25103         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25104         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25105         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25106         and tgamma.
25107         * math/auto-libm-test-out: Regenerated.
25108         * sysdeps/i386/fpu/libm-test-ulps: Update.
25109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25111         [BZ #16520]
25112         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25113         (__tanh): Force underflow exception for arguments with small
25114         absolute value.
25115         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25116         (__tanhf): Force underflow exception for arguments with small
25117         absolute value.
25118         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25119         (__tanhl): Force underflow exception for arguments with small
25120         absolute value.
25121         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25122         (__tanhl): Force underflow exception for arguments with small
25123         absolute value.
25124         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25125         (__tanhl): Force underflow exception for arguments with small
25126         absolute value.
25127         * math/auto-libm-test-in: Add more tests of tanh.
25128         * math/auto-libm-test-out: Regenerated.
25129         * sysdeps/i386/fpu/libm-test-ulps: Update.
25131 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25133         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25134         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25136 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25138         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25139         <cpuid.h>.
25141 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25143         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25144         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25146 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25148         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25149         Remove $(objpfx)init-arch.o.
25150         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25151         init-arch.
25152         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25153         (INIT_ARCH_EXT): Defined as empty.
25154         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25155         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25156         __init_cpu_features call.  Replace HAS_XXX with
25157         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25159         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25161         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25163         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25164         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25165         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25166         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25167         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25168         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25169         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25170         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25171         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25173         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25174         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25176         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25177         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25178         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25179         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25180         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25181         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25182         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25183         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25184         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25185         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25186         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25187         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25189         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25190         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25191         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25192         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25194 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25196         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25197         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25198         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25199         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25200         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25201         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25202         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25203         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25204         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25205         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25206         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25207         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25208         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25209         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25210         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25211         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25212         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25213         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25214         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25215         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25216         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25217         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25218         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25219         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25220         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25221         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25222         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25223         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25224         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25225         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25226         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25227         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25228         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25229         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25230         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25231         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25232         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25233         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25234         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25235         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25236         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25237         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25238         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25240 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25242         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25243         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25244         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25245         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25246         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25247         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25248         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25249         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25250         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25251         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25252         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25253         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25254         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25255         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25256         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25257         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25258         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25259         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25260         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25261         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25263         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25264         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25265         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25266         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25267         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25268         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25269         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25270         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25271         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25272         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25273         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25274         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25275         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25276         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25277         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25278         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25279         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25280         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25281         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25282         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25283         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25284         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25286 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25288         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25289         (dl_platform_init): Call init_cpu_features.
25290         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25291         * sysdeps/i386/i686/cacheinfo.c
25292         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25293         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25294         * sysdeps/i386/i686/multiarch/Versions: Removed.
25295         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25296         Removed.
25297         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25298         * sysdeps/unix/sysv/linux/x86/Makefile
25299         (libpthread-sysdep_routines): Remove init-arch.
25300         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25301         <sysdeps/x86_64/dl-procinfo.c> instead of
25302         sysdeps/generic/dl-procinfo.c>.
25303         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25304         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25305         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25306         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25307         [$(subdir) == elf] (tests-static): Add
25308         tst-get-cpu-features-static.
25309         * sysdeps/x86/Versions: New file.
25310         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25311         * sysdeps/x86/cpu-features.c: Likewise.
25312         * sysdeps/x86/cpu-features.h: Likewise.
25313         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25314         * sysdeps/x86/libc-start.c: Likewise.
25315         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25316         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25317         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25318         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25319         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25320         Assume USE_MULTIARCH is defined and don't check it.
25321         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25322         (is_amd): Likewise.
25323         (max_cpuid): Likewise.
25324         (intel_check_word): Likewise.
25325         (__cache_sysconf): Don't call __init_cpu_features.
25326         (__x86_preferred_memory_instruction): Removed.
25327         (init_cacheinfo): Don't call __init_cpu_features. Replace
25328         __cpu_features with GLRO(dl_x86_cpu_features).
25329         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25330         (dl_platform_init): Call init_cpu_features.
25331         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25332         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25333         * sysdeps/x86_64/multiarch/Versions: Removed.
25334         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25335         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25336         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25337         Removed.
25338         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25340 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25342         [BZ #18820]
25343         * libio/Makefile (test-fmemopen-mem): New test.
25344         * libio/test-fmemopen.c (do_bz18820): New test.
25345         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25346         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25348 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25350         [BZ #16734]
25351         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25352         (FREE_BUF): Delete.
25353         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25354         * libio/genops.c (_IO_setb): Use malloc and free directly.
25355         (_IO_default_doallocate, _IO_default_finish): Likewise.
25356         ( _IO_unbuffer_all): Likewise.
25357         ( libc_freeres_fn): Likewise.
25358         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25359         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25360         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25361         (_IO_wdefault_doallocate): Likewise.
25363 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25365         [BZ #18086]
25366         * sysdeps/posix/nice.c (nice): Restore old errno.
25367         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25369 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25371         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25373 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25375         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25376         __bcopy and add a weak_alias to bcopy.
25377         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25378         for static build.
25380         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25381         cleanup macro usage.
25382         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25383         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25384         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25385         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25386         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25387         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25388         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25389         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25390         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25391         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25392         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25393         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25394         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25395         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25396         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25397         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25398         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25399         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25400         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25402         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25403         libc_hidden_def.
25404         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25406         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25407         (sysdep_routines): Add strstr-ppc64.
25408         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25410 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25412         [BZ #18778]
25413         * elf/Makefile (tests): Add Add tst-nodelete2.
25414         (modules-names): Add tst-nodelete2mod.
25415         (tst-nodelete2mod.so-no-z-defs): New.
25416         ($(objpfx)tst-nodelete2): Likewise.
25417         ($(objpfx)tst-nodelete2.out): Likewise.
25418         (LDFLAGS-tst-nodelete2): Likewise.
25419         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25420         out of loop through all loaded libraries.
25421         * elf/tst-nodelete2.c: New file.
25422         * elf/tst-nodelete2mod.c: Likewise.
25423         * elf/tst-znodelete-zlib.cc: Delete.
25425 2015-08-11  Andreas Schwab  <schwab@suse.de>
25427         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25428         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25429         (__openat64_nocancel): Likewise.
25431 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25433         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25434         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25435         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25436         * math/auto-libm-test-out: Regenerated.
25437         * sysdeps/i386/fpu/libm-test-ulps: Update.
25438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25440 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25442         [BZ #18790]
25443         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25444         threshold for returning +/- 1.
25445         * math/auto-libm-test-in: Add more tests of tanh.
25446         * math/auto-libm-test-out: Regenerated.
25447         * sysdeps/i386/fpu/libm-test-ulps: Update.
25449 2015-08-10  Andreas Schwab  <schwab@suse.de>
25451         [BZ #18781]
25452         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25453         MORE_OFLAGS to oflag.
25454         * io/test-lfs.c (do_test): Test openat64.
25456 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25458         [BZ #18789]
25459         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25460         smaller threshold for returning the argument.
25461         * math/auto-libm-test-in: Add more tests of sinh.
25462         * math/auto-libm-test-out: Regenerated.
25463         * sysdeps/i386/fpu/libm-test-ulps: Update.
25465 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25467         [BZ #18674]
25468         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25469         break.
25471 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25473         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25474         (generated): Don't add $(addprefix z.,$(tzfiles)).
25476 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25478         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25479         * scripts/sysd-rules.awk: Likewise.
25481 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25483         * iconvdata/tst-tables.sh: Change echo -n to printf.
25484         * nss/db-Makefile: Likewise.
25485         * posix/tst-getconf.sh: Likewise.
25486         * stdio-common/tst-unbputc.sh: Likewise.
25488 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25490         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
25491         MADV_*_PAGES defines behind this feature check.
25493 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
25495         [BZ #18480]
25496         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
25497         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
25498         Define.
25499         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
25500         LOAD_REGS_5, LOAD_REGS_6): Update.
25501         (INTERNAL_SYSCALL): Update using new LOAD defines.
25502         (INTERNAL_SYSCALL_NCS): Likewise.
25503         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
25505 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25507         [BZ #16734]
25508         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
25510 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25512         [BZ #17905]
25513         * catgets/Makefile (tst-catgets-mem): New test.
25514         * catgets/catgets.c (catopen): Don't use unbounded alloca.
25515         * catgets/open_catalog.c (__open_catalog): Likewise.
25516         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
25518 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
25520         [BZ #18787]
25521         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
25522         clobber registers.
25523         (atomic_compare_and_exchange_val_acq): Use register asms to assign
25524         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
25525         Cast return to __typeof (oldval).
25527 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
25529         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
25530         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
25531         and delete sys/syscall.h include.
25533 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
25535         [BZ #16517]
25536         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
25537         (tan): Force underflow exception for arguments with small absolute
25538         value.
25539         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
25540         (__kernel_tanf): Force underflow exception for arguments with
25541         small absolute value.
25542         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
25543         (__kernel_tanl): Force underflow exception for arguments with
25544         small absolute value.
25545         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
25546         (__kernel_tanl): Force underflow exception for arguments with
25547         small absolute value.
25548         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
25549         (__kernel_tanl): Force underflow exception for arguments with
25550         small absolute value.
25551         * math/auto-libm-test-in: Add more tests of tan.
25552         * math/auto-libm-test-out: Regenerated.
25554 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25556         Fix sysdeps/i386/fpu/s_scalbn.S build
25558         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
25560 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
25562         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25564 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25566         Fix gcrt0.o compilation
25568         When static-start-installed-name is different from
25569         start-installed-name, we must not use the shared objects.
25571         * csu/Makefile
25572         (extra-objs): Add gmon-start.o when building shared library and
25573         $(static-start-installed-name) is different from
25574         $(start-installed-name).
25575         $(objpfx)g$(static-start-installed-name): When building shared
25576         library and $(static-start-installed-name) is different from
25577         $(static-start-installed-name), revert to non-shared rule,
25578         i.e. using $(objpfx)% and gmon-start.o.
25580 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
25582         [BZ #16519]
25583         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
25584         (__ieee754_sinh): Force underflow exception for arguments with
25585         small absolute value.
25586         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
25587         (__ieee754_sinhf): Force underflow exception for arguments with
25588         small absolute value.
25589         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
25590         (__ieee754_sinhl): Force underflow exception for arguments with
25591         small absolute value.
25592         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
25593         (__ieee754_sinhl): Force underflow exception for arguments with
25594         small absolute value.
25595         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
25596         (__ieee754_sinhl): Force underflow exception for arguments with
25597         small absolute value.
25598         * math/auto-libm-test-in: Add more tests of sinh.
25599         * math/auto-libm-test-out: Regenerated.
25600         * sysdeps/i386/fpu/libm-test-ulps: Update.
25602 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25604         * libio/oldfileops.c: Include unistd.h.
25606 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
25608         * stdlib/isomac.c: Include ctype.h.
25610 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
25612         * dirent/tst-seekdir.c (main): Converted to ...
25613         (do_test): ... this.
25614         (TEST_FUNCTION): New macro.
25615         Include test-skeleton.c.
25616         * elf/tst-dlmodcount.c (main): Converted to ...
25617         (do_test): ... this.
25618         (TEST_FUNCTION): New macro.
25619         Include test-skeleton.c.
25620         * elf/tst-order-main.c (main): Converted to ...
25621         (do_test): ... this.
25622         (TEST_FUNCTION): New macro.
25623         Include test-skeleton.c.
25624         * elf/tst-pie2.c (main): Converted to ...
25625         (do_test): ... this.
25626         (TEST_FUNCTION): New macro.
25627         Include test-skeleton.c.
25628         * inet/tst-ether_aton.c (main): Converted to ...
25629         (do_test): ... this.
25630         (TEST_FUNCTION): New macro.
25631         Include test-skeleton.c.
25632         * misc/tst-mntent.c (main): Converted to ...
25633         (do_test): ... this.
25634         (TEST_FUNCTION): New macro.
25635         Include test-skeleton.c.
25636         * misc/tst-tsearch.c (main): Converted to ...
25637         (do_test): ... this.
25638         (TEST_FUNCTION): New macro.
25639         Include test-skeleton.c.
25640         * posix/tst-regexloc.c (main): Converted to ...
25641         (do_test): ... this.
25642         (TEST_FUNCTION): New macro.
25643         Include test-skeleton.c.
25644         * resolv/tst-aton.c (main): Converted to ...
25645         (do_test): ... this.
25646         (TEST_FUNCTION): New macro.
25647         Include test-skeleton.c.
25648         * stdio-common/test-fwrite.c (main): Converted to ...
25649         (do_test): ... this.
25650         (TEST_FUNCTION): New macro.
25651         Include test-skeleton.c.
25652         * stdio-common/tst-ferror.c (main): Converted to ...
25653         (do_test): ... this.
25654         (TEST_FUNCTION): New macro.
25655         Include test-skeleton.c.
25656         * stdio-common/tst-printf.c (main): Converted to ...
25657         (do_test): ... this.
25658         (TEST_FUNCTION): New macro.
25659         Include test-skeleton.c.
25660         * stdio-common/tst-printfsz.c (main): Converted to ...
25661         (do_test): ... this.
25662         (TEST_FUNCTION): New macro.
25663         Include test-skeleton.c.
25664         * stdlib/tst-strtod.c (main): Converted to ...
25665         (do_test): ... this.
25666         (TEST_FUNCTION): New macro.
25667         Include test-skeleton.c.
25668         * string/tst-strlen.c (main): Converted to ...
25669         (do_test): ... this.
25670         (TEST_FUNCTION): New macro.
25671         Include test-skeleton.c.
25672         * string/tst-svc.c (main): Converted to ...
25673         (do_test): ... this.
25674         (TEST_FUNCTION): New macro.
25675         Include test-skeleton.c.
25676         * time/tst-strptime.c (main): Converted to ...
25677         (do_test): ... this.
25678         (TEST_FUNCTION): New macro.
25679         Include test-skeleton.c.
25680         * timezone/tst-timezone.c (main): Converted to ...
25681         (do_test): ... this.
25682         (TEST_FUNCTION): New macro.
25683         Include test-skeleton.c.
25685 2015-08-05  Zack Weinberg  <zackw@panix.com>
25687         * misc/regexp.h: Update comments.
25689 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
25691         [BZ #18635]
25692         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
25693         before return label.
25695 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25697         [BZ #18661]
25698         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
25699         when calling __errno_location.
25700         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
25701         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
25703 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25705         [BZ #18661]
25706         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
25707         (__lll_timedwait_tid): Align stack to 16 bytes when calling
25708         __gettimeofday.
25710 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25712         [BZ #18661]
25713         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25714         (__start_context): Don't use pop to restore %rdi so that stack
25715         is aligned to 16 bytes when calling __setcontext.
25717 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25719         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
25720         only for libc.
25721         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25723 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25725         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
25726         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
25727         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
25729 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25731         * string/memccpy.c (memccpy):
25732         Improve performance by using memchr/memcpy/__mempcpy.
25734 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25736         * string/strncpy.c (strncpy):
25737         Improve performance by using __strnlen/memcpy.
25739 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25741         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25742         Optimize to avoid an unnecessary FPCR read.
25744 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25746         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25747         Optimize to reduce FPCR/FPSR accesses.
25749 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25751         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
25752         dead->data[category] != NULL.
25754 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
25756         [BZ #18647]
25757         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
25758         and |x| close to 1, use absolute value of x when computing log.
25759         * math/auto-libm-test-in: Add more tests of pow.
25760         * math/auto-libm-test-out: Regenerated.
25762 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25764         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25765         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25766         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25768 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25770         [BZ #18525]
25771         * locales/km_KH: Remove timezone definition.
25772         * locales/lo_LA: Likewise.
25773         * locales/my_MM: Likewise.
25774         * locales/nan_TW@latin: Likewise.
25775         * locales/th_TH: Likewise.
25776         * locales/uk_UA: Likewise.
25778 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25780         [BZ #18265]
25781         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25782         (wcsncat): Likewise.
25783         (wcscmp): Likewise.
25784         (wcsncmp): Likewise.
25786 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25788         * test-skeleton.c (usage): New function.
25789         (main): Call usage when opt is '?'.
25791 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25793         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25794         before first use.
25796 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25798         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25799         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25800         in there too.
25802 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25804         * version.h (RELEASE): Set to "development".
25805         (VERSION): Set to "2.22.90"
25807         * version.h (RELEASE): Set to "stable".
25808         (VERSION): Set to "2.22"
25809         * include/features.h (__GLIBC_MINOR__): Set to 22.
25811 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
25813         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
25814         Restructure macro to avoid "value computed is not used" warning.
25815         (atomic_compare_and_exchange_val_acq): Likewise.
25817 2015-08-04  Andreas Schwab  <schwab@suse.de>
25819         [BZ #18635]
25820         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
25821         ret.
25822         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
25824 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
25826         * po/pl.po: Updated translation.
25827         * po/uk.po: Likewise.
25828         * po/fi.po: Likewise.
25829         * po/ko.po: Likewise.
25830         * po/ru.po: Likewise.
25831         * po/vi.po: Likewise.
25833 2015-07-31  Zack Weinberg  <zackw@panix.com>
25835         [BZ #18681]
25836         * regexp.h: Add unconditional #warning stating that this header
25837         will be removed soon.  Revise banner comment to match.
25838         (compile): Consistently use ERROR instead of RETURN to report
25839         errors (partial fix for bz#18681).
25840         * regexp.c: Don't include regexp.h. Remove some unnecessary
25841         declarations.
25843 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
25845         * po/libc.pot: Regenerated.
25847 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25849         [BZ #18740]
25850         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
25851         float-vlen4-arch-ext-cflags): Removed.
25852         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
25853         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
25855 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25857         [BZ #14113]
25858         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
25859         aligned to __aligned__.
25860         (pthread_cond_t, pthread_rwlock_t): Likewise.
25862 2015-07-30  Torvald Riegel  <triegel@redhat.com>
25864         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
25866 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25868         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
25869         (struct sigaction): Change sa_flags from a long to an int, and add
25870         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
25872 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25874         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
25875         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
25876         sysdeps/generic/sysdep.h include.
25877         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
25878         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
25879         sysdeps/hppa/sysdep.h.
25880         (ENTRY, PSEUDO): Undefine before defining.
25882 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25884         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
25885         from scratch to use INTERNAL_SYSCALL.
25887 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
25889         [BZ #18078]
25890         * scripts/check-localplt.awk: Support alternate relocations.
25891         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
25892         sections.
25893         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
25894         malloc entries with + REL R_386_GLOB_DAT.
25895         * sysdeps/x86_64/localplt.data: New file.
25897 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
25899         [BZ #18731]
25900         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
25901         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25902         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25904 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25906         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
25908 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25910         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25911         directly in terms of __sync_fetch_and_add and delete (int) cast.
25913 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25915         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
25916         the -D_ASM_IA64_CURRENT_H flag.
25918 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25920         [BZ #18641]
25921         * pwd/pwd.h (putpwent): Delete __nonnull markings.
25923 2015-07-27  Andreas Schwab  <schwab@suse.de>
25925         * conform/conformtest.pl (checknamespace): Filter out string
25926         literals while tokenizing.
25928 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25930         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25931         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25932         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25934 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25936         * nptl/tst-join7mod.c: Add #include <string.h>.
25938 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25940         * sysdeps/nios2/libm-test-ulps: Update.
25942 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25944         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
25945         Fix order of arguments to the rt_sigprocmask syscall.
25946         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
25947         Likewise.
25949 2015-07-24  Roland McGrath  <roland@hack.frob.com>
25951         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
25953 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25955         [BZ #18457]
25956         * nptl/Makefile (tests): New test case tst-join7.
25957         (modules-names): New test case module tst-join7mod.
25958         * nptl/tst-join7.c: New file.
25959         * nptl/tst-join7mod.c: New file.
25960         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
25961         all translation units in libc.so, libpthread.so and rtld.
25963 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25967 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25969         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
25970         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25971         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25972         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25973         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25974         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25975         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25976         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25977         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25978         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25979         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25980         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25981         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
25982         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
25983         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
25984         implementation.
25986 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25988         [BZ #17711]
25989         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25990         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
25991         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25992         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25993         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
25994         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25996 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25998         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
25999         instead of just saying load lock in the comments.
26001 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26003         * sysdeps/unix/Subdirs: Moved ...
26004         * sysdeps/posix/Subdirs: ... here.
26005         * login/pty.h (struct termios, struct winsize): Add forward decls.
26006         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26007         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26008         * sysdeps/arm/nacl/libc.abilist: Updated.
26009         * sysdeps/nacl/libutil.abilist: New file.
26011         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26012         (SIGWINCH): New macro.
26014         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26015         * sysdeps/arm/nacl/libc.abilist: Add it.
26017 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26019         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26021 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26023         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26024         Swap __glibc_reserved0 and sa_flags order.
26026 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26028         [BZ #18657]
26029         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26030         are pending TLS destructor calls.
26031         * include/link.h (struct link_map): Add concurrency note for
26032         L_TLS_DTOR_COUNT.
26033         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26034         Don't touch the link map flag.  Atomically increment
26035         l_tls_dtor_count.
26036         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26037         Avoid taking the load lock and don't touch the link map flag.
26038         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26039         * stdlib/Makefile (tests): Use it.
26040         * stdlib/tst-tls-atexit.c (do_test): dlopen
26041         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26042         to allow tst-tls-atexit-nodelete test case to use it.
26044 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26046         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26047         to bits/types.h.
26048         (msgqnum_t): New typedef.
26049         (msglen_t): Likewise.
26050         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26051         and msg_qbytes type to msglen_t.
26053 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26055         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26056         pad0 to __glibc_reserved0.
26057         (struct stat64): Likewise.
26059 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26061         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26062         Change sa_flags from a long to an int and add __glibc_reserved0 before
26063         it for padding.
26065 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26067         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26068         anonymous by deleting "siginfo" name.
26070 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26072         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26073         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26074         rather than __nacl_irt_filename.
26075         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26077         * NEWS: New item for arm-nacl port.
26078         * sysdeps/arm/nacl/libc.abilist: New file.
26079         * sysdeps/nacl/ld.abilist: New file.
26080         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26081         * sysdeps/nacl/libanl.abilist: New file.
26082         * sysdeps/nacl/libcrypt.abilist: New file.
26083         * sysdeps/nacl/libdl.abilist: New file.
26084         * sysdeps/nacl/libm.abilist: New file.
26085         * sysdeps/nacl/libpthread.abilist: New file.
26086         * sysdeps/nacl/libresolv.abilist: New file.
26087         * sysdeps/nacl/librt.abilist: New file.
26089 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26091         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26092         __startcontext to initialize the new context.
26093         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26094         up CFI directive to forbid further backtracing.
26096 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26098         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26099         reference.
26100         * charmaps/ANSI_X3.4-1968: Likewise.
26101         * charmaps/BS_4730: Likewise.
26102         * charmaps/BS_VIEWDATA: Likewise.
26103         * charmaps/CP1250: Likewise.
26104         * charmaps/CP1251: Likewise.
26105         * charmaps/CP1252: Likewise.
26106         * charmaps/CP1253: Likewise.
26107         * charmaps/CP1254: Likewise.
26108         * charmaps/CP1255: Likewise.
26109         * charmaps/CP1256: Likewise.
26110         * charmaps/CSN_369103: Likewise.
26111         * charmaps/EBCDIC-DK-NO: Likewise.
26112         * charmaps/GB_1988-80: Likewise.
26113         * charmaps/GREEK-CCITT: Likewise.
26114         * charmaps/GREEK7: Likewise.
26115         * charmaps/INIS-8: Likewise.
26116         * charmaps/ISIRI-3342: Likewise.
26117         * charmaps/ISO_2033-1983: Likewise.
26118         * charmaps/ISO_5427-EXT: Likewise.
26119         * locales/POSIX: Likewise.
26120         * locales/ar_SA: Likewise.
26121         * locales/be_BY: Likewise.
26122         * locales/be_BY@latin: Likewise.
26123         * locales/ca_ES: Likewise.
26124         * locales/cs_CZ: Likewise.
26125         * locales/da_DK: Likewise.
26126         * locales/de_BE: Likewise.
26127         * locales/de_CH: Likewise.
26128         * locales/de_LU: Likewise.
26129         * locales/en_AU: Likewise.
26130         * locales/en_BW: Likewise.
26131         * locales/en_CA: Likewise.
26132         * locales/en_DK: Likewise.
26133         * locales/en_GB: Likewise.
26134         * locales/en_IE: Likewise.
26135         * locales/en_NZ: Likewise.
26136         * locales/en_ZA: Likewise.
26137         * locales/en_ZW: Likewise.
26138         * locales/es_AR: Likewise.
26139         * locales/es_BO: Likewise.
26140         * locales/es_CL: Likewise.
26141         * locales/es_CO: Likewise.
26142         * locales/es_DO: Likewise.
26143         * locales/es_EC: Likewise.
26144         * locales/es_ES: Likewise.
26145         * locales/es_HN: Likewise.
26146         * locales/es_MX: Likewise.
26147         * locales/es_PA: Likewise.
26148         * locales/es_PE: Likewise.
26149         * locales/es_PY: Likewise.
26150         * locales/es_SV: Likewise.
26151         * locales/es_US: Likewise.
26152         * locales/es_UY: Likewise.
26153         * locales/es_VE: Likewise.
26154         * locales/et_EE: Likewise.
26155         * locales/fa_IR: Likewise.
26156         * locales/fo_FO: Likewise.
26157         * locales/fr_CA: Likewise.
26158         * locales/fr_CH: Likewise.
26159         * locales/gv_GB: Likewise.
26160         * locales/he_IL: Likewise.
26161         * locales/hr_HR: Likewise.
26162         * locales/id_ID: Likewise.
26163         * locales/is_IS: Likewise.
26164         * locales/it_CH: Likewise.
26165         * locales/iw_IL: Likewise.
26166         * locales/kl_GL: Likewise.
26167         * locales/ko_KR: Likewise.
26168         * locales/kw_GB: Likewise.
26169         * locales/lg_UG: Likewise.
26170         * locales/lt_LT: Likewise.
26171         * locales/lv_LV: Likewise.
26172         * locales/mi_NZ: Likewise.
26173         * locales/nhn_MX: Likewise.
26174         * locales/nl_BE: Likewise.
26175         * locales/pl_PL: Likewise.
26176         * locales/sk_SK: Likewise.
26177         * locales/sl_SI: Likewise.
26178         * locales/sv_FI: Likewise.
26179         * locales/tl_PH: Likewise.
26180         * locales/tr_TR: Likewise.
26181         * locales/vi_VN: Likewise.
26183 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26185         [BZ #17475]
26186         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26187         of tu_IN and bh_IN.
26189 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26191         [BZ #18694]
26192         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26193         bits/wordsize.h.
26194         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26196 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26198         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26199         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26200         (spawn_thread): New function.
26201         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26202         (do_test): ... here.  Use IS_LOADED to test for its
26203         availability.
26205 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26207         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26209 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26211         [BZ #18696]
26212         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26213         si_addr_bnd.
26214         (si_lower): New.
26215         (si_upper): Likewise.
26217 2015-07-16  David S. Miller  <davem@davemloft.net>
26219         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26221 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26223         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26224         buffer.
26225         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26226         fail output information.
26228 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26231         and strstr-ppc64..
26232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26233         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26234         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26235         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26236         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26238 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26240         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26241         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26242         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26243         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26245 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26247         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26248         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26249         rtld_hidden_proto.
26250         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26252 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26254         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26255         the test can fail.
26257         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26259         [BZ #18676]
26260         * elf/tst-nodelete-opened.c: New test case.
26261         * elf/tst-nodelete-opened-lib.c: New test case module.
26262         * elf/Makefile (tests, modules-names): Use them.
26263         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26264         early.
26266 2015-07-15  David S. Miller  <davem@davemloft.net>
26268         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26269         futex-intenal.h
26270         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26271         * sysdeps/sparc/sparc64/Makefile: Likewise.
26272         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26273         Remove space from macro define.
26274         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26276 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26278         [BZ #17475]
26279         * locale/iso-639.def: Update Bhili and Tulu language codes as
26280         per iso639-3.
26282 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26284         * elf/tst-leaks1.c (main): Converted to ...
26285         (do_test): ... this.
26286         (TEST_FUNCTION): New macro.
26287         Include test-skeleton.c.
26288         * localedata/tst-langinfo.c (main): Converted to ...
26289         (do_test): ... this.
26290         (TEST_FUNCTION): New macro.
26291         Include test-skeleton.c.
26292         * math/test-fpucw.c (main): Converted to ...
26293         (do_test): ... this.
26294         (TEST_FUNCTION): New macro.
26295         Include test-skeleton.c.
26296         * math/test-tgmath.c (main): Converted to ...
26297         (do_test): ... this.
26298         (TEST_FUNCTION): New macro.
26299         Include test-skeleton.c.
26300         * math/test-tgmath2.c (main): Converted to ...
26301         (do_test): ... this.
26302         (TEST_FUNCTION): New macro.
26303         Include test-skeleton.c.
26304         * setjmp/tst-setjmp.c (main): Converted to ...
26305         (do_test): ... this.
26306         (TEST_FUNCTION): New macro.
26307         Include test-skeleton.c.
26308         * stdio-common/tst-sscanf.c (main): Converted to ...
26309         (do_test): ... this.
26310         (TEST_FUNCTION): New macro.
26311         Include test-skeleton.c.
26312         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26313         (do_test): ... this.
26314         (TEST_FUNCTION): New macro.
26315         Include test-skeleton.c.
26317         * elf/tst-audit9.c (main): Converted to ...
26318         (do_test): ... this.
26319         (TEST_FUNCTION): New macro.
26320         Include test-skeleton.c.
26322 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26324         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26326 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26328         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26329         New variable.
26331 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26333         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26335 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26337         * sysdeps/generic/dl-fileid.h: New file.
26338         * sysdeps/posix/dl-fileid.h: New file.
26339         * sysdeps/nacl/dl-fileid.h: New file.
26340         * include/link.h: Include <dl-fileid.h>.
26341         (struct link_map): Replace l_dev and l_ino with l_file_id.
26342         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26343         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26344         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26346 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26348         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26350 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26352         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26353         Add iff $CXX is set.
26354         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26355         Likewise.
26356         (tst-nodelete-zmodiff): Likewise.
26357         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26359 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26361         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26363 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26365         * sysdeps/aarch64/fpu/math_private.h
26366         (define math_opt_barrier): Add AArch64 version.
26367         (math_force_eval): Likewise.
26369 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26371         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26373 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26375         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26376         %ld with %jd and cast to intmax_t.
26377         (do_test_length_zero): Likewise.
26379 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26381         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26383 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26385         * sysdeps/tile/libm-test-ulps: Regenerated.
26387         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26388         Comment out the whole function, not just its body.
26390 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26392         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26393         locks.
26395         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26397 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26399         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26400         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26402 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26404         * sysdeps/nptl/futex-internal.h: New file.
26405         * sysdeps/nacl/futex-internal.h: New file.
26406         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26407         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26408         error checking.
26409         (setxid_unmark_thread): Likewise.
26410         (__nptl_setxid): Likewise.
26411         (__wait_lookup_done): Likewise.
26412         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26413         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26414         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26415         * nptl/pthread_once.c (clear_once_control): Likewise.
26416         (__pthread_once_slow): Likewise.
26417         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26418         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26419         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26420         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26421         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26422         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26423         Likewise.
26424         (__pthread_rwlock_rdlock): Likewise.
26425         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26426         Likewise.
26427         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26428         Likewise.
26429         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26430         Likewise.
26431         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26432         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26433         Likewise.
26434         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26435         __ASSUME_PRIVATE_FUTEX check.
26436         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26437         Check that shared futexes are supported.
26438         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26439         wrappers with error checking.
26440         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26441         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26442         * nptl/pthread_barrierattr_setpshared.c
26443         (pthread_barrierattr_setpshared): Check that shared futexes are
26444         supported.
26445         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26446         Likewise.
26447         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26448         Likewise.
26449         * nptl/sem_init.c (futex_private_if_supported): Remove.
26450         (__new_sem_init): Adapt and check that shared futexes are supported.
26451         * nptl/sem_open.c (sem_open): Likewise.
26452         * nptl/sem_post.c (futex_wake): Remove.
26453         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26454         (do_futex_wait): Use futex wrappers with error checking.
26455         * nptl/sem_wait.c: Include lowlevellock.h.
26456         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26457         Use futex_supports_pshared.
26458         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26459         Use futex wrappers with error checking.
26460         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26461         Likewise.
26462         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26463         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26464         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26465         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26466         (futex_wake): Likewise.
26467         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26468         (do_futex_wait): Use futex wrappers with error checking.
26469         (__new_sem_wait_slow): Update EINTR handling.
26470         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26472 2015-07-09  Martin Sebor  <msebor@redhat.com>
26474         [BZ #18435]
26475         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26476         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26477         * nptl/Makefile (test-xfail-tst-once5): Define.
26479 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26481         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26482         * elf/dl-minimal.c: For readability, reorder some definitions and
26483         introduce more page breaks.  Include <stdio.h>.
26484         (__libc_fatal): New function.
26486         * include/unistd.h: Add rtld_hidden_proto for _exit.
26487         * posix/_exit.c: Add rtld_hidden_def.
26488         * sysdeps/mach/hurd/_exit.c: Likewise.
26489         * sysdeps/nacl/_exit.c: Likewise.
26490         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
26491         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
26493 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
26495         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
26496         bndmov encoding with zero displacement.
26498 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26499             H.J. Lu  <hongjiu.lu@intel.com>
26501         [BZ #18134]
26502         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
26503         * sysdeps/i386/configure: Regenerated.
26504         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26505         (_dl_runtime_profile): Save and restore Intel MPX return bound
26506         registers when calling _dl_call_pltexit.  Add
26507         PRESERVE_BND_REGS_PREFIX before return.
26508         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
26509         (LRV_BND1_OFFSET): Likewise.
26510         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
26511         lrv_bnd1.
26512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
26513         typo in bndmov encoding.
26514         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
26515         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
26516         branch instructions to preserve bounds.
26518 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
26521         [GLIBC_2.22]: Add fmemopen.
26523 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26525         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
26526         returns an error, also try to use host port from __mach_host_self for
26527         the __vm_wire call.
26528         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
26530 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26532         [BZ #18400]
26533         [BZ #18648]
26534         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
26535         Fix pr_uid and pr_gid members.
26536         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
26537         definition to elf_greg_t.
26539 2015-07-08  Roland McGrath  <roland@hack.frob.com>
26541         [BZ #18383]
26542         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
26543         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
26544         * sysdeps/arm/configure: Regenerated.
26545         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
26546         (test-xfail-tst-tlsalign-static): Variable removed.
26548         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
26549         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
26550         rather than explicit 'ln -s'.
26552         * resolv/rpc/netdb.h: New file.
26553         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
26555 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26557         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
26558         length buffers.
26559         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26560         test-skeleton.c.
26562         [BZ #6544]
26563         [BZ #11216]
26564         [BZ #12836]
26565         [BZ #13151]
26566         [BZ #13152]
26567         [BZ #14292]
26568         * include/stdio.h (fmemopen): Remove hidden prototype.
26569         (__fmemopen): Add new hidden prototype.
26570         * libio/Makefile: Add oldfmemopen object.
26571         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
26572         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
26573         compliance.
26574         * libio/oldfmemopen.c: New file: old fmemopen implementation for
26575         symbol compatibility.
26576         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
26577         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
26578         fmemopen.
26579         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
26580         on append and read mode.
26581         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
26582         fmemopen.
26583         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
26584         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
26585         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
26586         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
26587         Likewise.
26588         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
26589         [GLIBC_2.22]: Likewise.
26590         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
26591         Likewise.
26592         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
26593         Likewise.
26594         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
26595         [GLIBC_2.22]: Likewise.
26596         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
26597         [GLIBC_2.22]: Likewise.
26598         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
26599         [GLIBC_2.22]: Likewise.
26600         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
26601         [GLIBC_2.22]: Likewise.
26602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
26603         [GLIBC_2.22]: Likewise.
26604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
26605         [GLIBC_2.22]: Likewise.
26606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
26607         [GLIBC_2.22]: Likewise.
26608         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
26609         Likewise.
26610         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
26611         Likewise.
26612         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
26613         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
26614         [GLIBC_2.22]: Likewise.
26615         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
26616         [GLIBC_2.22]: Likewise.
26617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
26618         [GLIBC_2.22]: Likewise.
26619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
26620         [GLIBC_2.22]: Likewise.
26621         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
26622         Likewise.
26623         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
26624         Likewise.
26625         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
26626         Likewise.
26627         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
26628         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
26630 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26632         [BZ #18643]
26633         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
26634         IPV6_PATHMTU, and IPV6_DONTFRAG.
26636 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
26638         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
26639         and _IO_UNBUFFERED.
26640         * libio/oldfileops.c: Likewise.
26641         * libio/wfileops.c: Likewise.
26643 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26645         * nscd/selinux.c: Delete selinux/flask.h include.
26647 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26649         [BZ #18641]
26650         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
26651         (putpwent): Likewise.
26652         (getpwnam): Likewise.
26653         (getpwent_r): Likewise.
26654         (getpwuid_r): Likewise.
26655         (getpwnam_r): Likewise.
26656         (fgetpwent_r): Likewise.
26658 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26660         [BZ #18557]
26661         * inet/rcmd.c (__validuser2_sa): Check user first to
26662         short-circuit host check.
26664 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
26665             Mikhail Ilin  <m.ilin@samsung.com>
26667         [BZ #17833]
26668         * elf/Makefile (tests): Add tst-nodelete.
26669         (modules-names): Add tst-nodelete-uniquemod.
26670         (tst-nodelete-uniquemod.so-no-z-defs): New.
26671         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
26672         (tst-nodelete-zmod.so-no-z-defs): Likewise.
26673         ($(objpfx)tst-nodelete): Likewise.
26674         ($(objpfx)tst-nodelete.out): Likewise.
26675         (LDFLAGS-tst-nodelete): Likewise.
26676         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
26677         * elf/dl-close.c (_dl_close_worker): Add a parameter to
26678         implement forced object deletion.
26679         (_dl_close): Pass false to _dl_close_worker.
26680         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
26681         * elf/tst-nodelete.cc: New file.
26682         * elf/tst-nodeletelib.cc: Likewise.
26683         * elf/tst-znodeletelib.cc: Likewise.
26684         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
26686 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26688         [BZ #18508]
26689         * stdlib/Makefile ($(objpfx)tst-makecontext3):
26690         Depend on $(libdl).
26691         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
26692         is not called infinitely times.
26693         (backtrace_helper): New function.
26694         (trace_arg): New struct.
26695         (st1): Enlarge stack size.
26696         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26697         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
26698         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26699         Likewise.
26701 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26703         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26705 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26707         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
26708         Include sys/types.h instead of bits/types.h.
26709         Remove inclusion of bits/wordsize.h.
26711 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26713         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
26714         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
26715         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
26716         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
26717         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
26718         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
26720 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26722         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
26723         link-defines.sym.
26724         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
26725         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
26726         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
26727         and LR_SIZE.
26728         * sysdeps/i386/link-defines.sym: New file.
26730 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26732         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
26733         (modules-names): Add tst-auditmod3a tst-auditmod3b.
26734         ($(objpfx)tst-audit3): New rule.
26735         ($(objpfx)tst-audit3.out): Likewise.
26736         * sysdeps/i386/tst-audit3.c: New file.
26737         * sysdeps/i386/tst-audit3.h: Likewise.
26738         * sysdeps/i386/tst-auditmod3a.c: Likewise.
26739         * sysdeps/i386/tst-auditmod3b.c: Likewise.
26741 2015-07-07  Torvald Riegel  <triegel@redhat.com>
26743         [BZ #18633]
26744         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
26745         pointer in C code.
26746         (__strcat_c): Likewise.
26747         (__strcat_g): Likewise.
26749 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
26751         [BZ #18592]
26752         * misc/sbrk.c: Set errno to ENOMEM on overflow.
26754 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26756         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
26757         New function.  (__ieee754_sqrtf): New function.
26758         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
26759         New function.
26760         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
26761         New function.
26763 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26765         * sysdeps/ieee754/support.c: Remove unused file.
26767 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26769         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26770         registers instead of d ones so the layout is kernel abi compatible.
26771         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26772         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26773         Likewise.
26775 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26777         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26779 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26781         [BZ #18619]
26782         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26783         and return argument in case of subnormal argument.
26785 2015-07-01  Martin Sebor  <msebor@redhat.com>
26787         [BZ #18435]
26788         * nptl/Makefile: Add tst-once5.cc.
26789         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26790         Remove macro redefinitions.
26791         * nptl/tst-once5.cc: New test.
26793 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26795         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26797         * sysdeps/arm/libm-test-ulps: Regenerated.
26799         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26800         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26802 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26804         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26805         lll_lock_wait_private and lll_futex_wake probes.
26807         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26808         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
26809         Likewise.
26810         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
26811         atomic_spin_nop.
26812         * sysdeps/x86_64/bits/atomic.h: Likewise.
26813         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
26814         to atomic_spin_nop and move ...
26815         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26816         ... here and ...
26817         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26818         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
26819         atomic_spin_nop instead of BUSY_WAIT_NOP.
26820         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
26821         Likewise.
26822         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
26823         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26824         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
26825         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
26826         instead of atomic_delay.
26828 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
26830         [BZ #18613]
26831         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
26832         X_ADJ not X when adjusting exponent.
26833         (__ieee754_gamma_r): Do intermediate computations in
26834         round-to-nearest then adjust overflowing and underflowing results
26835         as needed.
26836         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
26837         of X_ADJ not X when adjusting exponent.
26838         (__ieee754_gammaf_r): Do intermediate computations in
26839         round-to-nearest then adjust overflowing and underflowing results
26840         as needed.
26841         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
26842         log of X_ADJ not X when adjusting exponent.
26843         (__ieee754_gammal_r): Do intermediate computations in
26844         round-to-nearest then adjust overflowing and underflowing results
26845         as needed.  Use 1.0L not 1.0f as numerator of division.
26846         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
26847         log of X_ADJ not X when adjusting exponent.
26848         (__ieee754_gammal_r): Do intermediate computations in
26849         round-to-nearest then adjust overflowing and underflowing results
26850         as needed.  Use 1.0L not 1.0f as numerator of division.
26851         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
26852         of X_ADJ not X when adjusting exponent.
26853         (__ieee754_gammal_r): Do intermediate computations in
26854         round-to-nearest then adjust overflowing and underflowing results
26855         as needed.  Use 1.0L not 1.0f as numerator of division.
26856         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
26857         to auto-libm-test-in.
26858         (tgamma_test): Use ALL_RM_TEST.
26859         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
26860         tests of tgamma with spurious-overflow.
26861         * math/auto-libm-test-out: Regenerated.
26862         * math/gen-libm-have-vector-test.sh: Do not check for START.
26863         * sysdeps/i386/fpu/libm-test-ulps: Update.
26864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26866         [BZ #18612]
26867         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
26868         arguments, just return 0.5 times the argument, with underflow
26869         forced as needed.
26870         * math/auto-libm-test-in: Add more tests of j1.
26871         * math/auto-libm-test-out: Regenerated.
26873         [BZ #16559]
26874         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
26875         (__ieee754_j1): Force underflow exception for small results.
26876         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26877         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
26878         (__ieee754_j1f): Force underflow exception for small results.
26879         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26880         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26882         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
26883         (__ieee754_j1l): Force underflow exception for small results.
26884         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26885         * math/auto-libm-test-in: Add more tests of j1 and jn.
26886         * math/auto-libm-test-out: Regenerated.
26888         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
26889         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
26890         (PF_MPLS): Likewise.
26891         (AF_IB): Likewise.
26892         (AF_MPLS): Likewise.
26893         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
26894         value and macro.
26895         (MS_RMT_MASK): Include MS_LAZYTIME.
26897 2015-06-26  Mel Gorman  <mgorman@suse.de>
26899         [BZ #18502]
26900         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
26901         already minimal.
26903 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
26905         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
26906         (DT_MIPS_NUM): Update.
26907         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
26908         DT_MIPS_RLD_MAP_REL.
26910 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
26912         [BZ #16559]
26913         [BZ #18602]
26914         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
26915         round-to-nearest internally then recompute results that
26916         underflowed to zero in the original rounding mode.
26917         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26918         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26920         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26921         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26922         * sysdeps/i386/fpu/libm-test-ulps: Update.
26923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26925 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26927         * NEWS: Fixed description of link with vector math library.
26929 2015-06-25  Andreas Schwab  <schwab@suse.de>
26931         [BZ #18549]
26932         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
26933         * libio/test-fmemopen.c (do_test): Add test for it.
26935 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26937         [BZ #17841]
26938         * Makeconfig (no-pie-ldflag): New.
26939         (+link): Set to $(+link-pie) if default to PIE.
26940         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
26941         * config.make.in (build-pie-default): New.
26942         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
26943         is default.  AC_SUBST.
26944         * configure: Regenerated.
26945         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
26947 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26949         * nptl/descr.h (struct pthread): Change type of field setxid_futex
26950         to 'unsigned int'.
26952         * resolv/gai_misc.h (struct waitlist): Change type of field
26953         counterp to 'volatile unsigned int *'.
26954         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
26955         FUTEXADDR and OLDVAL.
26956         * resolv/getaddrinfo_a.c (getaddrinfo_a):
26957         Give local variable TOTAL type 'volatile unsigned int'.
26958         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26959         * resolv/gai_suspend.c (gai_suspend):
26960         Give local variable CNTR type 'unsigned int'.
26962         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
26963         counterp to 'volatile unsigned int *'.
26964         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
26965         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
26966         (aio_suspend): Give local variable CNTR type 'unsigned int'.
26967         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
26968         Give local variable TOTAL type 'volatile unsigned int'.
26969         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26971 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26973         [BZ #18383]
26974         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
26975         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
26976         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
26977         comment for i386/x86-64.
26978         (test-xfail-tst-tlsalign-extern-static): Removed.
26980 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26982         * math/test-double.h: New file.
26983         * math/test-float.h: Likewise.
26984         * math/test-ldouble.h: Likewise.
26985         * math/test-math-inline.h: Likewise.
26986         * math/test-math-no-inline.h: Likewise.
26987         * math/test-math-scalar.h: Likewise.
26988         * math/test-math-vector.h: Likewise.
26989         * math/test-vec-loop.h: Remove file.  Contents moved into
26990         test-math-vector.h.
26991         * math/libm-test.inc (MATHCONST): Do not document macro.
26992         * math/test-double.c: Include test-double.h, test-math-no-inline.h
26993         and test-math-scalar.h.
26994         (FUNC): Remove macro.
26995         (FUNC_TEST): Likewise.
26996         (FLOAT): Likewise.
26997         (MATHCONST): Likewise.
26998         (PRINTF_EXPR): Likewise.
26999         (PRINTF_XEXPR): Likewise.
27000         (PRINTF_NEXPR): Likewise.
27001         (TEST_DOUBLE): Likewise.
27002         (TEST_MATHVEC): Likewise.
27003         (__NO_MATH_INLINES): Likewise.
27004         * math/test-float.c: Include test-float.h, test-math-no-inline.h
27005         and test-math-scalar.h.
27006         (FUNC): Remove macro.
27007         (FUNC_TEST): Likewise.
27008         (FLOAT): Likewise.
27009         (MATHCONST): Likewise.
27010         (PRINTF_EXPR): Likewise.
27011         (PRINTF_XEXPR): Likewise.
27012         (PRINTF_NEXPR): Likewise.
27013         (TEST_FLOAT): Likewise.
27014         (TEST_MATHVEC): Likewise.
27015         (__NO_MATH_INLINES): Likewise.
27016         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27017         and test-math-scalar.h.
27018         (FUNC): Remove macro.
27019         (FUNC_TEST): Likewise.
27020         (FLOAT): Likewise.
27021         (MATHCONST): Likewise.
27022         (PRINTF_EXPR): Likewise.
27023         (PRINTF_XEXPR): Likewise.
27024         (PRINTF_NEXPR): Likewise.
27025         (TEST_DOUBLE): Likewise.
27026         (TEST_MATHVEC): Likewise.
27027         (TEST_INLINE): Likewise.
27028         (__NO_MATH_INLINES): Likewise.
27029         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27030         test-math-scalar.h.
27031         (FUNC): Remove macro.
27032         (FUNC_TEST): Likewise.
27033         (FLOAT): Likewise.
27034         (MATHCONST): Likewise.
27035         (PRINTF_EXPR): Likewise.
27036         (PRINTF_XEXPR): Likewise.
27037         (PRINTF_NEXPR): Likewise.
27038         (TEST_FLOAT): Likewise.
27039         (TEST_MATHVEC): Likewise.
27040         (TEST_INLINE): Likewise.
27041         (__NO_MATH_INLINES): Likewise.
27042         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27043         and test-math-scalar.h.
27044         (FUNC): Remove macro.
27045         (FUNC_TEST): Likewise.
27046         (FLOAT): Likewise.
27047         (MATHCONST): Likewise.
27048         (PRINTF_EXPR): Likewise.
27049         (PRINTF_XEXPR): Likewise.
27050         (PRINTF_NEXPR): Likewise.
27051         (TEST_LDOUBLE): Likewise.
27052         (TEST_MATHVEC): Likewise.
27053         (TEST_INLINE): Likewise.
27054         (__NO_MATH_INLINES): Likewise.
27055         * math/test-ldouble.c: Include test-ldouble.h,
27056         test-math-no-inline.h and test-math-scalar.h.
27057         (FUNC): Remove macro.
27058         (FUNC_TEST): Likewise.
27059         (FLOAT): Likewise.
27060         (MATHCONST): Likewise.
27061         (PRINTF_EXPR): Likewise.
27062         (PRINTF_XEXPR): Likewise.
27063         (PRINTF_NEXPR): Likewise.
27064         (TEST_LDOUBLE): Likewise.
27065         (TEST_MATHVEC): Likewise.
27066         (__NO_MATH_INLINES): Likewise.
27067         * math/test-double-vlen2.h: Include test-double.h,
27068         test-math-no-inline.h and test-math-vector.h.
27069         (FLOAT): Remove macro.
27070         (FUNC): Likewise.
27071         (MATHCONST): Likewise.
27072         (PRINTF_EXPR): Likewise.
27073         (PRINTF_XEXPR): Likewise.
27074         (PRINTF_NEXPR): Likewise.
27075         (TEST_DOUBLE): Likewise.
27076         (TEST_MATHVEC): Likewise.
27077         (__NO_MATH_INLINES): Likewise.
27078         (CNCT): Likewise.
27079         (CONCAT): Likewise.
27080         (WRAPPER_NAME): Likewise.
27081         (WRAPPER_DECL): Likewise.
27082         (WRAPPER_DECL_ff): Likewise.
27083         (WRAPPER_DECL_fFF): Likewise.
27084         (VECTOR_WRAPPER): Likewise.
27085         (VECTOR_WRAPPER_ff): Likewise.
27086         (VECTOR_WRAPPER_fFF): Likewise.
27087         (VEC_LEN): New macro.
27088         * math/test-double-vlen4.h: Include test-double.h,
27089         test-math-no-inline.h and test-math-vector.h.
27090         (FLOAT): Remove macro.
27091         (FUNC): Likewise.
27092         (MATHCONST): Likewise.
27093         (PRINTF_EXPR): Likewise.
27094         (PRINTF_XEXPR): Likewise.
27095         (PRINTF_NEXPR): Likewise.
27096         (TEST_DOUBLE): Likewise.
27097         (TEST_MATHVEC): Likewise.
27098         (__NO_MATH_INLINES): Likewise.
27099         (CNCT): Likewise.
27100         (CONCAT): Likewise.
27101         (WRAPPER_NAME): Likewise.
27102         (WRAPPER_DECL): Likewise.
27103         (WRAPPER_DECL_ff): Likewise.
27104         (WRAPPER_DECL_fFF): Likewise.
27105         (VECTOR_WRAPPER): Likewise.
27106         (VECTOR_WRAPPER_ff): Likewise.
27107         (VECTOR_WRAPPER_fFF): Likewise.
27108         (VEC_LEN): New macro.
27109         * math/test-double-vlen8.h: Include test-double.h,
27110         test-math-no-inline.h and test-math-vector.h.
27111         (FLOAT): Remove macro.
27112         (FUNC): Likewise.
27113         (MATHCONST): Likewise.
27114         (PRINTF_EXPR): Likewise.
27115         (PRINTF_XEXPR): Likewise.
27116         (PRINTF_NEXPR): Likewise.
27117         (TEST_DOUBLE): Likewise.
27118         (TEST_MATHVEC): Likewise.
27119         (__NO_MATH_INLINES): Likewise.
27120         (CNCT): Likewise.
27121         (CONCAT): Likewise.
27122         (WRAPPER_NAME): Likewise.
27123         (WRAPPER_DECL): Likewise.
27124         (WRAPPER_DECL_ff): Likewise.
27125         (WRAPPER_DECL_fFF): Likewise.
27126         (VECTOR_WRAPPER): Likewise.
27127         (VECTOR_WRAPPER_ff): Likewise.
27128         (VECTOR_WRAPPER_fFF): Likewise.
27129         (VEC_LEN): New macro.
27130         * math/test-float-vlen4.h: Include test-float.h,
27131         test-math-no-inline.h and test-math-vector.h.
27132         (FLOAT): Remove macro.
27133         (FUNC): Likewise.
27134         (MATHCONST): Likewise.
27135         (PRINTF_EXPR): Likewise.
27136         (PRINTF_XEXPR): Likewise.
27137         (PRINTF_NEXPR): Likewise.
27138         (TEST_FLOAT): Likewise.
27139         (TEST_MATHVEC): Likewise.
27140         (__NO_MATH_INLINES): Likewise.
27141         (CNCT): Likewise.
27142         (CONCAT): Likewise.
27143         (WRAPPER_NAME): Likewise.
27144         (WRAPPER_DECL): Likewise.
27145         (WRAPPER_DECL_ff): Likewise.
27146         (WRAPPER_DECL_fFF): Likewise.
27147         (VECTOR_WRAPPER): Likewise.
27148         (VECTOR_WRAPPER_ff): Likewise.
27149         (VECTOR_WRAPPER_fFF): Likewise.
27150         (VEC_LEN): New macro.
27151         * math/test-float-vlen8.h: Include test-float.h,
27152         test-math-no-inline.h and test-math-vector.h.
27153         (FLOAT): Remove macro.
27154         (FUNC): Likewise.
27155         (MATHCONST): Likewise.
27156         (PRINTF_EXPR): Likewise.
27157         (PRINTF_XEXPR): Likewise.
27158         (PRINTF_NEXPR): Likewise.
27159         (TEST_FLOAT): Likewise.
27160         (TEST_MATHVEC): Likewise.
27161         (__NO_MATH_INLINES): Likewise.
27162         (CNCT): Likewise.
27163         (CONCAT): Likewise.
27164         (WRAPPER_NAME): Likewise.
27165         (WRAPPER_DECL): Likewise.
27166         (WRAPPER_DECL_ff): Likewise.
27167         (WRAPPER_DECL_fFF): Likewise.
27168         (VECTOR_WRAPPER): Likewise.
27169         (VECTOR_WRAPPER_ff): Likewise.
27170         (VECTOR_WRAPPER_fFF): Likewise.
27171         (VEC_LEN): New macro.
27172         * math/test-float-vlen16.h: Include test-float.h,
27173         test-math-no-inline.h and test-math-vector.h.
27174         (FLOAT): Remove macro.
27175         (FUNC): Likewise.
27176         (MATHCONST): Likewise.
27177         (PRINTF_EXPR): Likewise.
27178         (PRINTF_XEXPR): Likewise.
27179         (PRINTF_NEXPR): Likewise.
27180         (TEST_FLOAT): Likewise.
27181         (TEST_MATHVEC): Likewise.
27182         (__NO_MATH_INLINES): Likewise.
27183         (CNCT): Likewise.
27184         (CONCAT): Likewise.
27185         (WRAPPER_NAME): Likewise.
27186         (WRAPPER_DECL): Likewise.
27187         (WRAPPER_DECL_ff): Likewise.
27188         (WRAPPER_DECL_fFF): Likewise.
27189         (VECTOR_WRAPPER): Likewise.
27190         (VECTOR_WRAPPER_ff): Likewise.
27191         (VECTOR_WRAPPER_fFF): Likewise.
27192         (VEC_LEN): New macro.
27193         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27194         test-vec-loop.h.
27195         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27196         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27197         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27198         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27199         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27200         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27201         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27203 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27205         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27206         (__getlogin_r): ... this.
27208 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27210         [BZ #18594]
27211         * math/s_ccosh.c (__ccosh): Compare with least normal value
27212         instead of comparing class with FP_SUBNORMAL.
27213         * math/s_ccoshf.c (__ccoshf): Likewise.
27214         * math/s_ccoshl.c (__ccoshl): Likewise.
27215         * math/s_cexp.c (__cexp): Likewise.
27216         * math/s_cexpf.c (__cexpf): Likewise.
27217         * math/s_cexpl.c (__cexpl): Likewise.
27218         * math/s_csin.c (__csin): Likewise.
27219         * math/s_csinf.c (__csinf): Likewise.
27220         * math/s_csinh.c (__csinh): Likewise.
27221         * math/s_csinhf.c (__csinhf): Likewise.
27222         * math/s_csinhl.c (__csinhl): Likewise.
27223         * math/s_csinl.c (__csinl): Likewise.
27224         * math/s_ctan.c (__ctan): Likewise.
27225         * math/s_ctanf.c (__ctanf): Likewise.
27226         * math/s_ctanh.c (__ctanh): Likewise.
27227         * math/s_ctanhf.c (__ctanhf): Likewise.
27228         * math/s_ctanhl.c (__ctanhl): Likewise.
27229         * math/s_ctanl.c (__ctanl): Likewise.
27230         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27231         csin, csinh, ctan and ctanh.
27232         * math/auto-libm-test-out: Regenerated.
27233         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27234         * sysdeps/i386/fpu/libm-test-ulps: Update.
27235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27237 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27239         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27240         return value is wrong, print the expected value too.
27242 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27244         [BZ #18585]
27245         * elf/readlib.c (is_gdb_python_file): New.
27246         (process_file): Don't issue errors on filenames with -gdb.py
27247         suffix.
27249 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27251         * math/auto-libm-test-in: Add more tests of csin and csinh.
27252         * math/auto-libm-test-out: Regenerated.
27253         * math/libm-test.inc (csin_test_data): Remove tests moved to
27254         auto-libm-test-in.
27255         (csinh_test_data): Likewise.
27257         [BZ #18593]
27258         * math/s_csin.c (__csin): Negate before rather than after possibly
27259         overflowing multiplication.
27260         * math/s_csinf.c (__csinf): Likewise.
27261         * math/s_csinh.c (__csinh): Likewise.
27262         * math/s_csinhf.c (__csinhf): Likewise.
27263         * math/s_csinhl.c (__csinhl): Likewise.
27264         * math/s_csinl.c (__csinl): Likewise.
27265         * math/auto-libm-test-in: Add some tests of csin and csinh.
27266         * math/auto-libm-test-out: Regenerated.
27267         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27268         (csinh_test_data): Likewise.
27269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27271         [BZ #18586]
27272         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27273         underflow exception for small results.
27275 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27277         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27278         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27279         variable and included header.
27280         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27281         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27282         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27283         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27284         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27286         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27287         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27288         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27289         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27290         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27291         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27292         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27293         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27294         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27295         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27297 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27299         [BZ #16526]
27300         [BZ #16538]
27301         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27302         (__sin): Force underflow exception for arguments with small
27303         absolute value.
27304         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27305         (__kernel_sinf): Force underflow exception for arguments with
27306         small absolute value.
27307         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27308         (__kernel_sincosl): Force underflow exception for arguments with
27309         small absolute value.
27310         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27311         (__kernel_sinl): Force underflow exception for arguments with
27312         small absolute value.
27313         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27314         (__kernel_sincosl): Force underflow exception for arguments with
27315         small absolute value.
27316         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27317         (__kernel_sinl): Force underflow exception for arguments with
27318         small absolute value.
27319         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27320         (__kernel_sinl): Force underflow exception for arguments with
27321         small absolute value.
27322         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27323         (__kernel_sinf): Force underflow exception for arguments with
27324         small absolute value.
27325         * math/auto-libm-test-in: Add more tests of sin and sincos.
27326         * math/auto-libm-test-out: Regenerated.
27328         [BZ #18245]
27329         [BZ #18583]
27330         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27331         (__kernel_standard_l): Use feholdexcept and fesetenv around
27332         conversion to double instead of special-casing overflow and
27333         underflow.
27334         * math/libm-test.inc (fmod_test_data): Add more tests.
27335         (remainder_test_data): Likewise.
27336         (sqrt_test_data): Likewise.
27338 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27340         [BZ #17403]
27341         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27342         atomic_read_barrier, atomic_write_barrier): Define.
27343         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27344         atomic_read_barrier, atomic_write_barrier): Define.
27346 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27348         * math/Makefile [$(PERL) != no]
27349         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27350         dependency on libm-test.stmp below the inclusion of Rules.
27352 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27355         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27356         and included header.
27357         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27358         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27359         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27360         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27361         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27364         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27365         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27366         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27367         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27368         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27369         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27370         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27371         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27372         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27373         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27374         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27375         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27377 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27379         [BZ #18371]
27380         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27381         intermediate but not final result might underflow.
27382         * math/s_csqrtf.c (__csqrtf): Likewise.
27383         * math/s_csqrtl.c (__csqrtl): Likewise.
27384         * math/auto-libm-test-in: Add more tests of csqrt.
27385         * math/auto-libm-test-out: Regenerated.
27386         * sysdeps/i386/fpu/libm-test-ulps: Update.
27388         [BZ #18219]
27389         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27390         threshold on absolute value of exponent for which scaling is used.
27391         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27392         * math/auto-libm-test-in: Add more tests of exp2.
27393         * math/auto-libm-test-out: Regenerated.
27395 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27397         [BZ #17977]
27398         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27399         when initializing interface list, based on the bug analysis
27400         and the patch proposed by Eric Newton.
27401         * resolv/tst-res_hconf_reorder.c: New test.
27402         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27403         tst-res_hconf_reorder.
27404         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27405         and $(shared-thread-library).
27406         (tst-res_hconf_reorder-ENV): New variable.
27408         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27409         in comment.
27411 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27413         [BZ #16353]
27414         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27415         (__expm1): Force underflow exception for arguments with small
27416         absolute value.
27417         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27418         (__expm1f): Force underflow exception for arguments with small
27419         absolute value.
27420         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27421         (__expm1): Force underflow exception for arguments with small
27422         absolute value.
27423         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27424         (__expm1f): Force underflow exception for arguments with small
27425         absolute value.
27426         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27427         Check for small arguments before calling __expm1.
27428         * math/auto-libm-test-in: Do not mark underflow exceptions as
27429         possibly missing for bug 16353.
27430         * math/auto-libm-test-out: Regenerated.
27432 2015-06-22  Andreas Schwab  <schwab@suse.de>
27434         [BZ #18513]
27435         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27436         PTR queries.
27438 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27440         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27442         * string/strcoll_l.c: Remove unused struct element idxnow.
27444 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27446         [BZ #18569]
27447         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27448         underflow and return argument in case of subnormal argument.
27449         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27450         Likewise.
27451         * math/auto-libm-test-in: Add more tests of expm1.
27452         * math/auto-libm-test-out: Regenerated.
27454         [BZ #16361]
27455         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27456         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27457         tiny results.
27458         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27459         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27460         tiny results.
27461         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27462         mark underflow exceptions as possibly missing for bug 16361.
27463         * math/auto-libm-test-out: Regenerated.
27465 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27467         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27468         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27469         Remove variable.
27470         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27471         (test-xfail-XOPEN2K8/utmpx.h/conform).
27473         * conform/conformtest.pl ($xerrors): New variable.
27474         (note_error): New function.
27475         (compiletest): New argument $xfail.  Use not_error.
27476         (runtest): Likewise.
27477         (top level): Handle xfail- lines.  Update calls to compiletest and
27478         runtest.  Handle xfail- and optional- in headers listed with
27479         allow-header.
27480         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27481         (O_EXEC): Likewise.
27482         (O_SEARCH): Likewise.
27483         * conform/data/stropts.h-data (ioctl): Likewise.
27484         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
27485         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
27486         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
27487         (msghdr.msg_controllen): Likewise.
27488         (cmsghdr.cmsg_len): Likewise.
27489         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
27490         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
27491         variable.
27492         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27493         (test-xfail-XPG4/stropts.h/conform): Likewise.
27494         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27495         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27496         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27497         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27498         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27499         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27500         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27501         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27502         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27503         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27504         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27505         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27506         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27507         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27508         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27509         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27510         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27511         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27512         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27514 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27516         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
27517         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
27518         definitions for proper unfolding of __MATHDECL_VEC.
27520 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27522         * benchtests/bench-strcoll.c:
27523         Include string.h.
27524         (main): Remove unused variable res.
27526 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27528         * timezone/Makefile (%/UTC %/Universal):
27529         Generate test-result files for UTC and Universal.
27531 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27533         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27535 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
27537         [BZ #16350]
27538         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
27539         for arguments with small absolute value.
27540         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
27541         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
27542         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
27543         (__asinh): Force underflow exception for arguments with small
27544         absolute value.
27545         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
27546         (__asinhf): Force underflow exception for arguments with small
27547         absolute value.
27548         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
27549         (__asinhl): Force underflow exception for arguments with small
27550         absolute value.
27551         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
27552         (__asinhl): Force underflow exception for arguments with small
27553         absolute value.
27554         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
27555         (__asinhl): Force underflow exception for arguments with small
27556         absolute value.
27557         * math/auto-libm-test-in: Do not mark underflow exceptions as
27558         possibly missing for bug 16350.
27559         * math/auto-libm-test-out: Regenerated.
27561         * include/bits/ipc.h: Remove file.
27562         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
27563         variable.
27564         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27565         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27566         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27567         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27568         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27569         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27570         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27571         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27572         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27574         * math/auto-libm-test-in: Remove spurious underflow allowance for
27575         tests of cexp.
27576         * math/auto-libm-test-out: Regenerated.
27578         [BZ #18558]
27579         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
27580         unconditional definition.
27581         (MCAST_BLOCK_SOURCE): Likewise.
27582         (MCAST_UNBLOCK_SOURCE): Likewise.
27583         (MCAST_LEAVE_GROUP): Likewise.
27584         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27585         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27586         (MCAST_MSFILTER): Likewise.
27587         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
27588         Remove variable.
27589         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27590         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27591         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27592         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27593         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27595 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
27597         * NEWS: Mention addition of x86_64 vector sincosf.
27598         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
27599         * math/test-float-vlen4.h: Likewise.
27600         * math/test-float-vlen8.h: Likewise.
27601         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27602         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
27603         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27604         * sysdeps/x86_64/fpu/Versions: New versions added.
27605         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27607         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27608         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
27609         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
27610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
27611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
27612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
27613         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
27614         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
27615         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
27616         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
27617         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
27618         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
27619         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
27620         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
27621         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
27622         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27623         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27624         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27625         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27626         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27627         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27628         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27630         * NEWS: Mention addition of x86_64 vector sincos.
27631         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
27632         * math/math.h (__MATHDECL_VEC): New macro.
27633         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
27634         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
27635         declaration under condition.
27636         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
27637         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
27638         TEST_VEC_LOOP change.
27639         * math/test-double-vlen4.h: Likewise.
27640         * math/test-double-vlen8.h: Likewise.
27641         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
27642         * math/test-float-vlen4.h: Likewise.
27643         * math/test-float-vlen8.h: Likewise.
27644         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27645         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
27646         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27647         * sysdeps/x86_64/fpu/Versions: New versions added.
27648         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27649         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27650         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27651         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
27652         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
27653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
27654         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
27655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
27656         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
27657         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
27658         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
27659         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
27660         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
27661         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
27662         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
27663         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
27664         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
27665         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27666         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27667         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27668         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27669         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27670         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27671         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27673         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27674         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27675         redirections for powf.
27676         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27677         * sysdeps/x86_64/fpu/Versions: New versions added.
27678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27679         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27680         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27681         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
27682         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
27683         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
27684         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
27685         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
27686         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
27687         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
27688         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
27689         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
27690         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
27691         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
27692         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
27693         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
27694         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
27695         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27696         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27697         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27698         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27699         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27700         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27701         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27702         * math/test-float-vlen16.h: Fixed 2 argument macro.
27703         * math/test-float-vlen4.h: Likewise.
27704         * math/test-float-vlen8.h: Likewise.
27705         * NEWS: Mention addition of x86_64 vector powf.
27707 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
27709         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27710         and redefine.
27711         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27712         and redefine.
27713         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
27714         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27715         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27717         [BZ #18553]
27718         * resource/getpriority.c (getpriority): Rename to __getpriority
27719         and define as weak alias of __getpriority.
27720         * resource/setpriority.c (setpriority): Rename to __setpriority
27721         and define as weak alias of __setpriority.
27722         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
27723         __getpriority and define as weak alias of __getpriority.
27724         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
27725         __setpriority and define as weak alias of __setpriority.
27726         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
27727         strong name.
27728         (setpriority): Use __setpriority as strong name.
27729         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
27730         __getpriority and define as weak alias of __getpriority.
27731         * include/sys/resource.h (__getpriority): Declare.  Use
27732         libc_hidden_proto.
27733         (__setpriority): Likewise.
27734         (getpriority): Don't use libc_hidden_proto.
27735         (setpriority): Likewise.
27736         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
27737         getpriority.  Call __setpriority instead of setpriority.
27738         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
27739         Remove variable.
27741         [BZ #18547]
27742         * misc/getttyent.c (getttynam): Rename to __getttynam and define
27743         as weak alias of __getttynam.  Use prototype function definition.
27744         Call __setttyent, __getttyent and __endttyent instead of
27745         setttyent, getttyent and endttyent.
27746         (getttyent): Rename to __getttyent and define as weak alias of
27747         __getttyent.  Call __setttyent instead of setttyent.  Call
27748         __fgets_unlocked instead of fgets_unlocked.
27749         (setttyent): Rename to __setttyent and define as weak alias of
27750         __setttyent.
27751         (endttyent): Rename to __endttyent and define as weak alias of
27752         __endttyent.
27753         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
27754         (__setttyent): Likewise.
27755         (__endttyent): Likewise.
27756         (getttyent): Don't use libc_hidden_proto.
27757         (setttyent): Likewise.
27758         (endttyent): Likewise.
27759         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
27760         __endttyent instead of setttyent, getttyent and endttyent.
27761         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27762         Remove variable.
27764         [BZ #18546]
27765         * socket/recv.c (__recv): Use libc_hidden_def.
27766         * socket/socket.c (__socket): Likewise.
27767         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27768         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27769         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27770         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27771         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27772         libc_hidden_def.
27773         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27774         libc_hidden_weak.
27775         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27776         Use libc_hidden_proto.
27777         (__recv): Likewise.
27778         * socket/Versions (libc): Export __recv and __socket at version
27779         GLIBC_PRIVATE.
27780         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27781         instead of recv.
27782         (init_mq_netlink): Call __socket instead of socket.
27783         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27784         Remove variable.
27786         [BZ #18545]
27787         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27788         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27789         hidden_weak.
27790         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27791         define as alias of __mq_timedsend.  Use hidden_weak.
27792         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27793         __mq_timedsend as strong name.
27794         (mq_timedreceive): Use __mq_timedreceive as strong name.
27795         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27796         (__mq_timedreceive): Likewise.
27797         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27798         __mq_timedreceive instead of mq_timedreceive.
27799         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27800         instead of mq_timedsend.
27801         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27802         Remove variable.
27804         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27805         hidden_def and hidden_weak instead of libc_hidden_def and
27806         libc_hidden_weak.
27807         (top level): Refer to hidden_def in comment.
27808         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
27809         macro.  Use it instead of libc_hidden_def.
27810         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
27811         specify __GI_* name explicitly.
27812         (mq_timedreceive): Likewise.
27813         (mq_setattr): Likewise.
27815         [BZ #18544]
27816         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
27817         __pthread_barrier_init and define as weak alias of
27818         __pthread_barrier_init.
27819         * sysdeps/sparc/nptl/pthread_barrier_init.c
27820         (pthread_barrier_init): Likewise.
27821         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
27822         __pthread_barrier_wait and define as weak alias of
27823         __pthread_barrier_wait.
27824         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27825         (pthread_barrier_wait): Likewise.
27826         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27827         (pthread_barrier_wait): Likewise.
27828         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
27829         (pthread_barrier_wait): Likewise.
27830         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
27831         (pthread_barrier_wait): Likewise.
27832         * nptl/Versions (libpthread): Export __pthread_barrier_init and
27833         __pthread_barrier_wait at version GLIBC_PRIVATE.
27834         * include/pthread.h (__pthread_barrier_init): Declare.
27835         (__pthread_barrier_wait): Likewise.
27836         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
27837         Call __pthread_barrier_wait instead of pthread_barrier_wait.
27838         (helper_thread): Likewise.
27839         (init_mq_netlink): Call __pthread_barrier_init instead of
27840         pthread_barrier_init.
27842         [BZ #18542]
27843         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
27844         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
27845         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
27846         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
27847         vswscanf.
27848         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
27849         Remove variable.
27851         [BZ #18540]
27852         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
27853         strong alias of _IO_fflush.  Use libc_hidden_def.
27854         * libio/iofflush_u.c (fflush_unlocked): Rename to
27855         __fflush_unlocked and define as weak alias of __fflush_unlocked.
27856         Use libc_hidden_weak.
27857         * include/stdio.h (__fflush_unlocked): Declare.  Use
27858         libc_hidden_proto.
27859         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
27860         fflush_unlocked.
27861         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
27862         Remove variable.
27864         [BZ #18539]
27865         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
27866         define as weak alias of __addseverity.
27867         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
27868         Remove variable.
27869         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27870         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27871         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27873         [BZ #18536]
27874         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
27875         (__tfind): Likewise.
27876         (__tdelete): Likewise.
27877         (__twalk): Likewise.
27878         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
27879         __twalk to GLIBC_PRIVATE.
27880         * include/search.h (__tsearch): Use libc_hidden_proto.
27881         (__tfind): Likewise.
27882         (__tdelete): Likewise.
27883         (__twalk): Likewise.
27884         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
27885         Call __tdelete instead of tdelete.
27886         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
27887         tfind.  Call __tsearch instead of tsearch.
27888         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
27889         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
27890         Remove variable.
27891         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27893         [BZ #18534]
27894         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
27895         (dprintf): Define as a weak alias of __dprintf, not a strong
27896         alias.
27897         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
27898         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
27899         dprintf.
27900         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
27901         Remove variable.
27902         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27903         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27905         [BZ #18533]
27906         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
27907         not a strong alias.
27908         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
27909         Remove variable.
27911         [BZ #18532]
27912         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
27913         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
27914         (in6addr_loopback): Rename to __in6addr_loopback and define as
27915         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
27916         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
27917         libc_hidden_proto.
27918         (__in6addr_any): Likewise.
27919         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
27920         in6addr_any.
27921         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
27922         variable.
27923         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27925 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
27927         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
27928         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27929         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27930         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27931         redirections for pow.
27932         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27933         * sysdeps/x86_64/fpu/Versions: New versions added.
27934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27935         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27936         build of SSE, AVX2 and AVX512 IFUNC versions.
27937         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
27938         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
27939         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
27940         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
27941         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
27942         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
27943         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
27944         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
27945         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
27946         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
27947         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
27948         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
27949         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
27950         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
27951         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27952         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27954         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27955         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27956         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27957         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27958         * NEWS: Mention addition of x86_64 vector pow.
27960         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27961         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27962         redirections for expf.
27963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27964         * sysdeps/x86_64/fpu/Versions: New versions added.
27965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27966         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27967         build of SSE, AVX2 and AVX512 IFUNC versions.
27968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
27969         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
27970         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
27971         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
27972         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
27973         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
27974         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
27975         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
27976         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
27977         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
27978         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
27979         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
27980         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
27981         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27982         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27983         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27984         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27985         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27986         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27987         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27988         * NEWS: Mention addition of x86_64 vector expf.
27990         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
27991         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
27992         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27993         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27994         redirections for exp.
27995         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27996         * sysdeps/x86_64/fpu/Versions: New versions added.
27997         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27998         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27999         build of SSE, AVX2 and AVX512 IFUNC versions.
28000         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28001         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28002         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28004         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28005         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28006         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28007         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28008         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28009         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28010         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28011         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28012         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28013         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28014         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28015         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28016         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28017         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28018         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28019         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28020         * NEWS: Mention addition of x86_64 vector exp.
28022         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28023         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28024         redirections for logf.
28025         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28026         * sysdeps/x86_64/fpu/Versions: New versions added.
28027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28028         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28029         build of SSE, AVX2 and AVX512 IFUNC versions.
28030         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28031         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28032         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28033         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28034         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28035         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28036         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28037         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28038         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28039         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28040         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28041         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28042         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28043         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28044         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28045         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28046         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28047         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28048         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28049         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28050         * NEWS: Mention addition of x86_64 vector logf.
28052         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28053         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28054         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28055         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28056         redirections for log.
28057         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28058         * sysdeps/x86_64/fpu/Versions: New versions added.
28059         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28060         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28061         build of SSE, AVX2 and AVX512 IFUNC versions.
28062         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28063         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28064         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28065         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28066         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28067         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28068         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28069         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28070         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28071         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28072         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28073         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28074         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28075         test.
28076         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28077         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28078         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28079         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28080         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28081         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28082         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28083         * NEWS: Mention addition of x86_64 vector log.
28085 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28087         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28088         cfi_adjust_cfa_offset argument.
28089         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28090         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28092         [BZ #18034]
28093         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28094         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28095         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28096         ordering using ldar.
28097         (_dl_tlsdesc_dynamic): Likewise.
28098         (_dl_tlsdesc_return_lazy): Likewise.
28099         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28100         relaxed atomics instead of volatile and synchronize with release store.
28101         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28102         volatile.
28103         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28105 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28107         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28108         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28109         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28110         * sysdeps/x86_64/fpu/Versions: New versions added.
28111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28112         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28113         build of SSE, AVX2 and AVX512 IFUNC versions.
28114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28118         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28119         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28120         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28121         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28122         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28123         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28124         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28125         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28126         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28127         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28128         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28129         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28130         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28131         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28132         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28133         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28134         * NEWS: Mention addition of x86_64 vector sinf.
28136 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28138         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28139         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28140         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28141         Remove variable.
28142         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28143         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28145 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28147         [BZ #18530]
28148         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28149         strong alias of _IO_fputs.  Use libc_hidden_def.
28150         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28151         and define as weak alias of __fputs_unlocked.  Use
28152         libc_hidden_weak.
28153         * include/stdio.h (__fputs_unlocked): Declare.  Use
28154         libc_hidden_proto.
28155         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28156         fputs_unlocked.
28158         [BZ #18529]
28159         * resolv/netdb.h [__USE_POSIX]: Change condition to
28160         [__USE_XOPEN2K].
28161         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28162         not expect.
28163         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28164         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28165         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28166         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28167         [XPG4 || UNIX98] (AI_ALL): Likewise.
28168         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28169         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28170         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28171         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28172         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28173         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28174         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28175         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28176         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28177         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28178         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28179         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28180         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28181         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28182         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28183         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28184         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28185         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28186         [XPG4 || UNIX98] (gai_strerror): Likewise.
28187         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28188         [XPG4 || UNIX98] (getnameinfo): Likewise.
28190         [BZ #18528]
28191         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28192         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28193         __USE_XOPEN2K8].
28194         (getgrent): Likewise.
28195         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28196         expect.
28197         [XPG3 || POSIX2008] (endgrent): Likewise.
28198         [XPG3] (setgrent): Likewise.
28199         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28200         variable.
28201         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28203         [BZ #18527]
28204         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28205         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28206         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28207         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28208         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28209         * include/unistd.h (__getlogin_r): Declare.  Use
28210         libc_hidden_proto.
28211         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28212         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28213         variable.
28214         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28215         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28216         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28218 2015-06-12  Martin Sebor  <msebor@redhat.com>
28220         [BZ #18512]
28221         * Makerules (check-install-supported): New target.
28222         (install): Add check-install-supported as a dependency.
28223         * manual/install.texi (Installing the C Library): Document
28224         that overriding prefix and exec_prefix is not supported.
28225         Mention DESTDIR.
28226         * INSTALL: Regenerate from the above.
28228 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28230         [BZ #18519]
28231         * posix/Versions (libc): Export __libc_pread at version
28232         GLIBC_PRIVATE.
28233         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28234         instead of pread.
28235         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28236         variable.
28238         [BZ #18522]
28239         * misc/efgcvt_r.c
28240         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28241         (cvt_symbol): Use weak_alias instead of strong_alias.
28242         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28243         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28244         Remove variable.
28245         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28246         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28248         [BZ #18520]
28249         * inet/herrno.c (h_errno): Rename to __h_errno.
28250         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28251         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28252         to __h_errno instead of h_errno.
28253         * nptl/herrno.c (h_errno): Rename to __h_errno.
28254         (__h_errno_location): Refer to __h_errno not h_errno.
28255         * resolv/Versions (h_errno): Rename to __h_errno.
28256         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28257         Remove variable.
28258         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28260 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28262         * configure.ac: More strict check for AVX512 assembler support.
28263         * configure: Regenerated.
28265         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28266         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28267         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28268         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28270         * sysdeps/x86_64/fpu/Versions: New versions added.
28271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28273         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28274         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28275         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28276         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28277         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28278         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28279         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28280         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28281         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28282         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28283         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28284         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28285         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28286         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28287         test.
28288         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28289         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28291         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28292         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28293         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28294         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28295         * NEWS: Mention addition of x86_64 vector sin.
28297 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28299         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28300         comment.
28302 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28304         [BZ #18479]
28305         * nptl/pt-interp.c: New file.
28306         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28307         Add pt-interp.
28308         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28309         $(common-objpfx)runtime-linker.h.
28311 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28313         * Makeconfig (+interp): Remove unused variable.
28314         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28315         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28316         $(elf-objpfx)runtime-linker.h.
28317         ($(elf-objpfx)runtime-linker.h): Rename to
28318         $(common-objpfx)runtime-linker.h and move ...
28319         * Makerules [$(build-shared) = yes]: ... here.
28320         * elf/interp.c: Include <runtime-linker.h> instead of
28321         <elf/runtime-linker.h>.
28323 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28325         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28326         (__gettimeofday_syscall): Remove vsyscall fallback.
28327         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28328         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28329         Add syscall fallback function.
28330         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28331         if vDSO is not present.
28332         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28333         fallback function.
28334         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28335         present.
28336         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28337         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28339 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28341         [BZ #18497]
28342         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28343         of wcscmp.
28344         (wcscmp): Define as weak alias of WCSCMP.
28345         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28346         wcscoll.
28347         (USE_HIDDEN_DEF): Define.
28348         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28349         __wcscoll.  Don't use libc_hidden_weak.
28350         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28351         wcscmp.
28352         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28353         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28354         __GI_wcscmp.
28355         (weak_alias): Undefine and redefine.
28356         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28357         __wcscmp and define as weak alias of __wcscmp.
28358         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28359         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28360         (__wcscoll): Likewise.
28361         (wcscmp): Don't use libc_hidden_proto.
28362         (wcscoll): Likewise.
28363         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28364         wcscoll.
28365         * posix/regexec.c (check_node_accept_bytes): Likewise.
28366         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28367         variable.
28368         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28369         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28371         [BZ #18507]
28372         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28373         __fstatvfs and define as weak alias of __fstatvfs.  Use
28374         libc_hidden_weak.
28375         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28376         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28377         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28378         Define as alias of __fstatvfs, not fstatvfs.
28379         (fstatvfs64): Likewise.
28380         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28381         Define as alias of __statvfs, not statvfs.
28382         (statvfs64): Likewise.
28383         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28384         Remove variable.
28386 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28389         (HAVE_GETCPU_VSYSCALL): Define.
28390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28391         (HAVE_GETCPU_VSYSCALL): Likewise.
28392         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28393         * sysdeps/unix/sysv/linux/sched_getcpu.c
28394         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28395         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28396         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28397         prototype.
28398         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28399         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28400         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28402         Define.
28403         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28404         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28405         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28406         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28408 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28410         * sysdeps/x86_64/fpu/Makefile: New file.
28411         * sysdeps/x86_64/fpu/Versions: New file.
28412         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28413         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28414         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28415         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28416         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28417         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28418         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28419         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28421         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28422         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28423         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28424         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28425         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28426         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28427         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28428         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28429         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28430         * sysdeps/x86_64/configure: Regenerated.
28431         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28432         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28433         * manual/install.texi (Configuring and compiling): Document
28434         --disable-mathvec.
28435         * INSTALL: Regenerated.
28436         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28438         * math/Makefile: Added rules for vector tests.
28439         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28440         declaration under condition.
28441         * math/test-double-vlen2.h: New file.
28442         * math/test-double-vlen4.h: New file.
28443         * math/test-double-vlen8.h: New file.
28444         * math/test-vec-loop.h: Added initialization macro.
28445         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28446         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28447         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28448         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28449         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28450         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28451         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28452         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28453         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28454         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28455         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28457         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28458         * sysdeps/x86_64/fpu/Versions: New versions added.
28459         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28460         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28461         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28462         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28463         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28464         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28465         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28466         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28467         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28468         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28469         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28470         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28471         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28472         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28473         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28474         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28475         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28476         * NEWS: Mention addition of x86_64 vector cosf.
28478         * math/Makefile: Added CFLAGS for new tests.
28479         * math/test-float-vlen16.h: New file.
28480         * math/test-float-vlen4.h: New file.
28481         * math/test-float-vlen8.h: New file.
28482         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28483         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
28484         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28485         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
28486         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
28487         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
28488         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
28489         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
28490         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
28491         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
28492         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
28494 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
28496         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
28497         * locale/programs/ld-ctype.c: Likewise.
28499 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
28501         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
28502         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
28503         bit_ZMM16_31_state): New macro.
28504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28505         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
28507 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
28509         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
28511 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
28513         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
28515 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
28517         [BZ #18498]
28518         * libio/memstream.c (open_memstream): Rename to __open_memstream
28519         and define as weak alias of __open_memstream.
28520         * include/stdio.h (__open_memstream): Declare.  Use
28521         libc_hidden_proto.
28522         (open_memstream): Don't use libc_hidden_proto.
28523         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
28524         open_memstream.
28525         * posix/getopt.c (_getopt_internal_r): Likewise.
28526         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
28527         variable.
28528         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28529         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28530         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28532         [BZ #18496]
28533         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
28534         instead of wcrtomb.
28536         [BZ #18483]
28537         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
28538         [__USE_XOPEN2K8].  Remove redundant #endif.
28539         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
28540         Remove redundant #if.
28541         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
28542         Remove variable.
28543         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28544         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28546         [BZ #18495]
28547         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
28548         (__iswlower): Likewise.
28549         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
28550         (__iswlower): Likewise.
28551         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
28552         instead of towlower.
28553         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
28554         instead of iswlower.  Call __towupper instead of towupper.
28555         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
28556         instead of iswalnum.
28558 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28560         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
28561         errors to stderr.
28563 2015-06-05  Florian Weimer  <fweimer@redhat.com>
28565         [BZ #15661]
28566         [BZ #17322]
28567         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28568         Check for overflow properly.  Check for O_APPEND.  Ignore large
28569         file system block sizes.  Add comments about problems.
28570         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
28571         * manual/filesys.texi (Storage Allocation): New node.
28573 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28575         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
28576         cancellable syscalls.
28577         (SYS_ify): Add guard to no redefine it.
28578         (INLINE_SYSCALL): Likewise.
28579         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
28580         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
28581         SYSCALL_CANCEL instead.
28582         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
28583         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28584         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28585         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28586         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28587         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
28588         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
28589         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
28590         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28591         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28592         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
28593         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
28594         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
28595         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
28596         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
28597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28598         Likewise.
28599         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28600         (__libc_pread64): Likewise.
28601         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
28602         (__libc_preadv): Likewise.
28603         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
28604         (__libc_readv64): Likewise.
28605         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28606         (__libc_pwrite): Likewise.
28607         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28608         (__libc_pwrite64): Likewise.
28609         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
28610         (__libc_pwritev): Likewise.
28611         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
28612         (__libc_pwritev64): Likewise.
28613         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
28614         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
28615         (sync_file_range): Likewise.
28616         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
28617         Likewise.
28618         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
28619         Likewise.
28620         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28621         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28622         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28623         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28624         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28625         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28626         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28627         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
28628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28629         Likewise.
28630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28631         (__libc_read64): Likewise.
28632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
28633         Likewise.
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
28635         Likewise.
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
28637         Likewise.
28638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
28639         Likewise.
28640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28641         (__libc_pread64): Likewise.
28642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
28643         Likewise.
28644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28645         (__libc_pwrite64): Likewise.
28646         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
28647         (sync_file_range): Likewise.
28648         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
28649         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28650         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28651         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
28652         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
28653         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28654         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28655         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
28656         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
28657         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
28658         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28659         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28660         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28661         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28662         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
28663         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28664         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28665         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28666         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28667         Likewise.
28668         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
28669         Likewise.
28670         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
28671         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
28672         Likewise.
28673         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
28674         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
28675         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
28676         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
28677         Likewise.
28678         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
28679         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
28680         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
28681         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
28682         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
28684 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
28686         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
28687         Include dl-vdso.
28688         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
28689         Use VDSO routines for gettimeofday, clock_gettime if
28690         available.
28691         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
28692         Declare VDSO symbols.
28693         * sysdeps/unix/sysv/linux/arm/sysdep.h:
28694         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
28695         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28696         * sysdeps/unix/sysv/linux/arm/Versions: Add
28697         __vdso_clock_gettime.
28699 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28701         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
28702         be an inline implementation regardless of library is built within.
28703         (open_not_cancel_2): Likewise.
28704         (__read_nocancel): Likewise.
28705         (__write_nocancel): Likewise.
28706         (openat_not_cancel): Likewise.
28707         (openat_not_cancel_3): Likewise.
28708         (openat64_not_cancel): Likewise.
28709         (openat64_not_cancel_3): Likewise.
28710         (__close_nocancel): Likewise.
28711         (pause_not_cancel): Likewise.
28712         (nanosleep_not_cancel): Likewise.
28713         (sigsuspend_not_cancel): Likewise.
28715 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28717         [BZ #14958]
28718         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
28719         wake-up.
28720         (__pthread_rwlock_rdlock_slow): Likewise.
28721         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28722         Likewise.
28723         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28724         Likewise.
28725         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
28726         * nptl/tst-rwlock16.c: New file.
28727         * nptl/Makefile (tests): Add new test.
28729 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28731         [BZ #18324]
28732         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
28733         missing wake-up of readers.
28734         * nptl/tst-rwlock15.c: New file.
28735         * nptl/Makefile (tests): Add new test.
28737 2015-06-03  Roland McGrath  <roland@hack.frob.com>
28739         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
28740         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
28741         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
28742         and __nacl_supply_interface_rtld.
28743         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
28744         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
28745         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
28746         Add __nacl_supply_interface_rtld.
28747         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
28749 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28751         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
28752         isfinite.
28753         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28754         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
28756 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28758         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
28759         __signbit* with standard C99 macros.
28760         * math/e_exp10l.c: Likewise.
28761         * math/e_exp2l.c: Likewise.
28762         * math/e_scalb.c: Likewise.
28763         * math/e_scalbf.c: Likewise.
28764         * math/e_scalbl.c: Likewise.
28765         * math/s_ldexp.c: Likewise.
28766         * math/s_ldexpf.c: Likewise.
28767         * math/s_ldexpl.c: Likewise.
28768         * math/w_atan2.c: Likewise.
28769         * math/w_atan2f.c: Likewise.
28770         * math/w_atan2l.c: Likewise.
28771         * math/w_cosh.c: Likewise.
28772         * math/w_coshf.c: Likewise.
28773         * math/w_coshl.c: Likewise.
28774         * math/w_exp10.c: Likewise.
28775         * math/w_exp10f.c: Likewise.
28776         * math/w_exp10l.c: Likewise.
28777         * math/w_exp2.c: Likewise.
28778         * math/w_exp2f.c: Likewise.
28779         * math/w_exp2l.c: Likewise.
28780         * math/w_fmod.c: Likewise.
28781         * math/w_fmodf.c: Likewise.
28782         * math/w_fmodl.c: Likewise.
28783         * math/w_hypot.c: Likewise.
28784         * math/w_hypotf.c: Likewise.
28785         * math/w_hypotl.c: Likewise.
28786         * math/w_jnl.c: Likewise.
28787         * math/w_lgamma.c: Likewise.
28788         * math/w_lgamma_r.c: Likewise.
28789         * math/w_lgammaf.c: Likewise.
28790         * math/w_lgammaf_r.c: Likewise.
28791         * math/w_lgammal.c: Likewise.
28792         * math/w_lgammal_r.c: Likewise.
28793         * math/w_pow.c: Likewise.
28794         * math/w_powf.c: Likewise.
28795         * math/w_powl.c: Likewise.
28796         * math/w_remainder.c: Likewise.
28797         * math/w_remainderf.c: Likewise.
28798         * math/w_remainderl.c: Likewise.
28799         * math/w_scalb.c: Likewise.
28800         * math/w_scalbf.c: Likewise.
28801         * math/w_scalbl.c: Likewise.
28802         * math/w_scalbln.c: Likewise.
28803         * math/w_scalblnf.c: Likewise.
28804         * math/w_scalblnl.c: Likewise.
28805         * math/w_sinh.c: Likewise.
28806         * math/w_sinhf.c: Likewise.
28807         * math/w_sinhl.c: Likewise.
28808         * math/w_tgamma.c: Likewise.
28809         * math/w_tgammaf.c: Likewise.
28810         * math/w_tgammal.c: Likewise.
28811         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28812         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
28813         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28814         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28815         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28817         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28818         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28819         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28820         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28821         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28822         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28823         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28824         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28825         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28826         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28827         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28828         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28829         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28830         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28831         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28832         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28833         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28834         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28835         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28836         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28837         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
28838         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28839         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28840         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28841         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
28842         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
28843         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
28844         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
28845         * stdio-common/printf_fp.c: Likewise.
28846         * stdio-common/printf_fphex.c: Likewise.
28847         * stdio-common/printf_size.c: Likewise.
28849 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
28851         [BZ #18470]
28852         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
28853         strnlen.
28854         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
28855         Remove variable.
28856         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28857         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28858         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28859         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28860         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28861         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28862         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28863         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28864         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28865         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28867         [BZ #18468]
28868         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
28869         weak alias of __wmemchr.  Use libc_hidden_weak.
28870         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
28871         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
28872         instead of wmemchr.
28874 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28876         [BZ #18383]
28877         * elf/tst-tlsalign-extern.c: New file.
28878         * elf/tst-tlsalign-extern-static.c: New file.
28879         * elf/tst-tlsalign-vars.c: New file.
28880         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
28881         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
28882         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
28883         ($(objpfx)tst-tlsalign-extern-static): Likewise.
28884         (test-xfail-tst-tlsalign-extern-static): New variable.
28886 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
28888         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
28889         Use variable name _sc_err instead of err.
28890         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
28891         instead of ret.
28892         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28893         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
28894         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
28895         (INLINE_SYSCALL): Likewise.
28897         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
28898         * include/string.h (__strnlen): Use libc_hidden_proto.
28899         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
28900         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
28901         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
28902         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
28903         (libc_hidden_def): Undefine and redefine.
28904         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
28905         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
28906         __GI_strnlen.
28907         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
28908         libc_hidden_def.
28909         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
28911         [BZ #18469]
28912         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28913         weak alias of __towlower.  Use libc_hidden_weak.
28914         (towupper): Rename to __towupper and define as weak alias of
28915         __towupper.  Use libc_hidden_weak.
28916         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
28917         (__towupper): Likewise.
28918         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
28919         __towlower instead of towlower.
28921 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28923         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
28924         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
28926 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28928         * sysdeps/aarch64/libm-test-ulps: Update.
28930 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28932         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
28933         Define.
28934         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28936         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28937         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28938         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
28939         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
28940         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
28942 2015-06-01  Martin Sebor  <msebor@redhat.com>
28944         [BZ #18116]
28945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28946         (__setcontext): Use extended four-operand version of mtsf whenever
28947         possible.
28948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28949         (__novec_swapcontext): Likewise.
28951 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28953         * benchtests/scripts/compare_bench.py: New file.
28954         * benchtests/scripts/import_bench.py (mean): New function.
28955         (split_list): Likewise.
28956         (do_for_all_timings): Likewise.
28957         (compress_timings): Likewise.
28959         * benchtests/scripts/import_bench.py: New file.
28960         * benchtests/scripts/validate_benchout.py: Import import_bench
28961         instead of jsonschema.
28962         (validate_bench): Remove function.
28963         (main): Use import_bench.
28965 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
28967         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
28968         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28970 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28974 2015-05-28  Roland McGrath  <roland@hack.frob.com>
28976         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
28977         set THREAD_SELF->tid to a magic value and futex-wake it.
28978         Pass its address to the thread_exit system call.
28979         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
28980         bit is clear.
28981         * sysdeps/nacl/lowlevellock.h: New file.
28982         * sysdeps/nacl/lll_timedwait_tid.c: New file.
28984         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
28985         Add TIMEOUT to current time, don't subtract it.
28987 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
28989         [BZ #2981]
28990         [BZ #18422]
28991         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
28992         ($(objpfx)tst-audit2.out): Also depend on
28993         $(objpfx)tst-auditmod9b.so.
28994         * elf/tst-audit2.c: Include <dlfcn.h>.
28995         (calloc_called): New.
28996         (calloc): Allow to be called more than once.
28997         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
28999 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29001         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29002         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29004 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29006         * stdlib/monetary.h: Fix comment.
29008 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29010         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29011         Avoid using variables in #defines that might cause shadowing.
29012         (INTERNAL_VSYSCALL_CALL): Likewise.
29014 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29016         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29018         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29019         * nptl/lll_timedlock_wait.c: ... to this new file.
29020         * nptl/Makefile (libpthread-routines): Add it.
29021         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29022         * nptl/lll_timedwait_tid.c: ... to this new file.
29023         * nptl/Makefile (libpthread-routines): Add it.
29024         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29025         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29026         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29027         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29028         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29029         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29030         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29031         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29032         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29033         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29035 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29037         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29038         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29039         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29040         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29041         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29043         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29045         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29046         * sysdeps/unix/sysv/linux/tile/sysdep.h
29047         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29048         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29049         using vDSO syscall macro.
29051 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29053         [BZ #17293]
29054         * uk_UA: Fix sorting order for Ukrainian locale
29056 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29058         * stdlib/monetary.h: Fix comment.
29060 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29062         [BZ #18234]
29063         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29064         st_mtim and st_ctim members.
29065         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29066         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29067         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29068         (struct stat64): Likewise.
29069         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29070         (struct stat64): Likewise.
29071         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29072         (struct stat64): Likewise.
29074 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29076         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29077         Define and include sysdep-vdso.h.
29078         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29079         Likewise.
29080         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29081         Likewise.
29082         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29083         Define with VDSO_SYMBOL and use PTR_MANGLE.
29084         (__vdso_clock_gettime): Likewise.
29085         (__vdso_clock_getres): Likewise.
29086         (_libc_vdso_platform_setup): Likewise.
29087         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29088         Likewise.
29089         (_libc_vdso_platform_setup): Likewise.
29090         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29091         Likewise.
29092         (__vdso_clock_gettime): Likewise.
29093         (__vdso_clock_getres): Likewise.
29094         (__vdso_get_tbfreq): Likewise.
29095         (__vdso_getcpu): Likewise.
29096         (__vdso_time): Likewise.
29097         (__vdso_sigtramp_rt64): Likewise.
29098         (__vdso_signtramp32): Likewise.
29099         (__vdso_sigtramp_rt32): Likewise.
29100         (_libc_vdso_platform_setup): Likewise.
29101         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29102         Likewise.
29103         (__vdso_clock_gettime): Likewise.
29104         (__vdso_clock_getres): Likewise.
29105         (_libc_vdso_platform_setup): Likewise.
29106         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29107         Likewise.
29108         (__vdso_clock_gettime): Likewise.
29109         (_libc_vdso_platform_setup): Likewise.
29110         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29111         Likewise.
29112         (__vdso_getcpu): Likewise.
29113         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29114         Use VDSO_SYMBOL macro to define.
29115         (__vdso_clock_gettime): Likewise.
29116         (__vdso_clock_getres): Likewise.
29117         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29118         Likewise.
29119         (__vdso_clock_gettime): Likewise.
29120         (__vdso_clock_getres): Likewise.
29121         (__vdso_get_tbfreq): Likewise.
29122         (__vdso_getcpu): Likewise.
29123         (__vdso_time): Likewise.
29124         (__vdso_sigtramp_rt64): Likewise.
29125         (__vdso_signtramp32): Likewise.
29126         (__vdso_sigtramp_rt32): Likewise.
29127         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29128         Likewise.
29129         (__vdso_clock_gettime): Likewise.
29130         (__vdso_clock_getres): Likewise.
29131         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29132         Likewise.
29133         (__vdso_clock_gettime): Likewise.
29134         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29135         Likewise.
29136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29137         macro.
29138         (INTERNAL_VSYSCALL): Likewise.
29139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29140         Remove macro.
29141         (INTERNAL_VSYSCALL): Likewise.
29142         (INTERNAL_VSYSCALL_NCS): Likewise.
29143         (INTERNAL_VSYSCALL_CALL): New macro.
29144         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29146         Likewise.
29147         (INTERNAL_VSYSCALL): Likewise.
29148         (INTERNAL_VSYSCALL_NCS): Likewise.
29149         (INTERNAL_VSYSCALL_CALL): New macro.
29150         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29152         (INLINE_VSYSCALL): Remove macro.
29153         (INTERNAL_VSYSCALL): Remove macro.
29154         (INTERNAL_VSYSCALL_NCS): Remove macro.
29155         (INTERNAL_VSYSCALL_CALL): New macro.
29156         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29157         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29158         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29159         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29160         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29162         (INLINE_VSYSCALL): Remove macro.
29163         (INTERNAL_VSYSCALL): Likewise.
29164         (INTERNAL_VSYSCALL_NCS): Likewise.
29165         (INTERNAL_VSYSCALL_CALL): New macro.
29166         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29167         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29168         PTR_DEMANGLE on vDSO pointer.
29169         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29170         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29171         macro.
29172         (INTERNAL_SYSCALL): Likewise.
29173         (INTERNAL_VSYSCALL_NCS): Remove macro.
29174         (INTERNAL_VSYSCALL_CALL): New macro.
29175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29176         Remove macro.
29177         (INTERNAL_VSYSCALL): Likewise.
29178         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29179         sysdep-vdso.h instead of libc-vdso.h.
29180         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29181         definition.
29182         (INLINE_VSYSCALL): Likewise.
29183         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29184         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29185         definition.
29186         (INLINE_VSYSCALL): Likewise.
29187         (INTERNAL_VSYSCALL): Likewise.
29188         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29189         * sysdeps/unix/sysv/linux/timespec_get.c
29190         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29191         (timespec_get): Use ANSI prototype.
29192         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29193         and definition for Linux.
29195 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29197         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29198         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29200 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29202         [BZ #2981]
29203         [BZ #18410]
29204         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29205         for missing DT_PLTRELSZ.
29207 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29209         Remove obsolete aliases that broke 'locale -a'
29210         [BZ #18412]
29211         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29212         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29213         breaking some applications that use 'locale -a' output.
29214         Change the encoding of this file from Latin-1 to ASCII to avoid
29215         other potential problems with people grepping this file.
29217 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29219         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29220         -fasynchronous-unwind-tables.
29221         (CFLAGS-sendto.c): Likewise.
29222         (CFLAGS-sendmsg.c): Likewise.
29223         (CFLAGS-connect.c): Likewise.
29224         (CFLAGS-recvmsg.c): Likewise.
29225         (CFLAGS-recvfrom.c): Likewise.
29226         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29227         (SOCKETCALL): New macro: non-cancellable socketcall.
29228         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29229         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29230         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29231         * sysdeps/unix/sysv/linux/accept.c: New file.
29232         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29233         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29234         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29235         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29236         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29237         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29238         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29239         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29240         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29241         * sysdeps/unix/sysv/linux/send.c: Likewise.
29242         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29243         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29244         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29245         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29246         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29247         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29248         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29249         prototype.
29250         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29251         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29252         instead of __internal_xxx function.
29253         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29254         prototype.
29255         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29256         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29257         instead of __internal_xxx function.
29258         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29259         prototype.
29260         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29261         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29262         instead of __internal_xxx function.
29263         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29264         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29265         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29266         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29267         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29268         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29269         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29270         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29271         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29272         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29273         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29274         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29275         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29276         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29277         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29278         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29279         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29280         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29281         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29282         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29285         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29286         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29287         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29288         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29289         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29290         * sysdeps/unix/sysv/linux/send.S: Likewise.
29291         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29292         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29293         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29294         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29295         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29296         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29297         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29298         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29299         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29300         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29301         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29302         socketcall is implemented in GLIBC.
29304 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29306         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29307         (__fma): Ignore uninitialized warnings around packing.
29308         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29309         (__fmaf): Ignore uninitialized warnings around packing.
29310         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29311         (__fmal): Ignore uninitialized warnings around packing.
29313         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29314         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29315         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29316         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29318         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29319         switch statement into default case.
29320         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29322         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29323         a conditional in forcing "inexact".
29324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29325         Likewise.
29327 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29329         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29330         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29331         for each INTERNAL_SYSCALL use.
29333 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29335         [BZ #438]
29336         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29337         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29338         variable.
29340         [BZ #18444]
29341         * string/basename.c (basename): Rename to __basename and define as
29342         weak alias of __basename.  Use libc_hidden_weak.
29343         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29344         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29345         __basename instead of basename.
29346         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29347         Remove variable.
29348         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29350 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29352         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29353         (_IO_JUMPS_FILE_plus): New.
29354         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29355         _IO_CAST_FIELD_ACCESS.
29356         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29357         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29358         * libio/freopen.c (freopen): Likewise.
29359         * libio/freopen64.c (freopen64): Likewise.
29360         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29361         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29362         * libio/iofwide.c (_IO_fwide): Likewise.
29363         * libio/memstream.c (open_memstream): Likewise.
29364         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29365         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29366         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29368 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29370         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29371         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29372         NADJ.
29373         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29374         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29375         NADJ.
29376         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29377         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29378         NADJ.
29380         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29381         (p == 4) case.
29383         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29384         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29385         Remove variable.
29386         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29387         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29388         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29390 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29392         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29393         Adjust jump table label generation macros.
29395 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29397         * stdio-common/vfprintf.c (vfprintf): Move local variables
29398         args_malloced, specs, specs_malloced, and the code after
29399         do_positional to the printf_positional function.
29400         (printf_positional): New function.
29402 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29404         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29405         function.
29406         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29407         STEP4_TABLE, process_arg): Move macro definitions
29408         out of the vfprintf function.  (Cosmetic change only.)
29410 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29412         * benchtests/Makefile (stdio-common-bench): Define.
29413         (benchset): Add stdio-common-bench.
29414         * sprintf-inputs: New file.
29415         * sprintf-source.c: New file.
29417 2015-05-21  Andreas Schwab  <schwab@suse.de>
29419         [BZ #13028]
29420         [BZ #17053]
29421         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29422         of struct __res_state.
29423         * resolv/res_send.c (__libc_res_nsend): Likewise.
29424         (get_nsaddr): New function.
29425         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29426         statp directly.
29428 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29430         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29431         -D_POSIX_C_SOURCE=199506L.
29433         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29435         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29436         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29437         Do not mention otherwise.
29438         [POSIX] (_XOPEN_VERSION): Do not expect.
29439         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29440         [POSIX] (_POSIX2_C_BIND): Likewise.
29441         [POSIX] (_POSIX2_VERSION): Likewise.
29442         [POSIX] (_XOPEN_XPG2): Likewise.
29443         [POSIX] (_XOPEN_XPG3): Likewise.
29444         [POSIX] (_XOPEN_XPG4): Likewise.
29445         [POSIX] (_XOPEN_UNIX): Likewise.
29446         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29447         [POSIX] (_POSIX_BARRIERS): Likewise.
29448         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29449         [POSIX] (_POSIX_CPUTIME): Likewise.
29450         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29451         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29452         [POSIX] (_POSIX_SHELL): Likewise.
29453         [POSIX] (_POSIX_SPAWN): Likewise.
29454         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29455         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29456         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29457         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29458         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29459         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29460         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29461         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29462         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29463         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29464         [POSIX] (_POSIX2_PBS): Likewise.
29465         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29466         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29467         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29468         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29469         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29470         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29471         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29472         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29473         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29474         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29475         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29476         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29477         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29478         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29479         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29480         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29481         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29482         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29483         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
29484         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
29485         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
29486         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
29487         [POSIX] (_SC_2_C_BIND): Likewise.
29488         [POSIX] (_SC_2_C_VERSION): Likewise.
29489         [POSIX] (_SC_2_PBS): Likewise.
29490         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
29491         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
29492         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
29493         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
29494         [POSIX] (_SC_2_PBS_TRACK): Likewise.
29495         [POSIX] (_SC_ATEXIT_MAX): Likewise.
29496         [POSIX] (_SC_BARRIERS): Likewise.
29497         [POSIX] (_SC_BASE): Likewise.
29498         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
29499         [POSIX] (_SC_DEVICE_IO): Likewise.
29500         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
29501         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
29502         [POSIX] (_SC_FD_MGMT): Likewise.
29503         [POSIX] (_SC_FIFO): Likewise.
29504         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
29505         [POSIX] (_SC_FILE_LOCKING): Likewise.
29506         [POSIX] (_SC_FILE_SYSTEM): Likewise.
29507         [POSIX] (_SC_IOV_MAX): Likewise.
29508         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
29509         [POSIX] (_SC_NETWORKING): Likewise.
29510         [POSIX] (_SC_PAGE_SIZE): Likewise.
29511         [POSIX] (_SC_PASS_MAX): Likewise.
29512         [POSIX] (_SC_PIPE): Likewise.
29513         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
29514         [POSIX] (_SC_REGEXP): Likewise.
29515         [POSIX] (_SC_SHELL): Likewise.
29516         [POSIX] (_SC_SIGNALS): Likewise.
29517         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
29518         [POSIX] (_SC_SPIN_LOCKS): Likewise.
29519         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
29520         [POSIX] (_SC_USER_GROUPS): Likewise.
29521         [POSIX] (_SC_USER_GROUPS_R): Likewise.
29522         [POSIX] (_SC_STREAMS): Likewise.
29523         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
29524         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
29525         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
29526         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
29527         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
29528         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
29529         [POSIX] (_PC_FILESIZEBITS): Likewise.
29530         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
29531         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
29532         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
29533         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
29534         [POSIX] (uid_t): Likewise.
29535         [POSIX] (gid_t): Likewise.
29536         [POSIX] (off_t): Likewise.
29537         [POSIX] (pid_t): Likewise.
29538         [POSIX] (cuserid): Allow.
29539         (_SC_2_CHAR_TERM): Require constant.
29540         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
29541         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
29542         variable.
29544 2015-05-20  Roland McGrath  <roland@hack.frob.com>
29546         * sysdeps/nacl/pthread-pids.h: New file.
29547         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
29548         (create_thread): Use __nacl_get_tid to initialize PD->tid.
29550         * nptl/pthread-pids.h: New file.
29551         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
29552         * nptl/nptl-init.c: Include <pthread-pids.h>.
29553         (__pthread_initialize_minimal_internal):
29554         Call __pthread_initialize_pids instead of set_tid_address syscall.
29556         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
29557         * sysdeps/posix/usleep.c: ... here.
29559 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29561         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
29562         call_pselect6 object.
29563         [$(subdir) = io]: Remove call_sync_file_range object.
29564         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
29565         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
29566         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
29567         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
29569 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
29571         * math/s_cproj.c: Add include "math_private.h".
29572         * math/s_cprojf.c: Likewise.
29573         * math/s_cprojl.c: Likewise.
29575 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
29577         [BZ #18244]
29578         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
29579         high mantissa bit when testing whether P is a NaN.
29580         * math/libm-test.inc (remainder_test_data): Add more tests.
29581         (remquo_test_data): Likewise.
29583         [BZ #18049]
29584         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
29585         below -32, return the argument, with underflow if subnormal.
29586         * math/auto-libm-test-in: Add more tests of atanh.
29587         * math/auto-libm-test-out: Regenerated.
29589 2015-05-19  Roland McGrath  <roland@hack.frob.com>
29591         [BZ #18434]
29592         * nptl/tst-sem15.c: New file.
29593         * nptl/Makefile (tests): Add it.
29594         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
29595         s/<</>>/ to fix typo in EOVERFLOW check.
29596         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
29598 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29600         * manual/strings.texi (envz_remove): Fix typo in safety
29601         annotations.
29603 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
29604             Steve Ellcey  <sellcey@imgtec.com>
29606         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
29607         in order to avoid strict alias warnings.
29608         (iruserok_af): Ditto for ra.
29610 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
29612         [BZ #17581]
29613         * malloc/hooks.c
29614         (magicbyte): Convert to a function and avoid returning 0x01.
29615         (mem2mem_check): Avoid using a length byte equal to the magic byte.
29616         (mem2chunk_check): Fix unsigned comparisons to zero.
29617         Hoist defs of sz and magic.
29619 2015-05-19  Richard Henderson  <rth@redhat.com>
29621         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
29623         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29625 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29627         [BZ #16159]
29628         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
29629         * malloc/arena.c (arena_lock): Check if arena is corrupt.
29630         (reused_arena): Find a non-corrupt arena.
29631         (heap_trim): Pass arena to unlink.
29632         * malloc/hooks.c (malloc_check_get_size): Pass arena to
29633         malloc_printerr.
29634         (top_check): Likewise.
29635         (free_check): Likewise.
29636         (realloc_check): Likewise.
29637         * malloc/malloc.c (malloc_printerr): Add arena argument.
29638         (unlink): Likewise.
29639         (munmap_chunk): Adjust.
29640         (ARENA_CORRUPTION_BIT): New macro.
29641         (arena_is_corrupt): Likewise.
29642         (set_arena_corrupt): Likewise.
29643         (sysmalloc): Use mmap if there are no usable arenas.
29644         (_int_malloc): Likewise.
29645         (__libc_malloc): Don't fail if arena_get returns NULL.
29646         (_mid_memalign): Likewise.
29647         (__libc_calloc): Likewise.
29648         (__libc_realloc): Adjust for additional argument to
29649         malloc_printerr.
29650         (_int_free): Likewise.
29651         (malloc_consolidate): Likewise.
29652         (_int_realloc): Likewise.
29653         (_int_memalign): Don't touch corrupt arenas.
29654         * malloc/tst-malloc-backtrace.c: New test case.
29656         * Makefile (summarize-tests): Fix return value on success.
29658         * manual/string.texi (Envz Functions): Add envz_remove.
29660 2015-05-18  Roland McGrath  <roland@hack.frob.com>
29662         * sysdeps/posix/opendir.c: Include <stdbool.h>.
29663         (invalid_name): New function, broken out of ...
29664         (__opendirat): ... here.  Call it.
29665         (need_isdir_precheck): New function, broken out of ...
29666         (__opendirat): ... here.  Call it.
29667         Use __fxstatat64, not __xstatat64.
29668         (opendir_oflags): New function, broken out of ...
29669         (__opendirat): ... here.  Call it.
29670         (opendir_tail): New function, broken out of ...
29671         (__opendirat): ... here.  Call it.
29672         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
29673         opendir_tail, rather than punting to __opendirat.
29674         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
29676 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29678         * .gitignore: Ignore generated *.pyc.
29680 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
29682         * include/stdio.h: Define __need_wint_t.
29683         * test-skeleton.c: Avoid `for' loop initial declaration.
29684         * nptl/tst-initializers1.c: Use test-skeleton.c.
29686 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29688         [BZ #18418]
29689         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
29691 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29693         [BZ #16352]
29694         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
29695         (__ieee754_atanh): Force underflow exception for results with
29696         small absolute value.
29697         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
29698         (__ieee754_atanhf): Force underflow exception for results with
29699         small absolute value.
29700         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
29701         (__ieee754_atanh): Force underflow exception for results with
29702         small absolute value.
29703         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
29704         (__ieee754_atanhf): Force underflow exception for results with
29705         small absolute value.
29706         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
29707         (__ieee754_atanhl): Force underflow exception for results with
29708         small absolute value.
29709         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
29710         (__ieee754_atanhl): Force underflow exception for results with
29711         small absolute value.
29712         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
29713         (__ieee754_atanhl): Force underflow exception for results with
29714         small absolute value.
29715         * math/auto-libm-test-in: Do not allow missing underflow
29716         exceptions from atanh.
29717         * math/auto-libm-test-out: Regenerated.
29719         [BZ #18221]
29720         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
29721         2**-28 as threshold for returning x or +/- 1/x.
29722         * math/auto-libm-test-in: Add more tests of tan.
29723         * math/auto-libm-test-out: Regenerated.
29725         [BZ #18220]
29726         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29727         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
29728         * math/auto-libm-test-in: Add another test of lgamma.
29729         * math/auto-libm-test-out: Regenerated.
29731 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
29733         * stdio-common/printf_fp.c (___printf_fp): Use abs.
29734         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
29735         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
29736         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
29737         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
29738         (ADD2A): Use fabs.  (SUB2A): Use fabs.
29739         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
29740         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
29741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
29742         (log1): Use fabs.  (my_log2): Use fabs.
29743         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
29744         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
29745         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
29746         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
29747         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
29748         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
29749         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
29750         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
29751         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
29752         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
29753         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
29755 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29757         [BZ #18217]
29758         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
29759         as threshold for returning 1 - x.
29760         * math/auto-libm-test-in: Add more tests of erfc.
29761         * math/auto-libm-test-out: Regenerated.
29763 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29765         [BZ #18196]
29766         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29767         threshold for large arguments.
29768         * math/auto-libm-test-in: Add another test of atan.
29769         * math/auto-libm-test-out: Regenerated.
29771         [BZ #16339]
29772         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29773         (__log1p): Force underflow exception for results with small
29774         absolute value.
29775         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29776         (__log1pf): Force underflow exception for results with small
29777         absolute value.
29778         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29779         (__log1p): Force underflow exception for results with small
29780         absolute value.
29781         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29782         (__log1pf): Force underflow exception for results with small
29783         absolute value.
29784         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29785         (__log1pl): Force underflow exception for results with small
29786         absolute value.
29787         * math/auto-libm-test-in: Do not allow missing underflow
29788         exceptions from log1p.
29789         * math/auto-libm-test-out: Regenerated.
29791 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29792             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29794         [BZ #16704]
29795         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29797 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29799         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29800         (libmvec): New variable.
29801         * configure.ac: Added option for mathvec build.
29802         * configure: Regenerated.
29803         * mathvec/Depend: New file.
29804         * mathvec/Makefile: New file.
29805         * shlib-versions: Added libmvec.
29806         * math/Makefile: Added rule for libm.so installation.
29808         * bits/math-vector.h: New file.
29809         * bits/libm-simd-decl-stubs.h: New header.
29810         * math/Makefile (headers): Added new header
29811         libm-simd-decl-stubs.h.
29812         * math/math.h (__MATHCALL_VEC): New macro.
29814         * math/gen-libm-have-vector-test.sh: Script generates series of macros
29815         for conditions in testing functions.
29816         * math/Makefile: Added call of libm-have-vector-test.sh.
29817         * math/libm-test.inc (HAVE_VECTOR): New macros.
29819         * math/libm-test.inc: START refactored.
29820         * math/test-double.c (TEST_MATHVEC): Add define.
29821         * math/test-float.c: Likewise.
29822         * math/test-idouble.c: Likewise.
29823         * math/test-ifloat.c: Likewise.
29824         * math/test-ildoubl.c: Likewise.
29825         * math/test-ldouble.c: Likewise.
29826         * sysdeps/generic/math-tests-arch.h
29827         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
29828         architecture check.
29830         * math/test-double.c (FUNC_TEST): New macro.
29831         * math/test-float.c: Likewise.
29832         * math/test-idouble.c: Likewise.
29833         * math/test-ifloat.c: Likewise.
29834         * math/test-ildoubl.c: Likewise.
29835         * math/test-ldouble.c: Likewise.
29836         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
29838 2015-05-13  Roland McGrath  <roland@hack.frob.com>
29840         * sysdeps/nacl/fdopendir.c: New file.
29842         * dirent/scandir-tail.c: New file.
29843         * dirent/scandir64-tail.c: New file.
29844         * dirent/Makefile (routines): Add them.
29845         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
29846         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
29847         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
29848         [!SCANDIR] (SCANDIR_TAIL): New macro.
29849         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
29850         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
29851         (SCANDIRAT): Macro removed.
29852         (SCANDIR_TAIL): New macro.
29853         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
29854         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
29855         (SCANDIRAT): Just call __opendirat and __scandir_tail.
29856         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
29857         (READDIR): Macro removed.
29858         (SCANDIR_TAIL): New macro.
29859         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
29860         (SCANDIR_TAIL): New macro.
29862         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
29863         * dirent/scandir-cancel.c: ... to this new file.
29864         * dirent/Makefile (routines): Add it.
29865         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29866         * sysdeps/unix/sysv/linux/i386/scandir64.c
29867         (SKIP_SCANDIR_CANCEL): Macro removed.
29868         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29870         * dirent/tst-scandir.c: New file.
29871         * dirent/tst-scandir64.c: New file.
29872         * dirent/Makefile (tests): Add them.
29874 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
29876         [BZ #18409]
29877         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
29879 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29881         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
29882         list.
29884 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
29886         * benchtests/bench-strcoll.c: New benchmark.
29887         * benchtests/Makefile: Generate locales and run benchmark.
29888         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
29889         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
29890         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
29891         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
29892         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
29893         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
29894         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
29895         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
29896         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
29897         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
29898         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
29899         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
29900         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
29901         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
29902         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
29903         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
29904         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
29905         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
29906         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
29907         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
29908         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
29909         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
29910         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
29911         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
29913 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
29915         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
29916         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29918 2015-05-12  Roland McGrath  <roland@hack.frob.com>
29920         * posix/uname-values.h: New file.
29921         * posix/uname.c: Include that instead of <config-name.h>.
29922         * sysdeps/nacl/uname-values.h: New file.
29923         * sysdeps/arm/nacl/uname-values.h: New file.
29925 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
29927         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
29928         splitting into fields.
29930 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
29932         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
29933         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
29934         * locale/localeinfo.h: Add enum collation_encoding_type.
29935         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
29936         * programs/ld-collate.c (collate_output): Add encoding type info.
29937         * string/strcoll_l.c (STRDIFF): New function.
29938         * (STRCOLL): Use STRDIFF to skip over equal prefix.
29939         * wcsmbs/wcscoll_l.c: Define STRDIFF.
29941 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
29943         [BZ #18397]
29944         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
29945         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
29946         <fpu_control.h> instead of <math/fpu_control.c>.
29947         * sysdeps/mips/mips32/fpu/Makefile: New file.
29949 2015-05-11  Andreas Schwab  <schwab@suse.de>
29951         [BZ #18007]
29952         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
29953         nss_endgrent.
29954         (_nss_compat_endgrent): Call nss_endgrent.
29955         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
29956         nss_endpwent.
29957         (_nss_compat_endpwent): Call nss_endpwent.
29958         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
29959         needent, call nss_setspent only if non-zero.
29960         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
29961         (internal_endspent): Don't call nss_endspent.
29962         (_nss_compat_endspent): Call nss_endspent.
29963         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
29964         Remove.  All uses removed.
29965         (internal_setent): Remove parameter stayopen, add parameter
29966         stream.  Use it instead of global variable.
29967         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
29968         (internal_endent, internal_getent): Add parameter stream.  Use it
29969         instead of global variable.
29970         (CONCAT(_nss_files_end,ENTNAME))
29971         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
29972         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
29973         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
29974         uses removed.
29975         (internal_setent, internal_endent): Add parameter stream.  Use it
29976         instead of global variable.
29977         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
29978         stream.
29979         (get_next_alias): Add parameter stream.
29980         (_nss_files_getaliasent_r): Pass global stream.
29981         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
29982         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
29983         (_nss_files_gethostbyname4_r): Pass local stream to
29984         internal_setent, internal_getent and internal_endent.  Remove
29985         locking.
29987 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29989         * tst-strfmon1.c (tests): Update expected currency symbol.
29991 2015-05-08  Roland McGrath  <roland@hack.frob.com>
29993         * sysdeps/nacl/gethostname.c: New file.
29995 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
29997         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
29998         and sinh.
29999         * math/auto-libm-test-out: Regenerated.
30000         * sysdeps/i386/fpu/libm-test-ulps: Update.
30001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30003 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30005         [BZ #18125]
30006         * stdlib/tst-setcontext3.c: New file.
30007         * stdlib/tst-setcontext3.sh: New file.
30008         * stdlib/Makefile (tests): Add tst-setcontext3.
30009         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30010         to verify test program created output file.
30011         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30012         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30013         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30014         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30016 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30018         [BZ #18383]
30019         * elf/tst-tlsalign.c: New file.
30020         * elf/tst-tlsalign-static.c: New file.
30021         * elf/tst-tlsalign-lib.c: New file.
30022         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30023         (tests-static): Add tst-tlsalign-static.
30024         (modules-names): Add tst-tlsalign-lib.
30025         (test-xfail-tst-tlsalign): New variable.
30026         (test-xfail-tst-tlsalign-static): New variable.
30028         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30029         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30031 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30033         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30034         csqrt, erfc, sin and sincos.
30035         * math/auto-libm-test-out: Regenerated.
30036         * sysdeps/i386/fpu/libm-test-ulps: Update.
30037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30039 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30041         * sysdeps/aarch64/libm-test-ulps: Update.
30043 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30045         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30046         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30047         * math/auto-libm-test-out: Regenerated.
30048         * sysdeps/i386/fpu/libm-test-ulps: Update.
30049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30051 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30053         [BZ #18265]
30054         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30055         (wcsncpy): Likewise.
30057 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30059         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30060         Assume __ASSUME_FALLOCATE is always true.
30061         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30062         (__posix_fallocate64_l64): Likewise.
30063         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30064         (posix_fallocate): Likewise.
30065         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30066         (__posix_fallocate64_l64): Likewise.
30067         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30068         [!__ASSUME_FALLOCATE]: Add comment.
30070 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30072         * sysdeps/unix/sysv/linux/i386/Makefile
30073         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30074         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30075         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30076         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30077         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30078         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30079         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30081 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30083         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30084         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30085         tgamma.
30086         * math/auto-libm-test-out: Regenerated.
30087         * sysdeps/i386/fpu/libm-test-ulps: Update.
30088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30090 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30092         * math/auto-libm-test-in: Add more tests of tgamma.
30093         * math/auto-libm-test-out: Regenerated.
30094         * sysdeps/i386/fpu/libm-test-ulps: Update.
30095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30097         * math/auto-libm-test-in: Add more tests of tanh.
30098         * math/auto-libm-test-out: Regenerated.
30099         * sysdeps/i386/fpu/libm-test-ulps: Update.
30100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30102         * math/auto-libm-test-in: Add more tests of tan.
30103         * math/auto-libm-test-out: Regenerated.
30104         * sysdeps/i386/fpu/libm-test-ulps: Update.
30105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30107         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30108         * math/auto-libm-test-out: Regenerated.
30109         * sysdeps/i386/fpu/libm-test-ulps: Update.
30110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30112         * math/auto-libm-test-in: Add another test of pow.
30113         * math/auto-libm-test-out: Regenerated.
30114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30116         * math/auto-libm-test-in: Add more tests of lgamma.
30117         * math/auto-libm-test-out: Regenerated.
30118         * sysdeps/i386/fpu/libm-test-ulps: Update.
30119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30121         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30122         log1p.
30123         * math/auto-libm-test-out: Regenerated.
30124         * sysdeps/i386/fpu/libm-test-ulps: Update.
30125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30127 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30129         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30130         Elf64_Chdr structs and ELFCOMPRESS constants.
30132 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30134         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30135         expm1.
30136         * math/auto-libm-test-out: Regenerated.
30137         * sysdeps/i386/fpu/libm-test-ulps: Update.
30138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30140         * math/auto-libm-test-in: Add more tests of erf and erfc.
30141         * math/auto-libm-test-out: Regenerated.
30142         * sysdeps/i386/fpu/libm-test-ulps: Update.
30143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30145 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30147         * config.h.in (HAVE_AARCH64_BE): Add.
30149 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30151         * math/auto-libm-test-in: Add more tests of csqrt.
30152         * math/auto-libm-test-out: Regenerated.
30153         * sysdeps/i386/fpu/libm-test-ulps: Update.
30154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30156         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30157         * math/auto-libm-test-out: Regenerated.
30158         * sysdeps/i386/fpu/libm-test-ulps: Update.
30159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30161         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30163 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30165         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30166         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30168         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30169         (euidaccess, eaccess): Define as weak aliases.
30171         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30172         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30173         but __suseconds_t is often 'long int' so some sources assume that
30174         type is being used (e.g. they use %ld to print tv_usec).
30176 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30178         [BZ #18007]
30179         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30180         (CVE-2014-8121)
30181         * nss/tst-nss-getpwent.c: New file.
30182         * nss/Makefile (tests): Add new test.
30184 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30186         [BZ #18346]
30187         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30188         exponents less than 48 as cases where high part of mantissa needs
30189         examining to determine whether argument is integral.
30190         * math/libm-test.inc (round_test_data): Add more tests.
30192 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30194         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30196 2015-04-27  David S. Miller  <davem@davemloft.net>
30198         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30199         __tls_get_addr.
30200         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30202 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30204         [BZ#18333]
30205         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30207 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30209         [BZ#18333]
30210         * time/tzset.c (parse_tzname): Return error on memory allocation
30211         failure.
30212         * test-skeleton.c (struct temp_name_list): Change type of name
30213         member to non-const.
30214         (add_temp_file): Create a copy of the file name.
30215         (delete_temp_files): Deallocate memory.
30216         (create_temp_file): Add comment.
30218 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30220         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30221         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30223 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30225         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30226         * sysdeps/arm/configure: Regenerated.
30228 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30230         [BZ #17715]
30231         * time/tzfile.c (__tzfile_read): Check for large values of
30232         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30233         * time/tzset.c (__tzstring_len): New function, based on the old
30234         __tzstring function.
30235         (__tzstring): Call __tzstring_len.
30236         (parse_tzname): New helper function extracted from
30237         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30238         the input string.
30239         (parse_offset): New helper function extracted from
30240         __tzset_parse_tz.  Replace switch with fallthrough with
30241         initialization before sscanf.
30242         (parse_rule): Likewise.
30243         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30244         new-style function definition.
30245         * timezone/Makefile (tests): Add tst-tzset.
30246         (tst-tzset.out): Dependencies on time zone files.
30247         (tst-tzset-ENV): Set TZDIR.
30248         (testdata/XT%): Copy crafted time zone files.
30249         * timezone/README: Mention crafted time zone files.
30250         * timezone/testdata/XT1, timezone/testdata/XT2,
30251         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30252         files.
30253         * timezone/tst-tzset.c: New test.
30255 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30257         * Makeconfig (+gccwarn): Remove -Winline.
30259 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30261         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30263 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30265         * NEWS: Mention sysconf() cache information support for s390.
30266         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30268 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30270         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30271         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30272         (__nearbyint): Likewise.
30273         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30274         (copysignl): Likewise.
30276 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30278         [BZ #18287]
30279         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30280         based on padding.  (CVE-2015-1781)
30282 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30284         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30285         libc-vdso.h.
30286         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30287         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30288         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30289         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30290         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30291         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30292         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30293         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30294         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30295         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30296         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30297         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30298         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30299         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30300         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30301         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30302         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30303         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30304         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30305         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30306         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30307         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30308         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30310 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30312         * stdlib/setenv.c (__add_to_environ):
30313         Dump core quickly if setenv (..., NULL, ...) is called.
30314         This time, do it the right way, and pacify GCC with a pragma.
30316 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30318         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30319         IMAP->l_prev cannot be null, and #if out the code for the contrary
30320         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30321         believe that NS (&_dl_ns[NSID]) could point outside the array.
30323         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30324         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30325         before using NSID as an index.
30327 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30329         [BZ #17825]
30330         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30331         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30332         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30334 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30336         Add preliminary port to Google Native Client on ARM.
30337         * abi-tags (.*-.*-nacl.*): New entry.
30338         * sysdeps/arm/nacl: New directory.
30339         * sysdeps/nacl: New directory.
30341 2015-04-16  David S. Miller  <davem@davemloft.net>
30343         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30344         lowlevellock-futex.h
30346 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30348         * sysdeps/tile/configure.ac: New file.
30349         * sysdeps/tile/configure: Regenerated.
30351 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30353         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30354         conditionals for weak_alias and libc_hidden_weak.
30355         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30356         libc_hidden_weak and weak_alias.
30357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30358         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30359         and weak_alias for static one.
30361 2015-04-15  David S. Miller  <davem@davemloft.net>
30363         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30365 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30367         [BZ #18206]
30368         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30369           Use signed comparision instead of substraction to avoid
30370           overflow bug.
30371         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30372           Take the sign of ret.
30373         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30374           Do not expect precise return values. Only the sign matters.
30375         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30376         * wcsmbs/test-wcsncmp.c: New File.
30377         * string/test-strncmp.c: Add wcsncmp support.
30379 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30381         [BZ #6792]
30382         * math/w_log1p.c: New file.
30383         * math/w_log1pf.c: Likewise.
30384         * math/w_log1pl.c: Likewise.
30385         * math/Makefile (libm-calls): Add w_log1p.
30386         * math/s_log1pl.c (log1pl): Remove weak_alias.
30387         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30388         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30389         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30390         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30391         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30392         [NO_LONG_DOUBLE] (log1pl): Likewise.
30393         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30394         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30395         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30396         (log1p): Remove long_double_symbol.
30397         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30398         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30399         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30400         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30401         remove weak_alias for corresponding log1p function.
30402         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30403         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30404         * sysdeps/ia64/fpu/w_log1p.c: New file.
30405         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30406         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30407         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30409 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30411         [BZ #18247]
30412         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30413         decimal exponent by 1.
30414         * stdlib/tst-strtod-round-data: Add more tests.
30415         * stdlib/tst-strtod-round.c (tests): Regenerated.
30417 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30419         * math/auto-libm-test-in: Add more tests of clog and clog10.
30420         * math/auto-libm-test-out: Regenerated.
30421         * sysdeps/i386/fpu/libm-test-ulps: Update.
30422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30424 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30426         * Makeconfig (module-cppflags): Exclude all .v.i files.
30427         (skip-module-cppflags): Variable removed.
30429         * configure.ac (libc_config_ok): Initialize before reading
30430         preconfigure scripts, not after.
30431         * configure: Regenerated.
30433         * test-skeleton.c (TIMEOUT): Move #define to top level.
30434         (main): Grok environment variable TEST_DIRECT.  If set, print
30435         test expectation details into that file and then behave as if
30436         given --direct.
30438 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30440         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30441         warning on 32-bit.
30443 2015-04-08  David S. Miller  <davem@davemloft.net>
30445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30447 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30449         * math/auto-libm-test-in: Add more tests of atanh.
30450         * math/auto-libm-test-out: Regenerated.
30451         * sysdeps/i386/fpu/libm-test-ulps: Update.
30452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30454         * math/auto-libm-test-in: Add more tests of atan.
30455         * math/auto-libm-test-out: Regenerated.
30456         * sysdeps/i386/fpu/libm-test-ulps: Update.
30457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30459 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30461         * elf/pldd.c (main): Rewrite to use struct
30462         scratch_buffer instead of extend_alloca.
30463         * elf/pldd-xx.c (find_maps): Likewise.
30464         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30465         <alloca.h>.
30466         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30467         scratch_buffer instead of extend_alloca.
30468         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30469         grp/compat-initgroups.c.
30470         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30471         Rewrite to use struct scratch_buffer instead of extend_alloca.
30472         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30473         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30475 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30477         * math/auto-libm-test-in: Add more tests of cbrt.
30478         * math/auto-libm-test-out: Regenerated.
30479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30481         * math/auto-libm-test-in: Add more tests of cabs.
30482         * math/auto-libm-test-out: Regenerated.
30483         * sysdeps/i386/fpu/libm-test-ulps: Update.
30484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30486         [BZ #18210]
30487         [BZ #18211]
30488         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
30489         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30490         computations.
30491         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
30492         clog10.
30493         * math/auto-libm-test-out: Regenerated.
30494         * sysdeps/i386/fpu/libm-test-ulps: Update.
30495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30497         [BZ #18197]
30498         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
30499         (atan): Set FE_TONEAREST mode for internal computations.
30500         * math/auto-libm-test-in: Add more tests of atan.
30501         * math/auto-libm-test-out: Regenerated.
30503 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
30505         [BZ #17930]
30506         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
30508 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30510         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
30512 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30514         * include/scratch_buffer.h: New file.
30515         * malloc/scratch_buffer_grow.c: Likewise.
30516         * malloc/scratch_buffer_grow_preserve.c: Likewise.
30517         * malloc/scratch_buffer_set_array_size.c: Likewise.
30518         * malloc/tst-scratch_buffer.c: Likewise.
30519         * malloc/Makefile (routines): Add scratch_buffer_grow.
30520         (tests): Add test case.
30521         * malloc/Versions (GLIBC_PRIVATE): Export
30522         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
30523         __libc_scratch_buffer_set_array_size.
30525 2015-04-06  Richard Henderson  <rth@redhat.com>
30527         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
30528         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30530         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
30531         unsigned int before printing.
30533 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30535         [BZ #17596]
30536         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
30537         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30539 2015-04-02  Florian Weimer  <fweimer@redhat.com>
30541         * include/libc-internal.h (libc_max_align_t): Define.
30543 2015-04-02  Andreas Schwab  <schwab@suse.de>
30545         [BZ #16850]
30546         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
30548 2015-04-02  Mel Gorman  <mgorman@suse.de>
30550         [BZ #17195]
30551         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
30552         as well as the main arena.
30554 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30556         [BZ #18185]
30557         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
30558         sharing L2 cache to 2 for Silvermont/Knights Landing.
30560 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30562         [BZ #17711]
30563         * config.make.in (have-protected-data): New.
30564         * configure.ac: Check linker support for protected data symbol.
30565         * configure: Regenerated.
30566         * elf/Makefile (modules-names): Add tst-protected1moda and
30567         tst-protected1modb if $(have-protected-data) is yes.
30568         (tests): Add tst-protected1a and tst-protected1b if
30569         $(have-protected-data) is yes.
30570         ($(objpfx)tst-protected1a): New.
30571         ($(objpfx)tst-protected1b): Likewise.
30572         (tst-protected1modb.so-no-z-defs): Likewise.
30573         * elf/tst-protected1a.c: New file.
30574         * elf/tst-protected1b.c: Likewise.
30575         * elf/tst-protected1mod.h: Likewise.
30576         * elf/tst-protected1moda.c: Likewise.
30577         * elf/tst-protected1modb.c: Likewise.
30579 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30581         [BZ #17711]
30582         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
30583         indicates it is called from do_lookup_x on relocation against
30584         protected data, skip the data definion in the executable from
30585         copy reloc.
30586         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
30587         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
30588         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
30589         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
30590         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
30591         otherwise to 0.
30592         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30593         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
30594         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
30595         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30596         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
30597         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
30599 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
30601         * sysdeps/nptl/pthread.h: Remove duplicate definition of
30602         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
30604 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
30606         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
30607         THREAD_SETMEM_NC.
30608         * sysdeps/x86_64/nptl/tls.h: Ditto.
30610 2015-03-27  Roland McGrath  <roland@hack.frob.com>
30612         * dlfcn/tststatic.c (main): Converted to ...
30613         (do_test): ... this.
30614         (TEST_FUNCTION): New macro.
30615         Include test-skeleton.c.
30617 2015-03-26  Alan Modra  <amodra@gmail.com>
30619         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
30620         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
30621         zero for undefined weak.
30622         (elf_machine_plt_conflict): Similarly.
30624 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30626         * math/auto-libm-test-in: Add more tests of acosh, asinh and
30627         atanh.
30628         * math/auto-libm-test-out: Regenerated.
30629         * sysdeps/i386/fpu/libm-test-ulps: Update.
30630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30632         * math/auto-libm-test-in: Add another test of asin.
30633         * math/auto-libm-test-out: Regenerated.
30634         * sysdeps/i386/fpu/libm-test-ulps: Update.
30635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
30638         Remove macro.
30639         (LLL_EBX_REG): Likewise.
30640         (LLL_ENTER_KERNEL): Likewise.
30642         * math/auto-libm-test-in: Add more tests of asin.
30643         * math/auto-libm-test-out: Regenerated.
30644         * sysdeps/i386/fpu/libm-test-ulps: Update.
30645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30647         [BZ #18138]
30648         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
30649         libc_do_syscall_args): New structure.
30650         (INTERNAL_SYSCALL_MAIN_0): New macro.
30651         (INTERNAL_SYSCALL_MAIN_1): Likewise.
30652         (INTERNAL_SYSCALL_MAIN_2): Likewise.
30653         (INTERNAL_SYSCALL_MAIN_3): Likewise.
30654         (INTERNAL_SYSCALL_MAIN_4): Likewise.
30655         (INTERNAL_SYSCALL_MAIN_5): Likewise.
30656         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
30657         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
30658         Replace conditional definitions by conditional definitions of ....
30659         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
30660         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
30661         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
30662         (libpthread-sysdep_routines): Add libc-do-syscall.
30663         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
30664         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
30665         to __NR_futex not 240.
30667 2015-03-25  Alan Modra  <amodra@gmail.com>
30669         * NEWS: Advertise TLS optimization.
30670         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
30671         (DT_PPC_NUM): Increment.
30672         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
30673         (CHECK_STATIC_TLS): Use here.
30674         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
30675         TLS descriptors.
30676         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30677         * sysdeps/powerpc/dl-tls.c: New file.
30678         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
30679         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
30680         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
30681         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
30682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
30683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
30684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
30686 2015-03-25  Alan Modra  <amodra@gmail.com>
30688         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
30689         for overlapping .opd entries" to "support...".
30690         * sysdeps/powerpc/powerpc64/configure: Regenerate
30692 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30694         * math/auto-libm-test-in: Add more tests of acos.
30695         * math/auto-libm-test-out: Regenerated.
30696         * sysdeps/i386/fpu/libm-test-ulps: Update.
30697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30699         * math/auto-libm-test-in: Add more tests of expm1.
30700         * math/auto-libm-test-out: Regenerated.
30701         * sysdeps/i386/fpu/libm-test-ulps: Update.
30702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30704 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
30706         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30714         * math/auto-libm-test-in: Add more tests of log2.
30715         * math/auto-libm-test-out: Regenerated.
30716         * sysdeps/i386/fpu/libm-test-ulps: Update.
30717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30719 2015-03-23  Roland McGrath  <roland@hack.frob.com>
30721         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
30722         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
30723         _IO_IS_APPENDING bit in READ_WRITE instead.
30725 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30727         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
30728         (__determine_cpumask_size): Replace extend_alloca with a
30729         variable-length array.  Do not treat res == 0 as an error.
30731 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30733         [BZ #18100]
30734         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
30735         and integer overflow.
30736         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
30737         (main): Add integer overflow tests.
30738         * manual/pattern.texi (Calling Wordexp): Document additional use
30739         for WRDE_SYNTAX.
30741 2015-03-23  Alan Modra  <amodra@gmail.com>
30743         * config.h.in: Remove HAVE_ASM_PPC_REL16.
30744         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
30745         and false branch of conditional.
30746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30747         Likewise.
30749 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
30751         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
30752         libc-modules.h
30753         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30754         unused declaration of _hurd_intr_rpc_msg_in_trap.
30755         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
30756         defined instead of whether it is non-zero.
30757         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
30758         input constraint instead of both input and output constraint.  Use ecx
30759         clobber instead of %ecx.
30760         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
30761         mutex_unlock): Use a statement expression instead of an expression list.
30762         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
30763         type to vm_size_t instead of vm_address_t.
30764         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30765         defined instead of whether it is non-zero.
30766         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30767         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30768         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30769         comparisons with mapaddr.
30770         * nscd/nscd-client.h: Include <time.h>.
30771         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30772         9th parameter to __vm_region instead of int.
30773         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30774         * scripts/check-local-headers.sh (exclude): Add device/,
30775         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30776         cthreads.h.
30778 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30780         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30781         to account for alignment padding.
30782         * sysdeps/arm/memmove.S: Likewise.
30784 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30786         * sysdeps/unix/sysv/linux/generic/README: New file.
30788 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30790         [BZ #18138]
30791         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30792         (futex_abstimed_wait)
30793         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30794         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30795         of lll_futex_timed_wait.
30797 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30799         [BZ #17542]
30800         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30802 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30804         [BZ #17090]
30805         [BZ #17620]
30806         [BZ #17621]
30807         [BZ #17628]
30808         * NEWS: Update.
30809         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
30810         entries with Static TLS too.  Skip entries past the end of the
30811         allocated DTV, from Alan Modra.
30812         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
30813         Static TLS DTV entry set up from...
30814         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
30815         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
30816         * nptl/allocatestack.c (init_one_static_tls): ... and here...
30817         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
30818         for Static TLS.
30819         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
30820         that the slot we find is associated with the given map before
30821         using its generation count.
30822         * nptl_db/db_info.c: Include ldsodefs.h.
30823         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
30824         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
30825         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
30826         (link_map::l_tls_offset): New struct field.
30827         (dtv_t::counter): Likewise.
30828         (rtld_global): New struct.
30829         (_rtld_global): New rtld variable.
30830         (dl_tls_dtv_slotinfo_list): New rtld global field.
30831         (dtv_slotinfo_list): New struct.
30832         (dtv_slotinfo): Likewise.
30833         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
30834         (td_lookup): Rename to...
30835         (td_mod_lookup): ... this.  Use new mod parameter instead of
30836         LIBPTHREAD_SO.
30837         * nptl_db/td_thr_tlsbase.c: Include link.h.
30838         (dtv_slotinfo_list, dtv_slotinfo): New functions.
30839         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
30840         addresses even if the DTV is out of date or missing them.
30841         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
30842         index zero-length arrays.
30843         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
30844         (td_lookup): Make it a macro implemented in terms of...
30845         (td_mod_lookup): ... this declaration.
30846         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
30847         (DB_MAIN_VARIABLE): Likewise.
30849 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30851         [BZ #18134]
30852         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30854 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
30856         * stdlib/setenv.c (__add_to_environ): Revert previous change.
30858 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
30860         [BZ #18128]
30861         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
30862         (atomic_add, atomic_increment_and_test)
30863         (atomic_decrement_and_test): Fix 64-bit arithmetic.
30865 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
30867         * stdlib/setenv.c (__add_to_environ):
30868         Dump core quickly if setenv (..., NULL, ...) is called.
30870 2015-03-13  Roland McGrath  <roland@hack.frob.com>
30872         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
30873         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
30874         all the necessary asm magic in one place.
30875         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
30876         using those.
30878 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
30880         [BZ #14906]
30881         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
30882         traced file mtime. Use consistent log message.
30883         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
30884         (register_traced_file): Call install_watches. Always set mtime.
30885         (invalidate_cache): Iterate over all trace files. Call install_watches.
30886         (inotify_check_files): Don't inline. Handle watching parent
30887         directories and configuration file movement in and out.
30888         (handle_inotify_events): New function.
30889         (main_loop_poll): Call handle_inotify_events.
30890         (main_loop_epoll): Likewise.
30891         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
30892         (struct traced_file): Use array of inotify fds. Add parent directory,
30893         and basename.
30894         (struct database_dyn): Remove unused file_mtime.
30895         (init_traced_file): New inline function.
30896         (define_traced_file): New macro.
30897         * nss/nss_db/db-init.c: Use define_traced_file.
30898         (_nss_db_init): Use init_traced_file.
30899         * nss/nss_files/files-init.c: Use define_traced_file.
30900         (_nss_files_init): Use init_traced_file.
30902 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
30904         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
30905         [_LIBC]: Do not include <stdlib.h>.
30906         [!_LIBC] (abort): Remove declaration.
30907         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
30908         _FP_STATIC_ASSERT instead of conditionally calling abort.
30909         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
30910         (_FP_EXTEND_CNAN): Likewise.
30911         (FP_TRUNC): Likewise.
30912         (__FP_CLZ): Likewise.
30913         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
30915 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
30917         * manual/string.texi (XPG basename): Fix prototype.
30919 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30921         [BZ #18080]
30922         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
30923         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30924         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
30925         (__setcontext): Likewise.
30926         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
30927         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30928         Call rt_sigprocmask syscall one time to set new signal mask
30929         and retrieve the current signal mask instead of two calls.
30930         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
30931         (__swapcontext): Likewise.
30932         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
30933         * stdlib/tst-setcontext2.c: New file.
30935 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30937         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30939 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
30941         [BZ #18093]
30942         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
30943         the wrong size.
30945 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30947         [BZ #18043]
30948         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
30950 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30952         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
30953         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
30954         Remove define.
30955         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
30956         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
30957         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
30958         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
30959         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
30960         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
30961         define.
30962         * nptl_db/td_symbol_list.c (td_lookup): Remove
30963         HAVE_ASM_GLOBAL_DOT_NAME code.
30964         * sysdeps/powerpc/powerpc64/configure.ac: Remove
30965         HAVE_ASM_GLOBAL_DOT_NAME check.
30966         * sysdeps/powerpc/powerpc64/configure: Regenerate.
30967         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
30968         (DOT_LABEL): Remove define.
30969         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
30970         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
30971         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
30972         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
30973         (__TLS_GET_ADDR): Likewise.
30974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
30975         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
30977 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30979         [BZ #18111]
30980         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
30981         (_FPU_SETCW): Initialize cw from fpsr before storing.
30982         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
30983         (fesetexceptflag): Rewrite using fpu_control.h.
30984         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
30986 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
30988         [BZ #18110]
30989         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
30990         asms.
30991         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30993 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
30995         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
30996         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
30997         abort.
30998         (_FP_FMA): Likewise.
30999         (_FP_DIV): Likewise.
31001 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31003         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31004         with 0 in that case.
31005         * Makefile (summarize-tests): New canned sequence, factored out of
31006         commands for targets tests and xtests.  Display summary lines that
31007         don't start with PASS: or XFAIL: rather than ones that do start with
31008         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31009         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31010         do start with ERROR: or FAIL:.
31011         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31012         (except for [$(build-shared) = yes]).
31013         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31014         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31015         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31016         * nptl/Makefile: Revert 2015-03-04 changes.
31017         [$(CXX) empty] (tests-unsupported): New variable.
31018         * debug/Makefile: Likewise.
31020         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31021         gnulib file.  Replace __attribute with __attribute__ throughout.
31023 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31025         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31027 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31029         [BZ #18104]
31030         * math/auto-libm-test-in: Add another test of pow.
31031         * math/auto-libm-test-out: Regenerated.
31033 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31035         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31036         $(config-cflags-nofma).
31038 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31040         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31041         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31042         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31043         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31044         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31045         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31046         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31047         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31048         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31049         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31050         Add comment on closing #endif.
31052 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31054         * posix/wordexp.c (CHAR_IN_SET): New macro.
31055         (parse_param): Use it.
31057 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31059         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31061 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31063         [BZ #18043]
31064         * posix/wordexp.c (parse_param): Fix buffer overflow.
31065         * posix/wordexp-test.c (test_case): Add test case.
31067 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31069         [BZ #18042]
31070         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31071         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31073 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31075         [BZ #18043]
31076         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31077         (do_bz18043): Delete.
31078         (at_page_end): New.
31079         (testit): Refactor to have words at the edge of unreadable page.
31081 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31083         [BZ #16734]
31084         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31085         Cleanup read-only streams as well.
31086         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31088 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31090         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31091         <bits/libc-lockP.h>
31093 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31095         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31096         on [__KERNEL__].
31097         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31098         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31099         * soft-fp/op-common.h (_FP_DECL): Likewise.
31101 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31103         * elf/ifuncdep2.c (global): Replace
31104         __attribute__((visibility("protected"))) with
31105         asm (".protected global").
31106         * elf/ifuncmod1.c (global): Likewise.
31107         * elf/ifuncmod5.c (global): Likewise.
31109 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31111         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31112         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31114 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31116         * manual/install.texi (Configuring and compiling):
31117         Document test-wrapper-env-only.
31118         * INSTALL: Regenerated.
31120 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31122         [BZ #18043]
31123         * posix/wordexp.c (parse_param): Fix buffer overflow.
31124         * posix/wordexp-test.c (do_bz18043): Add test case.
31126 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31128         * time/tst-strptime2.c (do_test): Ensure failing tests are
31129         reported correctly.
31130         * time/tst-strptime3.c (do_test): Likewise.
31132 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31134         Fix aio_error thread-safety.
31135         * sysdeps/pthread/aio_error.c: New file
31136         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31137         synchronization.
31139 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31141         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31142         (group_number, vfprintf): Use it.
31143         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31144         (JUMP, REF): Use it.
31145         (WORK_BUFFER_SIZE): New enum constant.
31146         (process_arg, vfprintf): Use it.
31148 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31150         * manual/errno.texi (Error Messages): Complete example function
31151         by adding missing #define.
31152         (program_invocation_name): Add statement indicating GNU
31153         extension and reference which header file declares the variable.
31154         (program_invocation_short_name): Likewise.
31156 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31158         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31159         compatibility note.
31161 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31163         * Makeconfig (test-wrapper-env-only): New variable.
31164         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31165         then use that with $(test-wrapper-env-only) rather than using
31166         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31168 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31170         [BZ #18082]
31171         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31172         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31173         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31174         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31175         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31176         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31177         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31178         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31179         Likewise.
31180         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31181         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31182         Likewise.
31183         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31184         Likewise.
31185         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31186         Likewise.
31187         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31188         Likewise.
31189         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31190         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31191         Likewise.
31192         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31193         Likewise.
31194         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31195         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31197 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31199         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31200         (ETH_ALEN): New macro.
31201         (struct ether_addr): Use it for length of ether_addr_octet.
31203         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31204         (setdb): Don't call __nss_configure_lookup for "rpc".
31205         (do_test): Don't call test_rpc.
31206         (output_rpcent, test_rpc): Functions moved ...
31207         * sunrpc/test-rpcent.c: ... to this new file.
31208         * sunrpc/Makefile (tests): Add it.
31210         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31211         __xpg_sigpause.
31212         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31213         * nptl/tst-signal6.c: Likewise.
31214         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31215         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31217         * configure.ac (libc_cv_cxx_link_ok): New check.
31218         Reset CXX to empty if it fails to link.
31219         * configure: Regenerated.
31220         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31221         bug-atexit3-lib only if $(CXX) is nonempty.
31222         * nptl/Makefile (tests): Likewise for tst-cancel24.
31223         (tests, tests-static): Likewise for tst-cancel24-static.
31224         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31225         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31226         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31227         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31229 2015-03-04  Andreas Schwab  <schwab@suse.de>
31231         [BZ #17631]
31232         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31233         for non-GCC compilers.
31234         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31235         Likewise.
31237 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31239         [BZ #17776]
31240         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31241         integer before bitwise and assembly operations.
31242         (feclearexcept): Likewise.
31243         * math/test-fenvinline.c: New file.
31244         * math/Makefile: Add test-fenvinline test.
31246 2015-03-03  Alan Modra  <amodra@gmail.com>
31248         [BZ #16512]
31249         * scripts/localplt.awk: Strip off symbol version.
31250         * NEWS: Mention bug fix.
31252 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31254         * sysdeps/pthread/timer_routines.c
31255         (timer_free_list, thread_free_list, thread_active_list): Make static.
31257 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31259         [BZ #17779]
31260         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31261         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31262         Undefine.
31263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31264         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31265         Likewise.
31266         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31267         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31268         Likewise.
31270 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31272         [BZ #18036]
31273         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31274         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31276 2015-03-02  Andreas Schwab  <schwab@suse.de>
31278         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31279         variable name.
31281 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31283         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31284         Return error status.
31286 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31288         [BZ #15969]
31289         * locale/findlocale.c (_nl_find_locale): Introduce const
31290         version of loc_name and drop unsafe type casts.
31292 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31294         * dlfcn/tststatic2.c (main): Converted to ...
31295         (do_test): ... this.
31296         (TEST_FUNCTION): New macro.
31297         Include test-skeleton.c.
31299 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31301         [BZ #17711]
31302         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31303         (tests-pie): Add vismain.
31304         (CFLAGS-vismain.c): New.
31305         * elf/vismain.c: Add comments for PIE requirement.
31307 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31309         [BZ #18046]
31310         [BZ #18047]
31311         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31312         0x1p-56L as threshold for just returning the argument.
31313         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31314         0x1p-32L as threshold for just returning the argument.
31315         * math/auto-libm-test-in: Add more tests of atanh.
31316         * math/auto-libm-test-out: Regenerated.
31317         * sysdeps/i386/fpu/libm-test-ulps: Update.
31318         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31320 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31322         * string/bcopy.c (bcopy): Call memmove for performance.
31324 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31326         * string/bzero.c (__bzero): Call memset for performance.
31328 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31330         [BZ #18068]
31331         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31332         to 00100000.
31334 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31336         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31338 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31340         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31341         (__kernel_standard): Use CSTR macro when setting exc.name.
31342         * sysdeps/ieee754/Makefile [$(subdir) = math]
31343         (CFLAGS-k_standard.c): Remove variable.
31345         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31346         setting p and q from "else if" to "else".
31347         (qzero): Likewise.
31348         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31349         (qone): Likewise.
31350         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31351         (qzerof): Likewise.
31352         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31353         (qonef): Likewise.
31354         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31355         (qzero): Likewise.
31356         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31357         (qone): Likewise.
31359         [BZ #18038]
31360         [BZ #18039]
31361         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31362         return pi/2 for arguments below 0x1p-113L.
31363         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31364         return pi/2 for arguments below 0x1p-106L.
31365         * math/auto-libm-test-in: Add more tests of acos.
31366         * math/auto-libm-test-out: Regenerated.
31368         [BZ #16351]
31369         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31370         (MO): New macro.
31371         (__ieee754_asin): Force underflow exception for results with small
31372         absolute value.
31373         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31374         (MO): New macro.
31375         (__ieee754_asinf): Force underflow exception for results with
31376         small absolute value.
31377         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31378         (__ieee754_asin): Force underflow exception for results with small
31379         absolute value.
31380         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31381         (__ieee754_asinf): Force underflow exception for results with
31382         small absolute value.
31383         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31384         (__ieee754_asinl): Force underflow exception for results with
31385         small absolute value.
31386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31387         (__ieee754_asinl): Force underflow exception for results with
31388         small absolute value.
31389         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31390         (__ieee754_asinl): Force underflow exception for results with
31391         small absolute value.
31392         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31393         Include <math.h>.
31394         * math/auto-libm-test-in: Do not mark underflow exceptions as
31395         possibly missing for bug 16351.
31396         * math/auto-libm-test-out: Regenerated.
31398         [BZ #18030]
31399         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31400         of power of 2 down when low part has opposite sign.
31401         * math/libm-test.inc (logb_test_data): Add more tests.
31403 2015-02-26  Andreas Schwab  <schwab@suse.de>
31405         [BZ #18032]
31406         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31407         over collating symbol inside a bracket expression.  Minor cleanup.
31408         * posix/tst-fnmatch3.c (do_test): Add test case.
31410 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31412         [BZ #18029]
31413         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31414         Adjust exponent of power of 2 down when low part has opposite
31415         sign.
31416         * math/libm-test.inc (ilogb_test_data): Add more tests.
31418 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31420         [BZ #15969]
31421         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31422         the previous change.
31424         [BZ #15969]
31425         * locale/findlocale.c (_nl_find_locale): Retry archive search
31426         after alias expansion.
31428 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31430         * iconv/tst-iconv3.c (main): Converted to ...
31431         (do_test): ... this.
31432         (TEST_FUNCTION): New macro.
31433         Include test-skeleton.c.
31435         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31436         (convert): Make function static.
31437         (test_unalign): Likewise.  Add const to argument pointee types.
31438         (main): Replace with static function do_test.
31439         Print "Succeeded." only if RET is zero.
31440         (TEST_FUNCTION): New macro.
31441         Include test-skeleton.c.
31443         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31444         returns a null pointer.
31446 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31448         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31449         to __memcpy_ppc only for static builds.
31451 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31453         [BZ #18020]
31454         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31455         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31456         * math/auto-libm-test-in: Add more tests of asinh.
31457         * math/auto-libm-test-out: Regenerated.
31458         * sysdeps/i386/fpu/libm-test-ulps: Update.
31459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31461 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31463         [BZ #15850]
31464         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31465         and ip6_mtuinfo definitions here.
31466         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31467         in this define too.  Update comment.
31469 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31471         * elf/sprof.c (load_shobj): Tweak error message to match others.
31473 2015-02-24  Kevin Easton  <kevin@guarana.org>
31475         [BZ #16145] (partial fix)
31476         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31477         to reduce lock contention.
31479 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31481         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31482         (struct timex): Update time comment.
31483         (ADJ_SETOFFSET): Define.
31485 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31487         [BZ #18019]
31488         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31489         2**56 not 2**28 as threshold for log (2x) formula.
31490         * math/auto-libm-test-in: Add more tests of acosh.
31491         * math/auto-libm-test-out: Regenerated.
31492         * sysdeps/i386/fpu/libm-test-ulps: Update.
31493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31495 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31497         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
31498         parenthesis around the buf assignment.
31499         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
31501 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31503         [BZ #16783]
31504         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
31505         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
31506         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
31507         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31508         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31509         * math/libm-test.inc (scalb_test_data): Add more tests.
31511 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31513         [BZ #17916]
31514         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
31515         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
31517 2015-02-24  Eric Rannaud  <e@nanocritical.com>
31519         [BZ #17523]
31520         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
31521         * io/bits/fcntl2.h (open): Use it.
31522         (openat): Likewise.
31523         * io/open.c (__libc_open): Likewise.
31524         * io/open64.c (__libc_open64): Likewise.
31525         * io/open64_2.c (__open64_2): Likewise.
31526         * io/open_2.c (__open_2): Likewise.
31527         * io/openat.c (__openat): Likewise.
31528         * io/openat64.c (__openat64): Likewise.
31529         * io/openat64_2.c (__openat64_2): Likewise.
31530         * io/openat_2.c (__openat_2): Likewise.
31531         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
31532         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
31533         * sysdeps/posix/open64.c (__libc_open64): Likewise.
31534         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
31535         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31536         (__open_nocancel): Likewise.
31537         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31538         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31539         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
31541 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31543         [BZ #14841]
31544         * resolv/gethnamaddr.c (getanswer): Skip logging if
31545         RES_USE_DNSSEC is set.
31546         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31548 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31550         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
31552 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
31554         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
31555         201304L, for Unicode 7.
31557 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
31559         [BZ #17836]
31560         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
31561         shared library.  Add gmon-start.os otherwise.
31562         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
31563         $(objpfx)gmon-start.os if builing shared library.
31564         ($(objpfx)g$(static-start-installed-name)): Likewise.
31566 2015-02-23  Andreas Schwab  <schwab@suse.de>
31568         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
31570 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31572         [BZ #17269]
31573         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
31574         (enlarge_userbuf): Likewise.
31576 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
31578         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
31579         * math/atest-exp.c (TIMEOUT): Adjust to 200.
31580         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
31581         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
31583 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
31585         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
31586         expression inside statement expression.
31588 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31590         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
31591         <sysdeps/nptl/lowlevellock.h> and remove macros and
31592         functions that are now defined there.
31593         (SYS_futex): Remove.
31594         (lll_compare_and_swap): Remove.
31595         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
31597 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
31599         [BZ #17999]
31600         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
31601         instead of scandirat.
31602         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
31603         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
31604         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
31605         __scandirat.
31606         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
31607         (__scandirat): Declare.  Use libc_hidden_proto.
31608         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
31609         Remove variable.
31610         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31612 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31614         [BZ #15319]
31615         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
31616         (MO): New macro.
31617         (__ieee754_atan2): For results with small absolute value, force
31618         underflow exception and remove excess range and precision from
31619         return value.
31620         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
31621         (MO): New macro.
31622         (__ieee754_atan2f): For results with small absolute value, force
31623         underflow exception and remove excess range and precision from
31624         return value.
31625         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
31626         (MO): New macro.
31627         (__atan): For results with small absolute value, force underflow
31628         exception and remove excess range and precision from return value.
31629         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
31630         (MO): New macro.
31631         (__atanf): For results with small absolute value, force underflow
31632         exception and remove excess range and precision from return value.
31633         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
31634         <math.h>.
31635         (__ieee754_atan2): Force underflow exception for results with
31636         small absolute value.
31637         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
31638         <math_private.h>.
31639         (atan): Force underflow exception for results with small absolute
31640         value.
31641         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
31642         (__atanf): Force underflow exception for results with small
31643         absolute value.
31644         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
31645         <math.h>.
31646         (__atanl): Force underflow exception for results with small
31647         absolute value.
31648         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
31649         (__atanl): Force underflow exception for results with small
31650         absolute value.
31651         * sysdeps/x86/fpu/bits/mathinline.h
31652         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
31653         (__ieee754_atan2): Only define inline for long double.
31654         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
31655         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
31656         * math/auto-libm-test-in: Do not mark underflow exceptions as
31657         possibly missing for bug 15319.  Add more tests of atan2.
31658         * math/auto-libm-test-out: Regenerated.
31659         * math/libm-test.inc (casin_test_data): Do not mark underflow
31660         exceptions as possibly missing for bug 15319.
31661         (casinh_test_data): Likewise.
31662         * sysdeps/i386/fpu/libm-test-ulps: Update.
31664 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
31666         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
31667         * sysdeps/mips/bits/endian.h: Fix comments.
31669 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31671         [BZ #17996]
31672         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
31673         (hdestroy_r): Likewise.
31674         (hsearch_r): Likewise.
31675         (__hcreate_r): Declare and use libc_hidden_proto.
31676         (__hdestroy_r): Likewise.
31677         (__hsearch_r): Likewise.
31678         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
31679         (hcreate): Call __hcreate_r instead of hcreate_r.
31680         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
31681         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
31682         as weak alias of __hcreate_r.
31683         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
31684         __hdestroy_r.
31685         (hsearch_r): Rename to __hsearch_r and define as weak alias of
31686         __hsearch_r.
31687         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
31688         Remove variable.
31689         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31690         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31691         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31692         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31694 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31696         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
31697         arena_lock into a single arena_get.
31699 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
31701         * dl-reloc.c: Inlucde libc-internal.h.
31702         (_dl_try_allocate_static_tls): Call ALIGN_UP.
31703         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
31704         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
31705         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
31706         (grow_heap): Likewise.
31707         * malloc/malloc.c: Include libc-internal.h.
31708         (do_check_malloc): Call powerof2.
31709         (sysmalloc): Use pagesize. Call ALIGN_UP.
31710         (systrim): Use pagesize.
31711         (mremap_chunk): Use pagesize. Call ALIGN_UP.
31712         (__libc_valloc): Use pagesize.
31713         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
31715 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31717         [BZ #17991]
31718         * include/sys/resource.h (__getrlimit64): Declare.  Use
31719         libc_hidden_proto.
31720         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
31721         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
31722         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
31723         getrlimit64.
31724         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
31725         __getrlimit64.
31726         [!getrlimit64] (getrlimit64): Define as weak alias of
31727         __getrlimit64.  Use libc_hidden_weak.
31728         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
31729         using __getrlimit64 not __new_getrlimit64.
31730         (__GI_getrlimit64): Likewise.
31731         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
31732         Likewise.
31733         (__GI_getrlimit64): Likewise.
31734         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
31735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
31736         (getrlimit): Add __getrlimit64 alias.
31737         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
31738         Likewise.
31739         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
31740         Remove variable.
31741         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31742         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31744 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
31746         * libio/fileops.c: Add missing sys/mman.h
31747         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
31749 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31751         * manual/math.texi (Errors in Math Functions): Clarify goals
31752         regarding inexact and underflow exceptions.
31754 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31756         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
31757         * sysdeps/mips/memset.S: Ditto.
31759 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31761         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
31763 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31765         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31766         (__v1longjmp): Remove versioned symbol.
31767         (__v1siglongjmp): Remove alias and versioned symbol.
31768         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31769         (__v2siglongjmp): Likewise.
31771 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31773         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31775 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31777         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31779 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31781         [BZ #17987]
31782         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31783         zero result does not depend on the sign resulting from
31784         subtraction.
31785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31786         Likewise.
31787         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31788         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31789         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31790         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31791         * math/libm-test.inc (remquo_test_data): Add more tests.
31793 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31795         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31796         Problem reported by J William Piggott.
31798 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31800         [BZ #17978]
31801         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31802         products 4 * y and 2 * y where those would overflow.
31803         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31804         Likewise.
31805         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31806         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31807         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31808         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31809         * math/libm-test.inc (remquo_test_data): Add more tests.
31811         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
31813         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
31814         [defined _COMPILING_NEWLIB].
31815         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
31816         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
31818         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
31819         [!defined __mips_isa_rev || __mips_isa_rev < 6].
31821 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31823         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
31824         acquired.
31826 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
31828         [BZ #17792]
31829         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
31830         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
31831         HOST_STACK_END_ADDR): Likewise.
31833 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
31835         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
31836         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
31837         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
31839 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31841         * sysdeps/generic/c++-types.data: New file.
31842         * sysdeps/generic/ld.abilist: New file.
31843         * sysdeps/generic/libBrokenLocale.abilist: New file.
31844         * sysdeps/generic/libanl.abilist: New file.
31845         * sysdeps/generic/libc.abilist: New file.
31846         * sysdeps/generic/libcrypt.abilist: New file.
31847         * sysdeps/generic/libdl.abilist: New file.
31848         * sysdeps/generic/libm.abilist: New file.
31849         * sysdeps/generic/libpthread.abilist: New file.
31850         * sysdeps/generic/libresolv.abilist: New file.
31851         * sysdeps/generic/librt.abilist: New file.
31853 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31855         [BZ #17569]
31856         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31857         Compute absolute value of x as modified by fmod, not original
31858         value of x.
31859         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
31860         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
31861         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
31862         RUN_TEST_ffI_f1_mod8.
31863         (remquo_test_data): Add more tests.
31865 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31867         * sysdeps/init_array/pt-crti.S: New file.
31869 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31871         [BZ #17967]
31872         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
31873         __builtin_fmaf instead of relying on contraction of a * b + c.
31875 2015-02-12  J William Piggott  <elseifthen@gmx.com>
31877         [BZ #17969]
31878         * manual/time.texi: correct the zoneinfo path in the TZ Variable
31879         node.
31881 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31883         [BZ #17964]
31884         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
31885         __builtin_fma instead of relying on contraction of a * b + c.
31887 2015-02-12  Roland McGrath  <roland@hack.frob.com>
31889         * Makeconfig (ASFLAGS): Add -Werror=undef.
31890         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
31891         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
31892         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
31894         * Makeconfig (after-link): New variable.
31895         (+link-pie, +link-pie-tests): Use it.
31896         (+link-static, +link-static-tests): Likewise.
31897         (+link, +link-tests): Likewise.
31898         * Makerules (build-module, build-module-asneeded): Likewise.
31899         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
31900         Likewise.
31901         * elf/Makefile ($(objpfx)ld.so): Likewise.
31903 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31905         [BZ #17965]
31906         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
31907         both struct timeval and struct timespec.
31909 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31911         [BZ #16560]
31912         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31913         and redefine.
31914         (__ieee754_exp2l): Do not multiply small fractional parts by
31915         M_LN2l.
31916         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31917         small argument.
31918         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31919         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31920         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
31921         * math/auto-libm-test-in: Add more tests of exp2.
31922         * math/auto-libm-test-out: Regenerated.
31924 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31926         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
31927         unaligned path.
31929 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31931         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
31932         little endian.
31934 2015-02-12  Andreas Schwab  <schwab@suse.de>
31936         [BZ #15790]
31937         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
31938         Filter out elision flags from value returned in kind.
31939         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
31940         * nptl/tst-pthread-mutexattr.c: New file.
31942 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31944         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
31945         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
31946         into gnu-gnu, and update comment to refer to abi-tags.
31948 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
31950         [BZ #15467]
31951         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
31952         (__sincos): Set errno to EDOM for infinite argument.
31953         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31954         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
31955         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
31956         (__sincosl): Set errno to EDOM for infinite argument.
31957         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
31958         (__sincosl): Set errno to EDOM for infinite argument.
31959         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
31960         (__sincosl): Set errno to EDOM for infinite argument.
31961         * math/libm-test.inc (sincos_test_data): Test errno setting.
31963 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
31965         * string/strxfrm_l.c: Remove #define STRCMP.
31966         * string/strcoll_l.c: Remove #define STRLEN.
31967         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
31968         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
31970 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
31972         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
31973         * sysdeps/mips/mips32/sfp-machine.h: ... here.
31974         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
31975         * sysdeps/mips/mips64/Makefile: ... here.
31976         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
31977         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31978         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
31979         * sysdeps/mips/mips64/sfp-machine.h: ... here.
31980         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
31981         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
31982         * sysdeps/mips/mips64/n64/Implies: Likewise.
31984 2015-02-10  Roland McGrath  <roland@hack.frob.com>
31986         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
31987         <sys/time.h>, <string.h>, and <errno.h>.
31988         (dest_offset, dest_address, value, zero): Remove unused variables.
31989         (ldouble): Remove typedef.
31990         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
31991         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
31992         1).  Fix code style.
31993         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
31994         (check): Function removed.
31995         (CHECK): New macro.
31996         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
31997         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
31998         Don't call set_sigaction_FP and remove_sigaction_FP here.
31999         (ldouble_test): Just use 'long double' as macro argument, no need for
32000         the 'ldouble' typedef.
32001         (do_test): Set up SIGFPE handler at start, using plain signal rather
32002         than sigaction.  Fix code style.
32004 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32006         [BZ #17949]
32007         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32008         jump label.
32010 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32012         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32013         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32015         * sysdeps/powerpc/configure.ac: Remove file.
32016         * sysdeps/powerpc/configure: Likewise.
32018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32019         [sysdep_routines]: Remove wordcopy-power6 object.
32020         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32021         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32022         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32023         (__memmove_ppc32): Likewise.
32024         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32025         file.
32026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32027         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32028         Remove preprocessor.
32030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32031         [sysdep_routines]: Remove wide chars objects.
32032         [wcsmbs]: New rule for wide char objects.
32034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32035         Remove wordcopy-power6 obejct.
32036         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32037         Use local call for wordcopy and memcpy symbols.
32038         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32039         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32040         implementation for loader.
32041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32043         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32044         Remove wordcopy-power7 object.
32045         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32046         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32047         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32048         (_wordcopy_fwd_dest_aligned): Likewise.
32049         (_wordcopy_bwd_aligned): Likewise.
32050         (_wordcopy_bwd_dest_aligned): Likewise.
32052         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32053         Rewrite to call __memmove_ppc instead of include default
32054         implementation.
32056         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32057         Remove wide chars objects.
32058         [wcsmbs]: New rule for wide char objects.
32060 2015-02-09  Andreas Schwab  <schwab@suse.de>
32062         [BZ #17912]
32063         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32064         in terms of __O_DIRECTORY.
32066 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32068         * time/getdate.c: Include <stdbool.h>.
32069         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32070         call PTR_MANGLE.
32071         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32072         PTR_DEMANGLE.
32074 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32076         Add ersatz _Static_assert on older C hosts
32077         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32078         pre-C11 C platform that is not known to support _Static_assert.
32080 2015-02-07  Richard Braun  <rbraun@sceen.net>
32082         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32083         sigstate.
32084         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32086 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32088         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32089         priority against unexistent AIO_PRIO_DELTA_MAX.
32090         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32091         instead of int.
32092         * misc/fchflags.c (fchflags): Likewise.
32093         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32094         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32095         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32096         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32097         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32098         Declare macros.
32099         [__USE_MISC] (chflags, fchflags): Declare functions.
32100         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32101         EINVAL when nfds is greater than FD_SETSIZE.
32102         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32103         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32104         45.
32105         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32106         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32107         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32108         MACH_RCV_TIMED_OUT.
32109         * hurd/hurd/signal.h (_hurd_self_sigstate,
32110         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32111         Explicit casts from void *.
32112         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32113         * abi-tags: Rename gnu-gnu os into gnu.
32115         [BZ #4719]
32116         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32117         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32118         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32119         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32120         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32121         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32123         [BZ #17944]
32124         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32125         duplicates ADDR->sun_path with sockaddr LEN limitation.
32126         * sysdeps/mach/hurd/connect.c: Include <string.h>
32127         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32128         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32129         * sysdeps/mach/hurd/sendto.c: Likewise.
32130         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32131         implementing it by hand.
32133 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32135         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32136         Use sfi_breg on ldr.
32137         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32138         Likewise.
32140         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32141         it's defined.
32142         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32143         Test SIGSETXID only if it's defined.
32145         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32147         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32148         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32150         * nptl/tst-align2.c: Moved ...
32151         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32152         * nptl/Makefile (tests): Remove tst-align2.
32153         * sysdeps/unix/sysv/linux/Makefile
32154         [$(subdir) = nptl] (tests): Add tst-align-clone.
32155         * nptl/tst-getpid1.c: Moved ...
32156         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32157         * nptl/tst-getpid2.c: Moved ...
32158         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32159         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32160         * sysdeps/unix/sysv/linux/Makefile
32161         [$(subdir) = nptl] (tests): ... here.
32162         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32163         * sysdeps/unix/sysv/linux/Makefile
32164         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32166         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32167         Drop trailing \n from perror argument.  Use return rather than exit.
32169         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32170         on [SA_SIGINFO].
32171         * nptl/tst-cancel21.c (do_test): Likewise.
32172         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32173         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32174         [!SA_SIGINFO]: Make it a stub test.
32176         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32177         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32179         * posix/tst-getlogin.c: Move to ...
32180         * login/tst-getlogin.c: ... here.
32181         * posix/Makefile (tests): Move tst-getlogin to ...
32182         * login/Makefile (tests): ... here.
32184         * libio/tst-atime.c (do_test): Move local variables SV and E
32185         inside [ST_NOATIME] conditional.
32187         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32189         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32191         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32192         (wait_code): New function replaces macro.
32193         Call nanosleep rather than syscall.
32195         * nptl/pt-system.c: Rewritten.  Put everything under
32196         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32197         Use IFUNC to redirect when possible.
32199         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32200         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32201         Use IFUNC to redirect when possible.
32203         * nptl/pt-fork.c: Rewritten.  Put everything under
32204         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32205         Use IFUNC to redirect when possible.
32206         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32208         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32209         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32210         unconditionally nowadays.  This included the only reference to
32211         __vdso_clock_gettime that appears outside libc proper.
32212         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32213         Remove version set (containing only __vdso_clock_gettime).
32214         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32215         Add attribute_hidden.
32216         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32217         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32218         libc_hidden_data_def.
32219         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32220         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32222         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32223         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32224         setrpcent, and getrpcport to ...
32225         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32226         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32227         getrpcbynumber_r, and getrpcent_r to ...
32228         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32229         * inet/getrpcbyname.c: Moved ...
32230         * sunrpc/getrpcbyname.c: ... here.
32231         * inet/getrpcbyname_r.c: Moved ...
32232         * sunrpc/getrpcbyname_r.c: ... here.
32233         * inet/getrpcbynumber.c: Moved ...
32234         * sunrpc/getrpcbynumber.c: ... here.
32235         * inet/getrpcbynumber_r.c: Moved ...
32236         * sunrpc/getrpcbynumber_r.c: ... here.
32237         * inet/getrpcent.c: Moved ...
32238         * sunrpc/getrpcent.c: ... here.
32239         * inet/getrpcent_r.c: Moved ...
32240         * sunrpc/getrpcent_r.c: ... here.
32241         * inet/Makefile (routines): Move those to ...
32242         * sunrpc/Makefile (routines): ... here.
32243         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32244         the $(subdirs) list.
32245         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32246         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32247         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32248         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32250         * elf/Makefile (routines): Include $(all-dl-routines), not just
32251         $(dl-routines).
32252         (rtld-routines): Likewise.  Use = rather than :=.
32253         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32254         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32255         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32256         * sysdeps/arm/Makefile: Likewise.
32257         * sysdeps/i386/Makefile: Likewise.
32258         * sysdeps/x86_64/Makefile: Likewise.
32259         * sysdeps/hppa/Makefile [$(subdir) = elf]
32260         (sysdep_routines, sysdep-rtld-routines): Don't add
32261         $(sysdep-dl-routines) to these.
32262         * sysdeps/ia64/Makefile: Likewise.
32263         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32264         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32265         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32266         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32267         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32268         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32269         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32270         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32271         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32272         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32273         these; sysdep-dl-routines alone is enough.
32275 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32277         [BZ #17932]
32278         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32279         where multiplication results in zero and third argument is finite
32280         and nonzero.
32281         * math/auto-libm-test-in: Add more tests of fma.
32282         * math/auto-libm-test-out: Regenerated.
32284         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32285         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32286         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32287         (_FP_CMP_EQ): Likewise.
32288         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32290         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32291         extra argument CHECK_NAN.  Redefine as wrapper around
32292         _FP_EXTEND_CNAN.
32294 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32296         * version.h (RELEASE): Set to "stable".
32297         (VERSION): Set to "2.21"
32298         * include/features.h (__GLIBC_MINOR__): Set to 21.
32300         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32302 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32303             Paul Eggert  <eggert@cs.ucla.edu>
32305         [BZ #16618]
32306         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32307         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32308         size in bytes. Store needed elements in wpmax. Use needed size
32309         in bytes for extend_alloca.
32311 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32313         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32314         binutls 2.25, and texinfo 5.2.
32315         * INSTALL: Regenerate.
32316         * sysdeps/nios2/configure: Regenerate.
32317         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32318         * manual/contrib.texi: Update.
32319         * po/be.po: Update.
32320         * po/bg.po: Update.
32321         * po/ca.po: Update.
32322         * po/cs.po: Update.
32323         * po/da.po: Update.
32324         * po/de.po: Update.
32325         * po/el.po: Update.
32326         * po/eo.po: Update.
32327         * po/es.po: Update.
32328         * po/fi.po: Update.
32329         * po/fr.po: Update.
32330         * po/gl.po: Update.
32331         * po/hr.po: Update.
32332         * po/hu.po: Update.
32333         * po/ia.po: Update.
32334         * po/id.po: Update.
32335         * po/it.po: Update.
32336         * po/ja.po: Update.
32337         * po/ko.po: Update.
32338         * po/lt.po: Update.
32339         * po/nb.po: Update.
32340         * po/nl.po: Update.
32341         * po/pl.po: Update.
32342         * po/pt_BR.po: Update.
32343         * po/ru.po: Update.
32344         * po/rw.po: Update.
32345         * po/sk.po: Update.
32346         * po/sl.po: Update.
32347         * po/sv.po: Update.
32348         * po/tr.po: Update.
32349         * po/uk.po: Update.
32350         * po/vi.po: Update.
32351         * po/zh_CN.po: Update.
32352         * po/zh_TW.po: Update.
32354         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32355         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32356         * sysdeps/hppa/dl-irel.h: Remove #warning.
32357         * sysdeps/hppa/entry.h: Provide prototype for
32358         __canonicalize_funcptr_for_compare and cast argument.
32359         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32360         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32361         * sysdeps/hppa/sotruss-lib.c: New file.
32362         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32363         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32364         (atomic_compare_and_exchange_bool_acq): Likewise.
32365         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32366         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32368         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32369         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32370         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32372 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32374         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32375         called function in non-PIC case.
32377 2015-01-31  David S. Miller  <davem@davemloft.net>
32379         * sysdeps/sparc/sparc32/bits/atomic.h
32380         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32381         unlock not after it.
32382         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32383         volatile register usage warnings from the compiler.
32385         * sysdeps/sparc/nptl/sem_init.c: Delete.
32386         * sysdeps/sparc/nptl/sem_post.c: Delete.
32387         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32388         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32389         * sysdeps/sparc/sparc32/sem_init.c: New file.
32390         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32391         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32392         padding explicitly initialized.
32393         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32394         padding for in-semaphore spinlock.
32395         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32396         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32397         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32398         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32399         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32400         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32401         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32402         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32403         version.
32404         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32405         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32407 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32409         [BZ #17801]
32410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32411         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32412         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32413         New.
32414         (index_AVX_Fast_Unaligned_Load): Likewise.
32415         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32416         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32417         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32418         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32419         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32420         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32421         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32422         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32423         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32425 2015-01-29  Andreas Schwab  <schwab@suse.de>
32427         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32429 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32431         [BZ #17892]
32432         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32434 2015-01-28  Martin Sebor  <msebor@redhat.com>
32436         * math/README.libm-test: Clarify. Add "How to read the test output."
32438 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32440         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32441         Define to 0.
32443 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32445         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32446         (__HAVE_64B_ATOMICS): Define to 0.
32448 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32450         [BZ #17885]
32451         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32452         value to set as new flag.
32454         [BZ #16576]
32455         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32456         and use _ARCH_PPCSQ instead.
32457         (__ieee754_sqrt): Likewise.
32458         (__ieee754_sqrtf): Likewise.
32459         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32460         _ARCH_PPCSQ is defined.
32461         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32462         fsqrt instruction.
32463         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32464         _ARCH_PPCSQ is defined.
32465         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32466         fsqrts instruction.
32467         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32469 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32471         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32472         bug (GCC BZ #64739).
32474 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32476         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32477         Mark _retval as used.
32478         (lll_futex_wake_unlock): Likewise.
32479         (lll_futex_timed_wait_requeue_pi): Likewise.
32481         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32482         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32483         register variables.
32485         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
32486         libm_hidden_def.
32488         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
32489         (__bswap_64): Mark as __always_inline.
32491 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
32493         [BZ #15378]
32494         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
32495         when none of the search directories exist.
32497 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32499         [BZ #17869]
32500         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
32501         power8 in .machine directive.
32503         [BZ #17868]
32504         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
32505         set dependency from opd value.
32507 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32510         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
32511         architecture.
32513 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32515         [BZ #17870]
32516         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
32517         with uint64_t.
32518         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
32519         (uint64_t) 1.
32520         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
32521         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
32522         Replace 1UL with (uint64_t) 1.
32523         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
32524         int with uint64_t.
32526 2015-01-23  Roland McGrath  <roland@hack.frob.com>
32528         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
32529         (if_freenameindex): Likewise.
32531         * resource/getrlimit64.c: Add missing libc_hidden_def.
32533 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
32535         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
32536         __label__.
32537         (_FP_FMA): Likewise.
32538         (_FP_TO_INT_ROUND): Likewise.
32539         (_FP_FROM_INT): Likewise.
32541 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32543         [BZ #16418]
32544         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32545         Make code racy and cancel safe.
32547 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
32549         * sysdeps/arm/unwind-resume.h: Fix copyright year.
32550         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
32551         attribution.
32553         * pwd/tst-getpw.c: Rewrite.
32555         [BZ #17702]
32556         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
32557         (modules-names): Add moddummy1 and moddummy2.
32558         ($(objpfx)tst-rec-dlopen): Define.
32559         * dlfcn/moddummy1.c: New file.
32560         * dlfcn/moddummy2.c: New file.
32561         * dlfcn/tst-rec-dlopen.c: New file.
32562         * elf/dl-cache.c (_dl_load_cache_lookup):
32563         Return char*. Copy result with alloca/strcpy/strdup.
32564         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
32565         returns char*. Free cached. If not saving realname
32566         free cached.
32567         * elf/dl-open.c (dl_open_worker): Do not assert that
32568         _r_debug->r_state is RT_CONSISTENT.
32569         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
32570         returns char*.
32572 2015-01-21  Torvald Riegel  <triegel@redhat.com>
32573             Carlos O'Donell  <carlos@redhat.com>
32575         [BZ #12674]
32576         * nptl/sem_waitcommon.c: New file.
32577         * nptl/sem_wait.c: Include sem_waitcommon.c.
32578         (__sem_wait_cleanup, do_futex_wait): Remove.
32579         (__new_sem_wait): Adapt.
32580         (__new_sem_trywait): New function.
32581         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
32582         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
32583         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
32584         (sem_timedwait): Adapt.
32585         * nptl/sem_post.c (__new_sem_post): Adapt.
32586         (futex_wake): New function.
32587         (__old_sem_post): Add release MO fence.
32588         * nptl/sem_open.c (sem_open): Adapt.
32589         * nptl/sem_init.c (__new_sem_init): Adapt.
32590         (futex_private_if_supported): New function.
32591         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
32592         (__old_sem_getvalue): Add using previous code.
32593         * sysdeps/nptl/internaltypes.h: Adapt.
32594         * nptl/tst-sem13.c (do_test): Adapt.
32595         * nptl/tst-sem11.c (main): Adapt.
32596         * nptl/sem_trywait.c: Remove.
32597         * nptl/DESIGN-sem.txt: Remove.
32598         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
32599         (gen-as-const-headers): Remove structsem.sym.
32600         * nptl/structsem.sym: Remove.
32601         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
32602         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
32603         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
32604         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
32605         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
32606         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
32607         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
32608         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
32609         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
32610         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
32611         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
32612         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
32613         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
32614         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
32615         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
32616         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
32617         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
32618         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
32619         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
32620         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
32621         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
32622         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
32624 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
32626         * INSTALL: Regenerated.
32628         * po/libc.pot: Regenerated.
32630 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
32631             Sandra Loosemore  <sandra@codesourcery.com>
32632             Andrew Jenner  <andrew@codesourcery.com>
32633             Joseph Myers  <joseph@codesourcery.com>
32634             Nathan Sidwell  <nathan@codesourcery.com>
32636         * NEWS: Mention new Nios II port.
32637         * sysdeps/nios2/Implies: New file.
32638         * sysdeps/nios2/Makefile: New file.
32639         * sysdeps/nios2/Subdirs: New file.
32640         * sysdeps/nios2/Versions: New file.
32641         * sysdeps/nios2/__longjmp.S: New file.
32642         * sysdeps/nios2/abort-instr.h: New file.
32643         * sysdeps/nios2/backtrace.c: New file.
32644         * sysdeps/nios2/bits/endian.h: New file.
32645         * sysdeps/nios2/bits/fenv.h: New file.
32646         * sysdeps/nios2/bits/link.h: New file.
32647         * sysdeps/nios2/bits/setjmp.h: New file.
32648         * sysdeps/nios2/bsd-_setjmp.S: New file.
32649         * sysdeps/nios2/bsd-setjmp.S: New file.
32650         * sysdeps/nios2/configure: New generated file.
32651         * sysdeps/nios2/configure.ac: New file.
32652         * sysdeps/nios2/crti.S: New file.
32653         * sysdeps/nios2/crtn.S: New file.
32654         * sysdeps/nios2/dl-init.c: New file.
32655         * sysdeps/nios2/dl-machine.h: New file.
32656         * sysdeps/nios2/dl-sysdep.h: New file.
32657         * sysdeps/nios2/dl-tls.h: New file.
32658         * sysdeps/nios2/dl-trampoline.S: New file.
32659         * sysdeps/nios2/gccframe.h: New file.
32660         * sysdeps/nios2/gmp-mparam.h: New file.
32661         * sysdeps/nios2/jmpbuf-offsets.h: New file.
32662         * sysdeps/nios2/jmpbuf-unwind.h: New file.
32663         * sysdeps/nios2/ldsodefs.h: New file.
32664         * sysdeps/nios2/libc-tls.c: New file.
32665         * sysdeps/nios2/libm-test-ulps: New file.
32666         * sysdeps/nios2/machine-gmon.h: New file.
32667         * sysdeps/nios2/math-tests.h: New file.
32668         * sysdeps/nios2/math_private.h: New file.
32669         * sysdeps/nios2/memusage.h: New file.
32670         * sysdeps/nios2/nptl/Makefile: New file.
32671         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
32672         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
32673         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
32674         * sysdeps/nios2/nptl/pthreaddef.h: New file.
32675         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
32676         * sysdeps/nios2/nptl/tls.h: New file.
32677         * sysdeps/nios2/preconfigure: New file.
32678         * sysdeps/nios2/s_fma.c: New file.
32679         * sysdeps/nios2/s_fmaf.c: New file.
32680         * sysdeps/nios2/setjmp.S: New file.
32681         * sysdeps/nios2/sfp-machine.h: New file.
32682         * sysdeps/nios2/sotruss-lib.c: New file.
32683         * sysdeps/nios2/stackguard-macros.h: New file.
32684         * sysdeps/nios2/stackinfo.h: New file.
32685         * sysdeps/nios2/start.S: New file.
32686         * sysdeps/nios2/sysdep.h: New file.
32687         * sysdeps/nios2/tls-macros.h: New file.
32688         * sysdeps/nios2/tst-audit.h: New file.
32689         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
32690         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
32691         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
32692         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
32693         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
32694         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
32695         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
32696         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
32697         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
32698         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
32699         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
32700         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
32701         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
32702         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
32703         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
32704         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
32705         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
32706         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
32707         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
32708         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
32709         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
32710         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
32711         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
32712         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
32713         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
32714         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
32715         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
32716         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
32717         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
32718         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
32719         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
32720         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
32721         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
32722         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
32723         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
32724         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
32725         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
32726         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
32727         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
32728         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
32729         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
32730         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
32731         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
32732         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
32734 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32736         [BZ #17844]
32737         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
32738         (getutent): Use weak_alias in non SHARED case
32739         and default_symbol_version in SHARED case.
32740         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
32741         (getutent_r, pututline): Likewise.
32742         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
32743         (getutid): Likewise.
32744         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
32745         (getutid_r): Likewise.
32746         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
32747         (getutline): Likewise.
32748         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
32749         (getutline_r): Likewise.
32750         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
32751         (updwtmp): Likewise.
32753 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32755         [BZ #17848]
32756         * sysdeps/s390/s390-32/memcmp.S
32757         (memcmp_g5): Rename to __memcmp_g5.
32758         * sysdeps/s390/s390-32/memcpy.S
32759         (memcpy_g5): Rename to __memcpy_g5.
32760         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32761         (memcpy_mvcle) Rename to __memcpy_mvcle.
32762         * sysdeps/s390/s390-32/memset.S
32763         (memset_g5): Rename to __memset_g5.
32764         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32765         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32766         and use prefixed functions.
32767         * sysdeps/s390/s390-32/multiarch/memcmp.S
32768         (memcmp_z196): Rename to __memcmp_z196.
32769         (memcmp_z10): Rename to __memcmp_z10.
32770         (memcmp): Set alias to __memcmp_g5.
32771         (bcmp): Set alias to __memcmp_g5.
32772         * sysdeps/s390/s390-32/multiarch/memcpy.S
32773         (memcpy_z196): Rename to __memcpy_z196.
32774         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32775         (memcpy_z10): Rename to __memcpy_z10.
32776         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32777         (memcpy): Set alias to __memcpy_g5.
32778         * sysdeps/s390/s390-32/multiarch/memset.S
32779         (memset_z196): Rename to __memset_z196.
32780         Jump to __memset_mvcle instead of memset_mvcle.
32781         (memset_z10): Rename to __memset_z10.
32782         Jump to __memset_mvcle instead of memset_mvcle.
32783         (memset_mvcle) Rename to __memset_mvcle.
32784         (memset): Set alias to __memset_g5.
32785         * sysdeps/s390/s390-64/memcmp.S
32786         (memcmp_z900): Rename to __memcmp_z900.
32787         * sysdeps/s390/s390-64/memcpy.S
32788         (memcpy_z900): Rename to __memcpy_z900.
32789         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32790         (memcpy_mvcle) Rename to __memcpy_mvcle.
32791         * sysdeps/s390/s390-64/memset.S
32792         (memset_z900): Rename to __memset_z900.
32793         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32794         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32795         and use prefixed functions.
32796         * sysdeps/s390/s390-64/multiarch/memcmp.S
32797         (memcmp_z196): Rename to __memcmp_z196.
32798         (memcmp_z10): Rename to __memcmp_z10.
32799         (memcmp): Set alias to __memcmp_z900.
32800         (bcmp): Set alias to __memcmp_z900.
32801         * sysdeps/s390/s390-64/multiarch/memcpy.S
32802         (memcpy_z196): Rename to __memcpy_z196.
32803         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32804         (memcpy_z10): Rename to __memcpy_z10.
32805         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32806         (memcpy): Set alias to __memcpy_z900.
32807         * sysdeps/s390/s390-64/multiarch/memset.S
32808         (memset_z196): Rename to __memset_z196.
32809         Jump to __memset_mvcle instead of memset_mvcle.
32810         (memset_z10): Rename to __memset_z10.
32811         Jump to __memset_mvcle instead of memset_mvcle.
32812         (memset_mvcle) Rename to __memset_mvcle.
32813         (memset): Set alias to __memset_z900.
32815 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
32817         [BZ #17748]
32818         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
32819         __fesetenv instead of fesetenv.
32821 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32823         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
32824         macro.
32826 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32828         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
32829         regression on LE.
32831         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
32832         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
32833         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32834         strncmp-power8 object.
32835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32836         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
32837         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
32838         * NEWS: Update.
32840 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32841             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32843         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
32844         trailing byte check.
32846 2015-01-13  David S. Miller  <davem@davemloft.net>
32848         * include/signal.h (__sigreturn): Guard with __USE_MISC.
32850 2015-01-13  Roland McGrath  <roland@hack.frob.com>
32852         * login/logout.c (logout): Use memset rather than bzero.
32853         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
32854         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
32855         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
32856         (_gethtbyaddr): Likewise.
32857         * locale/programs/simple-hash.c (bcopy): Macro removed.
32859 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32861         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32862         Add strcmp-power8 object.
32863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32864         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
32865         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
32866         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
32867         __strcmp_power8 implementation.
32868         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
32869         * NEWS: Update.
32871         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32872         Add strncpy-power8 and stpncpy-power8 objects.
32873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32874         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
32875         implementations.
32876         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
32877         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
32878         __stpncpy_power8 implementation.
32879         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
32880         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32881         __strncpy_power8 implementation.
32882         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
32883         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
32884         * NEWS: Update.
32886         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
32887         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
32888         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
32890         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32891         strncat-power8 object.
32892         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
32893         __strcat_power8 implementation.
32894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32895         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
32896         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
32897         optimized strcat for power8.
32899         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32900         strcpy-power8 and stpcpy-power8 objects.
32901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32902         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
32903         implementations.
32904         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
32905         multiarch stpcpy implementation for POWER8.
32906         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
32907         multiarch strcpy implementation for POWER8.
32908         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
32909         __strcpy_power8 function.
32910         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
32911         stpcpy for POWER8.
32912         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
32913         strcpy for POWER8.
32914         * NEWS: Update.
32916 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
32918         [BZ #16009]
32919         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
32920         weights and rules. Use do_xfrm_cached if data fits in cache,
32921         do_xfrm otherwise.  Moved former main loop to...
32922         * (do_xfrm_cached): New function.
32923         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
32924         find_idx, find_position and stack_push.
32925         * (find_idx): New function.
32926         * (find_position): Likewise.
32927         * localedata/sort-test.sh: Added test run for do_xfrm.
32928         * localedata/xfrm-test.c (main): Added command line option
32929         -nocache to run the test with strings that are too large for
32930         the STRXFRM cache.
32932 2015-01-13  Torvald Riegel  <triegel@redhat.com>
32934         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
32935         variable to lll_futex_wake call, not the value itself.
32937 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
32939         [BZ #17803]
32940         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
32941         twom64.  Adjust value to 0x1p-64L.
32942         (__scalblnl): Only return standard underflowing result for K <=
32943         -64 not K <= -63; adjust exponent for underflowing result by 64
32944         not 63.
32945         * math/libm-test.inc (scalbn_test_data): Add more tests.
32946         (scalbln_test_data): Likewise.
32948         [BZ #17834]
32949         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
32950         0x1p63L.
32951         (__scalblnl): Get new exponent of adjusted subnormal value from ES
32952         not HX.
32953         * math/libm-test.inc (scalbn_test_data): Add more tests.
32954         (scalbln_test_data): Likewise.
32956 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32957             Stefani Seibold  <stefani@seibold.net>
32959         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
32960         (sysdep_routines): Add dl-vdso here, ...
32961         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
32962         (sysdep_routines): ... not here.
32963         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
32964         fallback when vDSO is not presented.
32965         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32966         Define with libc_hidden_proto/libc_hidden_data_def definitions.
32967         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32968         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
32969         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
32970         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
32971         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
32972         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
32973         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
32974         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
32975         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
32976         fallback configurable symbol when vDSO is not available.
32977         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
32978         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
32979         be able to redefine fallback symbol when vDSO is not available.
32980         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
32981         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
32983 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32985         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
32986         (TLS_INIT_TP): Add tm_capable initialization.
32987         (TLS_DEFINE_INIT_TP): Likewise.
32988         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
32989         TCB.
32990         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
32991         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
32992         calculation.
32993         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
32994         transactoion is lock elision is built and TCB tm_capable is set.
32995         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
32996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32997         (INTERNAL_SYSCALL_NCS): Likewise.
32998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32999         (INTERNAL_SYSCALL_NCS): Likewise.
33000         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33002         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33003         for powerpc.
33004         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33005         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33006         and remove it for 32 bits case.
33007         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33008         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33009         initialization.
33010         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33011         Disable lock elision with rdlocks if elision is not available.
33013         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33014         (sysdep_routines): Add lock elision objects.
33015         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33016         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33017         [pthread_mutex_t] (__elision): Add field.
33018         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33019         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33020         elision definitions for powerpc.
33021         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33022         implementation of lock elision for powerpc.
33023         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33024         implementation of timed lock elision for powerpc.
33025         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33026         implementation of trylock with lock elision for powerpc.
33027         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33028         implementaion of unlock for lock elision for powerpc.
33029         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33030         automatic enable lock elision for mutexes.
33031         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33032         transaction execution definitions for powerpc.
33033         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33034         definitions.
33035         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33036         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33037         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33038         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33039         * NEWS: Update.
33041 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33043         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33044         for #include of <shm-directory.h>.
33046 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33048         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33049         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33051 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33053         [BZ #17791]
33054         * NEWS: Mention bug fix.
33055         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33056         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33057         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33059 2015-01-09  Torvald Riegel <triegel@redhat.com>
33061         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33063 2015-01-09  Torvald Riegel <triegel@redhat.com>
33065         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33067 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33069         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33070         pointer and cast to uintptr_t.
33072 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33074         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33075         removed.
33076         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33078 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33080         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33081         of 0.
33083 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33085         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33086         <nptl/pthreadP.h> instead.
33087         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33089         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33090         already defined.
33091         [__SIGRTMIN] (init): Function removed.
33092         [__SIGRTMIN] (initialized): Variable removed.
33093         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33094         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33095         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33096         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33097         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33098         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33099         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33100         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33101         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33102         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33103         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33104         * sysdeps/nptl/allocrtsig.c: New file.
33105         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33106         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33107         * sysdeps/generic/testrtsig.h: File removed.
33109         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33110         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33112         * nptl/nptl-init.c (pthread_functions): Conditionalize
33113         .ptr__nptl_setxid initialization on [SIGSETXID].
33115         * sysdeps/nptl/sys/procfs.h: New file.
33116         * nptl_db/Makefile (headers): Add it.
33117         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33119         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33120         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33121         * nptl/pthread_attr_setaffinity.c: Include it.
33122         * nptl/pthread_setattr_default_np.c: Likewise.
33123         * nptl/check-cpuset.h: New file.
33125 2015-01-08  Richard Henderson  <rth@redhat.com>
33127         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33128         (CFLAGS-tst-execstack-prog.c): Likewise.
33129         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33131 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33132             Sandra Loosemore  <sandra@codesourcery.com>
33133             Andrew Jenner  <andrew@codesourcery.com>
33134             Joseph Myers  <joseph@codesourcery.com>
33135             Nathan Sidwell  <nathan@codesourcery.com>
33137         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33138         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33139         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33140         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33141         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33142         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33143         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33144         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33145         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33146         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33147         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33148         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33149         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33150         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33151         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33152         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33153         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33155 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33157         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33158         timespec struct member in syscall macro.
33159         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33160         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33161         first timeval struct member in syscall macro.
33162         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33164 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33166         [BZ #17748]
33167         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33168         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33169         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33170         __feupdateenv and define as weak alias of __feupdateenv.  Use
33171         libm_hidden_weak.
33172         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33173         libm_hidden_def.
33174         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33175         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33176         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33177         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33178         libm_hidden_def.
33179         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33180         __feupdateenv and define as weak alias of __feupdateenv.  Use
33181         libm_hidden_weak.
33182         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33183         libm_hidden_def.
33184         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33185         __feupdateenv and define as weak alias of __feupdateenv.  Use
33186         libm_hidden_weak.
33187         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33188         libm_hidden_def.
33189         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33190         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33191         (__feupdateenv): Likewise.
33192         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33193         __feupdateenv and define as weak alias of __feupdateenv.  Use
33194         libm_hidden_weak.
33195         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33196         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33197         libm_hidden_def.
33198         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33199         function.
33200         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33201         libm_hidden_def.
33202         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33203         __feupdateenv instead of feupdateenv.
33204         (default_libc_feupdateenv_test): Likewise.
33205         (libc_feresetround_ctx): Likewise.
33207 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33209         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33210         prototype.
33212 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33214         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33215         COLL_SYM in a couple of places to avoid uninitialized variable
33216         wanings on tilegx gcc 4.8.2.
33218 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33220         * sysdeps/aarch64/strcpy.S: New file.
33221         * sysdeps/aarch64/stpcpy.S: New file.
33222         * NEWS: Updated.
33224 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33226         * sysdeps/aarch64/strrchr.S: New file.
33227         * NEWS: Updated.
33229 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33231         [BZ #17658]
33232         * stdlib/setenv.c: Fix memory leak when setting large,
33233         duplicate string.
33235 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33237         [BZ #17273]
33238         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33239         and tabs from buffer before parsing fstab entry.
33240         * misc/tst-mntent.c (main): Add test for mount entry with
33241         trailing spaces and tabs.
33243 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33245         [BZ #17748]
33246         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33247         * math/fesetround.c (fesetround): Rename to __fesetround and
33248         define as weak alias of __fesetround.  Use libm_hidden_weak.
33249         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33250         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33251         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33252         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33253         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33254         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33255         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33256         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33257         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33258         __fesetround_inline.
33259         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33260         __fesetround_inline instead of __fesetround.
33261         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33262         __fesetround and define as weak alias of __fesetround.  Use
33263         libm_hidden_weak.  Call __fesetround_inline instead of
33264         __fesetround.
33265         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33266         __fesetround and define as weak alias of __fesetround.  Use
33267         libm_hidden_weak.
33268         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33269         Likewise.
33270         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33271         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33272         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33273         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33274         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33275         __fesetround and define as weak alias of __fesetround.  Use
33276         libm_hidden_weak.
33277         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33278         __fesetround instead of fesetround.
33279         (default_libc_feholdexcept_setround): Likewise.
33280         (libc_feholdsetround_ctx): Likewise.
33281         (libc_feholdsetround_noex_ctx): Likewise.
33283         [BZ #17748]
33284         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33285         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33286         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33287         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33288         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33289         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33290         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33291         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33292         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33293         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33294         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33295         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33296         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33297         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33298         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33299         libm_hidden_def.
33300         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33301         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33302         Likewise.
33303         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33304         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33305         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33306         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33307         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33308         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33309         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33310         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33311         __fesetenv instead of fesetenv.
33312         (libc_feresetround_noex_ctx): Likewise.
33313         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33314         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33315         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33316         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33317         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33318         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33319         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33320         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33321         (__feupdateenv): Likewise.
33322         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33323         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33324         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33325         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33327 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33329         [BZ #17806]
33330         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33331         addresses have been freed.
33333 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33335         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33336         and nservall.
33338 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33340         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33341         Clean up check_pf allocation pattern. addresses
33343 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33345         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33346         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33347         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33348         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33349         * nptl/pthread_join.c (pthread_join): Likewise.
33350         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33351         * sysdeps/posix/waitid.c (__waitid): Likewise.
33352         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33353         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33354         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33355         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33357         Likewise.
33358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33359         (__libc_pread64): Likewise.
33360         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33361         (__libc_pwrite): Likewise.
33362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33363         (__libc_pwrite64): Likewsie.
33364         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33365         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33366         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33367         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33368         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33369         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33370         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33372         Likewise.
33373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33374         (__libc_pread64): Likewise.
33375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33376         Likewise.
33377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33378         (__libc_pwrite64): Likewise.
33379         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33380         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33381         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33382         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33383         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33384         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33385         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33386         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33387         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33388         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33389         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33390         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33391         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33392         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33393         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33394         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33395         Likewise.
33397 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33399         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33400         (CFLAGS-test-double.c): Likewise.
33401         (CFLAGS-test-ldouble.c): Likewise.
33402         (CPPFLAGS-test-ifloat.c): Likewise.
33403         (CPPFLAGS-test-idouble.c): Likewise.
33404         (CPPFLAGS-test-ildoubl.c): Likewise.
33405         (CFLAGS-test-test-fenv.c): Remove variable.
33406         (CFLAGS-test-misc.c): Likewise.
33408 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33410         [BZ #17797]
33411         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33412         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33413         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33414         CLOCKS_PER_SEC == 1000000.
33415         * time/clocktest.c (main): Replace %ld with %jd and cast to
33416         intmax_t.
33418 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33420         * sysdeps/generic/unwind-resume.h: New file.
33421         * sysdeps/gnu/unwind-resume.c: Include it.
33422         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33423         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33424         argument list.
33425         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33426         global rather than static.
33427         (_Unwind_Resume): Update user.
33428         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33429         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33430         rather than static.  Add __attribute__ ((cold)).
33431         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33432         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33433         * sysdeps/arm/arm-unwind-resume.S: New file.
33434         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33435         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33436         * sysdeps/arm/Makefile [$(subdir) = csu]
33437         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33438         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33439         Add rt-arm-unwind-resume.
33440         [$(subdir) = nptl]
33441         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33442         Add pt-arm-unwind-resume.
33443         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33444         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33446 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33448         [BZ #17748]
33449         * include/fenv.h (__feholdexcept): Declare.  Use
33450         libm_hidden_proto.
33451         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33452         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33453         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33454         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33455         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33456         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33457         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33458         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33459         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33460         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33461         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33462         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33463         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33464         (feholdexcept): Likewise.
33465         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33466         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33467         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33468         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33469         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33470         __feholdexcept instead of feholdexcept.
33471         (default_libc_feholdexcept_setround): Likewise.
33473 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33475         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33476         to avoid using stl/str to align destination.
33478 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33480         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33482 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33484         [BZ #17796]
33485         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
33486         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
33487         Define as weak alias not strong alias.
33489 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33491         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
33492         bltzal with addiupc.
33493         (RTLD_START): Ditto.
33495 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
33497         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
33498         for __vdso_* functions in declarations.
33499         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
33500         definitions.
33501         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
33502         INTERNAL_VSYSCALL): Use struct return types to check for error.
33504         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
33505         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
33506         function with cast from llround().
33507         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
33508         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
33509         Define.
33511 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33513         [BZ #17793]
33514         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
33515         Define as weak alias not strong alias.
33517         [BZ #17635]
33518         * ctype/ctype-c99.c: New file.  isblank implementation moved from
33519         ...
33520         * ctype/ctype-extn.c: ... here.
33521         (__isblank_l): Move to ...
33522         * ctype/ctype-c99_l.c: ... here.  New file.
33523         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
33524         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
33525         Remove variable.
33526         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33527         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33528         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33529         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33530         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33532         [BZ #17777]
33533         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
33534         (posix_fadvise64): Define as weak alias not strong alias.
33535         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33536         (posix_fallocate64): Likewise.
33537         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
33538         Remove variable.
33539         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33540         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33541         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33542         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33543         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33545 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
33547         [BZ #16191]
33548         * NEWS: Mention bug fix.
33549         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
33550         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
33551         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
33552         (HOST_STACK_END_ADDR): Likewise.
33554 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33556         [BZ #17748]
33557         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
33558         * math/fegetround.c (fegetround): Rename to __fegetround and
33559         define as weak alias of __fegetround.  Use libm_hidden_weak.
33560         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
33561         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
33562         * sysdeps/arm/fegetround.c (fegetround): Likewise.
33563         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
33564         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33565         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
33566         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
33567         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
33568         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33569         Undefine after rather than before function definition; use
33570         parentheses around function name in definition.
33571         (__fegetround): Also undefine macro after function definition.
33572         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
33573         __fegetround and define as weak alias of __fegetround.  Use
33574         libm_hidden_weak.  Do not undefine as macro.
33575         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33576         Likewise.
33577         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
33578         __fegetround and define as weak alias of __fegetround.  Use
33579         libm_hidden_weak.
33580         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33581         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33582         * sysdeps/tile/math_private.h (__fegetround): New inline function.
33583         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
33584         __fegetround and define as weak alias of __fegetround.  Use
33585         libm_hidden_weak.
33586         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
33587         __fegetround instead of fegetround.
33589         [BZ #17782]
33590         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
33591         Condition macro definition on [__USE_MISC].
33593         [BZ #17781]
33594         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33595         (struct sigaction): Change type of sa_flags field to int.
33597         [BZ #17780]
33598         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
33599         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
33600         __glibc_reserved0.
33602         * nptl/version.c (banner): Use single year in copyright notice.
33604         * NEWS: Update copyright dates.
33605         * catgets/gencat.c (print_version): Likewise.
33606         * csu/version.c (banner): Likewise.
33607         * debug/catchsegv.sh: Likewise.
33608         * debug/pcprofiledump.c (print_version): Likewise.
33609         * debug/xtrace.sh (do_version): Likewise.
33610         * elf/ldconfig.c (print_version): Likewise.
33611         * elf/ldd.bash.in: Likewise.
33612         * elf/pldd.c (print_version): Likewise.
33613         * elf/sotruss.sh: Likewise.
33614         * elf/sprof.c (print_version): Likewise.
33615         * iconv/iconv_prog.c (print_version): Likewise.
33616         * iconv/iconvconfig.c (print_version): Likewise.
33617         * locale/programs/locale.c (print_version): Likewise.
33618         * locale/programs/localedef.c (print_version): Likewise.
33619         * login/programs/pt_chown.c (print_version): Likewise.
33620         * malloc/memusage.sh (do_version): Likewise.
33621         * malloc/memusagestat.c (print_version): Likewise.
33622         * malloc/mtrace.pl: Likewise.
33623         * manual/libc.texinfo: Likewise.
33624         * nptl/version.c (banner): Likewise.
33625         * nscd/nscd.c (print_version): Likewise.
33626         * nss/getent.c (print_version): Likewise.
33627         * nss/makedb.c (print_version): Likewise.
33628         * posix/getconf.c (main): Likewise.
33629         * scripts/test-installation.pl: Likewise.
33630         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
33632 2015-01-02  Will Newton  <will.newton@linaro.org>
33634         * sysdeps/arm/armv7/configure: Removed.
33635         * sysdeps/arm/armv7/configure.ac: Likewise.
33637 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33639         * All files with FSF copyright notices: Update copyright dates
33640         using scripts/update-copyrights.
33641         * intl/plural.c: Regenerated.
33642         * locale/programs/charmap-kw.h: Likewise.
33643         * locale/programs/locfile-kw.h: Likewise.
33645 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33647         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
33649 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33651         [BZ #17748]
33652         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
33653         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
33654         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33655         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33656         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33657         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
33658         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33659         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
33660         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33661         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33662         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33663         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33664         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33665         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33666         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
33667         libm_hidden_def.
33668         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
33669         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
33670         Likewise.
33671         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33672         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33673         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33674         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33675         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
33676         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33677         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33678         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
33679         __fegetenv instead of fegetenv.
33680         (libc_feholdsetround_noex_ctx): Likewise.
33682 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33684         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
33685         (Elf_MIPS_ABIFlags_v0): New structure.
33686         (EF_MIPS_FP64): Define.
33687         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
33688         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
33689         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
33690         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
33691         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
33692         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
33693         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
33694         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
33695         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
33696         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
33697         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
33698         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
33699         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
33700         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
33701         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
33702         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
33703         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
33704         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
33705         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
33706         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
33707         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
33708         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
33709         field.
33710         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
33711         EF_MIPS_FP64.
33712         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
33713         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
33714         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
33715         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
33716         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
33717         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
33718         * sysdeps/mips/tst-abi-interlink.c: Likewise.
33719         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
33720         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
33721         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
33722         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
33723         record the current FP ABI extension.
33724         (mips-mode-switch): Define to show if kernel headers support mode
33725         switching.
33726         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
33727         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
33728         supported SYSV ABI version to 3.
33729         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
33730         feature.
33732 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33733             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33735         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
33736         path.
33737         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
33739 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33741         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
33742         __fegetround and redefine to call __fegetround.  Remove condition
33743         on [!__NO_MATH_INLINES].
33744         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
33745         function.
33746         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
33747         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33748         Remove macro.
33749         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
33750         instead of <fenv_libc.h>.
33751         (__llrintl): Call fegetround instead of __fegetround.
33752         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
33753         instead of <fenv_libc.h>.
33754         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33755         (__lrintl): Call fegetround instead of __fegetround.
33756         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
33757         instead of <fenv_libc.h>.
33758         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33759         (__rintl): Call fegetround instead of __fegetround.
33761 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33763         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33764         arrays.
33766 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33768         [BZ #17775]
33769         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33770         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33771         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33773 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33775         * sysdeps/i386/tls-macros.h: Include <features.h>.
33776         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33777         (TLS_IE): Likewise.
33778         (TLS_LD): Likewise.
33779         (TLS_GD): Likewise.
33780         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33781         define for GCC >= 5.0.
33783 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33785         * math/test-fenv.c (test_single_exception, set_single_exc,
33786         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33787         feexcp_mask_test, feenable_test, fe_single_test): Add
33788         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33789         case where they are not used.
33790         * math/libm-test.inc: Likewise.
33791         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33792         unused in the absence of FP rounding/exception support.
33793         * stdio-common/tst-printf-round.c: Likewise.
33794         * stdlib/tst-strtod-round.c: Likewise.
33795         * stdlib/tst-strtod-underflow.c: Likewise.
33797 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33799         [BZ #17723]
33800         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33801         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33802         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33803         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33804         libm_hidden_weak.
33805         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33806         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33807         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
33808         libm_hidden_def.
33809         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33810         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33811         libm_hidden_weak.
33812         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
33813         Likewise.
33814         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33815         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33816         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33817         libm_hidden_weak.
33818         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33819         libm_hidden_def.
33820         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33821         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
33822         (__feraiseexcept): Likewise.
33823         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33824         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33825         libm_hidden_weak.
33826         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33827         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33828         libm_hidden_def.
33829         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
33830         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
33831         Use libm_hidden_def.
33832         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
33833         libm_hidden_def.
33834         (feraiseexcept): Define as weak not strong alias.  Use
33835         libm_hidden_weak.
33836         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
33837         New inline function.  Factored out of ...
33838         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
33839         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
33840         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
33841         feraiseexcept.
33842         * math/w_acos.c (__acos): Likewise.
33843         * math/w_asin.c (__asin): Likewise.
33844         * math/w_ilogb.c (__ilogb): Likewise.
33845         * math/w_j0.c (y0): Likewise.
33846         * math/w_j1.c (y1): Likewise.
33847         * math/w_jn.c (yn): Likewise.
33848         * math/w_log.c (__log): Likewise.
33849         * math/w_log10.c (__log10): Likewise.
33850         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
33851         * sysdeps/aarch64/fpu/math_private.h
33852         (libc_feupdateenv_test_aarch64): Likewise.
33853         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33854         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
33855         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
33856         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33857         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33858         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33859         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
33860         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33861         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33862         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33864 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33866         [BZ #17732]
33867         * io/test-utime.c (main): Replace %ld with %jd and cast to
33868         intmax_t.
33869         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
33870         * nptl/tst-mutex5.c: Include <stdint.h>.
33871         (do_test): Replace %ld with %jd and cast to intmax_t.
33872         * posix/tst-regex.c (run_test): Likewise.
33873         (run_test_backwards): Likewise.
33874         * rt/tst-clock.c: Include <stdint.h>.
33875         (clock_test): Replace %ld with %jd and cast to intmax_t.
33876         * rt/tst-cpuclock1.c: Include <stdint.h>.
33877         (do_test): Replace %lu with %ju and cast to uintmax_t.
33878         * rt/tst-cpuclock2.c: Include <stdint.h>.
33879         (do_test): Replace %lu with %ju and cast to uintmax_t.
33880         * rt/tst-mqueue1.c: Include <stdint.h>.
33881         (check_attrs): Replace %ld with %jd and cast to intmax_t.
33882         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
33883         intmax_t.
33884         * rt/tst-mqueue4.c (do_test): Likewise.
33885         * rt/tst-timer4.c: Include <stdint.h>.
33886         (check_ts): Replace %ld with %jd and cast to intmax_t.
33887         (do_test): Likewise.
33888         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
33889         and cast to intmax_t.
33890         * sysdeps/pthread/tst-timer.c (main): Likewise.
33891         * time/clocktest.c (main): Likewise.
33892         * time/tst-posixtz.c (do_test): Likewise.
33893         * timezone/tst-timezone.c (main): Likewise.
33895 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33896             H.J. Lu  <hongjiu.lu@intel.com>
33898         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
33899         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33900         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
33901         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33902         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
33903         version if bit_Fast_Unaligned_Load is set.
33904         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33905         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33906         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33907         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33908         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33909         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33911         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
33912         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
33913         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
33914         to 4.
33915         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
33916         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
33917         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
33918         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
33920 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
33922         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
33923         instead of #if to avoid a Wundef warning.
33924         * stdlib/tst-limits.c (do_test): Likewise.
33926         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
33927         parallel other exception macros.
33928         (fegetenv): Convert from macro to extern inline so that it applies
33929         retroactively to inline functions already seen by the compiler.
33930         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
33932         * posix/Makefile (before-compile): Use $(objpfx) for
33933         posix-conf-vars-def.h.
33935 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33937         * posix/getconf.c (main): Use size_t for type of I.
33938         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
33939         NSPEC.
33941         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
33942         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
33943         * posix/posix-envs.def: Likewise.
33944         * sysdeps/posix/sysconf.c: Likewise.
33945         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
33946         (specs): Remove array.
33947         * scripts/gen-posix-conf-vars.awk: Support generation of specs
33948         array.
33950         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
33951         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
33952         (__sysconf): Use CONF_IS_* macros.
33954         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
33955         ($(objpfx)posix-conf-vars-def.h): New target.
33956         * posix/posix-conf-vars.list: New file.
33957         * posix/posix-conf-vars.h: New file.
33958         * posix/confstr.c: Include posix-conf-vars.h.
33959         (confstr): Use CONF_IS_* macros.
33960         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
33961         CONF_IS_* macros.
33962         * scripts/gen-posix-conf-vars.awk: New file.
33964 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
33966         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33967         fegetround): Add no-op macros to avoid linknamespace issues.
33969         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
33970         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
33972         * sysdeps/unix/sysv/linux/tile/sysdep.h
33973         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
33974         assembly-specific section to avoid a redefinition warning.
33976         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
33977         long before casting to pointer to avoid a cast warning.
33979 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33981         * sysdeps/tile/tilegx/Implies: New file.
33983 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
33985         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
33987 2014-12-23  Florian Weimer  <fweimer@redhat.com>
33989         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
33991 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33993         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
33994         not define.
33995         * sysdeps/unix/sysv/linux/utimes.c: Do not include
33996         <kernel-features.h>.
33997         (__utimes) [__NR_utimes]: Make code unconditional.
33998         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
33999         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34000         (__ASSUME_UTIMES): Do not undefine.
34001         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34002         (__ASSUME_UTIMES): Likewise.
34003         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34004         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34005         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34006         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34008 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34010         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34012 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34014         [BZ #17747]
34015         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34016         alias to weak alias for j0l, y0l.
34017         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34018         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34020         [BZ #17746]
34021         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34022         conversion.
34024 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34026         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34027         to zero if not already defined.
34029 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34031         [BZ #17724]
34032         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34033         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34034         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34035         (char *) casts added.
34036         * sysdeps/ieee754/k_standardf.c: New file.
34037         * sysdeps/ieee754/k_standardl.c: Likewise.
34038         * math/Makefile (libm-support): Remove k_standard.
34039         (libm-calls): Add k_standard.
34041 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34043         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34044         Optimize to avoid an unnecessary FPCR read.
34046 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34048         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34049         Optimize to reduce FPCR/FPSR accesses.
34051 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34053         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34054         Call libc_fetestexcept_aarch64.
34056 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34058         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34059         Call libc_fesetround_aarch64.
34061 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34063         [BZ #17733]
34064         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34065         (__bind): Do not define as weak alias.
34066         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34067         define.
34068         (__getsockname): Do not define as weak alias.
34070 2014-12-22  Will Newton  <will.newton@linaro.org>
34072         * manual/install.texi: Document that we require bison 2.7
34073         or above.
34074         * INSTALL: Regenerate.
34075         * configure.ac: Use AC_CHECK_PROG_VER instead of
34076         AC_PATH_PROG when checking for bison and check for
34077         version 2.7 or above.
34078         * configure: Regenerate.
34080 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34082         [BZ #17745]
34083         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34084         * sysdeps/tile/ffsll.c (ffsll): To here.
34086         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34088 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34090         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34091         if not defined.
34092         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34093         definition.
34094         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34095         hidden ___tls_get_addr.
34096         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34097         hidden __tls_get_addr.
34098         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34099         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34100         Likewise.
34102 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34104         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34105         _dl_init call.
34107 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34109         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34110         from "call _dl_init@PLT".
34111         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34113 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34115         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34116         guarantees.
34118 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34120         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34122 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34124         [BZ #17744]
34125         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34126         strnlen.
34128 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34130         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34131         of multu on MIPSr6.
34132         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34133         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34134         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34135         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34136         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34138 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34140         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34141         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34142         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34143         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34144         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34145         mips32r6/mips64r6.
34146         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34148 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34150         * string/strncat.c (STRNCAT): Simplify implementation.
34152 2014-12-19  David S. Miller  <davem@davemloft.net>
34154         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34155         access the quad as both a long double and as a series of 4 words.
34157         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34158         link_map->l_info array access.
34160 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34162         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34164         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34165         * math/atest-exp2.c (TIMEOUT): Likewise.
34166         * math/atest-sincos.c (TIMEOUT): Likewise.
34168 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34170         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34171         -Wno-error with -fno-builtin-lround.
34173 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34175         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34176         Contains futex constants and functions moved over from ...
34177         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34178         <lowlevellock-futex.h>.
34179         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34180         (lll_timedwait_tid): Add comments and parentheses around macro
34181         arguments.
34183 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34185         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34186         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34187         (__lll_private_flag): Remove.
34188         (lll_futex_wait): Likewise.
34189         (lll_futex_timed_wait): Likewise.
34190         (lll_futex_wake): Likewise.
34191         (lll_futex_requeue): Likewise.
34192         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34193         (__lll_timedwait_tid): Spell out argument names.
34194         (lll_timedwait_tid): Add comments and parentheses around macro
34195         arguments.
34196         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34197         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34199 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34201         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34202         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34203         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34204         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34205         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34206         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34207         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34208         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34209         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34210         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34211         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34212         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34213         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34214         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34215         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34216         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34217         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34218         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34219         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34221 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34223         * sysdeps/x86_64/x32/Makefile: New file.
34225 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34227         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34228         1L with (mp_limb_t) 1.
34230 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34232         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34233         * nptl/libc_pthread_init.c: ... here.
34234         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34235         * nptl/register-atfork.c: ... here.
34237         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34238         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34239         Use assert_perror to check its return value.
34240         (__gai_create_helper_thread): Likewise.
34242         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34244         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34246 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34248         [BZ #17725]
34249         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34250         __profil_counter.
34251         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34252         Likewise.
34253         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34254         Likewise.
34255         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34256         Likewise.
34257         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34258         (profil_counter): Likewise.
34259         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34260         (profil_counter): Likewise.
34261         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34262         Likewise.
34263         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34264         Likewise.
34265         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34266         (profil_counter): Likewise.
34267         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34268         Likewise.
34269         [!__profil_counter] (profil_counter): Define as weak alias of
34270         __profil_counter.
34271         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34272         (profil_counter): Rename to __profil_counter.
34273         [!__profil_counter] (profil_counter): Define as weak alias of
34274         __profil_counter.
34275         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34276         (profil_counter): Rename to __profil_counter.
34277         [!__profil_counter] (profil_counter): Define as weak alias of
34278         __profil_counter.
34279         * sysdeps/posix/profil.c: Update comment referring to
34280         profil_counter.
34281         (__profil): Use __profil_counter instead of profil_counter.
34282         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34283         __profil_counter.  Use __profil_counter_ushort and
34284         __profil_counter_uint in definitions.
34285         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34286         instead of profil_counter_uint and profil_counter_ushort.
34288         [BZ #17722]
34289         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34290         define as weak alias of __inet_makeaddr.
34291         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34292         as weak alias of __inet_addr.
34293         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34294         as weak alias of __inet_pton.  Use libc_hidden_weak.
34295         * include/arpa/inet.h (__inet_pton): Declare.  Use
34296         libc_hidden_proto.
34297         (inet_makeaddr): Don't use libc_hidden_proto.
34298         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34299         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34300         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34301         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34302         Remove variable.
34303         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34304         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34306 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34308         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34310 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34312         * stdio-common/bug-vfprintf-nargs.c (do_test):
34313         Cast value to intptr_t to avoid format warning
34314         for usage with PRIdPTR printing macro.
34316 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34318         * libio/tst-widetext.c (do_test):
34319         Use format type %td instead of %Zd for ptrdiff_t
34320         in order to avoid format warning.
34322 2014-12-17  Andreas Schwab  <schwab@suse.de>
34324         * nscd/mem.c (gc): Add size_t cast to match printf format.
34326 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34328         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34329         (init): Apply PTR_MANGLE to pointers before storing them.
34330         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34331         before using them.
34333 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34335         [BZ #17719]
34336         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34337         define as weak alias of __memrchr.
34338         (__memrchr): Do not define as strong alias of memrchr.
34339         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34340         Remove variable.
34341         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34342         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34343         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34345         [BZ #17717]
34346         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34347         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34348         (if_indextoname): Rename to __if_indextoname and define as weak
34349         alias of __if_indextoname.  Use libc_hidden_weak.
34350         (if_freenameindex): Rename to __if_freenameindex and define as
34351         weak alias of __if_freenameindex.
34352         (if_nameindex): Rename to __if_nameindex and define as weak alias
34353         of __if_nameindex.
34354         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34355         __if_nametoindex and define as weak alias of __if_nametoindex.
34356         Use libc_hidden_weak.
34357         (if_freenameindex): Rename to __if_freenameindex and define as
34358         weak alias of __if_freenameindex.
34359         (if_nameindex): Rename to __if_nameindex and define as weak alias
34360         of __if_nameindex.
34361         (if_indextoname): Rename to __if_indextoname and define as weak
34362         alias of __if_indextoname.  Use libc_hidden_weak.
34363         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34364         __if_nametoindex and define as weak alias of __if_nametoindex.
34365         Use libc_hidden_weak.
34366         (if_freenameindex): Rename to __if_freenameindex and define as
34367         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34368         (if_nameindex_netlink): Use __if_freenameindex instead of
34369         if_freenameindex.
34370         (if_nameindex): Rename to __if_nameindex and define as weak alias
34371         of __if_nameindex.  Use libc_hidden_weak.
34372         (if_indextoname): Rename to __if_indextoname and define as weak
34373         alias of __if_indextoname.  Use libc_hidden_weak.
34374         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34375         libc_hidden_proto.
34376         [!_ISOMAC] (__if_freenameindex): Likewise.
34377         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34378         if_nametoindex.
34379         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34380         variable.
34381         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34382         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34383         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34384         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34385         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34386         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34387         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34389         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34390         Remove variable.
34391         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34392         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34394 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34396         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34397         subscript above bounds'
34399         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34400         bounds.
34402 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34404         * libio/tst-fopenloc.c: Use test-skeleton.c.
34406         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34407         (entry): Rename to ITEM.
34408         (do_test, comp): Adjust.
34410         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34412 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34414         * string/tester.c: Include <libc-internal.h>.
34415         (test_memset): Ignore -Wmemset-transposed-args.
34417 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34419         * misc/tst-mntent2.c (do_test): Fix warning.
34421 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34423         * elf/tst-unique4lib.cc(a): Mark as used.
34425 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34427         [BZ #17630]
34428         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34429         names.
34431 2014-12-16  Allan McRae  <allan@archlinux.org>
34433         * stdio-common/Makefile (tests): Re-add bug26.
34435 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34437         [BZ #17657]
34438         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34439         static array.
34441 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34443         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34444         (__lll_lock_wait): Likewise.
34445         (__lll_timedlock_wait): Likewise.
34446         (__lll_timedwait_tid): Likewise.
34447         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34448         (__lll_robust_timedlock_wait): Likewise.
34449         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34450         (lll_cond_trylock): Likewise.
34451         (__lll_lock): Likewise.
34452         (__lll_robust_lock): Likewise.
34453         (__lll_cond_lock): Likewise.
34454         (lll_robust_cond_lock): Likewise.
34455         (__lll_timedlock): Likewise.
34456         (__lll_robust_timedlock): Likewise.
34457         (__lll_unlock): Likewise.
34458         (__lll_robust_unlock): Likewise.
34459         (lll_wait_tid): Likewise.
34460         (lll_timedwait_tid): Likewise.
34462 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34464         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34466 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34468         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34470 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34472         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34473         * stdio-common/tst-sprintf.c: Likewise.
34475 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34477         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34479 2014-12-15  Jeff Law  <law@redhat.com>
34481         [BZ #16617]
34482         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34483         on the heap.  (CVE-2012-3406)
34484         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
34485         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
34486         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
34488 2014-12-15  Will Newton  <will.newton@linaro.org>
34490         * manual/install.texi: Bump required version of texinfo
34491         to 4.7 from 4.5.
34492         * INSTALL: Regenerated.
34493         * configure.ac: Check for makeinfo version 4.7 and above.
34494         * configure: Regenerated.
34496 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34498         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
34499         PREFIX, string constant to insert between directory and name.
34500         * sysdeps/posix/shm_open.c: Update caller.
34501         * sysdeps/posix/shm_unlink.c: Likewise.
34502         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
34503         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
34504         (SEM_SHM_PREFIX): New macro.
34505         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
34506         [$(have-thread-library) = no].
34507         * nptl/Makefile (libpthread-routines): Add shm-directory.
34508         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
34509         * sysdeps/nptl/shm-directory.h: New file.
34510         * sysdeps/posix/shm-directory.c
34511         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
34512         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
34513         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
34514         INTERNAL_SYSCALL.
34515         (__where_is_shmfs): Function removed.
34516         (mountpoint, defaultmount, defaultdir, __namedsem_once):
34517         Variables removed.
34518         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
34519         Use SHM_GET_NAME.
34520         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
34522         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
34523         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
34524         unconditional for use inside libpthread.
34525         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
34527 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34529         * nptl/pthread_getaffinity.c: New file.
34530         * nptl/pthread_setaffinity.c: New file.
34531         * nptl/pthread_getname.c: New file.
34532         * nptl/pthread_setname.c: New file.
34534         * nptl/pthread_create.c (START_THREAD_DEFN)
34535         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
34537 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34538             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34540         * resolv/res_send.c (send_vc): Disable warning resplen may
34541         be used uninitialized.
34543 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34545         * nptl/tst-mutex6.c
34546         (ATTR_NULL): New define checks ATTR against NULL.
34547         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
34548         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
34550 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
34552         [BZ #17581]
34553         * malloc/hooks.c
34554         (mem2mem_check): Revert my previous change.
34555         (malloc_check_get_size): Revert my previous change.
34556         (mem2chunk_check): Revert my previous change.
34558 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34560         * sysdeps/posix/shm-directory.c: New file.
34561         * sysdeps/posix/shm-directory.h: New file.
34562         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
34563         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
34564         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
34565         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
34566         Transmute EPERM to EACCES.
34567         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
34568         from ...
34569         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
34570         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
34572 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34574         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
34575         pointer and cast to uintptr_t.
34576         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
34577         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
34578         Add cast to avoid warning.
34579         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
34581 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34583         * nptl/semaphore.h: Move to ...
34584         * sysdeps/pthread/semaphore.h: ... here.
34585         * Makefile (installed-headers): Change nptl/semaphore.h to
34586         sysdeps/pthread/semaphore.h.
34588 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34590         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
34591         generated error format strings.
34593         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
34594         -Wformat-extra-args warnings for scanf formats.
34595         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
34596         test of zero-length format (duh).
34597         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
34598         corner-case scanf format test.
34599         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
34600         generated fprintf format string.
34601         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
34602         corner-case sprintf format tests.
34603         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
34604         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
34605         -Wformat-extra-args warnings throughout.
34606         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
34607         (CFLAGS-scanf4.c): Likewise.
34608         (CFLAGS-scanf7.c): Likewise.
34609         (CFLAGS-tst-sprintf.c): Likewise.
34610         (CFLAGS-tst-printf.c): Likewise.
34611         (CFLAGS-tst-printfsz.c): Likewise.
34613 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34615         * include/cpio.h: New file.
34616         * include/fmtmsg.h: Likewise.
34618         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
34619         corresponding format argument to size_t.
34620         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
34621         arguments.
34622         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
34623         corresponding format argument to size_t.
34624         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
34625         arguments.
34626         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
34627         corresponding format argument to size_t.
34628         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
34629         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
34630         (CFLAGS-tst-mbswcs2.c): Likewise.
34631         (CFLAGS-tst-mbswcs3.c): Likewise.
34632         (CFLAGS-tst-mbswcs4.c): Likewise.
34633         (CFLAGS-tst-mbswcs5.c): Likewise.
34634         (CFLAGS-tst-trans.c): Likewise.
34636 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34638         * posix/regexbug1.c (main): Use "%s" format with regerror results,
34639         rather than assuming they won't contain any '%'s.
34641 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
34643         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
34644         inhibit_loop_to_libcall to avoid recursive calls.
34645         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
34646         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
34648 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34650         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
34651         prototype.
34653 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34655         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
34656         integer value instead of boolean.
34658 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34660         * malloc/malloc.c: Fix powerof2 check.
34662 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34664         * locale/programs/locfile.h (maybe_swap_uint32):
34665         Remove inline and add unused attribute.
34667 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34669         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34670         Truncating assembler expression to a .long expression.
34672 2014-12-11  Andreas Schwab  <schwab@suse.de>
34674         * elf/rtld.c (struct map_args): Constify str member.
34675         (do_preload): Constify fname argument.
34677 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34679         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
34680         constants definition.
34682 2014-12-11  Andreas Schwab  <schwab@suse.de>
34684         [BZ #16657]
34685         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
34686         FORCE_ELISION instead of DO_ELISION.
34687         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
34688         Remove.
34689         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
34690         Likewise.
34692         * iconvdata/gconv-modules: Remove duplicate entry.
34694 2014-12-11  Will Newton  <will.newton@linaro.org>
34696         Merge gettext 0.19.3 into intl/.
34698         This involves a number of cosmetic changes to comments
34699         and ANSI function definitions and prototypes throughout
34700         all the files. The gettext copyright header is used but
34701         with the date ranges taken from the glibc copy.
34703         * NEWS: Add gettext merge to 2.21.
34704         * intl/bindtextdom.c: Switch to gettext copyright.
34705         Use ANSI definitions and prototypes.
34706         Use gl_* locking primitives rather than __libc_* ones.
34707         Use __builtin_expect rather than __glibc_likely/unlikely.
34708         * intl/dcgettext.c: Switch to gettext copyright.
34709         Use ANSI definitions and prototypes.
34710         * intl/dcigettext.c: Switch to gettext copyright.
34711         Use ANSI definitions and prototypes.
34712         (INTDIV0_RAISES_SIGFPE): New define.
34713         Use gl_* locking primitives rather than __libc_* ones.
34714         Include eval-plural.h instead of plural-eval.c.
34715         Use __builtin_expect rather than __glibc_likely/unlikely.
34716         * intl/dcngettext.c: Switch to gettext copyright.
34717         Use ANSI definitions and prototypes.
34718         * intl/dgettext.c: Likewise.
34719         * intl/dngettext.c: Likewise.
34720         * intl/plural-eval.c: Renamed to...
34721         * intl/eval-plural.h: ...this.
34722         * intl/explodename.c: Switch to gettext copyright.
34723         Use ANSI definitions and prototypes.
34724         (_nl_explode_name): Use strchr instead of __rawmemchr.
34725         * intl/finddomain.c: Switch to gettext copyright.
34726         Use ANSI definitions and prototypes.
34727         Use gl_* locking primitives rather than __libc_* ones.
34728         (_nl_find_domain): Use malloc rather than alloca for
34729         allocation of temporary locale name.
34730         * intl/gettext.c: Switch to gettext copyright.
34731         Use ANSI definitions and prototypes.
34732         * intl/gettextP.h: Switch to gettext copyright.
34733         Use ANSI definitions and prototypes.
34734         Use gl_* locking primitives rather than __libc_* ones.
34735         * intl/gmo.h: Switch to gettext copyright.
34736         (struct sysdep_string): Move struct segment_pair outside of
34737         struct definition.
34738         * intl/hash-string.c: Use ANSI definitions and prototypes.
34739         * intl/hash-string.h: Switch to gettext copyright.
34740         Use ANSI definitions and prototypes.
34741         * intl/l10nflist.c: Switch to gettext copyright.
34742         Use ANSI definitions and prototypes.
34743         (_nl_normalize_codeset): Avoid integer overflow.
34744         * intl/loadinfo.h: Switch to gettext copyright.
34745         Use ANSI definitions and prototypes.
34746         (LIBINTL_DLL_EXPORTED): New define.
34747         (PATH_SEPARATOR): New define.
34748         * intl/loadmsgcat.c: Switch to gettext copyright.
34749         * intl/localealias.c: Switch to gettext copyright.
34750         Use ANSI definitions and prototypes.
34751         (_nl_expand_alias): Use PATH_SEPARATOR.
34752         * intl/ngettext.c: Switch to gettext copyright.
34753         Use ANSI definitions and prototypes.
34754         * intl/plural-exp.c: Likewise.
34755         * intl/plural-exp.h: Switch to gettext copyright.
34756         Use ANSI definitions and prototypes.
34757         (struct expression): Move definition of enum operator outside
34758         of struct definition.
34759         * intl/plural.c: Regenerate.
34760         * intl/plural.y: Switch to gettext copyright.
34761         Use ANSI definitions and prototypes.
34762         Port to bison 3.0.
34763         * intl/textdomain.c: Switch to gettext copyright.
34764         Use ANSI definitions and prototypes.
34765         Use gl_* locking primitives rather than __libc_* ones.
34767 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34769         * debug/warning-nop.c: Add used atrribute.
34771 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34773         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34775         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34776         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34777         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34779 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34782         [BZ #17634]
34783         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34784         Undefine after defining function.  Define as weak alias of
34785         __wcschr.  Use libc_hidden_weak.
34786         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34787         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34788         (libc_hidden_def): Also define __GI___wcschr alias.
34789         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34790         __wcschr and define as weak alias of __wcschr.
34791         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34792         __wcschr.
34793         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34794         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34795         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34796         libc_hidden_weak.  Do not use libc_hidden_def.
34797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34798         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34799         __GI___wcschr alias.
34800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34801         [IS_IN (libc)] (wcschr): Define as macro expanding to
34802         __redirect_wcschr.
34803         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34804         [IS_IN (libc)] (__wcschr_power6): Likewise.
34805         [IS_IN (libc)] (__wcschr_power7): Likewise.
34806         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
34807         instead of wcschr.
34808         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
34809         __libc_wcschr.
34810         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
34811         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
34812         __wcschr and define as weak alias of __wcschr.  Use
34813         libc_hidden_builtin_def.
34814         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
34815         as weak alias of __wcschr.  Use libc_hidden_weak.
34816         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
34817         wcschr.
34818         * time/era.c (_nl_init_era_entries): Likewise.
34819         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
34820         variable.
34821         (test-xfail-XPG3/time.h/linknamespace): Likewise.
34822         (test-xfail-XPG4/time.h/linknamespace): Likewise.
34824 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34826         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
34827         format for long int variable.
34829 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
34831         [BZ #10672]
34832         * manual/search.texi: (Array Sort Function): Remove claim how to make
34833         qsort stable.
34835 2014-12-10  Andreas Schwab  <schwab@suse.de>
34837         [BZ #12847]
34838         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
34839         user-controlled locks.
34841 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
34843         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
34844         register.
34846 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34848         * configure.ac (--disable-werror): New configure option.
34849         (enable_werror): New AC_SUBST.
34850         * configure: Regenerated.
34851         * config.make.in (enable-werror): New variable.
34852         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
34853         -Wno-error=undef.
34854         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
34855         * manual/install.texi (Configuring and compiling): Document
34856         --disable-werror.
34857         * INSTALL: Regenerated.
34858         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
34859         (CFLAGS-tst-chk2.c): Likewise.
34860         (CFLAGS-tst-chk3.c): Likewise.
34861         (CFLAGS-tst-chk4.cc): Likewise.
34862         (CFLAGS-tst-chk5.cc): Likewise.
34863         (CFLAGS-tst-chk6.cc): Likewise.
34864         (CFLAGS-tst-lfschk1.c): Likewise.
34865         (CFLAGS-tst-lfschk2.c): Likewise.
34866         (CFLAGS-tst-lfschk3.c): Likewise.
34867         (CFLAGS-tst-lfschk4.cc): Likewise.
34868         (CFLAGS-tst-lfschk5.cc): Likewise.
34869         (CFLAGS-tst-lfschk6.cc): Likewise.
34871         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
34872         (main): Disable -Wdeprecated-declarations around calls to
34873         register_printf_function.
34875         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
34876         (do_test): Disable -Wdiv-by-zero around some calls to
34877         fwrite_unlocked and fread_unlocked.
34879         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
34880         (DIAG_POP_NEEDS_COMMENT): Likewise.
34881         (_DIAG_STR1): Likewise.
34882         (_DIAG_STR): Likewise.
34883         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
34884         * stdio-common/bug21.c: Include <libc-internal.h>.
34885         (do_test): Disable -Wformat around call to sscanf.
34886         * stdio-common/scanf14.c: Include <libc-internal.h>.
34887         (main): Disable -Wformat around some calls to scanf functions.
34889 2014-12-09  Torvald Riegel  <triegel@redhat.com>
34891         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
34893 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34895         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
34896         stack variable alignment.
34898 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
34900         [BZ #17682]
34901         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34902         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
34903         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
34904         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
34905         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
34906         __getrlimit instead of getrlimit.
34907         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
34908         __gettimeofday instead of gettimeofday.
34909         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34910         Likewise.
34911         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34912         Likewise.
34913         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34914         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
34915         Remove variable.
34916         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34917         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34919 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34921         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
34922         for wide-character tests.
34924 2014-12-04  Roland McGrath  <roland@hack.frob.com>
34926         * io/openat64.c: #include <libc-internal.h>
34927         (__openat64): Prototypify.  Use ignore_value on MODE.
34928         * io/openat.c: Likewise.
34929         * misc/reboot.c: #include <libc-internal.h>
34930         (reboot): Prototypify.  Use ignore_value on HOWTO.
34931         * misc/ptrace.c: #include <libc-internal.h>
34932         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
34934 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
34936         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
34937         XPG4, UNIX98 and XOPEN2K.
34938         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
34939         Remove variable.
34940         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34942 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34944         * libio/fileops.c: Use ISO C style for function definitions.
34945         * libio/iofopen.c: Likewise.
34946         * libio/wfileops.c: Likewise.
34948         [BZ #17653]
34949         * libio/fileops.c (_IO_new_file_underflow): Unset cached
34950         offset on EOF.
34951         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
34952         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
34953         (fgets_func): Function pointer to fgets and fgetws.
34954         (do_ftell_test): Add test to verify ftell value after read
34955         EOF.
34956         (do_test): Set fgets_func.
34958         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
34959         O_TRUNC flag for w and w+ modes.
34960         (do_rewind_test): Likewise.
34961         (do_ftell_test): Likewise.
34962         (do_write_test): Likewise.
34964         [BZ #17647]
34965         * libio/fileops.c (do_ftell): Seek only when there are
34966         unflushed writes.
34967         * libio/wfileops.c (do_ftell_wide): Likewise.
34968         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
34969         test case.
34970         (do_one_test): Call it.
34972 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
34974         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
34975         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
34976         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
34977         Remove variable.
34978         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34979         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34980         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34982 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34984         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
34985         Remove variable.
34986         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34988         [BZ #17668]
34989         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
34990         as weak alias of __getifaddrs.  Use libc_hidden_weak.
34991         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34992         __freeifaddrs.  Use libc_hidden_weak.
34993         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
34994         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
34995         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34996         __freeifaddrs.  Use libc_hidden_weak.
34997         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
34998         __getifaddrs and define as weak alias of __getifaddrs.  Use
34999         libc_hidden_weak.
35000         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35001         __freeifaddrs.  Use libc_hidden_weak.
35002         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35003         Remove variable.
35004         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35005         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35007 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35009         [BZ #17601]
35010         * sysdeps/mips/start.S (__start): Use indirect jump to call
35011         __libc_start_main.
35013 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35015         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35017         * nptl/tst-mutex1.c: Include <stdbool.h>.
35018         [!ATTR] (ATTR_NULL): New macro.
35019         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35020         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35021         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35023         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35024         to char *.
35026         [BZ #17665]
35027         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35028         Change conditional to [__USE_MISC].
35030         [BZ #17664]
35031         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35032         fgets_unlocked.
35033         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35034         __fgets_unlocked.
35035         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35036         fgets_unlocked.
35037         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35038         Remove variable.
35039         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35040         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35041         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35042         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35043         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35044         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35045         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35046         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35047         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35049         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35051 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35053         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35054         Remove strpbrk objects.
35055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35056         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35057         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35058         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35059         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35060         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35062         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35063         Remove strcspn objects.
35064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35065         (__libc_ifunc_impl_list): Remove strcspn implementation.
35066         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35067         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35068         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35069         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35071         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35072         Remove strspn objetcs.
35073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35074         (__libc_ifunc_impl_list): Remove strspn implementation.
35075         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35076         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35077         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35078         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35080 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35082         [BZ #17581]
35083         * malloc/hooks.c
35084         (mem2mem_check): Add a terminator to the chain of checking blocks.
35085         (malloc_check_get_size): Use it here.
35086         (mem2chunk_check): Ditto.
35088 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35090         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35091         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35093 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35095         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35097         * nptl/nptl-init.c: Include libc-internal.h.
35098         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35100         * elf/ldconfig.c (search_dir): Expand comment.
35102 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35104         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35105         variable.
35106         (linknamespace-symlist-stdlibs-tests): Likewise.
35107         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35108         instead of $(objpfx)symlist-stdlibs.
35109         (linknamespace-libs-isoc): New variable.
35110         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35111         (linknamespace-libs-ISO): New variable.
35112         (linknamespace-libs-ISO99): Likewise.
35113         (linknamespace-libs-ISO11): Likewise.
35114         (linknamespace-libs-XPG3): Likewise.
35115         (linknamespace-libs-XPG4): Likewise.
35116         (linknamespace-libs-POSIX): Likewise.
35117         (linknamespace-libs-UNIX98): Likewise.
35118         (linknamespace-libs-XOPEN2K): Likewise.
35119         (linknamespace-libs-POSIX2008): Likewise.
35120         (linknamespace-libs-XOPEN2K8): Likewise.
35121         ($(objpfx)symlist-stdlibs): Replace by
35122         $(linknamespace-symlist-stdlibs-tests).  Use
35123         $(linknamespace-libs-$*) as set of libraries.
35124         ($(linknamespace-header-tests)): Update dependencies.  Use
35125         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35126         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35127         * conform/linknamespace.pl: Remove comment about considering
35128         definitions of symbols from irrelevant libraries.
35130 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35132         [BZ #13862]
35133         * elf/dl-tls.c: Include <atomic.h>.
35134         (oom): Remove #ifdef SHARED/#endif.
35135         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35136         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35137         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35138         big enough.
35139         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35140         * nptl/Makefile (tests): Add tst-stack4.
35141         (modules-names): Add tst-stack4mod.
35142         ($(objpfx)tst-stack4): New.
35143         (tst-stack4mod.sos): Likewise.
35144         ($(objpfx)tst-stack4.out): Likewise.
35145         ($(tst-stack4mod.sos)): Likewise.
35146         (clean): Likewise.
35147         * nptl/tst-stack4.c: New file.
35148         * nptl/tst-stack4mod.c: Likewise.
35150 2014-11-27  J. Brown  <jb999@gmx.de>
35152         * sysdeps/x86/bits/string.h: Add recent CPUs.
35154 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35156         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35157         sigblock.
35159         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35160         feof.
35162         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35163         variable.
35165 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35167         * nscd/connections.c: Include libc-internal.h because of macro
35168         usage ignore_value.
35170 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35172         * string/bits/string3.h (__warn_memset_zero_len): Don't
35173         declare for gcc newer than 5.0.
35174         (memset): Don't test for zero-length __LEN for gcc newer than
35175         5.0.
35177 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35179         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35180         size_t for %zu format.
35182         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35183         difference, not %ju.
35185 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35187         * include/libc-internal.h (ignore_value): New macro.
35188         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35189         with ignore_value.
35191         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35192         definition.
35194         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35195         pthread_cleanup_push to void *.
35197         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35198         Undefine.
35200         [BZ #16619]
35201         [BZ #16740]
35202         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35203         instead of 1L << 52.
35205         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35206         * libio/bug-rewind2.c (do_test): Likewise.
35208         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35209         * debug/test-strcpy_chk-ifunc.c: Likewise.
35210         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35211         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35212         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35213         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35214         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35215         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35216         * Rules [$(multi-arch) = no] (tests): Do not filter out
35217         $(tests-ifunc).
35218         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35219         * debug/Makefile (tests-ifunc): Remove variable.
35220         (tests): Do not add $(tests-ifunc).
35221         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35222         (tests): Do not add $(tests-ifunc).
35223         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35224         [TEST_IFUNC]: Remove conditionals.
35225         * string/test-string.h (TEST_IFUNC): Remove macro.
35226         [TEST_IFUNC]: Remove conditionals.
35228         * string/test-strchr.c [!WIDE] (L): New macro.
35229         [WIDE] (L): Likewise.
35230         (check1): Use CHAR instead of char.  Use L on string and character
35231         constants.
35233 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35235         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35236         tests.
35237         * sysdeps/powerpc/bits/atomic.h
35238         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35239         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35240         (atomic_exchange_and_add_acq): Likewise.
35241         (atomic_exchange_and_add_rel): Likewise.
35242         * sysdeps/powerpc/powerpc32/bits/atomic.h
35243         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35244         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35245         * sysdeps/powerpc/powerpc64/bits/atomic.h
35246         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35247         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35249 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35251         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35252         Change synchronization of __sched_fifo_min_prio and
35253         __sched_fifo_max_prio.
35254         * nptl/pthread_mutexattr_getprioceiling.c
35255         (pthread_mutexattr_getprioceiling): Likewise.
35256         * nptl/pthread_mutexattr_setprioceiling.c
35257         (pthread_mutexattr_setprioceiling): Likewise.
35258         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35259         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35260         Likewise.
35262 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35264         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35265         void.
35267 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35269         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35270         third argument const.
35272 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35274         fnmatch: work around GCC compiler warning bug with uninit var
35275         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35276         This works around a bug with x86-64 GCC 4.9.2 and earlier
35277         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35278         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35279         used uninitialized in this function [-Wmaybe-uninitialized]".
35281 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35283         * posix/bug-regex31.c (main): Return RES not 0.
35285 2014-11-25  Anton Blanchard <anton@samba.org>
35287         * sysdeps/powerpc/bits/atomic.h
35288         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35290 2014-11-24  Sterling Augustine  <saugustine@google.com>
35292         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35294 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35296         [BZ #17608]
35297         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35299 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35301         [BZ #17633]
35302         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35303         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35304         variable.
35305         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35306         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35308 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35310         * string/strncpy.c (strncpy): Improve performance by using memset.
35312 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35314         * string/strcpy.c (strcpy):
35315         Improve performance by using strlen and memcpy.
35317 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35319         * string/strcoll_l.c (get_next_seq): __always_inline.
35320         * string/strcoll_l.c (do_compare): __always_inline.
35322 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35324         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35325         defined.
35326         * include/mqueue.h: Likewise.
35327         * include/stdlib.h: Likewise.
35329         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35330         (get_null_defines): Adjust.
35331         * sunrpc/Makefile: Adjust comment.
35332         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35333         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35334         (CFLAGS-interp.c): Likewise.
35335         (CFLAGS-ldconfig.c): Likewise.
35336         (CPPFLAGS-.os): Likewise.
35337         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35338         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35339         * extra-modules.mk (extra-modules.mk): Likewise.
35340         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35341         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35342         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35343         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35344         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35345         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35346         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35347         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35348         * iconvdata/Makefile (CPPFLAGS): Likewise.
35349         (cpp-srcs-left): Add libof for all iconvdata routines.
35350         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35351         * include/assert.h: Likewise.
35352         * include/ctype.h: Likewise.
35353         * include/errno.h: Likewise.
35354         * include/libc-symbols.h: Likewise.
35355         * include/math.h: Likewise.
35356         * include/netdb.h: Likewise.
35357         * include/resolv.h: Likewise.
35358         * include/stdio.h: Likewise.
35359         * include/stdlib.h: Likewise.
35360         * include/string.h: Likewise.
35361         * include/sys/stat.h: Likewise.
35362         * include/wctype.h: Likewise.
35363         * intl/l10nflist.c: Likewise.
35364         * libidn/idn-stub.c: Likewise.
35365         * libio/libioP.h: Likewise.
35366         * nptl/libc_multiple_threads.c: Likewise.
35367         * nptl/pthreadP.h: Likewise.
35368         * posix/regex_internal.h: Likewise.
35369         * resolv/res_hconf.c: Likewise.
35370         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35371         * sysdeps/arm/memmove.S: Likewise.
35372         * sysdeps/arm/sysdep.h: Likewise.
35373         * sysdeps/generic/_itoa.h: Likewise.
35374         * sysdeps/generic/symbol-hacks.h: Likewise.
35375         * sysdeps/gnu/errlist.awk: Likewise.
35376         * sysdeps/gnu/errlist.c: Likewise.
35377         * sysdeps/i386/i586/memcpy.S: Likewise.
35378         * sysdeps/i386/i586/memset.S: Likewise.
35379         * sysdeps/i386/i686/memcpy.S: Likewise.
35380         * sysdeps/i386/i686/memmove.S: Likewise.
35381         * sysdeps/i386/i686/mempcpy.S: Likewise.
35382         * sysdeps/i386/i686/memset.S: Likewise.
35383         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35384         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35385         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35386         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35387         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35388         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35389         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35390         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35391         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35392         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35393         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35394         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35395         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35396         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35397         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35398         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35399         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35400         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35401         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35402         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35403         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35404         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35405         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35406         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35407         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35408         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35409         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35410         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35411         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35412         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35413         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35414         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35415         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35416         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35417         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35418         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35419         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35420         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35421         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35422         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35423         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35424         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35425         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35426         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35427         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35428         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35429         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35430         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35431         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35432         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35433         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35434         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35435         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35436         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35437         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35438         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35439         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35440         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35441         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35442         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35443         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35444         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35445         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35446         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35447         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35448         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35449         * sysdeps/posix/closedir.c: Likewise.
35450         * sysdeps/posix/opendir.c: Likewise.
35451         * sysdeps/posix/readdir.c: Likewise.
35452         * sysdeps/posix/rewinddir.c: Likewise.
35453         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35454         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35455         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35456         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35457         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35458         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35461         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35462         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35464         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35465         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35466         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35467         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35468         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35469         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35470         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35471         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35472         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35473         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35474         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35475         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35476         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35477         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35479         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35481         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
35484         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
35485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
35486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
35487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
35488         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
35489         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35490         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35491         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
35492         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
35493         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
35494         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
35495         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
35496         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
35497         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
35498         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
35499         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
35500         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
35501         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
35502         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
35503         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
35504         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
35505         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
35506         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
35507         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
35508         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
35509         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
35510         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
35511         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
35512         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
35513         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
35514         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
35515         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
35516         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
35517         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
35518         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
35519         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
35520         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
35521         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
35522         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
35523         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
35524         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
35525         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
35526         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
35527         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
35528         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
35529         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
35530         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
35531         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35532         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
35533         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
35534         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35535         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
35536         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
35537         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35538         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
35539         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
35540         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35541         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35542         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35543         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
35544         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
35545         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
35546         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35547         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35548         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
35549         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35550         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35551         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
35552         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
35553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35554         * sysdeps/unix/alpha/sysdep.S: Likewise.
35555         * sysdeps/unix/alpha/sysdep.h: Likewise.
35556         * sysdeps/unix/make-syscalls.sh: Likewise.
35557         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35558         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35559         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35560         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
35561         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35562         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
35563         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
35564         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35565         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35566         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
35567         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35568         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35569         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35570         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35571         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35572         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35573         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35574         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35575         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35576         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35577         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
35578         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35579         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35580         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35581         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35582         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35583         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35586         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
35587         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35589         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35590         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35591         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35593         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35594         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35595         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35596         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35597         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35598         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35599         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35600         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35601         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35602         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35603         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35604         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35605         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35606         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35607         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35608         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35609         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35610         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35611         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
35612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35613         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35615         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
35616         * sysdeps/x86_64/memcpy.S: Likewise.
35617         * sysdeps/x86_64/memmove.c: Likewise.
35618         * sysdeps/x86_64/memset.S: Likewise.
35619         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
35620         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35621         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35622         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
35623         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
35624         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35625         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35626         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35627         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35628         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35629         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35630         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35631         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
35632         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35633         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35634         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
35635         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35636         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35637         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35638         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35639         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
35640         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35641         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35642         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35643         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35644         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35645         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35646         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
35647         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35648         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35649         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
35650         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35651         * sysdeps/x86_64/strcmp.S: Likewise.
35653         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
35655         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
35656         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
35657         * elf/rtld-Rules: Likewise.
35658         * elf/setup-vdso.h: Likewise.
35659         * include/assert.h: Likewise.
35660         * include/bits/stdlib-float.h: Likewise.
35661         * include/errno.h: Likewise.
35662         * include/sys/stat.h: Likewise.
35663         * include/unistd.h: Likewise.
35664         * sysdeps/aarch64/setjmp.S: Likewise.
35665         * sysdeps/alpha/setjmp.S: Likewise.
35666         * sysdeps/arm/__longjmp.S: Likewise.
35667         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
35668         * sysdeps/arm/setjmp.S: Likewise.
35669         * sysdeps/arm/sysdep.h: Likewise.
35670         * sysdeps/generic/_itoa.h: Likewise.
35671         * sysdeps/generic/dl-sysdep.h: Likewise.
35672         * sysdeps/generic/ldsodefs.h: Likewise.
35673         * sysdeps/i386/dl-tls.h: Likewise.
35674         * sysdeps/i386/setjmp.S: Likewise.
35675         * sysdeps/m68k/setjmp.c: Likewise.
35676         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
35677         * sysdeps/mach/hurd/opendir.c: Likewise.
35678         * sysdeps/posix/getcwd.c: Likewise.
35679         * sysdeps/posix/opendir.c: Likewise.
35680         * sysdeps/posix/profil.c: Likewise.
35681         * sysdeps/powerpc/dl-procinfo.h: Likewise.
35682         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35683         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35684         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35685         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35686         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
35687         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35688         * sysdeps/s390/dl-tls.h: Likewise.
35689         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35690         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35691         * sysdeps/sh/sh3/setjmp.S: Likewise.
35692         * sysdeps/sh/sh4/setjmp.S: Likewise.
35693         * sysdeps/unix/alpha/sysdep.h: Likewise.
35694         * sysdeps/unix/arm/sysdep.S: Likewise.
35695         * sysdeps/unix/i386/sysdep.S: Likewise.
35696         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35697         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35698         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35699         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35700         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35701         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35702         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35703         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35704         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35705         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35706         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
35707         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35708         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35711         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35714         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35715         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35716         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35717         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35718         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35719         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35720         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35721         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35723         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35724         * sysdeps/x86_64/setjmp.S: Likewise.
35726         * include/math.h: Use IS_IN instead of IS_IN_libm.
35727         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
35728         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35729         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35730         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
35731         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35732         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35733         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35734         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35735         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35736         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35737         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
35738         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
35739         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
35740         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
35741         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
35742         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
35743         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
35744         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
35745         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
35746         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
35747         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
35748         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
35749         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
35750         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
35751         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
35752         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
35753         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
35754         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
35755         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
35756         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
35757         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
35758         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35759         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
35761         Likewise.
35762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
35763         Likewise.
35764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35765         Likewise.
35766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35767         Likewise.
35768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35769         Likewise.
35770         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35771         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35772         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35773         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35774         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35775         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35781         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35782         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35783         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35784         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35785         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35786         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35787         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35788         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35789         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35790         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35791         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35792         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35793         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35794         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35796         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35798         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35799         * nptl/pthreadP.h: Likewise.
35800         * nptl_db/structs.def: Likewise.
35801         * sysdeps/arm/sysdep.h: Likewise.
35802         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35803         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35804         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35805         * sysdeps/unix/alpha/sysdep.h: Likewise.
35806         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35807         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35808         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35809         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35810         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35811         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35812         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35813         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35814         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35815         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35816         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35817         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35818         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35819         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35822         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35823         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35824         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35827         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35828         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35829         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35830         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
35831         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35833         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
35834         * nptl/pthreadP.h: Likewise.
35835         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35836         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35837         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35838         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35839         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35840         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35841         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35842         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35843         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35844         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35845         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35846         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35848         Likewise.
35849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35850         Likewise.
35851         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35853         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35855         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35856         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35857         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35858         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35860         * dlfcn/dladdr.c: Use IS_IN.
35861         * dlfcn/dladdr1.c: Likewise.
35862         * dlfcn/dlclose.c: Likewise.
35863         * dlfcn/dlerror.c: Likewise.
35864         * dlfcn/dlinfo.c: Likewise.
35865         * dlfcn/dlmopen.c: Likewise.
35866         * dlfcn/dlopen.c: Likewise.
35867         * dlfcn/dlsym.c: Likewise.
35868         * dlfcn/dlvsym.c: Likewise.
35870         * include/ifaddrs.h: Use IS_IN.
35871         * inet/check_pf.c: Likewise.
35872         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35873         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
35875         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
35876         IS_IN_ldconfig.
35877         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
35878         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
35880         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
35881         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
35882         IS_IN (libc).
35884         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
35886         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
35887         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35888         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35889         * include/libc-symbols.h (IS_IN_LIB): New macro.
35890         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
35891         * include/netdb.h: Likewise.
35892         * include/stap-probe.h: Remove all uses of IN_LIB.
35894         * Makeconfig (module-cppflags-real): Define MODULE_NAME
35895         instead of IN_MODULE.
35896         * include/libc-symbols.h (IN_MODULE): Define using
35897         MODULE_NAME.
35898         (PASTE_NAME, PASTE_NAME1): New macros.
35899         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
35900         of IN_LIB.
35901         (STAP_PROBE_ASM): Likewise.
35903 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35905         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
35906         __mach_init in dlopened libc.
35908 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
35910         * sysdeps/arm/preconfigure.ac: Delete EABI check.
35911         * sysdeps/arm/preconfigure: Regenerate.
35913 2014-11-21  Roland McGrath  <roland@hack.frob.com>
35915         * nptl/pthread_create.c (__pthread_create_2_1): Set
35916         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
35917         when copying values from IATTR into PD.
35919 2014-11-21  Will Newton  <will.newton@linaro.org>
35920             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
35922         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
35923         Refactor inline-asm.  Also add comment.
35925         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35926         ElfW macro instead of hardcoded Elf64 types.
35927         (la_aarch64_gnu_pltenter): Likewise.
35928         * sysdeps/aarch64/dl-machine.h
35929         (elf_machine_runtime_setup): Use ElfW(Addr).
35931         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
35932         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
35933         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
35934         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
35935         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
35936         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35937         (R_AARCH64_TLS_DTPMOD): This.
35938         (R_AARCH64_TLS_DTPREL64): Rename to ...
35939         (R_AARCH64_TLS_DTPREL): This.
35940         (R_AARCH64_TLS_TPREL64): Rename to ...
35941         (R_AARCH64_TLS_TPREL): This.
35942         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
35943         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
35944         R_AARCH64_TLS_TPREL64.
35945         (elf_machine_rela): Likewise.
35947 2014-11-21  Torvald Riegel  <triegel@redhat.com>
35949         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
35950         by setting it to 0.  64b atomics are not supported currently.
35952 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35954         [BZ #16469]
35955         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
35956         search domain names.
35958 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35960         [BZ #16469]
35961         * NEWS: Update.
35962         * resolv/res_query.c (__libc_res_nquerydomain): Retain
35963         trailing dot.
35964         * posix/tst-getaddrinfo5.c: New.
35965         * posix/Makefile (tests): Add it.
35967 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35969         [BZ #14498]
35970         * NEWS: Fixed.
35971         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
35972         after parsing line but before break_if_match.
35973         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
35974         if there is a protocol mismatch.
35976 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
35978         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
35979         because the potential race is on the user-supplied stream.
35981 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35983         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
35984         string literal if not passed a buffer.
35985         * manual/job.texi (ctermid): Update reasoning, note deviation
35986         from posix, suggest mtasurace when not passed a buffer, for
35987         future non-preliminary safety notes.
35989 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35991         * manual/users.texi (cuserid): Fix MT-Safety note for the case
35992         of not passing it a buffer.
35993         Reported by Peng Haitao.
35995 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35997         * manual/Makefile ($(objpfx)stamp-summary): Require
35998         check-safety.sh to pass.
35999         * manual/check-safety.sh: Wish for verification that every
36000         @deftypefn and @deftypefun is followed by a @safety remark.
36002 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36004         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36006         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36007         PTHREAD_CANCEL_ASYNCHRONOUS.
36008         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36009         send SIGCANCEL.
36011         * nptl/default-sched.h: New file.
36012         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36013         * nptl/pthread_create.c: Include it.
36014         (__pthread_create_2_1): Use collect_default_sched instead of making
36015         Linux syscalls here directly.
36017 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36019         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36020         __pthread_once): Use C11 atomics.
36022 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36024         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36026 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36028         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36029         atomic_thread_fence_acquire, atomic_thread_fence_release,
36030         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36031         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36032         atomic_compare_exchange_weak_relaxed,
36033         atomic_compare_exchange_weak_acquire,
36034         atomic_compare_exchange_weak_release,
36035         atomic_exchange_acquire, atomic_exchange_release,
36036         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36037         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36038         atomic_fetch_and_acquire,
36039         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36041 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36043         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36044         USE_ATOMIC_COMPILER_BUILTINS): Define.
36045         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36047         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36049         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36051         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36053         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36055         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36057         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36059         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36061         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36063         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36065         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36067         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36069         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36071         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36072         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36073         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36075         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36077         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36078         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36079         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36080         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36081         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36082         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36083         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36084         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36086 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36088         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36089         the sched_priority value here.  It was already checked when the user
36090         called pthread_attr_setschedparam.
36092         * nptl/tst-bad-schedattr.c: New file.
36093         * nptl/Makefile (tests): Add it.
36095 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36096             Florian Weimer  <fweimer@redhat.com>
36097             Joseph Myers  <joseph@codesourcery.com>
36098             Adam Conrad  <adconrad@0c3.net>
36099             Andreas Schwab  <schwab@suse.de>
36100             Brooks  <bmoses@google.com>
36102         [BZ #17625]
36103         * wordexp-test.c (__dso_handle): Add prototype.
36104         (__register_atfork): Likewise.
36105         (__app_register_atfork): New function.
36106         (registered_forks): New global.
36107         (register_fork): New function.
36108         (test_case): Add 3 new tests for WRDE_CMDSUB.
36109         (main): Call __app_register_atfork.
36110         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36111         fork count is non-zero fail the test.
36112         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36113         is set.
36114         (parse_dollars): Remove check for WRDE_NOCMD.
36115         (parse_dquote): Likewise.
36117 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36119         * Makeconfig (built-modules): List non-library modules to be
36120         built.
36121         (module-cppflags): Include libc-modules.h for
36122         everything except shlib-versions.v.i.
36123         (CPPFLAGS): Use it.
36124         (before-compile): Add libc-modules.h.
36125         ($(common-objpfx)libc-modules.h,
36126         $(common-objpfx)libc-modules.stmp): New targets.
36127         (common-generated): Add libc-modules.h and libc-modules.stmp.
36128         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36129         * include/libc-symbols.h: Don't include libc-modules.h.
36130         * include/libc-modules.h: Remove file.
36131         * scripts/gen-libc-modules.awk: New script to generate
36132         libc-modules.h.
36133         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36134         Depend on libc-modules.stmp.
36136         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36138         * Makeconfig (in-module): Get value of libof set for the
36139         translation unit.
36140         (CPPFLAGS): Use $(in-module).
36141         * Makerules: Don't suffix routine names for nonlib.
36142         * include/libc-modules.h: New file.
36143         * include/libc-symbols.h: Include libc-modules.h
36144         (IS_IN): New macro to replace IS_IN_* macros.
36145         * elf/Makefile: Set libof-* for each routine.
36146         * elf/rtld-Rules: Likewise.
36147         * extra-modules.mk: Likewise.
36148         * iconv/Makefile: Likewise.
36149         * iconvdata/Makefile: Likewise.
36150         * locale/Makefile: Likewise.
36151         * malloc/Makefile: Likewise.
36152         * nss/Makefile: Likewise.
36153         * sysdeps/gnu/Makefile: Likewise.
36154         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36155         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36156         * sysdeps/s390/s390-64/Makefile: Likewise.
36157         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36158         CPPFLAGS for nscd instead of nonlib.
36160 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36162         * nptl/createthread.c: New file.
36164         * nptl/createthread.c: Moved ...
36165         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36167         * nptl/createthread.c: Add proper top-line comment.
36168         (do_clone): Folded into ...
36169         (create_thread): ... here.  Take new arguments STOPPED_START and
36170         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36171         increment __nptl_threads, do event-reporting logic, do
36172         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36173         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36174         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36175         just send SIGCANCEL.
36176         * nptl/pthread_create.c: Forward-declare create_thread before
36177         including createthread.c.
36178         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36179         declaration, and new macro START_THREAD_SELF to replace argument.
36180         Remove return statement.
36181         (report_thread_creation): New function.
36182         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36183         synchronization logic, and __nptl_nthreads increment here, around
36184         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36185         PD->parent_cancelhandling here, before create_thread.  When
36186         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36187         __deallocate_stack, and ENOMEM translation here.
36189 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36191         [BZ #17616]
36192         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36193         (mptwo): Rename to __mptwo.
36194         (__inv): Use __mptwo instead of mptwo.
36195         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36196         (mptwo): Rename to __mptwo.
36197         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36198         of mpone and __mptwo instead of mptwo.
36199         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36200         instead of mpone.
36201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36202         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36203         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36204         of mpone and __mptwo instead of mptwo.
36205         (__mpranred): Use __mpone instead of mpone.
36206         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36207         variable.
36208         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36209         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36210         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36211         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36212         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36213         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36214         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36215         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36216         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36217         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36218         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36219         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36220         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36221         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36222         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36223         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36224         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36225         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36226         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36228 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36230         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36231         replace BSD Handler xref with BSD Signal Handling.
36233 2014-11-17  Richard Henderson  <rth@redhat.com>
36235         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36236         (_FP_PACK_RAW_2): Remove.
36237         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36238         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36239         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36240         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36241         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36242         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36243         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36244         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36245         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36246         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36247         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36248         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36249         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36250         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36251         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36252         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36254 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36256         * signal/signal.h [__USE_MISC]
36257         (struct sigvec): Remove type.
36258         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36259         (sigvec): Remove declaration.
36260         * sysdeps/posix/sigvec.c: Moved ...
36261         * signal/sigvec.c: ... here, replacing old file.
36262         (struct sigvec): New type, copied from old signal.h definition.
36263         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36264         (__sigvec): Convert definition to prototype.
36265         (sigvec): Replace weak_alias with compat_symbol.
36266         * signal/Versions (libc: GLIBC_2.21): New version set.
36267         * include/signal.h: Remove __sigvec declaration.
36268         * sysdeps/unix/bsd/sigvec.c: Remove file.
36269         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36270         * manual/signal.texi (BSD Handler): Remove subsection.
36271         Move siginterrupt up to ...
36272         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36273         (Blocking in BSD): Fold subsection into its parent.
36274         * NEWS: Mention sigvec removal.
36276 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36278         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36279         (DLA_FMS): Make definition conditional only on [__FMA4__].
36280         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36281         definition.
36283         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36284         Make definition conditional only on [PROF].
36285         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36286         definition.
36287         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36288         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36290         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36291         !__GNUC__].
36292         * include/signal.h (__sigpause): Move declaration above call to
36293         libc_hidden_proto.
36294         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36295         variable.
36296         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36297         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36299 2014-11-14  David S. Miller  <davem@davemloft.net>
36301         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36302         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36304 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36306         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36307         * configure: Regenerated.
36308         * manual/install.texi (Tools for Compilation): Document a
36309         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36310         compiler verified to work.
36311         * INSTALL: Regenerated.
36313         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36314         redeclare with asm name.
36315         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36316         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36317         including <string.h>.
36318         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36319         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36320         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36321         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36322         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36324         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36326 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36328         * stdlib/strtol.c (__strtol): Use prototype definition.
36330         [BZ #17594]
36331         * stdlib/strtol.c (SYM__): New macro.
36332         (SYM__1): Likewise.
36333         (__strtol): Likewise.
36334         (strtol): Rename to __strtol and define as weak alias of
36335         __strtol.  Use libc_hidden_weak.
36337 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36339         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36340         Use numbered labels in inline assembly.
36342 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36344         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36345         Add setjmp LIBC_PROBE.
36346         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36347         Likewise.
36348         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36349         Add longjmp, longjmp_target LIBC_PROBE.
36350         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36351         Likewise.
36353 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36355         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36356         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36357         to get rid of unused variable warning.
36359 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36361         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36362         Check for unwind_backtrace ==  NULL only in SHARED case.
36363         (__backchain_backtrace): Compile only in SHARED case.
36364         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36365         Likewise.
36366         (__backchain_backtrace): Declare as static.
36368 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36370         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36371         (__libc_multiple_threads_ptr): Variable moved ...
36372         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36374 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36376         * conform/GlibcConform.pm: New file.
36377         * conform/conformtest.pl: Use GlibcConform module.
36378         * conform/linknamespace.pl: New file.
36379         * conform/list-header-symbols.pl: Likewise.
36380         * conform/Makefile (linknamespace-symlists-base): New variable.
36381         (linknamespace-symlists-tests): Likewise.
36382         (linknamespace-header-base): Likewise.
36383         (linknamespace-header-tests): Likewise.
36384         (tests-special): Add new tests.
36385         ($(linknamespace-symlists-tests)): New rule.
36386         (linknamespace-libs): New variable.
36387         ($(objpfx)symlist-stdlibs): New rule.
36388         ($(linknamespace-header-tests)): Likewise.
36389         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36390         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36391         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36392         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36393         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36394         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36395         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36396         (test-xfail-ISO/math.h/linknamespace): Likewise.
36397         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36398         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36399         (test-xfail-ISO/time.h/linknamespace): Likewise.
36400         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36401         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36402         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36403         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36404         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36405         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36406         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36407         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36408         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36409         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36410         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36411         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36412         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36413         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36414         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36415         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36416         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36417         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36418         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36419         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36420         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36421         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36422         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36423         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36424         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36425         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36426         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36427         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36428         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36429         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36430         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36431         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36432         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36433         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36434         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36435         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36436         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36437         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36438         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36439         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36440         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36441         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36442         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36443         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36444         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36445         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36446         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36447         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36448         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36449         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36450         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36451         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36452         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36453         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36454         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36455         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36456         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36457         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36458         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36459         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36460         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36461         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36462         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36463         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36464         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36465         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36466         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36467         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36468         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36469         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36470         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36471         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36472         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36473         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36474         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36475         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36476         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36477         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36478         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36479         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36480         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36481         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36482         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36483         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36484         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36485         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
36486         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36487         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36488         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36489         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
36490         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
36491         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
36492         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36493         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36494         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36495         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36496         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
36497         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
36498         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36499         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36500         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36501         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36502         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36503         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36504         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36505         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36506         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36507         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36508         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
36509         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36510         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36511         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
36512         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36513         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36514         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36515         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36516         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36517         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36518         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36519         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36520         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36521         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36522         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36523         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36524         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36525         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36526         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
36527         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36528         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36529         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36530         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36531         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36532         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
36533         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36534         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36535         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36536         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36537         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36538         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36539         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36540         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36541         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36542         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36543         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36544         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36545         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36546         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
36547         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36548         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36549         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36551         [BZ #17589]
36552         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
36553         of fgets_unlocked.
36555         [BZ #17585]
36556         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
36557         (memmem): Rename to __memmem and define as weak alias of
36558         __memmem.  Use libc_hidden_weak.
36559         (__memmem): Use libc_hidden_def.
36560         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
36561         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
36562         memmem.
36564         [BZ #17582]
36565         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
36566         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
36567         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
36568         and define as weak alias of __fgets_unlocked.  Use
36569         libc_hidden_weak.
36570         (__fgets_unlocked): Use libc_hidden_def.
36571         * include/stdio.h (__fgets_unlocked): Declare.  Use
36572         libc_hidden_proto.
36573         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
36574         __fgets_unlocked instead of fgets_unlocked.
36575         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
36576         (GET_NPROCS_CONF_PARSER): Likewise.
36577         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
36578         (GET_NPROCS_CONF_PARSER): Likewise.
36580         [BZ #17574]
36581         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
36582         weak alias of __wmemset.  Use libc_hidden_weak.
36583         (__wmemset): Use libc_hidden_def.
36584         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
36585         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
36586         of wmemset.
36588         [BZ #17573]
36589         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
36590         with asm name __mempcpy.
36591         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
36593         [BZ #17572]
36594         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
36595         and define as weak alias of __rawmemchr.
36596         (__rawmemchr): Do not define as strong alias of rawmemchr.
36598         [BZ #17571]
36599         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
36600         alias of __qsort_r.
36601         (qsort): Call __qsort_r instead of qsort_r.
36602         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
36603         (__qsort_r): Declare.  Call libc_hidden_proto.
36604         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
36605         instead of qsort_r.
36606         * nscd/gai.c (__qsort_r): Define to qsort_r.
36607         * posix/tst-rfc3484.c (__qsort_r): Likewise.
36608         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
36609         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
36611         [BZ #17570]
36612         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
36613         define as weak alias of __malloc_info.
36615         [BZ #17584]
36616         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
36617         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36618         (__rewinddir): Use libc_hidden_def.
36619         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
36620         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36621         (__rewinddir): Use libc_hidden_def.
36622         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
36623         weak alias of __rewinddir.  Don't use libc_hidden_def.
36624         (__rewinddir): Use libc_hidden_def.
36625         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
36626         (__rewinddir): Use libc_hidden_proto.
36627         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
36628         rewinddir.
36629         (__getcwd): Use __rewinddir instead of rewinddir.
36631         [BZ #17583]
36632         * libio/fileno.c (fileno): Rename to __fileno and define as weak
36633         alias of __fileno.  Use libc_hidden_weak.
36634         (__fileno): Use libc_hidden_def.
36635         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
36636         * libio/ftello.c (ftello): Rename to __ftello and define as weak
36637         alias of __ftello.
36638         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
36639         __ftello.
36640         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
36641         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
36642         libc_hidden_def.
36643         (fread_unlocked): Don't use libc_hidden_ver.
36644         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
36645         and define as weak alias of __fread_unlocked.  Don't use
36646         libc_hidden_def.
36647         (__fread_unlocked): Use libc_hidden_def.
36648         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
36649         (ftello): Don't use libc_hidden_proto.
36650         (__ftello): Declare.  Use libc_hidden_proto.
36651         (fread_unlocked): Don't use libc_hidden_proto.
36652         (__fread_unlocked): Declare.  Use libc_hidden_proto.
36653         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
36654         and __ftello instead of fileno, fread_unlocked and ftello.
36656 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36658         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
36659         GOT12.
36660         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36661         Likewise.
36662         (_dl_start_user): Likewise.
36663         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
36665 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
36666             Siddhesh Poyarekar  <siddhesh@redhat.com>
36668         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
36669         Move argv and envp down instead of moving argc up.
36670         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
36672 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
36674         [BZ #17506]
36675         * test-skeleton.c (main): Return successful if one of
36676         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
36677         * string/tst-strcoll-overflow.c: Define expected status.
36679 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
36681         [BZ #17475]
36682         * locale/iso-639.def: Define Bhili and Tulu language codes.
36684 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
36686         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
36688 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
36690         [BZ #17555]
36691         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
36693 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
36695         * configure.ac: Updated check of minimal required version to
36696         2.22.
36697         * manual/install.texi (Tools for Compilation): Updated version
36698         number.
36699         * configure: Regenerated.
36700         * INSTALL: Likewise.
36702 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
36704         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
36705         __tls_get_addr.
36707 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
36709         * include/sys/wait.h (__libc_waitpid): Remove declaration.
36710         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
36711         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36712         libc_hidden_weak.
36713         (waitpid): Define as alias of __waitpid.
36714         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
36715         __waitpid.
36716         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36717         libc_hidden_weak.
36718         (waitpid): Define as alias of __waitpid.
36719         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
36720         __libc_waitpid alias.
36721         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
36722         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
36723         Likewise.
36724         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
36725         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
36726         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
36727         alias.
36728         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
36729         __waitpid.
36730         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36731         libc_hidden_weak.
36732         (waitpid): Define as alias of __waitpid.
36734 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
36736         * manual/llio.texi: Add comment that write safety has been
36737         fixed in Linux.
36739         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
36740         (localplt-build-dso): Add elf/ld.so.
36741         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36742         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
36743         and free for ld.so.
36744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
36745         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
36746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
36747         Likewise.
36748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36749         Likewise.
36750         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
36751         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
36752         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
36753         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
36754         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
36755         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
36756         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
36757         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
36758         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
36759         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
36760         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36762 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
36764         [BZ #14132]
36765         * include/libc-symbols.h (INTUSE): Remove macro.
36766         (INTDEF): Likewise.
36767         (INTVARDEF): Likewise.
36768         (_INTVARDEF): Likewise.
36769         (INTDEF2): Likewise.
36770         (INTVARDEF2): Likewise.
36771         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36772         rtld_hidden_def instead of INTVARDEF.
36773         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36774         (_dl_starting_up_internal): Remove declaration.
36775         (_dl_starting_up): Use rtld_hidden_proto.
36776         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36777         declaration.
36778         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36779         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36780         _dl_starting_up.
36781         * elf/dl-writev.h (_dl_writev): Likewise.
36782         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36783         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36784         _dl_starting_up_internal.
36786 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36788         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36789         test-skeleton.c.
36791 2014-11-05  Will Newton  <will.newton@linaro.org>
36793         * benchtests/Makefile: (bench-malloc): Add malloc thread
36794         scalability benchmark.
36795         * benchtests/bench-malloc-threads.c: New file.
36797 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36799         * sysdeps/aarch64/strchrnul.S: New file.
36801 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36803         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36804         definition.
36805         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36806         Likewise.
36807         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36808         Likewise.
36809         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36810         Likewise.
36811         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36812         Likewise.
36813         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36814         Likewise.
36816 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
36818         * catgets/test-gencat.c: Use test-skeleton.c.
36819         * catgets/tst-catgets.c: Likewise.
36820         * csu/tst-empty.c: Likewise.
36821         * elf/tst-audit2.c: Likewise.
36822         * elf/tst-global1.c: Likewise.
36823         * elf/tst-pathopt.c: Likewise.
36824         * elf/tst-piemod1.c: Likewise.
36825         * elf/tst-tls10.c: Likewise.
36826         * elf/tst-tls11.c: Likewise.
36827         * elf/tst-tls12.c: Likewise.
36828         * gnulib/tst-gcc.c: Likewise.
36829         * iconvdata/tst-e2big.c: Likewise.
36830         * iconvdata/tst-loading.c: Likewise.
36831         * iconv/tst-iconv1.c: Likewise.
36832         * iconv/tst-iconv2.c: Likewise.
36833         * inet/test-inet6_opt.c: Likewise.
36834         * inet/tst-gethnm.c: Likewise.
36835         * inet/tst-network.c: Likewise.
36836         * inet/tst-ntoa.c: Likewise.
36837         * intl/tst-codeset.c: Likewise.
36838         * intl/tst-gettext2.c: Likewise.
36839         * intl/tst-gettext3.c: Likewise.
36840         * intl/tst-ngettext.c: Likewise.
36841         * intl/tst-translit.c: Likewise.
36842         * io/test-stat.c: Likewise.
36843         * libio/test-fmemopen.c: Likewise.
36844         * libio/tst-freopen.c: Likewise.
36845         * libio/tst-sscanf.c: Likewise.
36846         * libio/tst-ungetwc1.c: Likewise.
36847         * libio/tst-ungetwc2.c: Likewise.
36848         * libio/tst-widetext.c: Likewise.
36849         * localedata/tst-ctype.c: Likewise.
36850         * localedata/tst-digits.c: Likewise.
36851         * localedata/tst-leaks.c: Likewise.
36852         * localedata/tst-mbswcs1.c: Likewise.
36853         * localedata/tst-mbswcs2.c: Likewise.
36854         * localedata/tst-mbswcs3.c: Likewise.
36855         * localedata/tst-mbswcs4.c: Likewise.
36856         * localedata/tst-mbswcs5.c: Likewise.
36857         * localedata/tst-setlocale.c: Likewise.
36858         * localedata/tst-trans.c: Likewise.
36859         * localedata/tst-wctype.c: Likewise.
36860         * localedata/tst-xlocale1.c: Likewise.
36861         * login/tst-grantpt.c: Likewise.
36862         * malloc/tst-calloc.c: Likewise.
36863         * malloc/tst-malloc.c: Likewise.
36864         * malloc/tst-mallocstate.c: Likewise.
36865         * malloc/tst-mcheck.c: Likewise.
36866         * malloc/tst-mtrace.c: Likewise.
36867         * malloc/tst-obstack.c: Likewise.
36868         * math/atest-exp2.c: Likewise.
36869         * math/atest-exp.c: Likewise.
36870         * math/atest-sincos.c: Likewise.
36871         * math/test-matherr.c: Likewise.
36872         * math/test-misc.c: Likewise.
36873         * math/test-powl.c: Likewise.
36874         * math/tst-definitions.c: Likewise.
36875         * misc/tst-dirname.c: Likewise.
36876         * misc/tst-efgcvt.c: Likewise.
36877         * misc/tst-fdset.c: Likewise.
36878         * misc/tst-hsearch.c: Likewise.
36879         * misc/tst-mntent2.c: Likewise.
36880         * nptl/tst-sem7.c: Likewise.
36881         * nptl/tst-sem8.c: Likewise.
36882         * nptl/tst-sem9.c: Likewise.
36883         * nss/test-netdb.c: Likewise.
36884         * posix/tst-fnmatch.c: Likewise.
36885         * posix/tst-getlogin.c: Likewise.
36886         * posix/tst-gnuglob.c: Likewise.
36887         * posix/tst-mmap.c: Likewise.
36888         * pwd/tst-getpw.c: Likewise.
36889         * resolv/tst-inet_ntop.c: Likewise.
36890         * rt/tst-timer.c: Likewise.
36891         * stdio-common/test-fseek.c: Likewise.
36892         * stdio-common/test-popen.c: Likewise.
36893         * stdio-common/test-vfprintf.c: Likewise.
36894         * stdio-common/tst-cookie.c: Likewise.
36895         * stdio-common/tst-fileno.c: Likewise.
36896         * stdio-common/tst-gets.c: Likewise.
36897         * stdio-common/tst-obprintf.c: Likewise.
36898         * stdio-common/tst-perror.c: Likewise.
36899         * stdio-common/tst-sprintf2.c: Likewise.
36900         * stdio-common/tst-sprintf3.c: Likewise.
36901         * stdio-common/tst-sprintf.c: Likewise.
36902         * stdio-common/tst-swprintf.c: Likewise.
36903         * stdio-common/tst-tmpnam.c: Likewise.
36904         * stdio-common/tst-unbputc.c: Likewise.
36905         * stdio-common/tst-wc-printf.c: Likewise.
36906         * stdlib/tst-environ.c: Likewise.
36907         * stdlib/tst-fmtmsg.c: Likewise.
36908         * stdlib/tst-limits.c: Likewise.
36909         * stdlib/tst-rand48-2.c: Likewise.
36910         * stdlib/tst-rand48.c: Likewise.
36911         * stdlib/tst-random2.c: Likewise.
36912         * stdlib/tst-random.c: Likewise.
36913         * stdlib/tst-strtol.c: Likewise.
36914         * stdlib/tst-strtoll.c: Likewise.
36915         * stdlib/tst-tls-atexit.c: Likewise.
36916         * stdlib/tst-xpg-basename.c: Likewise.
36917         * string/test-ffs.c: Likewise.
36918         * string/tst-bswap.c: Likewise.
36919         * string/tst-inlcall.c: Likewise.
36920         * string/tst-strtok.c: Likewise.
36921         * string/tst-strxfrm.c: Likewise.
36922         * sysdeps/x86_64/tst-audit10.c: Likewise.
36923         * sysdeps/x86_64/tst-audit3.c: Likewise.
36924         * sysdeps/x86_64/tst-audit4.c: Likewise.
36925         * sysdeps/x86_64/tst-audit5.c: Likewise.
36926         * time/tst-ftime_l.c: Likewise.
36927         * time/tst-getdate.c: Likewise.
36928         * time/tst-mktime3.c: Likewise.
36929         * time/tst-mktime.c: Likewise.
36930         * time/tst-posixtz.c: Likewise.
36931         * time/tst-strptime2.c: Likewise.
36932         * time/tst-strptime3.c: Likewise.
36933         * wcsmbs/tst-btowc.c: Likewise.
36934         * wcsmbs/tst-mbrtowc.c: Likewise.
36935         * wcsmbs/tst-mbsrtowcs.c: Likewise.
36936         * wcsmbs/tst-wchar-h.c: Likewise.
36937         * wcsmbs/tst-wcpncpy.c: Likewise.
36938         * wcsmbs/tst-wcrtomb.c: Likewise.
36939         * wcsmbs/tst-wcsnlen.c: Likewise.
36940         * wcsmbs/tst-wcstof.c: Likewise.
36942 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
36944         [BZ #14132]
36945         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
36946         INTDEF.
36947         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
36948         declaration.
36949         (_dl_mcount): Use rtld_hidden_proto.
36950         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
36951         _dl_mcount.
36952         * elf/rtld.c (_rtld_global_ro): Likewise.
36954         [BZ #14132]
36955         * elf/dl-init.c (_dl_init): Don't use INTDEF.
36956         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
36957         of _dl_init_internal.
36958         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
36959         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
36960         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
36961         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
36962         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
36963         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
36964         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
36965         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
36966         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
36967         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
36968         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
36969         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
36970         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36971         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36972         * sysdeps/tile/dl-start.S (_start): Likewise.
36973         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
36974         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36976         [BZ #14132]
36977         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
36978         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
36979         (rtld_progname): Make macro definition unconditional.
36980         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
36981         INTDEF.
36982         (dlmopen_doit): Do not use INTUSE with _dl_argv.
36983         (dl_main): Likewise.
36984         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36985         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
36986         instead of _dl_argv_internal.
36987         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36988         __GI__dl_argv instead of INTUSE(_dl_argv).
36989         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
36990         __GI__dl_argv instead of _dl_argv_internal.
36992         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
36993         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
36994         macro.
36995         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
36996         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
36997         New macro.
36998         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
36999         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37000         macro.
37001         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37002         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37004 2014-11-04  Andreas Schwab  <schwab@suse.de>
37006         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37008 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37010         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37011         mtvsrd instruction in binary form.
37013 2014-11-03  Andreas Schwab  <schwab@suse.de>
37015         [BZ #17522]
37016         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37017         for less than MB_LEN_MAX use a local buffer of that size.
37018         * libio/tst-fputws.c: New file.
37019         * libio/Makefile (tests): Add tst-fputws.
37021 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37023         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37024         the size of the fpu_fr.fpu_dregs[] array.
37026 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37028         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37029         (__nanosleep): Do not define as alias.
37030         (nanosleep): Define as alias of __nanosleep.
37031         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37032         __libc_nanosleep name.
37034 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37036         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37037         install.texi in comment.
37039 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37041         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37042         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37043         ... add here and use lwsync or sync ...
37044         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37045         ... and add here using lwsync.
37047 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37049         * elf/dl-machine-reject-phdr.h: New file.
37050         * elf/dl-load.c: #include that.
37051         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37052         if that returned true.
37054 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37056         [BZ #17496]
37057         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37058         gen-as-const-headers chunk.  Add a big scare comment after the last
37059         safe place to touch before-compile.
37061 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37063         * manual/install.texi (Tools for Compilation): Update autoconf
37064         version requirements.
37065         * INSTALL: Regenerated.
37067         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37068         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37069         (__libc_pselect): Likewise.
37071         [BZ #14138]
37072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37077 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37079         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37080         correct barrier instruction.
37081         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37082         Likewise.
37083         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37084         Likewise.
37086 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37088         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37089         after defining inlines.  Instead, just use parens to defeat macro
37090         expansion of __isctype in its declaration.
37092 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37094         * include/sys/uio.h (__libc_readv): Remove declaration.
37095         (__libc_writev): Likewise.
37096         * misc/readv.c (__libc_readv): Rename to __readv.
37097         (__readv): Do not define as alias.
37098         (readv): Define as alias of __readv.
37099         * misc/writev.c (__libc_writev): Rename to __writev.
37100         (__writev): Do not define as alias.
37101         (writev): Define as alias of __writev.
37102         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37103         (__readv): Do not define as alias.
37104         (readv): Define unconditionally as alias of __readv.
37105         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37106         (__writev): Do not define as alias.
37107         (writev): Define unconditionally as alias of __writev.
37108         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37109         name.
37110         (writev): Do not define __libc_writev name.
37112 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37114         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37115         (convert_charseq): New function, broken out of ...
37116         (use_from_charmap): ... here.  Call it.
37117         (use_to_charmap): Use convert_charseq and free instead of duplicating
37118         its code with a variable-length stack struct.
37120 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37122         * include/fcntl.h (__libc_creat): Remove declaration.
37123         * io/creat.c (__libc_creat): Rename to creat.
37124         (creat): Do not define as alias.
37125         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37126         of creat instead of __libc_creat.
37127         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37128         to creat.
37129         (creat): Do not define as alias.
37130         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37131         __libc_creat.
37132         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37133         __libc_creat name.
37134         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37135         Likewise.
37137 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37139         * manual/llio.texi: Add comments discussing why write() may be
37140         considered MT-unsafe on Linux.
37142 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37144         * dl-load.c (local_strdup): Remove.
37145         (expand_dynamic_string_token): Use __strdup.
37146         (decompose_rpath): Likewise.
37147         (_dl_map_object): Likewise.
37149 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37151         [BZ #14132]
37152         * sysdeps/generic/unwind-dw2-fde.c
37153         (__register_frame_info_bases_internal): Do not declare.
37154         (__register_frame_info_table_bases_internal): Likewise.
37155         (__deregister_frame_info_bases_internal): Likewise.
37156         (__register_frame_info_bases): Declare and use hidden_proto before
37157         definition.  Use hidden_def instead of INTDEF.
37158         (__register_frame_info_table_bases): Likewise.
37159         (__deregister_frame_info_bases): Likewise.
37160         (__register_frame_info): Do not use INTUSE.
37161         (__register_frame): Likewise.
37162         (__register_frame_info_table): Likewise.
37163         (__register_frame_table): Likewise.
37164         (__deregister_frame_info): Likewise.
37165         (__deregister_frame): Likewise.
37167 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37169         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37170         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37171         not undefine.
37172         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37173         Likewise.
37174         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37175         Likewise.
37177 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37179         [BZ #14138]
37180         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37181         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37182         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37183         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37184         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37185         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37186         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37187         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37188         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37189         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37190         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37191         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37192         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37193         syscall.
37194         (setfsuid): Likewise.
37195         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37196         (setfsuid): Likewise.
37197         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37198         (setfsuid): Likewise.
37199         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37200         Likewise.
37201         (setfsuid): Likewise.
37202         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37203         (setfsuid): Likewise.
37204         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37205         Likewise.
37206         (setfsuid): Likewise.
37208 2014-10-27  Andreas Schwab  <schwab@suse.de>
37210         [BZ #17501]
37211         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37212         check for Slow_SSE4_2 feature bit.
37213         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37214         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37215         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37216         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37218 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37220         * configure.ac: Validate compiler version with a empirical test of
37221         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37222         $CC -v output.
37223         * configure: Regenerated.
37225         * inet/htons.c (htons): Prototypify.
37226         * inet/htonl.c (htonl): Likewise.
37228 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37230         * string/strncat.c (strncat): Improve performance by using strlen.
37232 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37234         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37236 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37238         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37239         Call libc_fetestexcept_aarch64.
37241 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37243         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37244         Call libc_feholdexcept_aarch64.
37246 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37248         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37249         Call get_rounding_mode.
37251 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37253         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37254         Simplify logic.
37256 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37258         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37259         Simplify logic.
37261 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37263         [BZ #14138]
37264         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37265         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37266         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37267         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37268         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37269         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37270         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37271         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37272         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37273         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37274         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37275         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37276         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37277         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37278         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37279         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37280         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37281         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37282         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37283         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37284         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37285         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37286         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37287         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37288         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37289         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37290         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37291         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37292         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37293         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37294         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37295         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37296         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37297         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37298         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37299         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37300         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37301         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37302         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37303         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37304         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37305         syscall.
37306         (geteuid): Likewise.
37307         (getgid): Likewise.
37308         (getuid): Likewise.
37309         (getresgid): Likewise.
37310         (getresuid): Likewise.
37311         (getgroups): Likewise.
37312         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37313         (geteuid): Likewise.
37314         (getgid): Likewise.
37315         (getuid): Likewise.
37316         (getresgid): Likewise.
37317         (getresuid): Likewise.
37318         (getgroups): Likewise.
37319         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37320         (geteuid): Likewise.
37321         (getgid): Likewise.
37322         (getuid): Likewise.
37323         (getresgid): Likewise.
37324         (getresuid): Likewise.
37325         (getgroups): Likewise.
37326         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37327         Likewise.
37328         (geteuid): Likewise.
37329         (getgid): Likewise.
37330         (getuid): Likewise.
37331         (getresgid): Likewise.
37332         (getresuid): Likewise.
37333         (getgroups): Likewise.
37334         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37335         (geteuid): Likewise.
37336         (getgid): Likewise.
37337         (getuid): Likewise.
37338         (getresgid): Likewise.
37339         (getresuid): Likewise.
37340         (getgroups): Likewise.
37341         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37342         Likewise.
37343         (geteuid): Likewise.
37344         (getgid): Likewise.
37345         (getuid): Likewise.
37346         (getgroups): Likewise.
37348         [BZ #14138]
37349         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37350         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37351         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37352         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37353         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37354         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37355         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37356         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37357         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37358         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37359         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37360         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37361         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37362         __chown.
37363         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37364         (lchown): Likewise.
37365         (fchown): Likewise.
37366         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37367         Likewise.
37368         (lchown): Likewise.
37369         (fchown): Likewise.
37370         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37371         (lchown): Likewise.
37372         (fchown): Likewise.
37373         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37374         Likewise.
37375         (lchown): Likewise.
37376         (fchown): Likewise.
37378 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37380         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37381         Simplify logic.
37383 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37385         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37386         Cleanup logic.
37388 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37390         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37391         Remove unused include.
37393 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37395         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37396         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37397         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37398         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37400 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37401             Helge Deller <deller@gmx.de>
37403         [BZ #17508]
37404         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37405         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37406         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37408 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37410         [BZ #14132]
37411         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37412         Remove macro definition.
37413         (__ashrdi3_v_glibc20): Likewise.
37414         (__lshrdi3_v_glibc20): Likewise.
37415         (__cmpdi2_v_glibc20): Likewise.
37416         (__ucmpdi2_v_glibc20): Likewise.
37417         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37418         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37419         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37420         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37421         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37422         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37424 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37426         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37427         old GNU extension [0] syntax.
37428         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37429         alloca rather than an array member with variable length.
37430         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37431         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37432         (parse_opt): ... here.  Likewise use alloca there.
37433         Validate the -i argument before checking for rootness.
37434         (send_shutdown): New function, broken out of ...
37435         (parse_opt): ... here.
37437 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37439         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37440         macro to get at the _rt_local_ro field.
37441         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37442         ([PIC] case) or _dl_hwcap ([!PIC] case).
37443         * sysdeps/arm/setjmp.S: Likewise.
37445         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37446         * sysdeps/arm/configure.ac: New check to define it.
37447         * sysdeps/arm/configure: Regenerated.
37448         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37449         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37450         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37451         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37452         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37453         Use move/movt pair instead of a load.
37454         (LDST_GLOBAL): Macro removed.
37455         (LDR_GLOBAL): New macro replaces it.
37456         (LDR_HIDDEN): New macro.
37457         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37458         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37460         * setjmp/tst-setjmp-static.c: New file.
37461         * setjmp/Makefile (tests): Add it.
37462         (tests-static): New variable.
37464 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37466         [BZ #17485]
37467         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37469 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37471         [BZ #14132]
37472         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37474 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37476         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37478 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37480         * io/fts.c (dirent_not_directory): New function.
37481         (fts_build): Call it.
37483 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37485         * nptl/version.c (__nptl_main): Use normal __write rather than
37486         INTERNAL_SYSCALL.
37487         (banner): Update copyright years.
37489         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
37490         gettimeofday.
37491         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37492         * nptl/pthread_cond_timedwait.c: Likewise.
37493         * nptl/pthread_mutex_timedlock.c: Likewise.
37494         * nptl/sem_timedwait.c: Likewise.
37496         * sysdeps/nptl/bits/libc-lock.h
37497         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37498         (__libc_lock_init_recursive): Return void, not 0.
37499         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
37500         (__libc_rwlock_init): Likewise.
37501         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
37503 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37505         [BZ #15215]
37506         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
37507         (__pthread_once_slow): ... here.
37508         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
37509         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
37511 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37513         [BZ #15215]
37514         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
37515         __PTHREAD_ONCE_FORK_GEN_INCR): New.
37516         * sysdeps/nptl/fork.c (__libc_fork): Use them.
37517         * nptl/pthread_once.c (__pthread_once): Likewise.
37518         Update comments.
37520 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
37522         [BZ #14138]
37523         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
37524         name.
37525         (writev): Use __libc_writev as strong name.
37526         * sysdeps/unix/sysv/linux/readv.c: Remove file.
37527         * sysdeps/unix/sysv/linux/writev.c: Likewise.
37529 2014-10-17  Roland McGrath  <roland@hack.frob.com>
37531         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
37533         * sysdeps/i386/nptl/tls.h
37534         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
37535         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
37536         New macros.
37537         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
37538         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
37539         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
37540         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
37541         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
37542         Call CHECK_THREAD_SYSINFO instead of doing an assert.
37544         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37545         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
37546         on [__NR_futex].
37547         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
37548         broken out of ...
37549         (__pthread_mutex_init): ... here.  Call it.
37550         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
37551         Conditionalize PI cases on [__NR_futex].
37552         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
37553         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
37554         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
37556         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
37557         conditional on [SIGSETXID].
37558         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
37559         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
37560         is defined.  Likewise for SIGSETXID.
37561         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
37562         Conditionalize definitions on [SIGSETXID].
37563         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
37564         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
37565         unblocking on [SIGCANCEL].
37567         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
37568         [__NR_set_robust_list].
37570 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37572         * string/strcoll_l.c (get_next_seq): Fix up formatting.
37573         (do_compare): Likewise.
37575 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
37577         [BZ #15884]
37578         * string/strcoll_l.c: Don't include stdio.h.
37579         (coll_seq): Remove members idxarr and rulearr.
37580         (get_next_seq_cached): Remove function.
37581         (get_next_seq): Likewise.
37582         (get_next_seq_nocache): Rename to get_next_seq.
37583         (do_compare): Remove function.
37584         (do_compare_nocache): Rename to do_compare.
37585         (STRCOLL): Remove weight and rules cache.
37587 2014-10-16  Roland McGrath  <roland@hack.frob.com>
37589         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
37590         * sysdeps/arm/sfp-machine.h: ... to here.
37591         * sysdeps/arm/Implies: Remove arm/soft-fp.
37593 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
37595         * conform/data/sys/utsname.h-data (*_t): Allow.
37596         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
37597         [POSIX] (WEXITED): Do not expect constant.
37598         [POSIX] (WSTOPPED): Likewise.
37599         [POSIX] (WNOHANG): Likewise.
37600         [POSIX] (WNOWAIT): Likewise.
37601         [POSIX] (siginfo_t): Do not expect type or elements.
37602         [POSIX] (pid_t): Do not expect type.
37603         [POSIX] (signal.h): Do not allow header.
37604         [POSIX] (sys/resource.h): Likewise.
37605         [POSIX] (si_*): Do not allow pattern.
37606         [POSIX] (W*): Likewise.
37607         [POSIX] (P_*): Likewise.
37608         [POSIX] (BUS_*): Likewise.
37609         [POSIX] (CLD_*): Likewise.
37610         [POSIX] (FPE_*): Likewise.
37611         [POSIX] (ILL_*): Likewise.
37612         [POSIX] (POLL_*): Likewise.
37613         [POSIX] (SEGV_*): Likewise.
37614         [POSIX] (SI_*): Likewise.
37615         [POSIX] (TRAP_*): Likewise.
37616         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
37617         variable.
37619 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
37621         [BZ #12926]
37622         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
37623         infinite loop when __recvmsg returns 0.
37625 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
37627         * CANCEL-FCT-WAIVE: Remove file.
37628         * CANCEL-FILE-WAIVE: Likewise.
37630         [BZ #14132]
37631         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
37632         instead of INTVARDEF.
37633         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37634         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
37635         rtld_hidden_data_def instead of INTVARDEF.
37636         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37637         * elf/dl-deps.c (expand_dst): Likewise.
37638         * elf/dl-load.c (_dl_dst_count): Likewise.
37639         (_dl_dst_substitute): Likewise.
37640         (decompose_rpath): Likewise.
37641         (_dl_init_paths): Likewise.
37642         (open_path): Likewise.
37643         (_dl_map_object): Likewise.
37644         * elf/rtld.c (dl_main): Likewise.
37645         (process_dl_audit): Likewise.
37646         (process_envvars): Likewise.
37647         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
37648         Remove declaration.
37649         (__libc_enable_secure): Use rtld_hidden_proto.
37651 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37653         * elf/dl-load.c
37654         (add_path): New function broken out of _dl_rtld_di_serinfo.
37655         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
37657 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37659         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
37660         parentheses around macro arguments.
37661         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
37662         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
37663         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
37664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
37665         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
37666         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37667         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
37669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
37670         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
37671         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
37672         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
37673         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
37674         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
37675         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
37676         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
37677         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
37678         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
37679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
37680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
37681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
37682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
37683         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
37684         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
37687         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
37688         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
37689         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
37690         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
37691         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
37692         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
37693         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
37694         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
37695         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
37696         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
37697         Likewise.
37698         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
37699         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37700         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37701         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
37702         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
37703         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
37704         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
37705         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
37706         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
37707         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
37708         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
37709         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
37710         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
37711         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
37712         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
37713         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37714         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37715         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
37716         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
37717         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
37718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
37719         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
37720         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
37721         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
37722         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
37723         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
37724         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
37725         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
37726         (_FP_FRAC_SRS_1): Likewise.
37727         (_FP_FRAC_CLZ_1): Likewise.
37728         (_FP_MUL_MEAT_1_imm): Likewise.
37729         (_FP_MUL_MEAT_1_wide): Likewise.
37730         (_FP_MUL_MEAT_1_hard): Likewise.
37731         (_FP_SQRT_MEAT_1): Likewise.
37732         (_FP_FRAC_ASSEMBLE_1): Likewise.
37733         (_FP_FRAC_DISASSEMBLE_1): Likewise.
37734         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
37735         (__FP_CLZ_2): Likewise.
37736         (_FP_MUL_MEAT_2_wide): Likewise.
37737         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37738         (_FP_MUL_MEAT_2_gmp): Likewise.
37739         (_FP_MUL_MEAT_2_120_240_double): Likewise.
37740         (_FP_SQRT_MEAT_2): Likewise.
37741         (_FP_FRAC_ASSEMBLE_2): Likewise.
37742         (_FP_FRAC_DISASSEMBLE_2): Likewise.
37743         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
37744         (_FP_FRAC_CLZ_4): Likewise.
37745         (_FP_MUL_MEAT_4_wide): Likewise.
37746         (_FP_MUL_MEAT_4_gmp): Likewise.
37747         (_FP_SQRT_MEAT_4): Likewise.
37748         (_FP_FRAC_ASSEMBLE_4): Likewise.
37749         (_FP_FRAC_DISASSEMBLE_4): Likewise.
37750         * soft-fp/op-common.h (_FP_CMP): Likewise.
37751         (_FP_CMP_EQ): Likewise.
37752         (_FP_CMP_UNORD): Likewise.
37753         (_FP_TO_INT): Likewise.
37754         (_FP_FROM_INT): Likewise.
37755         [!__FP_CLZ] (__FP_CLZ): Likewise.
37756         (_FP_DIV_HELP_imm): Likewise.
37757         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
37758         Likewise.
37759         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
37760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
37761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
37762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
37763         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
37764         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37768         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37769         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37770         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37771         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37772         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37773         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37774         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37775         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37776         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37781         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37782         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37785         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37786         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37787         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37788         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37789         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37790         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37791         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37792         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37793         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37794         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37795         (FP_UNPACK_RAW_SP): Likewise.
37796         (FP_PACK_RAW_S): Likewise.
37797         (FP_PACK_RAW_SP): Likewise.
37798         (FP_UNPACK_S): Likewise.
37799         (FP_UNPACK_SP): Likewise.
37800         (FP_UNPACK_SEMIRAW_S): Likewise.
37801         (FP_UNPACK_SEMIRAW_SP): Likewise.
37802         (FP_PACK_S): Likewise.
37803         (FP_PACK_SP): Likewise.
37804         (FP_PACK_SEMIRAW_S): Likewise.
37805         (FP_PACK_SEMIRAW_SP): Likewise.
37806         (_FP_SQRT_MEAT_S): Likewise.
37807         (FP_CMP_S): Likewise.
37808         (FP_CMP_EQ_S): Likewise.
37809         (FP_CMP_UNORD_S): Likewise.
37810         (FP_TO_INT_S): Likewise.
37811         (FP_FROM_INT_S): Likewise.
37813         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
37815         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
37816         (FP_EX_INVALID_IMZ): Likewise.
37817         (FP_EX_INVALID_IMZ_FMA): Likewise.
37818         (FP_EX_INVALID_ISI): Likewise.
37819         (FP_EX_INVALID_ZDZ): Likewise.
37820         (FP_EX_INVALID_IDI): Likewise.
37821         (FP_EX_INVALID_SQRT): Likewise.
37822         (FP_EX_INVALID_CVI): Likewise.
37823         (FP_EX_INVALID_VC): Likewise.
37824         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
37825         "invalid" exceptions.
37826         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
37827         (_FP_ADD_INTERNAL): Likewise.
37828         (_FP_MUL): Likewise.
37829         (_FP_FMA): Likewise.
37830         (_FP_DIV): Likewise.
37831         (_FP_CMP_CHECK_NAN): Likewise.
37832         (_FP_SQRT): Likewise.
37833         (_FP_TO_INT): Likewise.
37834         (FP_EXTEND): Likewise.
37836 2014-10-09  Allan McRae  <allan@archlinux.org>
37838         * po/fr.po: Update French translation from translation project.
37840 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37842         [BZ #14132]
37843         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
37844         of INTDEF.
37845         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
37846         (__cxa_atexit): Use libc_hidden_proto.
37847         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
37849         [BZ #14132]
37850         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
37851         declaration.
37852         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
37853         [!_ISOMAC] (__iswspace_l_internal): Likewise.
37854         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
37855         [!_ISOMAC] (__iswctype_internal): Likewise.
37856         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
37857         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
37858         alias.
37859         (fcntl): Remove __fcntl_internal alias.
37860         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
37861         __connect_internal alias.
37862         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
37863         Likewise.
37865         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
37866         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
37867         FP_DENORM_ZERO.
37868         (_FP_CHECK_FLUSH_ZERO): New macro.
37869         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
37870         (_FP_CMP): Likewise.
37871         (_FP_CMP_EQ): Likewise.
37872         (_FP_TO_INT): Do not set inexact for subnormal arguments if
37873         FP_DENORM_ZERO.
37874         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
37875         (FP_TRUNC): Likewise.
37877         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
37878         treated as invalid conversion, not as normal exponent.
37880         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
37881         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
37882         (_FP_CMP_EQ): Likewise.
37883         (_FP_CMP_UNORD): Likewise.
37884         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
37885         (FP_CMP_EQ_D): Likewise.
37886         (FP_CMP_UNORD_D): Likewise.
37887         * soft-fp/extended.h (FP_CMP_E): Likewise.
37888         (FP_CMP_EQ_E): Likewise.
37889         (FP_CMP_UNORD_E): Likewise.
37890         * soft-fp/quad.h (FP_CMP_Q): Likewise.
37891         (FP_CMP_EQ_Q): Likewise.
37892         (FP_CMP_UNORD_Q): Likewise.
37893         * soft-fp/single.h (FP_CMP_S): Likewise.
37894         (FP_CMP_EQ_S): Likewise.
37895         (FP_CMP_UNORD_S): Likewise.
37896         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
37897         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
37898         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37899         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
37900         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
37901         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
37902         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
37903         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
37904         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
37905         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
37906         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
37907         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
37908         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
37909         to FP_CMP_Q.
37910         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
37911         FP_CMP_Q.
37912         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
37913         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37914         FP_CMP_EQ_Q.
37915         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
37916         FP_CMP_Q.
37917         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
37918         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
37919         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
37920         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
37921         FP_CMP_EQ_Q.
37922         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
37923         FP_CMP_Q.
37924         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
37925         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
37926         FP_CMP_EQ_Q.
37927         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
37928         FP_CMP_Q.
37929         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
37930         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
37931         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
37932         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
37933         FP_CMP_EQ_Q.
37935         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
37936         a subnormal result, set the underflow exception if trapping on
37937         underflow is enabled.
37938         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
37939         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
37940         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
37941         redefine to 0.
37942         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
37943         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37944         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37945         * soft-fp/extendxftf2.c (__extendxftf2): Use
37946         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
37948         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
37949         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
37950         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37951         FP_HANDLE_EXCEPTIONS.
37952         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
37953         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37954         FP_HANDLE_EXCEPTIONS.
37955         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
37956         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37957         FP_HANDLE_EXCEPTIONS.
37958         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
37959         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37960         FP_HANDLE_EXCEPTIONS.
37962 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
37964         [BZ #14132]
37965         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
37966         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
37967         use INTUSE.
37968         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37969         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
37970         Remove alias.
37971         (__adjtimex): Define using libc_hidden_ver.
37972         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
37973         Remove declaration.
37974         (ntp_gettime): Call __adjtimex directly.
37975         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
37976         Remove declaration.
37977         (ntp_gettimex): Call __adjtimex directly.
37978         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
37979         __adjtimex_internal alias.
37981 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37983         [BZ #17460]
37984         * nscd/nscd.c (more_help): Rewrite list of tables collection
37985         using xstrdup and asprintf.
37987         * nscd/nscd_conf.c: Remove local xstrdup declaration.
37989 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37990             Roland McGrath  <roland@hack.frob.com>
37992         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
37993         (do_lookup_unique): ... local function 'enter' here; update callers.
37995 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
37997         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
37998         compat_symbol calls on [SHARED].
37999         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38000         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38001         Remove.
38002         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38003         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38004         (oldsetrlimit): Remove.
38005         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38007         (lchown): New syscall entry.
38008         (oldsetrlimit): Remove.
38009         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38010         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38011         (oldsetrlimit): Remove.
38012         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38014         [BZ #14138]
38015         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38016         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38017         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38018         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38019         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38020         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38021         (fchown): Likewise.
38022         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38023         (fchown): Likewise.
38024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38025         Likewise.
38027 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38029         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38030         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38031         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38032         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38033         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38034         Likewise.
38035         (__old_sem_post): Likewise.
38037 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38039         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38040         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38041         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38042         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38043         Use INLINE_VSYSCALL macro.
38044         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38045         __vdso_clock_gettime.
38046         * sysdeps/unix/sysv/linux/tile/init-first.c
38047         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38048         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38049         __vdso_clock_gettime.
38051         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38052         to set up frame more cleanly.
38054         * sysdeps/tile/memcmp.c: New file.
38056         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38058         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38059         * sysdeps/tile/tilegx/strcasestr.c: New file.
38060         * sysdeps/tile/tilegx/strnlen.c: New file.
38061         * sysdeps/tile/tilegx/strstr.c: New file.
38063         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38065 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38067         * nptl/tst-setuid3.c: Write errors to stdout.
38069 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38071         * elf/dl-deps.c
38072         (preload): New functions broken out of _dl_map_object_deps.
38073         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38075 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38077         [BZ #14138]
38078         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38079         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38081 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38083         * sysdeps/mips/strcmp.S: New.
38085 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38087         [BZ #14138]
38088         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38089         (linkat): Likewise.
38090         (mkdirat): Likewise.
38091         (readlinkat): Likewise.
38092         (renameat): Likewise.
38093         (symlinkat): Likewise.
38094         (unlinkat): Likewise.
38095         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38096         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38097         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38098         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38099         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38100         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38101         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38103 2014-09-30  Will Newton  <will.newton@linaro.org>
38105         * math/math.h: Define long double math functions if
38106         _LIBC_TEST is defined.
38107         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38109         * localedata/Makefile: Move assignment to tests-special
38110         into an ifdef testing run-built-tests.
38111         * timezone/Makefile: Likewise.
38113 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38115         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38116         with $(BASH) not $(SHELL).
38118 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38119             Matthew LeGendre  <legendre1@llnl.gov>
38121         [BZ #17411]
38122         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38123         l_reloc_result.
38125 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38127         * stdio-common/printf_fp.c
38128         (hack_digit): New function, broken out of ...
38129         (__printf_fp): ... local function here.  Update call sites.
38130         hack_digit now takes an additional parameter that is a pointer
38131         to a struct of the referenced locals.  Those locals moved inside
38132         the struct and references updated.
38134 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38136         * aclocal.m4: Require autoconf 2.69.
38137         * configure: Regenerated.
38138         * sysdeps/aarch64/configure: Likewise.
38139         * sysdeps/alpha/configure: Likewise.
38140         * sysdeps/arm/armv7/configure: Likewise.
38141         * sysdeps/arm/configure: Likewise.
38142         * sysdeps/ia64/configure: Likewise.
38143         * sysdeps/mach/configure: Likewise.
38144         * sysdeps/mips/configure: Likewise.
38145         * sysdeps/s390/configure: Likewise.
38146         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38149         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38150         file.
38151         * sysdeps/ia64/configure.ac: Likewise.
38153 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38156         specify symbol version for ld.so.  Do not include entry for
38157         libpthread.
38158         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38159         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38160         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38162         [BZ #14171]
38163         * Makeconfig [$(build-shared) = yes]
38164         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38165         makefiles.
38166         [$(build-shared) = yes && $(soversions.mk-done) = t]
38167         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38168         [$(build-shared) = yes && $(soversions.mk-done) = t]
38169         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38170         to Makerules.
38171         [$(build-shared) = yes && $(soversions.mk-done) = t]
38172         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38173         here.
38174         [$(build-shared) = yes && $(soversions.mk-done) = t]
38175         (common-generated): Don't append gnu/lib-names.h and
38176         gnu/lib-names.stmp here.
38177         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38178         (lib-names-h-abi): New variable.
38179         [$(build-shared) = yes && $(soversions.mk-done) = t]
38180         (lib-names-stmp-abi): Likewise.
38181         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38182         abi-variants] (before-compile): Append
38183         $(common-objpfx)$(lib-names-h-abi).
38184         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38185         abi-variants] (common-generated): Append gnu/lib-names.h.
38186         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38187         abi-variants] (install-others-nosubdir): Depend on
38188         $(inst_includedir)/$(lib-names-h-abi).
38189         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38190         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38191         [$(build-shared) = yes && $(soversions.mk-done) = t]
38192         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38193         [$(build-shared) = yes && $(soversions.mk-done) = t]
38194         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38195         [$(build-shared) = yes && $(soversions.mk-done) = t]
38196         (common-generated): Append $(lib-names-h-abi) and
38197         $(lib-names-stmp-abi).
38198         * scripts/lib-names.awk: Do not handle multi being set.
38199         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38200         Remove variable.
38201         (abi-lp64_be-ld-soname): Likewise.
38202         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38203         Likewise.
38204         (abi-hard-ld-soname): Likewise.
38205         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38206         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38207         Remove variable.
38208         (abi-o32_hard-ld-soname): Likewise.
38209         (abi-o32_soft_2008-ld-soname): Likewise.
38210         (abi-o32_hard_2008-ld-soname): Likewise.
38211         (abi-n32_soft-ld-soname): Likewise.
38212         (abi-n32_hard-ld-soname): Likewise.
38213         (abi-n32_soft_2008-ld-soname): Likewise.
38214         (abi-n32_hard_2008-ld-soname): Likewise.
38215         (abi-n64_soft-ld-soname): Likewise.
38216         (abi-n64_hard-ld-soname): Likewise.
38217         (abi-n64_soft_2008-ld-soname): Likewise.
38218         (abi-n64_hard_2008-ld-soname): Likewise.
38219         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38220         Likewise.
38221         (abi-64-v2-ld-soname): Likewise.
38222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38223         ld.so entries.
38224         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38225         variable.
38226         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38227         entry.
38228         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38229         variable.
38230         (abi-64-ld-soname): Likewise.
38231         (abi-x32-ld-soname): Likewise.
38232         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38233         entry.
38234         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38236 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38238         [BZ #14138]
38239         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38240         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38241         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38242         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38243         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38244         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38245         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38246         syscall entry for GLIBC_2.2 symbol version.
38247         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38248         Likewise.
38249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38250         (setrlimit): Likewise.
38251         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38252         Likewise.
38254 2014-09-23  Will Newton  <will.newton@linaro.org>
38256         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38257         _LINUX_ARM_SYSDEP_H include guard too.
38258         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38259         define.
38261 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38263         * sysdeps/unix/sysv/linux/eventfd.c:
38264         Make first argument unsigned.
38265         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38266         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38268 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38270         [BZ #16852]
38271         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38272         * socket/sys/socket.h: Likewise.
38273         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38275 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38277         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38279 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38281         * time/tst-ftime.c: New test.
38282         * time/Makefile (tests): Add tst-ftime.
38284 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38286         * soft-fp/extended.h: Fix comment formatting.
38287         * soft-fp/op-1.h: Likewise.
38288         * soft-fp/op-2.h: Likewise.
38289         * soft-fp/op-4.h: Likewise.
38290         * soft-fp/op-8.h: Likewise.
38291         * soft-fp/op-common.h: Likewise.
38292         * soft-fp/soft-fp.h: Likewise.
38294         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38296 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38298         [BZ #6652]
38299         * Makeconfig (soversions-default-setname): Remove variable.
38300         ($(common-objpfx)soversions.i): Don't pass default_setname to
38301         soversions.awk.
38302         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38303         oldest_abi to abi-versions.awk.
38304         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38305         * config.make.in (oldest-abi): Remove variable.
38306         * configure.ac (--enable-oldest-abi): Remove configure option.
38307         * configure: Regenerated.
38308         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38309         text.
38310         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38311         * scripts/soversions.awk: Do not handle default_setname variable.
38312         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38313         variable.
38314         * sysdeps/mach/hurd/configure: Regenerated.
38315         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38316         variable.
38317         * sysdeps/unix/sysv/linux/configure: Regenerated.
38319 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38321         * elf/Makefile (CFLAGS-interp.c): Remove.
38322         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38323         path string.
38324         * elf/interp.c: Include generated runtime-linker.h
38326         * Makerules (lib%.so): Don't include $(+interp) in
38327         prerequisites.
38328         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38329         * dlfcn/eval.c: Remove file.
38331         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38332         macros.
38334         [BZ #17266]
38335         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38336         4.2 and newer.
38338         [BZ #17370]
38339         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38341 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38342             Jakub Jelinek  <jakub@redhat.com>
38344         [BZ #17266]
38345         * libio/stdio.h: Check definition of __fortify_function
38346         instead of __extern_always_inline to include bits/stdio2.h.
38347         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38348         check if __extern_always_inline is defined.
38349         [__USE_MISC || __USE_XOPEN]: Likewise.
38350         [__USE_ISOC99] Likewise.
38351         * misc/sys/cdefs.h (__fortify_function): Define only if
38352         __extern_always_inline is defined.
38353         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38354         __extern_always_inline and __extern_inline only for g++-4.3
38355         and newer or a compatible gcc.
38357 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38359         [BZ #17371]
38360         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38361         last change to handle zero prefix length.
38363 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38365         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38366         _SC_REGEX_VERSION.
38368         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38369         _POSIX_RAW_SOCKETS.
38371 2014-09-13  Allan McRae  <allan@archlinux.org>
38373         * po/ru.po: Update Russian translation from translation project.
38375 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38377         * locale/programs/locale.c (show_locale_vars): Inline local function
38378         into its sole call site.  Clean up some style nits.
38379         (print_item): New function, broken out of ...
38380         (show_info): ... local function here.  Clean up style nits.
38382         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38383         out of ...
38384         (set_class_defaults): ... local function set_default here.
38385         Define set_default as a macro locally to pass constant parameters.
38386         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38387         rather than a shared local.
38389         * stdlib/rpmatch.c (try): New function, broken out of ...
38390         (rpmatch): ... local function here.  Also, prototypify definition.
38392 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38394         * scripts/soversions.awk: Do not handle configuration names.
38395         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38396         vendor and os variables to soversions.awk.
38397         * configure.ac: Do not modify gnu-* host_os.
38398         * configure: Regenerated
38399         * shlib-versions: Remove first column with configuration names.
38400         * nptl/shlib-versions: Likewise.
38401         * nptl_db/shlib-versions: Likewise.
38402         * sysdeps/hppa/shlib-versions: Likewise.
38403         * sysdeps/m68k/shlib-versions: Likewise.
38404         * sysdeps/mach/hurd/shlib-versions: Likewise.
38405         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38406         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38407         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38408         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38409         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38410         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38411         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38412         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38414         Likewise.
38415         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38416         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38417         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38418         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38419         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38420         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38421         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38422         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38425         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38427         Regenerated.
38428         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38430         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38432         * shlib-versions: Remove OS-specific entries.  Moved to files in
38433         sysdeps.
38434         * sysdeps/mach/hurd/shlib-versions: New file.
38435         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38437         * nptl/shlib-versions: Remove architecture-specific entries.
38438         Moved to files in sysdeps.
38439         * shlib-versions: Likewise.
38440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38441         file.
38442         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38443         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38444         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38445         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38447         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38448         (UDP_NO_CHECK6_RX): Likewise.
38450 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38452         * sysdeps/posix/sysconf.c (__sysconf): Spell
38453         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38455 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38457         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38458         loading.
38459         * iconv/Versions (__gconv_transliterate): Export for use from
38460         gconv modules.
38461         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38462         (struct __gconv_trans_data, __gconv_trans_fct,
38463         __gconv_trans_context_fct, __gconv_trans_query_fct,
38464         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38465         definitions.
38466         (struct __gconv_step_data): Remove __trans member.
38467         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38468         longer hidden.  Remove unused trans_data argument.
38469         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38470         (__gconv_translit_find): Remove declaration.
38471         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38472         prototype.
38473         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38474         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38475         trans_data argument.  Add hidden definition.
38476         (__gconv_translit_find): Remove.
38477         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38478         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38479         * iconv/skeleton.c: Remove transliteration initialization.
38480         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38481         __gconv_step_data initialization.
38482         * libio/iofwide.c (__libio_translit_): Remove.
38483         (_IO_fwide): Adjust struct __gconv_step_data initialization.
38484         * wcsmbs/btowc.c (__btowc): Likewise.
38485         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38486         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38487         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
38488         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
38489         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
38490         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
38491         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
38492         * wcsmbs/wctob.c (wctob): Likewise.
38494 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38496         [BZ #16194]
38497         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
38498         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
38499         register usage.
38500         * sysdeps/x86/Makefile: Adjust.
38502 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38503             Roland McGrath  <roland@hack.frob.com>
38505         * locale/weight.h: Add include guard.
38506         (findidx): Make static rather than auto; take new parameters
38507         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
38508         * locale/weightwc.h: Likewise.
38509         * posix/fnmatch_loop.c
38510         (FCT): Change type of EXTRA from int32_t to wint_t.
38511         Don't include either header inside the function.
38512         Call FINDIDX rather than findidx, and pass new arguments.
38513         #undef FINDIDX at the end of the file.
38514         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
38515         FINDIDX before including fnmatch_loop.c for the non-wide version.
38516         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
38517         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
38518         for the wide version.
38519         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
38520         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
38521         Pass new arguments to findidx.
38522         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
38523         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
38524         Don't #include it inside the function.  Pass new arguments to findidx.
38525         * posix/regex_internal.h
38526         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
38527         (re_string_elem_size_at): Don't #include it inside the function.
38528         Pass new arguments to findidx.
38529         * string/strcoll_l.c: #include WEIGHT_H at top level.
38530         (get_next_seq): Don't #include it inside the function.
38531         Pass new arguments to findidx.
38532         (get_next_seq_nocache): Likewise.
38533         * string/strxfrm_l.c: #include WEIGHT_H at top level.
38534         (STRXFRM): Don't #include it inside the function.
38535         Pass new arguments to findidx.
38537 2014-09-11  Florian Weimer  <fweimer@redhat.com>
38539         [BZ #17344]
38540         * malloc/malloc.c (unlink): Turn asserts into a call to
38541         malloc_printerr.
38543 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
38545         [BZ #17370]
38546         * libio/wfileops (do_ftell_wide): Free OUT.
38548 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
38550         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
38552 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38554         [BZ #17363]
38555         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
38556         group if the current group is empty.
38558 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38560         * benchtests/bench-memset.c (test_main): Add more test from size
38561         from 32 to 512 bytes.
38562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38563         Add POWER8 memset object.
38564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38565         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
38566         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
38567         implementation.
38568         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
38569         Likewise.
38570         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
38571         multiarch POWER8 memset optimization.
38572         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
38573         POWER8 memset optimization.
38575         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38576         Remove bzero multiarch objects.
38577         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
38578         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
38579         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
38580         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
38581         Remove define.
38582         [__bzero]: Redefine to specific name.
38583         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
38584         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
38585         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
38586         define.
38587         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38588         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38590 2014-09-10  Florian Weimer  <fweimer@redhat.com>
38592         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
38593         warnings into errors.
38595         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
38596         __cxa_thread_atexit_impl prototype.
38598 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38600         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
38601         Fix capitalization of error message.
38603 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38605         * sysdeps/mips/preconfigure: Modify ABI tests.
38607 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
38609         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
38611 2014-09-07  Roland McGrath  <roland@hack.frob.com>
38612             Carlos O'Donell  <carlos@systemhalted.org>
38614         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
38615         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
38616         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
38617         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
38618         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
38619         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
38620         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
38621         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
38622         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
38623         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
38624         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
38625         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
38626         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
38627         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
38628         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
38629         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
38630         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
38631         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
38632         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
38633         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
38634         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
38635         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
38636         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
38637         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
38638         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
38639         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
38640         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
38641         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
38642         Deconditionalize the code that was previously under [RESET_PID].
38643         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
38644         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
38645         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
38646         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
38647         include sysdep.h.
38649 2014-09-08  Allan McRae  <allan@archlinux.org>
38651         * version.h (RELEASE): Set to "development".
38652         (VERSION): Set to "2.20.90"
38654 2014-09-07  Allan McRae  <allan@archlinux.org
38656         * version.h (RELEASE): Set to "stable".
38657         (VERSION): Set to "2.20"
38658         * include/features.h (__GLIBC_MINOR__): Set to 20.
38660         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
38661         Liebler.
38663         * po/ko.po: Update Korean translation from translation project.
38665 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
38667         [BZ #17354]
38668         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
38669         macro for handling signed relocations.
38671 2014-09-03  Florian Weimer  <fweimer@redhat.com>
38673         [BZ #17325]
38674         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
38675         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
38676         assert.
38677         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
38678         * iconvdata/ibm935.c (BODY): Likewise.
38679         * iconvdata/ibm937.c (BODY): Likewise.
38680         * iconvdata/ibm939.c (BODY): Likewise.
38681         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
38682         assert.
38683         * iconvdata/Makefile (iconv-test.out): Pass module list to test
38684         script.
38685         * iconvdata/run-iconv-test.sh: New test loop for checking for
38686         decoder crashers.
38688 2014-09-02  Khem Raj  <raj.khem@gmail.com>
38690         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
38691         libm_hidden_ver.
38693 2014-09-01  Allan McRae  <allan@archlinux.org>
38695         * po/eo.po: Update Esperanto translation from translation project.
38697         * po/ca.po: Update Catalan translation from translation project.
38699 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38701         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
38702         __proc_dostop call.
38704 2014-08-27  Mark Wielaard  <mjw@redhat.com>
38706         [BZ #17319]
38707         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
38708         to call set_thread_area instead of hand written asm.
38709         (__NR_set_thread_area): Removed define.
38710         (TLS_FLAG_WRITABLE): Likewise.
38711         (__ASSUME_SET_THREAD_AREA): Remove check.
38712         (TLS_EBX_ARG): Remove define.
38713         (TLS_LOAD_EBX): Likewise.
38715 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38717         Simplify atomicity of socket creation in bind.
38719         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
38720         looking up the name after linking the file.
38722 2014-08-27  Allan McRae  <allan@archlinux.org>
38724         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38726 2014-08-26  Florian Weimer  <fweimer@redhat.com>
38728         [BZ #17187]
38729         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
38730         trans_compare, open_translit, __gconv_translit_find):
38731         Remove module loading code.
38733 2014-08-26  Allan McRae  <allan@archlinux.org>
38735         * po/vi.po: Update Vietnamese translation from translation project.
38737         * po/uk.po: Update Ukrainian translation from translation project.
38739         * po/fr.po: Update French translation from translation project.
38741         * po/ru.po: Update Russian translation from translation project.
38743         * po/pl.po: Update Polish translation from translation project.
38745         * po/cs.po: Update Czech translation from translation project.
38747         * po/de.po: Update German translation from translation project.
38749         * po/bg.po: Update Bulgarian translation from translation project.
38751         * po/sv.po: Update Sweedish translation from translation project.
38753         * po/nl.po: Update Dutch translation from translation project.
38755         * po/es.po: Update Spanish translation from translation project.
38757 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38759         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
38761         * catgets/Makefile (CPPFLAGS-gencat): Remove.
38762         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
38763         (CPPFLAGS-iconvconfig): Likewise.
38764         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38766         * include/libc-symbols.h: Remove unnecessary check for
38767         NOT_IN_libc.
38768         * nptl/pthreadP.h: Likewise.
38769         * sysdeps/aarch64/setjmp.S: Likewise.
38770         * sysdeps/alpha/setjmp.S: Likewise.
38771         * sysdeps/arm/sysdep.h: Likewise.
38772         * sysdeps/i386/setjmp.S: Likewise.
38773         * sysdeps/m68k/setjmp.c: Likewise.
38774         * sysdeps/posix/getcwd.c: Likewise.
38775         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38776         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38777         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38778         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38779         * sysdeps/sh/sh3/setjmp.S: Likewise.
38780         * sysdeps/sh/sh4/setjmp.S: Likewise.
38781         * sysdeps/unix/alpha/sysdep.h: Likewise.
38782         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38783         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38784         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38785         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38788         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38789         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38790         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38791         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38792         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38793         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38795         * sysdeps/x86_64/setjmp.S: Likewise.
38797 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38799         [BZ #17263]
38800         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38801         <stdint.h>.
38802         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38803         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38805 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38807         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
38809         [BZ #17262]
38810         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
38811         and __x86_64__ when disabling x87 inline functions.
38813 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38815         [BZ #17259]
38816         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
38817         asm statement with __cpuid_count.
38819 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
38821         * configure.ac: Change __ehdr_start code to dereference the struct.
38822         Run readelf on the output to look for relocations.
38823         * configure: Regenerated.
38825 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
38827         [BZ #17261]
38828         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
38829         value to 0.
38830         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
38832 2014-08-12  Roland McGrath  <roland@hack.frob.com>
38834         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
38836 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
38838         [BZ #16892]
38839         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
38840         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
38842 2014-08-12  Sean Anderson  <seanga2@gmail.com>
38844         * malloc/malloc.c: Fix typo in comment.
38846 2014-08-09  Allan McRae  <allan@archlinux.org>
38848         * Regenerate libc.po.
38850 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
38852         * intl/tst-gettext2.sh: Check every lang file for creation.
38854 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38856         * sysdeps/aarch64/fpu/math_private.h
38857         (libc_feholdsetround_noex_aarch64_ctx): New function.
38859 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38861         * sysdeps/arm/armv6/strcpy.S (strcpy):
38862         Fix performance issue in misaligned cases.
38864 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38866         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
38867         Move definition from termios.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.
38874         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
38875         Move definition to ioctl-types.h
38876         (struct termio): Likewise.
38877         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38878         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38879         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38880         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38881         Likewise.
38883 2014-08-05  Richard Henderson  <rth@redhat.com>
38885         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38886         exceptions.
38887         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
38888         Add fraiseexcpt.
38889         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38890         Use __feraiseexcept.
38891         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
38892         Protect libm symbols with IS_IN_libm.
38894         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
38896 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
38898         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
38900 2014-08-04  Will Newton  <will.newton@linaro.org>
38902         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
38903         file.
38905 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
38907         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
38908         variants for each function.
38910 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38912         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
38913         appended ...
38914         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
38915         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
38916         appended ...
38917         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
38918         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
38919         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38920         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
38921         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
38922         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
38923         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
38924         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
38925         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
38926         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
38927         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
38928         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
38929         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
38930         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
38931         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
38932         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38933         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
38934         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
38935         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
38936         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38937         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
38938         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
38939         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
38940         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
38941         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
38942         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
38943         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
38944         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
38945         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
38946         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38947         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
38948         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
38949         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
38950         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
38951         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
38952         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
38953         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
38954         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
38955         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
38956         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
38957         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
38958         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
38959         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
38960         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
38961         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
38962         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
38963         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
38964         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
38965         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
38966         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
38967         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
38968         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
38969         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
38970         Update #include.
38971         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
38972         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
38974 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38976         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
38977         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
38978         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
38979         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
38980         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
38981         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
38983 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38985         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
38986         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
38987         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38988         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
38990 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38992         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
38993         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
38994         (__libc_vfork): Define function under this name.
38995         (__vfork): Define as an alias.
38996         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
38997         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
38999 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39001         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39002         that was previously under [RESET_PID].
39003         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39005 2014-08-04  Andreas Schwab  <schwab@suse.de>
39007         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39009 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39011         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39012         (main): Likewise.
39014 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39016         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39018 2014-08-01  Richard Henderon  <rth@redhat.com>
39020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39021         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39022         typo in exact zero test.
39023         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39024         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39025         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39027 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39029         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39030         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39031         * sysdeps/arm/sysdep.h: ... here.
39032         [!__ASSEMBLER__]: Include <stdint.h>.
39034 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39036         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39037         (HAVE_WCTYPE_H): Likewise.
39038         (HAVE_ISWCTYPE): Likewise.
39039         (ENABLE_NLS): Likewise.
39040         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39041         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39043         * posix/regex_internal.c: Check if DEBUG is defined and is
39044         set.
39046         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39047         (HAVE_MBSRTOWCS): Likewise.
39048         * posix/fnmatch.c: Include string.h unconditionally.
39050 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39052         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39053         reversal.
39055 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39057         * sysdeps/generic/safe-fatal.h: New file.
39058         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39059         * nptl/forward.c: Include it.
39060         (__pthread_unwind): Use __safe_fatal as default action, rather
39061         than a bogus use of INTERNAL_SYSCALL that could never work.
39063         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39064         * configure.ac (libc_cv_builtin_trap): New test.
39065         * configure: Regenerated.
39066         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39067         (ABORT_INSTRUCTION): Define using __builtin_trap.
39069         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39070         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39071         * sysdeps/nptl/nptl-signals.h: New file.
39072         * nptl/pthreadP.h: Include <nptl-signals.h>.
39074 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39076         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39077         (ONE_DIRECTION): Define.
39078         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39079         (ONE_DIRECTION): Define.
39080         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39081         (ONE_DIRECTION): Define.
39083 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39085         * sysdeps/s390/Makefile: Delete file.
39086         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39087         * sysdeps/s390/__longjmp.c: Delete file.
39088         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39089         Remove fields __flags and __reserved.
39090         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39091         and add versioning.
39092         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39093         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39094         * sysdeps/s390/rtld-setjmp.S: Likewise.
39095         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39096         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39097         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39098         * sysdeps/s390/s390-32/setjmp.S: ... here.
39099         Add versioning.
39100         (__sigsetjmp): Remove setting __flags field.
39101         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39102         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39103         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39104         * sysdeps/s390/s390-64/setjmp.S: ... here.
39105         Add versioning.
39106         (__sigsetjmp): Remove setting __flags field.
39107         * sysdeps/s390/setjmp.S: Delete file.
39108         * sysdeps/s390/sigjmp.c: Likewise.
39109         * sysdeps/s390/v1-longjmp.c: Likewise.
39110         * sysdeps/s390/v1-setjmp.h: Likewise.
39111         * sysdeps/s390/v1-sigjmp.c: Likewise.
39112         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39113         Remove v1-longjmp_chk.
39114         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39115         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39116         Include debug/longjmp_chk.c and add versioning.
39117         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39118         Include nptl/pt-longjmp.c and add versioning.
39119         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39120         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39121         Include __longjmp.c.
39122         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39123         Move to ...
39124         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39125         (__getcontext): Remove setting __flags field.
39126         Add versioning.
39127         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39128         Don't restore upper high grps.
39129         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39130         Likewise.
39131         (__swapcontext): Remove setting uc_flags field.
39132         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39133         Delete file.
39134         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39135         Include __longjmp.c.
39136         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39137         Move to ...
39138         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39139         (__getcontext): Remove setting __flags field.
39140         Add versioning.
39141         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39142         (__swapcontext): Remove setting uc_flags field.
39143         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39144         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39145         Remove fields uc_high_gprs and __reserved.
39146         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39147         New file with reverted content.
39148         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39149         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39150         Regenerated.
39151         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39152         Regenerated.
39154 2014-07-31  Andreas Schwab  <schwab@suse.de>
39156         * config.h.in (HAVE_IFUNC): Define to 0.
39157         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39158         definedness.
39160 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39163         memmove-avx-unaligned, memcpy-avx-unaligned and
39164         mempcpy-avx-unaligned.
39165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39166         Add tests for AVX memcpy functions.
39167         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39168         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39169         memcpy_chk.
39170         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39171         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39172         memmove_chk.
39173         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39174         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39175         mempcpy_chk.
39176         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39177         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39178         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39180 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39182         [BZ #17213]
39183         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39184         powerpc64le.
39186 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39188         [BZ #16839]
39189         * manual/llio.texi: Add section about open file description locks.
39190         * manual/examples/ofdlocks.c: Example of open file description
39191         lock usage.
39192         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39193         F_OFD_SETLK, and F_OFD_SETLKW.
39195 2014-07-23  Allan McRae  <allan@archlinux.org>
39197         * po/es.po: Update Spanish translation from translation project.
39199 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39201         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39203 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39205         [BZ #17078]
39206         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39207         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39208         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39210 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39212         [BZ #17088]
39213         * math/fesetenv.c (__fesetenv)
39214         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39215         * math/feupdateenv.c (__feupdateenv)
39216         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39218         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39219         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39220         (__ASSUME_SOCKETCALL): Do not define.
39222         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39223         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39224         (__ASSUME_SOCKETCALL): Do not define.
39225         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39226         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39227         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39228         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39229         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39230         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39231         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39232         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39234         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39235         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39236         (__ASSUME_SOCKETCALL): Do not define.
39237         (__ASSUME_IPC64): Define unconditionally.
39238         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39239         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39240         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39241         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39242         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39243         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39244         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39245         Likewise.
39247         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39248         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39249         (__ASSUME_SOCKETCALL): Do not define.
39250         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39251         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39252         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39253         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39254         (__ASSUME_REQUEUE_PI): Define unconditionally.
39255         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39256         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39257         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39258         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39259         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39260         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39262         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39263         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39264         (__ASSUME_SOCKETCALL): Do not define.
39265         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39266         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39267         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39268         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39269         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39270         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39272         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39273         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39274         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39275         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39276         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39277         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39278         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39279         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39280         (__ASSUME_GETCPU_SYSCALL): Likewise.
39282         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39283         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39284         cases for individual architectures.
39285         * sysdeps/gnu/configure: Regenerated.
39286         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39287         LIBC_SLIBDIR_RTLDDIR.
39288         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39289         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39290         LIBC_SLIBDIR_RTLDDIR.
39291         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39293         LIBC_SLIBDIR_RTLDDIR.
39294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39295         Regenerated.
39296         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39297         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39298         file.
39299         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39300         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39301         file.
39302         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39303         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39304         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39305         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39307         * sysdeps/aarch64/shlib-versions: Move to ...
39308         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39309         * sysdeps/alpha/shlib-versions: Move to ...
39310         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39311         * sysdeps/arm/shlib-versions: Move to ...
39312         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39313         * sysdeps/hppa/shlib-versions: Move all contents except for
39314         libgcc_s entry to ...
39315         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39316         entry from ...
39317         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39318         * sysdeps/ia64/shlib-versions: Move to ...
39319         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39320         entry from ...
39321         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39322         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39323         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39324         * sysdeps/microblaze/shlib-versions: Move to ...
39325         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39326         * sysdeps/mips/shlib-versions: Move to ...
39327         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39328         entry from ...
39329         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39330         * sysdeps/tile/shlib-versions: Move to ...
39331         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39332         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39333         from ...
39334         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39335         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39336         entry from ...
39337         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39339 2014-07-17  Will Newton  <will.newton@linaro.org>
39341         * sysdeps/arm/bits/atomic.h
39342         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39343         (__arch_compare_and_exchange_bool_16_int): Likewise.
39344         (__arch_compare_and_exchange_bool_64_int): Likewise.
39346         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39347         into an #else block.
39349 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39351         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39352         just Linux configurations.  Test empirically that the compiler sets
39353         __ARM_EABI__, rather than using the tuple to decide.
39354         * sysdeps/arm/preconfigure: Regenerated.
39355         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39356         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39357         contents appended ...
39358         * sysdeps/arm/configure.ac: ... here.
39359         * sysdeps/arm/configure: Regenerated.
39361 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39363         * nptl/pthread_kill.c: New file.
39364         * nptl/pthread_sigmask.c: New file.
39365         * nptl/pthread_sigqueue.c: New file.
39367         * sysdeps/nptl/lowlevellock.h: New file.
39368         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39369         * sysdeps/nptl/lowlevellock-futex.h: New file.
39371         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39372         Remove dead declarations.
39374 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39376         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39377         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39378         config-cflags-avx2.
39379         * sysdeps/x86_64/configure.ac: Likewise.
39380         * sysdeps/i386/configure: Regenerated.
39381         * sysdeps/x86_64/configure: Likewise.
39382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39383         memset-avx2 only if config-cflags-avx2 is yes.
39384         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39385         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39386         defined.
39387         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39388         only if HAVE_AVX2_SUPPORT is defined.
39389         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39391 2014-07-14  Alan Modra  <amodra@gmail.com>
39393         [BZ #17153]
39394         * elf/elf.h (DT_PPC64_NUM): Correct value.
39395         * NEWS: Add to fixed bug list.
39397 2014-07-13  Jim Meyering  <meyering@fb.com>
39399         [BZ 17150]
39400         regex: don't deref NULL upon heap allocation failure
39401         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39402         failure in one more place.
39403         To trigger the segfault, configure grep -with-included-regex,
39404         build it, and run these commands:
39405         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39407 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39409         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39411 2014-07-11  Richard Henderson  <rth@redhat.com>
39413         * sysdeps/aarch64/libm-test-ulps: Update.
39415 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39417         [BZ #17135]
39418         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39419         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39420         (__nptl_setxid): Initialize error member.  Call
39421         __nptl_setxid_error.
39422         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39423         * nptl/descr.h (struct xid_command): Add error member.
39424         * nptl/tst-setuid3.c: New file.
39425         * nptl/Makefile (tests): Add it.
39427 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39429         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39430         New define.
39431         (__lll_trylock): Use __lll_base_trylock.
39432         (__lll_cond_trylock): Likewise.
39434 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39436         * nptl/pthread_create.c (start_thread): Use atomic_or and
39437         lll_futex_wake directly rather than lll_robust_dead.
39438         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39439         (lll_robust_dead): Macro removed.
39440         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
39441         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39442         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39443         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39444         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39445         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39446         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39447         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39448         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39449         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39450         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39451         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39452         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39453         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39456         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39457         Use atomic_compare_and_exchange_val_acq directly rather than
39458         lll_robust_trylock.
39459         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39460         (__lll_robust_trylock, lll_robust_trylock): Removed.
39461         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39462         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39463         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39465         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39466         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39467         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39468         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39469         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39470         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39471         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39472         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39473         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39474         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39476 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39478         * manual/locale.texi (Locale Names): New section documenting
39479         locale name syntax.  Adjust menu and node chaining accordingly.
39480         (Choosing Locale): Reference Locale Names, Locale Categories.
39481         Mention setting LC_ALL=C.  Reflect that name syntax is now
39482         documented.
39483         (Locale Categories): New section title.  Reference Locale Names.
39484         LC_ALL is an environment variable, but not a category.
39485         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
39486         description, now in Locale Name.  Reference that section.  Locale
39487         name syntax is now documented.
39489 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39491         [BZ #17137]
39492         * locale/findlocale.c (name_present, valid_locale_name): New
39493         functions.
39494         (_nl_find_locale): Use the loc_name variable to store name
39495         candidates.  Call name_present and valid_locale_name to check and
39496         validate locale names.  Return an error if the locale is invalid.
39498 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39500         * locale/setlocale.c (setlocale): Use strdup for allocating
39501         composite name copy.
39503 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39505         Sync up with gnulib.
39506         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
39507         [!_LIBC && ENABLE_NLS]: Include gettext.h.
39508         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
39509         and _GL_ARG_NONNULL.
39510         [USE_UNLOCKED_IO]: Include unlocked-io.h.
39511         [!_LIBC]: Include code for Windows and Cygwin.
39512         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
39513         Include prototype for int strerror_r.
39514         [!_LIBC] (is_open): New function.
39515         (flush_stdout): New function.
39516         (print_errno_message): Use it.
39517         (error): Likewise.
39518         (error_at_line): Likewise.
39519         (error_tail) Add function attribute macros.  Use
39520         __builtin_expect.
39522         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
39524         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
39526         * io/ftw.c: Include sys/param.h unconditionally.
39528         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
39530         [BZ #17125]
39531         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
39532         libc_freeres_ptr.
39533         (freecache): New function to free CACHE on exit.
39535         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
39536         initialization.
39538 2014-07-09  David S. Miller  <davem@davemloft.net>
39540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39542         * sysdeps/sparc/nptl/internaltypes.h: Delete.
39543         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
39544         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
39545         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
39546         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
39547         * sysdeps/sparc/nptl/sem_init.c: Likewise.
39548         * sysdeps/sparc/nptl/sem_post.c: Likewise.
39549         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
39550         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
39551         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
39552         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
39553         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
39554         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
39556 2014-07-09  Andreas Schwab  <schwab@suse.de>
39558         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
39559         output.
39560         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
39561         (do_test): Likewise.
39563         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39565 2014-07-09  Will Newton  <will.newton@linaro.org>
39567         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
39568         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
39569         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
39570         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
39571         * sysdeps/hppa/start.S (_start): Likewise.
39573 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39575         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
39577         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
39578         defined.
39580 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39582         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
39583         after checking that it is non-NULL.
39585         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
39587 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39589         * sysdeps/powerpc/memmove.c: Remove file.
39590         * sysdeps/powerpc/powerpc32/power4/memcopy.h
39591         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
39592         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39593         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
39594         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
39595         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
39596         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
39597         string memmove instead of removed powerpc one.
39599         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39600         [weak_alias]: Fix compiler warning due trailing data.
39601         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
39602         [weak_alias]: Likewise.
39603         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
39604         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
39606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39607         (__libc_ifunc_impl_list): Add memmove functions.
39609 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39611         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
39612         Remove code.
39613         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
39614         Likewise.
39615         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
39616         Likewise.
39617         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
39618         Likewise.
39619         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
39620         Likewise.
39621         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
39622         Likewise.
39623         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
39624         Likewise.
39625         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
39626         Likewise.
39627         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
39628         Likewise.
39629         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
39630         Likewise.
39631         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
39632         Likewise.
39633         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
39634         Likewise.
39635         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
39636         Likewise.
39637         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
39638         Likewise.
39639         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
39640         Likewise.
39641         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
39642         Likewise.
39643         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
39644         Likewise.
39646 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39648         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
39649         to avoid alignment traps in non-cacheable memory.
39650         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
39653         multiarch objects.
39654         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
39655         file: multiarch power7 memmove.
39656         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
39657         multiarch default memmove.
39658         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
39659         multiarch memove for powerpc32/power4.
39661         * string/bcopy.c: Use full path to include memmove.c.
39662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
39663         multiarch objects.
39664         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
39665         bcopy for powerpc64.
39666         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
39667         bcopy for powerpc64.
39668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
39669         and memmove implementations.
39670         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
39671         optimized multiarch memmove for POWER7/powerpc64.
39672         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
39673         default multiarch memmove for powerpc64.
39674         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
39675         multiarch for powerpc64.
39676         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
39677         for POWER7/powerpc64.
39678         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
39679         memmove for POWER7/powerpc64.
39681         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
39682         glibc default one.
39684         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
39685         __ELF_NATIVE_CLASS equal to 64.
39687 2014-07-07  Roland McGrath  <roland@hack.frob.com>
39689         * sysdeps/nptl/lowlevellock.h: File removed.
39691         * NEWS: NPTL is no longer an add-on!
39692         * nptl/internaltypes.h: Moved ...
39693         * sysdeps/nptl/internaltypes.h: ... here.
39694         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
39695         * sysdeps/nptl/fork.c: Likewise.
39696         * sysdeps/nptl/gai_misc.h: Likewise.
39697         * sysdeps/nptl/librt-cancellation.c: Likewise.
39698         * sysdeps/nptl/jmp-unwind.c: Likewise.
39699         * sysdeps/nptl/setxid.h: Likewise.
39700         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
39701         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
39702         * sysdeps/unix/sysv/linux/arm/Implies: New file.
39703         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
39704         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
39705         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
39706         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
39707         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
39708         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
39709         * sysdeps/unix/sysv/linux/mips/Implies: New file.
39710         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
39711         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
39712         * sysdeps/unix/sysv/linux/sh/Implies: New file.
39713         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
39714         * sysdeps/unix/sysv/linux/tile/Implies: New file.
39715         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
39716         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
39717         * nptl/Makeconfig: Moved ...
39718         * sysdeps/nptl/Makeconfig: ... here.
39719         * nptl/configure: File removed.
39720         * nptl/ANNOUNCE: File removed.
39721         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
39722         * sysdeps/unix/sysv/linux/configure: Regenerated.
39724         * nptl/Makefile (routines): Add libc_pthread_init,
39725         libc_multiple_threads, register-atfork and unregister-atfork.
39726         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
39727         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
39728         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
39729         pthread-pi-defines.sym, structsem.sym.
39730         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
39731         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
39732         [$(subdir) = nptl] (tests): Add tst-setgetname.
39733         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
39734         * sysdeps/unix/sysv/linux/sigaction.c: Just include
39735         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
39736         [!LIBC_SIGACTION]: Remove aliases.
39737         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39738         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39739         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39740         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
39741         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39742         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
39743         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39744         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39745         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39746         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
39747         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
39748         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
39749         __libc_allocate_rtsig_private.
39750         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
39751         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
39752         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
39753         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
39754         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
39755         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
39756         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
39757         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
39758         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
39759         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
39760         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
39761         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
39762         * nptl/internaltypes.h: ... here.
39763         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
39764         * sysdeps/nptl/jmp-unwind.c: ... here.
39765         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39766         * nptl/libc-lowlevellock.c: ... here.
39767         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39768         * nptl/libc_multiple_threads.c: ... here.
39769         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39770         * nptl/libc_pthread_init.c: ... here.
39771         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39772         * nptl/lowlevelbarrier.sym: ... here.
39773         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39774         * nptl/lowlevelcond.sym: ... here.
39775         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39776         * nptl/lowlevellock.c: ... here.
39777         * nptl/lowlevellock.h: Moved ...
39778         * sysdeps/nptl/lowlevellock.h: ... here.
39779         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39780         * nptl/lowlevelrobustlock.c: ... here.
39781         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39782         * nptl/lowlevelrobustlock.sym: ... here.
39783         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39784         * nptl/lowlevelrwlock.sym: ... here.
39785         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39786         * nptl/pt-fork.c: ... here.
39787         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39788         * nptl/pthread-pi-defines.sym: ... here.
39789         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39790         * nptl/pthread_attr_getaffinity.c: ... here.
39791         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39792         * nptl/pthread_attr_setaffinity.c: ... here.
39793         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39794         * nptl/pthread_mutex_cond_lock.c: ... here.
39795         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39796         Update #include.
39797         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39798         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39799         * nptl/pthread_once.c: ... here, replacing old file.
39800         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39801         * nptl/pthread_yield.c: ... here.
39802         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39803         * nptl/register-atfork.c: ... here.
39804         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39805         * nptl/sem_post.c: ... here.
39806         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
39807         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
39808         * nptl/sem_timedwait.c: ... here.
39809         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
39810         * nptl/sem_trywait.c: ... here.
39811         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
39812         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
39813         * nptl/sem_wait.c: ... here.
39814         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
39815         * nptl/structsem.sym: ... here.
39816         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
39817         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
39818         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
39819         * nptl/unregister-atfork.c: ... here.
39820         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
39821         * nptl/unwindbuf.sym: ... here.
39822         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
39823         * sysdeps/nptl/fork.c: ... here.
39824         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
39825         * sysdeps/nptl/fork.h: ... here.
39826         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
39827         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
39828         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
39829         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
39830         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
39831         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
39832         * sysdeps/unix/sysv/linux/getpid.c: ... here.
39833         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
39834         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
39835         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
39836         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
39837         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
39838         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
39839         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
39840         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
39841         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
39842         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
39843         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
39844         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
39845         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
39846         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
39847         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
39848         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
39849         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
39850         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
39851         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
39852         * sysdeps/unix/sysv/linux/raise.c: ... here.
39853         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
39854         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
39855         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
39856         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
39857         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
39858         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
39859         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
39860         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
39861         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
39862         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
39863         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
39864         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
39865         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
39866         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
39867         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
39869 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39871         * sysdeps/generic/memcopy.h: Add comment for
39872         MEMCPY_OK_FOR_FWD_MEMMOVE.
39874 2014-07-04  Will Newton  <will.newton@linaro.org>
39876         * string/memchr.c: Merge from gnulib.
39877         [_LIBC]: Remove conditionals.
39878         (__ptr_t): Remove define.
39879         (LONG_MAX_32_BITS): Likewise.
39880         (LONG_MAX): Likewise.
39881         (MEMCHR): Use ANSI prototype and optimize algorithm.
39883         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
39885 2014-07-03  Roland McGrath  <roland@hack.frob.com>
39887         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
39888         (lll_futex_timed_wait_bitset): Fix syscall argument count.
39890         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
39891         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
39892         in a bare environment with no <stdlib.h> installed.
39893         * sysdeps/nptl/configure: Regenerated.
39895         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
39897         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
39898         AC_EGREP_CPP for kernel header checks, so they only succeed if
39899         including <linux/version.h> actually works right.
39900         * sysdeps/unix/sysv/linux/configure: Regenerated.
39902         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
39903         value so it's not diagnosed as unused.
39905         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
39906         thing) with "ifeq ($(subdir),rt)".
39908 2014-07-03  Richard Henderson  <rth@redhat.com>
39910         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
39911         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
39912         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
39914         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
39915         (math_force_eval): New.
39917         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
39918         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39920         * sysdeps/alpha/fpu/s_round.c: Remove file.
39921         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39923         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
39924         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
39925         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
39926         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
39927         (_dl_start, print_statistics): Likewise.
39928         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
39929         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39931         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39932         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39933         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39934         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39935         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39936         (HP_SMALL_TIMING_AVAIL): Define.
39937         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39938         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39939         (HP_SMALL_TIMING_AVAIL): Define.
39940         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39941         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39943         * sysdeps/aarch64/hp-timing.h: New file.
39945         * sysdeps/generic/hp-timing.h: Remove dead comment.
39946         * sysdeps/generic/hp-timing-common.h: New file.
39947         * sysdeps/alpha/hp-timing.h: Include it.
39948         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
39949         * sysdeps/i386/i686/hp-timing.h: Likewise.
39950         * sysdeps/ia64/hp-timing.h: Likewise.
39951         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39952         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39953         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39954         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39955         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
39956         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
39957         (hp_timing_t): New.
39959         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
39960         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
39961         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
39962         * elf/rtld.c (_dl_start_final): Likewise.
39963         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
39964         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39965         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39966         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39967         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39968         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39969         (HP_TIMING_DIFF_INIT): Remove.
39970         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39971         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39972         (HP_TIMING_DIFF_INIT): Remove.
39973         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39974         * sysdeps/i386/i686/hp-timing.c: Remove file.
39975         * sysdeps/x86_64/hp-timing.c: Remove file.
39976         * sysdeps/ia64/hp-timing.c: Remove file.
39977         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
39978         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
39979         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
39980         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
39982         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
39983         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
39984         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
39985         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39986         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39987         (HP_TIMING_ACCUM): Remove.
39988         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39989         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
39990         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39992         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
39993         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
39994         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
39995         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
39996         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
39997         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39998         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
39999         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40001         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40003 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40005         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40007 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40009         Sync up with gettext.
40010         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40011         [_MSC_VER]: Include malloc.h
40012         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40013         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40014         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40015         TEMP_FAILURE_RETRY.  Cast return of alloca.
40016         [!_LIBC] Call gl_rwlock_init.
40017         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40019 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40021         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40022         before checking its value.
40024 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40026         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40028         * debug/memcpy_chk.c: Don't include pagecopy.h.
40029         * debug/mempcpy_chk.c: Likewise.
40030         * string/memcpy.c: Likewise.
40031         * string/memmove.c: Likewise.
40032         * sysdeps/powerpc/memmove.c: Likewise.
40033         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40034         definition of PAGE_COPY_FWD_MAYBE here...
40035         * sysdeps/generic/pagecopy.h: ... from here.
40036         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40038 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40039             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40041         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40043         optimizations.
40044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40045         (__libc_ifunc_impl_list): Likewise.
40046         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40047         multiarch strcat for PPC64.
40048         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40049         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40051 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40053         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40055 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40057         * intl/loadmsgcat.c: Remove declaration of
40058         get_sysdep_segment_value.
40059         (get_sysdep_segment_value): Use ISO C style.
40060         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40061         semicolon.  Fix typo and formatting in comment.
40062         (_nl_unload_domain): Use ISO C style.
40064         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40066 2014-07-02  Will Newton  <will.newton@linaro.org>
40068         * malloc/obstack.c: Merge from gnulib master.
40069         [HAVE_CONFIG_H]: Remove conditional code.
40070         [!_LIBC]: Include config.h.
40071         [!ELIDE_CODE]: Don't include inttypes.h, include
40072         stdint.h unconditionally.
40073         (print_and_abort): Mark as _Noreturn.
40074         (_obstack_allocated_p): Mark as __attribute_pure__.
40075         (obstack_free): Rename to __obstack_free.
40076         [!__attribute__]: Remove conditional code.
40077         * malloc/obstack.h: Merge from gnulib master.
40078         [__cplusplus]: Move conditional down.
40079         [!__attribute_pure__]: Define __attribute_pure__ here
40080         if it is not already defined.
40081         (_obstack_memory_used): Mark as __attribute_pure__.
40082         [!__obstack_free]: Define as obstack_free.
40083         [__GNUC__]: Remove check for ancient NeXT gcc.
40085 2014-07-02  Will Newton  <will.newton@linaro.org>
40086             Paul Eggert  <eggert@cs.ucla.edu>
40088         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40090 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40092         * resolv/gethnamaddr.c: Add comment warning that the file is
40093         not maintained.
40095 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40097         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40098         entries.
40100         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40101         entry for aio_cancel and aio_cancel64.
40102         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40103         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40104         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40105         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40106         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40107         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40108         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40109         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40110         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40111         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40112         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40113         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40114         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40116 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40118         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40119         * nptl/pthread_mutex_lock.c: Likewise.
40120         * nptl/pthread_mutex_timedlock.c: Likewise.
40121         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40123 2014-07-01  Richard henderson  <rth@redhat.com>
40125         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40126         (__isnan, __isnanl): Remove.
40127         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40129         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40131 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40133         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40135 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40137         * resolv/nss_dns/dns-host.c (getanswer_r)
40138         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40140 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40142         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40143         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40144         undefine.
40145         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40146         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40148 2014-07-01  Roland McGrath <roland@hack.frob.com>
40150         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40151         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40153         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40154         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40156         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40157         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40158         ... here.
40159         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40160         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40162         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40163         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40164         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40165         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40167         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40168         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40169         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40170         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40171         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40172         Moved ...
40173         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40174         ... here.
40175         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40176         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40177         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40178         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40179         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40180         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40181         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40182         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40183         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40184         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40185         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40186         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40187         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40188         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40189         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40190         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40191         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40192         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40193         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40194         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40195         ... here.
40196         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40197         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40198         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40199         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40200         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40201         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40202         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40203         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40205 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40207         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40208         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40209         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40210         Add sysdep.
40212 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40216 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40218         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40219         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40221         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40223         * sysdeps/arm/libm-test-ulps: Regenerated.
40225 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40226             Roland McGrath <roland@hack.frob.com>
40228         * test-skeleton.c (signal_handler): Kill the whole process group
40229         before killing the child individually.
40230         (main): Report any failure on `setpgid'.
40232 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40234         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40235         from _TLS_H to _ARM_NPTL_TLS_H.
40236         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40237         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40239 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40241         [BZ #16539]
40242         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40243         (__expm1l): Return argument unchanged when small but not
40244         subnormal.
40246         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40247         include macro name.
40248         (_FP_UNPACK_RAW_1_P): Likewise.
40249         (_FP_PACK_RAW_1): Likewise.
40250         (_FP_PACK_RAW_1_P): Likewise.
40251         (_FP_MUL_MEAT_1_wide): Likewise.
40252         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40253         (_FP_MUL_MEAT_1_hard): Likewise.
40254         (_FP_DIV_MEAT_1_imm): Likewise.
40255         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40256         (_FP_DIV_MEAT_1_udiv): Likewise.
40257         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40258         (_FP_UNPACK_RAW_2): Likewise.
40259         (_FP_UNPACK_RAW_2_P): Likewise.
40260         (_FP_PACK_RAW_2): Likewise.
40261         (_FP_PACK_RAW_2_P): Likewise.
40262         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40263         (_FP_MUL_MEAT_2_wide): Likewise.
40264         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40265         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40266         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40267         (_FP_MUL_MEAT_2_gmp): Likewise.
40268         (_FP_DIV_MEAT_2_udiv): Likewise.
40269         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40270         (_FP_FRAC_SRL_4): Likewise.
40271         (_FP_FRAC_SRST_4): Likewise.
40272         (_FP_FRAC_SRS_4): Likewise.
40273         (_FP_UNPACK_RAW_4): Likewise.
40274         (_FP_UNPACK_RAW_4_P): Likewise.
40275         (_FP_PACK_RAW_4): Likewise.
40276         (_FP_PACK_RAW_4_P): Likewise.
40277         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40278         (_FP_MUL_MEAT_4_wide): Likewise.
40279         (_FP_MUL_MEAT_4_gmp): Likewise.
40280         (umul_ppppmnnn): Likewise.
40281         (_FP_DIV_MEAT_4_udiv): Likewise.
40282         (__FP_FRAC_ADD_4): Likewise.
40283         (__FP_FRAC_SUB_3): Likewise.
40284         (__FP_FRAC_SUB_4): Likewise.
40285         (__FP_FRAC_DEC_3): Likewise.
40286         (__FP_FRAC_DEC_4): Likewise.
40287         (__FP_FRAC_ADDI_4): Likewise.
40288         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40289         (_FP_FRAC_SRL_8): Likewise.
40290         (_FP_FRAC_SRS_8): Likewise.
40292         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40293         include macro name.
40294         (FP_UNPACK_RAW_EP): Likewise.
40295         (FP_PACK_RAW_E): Likewise.
40296         (FP_PACK_RAW_EP): Likewise.
40297         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40298         (_FP_ISSIGNAN): Likewise.
40299         (_FP_ADD_INTERNAL): Likewise.
40300         (_FP_FMA): Likewise.
40301         (_FP_CMP): Likewise.
40302         (_FP_SQRT): Likewise.
40303         (_FP_TO_INT): Likewise.
40304         (_FP_FROM_INT): Likewise.
40305         (FP_EXTEND): Likewise.
40306         (_FP_DIV_MEAT_N_loop): Likewise.
40308 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40310         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40311         throughout.
40313 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40315         [BZ #17097]
40316         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40317         result with correct sign in case of exponents that produce
40318         overflow except for X very close to 1.
40320 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40322         mktime: merge #if/#ifdef usage from glibc
40323         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40324         as that works with both Glibc's and Gnulib's style.
40325         See thread starting at Siddhesh Poyarekar's bug report at:
40326         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40328 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40330         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40331         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40332         * sysdeps/tile/tilegx/memmove.c: Remove file.
40334 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40336         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40337         abi-name definition.
40338         * scripts/soversions.awk: Do not handle or generate ABI lines.
40339         * shlib-versions: Remove ABI entries.
40340         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40341         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40343 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40346         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40347         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40348         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40350         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40352         Moved ...
40353         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40354         ... here.
40355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40356         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40358         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40360         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40362         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40363         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40364         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40366         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40368         Moved ...
40369         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40371         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40373         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40375         Moved ...
40376         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40378         Moved ...
40379         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40380         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40381         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40383         Moved ...
40384         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40386         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40387         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40388         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40390         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40392         Moved ...
40393         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40394         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40395         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40396         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40397         Moved ...
40398         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40399         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40400         Moved ...
40401         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40402         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40403         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40404         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40405         Moved ...
40406         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40407         ... here.
40408         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40409         Identical file removed.
40410         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40411         Moved ...
40412         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40414         Identical file removed.
40415         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40416         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40417         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40418         Moved ...
40419         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40420         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40421         Identical file removed.
40422         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40423         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40425         Identical file removed.
40426         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40427         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40428         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40429         Identical file removed.
40430         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40431         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40432         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40433         Identical file removed.
40434         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40435         Moved ...
40436         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40437         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40438         Identical file removed.
40439         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40440         Moved ...
40441         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40442         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40443         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40444         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40445         Identical file removed.
40446         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40447         Moved ...
40448         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40449         ... here.
40450         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40451         Identical file removed.
40452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40453         Moved ...
40454         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40455         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40456         Identical file removed.
40457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40458         Moved ...
40459         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40460         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40461         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40462         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40463         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40464         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40465         Moved ...
40466         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40467         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40468         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40470         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40471         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40472         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40473         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40474         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40476 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40478         [BZ #17092]
40479         * nscd/nscd.c (monitor_child): Return exit status of child
40480         instead of return value from wait syscall.
40482 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40484         * configure.ac (libc_commonpagesize): Remove variable.
40485         (libc_relro_required): Likewise.
40486         (libc_cv_z_relro): Remove configure test.
40487         * configure: Regenerated.
40488         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
40489         variable.
40490         (libc_relro_required): Likewise.
40491         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
40492         (libc_relro_required): Likewise.
40493         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
40494         (libc_relro_required): Likewise.
40495         * sysdeps/arm/preconfigure: Regenerated.
40496         * sysdeps/ia64/preconfigure: Remove file.
40497         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
40498         variable.
40499         (libc_relro_required): Likewise.
40501         [BZ #16561]
40502         [BZ #16562]
40503         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
40504         (__ieee754_yn): Set FE_TONEAREST mode internally and then
40505         recompute overflowing results in original rounding mode.
40506         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
40507         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
40508         recompute overflowing results in original rounding mode.
40509         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
40510         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40511         recompute overflowing results in original rounding mode.
40512         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
40513         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40514         recompute overflowing results in original rounding mode.
40515         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
40516         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40517         recompute overflowing results in original rounding mode.
40518         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
40519         (libc_feholdsetround_ctx): New macro.
40520         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
40521         * sysdeps/i386/fpu/libm-test-ulps: Update.
40522         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
40524 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40526         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
40527         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
40528         corresponding .cpsetup call.
40530 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40532         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
40533         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
40534         * sysdeps/arm/Makefile [$(subdir) = csu]
40535         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
40536         (static-only-routines): Add aeabi_read_tp here.
40537         (shared-only-routines): Add libc-aeabi_read_tp here.
40538         (CFLAGS-libc-start.c): Add -fexceptions here.
40539         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
40540         (sysdep_routines, static-only-routines, shared-only-routines):
40541         Don't add to these here.
40542         (CFLAGS-libc-start.c): Likewise.
40544         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
40545         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40546         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
40547         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40548         * sysdeps/arm/Makefile [$(subdir) = rt]
40549         (librt-sysdep_routines, librt-shared-only-routines):
40550         Append rt-aeabi_unwind_cpp_pr1 here.
40551         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
40552         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
40553         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
40554         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40555         Append nptl-aeabi_unwind_cpp_pr1 here.
40556         (tests): Filter out tst-cleanupx4 here.
40557         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
40558         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
40559         Don't do those here.
40561 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40563         * scripts/list-sources.sh: Do not handle ports specially.
40565 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40567         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
40568         * sysdeps/arm/feupdateenv.c: Likewise.
40570         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
40572 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40574         * manual/texinfo.tex: Update to version 2014-05-05.10 with
40575         trailing whitespace removed.
40576         * scripts/config.guess: Update to version 2014-03-23.
40577         * scripts/config.sub: Update to version 2014-05-01
40578         * scripts/install-sh: Update to version 2013-12-25.23.
40579         * scripts/move-if-change: Update from gnulib.
40581 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40583         * debug/memmove_chk.c: Remove pagecopy.h include.
40585 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
40587         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
40588         identical to gnulib mktime.
40590 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40592         * configure.ac: Do not test for machine being rs6000.  Do not test
40593         for powerpc*-*soft.
40594         * configure: Regenerated.
40596         [BZ #11505]
40597         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
40598         test.
40599         * configure: Regenerated.
40600         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
40601         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
40602         Remove configure test.
40603         * sysdeps/arm/configure: Regenerated.
40604         * sysdeps/nptl/configure.ac: Do not check
40605         libc_cv_asm_cfi_directives.
40606         * sysdeps/nptl/configure: Regenerated.
40607         * sysdeps/x86_64/nptl/configure.ac: Remove file.
40608         * sysdeps/x86_64/nptl/configure: Remove generated file.
40609         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
40610         unconditional.
40611         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
40613 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40615         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
40616         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
40617         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
40618         it is defined.
40620         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
40621         instead of whether it is defined.
40622         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
40623         * sysdeps/hppa/dl-machine.h: Likewise.
40624         * sysdeps/ia64/dl-machine.h: Likewise.
40625         * sysdeps/m68k/dl-machine.h: Likewise.
40626         * sysdeps/microblaze/dl-machine.h: Likewise.
40627         * sysdeps/mips/dl-machine.: Likewise.
40628         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40629         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40630         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40631         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40632         * sysdeps/sh/dl-machine.h: Likewise.
40633         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40634         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40635         * sysdeps/tile/dl-machine.h: Likewise.
40636         * sysdeps/x86_64/dl-machine.h: Likewise.
40638         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
40639         code.
40640         (verify_persistent_db): Likewise.
40642 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
40645         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
40646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
40647         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
40648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40649         Moved ...
40650         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
40651         ... here.
40652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
40653         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
40654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
40655         Identical file removed.
40656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
40657         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
40658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
40659         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
40660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
40661         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
40662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
40663         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
40664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
40665         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
40666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40667         Moved ...
40668         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
40669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
40670         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
40671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
40672         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
40673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40674         Moved ...
40675         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
40676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
40677         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
40678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
40679         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
40680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40681         Identical file removed.
40682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
40683         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
40684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
40685         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
40686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40687         Moved ...
40688         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
40689         ... here.
40690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
40691         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
40692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
40693         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
40694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
40695         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
40696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
40697         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
40698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
40699         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
40700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40701         Moved ...
40702         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
40703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
40704         Moved ...
40705         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
40706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
40707         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
40708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40709         Moved ...
40710         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
40711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
40712         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
40714         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
40715         folded into ...
40716         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
40717         * sysdeps/unix/sysv/linux/s390/Versions
40718         (libpthread: GLIBC_2.19): New version set.
40719         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
40720         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
40721         (librt: GLIBC_2.3.3): New version set.
40722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
40723         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
40724         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
40725         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
40726         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
40727         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
40728         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
40729         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
40730         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
40731         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
40732         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
40733         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
40734         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
40735         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
40736         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
40737         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
40738         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
40739         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
40740         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
40741         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
40742         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
40743         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
40744         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
40745         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
40746         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
40747         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
40748         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
40749         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
40750         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
40751         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
40752         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
40753         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
40754         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
40755         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
40756         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
40757         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
40758         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
40759         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
40760         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
40761         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
40762         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
40763         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
40764         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40766         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40768         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40769         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40770         (__libc_vfork): Define the function under this name.
40771         [!NOT_IN_libc] (__vfork): Make this an alias.
40772         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40774         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40775         (__libc_vfork): Define the function under this name.
40776         [!NOT_IN_libc] (__vfork): Make this an alias.
40777         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40778         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40779         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40781         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40782         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40784         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40785         code that was previously under [RESET_PID].
40786         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40787         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40790         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40791         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40792         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40793         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40794         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40795         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40796         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40797         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40798         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40799         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40800         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40801         Moved ...
40802         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40803         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40804         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40805         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40806         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
40807         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
40808         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
40809         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
40810         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
40811         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
40812         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
40813         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
40814         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
40815         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
40816         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
40817         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
40818         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
40819         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
40820         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
40821         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
40822         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
40823         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
40824         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
40825         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
40826         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
40827         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
40828         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
40829         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
40830         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
40832 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40834         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
40835         that was previously under [RESET_PID].
40836         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
40838 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40840         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
40841         not undefine and redefine.
40842         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
40843         [O_CLOEXEC]: Make code unconditional.
40844         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
40845         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
40846         <kernel-features.h>.
40847         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
40848         conditional variable definition.
40849         (shm_open) [O_CLOEXEC]: Make code unconditional.
40850         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
40851         code.
40853         * configure.ac (USE_REGPARMS): Don't define here.
40854         * configure: Regenerated.
40855         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
40856         * sysdeps/i386/configure: Regenerated.
40858         * nptl/createthread.c: Don't include kernel-features.h.
40859         * nptl/pthread_cancel.c: Likewise.
40860         * nptl/pthread_condattr_setclock.c: Likewise.
40861         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
40862         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
40863         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
40864         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
40865         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
40866         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
40867         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40868         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
40869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40870         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40871         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
40872         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
40873         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
40874         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
40875         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
40876         * nscd/gai.c: Likewise.
40877         * nss/nss_db/db-open.c: Likewise.
40878         * sysdeps/generic/ldsodefs.h: Likewise.
40879         * sysdeps/sh/nptl/tls.h: Likewise.
40880         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40881         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
40882         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
40883         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
40884         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
40885         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40886         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
40887         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40888         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40889         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40890         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
40891         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40892         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
40893         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
40894         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40895         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
40896         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
40897         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
40898         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
40899         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
40900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
40901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
40902         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
40903         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
40904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
40905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
40906         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
40907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
40908         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40909         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
40910         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
40911         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
40912         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
40913         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40914         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40915         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40916         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40917         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
40918         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
40919         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
40920         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40921         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
40922         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
40923         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40924         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
40925         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
40926         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
40927         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
40928         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
40929         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
40930         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
40931         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
40932         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
40933         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40934         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
40935         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40936         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40937         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
40938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
40940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
40941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
40942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
40943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
40944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
40945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
40946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
40949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
40950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
40951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
40952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
40958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
40959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
40960         * sysdeps/unix/sysv/linux/pread.c: Likewise.
40961         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
40962         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
40963         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
40964         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
40965         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
40966         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
40967         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
40968         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
40969         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
40970         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
40971         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
40972         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
40973         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
40974         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
40975         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
40976         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40977         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
40978         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
40979         * sysdeps/unix/sysv/linux/system.c: Likewise.
40980         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
40981         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
40982         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40983         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40984         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40985         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40986         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40988         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
40989         * configure: Regenerated.
40990         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
40992         * configure.ac (base_machine): Do not set specially for particular
40993         machines here.
40994         * configure: Regenerated.
40995         * sysdeps/powerpc/preconfigure: Move machine and base_machine
40996         settings from configure.ac.
40997         * sysdeps/i386/preconfigure: New file.
40998         * sysdeps/s390/preconfigure: Likewise.
40999         * sysdeps/sh/preconfigure: Likewise.
41000         * sysdeps/sparc/preconfigure: Likewise.
41002 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41004         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41005         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41006         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41007         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41008         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41009         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41010         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41011         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41012         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41013         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41014         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41015         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41016         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41017         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41018         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41019         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41020         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41021         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41022         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41024         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41025         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41026         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41027         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41028         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41029         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41030         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41031         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41032         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41033         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41034         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41035         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41036         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41037         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41038         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41039         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41040         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41041         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41042         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41043         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41044         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41045         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41046         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41047         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41048         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41049         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41050         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41051         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41052         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41053         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41054         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41055         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41056         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41057         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41058         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41059         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41060         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41061         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41064         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41066         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41068         Moved ...
41069         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41070         ... here.
41071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41072         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41074         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41076         Moved ...
41077         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41079         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41081         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41083         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41085         Moved ...
41086         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41088         Moved ...
41089         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41091         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41093         Moved ...
41094         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41096         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41098         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41100         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41102         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41104         Moved ...
41105         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41106         ... here.
41107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41108         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41110         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41112         Moved ...
41113         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41115         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41117         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41119         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41121         Moved ...
41122         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41124         Moved ...
41125         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41127         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41129         Moved ...
41130         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41132         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41134         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41136 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41138         * timezone/checktab.awk: Update from tzcode 2014e.
41139         * timezone/private.h: Likewise.
41140         * timezone/tzfile.h: Likewise.
41141         * timezone/zdump.c: Likewise.
41142         * timezone/zic.c: Likewise.
41144         * sysdeps/unix/sysv/linux/kernel-features.h
41145         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41146         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41147         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41148         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41149         Remove conditional code.
41151 2014-06-25  Will Newton  <will.newton@linaro.org>
41153         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41154         (_dl_arm_cap_flags): Add HWCAP2 values.
41155         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41156         (_DL_HWCAP_COUNT): Increase to 37.
41157         (_DL_HWCAP_LAST): New define.
41158         (_DL_HWCAP2_LAST): New define.
41159         (_dl_procinfo): Add support for printing
41160         AT_HWCAP2 entries.
41161         (_dl_string_hwcap): Use _dl_hwcap_string.
41163 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41167 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41169         * README: Do not mention ports directory.
41171         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41172         Remove macro.
41173         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41174         <kernel-features.h>.
41175         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41176         conditional variable definition.
41177         (__futimes): Update comment.
41178         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41179         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41181         [BZ #16560]
41182         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41183         arguments close to 0.
41184         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41185         Likewise.
41186         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41187         Likewise.
41188         * math/auto-libm-test-in: Add more tests of exp10.
41189         * math/auto-libm-test-out: Regenerated.
41190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41192         * sysdeps/unix/sysv/linux/kernel-features.h
41193         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41194         * sysdeps/unix/sysv/linux/readv.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_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41199         unconditional.
41200         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41201         conditional code.
41202         * sysdeps/unix/sysv/linux/writev.c: Do not include
41203         <kernel-features.h>.
41204         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41205         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41206         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41207         unconditional.
41208         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41209         conditional code.
41211 2014-06-25  Will Newton  <will.newton@linaro.org>
41213         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41214         comment changes throughout the file.  Remove checks
41215         for HAVE_*_H definitions that are not required.
41216         (__gen_tempname): Call abort if an unknown kind value is
41217         passed.
41219 2014-06-25  Andreas Schwab  <schwab@suse.de>
41221         [BZ #17086]
41222         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41223         scalbln, scalblnf, scalblnl in libc.
41225 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41227         [BZ #17086]
41228         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41229         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41230         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41232 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41234         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41235         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41236         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41237         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41238         Update #include.
41239         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41240         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41241         Update #include.
41242         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41243         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41244         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41245         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41246         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41247         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41248         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41249         * sysdeps/x86/bits/semaphore.h: ... here.
41250         * sysdeps/x86/nptl/elide.h: Moved ...
41251         * sysdeps/x86/elide.h: ... here.
41252         * sysdeps/x86_64/nptl/Implies: File removed.
41253         * sysdeps/i386/nptl/Implies: File removed.
41255 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41257         [BZ #16539]
41258         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41259         return the argument for normal arguments with exponent below -64.
41260         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41261         Likewise.
41262         * math/auto-libm-test-in: Add another test of expm1.
41263         * math/auto-libm-test-out: Regenerated.
41265         [BZ #16287]
41266         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41267         calling __erfcl for arguments at least 16.
41268         * math/auto-libm-test-in: Add more tests of erf.
41269         * math/auto-libm-test-out: Regenerated.
41271         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41272         individual architectures.
41273         * sysdeps/unix/sysv/linux/configure: Regenerated.
41274         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41275         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41276         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41277         (ldd_rewrite_script): Define variable.
41278         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41280         file.
41281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41282         generated file.
41283         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41284         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41285         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41286         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41287         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41288         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41289         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41290         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41292 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41294         [BZ #17084]
41295         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41296         Rename member __data.d to __data.__elision_data.
41298 2014-06-24  Wilco  <wdijkstr@arm.com>
41300         * NEWS: Add 16918 to fixed bug list.
41302 2014-06-24  Wilco  <wdijkstr@arm.com>
41304         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41306 2014-06-24  Wilco  <wdijkstr@arm.com>
41308         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41309         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41310         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41311         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41312         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41313         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41314         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41315         Use _FPU_MASK_RM.
41317 2014-06-24  Wilco  <wdijkstr@arm.com>
41319         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41321 2014-06-24  Wilco  <wdijkstr@arm.com>
41323         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41324         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41325         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41326         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41328 2014-06-24  Wilco  <wdijkstr@arm.com>
41330         [BZ #16918]
41331         * sysdeps/arm/feupdateenv.c (feupdateenv):
41332         Rewrite to reduce FPSCR accesses and fix return value.
41334 2014-06-24  Wilco  <wdijkstr@arm.com>
41336         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41337         Optimize to avoid unnecessary FPSCR writes.
41338         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41339         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41340         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41341         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41343 2014-06-24  Wilco  <wdijkstr@arm.com>
41345         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41346         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41347         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41348         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41349         Call libc_fetestexcept_vfp.
41350         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41351         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41352         __SOFTFP__ ifdef so that they can be built for softfp.
41354 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41356         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41357         argument type signed char.
41359         * Makerules (check-abi): Dump diff of symlist if the test
41360         fails.
41362 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41364         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41365         using abort.
41367         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41368         Remove unused variable ST.
41370 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41372         [BZ #16354]
41373         [BZ #17061]
41374         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41375         small arguments before calling __expm1.
41376         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41377         small arguments before calling __expm1f.
41378         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41379         small arguments before calling __expm1l.
41380         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41381         Likewise.
41382         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41383         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41384         spurious underflow for some cosh tests.
41385         * math/auto-libm-test-out: Regenerated.
41386         * sysdeps/i386/fpu/libm-test-ulps: Update.
41388         [BZ #17050]
41389         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41390         (__ieee754_y1): Set errno if return value overflows.
41391         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41392         (__ieee754_y1f): Set errno if return value overflows.
41393         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41394         (__ieee754_y1l): Set errno if return value overflows.
41395         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41396         (__ieee754_y1l): Set errno if return value overflows.
41397         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41398         * math/auto-libm-test-out: Regenerated.
41400         * math/gen-auto-libm-tests.c: Document use of
41401         ignore-zero-inf-sign.
41402         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41403         (input_flags): Add ignore-zero-inf-sign.
41404         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41405         * math/gen-libm-test.pl (generate_testfile): Handle
41406         ignore-zero-inf-sign.
41407         * math/auto-libm-test-in: Mark some cpow tests with
41408         ignore-zero-inf-sign and some with xfail-rounding.
41409         * math/auto-libm-test-out: Regenerated.
41410         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41411         * sysdeps/i386/fpu/libm-test-ulps: Update.
41412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41414         [BZ #16315]
41415         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41416         overflowing or underflowing operations take place with sign of
41417         result.
41418         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41419         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41420         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41421         (__ieee754_pow): Recompute overflowing and underflowing results in
41422         original rounding mode.
41423         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41424         (__powl_helper): Allow negative argument X and scale negated value
41425         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41426         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41427         overflowing or underflowing operations take place with sign of
41428         result.
41429         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41430         Include <math.h>.
41431         * math/auto-libm-test-in: Add more tests of pow.
41432         * math/auto-libm-test-out: Regenerated.
41433         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41434         (pow_tonearest_test_data): Remove.
41435         (pow_test_tonearest): Likewise.
41436         (pow_towardzero_test_data): Likewise.
41437         (pow_test_towardzero): Likewise.
41438         (pow_downward_test_data): Likewise.
41439         (pow_test_downward): Likewise.
41440         (pow_upward_test_data): Likewise.
41441         (pow_test_upward): Likewise.
41442         (main): Don't call removed functions.
41443         * sysdeps/i386/fpu/libm-test-ulps: Update.
41444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41446 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41449         Moved ...
41450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41452         Moved ...
41453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41455         Moved ...
41456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41458         Moved ...
41459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41461         File removed.
41462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41463         File removed.
41464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41465         File removed.
41466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41467         File removed.
41468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41469         File removed.
41470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41471         File removed.
41472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41473         File removed.
41474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41475         File removed.
41476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41477         File removed.
41478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41479         File removed.
41480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41481         File removed.
41482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41483         File removed.
41484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41485         Moved ...
41486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
41487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
41488         Moved ...
41489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
41490         ... here.
41491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
41492         Moved ...
41493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
41494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
41495         Moved ...
41496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
41497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
41498         Moved ...
41499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
41500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
41501         Moved ...
41502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
41503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
41504         Moved ...
41505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
41506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
41507         Moved ...
41508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
41509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
41510         Moved ...
41511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
41512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
41513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
41514         ... here.
41515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
41516         Moved ...
41517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
41518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41519         Moved ...
41520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
41521         ... here.
41522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
41523         Moved ...
41524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
41525         ... here.
41526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41527         Moved ...
41528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41529         ... here.
41530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41531         Moved ...
41532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
41533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41534         Moved ...
41535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
41536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
41537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
41538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41539         Moved ...
41540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
41541         ... here.
41542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41543         Moved ...
41544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
41545         ... here.
41546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41547         Moved ...
41548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
41549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41550         Moved ...
41551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
41552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41553         Moved ...
41554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
41555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41556         Moved ...
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
41558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41559         Moved ...
41560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
41561         ... here.
41562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41563         Moved ...
41564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
41565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41566         Moved ...
41567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
41568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41569         Moved ...
41570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
41571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41572         Moved ...
41573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
41574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
41575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
41576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41577         Moved ...
41578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
41579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41580         Moved ...
41581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
41582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41583         Moved ...
41584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
41585         ... here.
41586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41587         Moved ...
41588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
41589         ... here.
41590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41591         Moved ...
41592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
41593         ... here.
41594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41595         Moved ...
41596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
41597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41598         Moved ...
41599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
41600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41601         Moved ...
41602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
41603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41604         Moved ...
41605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
41606         ... here.
41607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41608         Moved ...
41609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
41610         ... here.
41611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41612         Moved ...
41613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
41614         ... here.
41615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41616         Moved ...
41617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
41618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41619         Moved ...
41620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
41622 2014-06-23  Will Newton  <will.newton@linaro.org>
41623             Wilco  <wdijkstr@arm.com>
41625         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
41626         implementation.  Include get-rounding-mode.h.
41627         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
41628         [!libc_feholdsetround_noex_ctx]: Define
41629         libc_feholdsetround_noex_ctx.
41630         [!libc_feholdsetround_noexf_ctx]: Define
41631         libc_feholdsetround_noexf_ctx.
41632         [!libc_feholdsetround_noexl_ctx]: Define
41633         libc_feholdsetround_noexl_ctx.
41634         (libc_feholdsetround_ctx): New function.
41635         (libc_feresetround_ctx): New function.
41636         (libc_feholdsetround_noex_ctx): New function.
41637         (libc_feresetround_noex_ctx): New function.
41639 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41641         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
41642         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
41643         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
41644         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
41645         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
41646         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
41648         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
41649         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
41650         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
41651         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
41652         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
41653         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
41654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
41655         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
41656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
41657         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
41658         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
41659         Moved ...
41660         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
41661         ... here.
41662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
41663         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
41664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
41665         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
41666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
41667         Moved ...
41668         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
41669         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
41670         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
41671         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
41672         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
41673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
41674         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
41675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
41676         Moved ...
41677         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
41678         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
41679         Moved ...
41680         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
41681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
41682         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
41683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
41684         Moved ...
41685         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
41686         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
41687         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
41688         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
41689         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
41690         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
41691         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
41692         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
41693         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
41694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
41695         Moved ...
41696         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
41697         ... here.
41698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
41699         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
41700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
41701         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
41702         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
41703         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
41704         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
41705         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
41706         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
41707         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
41708         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
41709         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
41710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
41711         Moved ...
41712         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
41713         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
41714         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
41715         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
41716         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
41717         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
41718         Moved ...
41719         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
41720         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
41721         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
41722         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
41723         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
41725         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
41726         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
41727         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
41728         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
41729         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
41730         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
41731         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
41732         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
41733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
41734         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
41735         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
41736         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
41737         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
41738         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
41739         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
41740         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
41741         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
41742         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
41743         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
41744         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
41745         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
41746         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
41747         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
41748         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
41749         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
41750         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
41751         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
41752         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
41754 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
41757         (FALLOC_FL_COLLAPSE_RANGE): New macro.
41758         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
41759         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
41760         (IPV6_PMTUDISC_INTERFACE): Likewise.
41761         (IPV6_PMTUDISC_OMIT): Likewise.
41763 2014-06-23  Andreas Schwab  <schwab@suse.de>
41765         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41766         Remove unused errout label.
41768 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41770         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41771         macro: hardware supports Vector Crypto instructions.
41773 2014-06-23  Will Newton  <will.newton@linaro.org>
41775         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41776         rather than __builtin_expect.
41778         * elf/dl-lookup.c (undefined_msg): Remove variable.
41779         (_dl_lookup_symbol_x): Replace undefined_msg with string
41780         literal.
41782         * elf/dl-lookup.c (do_lookup_unique): New function.
41783         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41784         to a separate function.
41786 2014-06-23  Andreas Schwab  <schwab@suse.de>
41788         [BZ #17079]
41789         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41790         before reading the next line.
41792 2014-06-23  Will Newton  <will.newton@linaro.org>
41794         * test-skeleton.c (signal_handler): Use printf and %m
41795         rather than perror.  Use printf rather than fprintf to
41796         stderr.  Use puts rather than fputs to stderr.
41797         (main): Likewise.
41799 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41801         * nscd/nscd.c (thread_info_t): Remove typedef.
41802         (thread_info): Remove variable.
41804 2014-06-21  Allan McRae  <allan@archlinux.org>
41806         * NEWS: Mention CVE-2014-4043.
41808 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41810         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
41811         * nptl/smp.h: ... here.
41813         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
41815         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41816         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
41817         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
41818         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
41820         * nptl/allocatestack.c: Include <stack-aliasing.h>.
41821         * nptl/stack-aliasing.h: New file.
41822         * sysdeps/i386/i686/stack-aliasing.h: New file.
41823         * sysdeps/i386/i686/nptl/Makefile: File removed.
41824         * sysdeps/x86_64/stack-aliasing.h: New file.
41825         * sysdeps/x86_64/nptl/Makefile
41826         (CFLAGS-pthread_create.c): Variable removed.
41828         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
41829         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
41830         old file.
41831         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
41832         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
41833         old file.
41835 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
41837         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41838         (__ASSUME_SIGFRAME_V2): Remove macro.
41839         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
41840         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
41841         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
41842         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
41843         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
41844         Declare as function.  Remove conditional macro definitions.
41845         (__default_rt_sa_restorer): Likewise.
41846         (__default_sa_restorer_v1): Remove declaration.
41847         (__default_sa_restorer_v2): Likewise.
41848         (__default_rt_sa_restorer_v1): Likewise.
41849         (__default_rt_sa_restorer_v2): Likewise.
41850         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
41851         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
41852         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
41854 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41856         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
41857         (libpthread-routines): Add sysdep.
41858         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
41859         * sysdeps/unix/sysv/linux/sparc/Versions
41860         (libpthread: GLIBC_2.3.3): New version set.
41861         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
41862         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
41863         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
41864         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
41865         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
41866         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
41867         Moved ...
41868         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
41869         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
41870         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
41871         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
41872         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
41873         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
41874         * sysdeps/sparc/nptl/sem_init.c: ... here.
41875         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
41876         * sysdeps/sparc/nptl/sem_post.c: ... here.
41877         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
41878         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
41879         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
41880         * sysdeps/sparc/nptl/sem_wait.c: ... here.
41881         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
41882         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
41883         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
41884         (libpthread-routines): Add cpu_relax.
41885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
41886         File removed.
41887         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
41888         (librt: GLIBC_2.3.3): New version set.
41889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
41890         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
41891         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
41892         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
41893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
41895         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
41896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
41897         Moved ...
41898         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
41899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
41900         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
41901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
41902         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
41903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
41904         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
41905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
41906         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
41907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
41908         Moved ...
41909         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
41910         Update #include.
41911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
41912         Moved ...
41913         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
41914         Update #include.
41915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
41916         Moved ...
41917         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
41918         Update #include.
41919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
41920         Moved ...
41921         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
41922         Update #include.
41923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
41924         Moved ...
41925         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
41926         Update #include.
41927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
41928         Moved ...
41929         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
41930         Update #include.
41931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
41932         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
41933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
41934         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
41935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
41936         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
41937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
41938         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
41939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
41940         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
41941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41942         Moved ...
41943         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
41944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
41945         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
41946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
41947         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
41949 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41951         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
41952         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
41953         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41954         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
41955         * nscd/nscd.c: Likewise.
41956         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
41957         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
41958         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
41959         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
41961         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
41962         <kernel-features.h>.
41963         (init_mq_netlink): Remove conditional have_sock_cloexec
41964         definitions.  Remove code conditional on have_sock_cloexec < 0.
41965         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
41966         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
41967         * sysdeps/unix/sysv/linux/opensock.c: Do not include
41968         <kernel-features.h>.
41969         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
41970         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
41972 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41975         Add tests for memset_chk and memset.
41977         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
41978         with AVX2_Usable.
41980 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41982         [BZ #16046]
41983         * elf/tst-dl-iter-static.c: New file.
41984         * elf/Makefile (tests-static): Add tst-dl-iter-static.
41986         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41987         error.
41989 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41991         * sysdeps/unix/sysv/linux/kernel-features.h
41992         (__ASSUME_F_GETOWN_EX): Remove macro.
41993         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
41994         <kernel-features.h>.
41995         (miss_F_GETOWN_EX): Remove variable or macro.
41996         (do_fcntl): Do not check miss_F_GETOWN_EX.
41997         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
41999         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42000         Remove macro.
42001         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42002         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42003         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42005         * sysdeps/unix/sysv/linux/kernel-features.h
42006         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42007         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42008         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42009         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42011 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42013         [BZ #17075]
42014         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42015         Fix calculation of the symbol's value.
42016         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42017         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42018         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42019         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42020         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42021         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42022         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42023         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42024         (modules-names): Add `tst-armtlsdescmod',
42025         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42026         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42027         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42028         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42029         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42030         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42031         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42032         ($(objpfx)tst-armtlsdescloc): New dependency.
42033         ($(objpfx)tst-armtlsdescextnow): Likewise.
42034         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42035         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42036         TLS scheme support.
42037         * sysdeps/arm/configure: Regenerate.
42039 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42041         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42042         (__atfct_seterrno_2): Likewise.
42043         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42044         <kernel-features.h>.
42045         (__ASSUME_ATFCTS): Do not undefine and redefine.
42046         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42047         (__have_atfcts): Remove conditional definition.
42048         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42049         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42050         unreachable if [__ASSUME_ATFCTS].
42051         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42052         not undefine and redefine.
42053         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42054         <kernel-features.h>.
42055         (faccessat) [__NR_faccessat]: Make code unconditional.
42056         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42057         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42058         <kernel-features.h>.
42059         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42060         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42061         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42062         <kernel-features.h>.
42063         (fchownat) [__NR_fchownat]: Make code unconditional.
42064         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42065         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42066         <kernel-features.h>.
42067         (futimesat) [__NR_futimesat]: Make code unconditional.
42068         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42069         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42070         <kernel-features.h>.
42071         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42072         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42073         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42074         <kernel-features.h>.
42075         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42076         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42077         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42078         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42079         <kernel-features.h>.
42080         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42081         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42082         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42083         <kernel-features.h>.
42084         (linkat) [__NR_linkat]: Make code unconditional.
42085         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42086         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42087         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42088         <kernel-features.h>.
42089         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42090         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42091         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42092         <kernel-features.h>.
42093         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42094         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42095         * sysdeps/unix/sysv/linux/openat.c: Do not include
42096         <kernel-features.h>.
42097         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42098         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42099         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42100         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42101         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42102         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42103         <kernel-features.h>.
42104         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42105         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42106         result of INLINE_SYSCALL directly, not via int variable.
42107         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42108         <kernel-features.h>.
42109         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42110         (renameat) [__NR_renameat]: Make code unconditional.
42111         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42112         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42113         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42114         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42115         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42116         (__ASSUME_ATFCTS): Do not undefine and redefine.
42117         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42118         <kernel-features.h>.
42119         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42120         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42121         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42122         <kernel-features.h>.
42123         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42124         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42125         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42126         (__ASSUME_ATFCTS): Do not undefine and redefine.
42127         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42128         <kernel-features.h>.
42129         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42130         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42131         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42132         <kernel-features.h>.
42133         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42134         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42136 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42138         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42140 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42142         [BZ #17069]
42143         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42144         constructed tree before returning error.
42145         * posix/bug-regexp36.c: Expand test case.
42147 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42149         [BZ #6803]
42150         * math/libm-test.inc (scalbln_test_date):
42151         Add errno expectations.
42152         * math/w_scalblnf.c: New File.
42153         Add wrapper which checks for setting errno to ERANGE.
42154         Add weak_alias for corresponding scalbln function.
42155         * math/w_scalbln.c: Likewise.
42156         * math/w_scalblnl.c: Likewise.
42157         * math/Makefile (libm-calls): Add w_scalbln.
42158         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42159         Remove weak_alias for corresponding scalbln function.
42160         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42161         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42162         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42163         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42164         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42165         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42166         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42167         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42168         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42169         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42170         Remove long_double_symbol for scalblnl function in libm, libc.
42171         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42172         Add wrapper which checks for setting errno to ERANGE.
42173         Add long_double_symbol for scalblnl function in libm, libc.
42174         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42175         Remove long_double_symbol for scalblnl in libm.
42176         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42177         Add wrapper which checks for setting errno to ERANGE.
42178         Add long_double_symbol for scalblnl function in libm.
42179         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42180         Do not use wrapper because of own implementation.
42182 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42184         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42185         3 bytes for __pad1 for x32.
42186         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42188 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42189             H.J. Lu  <hongjiu.lu@intel.com>
42191         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42192         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42193         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42194         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42195         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42197 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42199         [BZ #17069]
42200         * posix/regcomp.c (parse_expression): Deallocate partially
42201         constructed tree before returning error.
42202         * posix/Makefile.c (tests): Add bug-regex36.
42203         (generated): Add bug-regex36.mtrace.
42204         (tests-special): Add $(objpfx)bug-regex36-mem.out
42205         (bug-regex36-ENV): New variable.
42206         ($(objpfx)bug-regex36-mem.out): New rule.
42207         * posix/bug-regex36.c: New file.
42209 2014-06-19  Will Newton  <will.newton@linaro.org>
42211         * malloc/malloc.c (systrim): If extra is zero then return
42212         early.
42214 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42216         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42218 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42220         * sysdeps/aarch64/strchr.S: New file.
42222 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42224         [BZ #17022]
42225         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42226         from arguments -2 or below.
42227         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42228         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42230 2014-06-18  Andreas Schwab  <schwab@suse.de>
42232         [BZ #17062]
42233         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42234         of a bracket expr not to run off the end of the string.
42235         * posix/Makefile (tests): Add tst-fnmatch3.
42236         * posix/tst-fnmatch3.c: New file.
42238 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42240         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42241         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42242         [$(cross-compiling) = no]: Likewise.
42243         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42244         [$(cross-compiling) = no]: Likewise.
42246 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42248         [BZ #17031]
42249         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42250         double, adjusted for any remainder from the high double.
42251         * math/libm-test.inc (nearbyint): Add tests.
42252         (rint): Likewise.
42254 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42256         * nptl/sysdeps/powerpc/Makefile: Moved ...
42257         * sysdeps/powerpc/nptl/Makefile: ... here.
42258         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42259         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42260         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42261         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42262         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42263         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42264         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42265         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42266         * nptl/sysdeps/powerpc/tls.h: Moved ...
42267         * sysdeps/powerpc/nptl/tls.h: ... here.
42269 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42271         [BZ #16681]
42272         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42273         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42274         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42275         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42276         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42277         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42278         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42279         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42280         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42282 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42284         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42286 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42288         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42289         defined operator.
42291         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42292         $TIMEOUTFACTOR.
42294 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42296         [BZ #17058]
42297         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42298         non-executed part of the test.
42300 2014-06-16  Andreas Schwab  <schwab@suse.de>
42302         * string/bits/string2.h (strdup, strndup): Update feature guard.
42304 2014-06-14  David S. Miller  <davem@davemloft.net>
42306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42308 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42310         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42311         that was previously under [RESET_PID].
42312         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42314         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42315         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42316         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42317         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42318         (__libc_vfork): New strong alias.
42319         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42321 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42323         * sysdeps/generic/elide.h: New file.
42325 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42327         * Makefile (installed-headers): Adjust path of pthread.h header.
42329 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42331         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42332         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42333         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42334         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42336         * nptl/sysdeps/s390/Makefile: Moved ...
42337         * sysdeps/s390/nptl/Makefile: ... here.
42338         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42339         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42340         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42341         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42342         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42343         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42344         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42345         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42346         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42347         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42348         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42349         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42350         * nptl/sysdeps/s390/tls.h: Moved ...
42351         * sysdeps/s390/nptl/tls.h: ... here.
42353         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42354         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42356 2014-06-13  David S. Miller  <davem@davemloft.net>
42358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42361         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42365         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42366         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42367         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42368         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42369         Remove RESET_PID cpp guards.
42370         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42371         Remove RESET_PID cpp guards.
42372         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42374 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42376         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42377         __sp to uintptr_t.
42379 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42381         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42382         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42383         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42384         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42385         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42386         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42387         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42388         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42389         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42390         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42391         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42392         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42393         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42394         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42395         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42396         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42398         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42399         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42400         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42402         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42403         (pthread_rwlock_rdlock): Add elision.
42404         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42405         (pthread_rwlock_wrlock): Add elision.
42406         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42407         (pthread_rwlock_trywrlock): Add elision.
42408         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42409         (pthread_rwlock_tryrdlock): Add elision.
42410         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42411         (pthread_rwlock_tryrdlock): Add elision unlock.
42412         * nptl/sysdeps/pthread/pthread.h:
42413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42414         (PTHREAD_RWLOCK_INITIALIZER,
42415         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42416         Handle new elision field.
42417         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42418         * sysdeps/arm/nptl/bits/pthreadtypes.h
42419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42420         * sysdeps/sh/nptl/bits/pthreadtypes.h
42421         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42422         * sysdeps/tile/nptl/bits/pthreadtypes.h
42423         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42424         * sysdeps/a/nptl/bits/pthreadtypes.h
42425         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42426         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42427         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42428         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42430         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42432         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42434         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42435         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42436         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42437         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42438         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42439         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42440         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42441         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42442         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42443         (elision_init): Set try_xbegin to zero when no RTM.
42444         * sysdeps/x86/nptl/bits/pthreadtypes.h
42445         (pthread_rwlock_t): Change __pad1 to __rwelision.
42446         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42448 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42450         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42451         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42452         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42453         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42455 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42457         [BZ #16996]
42458         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42459         that the cached result has been set before returning it.
42461 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42463         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42464         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42465         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42466         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42467         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42468         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42470         * nptl/sysdeps/sparc/Makefile: Moved ...
42471         * sysdeps/sparc/nptl/Makefile: ... here.
42472         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42473         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42474         * nptl/sysdeps/sparc/tls.h: Moved ...
42475         * sysdeps/sparc/nptl/tls.h: ... here.
42476         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42477         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42478         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42479         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42480         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42481         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42482         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42483         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
42484         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
42485         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
42486         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
42487         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
42488         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
42489         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
42490         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
42491         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
42492         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
42493         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
42494         Update #include.
42495         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
42496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
42497         Update #include.
42498         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
42499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
42500         Update #include.
42501         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
42502         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
42503         Update #include.
42505         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42507         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
42508         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
42510         * sysdeps/pthread/posix-timer.h: Include <list.h>.
42511         (struct list_links): Type removed.
42512         (struct thread_node, struct timer_node): Replace struct list_links
42513         with struct list_head.
42514         (list_unlink_ip): Likewise.
42515         * sysdeps/pthread/timer_routines.c
42516         (timer_free_list, thread_free_list, thread_active_list): Likewise.
42517         (list_append, list_insbefore): Likewise.
42518         (list_init): Function removed.
42519         (thread_init, init_module): Use INIT_LIST_HEAD instead.
42520         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
42521         * sysdeps/pthread/Makefile: ... here, new file.
42523         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
42524         * sysdeps/nptl/Implies: ... here.
42525         * sysdeps/unix/sysv/linux/Implies: Add nptl.
42526         * nptl/sysdeps/pthread/list.h: Moved ...
42527         * include/list.h: ... here.
42528         * nptl/sysdeps/pthread/createthread.c: Moved ...
42529         * nptl/createthread.c: ... here.
42530         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
42531         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
42532         * nptl/pt-longjmp.c: ... here.
42533         * nptl/sysdeps/pthread/Makefile: Moved ...
42534         * sysdeps/nptl/Makefile: ... here.
42535         * nptl/sysdeps/pthread/Subdirs: Moved ...
42536         * sysdeps/nptl/Subdirs: ... here.
42537         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
42538         * sysdeps/nptl/aio_misc.h: ... here.
42539         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
42540         * sysdeps/nptl/bits/libc-lock.h: ... here.
42541         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
42542         * sysdeps/nptl/bits/libc-lockP.h: ... here.
42543         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
42544         * sysdeps/nptl/bits/stdio-lock.h: ... here.
42545         * nptl/sysdeps/pthread/configure: Moved ...
42546         * sysdeps/nptl/configure: ... here.
42547         * nptl/sysdeps/pthread/configure.ac: Moved ...
42548         * sysdeps/nptl/configure.ac: ... here.
42549         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
42550         * sysdeps/nptl/gai_misc.h: ... here.
42551         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
42552         * sysdeps/nptl/librt-cancellation.c: ... here.
42553         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
42554         * sysdeps/nptl/malloc-machine.h: ... here.
42555         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
42556         * sysdeps/nptl/pthread-functions.h: ... here.
42557         * nptl/sysdeps/pthread/pthread.h: Moved ...
42558         * sysdeps/nptl/pthread.h: ... here.
42559         * nptl/sysdeps/pthread/setxid.h: Moved ...
42560         * sysdeps/nptl/setxid.h: ... here.
42561         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
42562         * sysdeps/nptl/sigfillset.c: ... here.
42563         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
42564         * sysdeps/nptl/tcb-offsets.h: ... here.
42565         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
42566         * sysdeps/nptl/tst-mqueue8x.c: ... here.
42567         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
42568         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
42569         * nptl/sysdeps/pthread/allocalim.h: Moved ...
42570         * sysdeps/pthread/allocalim.h: ... here.
42571         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
42572         * sysdeps/pthread/bits/sigthread.h: ... here.
42573         * nptl/sysdeps/pthread/flockfile.c: Moved ...
42574         * sysdeps/pthread/flockfile.c: ... here.
42575         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
42576         * sysdeps/pthread/ftrylockfile.c: ... here.
42577         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
42578         * sysdeps/pthread/funlockfile.c: ... here.
42579         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
42580         * sysdeps/pthread/posix-timer.h: ... here.
42581         * nptl/sysdeps/pthread/timer_create.c: Moved ...
42582         * sysdeps/pthread/timer_create.c: ... here.
42583         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
42584         * sysdeps/pthread/timer_delete.c: ... here.
42585         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
42586         * sysdeps/pthread/timer_getoverr.c: ... here.
42587         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
42588         * sysdeps/pthread/timer_gettime.c: ... here.
42589         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
42590         * sysdeps/pthread/timer_routines.c: ... here.
42591         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
42592         * sysdeps/pthread/timer_settime.c: ... here.
42593         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
42594         * sysdeps/pthread/tst-timer.c: ... here.
42595         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
42596         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
42598         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
42599         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
42601         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
42602         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
42603         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
42604         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
42605         Update #include target.
42606         * nptl/sysdeps/i386/i686/Makefile: Moved ...
42607         * sysdeps/i386/i686/nptl/Makefile: ... here.
42608         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
42609         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
42610         Update #include target.
42611         * nptl/sysdeps/i386/i686/tls.h: Moved ...
42612         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
42613         * nptl/sysdeps/i386/Makefile: Moved ...
42614         * sysdeps/i386/nptl/Makefile: ... here.
42615         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
42616         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
42617         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
42618         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
42619         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
42620         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
42621         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
42622         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
42623         * sysdeps/i386/nptl/pthreaddef.h: ... here.
42624         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
42625         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
42626         * nptl/sysdeps/i386/tls.h: Moved ...
42627         * sysdeps/i386/nptl/tls.h: ... here.
42629         * sysdeps/sh/Makefile [$(subdir) = csu]
42630         (gen-as-const-headers): Add tcb-offsets.sym.
42631         * nptl/sysdeps/sh/Makefile: File removed.
42632         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
42633         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
42634         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
42635         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
42636         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
42637         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
42638         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
42639         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
42640         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
42641         * sysdeps/sh/nptl/pthreaddef.h: ... here.
42642         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
42643         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
42644         * nptl/sysdeps/sh/tls.h: Moved ...
42645         * sysdeps/sh/nptl/tls.h: ... here.
42646         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
42647         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
42648         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
42649         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
42650         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
42651         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
42652         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
42653         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
42654         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
42655         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
42656         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
42657         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
42658         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
42659         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
42660         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
42661         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
42662         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
42663         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
42664         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
42665         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
42666         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
42667         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
42668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
42669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
42670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
42671         Moved ...
42672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
42673         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
42674         Moved ...
42675         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
42676         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
42677         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
42678         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
42679         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
42680         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
42681         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
42682         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
42683         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
42684         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
42685         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
42686         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
42687         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
42688         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
42689         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
42690         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
42691         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
42692         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
42693         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
42695 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42697         * posix/spawn_faction_addopen.c: Include string.h.
42699 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42701         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
42702         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
42703         * nptl/sysdeps/x86_64/Makefile: Moved ...
42704         * sysdeps/x86_64/nptl/Makefile: ... here.
42705         * nptl/sysdeps/x86_64/configure: Moved ...
42706         * sysdeps/x86_64/nptl/configure: ... here.
42707         * nptl/sysdeps/x86_64/configure.ac: Moved ...
42708         * sysdeps/x86_64/nptl/configure.ac: ... here.
42709         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
42710         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
42711         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
42712         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
42713         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
42714         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
42715         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
42716         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
42717         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
42718         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
42719         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
42720         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
42721         * nptl/sysdeps/x86_64/tls.h: Moved ...
42722         * sysdeps/x86_64/nptl/tls.h: ... here.
42723         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
42724         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
42725         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
42726         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
42728         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
42730 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42734 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
42736         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
42737         type.
42738         [POSIX] (off_t): Likewise.
42739         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
42740         [POSIX] (S_ISBLK): Require macro.
42741         [POSIX] (S_ISCHR): Likewise.
42742         [POSIX] (S_ISDIR): Likewise.
42743         [POSIX] (S_ISFIFO): Likewise.
42744         [POSIX] (S_ISREG): Likewise.
42745         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
42746         optional-macro.
42747         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
42748         type.
42749         [POSIX] (time_t): Likewise.
42750         [POSIX] (timer_t): Likewise.
42752 2014-06-11  Florian Weimer  <fweimer@redhat.com>
42754         [BZ #17048]
42755         * posix/spawn_int.h (struct __spawn_action): Make the path string
42756         non-const to support deallocation.
42757         * posix/spawn_faction_addopen.c
42758         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
42759         * posix/spawn_faction_destroy.c
42760         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
42761         path in all spawn_do_open actions.
42762         * posix/tst-spawn.c (do_test): Exercise the copy operation in
42763         posix_spawn_file_actions_addopen.
42765 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42767         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42768         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42769         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42770         conditional code always true.
42771         (__libc_vfork): New alias.
42773 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42775         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42776         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42778         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42780         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42781         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42783         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42784         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42786         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42787         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42789 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42791         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42792         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42793         multiarch strcmp for PPC64.
42794         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42795         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42797         multiarch optimizations.
42798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42799         (__libc_ifunc_impl_list): Likewise.
42801 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42803         * benchtests/scripts/validate_benchout.py: New script.
42804         * benchtests/Makefile (bench-func): Call it.
42805         * benchtests/scripts/benchout.schema.json: New file.
42807 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
42809         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
42810         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
42811         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
42812         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
42813         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42814         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
42815         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
42816         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
42817         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
42818         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
42819         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
42820         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
42821         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
42822         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
42823         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
42824         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
42825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
42826         Moved ...
42827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
42828         ... here.
42829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
42830         Moved ...
42831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
42832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
42833         Moved ...
42834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
42835         ... here.
42836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
42837         Moved ...
42838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
42839         ... here.
42840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
42841         Moved ...
42842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
42843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
42844         Moved ...
42845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
42846         ... here.
42847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
42848         Moved ...
42849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
42850         ... here.
42851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
42852         Moved ...
42853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
42854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
42855         Moved ...
42856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
42857         ... here.
42858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
42859         Moved ...
42860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
42861         ... here.
42862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
42863         Moved ...
42864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
42865         ... here.
42866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
42867         Moved ...
42868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
42869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
42870         Moved ...
42871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
42872         ... here.
42873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
42874         Moved ...
42875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
42876         ... here.
42877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
42878         Moved ...
42879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
42880         ... here.
42881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
42882         Moved ...
42883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
42884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
42885         Moved ...
42886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
42887         ... here.
42888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
42889         Moved ...
42890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
42891         ... here.
42892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
42893         Moved ...
42894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
42895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
42896         Moved ...
42897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
42898         ... here.
42899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
42900         Moved ...
42901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
42902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
42903         Moved ...
42904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
42905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
42906         Moved ...
42907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
42908         ... here.
42909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
42910         Moved ...
42911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
42912         ... here.
42913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
42914         Moved ...
42915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
42916         ... here.
42917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
42918         Moved ...
42919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
42920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
42921         Moved ...
42922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
42923         ... here.
42924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
42925         Moved ...
42926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
42927         ... here.
42928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
42929         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
42930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
42931         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
42932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
42933         Moved ...
42934         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
42935         ... here.
42936         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
42937         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
42938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
42939         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
42940         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
42941         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
42942         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
42943         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
42944         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
42945         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
42946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
42947         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
42948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
42949         Moved ...
42950         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
42951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
42952         Moved ...
42953         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
42954         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
42955         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
42956         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
42957         Moved ...
42958         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
42959         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
42960         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
42961         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
42962         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
42963         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
42964         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
42966 2014-06-10  Wilco  <wdijkstr@arm.com>
42968         * math/test-fenv-return.c: New file.
42969         * math/Makefile: Add new test test-fenv-return.
42971 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
42973         [BZ #17042]
42974         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
42975         when x - 1 is zero.
42976         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
42977         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
42978         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
42979         0.0L for an argument of 1.0L.
42980         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
42981         Likewise.
42982         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
42983         value when x - 1 is zero.
42984         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
42985         * sysdeps/i386/fpu/libm-test-ulps: Update.
42986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42988 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
42990         [BZ #15119]
42991         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
42993 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42995         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
42996         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
42998 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43000         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43001         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43003         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43004         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43006         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43007         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43009         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43010         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43012         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43013         if not already defined.
43014         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43015         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43016         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43017         (TLS_INIT_TP): Use it.
43018         (TLS_DEFINE_INIT_TP): New macro.
43019         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43021 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43023         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43024         constant.
43025         [POSIX] (IXANY): Likewise.
43026         [POSIX] (OLCUC): Likewise.
43027         [POSIX || POSIX2008] (CBAUD): Do not allow.
43028         [POSIX || POSIX2008] (DEFECHO): Likewise.
43029         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43030         [POSIX || POSIX2008] (ECHOKE): Likewise.
43031         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43032         [POSIX || POSIX2008] (EXTA): Likewise.
43033         [POSIX || POSIX2008] (EXTB): Likewise.
43034         [POSIX || POSIX2008] (FLUSHO): Likewise.
43035         [POSIX || POSIX2008] (LOBLK): Likewise.
43036         [POSIX || POSIX2008] (PENDIN): Likewise.
43037         [POSIX || POSIX2008] (SWTCH): Likewise.
43038         [POSIX || POSIX2008] (VDISCARD): Likewise.
43039         [POSIX || POSIX2008] (VDSUSP): Likewise.
43040         [POSIX || POSIX2008] (VLNEXT): Likewise.
43041         [POSIX || POSIX2008] (VREPRINT): Likewise.
43042         [POSIX || POSIX2008] (VSTATUS): Likewise.
43043         [POSIX || POSIX2008] (VWERASE): Likewise.
43044         (B*): Change to B[0123456789]*.
43045         * conform/data/time.h-data [POSIX || UNIX98]
43046         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43047         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43048         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43049         [POSIX] (tm_*): Do not allow.
43051 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43053         * Makefile (install): Don't set LANGUAGE.
43054         * Makefile.in (install): Likewise.
43055         * assert/Makefile (test-assert-ENV): Remove variable.
43056         (test-assert-perr-ENV): Likewise.
43057         * elf/Makefile (neededtest4-ENV): Likewise.
43058         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43059         [$(cross-compiling) = no]: Don't set LANGUAGE.
43060         * io/ftwtest-sh (LANG): Remove variable.
43061         * libio/Makefile (tst-widetext-ENV): Likewise.
43062         * manual/install.texi (Running make install): Don't refer to
43063         environment settings for make install.
43064         * INSTALL: Regenerated.
43065         * nptl/tst-tls6.sh: Don't set LANG.
43066         * posix/globtest.sh (LANG): Remove variable.
43067         * string/Makefile (tester-ENV): Likewise.
43068         (inl-tester-ENV): Likewise.
43069         (noinl-tester-ENV): Likewise.
43070         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43071         [$(cross-compiling) = no]: Don't set LANGUAGE.
43072         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43073         without explicit environment settings.
43075 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43077         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43078         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43079         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43080         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43082 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43084         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43085         other files in the crypt directory.
43086         * crypt/crypt.c: Remove duplicate includes.
43087         * crypt/crypt-entry.c: Likewise.
43088         * crypt/crypt_util.c: Likewise.
43090 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43092         * Makeconfig (run-program-env): New variable.
43093         (run-program-prefix-before-env): Likewise.
43094         (run-program-prefix-after-env): Likewise.
43095         (run-program-prefix): Define in terms of new variables.
43096         (built-program-cmd-before-env): New variable.
43097         (built-program-cmd-after-env): Likewise.
43098         (built-program-cmd): Define in terms of new variables.
43099         (test-program-prefix-before-env): New variable.
43100         (test-program-prefix-after-env): Likewise.
43101         (test-program-prefix): Define in terms of new variables.
43102         (test-program-cmd-before-env): New variable.
43103         (test-program-cmd-after-env): Likewise.
43104         (test-program-cmd): Define in terms of new variables.
43105         * Rules (make-test-out): Use $(run-program-env).
43106         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43107         (help): Do not mention environment variables.  Mention
43108         --timeoutfactor option.
43109         (timeoutfactor): New variable.
43110         (blacklist_exports): Remove function.
43111         (exports): Remove variable.
43112         (command): Do not include ${exports}.
43113         * manual/install.texi (Configuring and compiling): Do not mention
43114         test wrappers preserving environment variables.  Mention that last
43115         assignment to a variable must take precedence.
43116         * INSTALL: Regenerated.
43117         * benchtests/Makefile (run-bench): Use $(run-program-env).
43118         * catgets/Makefile ($(objpfx)test1.cat): Use
43119         $(built-program-cmd-before-env), $(run-program-env) and
43120         $(built-program-cmd-after-env).
43121         ($(objpfx)test2.cat): Do not specify environment variables
43122         explicitly.
43123         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43124         $(run-program-env) and $(built-program-cmd-after-env).
43125         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43126         $(run-program-env) and $(test-program-cmd-after-env).
43127         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43128         explicitly.
43129         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43130         run_program_env and test_program_cmd_after_env arguments.
43131         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43132         * elf/tst-pathopt.sh: Use run_program_env argument.
43133         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43134         $(test-wrapper-env) and $(run-program-env).
43135         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43136         run_program_env arguments.
43137         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43138         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43139         $(test-program-prefix-before-env), $(run-program-env) and
43140         $(test-program-prefix-after-env).
43141         ($(objpfx)tst-gettext2.out): Likewise.
43142         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43143         run_program_env and test_program_prefix_after_env arguments.
43144         * intl/tst-gettext2.sh: Likewise.
43145         * intl/tst-gettext4.sh: Do not set environment variables
43146         explicitly.
43147         * intl/tst-gettext6.sh: Likewise.
43148         * intl/tst-translit.sh: Likewise.
43149         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43150         $(test-program-prefix-before-env), $(run-program-env) and
43151         $(test-program-prefix-after-env).
43152         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43153         run_program_env and test_program_prefix_after_env arguments.
43154         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43155         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43156         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43157         explicitly with each use of ${test_wrapper_env}.
43158         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43159         $(test-program-prefix-before-env), $(run-program-env) and
43160         $(test-program-prefix-after-env).
43161         * posix/tst-getconf.sh: Do not set environment variables
43162         explicitly.
43163         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43164         run_program_env and test_program_prefix_after_env arguments.
43165         * stdio-common/tst-printf.sh: Do not set environment variables
43166         explicitly.
43167         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43168         $(test-program-prefix-before-env), $(run-program-env) and
43169         $(test-program-prefix-after-env).
43170         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43171         run_program_env and test_program_prefix_after_env arguments.
43172         Split $test calls into $test_pre and $test.
43173         * timezone/Makefile (build-testdata): Use
43174         $(built-program-cmd-before-env), $(run-program-env) and
43175         $(built-program-cmd-after-env).
43177 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43179         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43180         strlen for non SHARED builds.
43182 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43184         * nptl/allocatestack.c (check_list): Inlined function...
43185         (__reclaim_stacks): ... here.
43187 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43189         [BZ #15698]
43190         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43191         memory overrun.
43193 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43195         * Rules (make-test-out): Include
43196         LOCPATH=$(common-objpfx)localedata in default environment.
43197         * debug/Makefile (tst-chk1-ENV): Remove variable.
43198         (tst-chk2-ENV): Likewise.
43199         (tst-chk3-ENV): Likewise.
43200         (tst-chk4-ENV): Likewise.
43201         (tst-chk5-ENV): Likewise.
43202         (tst-chk6-ENV): Likewise.
43203         (tst-lfschk1-ENV): Likewise.
43204         (tst-lfschk2-ENV): Likewise.
43205         (tst-lfschk3-ENV): Likewise.
43206         (tst-lfschk4-ENV): Likewise.
43207         (tst-lfschk5-ENV): Likewise.
43208         (tst-lfschk6-ENV): Likewise.
43209         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43210         (tst-iconv7-ENV): Likewise.
43211         * intl/Makefile (LOCPATH-ENV): Likewise.
43212         (tst-codeset-ENV): Likewise.
43213         (tst-gettext3-ENV): Likewise.
43214         (tst-gettext5-ENV): Likewise.
43215         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43216         (tst-fopenloc-ENV): Likewise.
43217         (tst-fgetws-ENV): Remove variable.
43218         (tst-ungetwc1-ENV): Likewise.
43219         (tst-ungetwc2-ENV): Likewise.
43220         (bug-ungetwc2-ENV): Likewise.
43221         (tst-swscanf-ENV): Likewise.
43222         (bug-ftell-ENV): Likewise.
43223         (tst-fgetwc-ENV): Likewise.
43224         (tst-fseek-ENV): Likewise.
43225         (tst-ftell-partial-wide-ENV): Likewise.
43226         (tst-ftell-active-handler-ENV): Likewise.
43227         (tst-ftell-append-ENV): Likewise.
43228         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43229         (tst-regexloc-ENV): Likewise.
43230         (bug-regex1-ENV): Likewise.
43231         (tst-regex-ENV): Likewise.
43232         (tst-regex2-ENV): Likewise.
43233         (bug-regex5-ENV): Likewise.
43234         (bug-regex6-ENV): Likewise.
43235         (bug-regex17-ENV): Likewise.
43236         (bug-regex18-ENV): Likewise.
43237         (bug-regex19-ENV): Likewise.
43238         (bug-regex20-ENV): Likewise.
43239         (bug-regex22-ENV): Likewise.
43240         (bug-regex23-ENV): Likewise.
43241         (bug-regex25-ENV): Likewise.
43242         (bug-regex26-ENV): Likewise.
43243         (bug-regex30-ENV): Likewise.
43244         (bug-regex32-ENV): Likewise.
43245         (bug-regex33-ENV): Likewise.
43246         (bug-regex34-ENV): Likewise.
43247         (bug-regex35-ENV): Likewise.
43248         (tst-rxspencer-ENV): Likewise.
43249         (tst-rxspencer-no-utf8-ENV): Likewise.
43250         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43251         (tst-sscanf-ENV): Likewise.
43252         (tst-swprintf-ENV): Likewise.
43253         (tst-swscanf-ENV): Likewise.
43254         (test-vfprintf-ENV): Likewise.
43255         (scanf13-ENV): Likewise.
43256         (bug14-ENV): Likewise.
43257         (tst-grouping-ENV): Likewise.
43258         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43259         (tst-strtod3-ENV): Likewise.
43260         (tst-strtod4-ENV): Likewise.
43261         (tst-strtod5-ENV): Likewise.
43262         (testmb2-ENV): Likewise./
43263         * string/Makefile (tst-strxfrm-ENV): Likewise.
43264         (tst-strxfrm2-ENV): Likewise.
43265         (bug-strcoll1-ENV): Likewise.
43266         (test-strcasecmp-ENV): Likewise.
43267         (test-strncasecmp-ENV): Likewise.
43268         * time/Makefile (tst-strptime-ENV): Likewise.
43269         (tst-ftime_l-ENV): Likewise.
43270         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43271         (tst-mbrtowc-ENV): Likewise.
43272         (tst-wcrtomb-ENV): Likewise.
43273         (tst-mbrtowc2-ENV): Likewise.
43274         (tst-c16c32-1-ENV): Likewise.
43275         (tst-mbsnrtowcs-ENV): Likewise.
43277 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43279         * manual/resource.texi (How to get information about the memory
43280         subsystem?): Fix typo.
43281         Reported by Peon de la Parra Ivan <peon@keba.com>
43283 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43285         [BZ #16882]
43286         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43287         (pthread_spin_lock): Branch out of spin loop to proper location.
43288         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43289         (pthread_spin_lock): Likewise.
43291         * nptl/tst-spin4.c: New test.
43292         * nptl/Makefile (tests): Add tst-spin4.
43294 2014-06-03  Andreas Schwab  <schwab@suse.de>
43296         [BZ #15946]
43297         * resolv/res_send.c (send_dg): Reload file descriptor after
43298         calling reopen.
43300 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43302         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43304 2014-06-03  Richard Henderson  <rth@redhat.com>
43306         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43307         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43308         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43309         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43310         in the SAVE_PID block.
43311         (__libc_vfork): New alias.
43312         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43314         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43315         child in registers, not on the stack.  Remove RESET_PID conditionals.
43316         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43318 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43320         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43322 2014-06-03  Wilco  <wdijkstr@arm.com>
43324         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43325         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43326         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43327         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43328         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43329         Likewise.
43331 2014-06-03  Wilco  <wdijkstr@arm.com>
43333         * sysdeps/aarch64/fpu/math_private.h
43334         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43335         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43336         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43337         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43338         Fix declarations.
43340 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43342         * crypt/crypt-private.h: Include ufc-crypt.h.
43343         (__b64_from_24bit): Declare extern.
43344         * crypt/crypt_util.c(__b64_from_24bit): New function.
43345         (b64t): New static const variable.
43346         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43347         (b64t): Remove variable.
43348         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43349         * crypt/sha256-crypt.c: Include crypt-private.h.
43350         (b64t): Remove variable.
43351         (__sha256_crypt_r): Remove b64_from_24bit and replace
43352         with __b64_from_24bit.
43353         * crypt/sha512-crypt.c: Likewise.
43355 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43357         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43358         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43359         Label the code __libc_vfork rather than __vfork.
43360         [!NOT_IN_libc] (vfork): Define as weak alias.
43361         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43362         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43363         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43365 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43367         * malloc/malloc.c (malloc_info): Fix format specifier for
43368         n_mmaps.
43370 2014-06-02  Wilco  <wdijkstr@arm.com>
43372         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43373         FPCR write.
43375 2014-06-02  Wilco  <wdijkstr@arm.com>
43377         [BZ #17009]
43378         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43379         Rewrite to reduce FPCR/FPSR accesses.
43381 2014-06-01  David S. Miller  <davem@davemloft.net>
43383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43385 2014-05-31  David S. Miller  <davem@davemloft.net>
43387         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43388         to occur in round to nearest mode when |x| >= 2.0
43390 2014-05-30  Richard Henderson  <rth@twiddle.net>
43392         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43393         (PSEUDO_RET_NOERRNO): Remove.
43394         (ret): Don't redefine.
43395         (ret_NOERRNO): Define in terms of ret.
43396         (ret_ERRVAL): Likewise.
43398         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43399         use of PSEUDO_RET; perform the error check directly.
43401 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43403         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43404         with __int128_t.
43406 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43408         * malloc/malloc (malloc_info): Fix formatting.
43410 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43411             Roland McGrath  <roland@hack.frob.com>
43413         * malloc/malloc (malloc_info): Also print mmapped statistics.
43415 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43417         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43418         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43420 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43422         * malloc/malloc.c (malloc_info): Inline mi_arena.
43424 2014-05-29  Richard Henderson  <rth@twiddle.net>
43426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43427         Remove comma before expanding ASM_ARGS_##nr.
43428         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43429         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43430         of ASM_ARGS_##nr.
43431         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43432         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43433         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43434         (ASM_ARGS_1): Add leading comma.
43436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43437         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43438         to __errno_location.
43439         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43440         Remove the expected plt for __errno_location.
43442         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43443         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43444         call to __read_tp.
43446         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43447         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43448         it and break it down.
43449         (DOCARGS_0, DOCARGS_1): Do nothing.
43450         (DOCARGS_2): Update to store into the new stack frame.
43451         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43452         (UNDOCARGS_1): Update to restore from the new stack frame.
43453         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43454         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43456         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43457         (SINGLE_THREAD_P): New parameter for result regno.
43458         (PSEUDO): Update to match; use cbz instead of beq.
43460         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43461         Use ENTRY to define the _nocancel entry point.  Share the syscall
43462         and syscall error check paths with the cancel path.
43463         (PSEUDO_END): New.
43465         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43466         whitespace; tabs before and after asm mnemonics.
43468 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43470         [BZ #15132]
43471         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43472         Call fstat64 or stat64 internally, depending on arguments passed.
43473         Replace stat buffer argument with file descriptor argument.
43474         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43475         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43476         Pass fd to __internal_statvfs instead of calling fstat64.
43477         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43478         Pass fd to __internal_statvfs64 instead of calling fstat64.
43479         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43480         Pass -1 to __internal_statvfs instead of calling stat64.
43481         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43482         Pass -1 to __internal_statvfs64 instead of calling stat64.
43484 2014-05-28  Roland McGrath  <roland@hack.frob.com>
43486         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
43487         that was previously under [RESET_PID].
43488         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
43490         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
43491         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
43493 2014-05-27  Roland McGrath  <roland@hack.frob.com>
43495         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
43497         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
43498         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
43500 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
43502         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
43504 2014-05-27  Andreas Schwab  <schwab@suse.de>
43506         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
43507         TLS_INIT_TP macro.
43508         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
43509         * elf/rtld.c (init_tls, dl_main): Likewise.
43510         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
43511         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
43512         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
43513         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
43514         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
43515         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
43516         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
43517         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
43518         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
43519         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
43520         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
43521         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
43522         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
43523         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
43524         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
43525         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
43526         * sysdeps/generic/tls.h: Update description.
43528 2014-05-27  Will Newton  <will.newton@linaro.org>
43530         [BZ #16990]
43531         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
43532         and restore r2 rather than just restoring.
43534 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43536         [BZ #16724]
43537         * libio/tst-ftell-append.c: New test case.
43538         * libio/Makefile (tests): Add test case.
43539         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
43540         append mode.
43541         * libio/wfileops.c (do_ftell_wide): Likewise.
43543 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43547         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
43548         ...
43549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
43550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43551         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
43552         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
43553         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
43554         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
43555         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
43556         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
43557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43558         Moved ...
43559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
43560         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43561         Moved ...
43562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
43563         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
43564         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
43565         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
43566         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
43567         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
43568         ...
43569         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
43570         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
43571         Moved ...
43572         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
43573         here.
43574         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
43575         ...
43576         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
43577         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
43578         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
43580         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
43581         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
43582         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
43583         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
43585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
43586         merge into ...
43587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
43588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
43589         ...
43590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
43591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
43592         ...
43593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
43594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43595         Moved ...
43596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
43597         here.
43598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43599         Moved ...
43600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
43601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43602         Moved ...
43603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
43605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
43606         conditional [RESET_PID].
43607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
43608         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
43609         removed.
43610         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
43611         removed.
43613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
43614         <tcb-offsets.h>.
43615         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43616         (__libc_vfork): New strong alias.
43617         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
43618         removed.
43619         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
43620         Removed.
43622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
43623         <tcb-offsets.h>.
43624         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
43625         (__libc_vfork): New strong alias.
43626         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
43627         removed.
43628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
43629         removed.
43631 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
43633         * malloc/malloc.c (mi_arena): New function.
43634         (malloc_info): Remove nested function mi_arena. Call non-nosted
43635         function mi_arena.
43637 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43639         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
43640         by insrwi.
43641         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
43642         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
43643         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
43644         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
43645         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
43646         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
43647         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
43649 2014-05-26  Andreas Schwab  <schwab@suse.de>
43651         [BZ #16984]
43652         * locale/programs/repertoire.c (repertoire_read): Add slash
43653         between I18NPATH element and file name.
43654         * locale/programs/locfile.c (locfile_read): Likewise.
43656 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43658         * nptl/pthread_mutexattr_settype.c
43659         (__pthread_mutexattr_settype):
43660         Disable lock elision for PTHREAD_MUTEX_NORMAL.
43662 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43664         * nptl/tst-mutex5 (do_test):
43665         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
43667 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43669         * benchtests/README: Document 'init' directive.
43670         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
43671         BENCH_INIT.
43672         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
43673         (parse_file): Recognize 'init' directive.
43675 2014-05-26  Kyle McMartin  <kyle@redhat.com>
43677         [BZ #16796]
43678         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
43679         alignment of struct pthread.
43681 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43683         [BZ #16878]
43684         * nscd/netgroupcache.c (addgetnetgrentX): Look for
43685         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43686         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
43687         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43689 2014-05-25  Richard Henderson  <rth@twiddle.net>
43691         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43692         (SINGLE_THREAD_P_PIC): Remove.
43693         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
43694         (SINGLE_THREAD_P_PIC): Remove.
43696         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
43697         branch to syscall error ...
43698         (PSEUDO): ... here.
43699         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
43700         from __local_syscall_error to .Lsyscall_error.
43701         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
43702         (SYSCALL_ERROR): Update label name.
43704         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43705         Do not use DOARGS/UNDOARGS.
43706         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
43707         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
43708         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
43709         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
43710         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
43712         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
43713         block comment.
43715         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
43716         define if !NOT_IN_libc.
43717         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
43718         define with non-default symbol versions.
43720 2014-05-23  Richard Henderson  <rth@twiddle.net>
43722         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
43723         (vfork, __vfork): Define via compat_symbol.
43725         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
43726         [!HAVE_IFUNC] (vfork_compat): Remove.
43727         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
43729 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43731         [BZ #16978]
43732         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
43733         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
43734         variable.
43736 2014-05-23  Richard Henderson  <rth@twiddle.net>
43738         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
43739         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
43740         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
43741         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
43743         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43744         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
43745         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
43746         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
43747         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
43748         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
43749         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
43750         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
43751         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43752         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
43753         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
43754         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43755         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
43756         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
43757         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
43758         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
43759         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
43760         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
43761         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
43762         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
43763         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
43764         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43765         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43766         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43767         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43768         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43769         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43770         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43771         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43772         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43773         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43774         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43775         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43776         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43777         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43778         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43779         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43780         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43781         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43782         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43783         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43784         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43785         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43786         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43787         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43788         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43789         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43790         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43791         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43792         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43793         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43794         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43795         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43796         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43797         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43798         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43800         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43801         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43802         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43803         before exiting on error.
43804         (__libc_vfork): New strong alias.
43805         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43806         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
43808         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
43809         that was previously under [RESET_PID].
43810         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
43812         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
43814 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43816         [BZ #16977]
43817         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
43818         value when x - 1 is zero.
43819         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
43820         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
43821         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
43822         0.0L for an argument of 1.0L.
43823         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
43824         Likewise.
43825         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
43826         value when x - 1 is zero.
43827         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
43828         * sysdeps/i386/fpu/libm-test-ulps: Update.
43829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43831 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43833         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
43834         alphasort and versionsort.
43836 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43838         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
43839         macro.
43840         [copysignf]: Likewise.
43842 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43844         * crypt/md5-crypt.c: Fix formatting.
43846 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43848         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
43849         (b64_from_24bit): New function.
43851 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43853         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
43854         libc_hidden_builtin_def to ifunc.
43855         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43856         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
43858 2014-05-21  Roland McGrath  <roland@hack.frob.com>
43860         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
43861         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
43863 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
43865         * nscd/Depend (linuxthreads): Remove.
43866         (nptl): Add.
43867         * resolv/Depend (linuxthreads): Remove.
43868         * rt/Depend (linuxthreads): Remove.
43870         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
43871         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
43872         $(common-objpfx)elf/.
43873         (link-libc-before-gnulib): Likewise.
43874         (elfobjdir): Remove variable.
43875         * Makefile (install): Use $(elf-objpfx) instead of
43876         $(common-objpfx)elf/.
43877         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
43878         $(elfobjdir)/.
43879         (link-libc-deps): Likewise.
43880         ($(common-objpfx)libc.so): Likewise.
43881         ($(common-objpfx)linkobj/libc.so): Likewise.
43882         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
43883         instead of $(common-objpfx)elf/.
43884         (symbolic-link-list): Likewise.
43885         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43886         [$(cross-compiling) = no]: Likewise.
43887         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
43888         $(elfobjdir)/.
43889         (static-gnulib-arch): Likewise.
43890         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43891         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
43892         $(common-objpfx)elf/.
43894 2014-05-21  Richard Henderson  <rth@redhat.com>
43896         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43897         (SINGLE_THREAD_P): Use the correct width load.  Fold
43898         into the ldr offset.
43900         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
43901         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
43903 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
43905         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
43906         (libgcc_s_resume): Use __attribute_used__.
43907         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
43908         Likewise.
43910 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43912         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
43913         optimization when used with float constants.
43915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43917 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
43919         [BZ #16915]
43920         * locale/nl_langinfo_l.c: Make direct reference to every
43921         _nl_current_CATEGORY symbol.
43922         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
43923         (tests-static): Add tst-langinfo-static.
43924         (tests-special): Add tst-langinfo-static.out.
43925         ($(objpfx)tst-langinfo.out): Redirect output.
43926         ($(objpfx)tst-langinfo-static.out): New.
43927         * localedata/tst-langinfo.sh: Send output to stdout.
43928         * localedata/tst-langinfo-static.c: New file.
43930         [BZ #16965]
43931         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
43932         when the shift amount is modulo the limb size.
43934 2014-05-20  Richard Henderson  <rth@redhat.com>
43936         [BZ #16967]
43937         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
43938         Change type of sa_flags from unsigned int to int.
43940         [BZ #16966]
43941         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
43943         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
43945 2014-05-20  Will Newton  <will.newton@linaro.org>
43947         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43948         Test the return value of the system call in the nocancel case.
43950 2014-05-20  Will Newton  <will.newton@linaro.org>
43951             Yvan Roux  <yvan.roux@linaro.org>
43953         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43954         #include of asm/ptrace.h.
43955         (PTRACE_GET_THREAD_AREA): Remove #undef.
43956         (PTRACE_GETHBPREGS): Likewise.
43957         (PTRACE_SETHBPREGS): Likewise.
43958         (struct user_regs_struct): New structure.
43959         (struct user_fpsimd_struct): New structure.
43960         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
43961         #include of asm/ptrace.h and second #include of sys/user.h.
43962         (PTRACE_GET_THREAD_AREA): Remove #undef.
43963         (PTRACE_GETHBPREGS): Likewise.
43964         (PTRACE_SETHBPREGS): Likewise.
43965         (ELF_NGREG): Use new struct user_regs_struct.
43966         (elf_fpregset_t): Use new struct user_fpsimd_struct.
43968 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43970         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
43971         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
43973 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
43975         [BZ #16958]
43976         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
43977         membar to avoid block loads/stores to overlap previous stores.
43979 2014-05-17  Richard Henderson  <rth@redhat.com>
43981         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
43982         Create the __##syscall_name##_nocancel entry point.
43983         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
43984         Remove; let the sysdep-cancel.h code create it.
43986 2014-05-17  David S. Miller  <davem@davemloft.net>
43988         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
43989         Protect with __USE_GNU.
43990         (TIOCSET_TEMPT): Likewise.
43991         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43992         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
43993         these are already provided in bits/ioctl-types.h
43995 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43997         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
43998         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44000         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44001         Use wait4 regardless of [__NR_waitpid].
44003 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44005         PR libgcc/60166
44006         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44007         (_FP_NANSIGN_Q): Set the quiet bit.
44009 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44011         * benchtests/Makefile
44012         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44013         not $(common-objpfx)math/libm.so.
44014         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44015         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44016         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44017         $(common-objpfx)dlfcn/libdl.so.
44018         ($(objpfx)tst-audit8): Depend on $(libm), not
44019         $(common-objpfx)math/libm.so.
44020         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44021         not $(common-objpfx)dlfcn/libdl.so.
44022         * math/Makefile
44023         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44024         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44025         [$(build-shared) = yes].
44026         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44027         $(common-objpfx)nptl/libpthread.so.
44028         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44029         $(common-objpfx)math/libm.so$(libm.so-version) or
44030         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44031         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44032         $(common-objpfx)dlfcn/libdl.so.
44033         * setjmp/Makefile (link-libm): Remove variable.
44034         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44035         * stdio-common/Makefile (link-libm): Remove variable.
44036         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44037         * stdlib/Makefile (link-libm): Remove variable.
44038         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44039         ($(objpfx)tst-strtod-round): Likewise.
44040         ($(objpfx)tst-tininess): Likewise.
44041         ($(objpfx)tst-strtod-underflow): Likewise.
44042         ($(objpfx)tst-strtod6): Likewise.
44043         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44044         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44045         $(common-objpfx)dlfcn/libdl.so.
44047 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44049         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44050         BSD terminal modes definitions.
44052 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44054         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44055         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44057         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44058         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44059         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44060         Don't do #include_next.
44061         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44062         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44063         Don't do #include_next.
44064         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44065         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44066         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44067         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44069 2014-05-16  Allan McRae  <allan@archlinux.org>
44071         * po/sv.po: Update Swedish translation from translation project.
44073         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44074         in sed expression.
44076 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44078         [BZ #16917]
44079         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44080         errno if the TIOCGPTN ioctl fails with an error different than
44081         EINVAL.
44082         * login/tst-ptsname.c: New file.
44083         * login/Makefile (tests): Add tst-ptsname.
44085         [BZ #16943]
44086         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44087         and prlimit64.
44089 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44091         [BZ #16849]
44092         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44093         herrno to return EAI_AGAIN.
44095 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44097         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44098         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44099         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44100         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44101         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44102         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44103         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44104         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44105         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44106         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44107         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44108         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44109         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44110         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44111         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44112         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44113         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44114         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44115         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44116         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44117         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44118         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44119         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44120         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44121         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44122         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44123         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44124         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44125         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44126         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44128         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44130         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44132         Moved ...
44133         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44135         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44137         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44139         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44141         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44143         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44145         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44147         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44149         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44151         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44153         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44155         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44157         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44159         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44161         Moved ...
44162         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44164         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44166         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44168         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44170         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44172         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44174         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44176         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44178         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44180         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44182         Moved ...
44183         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44185         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44187         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44188         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44189         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44190         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44191         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44192         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44193         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44194         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44195         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44196         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44197         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44198         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44199         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44200         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44201         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44202         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44203         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44204         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44205         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44206         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44207         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44208         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44209         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44210         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44211         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44212         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44213         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44214         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44215         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44216         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44217         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44219         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44220         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44222         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44223         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44224         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44225         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44226         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44228         Moved ...
44229         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44230         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44231         Moved ...
44232         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44234         Moved ...
44235         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44236         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44237         Moved ...
44238         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44239         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44240         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44241         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44242         Moved ...
44243         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44244         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44245         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44246         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44247         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44248         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44249         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44250         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44251         Moved ...
44252         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44253         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44254         Moved ...
44255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44256         ... here.
44257         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44258         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44259         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44260         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44261         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44262         Moved ...
44263         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44264         ... here.
44265         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44266         Moved ...
44267         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44268         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44269         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44270         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44271         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44273         Moved ...
44274         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44275         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44276         Moved ...
44277         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44279         Moved ...
44280         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44281         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44282         Moved ...
44283         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44284         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44285         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44286         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44287         Moved ...
44288         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44289         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44290         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44291         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44292         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44293         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44294         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44295         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44296         Moved ...
44297         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44298         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44299         Moved ...
44300         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44301         ... here.
44302         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44303         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44304         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44305         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44306         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44307         Moved ...
44308         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44309         ... here.
44310         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44311         Moved ...
44312         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44313         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44314         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44315         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44316         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44317         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44318         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44319         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44320         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44321         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44322         Moved ...
44323         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44325         Moved ...
44326         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44328         Moved ...
44329         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44330         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44331         Moved ...
44332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44333         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44334         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44335         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44336         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44337         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44338         Moved ...
44339         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44340         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44341         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44342         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44343         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44344         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44345         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44346         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44347         Moved ...
44348         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44349         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44350         Moved ...
44351         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44352         ... here.
44353         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44354         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44355         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44356         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44357         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44358         Moved ...
44359         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44360         ... here.
44361         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44362         Moved ...
44363         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44364         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44365         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44366         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44367         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44368         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44369         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44370         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44371         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44372         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44373         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44375         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44376         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44378         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44379         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44381         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44382         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44383         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44384         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44385         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44386         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44387         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44388         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44389         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44390         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44391         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44392         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44393         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44394         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44395         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44397         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44399         Moved ...
44400         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44401         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44404         Moved ...
44405         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44406         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44407         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44408         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44409         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44410         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44411         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44412         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44413         Moved ...
44414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44416         Moved ...
44417         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44419         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44420         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44421         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44422         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44423         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44424         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44425         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44426         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44427         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44428         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44429         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44430         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44431         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44432         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44433         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44435         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44436         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44437         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44438         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44439         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44441         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44442         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44443         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44444         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44445         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44446         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44447         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44448         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44449         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44450         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44453         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44455         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44456         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44457         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44458         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44459         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44460         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44461         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44462         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44463         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44464         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44465         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44466         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44467         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44468         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44470         Update #include.
44471         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44472         Likewise.
44473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44474         Likewise.
44475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44476         Likewise.
44477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44478         Likewise.
44479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44480         Likewise.
44481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44482         Likewise.
44483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44484         Likewise.
44485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
44486         Likewise.
44487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
44488         Likewise.
44489         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
44490         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
44491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
44492         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
44493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
44494         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
44495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
44496         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
44497         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
44498         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
44499         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
44500         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
44501         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
44502         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
44503         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
44505         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
44506         that was previously under [RESET_PID].
44507         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44508         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
44509         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
44511         * sysdeps/i386/nptl/Implies: New file.
44512         * sysdeps/x86_64/nptl/Implies: New file.
44513         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
44514         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
44515         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
44516         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
44518         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
44519         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44520         (__libc_vfork): New strong alias.
44521         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
44522         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
44524         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
44525         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44526         (__libc_vfork): New strong alias.
44527         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
44528         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
44530         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
44531         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44532         (__libc_vfork): New strong alias.
44533         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
44534         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
44535         * nptl/pt-vfork.c: New file.
44536         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
44537         (libpthread: GLIBC_2.20): New version set (empty).
44539 2014-05-14  Will Newton  <will.newton@linaro.org>
44541         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
44542         rather than #if.
44544 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44546         [BZ #16564]
44547         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
44548         arguments with exponent 65 or above.
44549         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
44550         arguments 0x1p113L or above.
44551         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
44552         to arguments 0x1p107L or above.
44553         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
44554         positive arguments with exponent 65 or above.
44555         * math/auto-libm-test-in: Add more tests of log1p.
44556         * math/auto-libm-test-out: Regenerated.
44558         [BZ #16928]
44559         * math/s_cacos.c (__cacos): Ensure zero real part of result from
44560         non-finite arguments is +0.
44561         * math/s_cacosf.c (__cacosf): Likewise.
44562         * math/s_cacosl.c (__cacosl): Likewise.
44563         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
44564         * sysdeps/i386/fpu/libm-test-ulps: Update.
44565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44567         [BZ #16927]
44568         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
44569         value.
44570         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
44571         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
44572         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
44573         for explicit high bit of mantissa when testing for argument equal
44574         to 1.
44575         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
44576         * sysdeps/i386/fpu/libm-test-ulps: Update.
44577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44579         [BZ #16516]
44580         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
44581         (__erf): Scale by 16 instead of 8 in potentially underflowing
44582         case.  Ensure exception if result actually underflows.
44583         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
44584         (__erff): Scale by 16 instead of 8 in potentially underflowing
44585         case.  Ensure exception if result actually underflows.
44586         * sysdeps/ieee754/ldbl-128/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         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
44591         (efx8): Remove variable.
44592         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44593         case.  Ensure exception if result actually underflows.
44594         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
44595         (efx8): Remove variable.
44596         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44597         case.  Ensure exception if result actually underflows.
44598         * math/auto-libm-test-in: Add more tests of erf.
44599         * math/auto-libm-test-out: Regenerated.
44601 2014-05-14  Andreas Schwab  <schwab@suse.de>
44603         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
44604         Remove code conditionalized on USE___THREAD.
44606         * config.h.in (HAVE_PT_CHOWN): Define as 0.
44607         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
44608         not definedness.
44610 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44612         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
44613         Define unconditionally.
44614         (__ASSUME_O_CLOEXEC): Likewise.
44615         (__ASSUME_SOCK_CLOEXEC): Likewise.
44616         (__ASSUME_IN_NONBLOCK): Likewise.
44617         (__ASSUME_PIPE2): Likewise.
44618         (__ASSUME_EVENTFD2): Likewise.
44619         (__ASSUME_SIGNALFD4): Likewise.
44620         (__ASSUME_DUP3): Likewise.
44621         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44622         (__ASSUME_DUP3): Do not define.
44623         (__ASSUME_EVENTFD2): Likewise.
44624         (__ASSUME_IN_NONBLOCK): Likewise.
44625         (__ASSUME_O_CLOEXEC): Likewise.
44626         (__ASSUME_PIPE2): Likewise.
44627         (__ASSUME_SIGNALFD4): Likewise.
44628         (__ASSUME_SOCK_CLOEXEC): Likewise.
44629         (__ASSUME_UTIMES): Undefine.
44630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44631         (__ASSUME_UTIMES): Do not define.
44632         (__ASSUME_O_CLOEXEC): Likewise.
44633         (__ASSUME_SOCK_CLOEXEC): Likewise.
44634         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
44635         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
44636         0x020621].
44637         (__ASSUME_PIPE2): Likewise.
44638         (__ASSUME_EVENTFD2): Likewise.
44639         (__ASSUME_SIGNALFD4): Likewise.
44640         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
44641         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
44642         Do not define.
44643         (__ASSUME_EVENTFD2): Likewise.
44644         (__ASSUME_SIGNALFD4): Likewise.
44645         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
44646         (__ASSUME_32BITUIDS): Likewise.
44647         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44648         (__ASSUME_IPC64): Likewise.
44649         (__ASSUME_ST_INO_64_BIT): Likewise.
44650         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
44651         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
44652         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44653         (__ASSUME_UTIMES): Do not define.
44654         (__ASSUME_PSELECT): Likewise.
44655         (__ASSUME_PPOLL): Likewise.
44656         (__ASSUME_O_CLOEXEC): Likewise.
44657         (__ASSUME_SOCK_CLOEXEC): Likewise.
44658         (__ASSUME_IN_NONBLOCK): Likewise.
44659         (__ASSUME_PIPE2): Likewise.
44660         (__ASSUME_EVENTFD2): Likewise.
44661         (__ASSUME_SIGNALFD4): Likewise.
44662         (__ASSUME_DUP3): Likewise.
44663         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44664         (__ASSUME_UTIMES): Likewise.
44665         (__ASSUME_O_CLOEXEC): Likewise.
44666         (__ASSUME_SOCK_CLOEXEC): Likewise.
44667         (__ASSUME_IN_NONBLOCK): Likewise.
44668         (__ASSUME_PIPE2): Likewise.
44669         (__ASSUME_EVENTFD2): Likewise.
44670         (__ASSUME_SIGNALFD4): Likewise.
44671         (__ASSUME_DUP3): Likewise.
44672         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44673         (__ASSUME_UTIMES): Likewise.
44674         (__ASSUME_O_CLOEXEC): Likewise.
44675         (__ASSUME_SOCK_CLOEXEC): Likewise.
44676         (__ASSUME_IN_NONBLOCK): Likewise.
44677         (__ASSUME_PIPE2): Likewise.
44678         (__ASSUME_EVENTFD2): Likewise.
44679         (__ASSUME_SIGNALFD4): Likewise.
44680         (__ASSUME_DUP3): Likewise.
44681         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
44682         Likewise.
44683         (__ASSUME_UTIMES): Likewise.
44684         (__ASSUME_EVENTFD2): Likewise.
44685         (__ASSUME_SIGNALFD4): Likewise.
44686         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44687         (__ASSUME_O_CLOEXEC): Likewise.
44688         (__ASSUME_SOCK_CLOEXEC): Likewise.
44689         (__ASSUME_IN_NONBLOCK): Likewise.
44690         (__ASSUME_PIPE2): Likewise.
44691         (__ASSUME_EVENTFD2): Likewise.
44692         (__ASSUME_SIGNALFD4): Likewise.
44693         (__ASSUME_DUP3): Likewise.
44694         (__ASSUME_UTIMES): Undefine.
44696         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
44697         feclearexcept.  Remove symbol versioning code.
44698         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
44699         symbol versioning code.
44700         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
44701         symbol versioning code.
44702         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
44703         feupdateenv.  Remove symbol versioning code.
44704         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
44705         fegetexceptflag.  Remove symbol versioning code.
44706         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
44707         fesetexceptflag.  Remove symbol versioning code.
44708         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
44709         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
44710         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
44711         (__posix_fadvise64_l32): Remove prototype.
44712         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
44713         code.
44715 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44717         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
44718         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
44719         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
44720         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
44722 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
44724         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
44725         current working directory
44727 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44729         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
44730         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
44731         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
44732         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
44733         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
44734         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
44735         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
44736         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
44737         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
44738         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
44739         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
44740         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
44741         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
44742         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
44743         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
44744         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
44745         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
44746         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
44747         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
44748         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
44749         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
44750         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
44751         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
44752         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
44753         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
44754         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
44755         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
44756         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
44757         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44758         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
44759         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
44760         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
44761         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
44762         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
44763         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
44764         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44765         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44766         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44767         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44768         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44769         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44770         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44772         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44773         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44775         * sysdeps/unix/sysv/linux/arm/Makefile
44776         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44777         Add rt-aeabi_unwind_cpp_pr1.
44778         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44779         Add nptl-aeabi_unwind_cpp_pr1.
44780         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44781         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44782         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44783         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44784         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44785         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44787         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44788         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44789         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44790         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44792         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44793         Deconditionalize the code that was previously under [RESET_PID].
44794         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44796         * sysdeps/generic/exit-thread.h: New file.
44797         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44798         * include/unistd.h (__exit_thread): Remove declaration.
44799         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44800         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44801         * csu/libc-start.c: Include <exit-thread.h>.
44802         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44803         * nptl/pthread_create.c: Include <exit-thread.h>.
44804         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44805         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44806         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
44807         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
44808         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
44809         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
44810         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
44811         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
44812         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44813         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
44814         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
44815         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
44816         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
44817         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
44818         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
44819         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
44820         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
44822 2014-05-13  Andreas Schwab  <schwab@suse.de>
44824         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
44826 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
44828         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44829         (__ASSUME_UTIMES): Do not condition on kernel version.
44830         (__ASSUME_PSELECT): Define unconditionally.
44831         (__ASSUME_PPOLL): Likewise.
44832         (__ASSUME_ATFCTS): Likewise.
44833         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
44834         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
44835         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
44836         (__ASSUME_UTIMENSAT): Define unconditionally.
44837         (__ASSUME_PRIVATE_FUTEX): Likewise.
44838         (__ASSUME_FALLOCATE): Likewise.
44839         (__ASSUME_O_CLOEXEC): Likewise.
44840         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
44841         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
44842         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
44843         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
44844         (__ASSUME_IN_NONBLOCK): Likewise.
44845         (__ASSUME_PIPE2): Likewise.
44846         (__ASSUME_EVENTFD2): Likewise.
44847         (__ASSUME_SIGNALFD4): Likewise.
44848         (__ASSUME_DUP3): Likewise.
44849         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44850         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
44851         (__ASSUME_AT_RANDOM): Likewise.
44852         (__ASSUME_PREADV): Likewise.
44853         (__ASSUME_PWRITEV): Likewise.
44854         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
44855         (__ASSUME_F_GETOWN_EX): Define unconditionally.
44856         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
44857         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44858         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
44859         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44860         (__ASSUME_O_CLOEXEC): Define unconditionally.
44861         (__ASSUME_PSELECT): Do not undefine conditionally.
44862         (__ASSUME_PPOLL): Likewise.
44863         (__ASSUME_ATFCTS): Likewise.
44864         (__ASSUME_SET_ROBUST_LIST): Likewise.
44865         (__ASSUME_UTIMENSAT): Likewise.
44866         (__ASSUME_FDATASYNC): Define unconditionally.
44867         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44868         (__ASSUME_SIGFRAME_V2): Likewise.
44869         )__ASSUME_EVENTFD2): Likewise.
44870         (__ASSUME_SIGNALFD4): Likewise.
44871         (__ASSUME_PSELECT): Do not undefine conditionally.
44872         (__ASSUME_PPOLL): Likewise.
44873         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44874         (__ASSUME_PSELECT): Define unconditionally.
44875         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
44884         (__ASSUME_O_CLOEXEC): Likewise.
44885         (__ASSUME_SOCK_CLOEXEC): Likewise.
44886         (__ASSUME_IN_NONBLOCK): Likewise.
44887         (__ASSUME_PIPE2): Likewise.
44888         (__ASSUME_EVENTFD2): Likewise.
44889         (__ASSUME_SIGNALFD4): Likewise.
44890         (__ASSUME_DUP3): Likewise.
44891         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44892         (__ASSUME_EVENTFD2): Likewise.
44893         (__ASSUME_SIGNALFD4): Likewise.
44894         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44896 2014-05-12  Andreas Schwab  <schwab@suse.de>
44898         [BZ #16932]
44899         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
44900         (_nss_nis_gethostbyname4_r): Return error if item length is larger
44901         than maximum RPC packet size.
44902         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
44903         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
44904         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
44905         (_nss_nis_getservbyport_r): Likewise.
44907 2014-05-12  Will Newton  <will.newton@linaro.org>
44909         * malloc/Makefile (tests): Add tst-mallopt.
44910         * malloc/tst-mallopt.c: New file.
44912 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44914         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
44915         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
44917 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44919         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
44920         (tst-tlsmod6.so): Likewise.
44922 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44924         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
44926 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
44928         [BZ #16064]
44929         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
44930         and <dl-procinfo.h>.
44931         (__fegetenv): Save SSE state in envp->__eip if supported.
44932         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
44933         envp->__eip if supported.
44934         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
44935         and <dl-procinfo.h>.
44936         (__fesetenv): Always set __eip, __cs_selector, __opcode,
44937         __data_offset and __data_selector in environment to 0.  Set SSE
44938         state if supported.
44939         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
44940         test-fenv-sse.
44941         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
44942         -mfpmath=sse.
44943         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
44945 2014-05-09  Will Newton  <will.newton@linaro.org>
44947         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
44948         and libc_relro_required for ARM.
44949         * sysdeps/arm/preconfigure: Regenerate.
44951 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
44952             Stefan Liebler  <stli@linux.vnet.ibm.com>
44954         * config.make.in (enable-lock-elision): New Makefile variable.
44955         * configure.ac: Likewise.
44956         * configure: Regenerate.
44957         * sysdeps/s390/configure.ac:
44958         Add check for gcc transactions support.
44959         * sysdeps/s390/configure: Regenerate.
44960         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
44961         Build elision files if enabled.
44962         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
44963         Add lock elision support for s390.
44964         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44965         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
44966         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
44967         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
44968         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
44969         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
44970         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44971         Likewise.
44972         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
44973         Likewise.
44974         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
44975         Likewise.
44976         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
44977         Likewise.
44978         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
44979         (__lll_timedlock_elision, __lll_lock_elision)
44980         (__lll_unlock_elision, __lll_trylock_elision)
44981         (lll_timedlock_elision, lll_lock_elision)
44982         (lll_unlock_elision, lll_trylock_elision): Add.
44983         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44984         (pthread_mutex_t): Add lock elision support for s390.
44986 2014-05-14  Wilco  <wdijkstr@arm.com>
44988         * sysdeps/arm/fclrexcpt.c: Cleanup.
44989         * sysdeps/arm/fedisblxcpt.c: Cleanup.
44990         * sysdeps/arm/feenablxcpt.c: Cleanup.
44991         * sysdeps/arm/fegetenv.c: Cleanup.
44992         * sysdeps/arm/fegetexcept.c: Cleanup.
44993         * sysdeps/arm/fegetround.c: Cleanup.
44994         * sysdeps/arm/feholdexcpt.c: Cleanup.
44995         * sysdeps/arm/fesetenv.c: Cleanup.
44996         * sysdeps/arm/fesetround.c: Cleanup.
44997         * sysdeps/arm/feupdateenv.c: Cleanup.
44998         * sysdeps/arm/fgetexcptflg.c: Cleanup.
44999         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45000         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45001         * sysdeps/arm/ftestexcept.c: Cleanup.
45002         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45003         * sysdeps/arm/setfpucw.c: Cleanup.
45005 2014-05-09  Will Newton  <will.newton@linaro.org>
45007         * sysdeps/arm/armv7/strcmp.S: New file.
45008         * NEWS: Mention addition of ARMv7 optimized strcmp.
45010 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45012         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45013         look for %.ac rather than %.in.
45015         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45016         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45017         * sysdeps/mach/hurd/configure: Regenerated.
45018         * sysdeps/unix/sysv/linux/configure: Regenerated.
45020         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45022 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45024         [BZ# 16922]
45025         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45026         (LONG_SUB): Ditto.
45027         (PTR_SUB): Ditto.
45029 2014-05-07  Andreas Schwab  <schwab@suse.de>
45031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45032         when skipping over non-matching result from nscd.
45034 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45036         [BZ #16876]
45037         * nptl/sockperf.c (client): Check socket return value.
45039         [BZ #16877]
45040         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45041         nscd security class.
45043 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45045         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45046         * sysdeps/arm/unwind.h: ... here.
45048 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45050         [BZ# 16916]
45051         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45052         Define.
45054 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45056         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45057         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45058         multiarch strncpy for PPC64.
45059         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45060         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45062         multiarch optimizations.
45063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45064         (__libc_ifunc_impl_list): Likewise.
45065         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45066         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45067         multiarch stpncpy for PPC64.
45068         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45069         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45071 2014-05-06  Andreas Schwab  <schwab@suse.de>
45073         [BZ #16912]
45074         * gmon/mcount.c (_MCOUNT_DECL): Use
45075         atomic_compare_and_exchange_bool_acq instead of
45076         catomic_compare_and_exchange_bool_acq.
45078 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45080         * elf/Makefile (others, install-bin): Remove pldd.
45081         (pldd-modules): Variable removed.
45082         ($(objpfx)pldd): Target removed.
45083         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45084         (others, install-bin): Append pldd here.
45085         ($(objpfx)pldd): New target.
45087         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45088         to 0, so the first #if test emitted later doesn't see it undefined.
45089         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45090         * sysdeps/gnu/errlist.c: Regenerated.
45092 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45094         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45095         [libc_hidden_builtin_def]: Define to empty value.
45096         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45097         [libc_hidden_builtin_def]: Likewise.
45098         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45099         [libc_hidden_builtin_def]: Likewise.
45100         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45101         [libc_hidden_builtin_def]: Likewise.
45102         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45103         __redirect_memcpy and define ifunc as default hidden symbol.
45104         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45105         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45107 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45109         * locale/iso-4217.def: Reintroduce XDR currency.
45111 2014-05-04  Allan McRae  <allan@archlinux.org>
45113         * po/eo.po: Update Esperanto translation from translation project.
45115 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45117         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45118         and FEATURE_INDEX_MAX to 1.
45119         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45121 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45123         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45124         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45125         * iconvdata/big5.c (ONE_DIRECTION): Define.
45126         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45127         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45128         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45129         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45130         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45131         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45132         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45133         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45134         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45135         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45136         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45137         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45138         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45139         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45140         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45141         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45142         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45143         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45144         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45145         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45146         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45147         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45148         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45149         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45150         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45151         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45152         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45153         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45154         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45155         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45156         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45157         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45158         * iconvdata/johab.c (ONE_DIRECTION): Define.
45159         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45160         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45161         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45162         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45163         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45164         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45165         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45166         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45167         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45168         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45170 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45172         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45173         (_IO_JUMPS_OFFSET): Define to 0.
45175         * nptl/sysdeps/pthread/bits/libc-lock.h
45176         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45177         (__libc_lock_define_initialized_recursive): Always define using
45178         initializer.  Modern compilers treat uninitialized (implicit zero) and
45179         explicit zero initializers the same (i.e. put the datum in bss).
45181 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45183         * nscd/nscd-client.h: Include <string.h>.
45185 2014-05-01  David S. Miller  <davem@davemloft.net>
45187         [BZ #16885]
45188         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45189         multiple zero bytes exist at the end of a string.
45190         Reported by Aurelien Jarno <aurelien@aurel32.net>
45192         * string/test-strcmp.c (check): Add explicit test for situations where
45193         there are multiple zero bytes after the first.
45195 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45197         [BZ #16890]
45198         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45199         when compiling wprintf.
45200         * stdio-common/tstdiomisc.c (t3): New function.
45201         (main): Call it.
45203 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45205         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45206         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45207         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45208         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45210 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45212         * stdlib/longlong.h: Updated from GCC.
45214 2014-05-01  Will Newton  <will.newton@linaro.org>
45215             Bernard Ogden  <bernie.ogden@linaro.org>
45217         * NEWS: Update fixed bug list.
45219         [BZ #15119]
45220         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45222 2014-04-30  David S. Miller  <davem@davemloft.net>
45224         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45225         (libc_feholdexcept_setround_sparc_ctx): New function.
45226         (libc_fesetenv_sparc_ctx): Likewise.
45227         (libc_feupdateenv_sparc_ctx): Likewise.
45228         (libc_feholdsetround_sparc_ctx): Likewise.
45229         (libc_feholdexcept_setround_ctx): Define.
45230         (libc_feholdexcept_setroundf_ctx): Likewise.
45231         (libc_feholdexcept_setroundl_ctx): Likewise.
45232         (libc_fesetenv_ctx): Likewise.
45233         (libc_fesetenvf_ctx): Likewise.
45234         (libc_fesetenvl_ctx): Likewise.
45235         (libc_feupdateenv_ctx): Likewise.
45236         (libc_feupdateenvf_ctx): Likewise.
45237         (libc_feupdateenvl_ctx): Likewise.
45238         (libc_feresetround_ctx): Likewise.
45239         (libc_feresetroundf_ctx): Likewise.
45240         (libc_feresetroundl_ctx): Likewise.
45241         (libc_feholdsetround_ctx): Likewise.
45242         (libc_feholdsetroundf_ctx): Likewise.
45243         (libc_feholdsetroundl_ctx): Likewise.
45245         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45246         with __USE_GNU instead of XOPEN cpp guards.
45248         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45249         0.
45251         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45252         with XOPEN cpp guards.
45254 2014-04-30  Julian Brown  <julian@codesourcery.com>
45256         [BZ #16888]
45257         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45258         handling.
45260 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45262         [BZ #9894]
45263         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45264         Change to 2.6.32.
45265         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45266         * sysdeps/unix/sysv/linux/configure: Regenerated.
45267         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45268         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45269         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45270         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45271         * README: Update reference to required Linux kernel version.
45272         * manual/install.texi (Linux): Update reference to required Linux
45273         kernel headers version.
45274         * INSTALL: Regenerated.
45276         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45277         header inclusion.
45278         [POSIX] (limits.h): Likewise.
45279         [POSIX] (math.h): Likewise.
45280         [POSIX] (sys/wait.h): Likewise.
45281         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45282         function.
45283         [POSIX] (stddef.h): Do not allow header inclusion.
45285 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45287         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45289 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45291         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45292         Return immediately after lll_futex_wake.
45294 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45296         [BZ #16791]
45297         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45298         structure.
45299         (datahead_init_pos): Call datahead_init_common early.
45300         (datahead_init_neg): Likewise.
45302         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45303         datahead_init_neg): New functions.
45304         * nscd/aicache.c (addhstaiX): Use them.
45305         * nscd/grpcache.c (cache_addgr): Likewise.
45306         * nscd/hstcache.c (cache_addhst): Likewise.
45307         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45308         * nscd/netgroupcache.c (do_notfound): Likewise.
45309         (addgetnetgrentX): Likewise.
45310         (addinnetgrX): Likewise.
45311         * nscd/pwdcache.c (cache_addpw): Likewise.
45312         * nscd/servicescache.c (cache_addserv): Likewise.
45314 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45315             Atsushi Onoe  <atsushi@onoe.org>
45317         [BZ #14308]
45318         [BZ #12994]
45319         [BZ #13651]
45320         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45321         one response is valid.
45322         * resolv/res_send.c (send_dg): Check for validity of other
45323         response if the current response is a referral.
45325 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45327         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45329 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45331         [BZ #16823]
45332         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45333         Always divide by positive zero when computing -Inf result.
45334         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45335         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45337 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45339         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45340         FPSCR if value do not change.
45341         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45342         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45343         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45344         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45345         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45346         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45347         function.
45349 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45351         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45352         * sysdeps/unix/sysv/linux/hppa: Move directory from
45353         ports/systeps/unix/sysv/linux/hppa.
45354         * README: Update listing for hppa-*-linux-gnu.
45356 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45358         [BZ #16754]
45359         * manual/stdio.texi (Hook functions): Fix types of stream hook
45360         functions.
45361         [BZ #16854]
45362         * socket/sys/socket.h: Fix typo in comment.
45364 2014-04-28  Wilco  <wdijkstr@arm.com>
45366         * sysdeps/arm/fenv_private.h: New file.
45367         * sysdeps/arm/math_private.h: New file.
45368         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45370 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45372         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45373         with __int128_t.
45374         (La_x86_64_retval): Likewise.
45376 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45378         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45379         fpsr if value didn't change.
45380         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45381         to fpcr if value didn't change.
45382         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45383         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45384         fpsr or fpcr if value didn't change.
45385         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45386         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45387         fpcr if value didn't change.
45388         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45389         to fpsr if value didn't change.
45391 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45393         * nptl/tst-sem3.c: Use test-skeleton.c
45394         (main): Rename to do_test.  Use return instead of
45395         exit.
45396         * nptl/tst-sem4.c: Use test-skeleton.c
45397         (main): Rename to do_test.
45399 2014-04-22  David S. Miller  <davem@davemloft.net>
45401         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45402         (struct sigaction): New struct member __glibc_reserved0, change
45403         type of sa_flags to int.
45405 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45407         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45408         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45410 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45412         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45413         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45415 2014-04-22  Will Newton  <will.newton@linaro.org>
45416             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45418         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45419         (__longjmp): Add longjmp and longjmp_target SystemTap
45420         probes.
45421         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45422         (__sigsetjmp): Add setjmp SystemTap probe.
45424 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45426         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45427         match manual order.
45429 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45431         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45433         * sysdeps/powerpc/fpu/fenv_private.h
45434         (libc_feholdexcept_setroundl_ctx): Define to
45435         libc_feholdexcept_setround_ppc_ctx.
45436         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45437         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45438         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45439         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45441 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45443         * sysdeps/aarch64/math-tests.h: New file.
45445 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45447         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45448         New.
45449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45450         Check and set bit_AVX2_Usable.
45451         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45452         macro.
45453         (bit_AVX2): Likewise.
45454         (index_AVX2_Usable): Likewise.
45455         (CPUID_AVX2): Likewise.
45456         (HAS_AVX2): Likewise.
45458 2014-04-17  Will Newton  <will.newton@linaro.org>
45460         * manual/setjmp.texi (System V contexts): Add note that
45461         calling setcontext on a context created by a call to a
45462         signal handler is undefined.  Update text to note that
45463         setcontext from a signal handler is possible but not
45464         recommended.
45466         [BZ #16629]
45467         * stdlib/tst-setcontext.c: Include signal.h.
45468         (main): Check that the signal stack before and
45469         after swapcontext is the same.
45471         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45472         Re-implement to restore registers in user code and avoid
45473         rt_sigreturn system call.
45475 2014-04-17  Wilco  <wdijkstr@arm.com>
45477         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45478         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45479         * math/test-fenv.c: Skip exception trap tests on targets which only
45480         support non-stop mode.
45482 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45483             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45485         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
45486         (libc_feholdsetround_aarch64_ctx)
45487         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
45488         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
45489         (libc_feresetround_ctx, libc_feresetroundf_ctx)
45490         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
45491         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
45492         (libc_feresetround_noexl_ctx): Define.
45494 2014-04-16  Richard Henderson  <rth@redhat.com>
45496         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
45498         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
45499         unwind tables.
45501         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
45502         const from the non-libc, non-ldso copy.
45504         * sysdeps/alpha/libm-test-ulps: Regenerate.
45506 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
45507             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45509         * sysdeps/aarch64/fpu/math_private.h: New file.
45511 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45513         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45515 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
45517         [BZ #16275]
45518         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
45519         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
45520         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
45521         Intel MPX bound registers before _dl_profile_fixup.
45522         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
45523         registers after _dl_profile_fixup.  Save and restore bound
45524         registers bnd0/bnd1 when calling _dl_call_pltexit.
45525         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
45526         (LR_BND_OFFSET): Likewise.
45527         (LRV_BND0_OFFSET): Likewise.
45528         (LRV_BND1_OFFSET): Likewise.
45530 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45532         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
45533         to...
45534         * sysdeps/mach/hurd/i386/tls.h: ... here.
45535         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
45536         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
45537         fields.
45539 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45541         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
45543 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45545         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45547 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45549         [BZ #14770]
45550         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
45551         * sysdeps/s390/configure: Regenerate.
45553         [BZ #16824]
45554         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
45555         Set round-to-nearest internally to reduce error accumulation.
45557 2014-04-16  Alan Modra  <amodra@gmail.com>
45559         [BZ #16740]
45560         [BZ #16619]
45561         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
45562         * math/libm-test.inc (frexp_test_data): Add tests.
45563         * NEWS: Update fixed bug list.
45565 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45567         * benchtests/Makefile: Depend on libraries in build directory.
45568         (bench-math): Separate out math tests.
45569         (bench-pthread): Separate out pthread tests.
45570         (bench): Include math and pthread tests.
45572 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
45574         [BZ #16831]
45575         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
45576         _dl_debug_initialize.
45578         * configure.ac: Remove SELinux header check.
45579         * configure: Regenerate.
45580         * nscd/selinux.c (perms): Array of const char* to permission names.
45581         (nscd_request_avc_has_perm): Call security_deny_unknown to find
45582         default policy. Call string_to_security_class and string_to_av_perm to
45583         translate strings. Enforce default policy and call avs_has_perm with
45584         results of translated strings.
45586 2014-04-13  David S. Miller  <davem@davemloft.net>
45588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45590 2014-04-12  Allan McRae  <allan@archlinux.org>
45592         [BZ #16838]
45593         * manual/string.texi (Collation Functions): Fix qsort argument
45594         order in example.
45595         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45597 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
45599         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
45600         Make the test a no-op if there are no exceptions defined.
45602 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
45604         * elf/Makefile (tests): make tst-dlopen-aout conditional on
45605         enable-hardcoded-path-in-tests
45607 2014-04-11  Will Newton  <will.newton@linaro.org>
45609         * benchtests/Makefile (extra-objs): Add json-lib.o.
45610         (bench-func): Tidy up JSON output.
45611         * benchtests/bench-skeleton.c: Include json-lib.h.
45612         (main): Use JSON library functions to do output of
45613         benchmark results.
45614         * benchtests/bench-timing-type.c (main): Output the
45615         timing type simply, leaving formatting to the user.
45616         * benchtests/json-lib.c: New file.
45617         * benchtests/json-lib.h: Likewise.
45619 2014-04-11  Torvald Riegel  <triegel@redhat.com>
45621         [BZ #15215]
45622         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
45623         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
45624         memory barriers.  Add comments.
45625         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
45626         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
45627         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
45628         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
45629         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
45630         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
45632 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45634         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
45635         * sysdeps/s390/s390-64/configure.ac: ... this ...
45636         * sysdeps/s390/configure.ac: ... to here.
45637         * sysdeps/s390/s390-32/configure: Delete file.
45638         * sysdeps/s390/s390-64/configure: Delete file.
45639         * sysdeps/s390/configure: Regenerate.
45641 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
45643         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
45645 2014-04-11  Will Newton  <will.newton@linaro.org>
45647         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
45648         to zero if it is not defined elsewhere.  (mtrim): Test
45649         the value of MALLOC_DEBUG with #if rather than #ifdef.
45651 2014-04-10 Torvald Riegel  <triegel@redhat.com>
45653         * benchtests/pthread_once-inputs: New file.
45654         * benchtests/pthread_once-source.c: New file.
45655         * benchtests/README: Update documentation.
45657 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
45658             H.J. Lu  <hongjiu.lu@intel.com>
45660         [BZ #16275]
45661         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
45662         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
45663         * sysdeps/x86_64/configure: Regenerated.
45664         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
45665         macro.
45666         (REGISTER_SAVE_RAX): Likewise.
45667         (REGISTER_SAVE_RCX): Likewise.
45668         (REGISTER_SAVE_RDX): Likewise.
45669         (REGISTER_SAVE_RSI): Likewise.
45670         (REGISTER_SAVE_RDI): Likewise.
45671         (REGISTER_SAVE_R8): Likewise.
45672         (REGISTER_SAVE_R9): Likewise.
45673         (REGISTER_SAVE_BND0): Likewise.
45674         (REGISTER_SAVE_BND1): Likewise.
45675         (REGISTER_SAVE_BND2): Likewise.
45676         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
45677         bound registers when calling _dl_fixup.
45679 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45681         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
45682         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
45683         of its definition.
45684         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
45685         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
45686         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
45687         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
45688         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
45689         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
45690         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
45692 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
45694         [BZ #15514]
45695         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
45696         pathconf(_PC_NAME_MAX).
45698 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45700         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
45701         Remove macro usage.
45702         (__PTHREAD_SPINS): Move definition to ...
45703         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45704         (__PTHREAD_SPINS): ... here.
45705         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45706         (__PTHREAD_SPIN): Likewise.
45707         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
45708         (__PTHREAD_SPIN): Likewise.
45709         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
45710         (__PTHREAD_SPIN): Likewise.
45711         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
45712         (__PTHREAD_SPIN): Likewise.
45713         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45714         (__PTHREAD_SPIN): Likewise.
45715         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45716         (__PTHREAD_SPIN): Likewise.
45717         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
45718         (__PTHREAD_SPIN): Likewise.
45719         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45720         (__PTHREAD_SPIN): Likewise.
45721         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45722         (__PTHREAD_SPIN): Likewise.
45723         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45724         (__PTHREAD_SPIN): Likewise.
45725         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45726         (__PTHREAD_SPIN): Likewise.
45727         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
45728         (__PTHREAD_SPIN): Likewise.
45730         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
45731         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
45732         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
45733         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
45734         imply folder.
45735         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
45736         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
45737         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
45738         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
45739         correct imply path.
45740         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
45741         strlen symbol for non multi-arch builds.
45742         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
45743         missing hidden_def and weak_alias.
45745 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
45747         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
45749 2014-04-07  Will Newton  <will.newton@linaro.org>
45751         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
45752         and contents.  [!_LIBC] Remove #ifndef and contents.
45753         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
45754         * string/memccpy.c (__memccpy): Use ANSI prototype.
45755         * string/memfrob.c (memfrob): Likewise.
45756         * string/strcoll.c (STRCOLL): Likewise.
45757         * string/strlen.c (strlen): Likewise.
45758         * string/strtok.c (STRTOK): Likewise.
45759         * string/strcat.c: Remove unused #include of memcopy.h.
45760         (strcat): Use ANSI prototype.
45761         * string/strchr.c: Remove unused #include of memcopy.h.
45762         (strchr): Use ANSI prototype.
45763         * string/strcmp.c: Remove unused #include of memcopy.h.
45764         (strcmp): Use ANSI prototype.
45765         * string/strcpy.c: Remove unused #include of memcopy.h.
45766         (strcpy): Use ANSI prototype.
45768 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45770         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45771         * config.make.in (config-extra-cppflags): Set it from
45772         libc_extra_cppflags.
45773         * configure.ac (libc_extra_cflags): Make it accumulate over
45774         configure fragments.
45775         (libc_extra_cppflags): New flag.
45776         * configure. Regenerate.
45777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45778         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45779         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45782         [BZ #16815]
45783         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45784         result for FE_DOWNWARD rounding mode.
45785         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45786         Likewise.
45787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45789 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45791         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45792         in function argument name.
45794 2014-04-03  David Svoboda  <svoboda@cert.org>
45796         [BZ #5666]
45797         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45798         explicitly.
45800 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45802         * elf/dl-unmap-segments.h: New file.
45803         * sysdeps/generic/ldsodefs.h
45804         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45805         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45806         * elf/dl-fptr.c: Likewise.
45807         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
45808         * sysdeps/aarch64/tlsdesc.c: Likewise.
45809         * sysdeps/arm/tlsdesc.c: Likewise.
45810         * sysdeps/i386/tlsdesc.c: Likewise.
45811         * sysdeps/tile/dl-runtime.c: Likewise.
45812         * sysdeps/x86_64/tlsdesc.c: Likewise.
45813         * elf/dl-load.h: New file.
45814         * elf/dl-load.c: Include it.
45815         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
45816         Macros moved to dl-load.h.
45817         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
45818         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
45819         Use _dl_unmap_segments in place of __munmap.
45820         Break out segment-mapping loop into ...
45821         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
45823 2014-04-03  Will Newton  <will.newton@linaro.org>
45825         * elf/dl-lookup.c (do_lookup_x): Remove comment
45826         referring to nested function and move variable
45827         declarations down to before first use.
45829 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
45831         [BZ #16799]
45832         [BZ #16800]
45833         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
45834         with 0 numerator.
45835         * math/s_catanf.c (__catanf): Likewise.
45836         * math/s_catanh.c (__catanh): Likewise.
45837         * math/s_catanhf.c (__catanhf): Likewise.
45838         * math/s_catanhl.c (__catanhl): Likewise.
45839         * math/s_catanl.c (__catanl): Likewise.
45840         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
45841         by positive zero when computing -Inf result.
45842         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
45843         (catanh_test): Likewise.
45844         * sysdeps/i386/fpu/libm-test-ulps: Update.
45845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45847         [BZ #16789]
45848         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
45849         instead of using underflowing value in computing result.
45850         * math/s_clog10.c (__clog10): Likewise.
45851         * math/s_clog10f.c (__clog10f): Likewise.
45852         * math/s_clog10l.c (__clog10l): Likewise.
45853         * math/s_clogf.c (__clogf): Likewise.
45854         * math/s_clogl.c (__clogl): Likewise.
45855         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
45856         (clog10_test): Likewise.
45857         * sysdeps/i386/fpu/libm-test-ulps: Update.
45858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45860 2014-04-02  Alan Modra  <amodra@gmail.com>
45862         [BZ #16739]
45863         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
45864         output when value is near a power of two.  Use int64_t for lx and
45865         remove casts.  Use decimal rather than hex exponent constants.
45866         Don't use long double multiplication when double will suffice.
45867         * math/libm-test.inc (nextafter_test_data): Add tests.
45868         * NEWS: Add 16739 and 16786 to bug list.
45870         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
45872         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
45874 2014-04-01  Will Newton  <will.newton@linaro.org>
45876         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
45877         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
45879 2014-04-01  Florian Weimer  <fweimer@redhat.com>
45881         [BZ #13347]
45882         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
45883         * nptl/tst-setuid2.c: New file.
45884         * nptl/Makefile (xtests): Add tst-setuid2.
45886 2014-04-01  Alan Modra  <amodra@gmail.com>
45888         [BZ #16786]
45889         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
45891 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45893         [BZ #6803]
45894         [BZ #6804]
45895         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
45896         set errno as appropriate.
45897         * math/w_scalbf.c (__scalbf): Likewise.
45898         * math/w_scalbl.c (__scalbl): Likewise.
45899         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45900         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
45901         * math/libm-test.inc (scalb_test_data): Add errno expectations.
45902         Add more NaN tests.
45904         [BZ #16349]
45905         * math/w_atan2.c: Include <errno.h>.
45906         (__atan2): Set errno for result underflowing to zero.
45907         * math/w_atan2f.c: Include <errno.h>.
45908         (__atan2f): Set errno for result underflowing to zero.
45909         * math/w_atan2l.c: Include <errno.h>.
45910         (__atan2l): Set errno for result underflowing to zero.
45911         * math/auto-libm-test-in: Don't allow missing errno for some atan2
45912         tests.
45913         * math/auto-libm-test-out: Regenerated.
45915 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45917         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
45918         Encode instruction correctly in little endian.
45919         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
45920         Likewise.
45921         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
45922         Likewise.
45923         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
45924         Likewise.
45925         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
45926         Likewise.
45928 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45930         [BZ #9894]
45931         * sysdeps/unix/sysv/linux/kernel-features.h
45932         [__sparc__ && !__arch64__ && !__sparc_v9__]
45933         (__ASSUME_SET_ROBUST_LIST): Do not define.
45934         [__sparc__ && !__arch64__ && !__sparc_v9__]
45935         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45936         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
45937         Likewise.
45938         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45939         (__ASSUME_FUTEX_LOCK_PI): Undefine.
45940         (__ASSUME_REQUEUE_PI): Likewise.
45941         (__ASSUME_SET_ROBUST_LIST): Likewise.
45942         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45943         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
45944         Undefine.
45945         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45946         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
45947         Likewise.
45948         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
45949         Likewise.
45950         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
45951         Likewise.
45952         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45953         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
45954         Undefine.
45955         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
45956         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
45957         Likewise.
45959         [BZ #16648]
45960         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45961         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
45962         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
45964 2014-03-31  Will Newton  <will.newton@linaro.org>
45966         * benchtests/Makefile (bench): Add ffs and ffsll to list
45967         of tests.
45968         * benchtests/ffs-inputs: New file.
45969         * benchtests/ffsll-inputs: Likewise.
45971 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
45973         [BZ #16770]
45974         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
45975         too large before casting to int.
45976         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
45977         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
45978         * math/libm-test.inc (scalb_test_data): Add more tests.
45980 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45982         * benchtests/Makefile (DETAILED_OPT): New make option.
45983         (bench-func): Run benchmark program with -d if DETAILED_OPT is
45984         set.
45985         * benchtests/bench-skeleton.c: Include stdbool.h.
45986         (main): Store and print timings per input.
45987         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
45988         member to each argument value.
45989         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
45990         (_print_arg_data): Initialize per-input timing to 0.
45992         * benchtests/Makefile (timing-type): New binary.
45993         (bench-clean): Also remove bench-timing-type.
45994         (bench): New target for timing-type.
45995         (bench-func): Print output in JSON format.
45996         * benchtests/bench-skeleton.c (main): Print output in JSON
45997         format.
45998         * benchtests/bench-timing-type.c: New file.
45999         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46000         (TIMING_PRINT_STATS): Remove.
46001         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46002         name separately.
46004         * benchtests/bench-modf.c: Remove.
46005         * benchtests/modf-inputs: New inputs file.
46007 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46009         [BZ #16362]
46010         * math/s_clog10.c (M_PI_LOG10E): New macro.
46011         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46012         imaginary parts are 0.
46013         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46014         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46015         imaginary parts are 0.
46016         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46017         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46018         imaginary parts are 0.
46019         * math/libm-test.inc (clog10_test_data): Update expected results
46020         for when real and imaginary parts are 0.
46022 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46024         * elf/dl-load.c: Finish conversion of __builtin_expect into
46025         __glibc_{un}likely.
46027 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46029         [BZ #16348]
46030         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46031         1+x for argument with exponent below -67.
46032         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46033         Likewise.
46034         * math/auto-libm-test-in: Add more tests of exp.
46035         * math/auto-libm-test-out: Regenerated.
46037 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46039         [BZ #16759]
46040         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46041         (nscd_getnetgrent): Use it.
46043         [BZ #16760]
46044         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46045         of stpcpy.
46047 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46049         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46050         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46051         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46052         (lll_robust_unlock): Remove out of line section. Use cfi
46053         intrinsics.
46054         (LLL_STUB_UNWIND_INFO*): Remove.
46055         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46056         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46057         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46058         (lll_robust_unlock): Remove out of line section. Use cfi
46059         intrinsics.
46060         (LLL_STUB_UNWIND_INFO*): Remove.
46062 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46064         [BZ #16758]
46065         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46066         blank values.
46068 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46070         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46072 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46074         [BZ #16198]
46075         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46076         fnstenv.
46077         * math/test-fenv-preserve.c: New file.
46078         * math/Makefile (tests): Add test-fenv-preserve.
46080 2014-03-26  Will Newton <will.newton@linaro.org>
46082         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46084 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46086         * scripts/versionlist.awk: Partition the version sets and emit all
46087         GLIBC_* (sorted) before all others (sorted).
46089 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46091         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46092         GLIBC_2.2.5 version.
46094 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46096         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46097         calls.
46099         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46100         previous change.
46102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46104 2014-03-25  Andreas Schwab  <schwab@suse.de>
46106         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46107         label to be used after in6ailist is initialized.
46109 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46111         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46112         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46114 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46116         [BZ #16357]
46117         [BZ #16599]
46118         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46119         min_plus_half.
46120         (fp_formats): Update initializers.
46121         (init_fp_formats): Initialize new field.
46122         (output_for_one_input_case): Allow underflow for results up to
46123         min_plus_half.
46124         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46125         * math/auto-libm-test-in: Don't mark some underflows from asin and
46126         atanh as spurious.
46127         * math/auto-libm-test-out: Regenerated.
46128         * sysdeps/i386/fpu/libm-test-ulps: Update.
46129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46131 2014-03-25  Andreas Schwab  <schwab@suse.de>
46133         * libio/Makefile (tst-ftell-partial-wide-ENV)
46134         (tst-ftell-active-handler-ENV): Define.
46136 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46138         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46140 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46142         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46144 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46146         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46147         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46148         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46150 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46152         [BZ #16634]
46153         * elf/dl-load.c (open_verify): Add mode parameter.
46154         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46155         (open_path): Change from boolean 'secure' to complete flag 'mode'
46156         (_dl_map_object): Adjust.
46157         * elf/Makefile (tests): Add tst-dlopen-aout.
46158         * elf/tst-dlopen-aout.c: New test.
46160 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46162         [BZ #16714]
46163         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46164         (struct stat): Rename member pad0 to __glibc_reserved0.
46166         [BZ #16712]
46167         * sysdeps/s390/s390-32/bits/wordsize.h
46168         (__WORDSIZE32_SIZE_ULONG): New define.
46169         * sysdeps/s390/s390-64/bits/wordsize.h
46170         (__WORDSIZE32_SIZE_ULONG): Likewise.
46171         * sysdeps/generic/stdint.h (SIZE_MAX):
46172         Define as UL if __WORDSIZE32_SIZE_ULONG.
46174         [BZ #16713]
46175         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46176         (__glibc_reserved0): New variable.
46177         (sa_flags): Change type to int.
46179         * posix/Makefile (before-compile): Use += before-compile instead
46180         of a :=.
46182         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46183         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46185 2014-03-20  Andreas Schwab  <schwab@suse.de>
46187         [BZ #16743]
46188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46189         non-matching result from nscd.
46191 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46193         * scripts/bench.py: Moved to ...
46194         * benchtests/scripts/bench.py: ... here.
46195         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46197 2014-03-24  Andreas Schwab  <schwab@suse.de>
46199         [BZ #16002]
46200         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46201         alloca_account and account alloca use for struct in6ailist.
46203 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46205         [BZ #16284]
46206         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46207         rounding mode to recompute results that overflow to infinity or
46208         underflow to zero.
46209         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46210         bug 16284.
46211         * math/auto-libm-test-out: Regenerated.
46212         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46213         (ccosh_test): Likewise.
46214         (csin_test_data): Use plus_oflow.
46215         (csin_test): Use ALL_RM_TEST.
46216         (csinh_test_data): Use plus_oflow.
46217         (csinh_test): Use ALL_RM_TEST.
46218         * sysdeps/i386/fpu/libm-test-ulps: Update.
46219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46221 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46223         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46224         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46225         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46227         [BZ #16731]
46228         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46229         when x - 1 is zero.
46230         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46231         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46232         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46233         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46234         argument is 1.
46235         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46236         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46237         zero.
46238         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46239         * sysdeps/i386/fpu/libm-test-ulps: Update.
46240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46242 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46244         * scripts/bench.pl: Remove file.
46245         * scripts/bench.py: New benchmark script.
46246         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46247         * benchtests/README: Mention python dependency.
46248         * scripts/pylintrc: New file.
46249         * scripts/pylint: New file.
46251         * bits/mathdef.h: Use #ifdef instead of #if.
46252         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46253         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46254         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46255         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46256         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46257         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46259 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46260             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46262         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46264         and strpbrk-ppc64 objects.
46265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46266         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46267         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46268         multiarch strpbrk for POWER7.
46269         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46270         multiarch strpbrk for PPC64.
46271         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46272         ifunc selector.
46273         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46274         strpbrk for POWER7.
46276 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46278         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46279         (atan_test): Likewise.
46280         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46281         (atanh_test): Use ALL_RM_TEST.
46282         (atan2_test_data): Likewise.
46283         (cabs_test): Likewise.
46284         (cacosh_test): Likewise.
46285         (carg_test): Likewise.
46286         (casin_test): Likewise.
46287         (casinh_test): Likewise.
46288         (cbrt_test): Likewise.
46289         (csqrt_test): Likewise.
46290         (erf_test): Likewise.
46291         (erfc_test): Likewise.
46292         (pow10_test): Likewise.
46293         (exp2_test): Likewise.
46294         (hypot_test): Likewise.
46295         (j0_test): Likewise.
46296         (j1_test): Likewise.
46297         (lgamma_test): Likewise.
46298         (gamma_test): Likewise.
46299         (sincos_test): Likewise.
46300         (tanh_test): Likewise.
46301         (y0_test): Likewise.
46302         (y1_test): Likewise.
46303         * sysdeps/i386/fpu/libm-test-ulps: Update.
46304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46306 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46308         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46310         and strcspn-ppc64 objects.
46311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46312         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46313         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46314         multiarch strcspn for POWER7.
46315         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46316         multiarch strcspn for PPC64.
46317         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46318         ifunc selector.
46319         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46320         strcspn for POWER7.
46322 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46324         * math/gen-libm-test.pl (generate_testfile): Expect only function
46325         name as argument to AUTO_TESTS_* and pass results for all rounding
46326         modes to parse_args.
46327         (parse_auto_input): Separate inputs of automatic tests from
46328         outputs before storing in %auto_tests.
46329         * math/libm-test.inc (acos_test_data): Update call to
46330         AUTO_TESTS_f_f.
46331         (acos_test): Use ALL_RM_TEST.
46332         (acos_tonearest_test_data): Remove.
46333         (acos_test_tonearest): Likewise.
46334         (acos_towardzero_test_data): Likewise.
46335         (acos_test_towardzero): Likewise.
46336         (acos_downward_test_data): Likewise.
46337         (acos_test_downward): Likewise.
46338         (acos_upward_test_data): Likewise.
46339         (acos_test_upward): Likewise.
46340         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46341         (asin_test_data): Likewise.
46342         (asin_test): Use ALL_RM_TEST.
46343         (asin_tonearest_test_data): Remove.
46344         (asin_test_tonearest): Likewise.
46345         (asin_towardzero_test_data): Likewise.
46346         (asin_test_towardzero): Likewise.
46347         (asin_downward_test_data): Likewise.
46348         (asin_test_downward): Likewise.
46349         (asin_upward_test_data): Likewise.
46350         (asin_test_upward): Likewise.
46351         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46352         (atan_test_data): Likewise.
46353         (atanh_test_data): Likewise.
46354         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46355         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46356         (carg_test_data): Likewise.
46357         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46358         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46359         (ccosh_test_data): Likewise.
46360         (cexp_test_data): Likewise.
46361         (clog_test_data): Likewise.
46362         (clog10_test_data): Likewise.
46363         (cos_test_data): Update call to AUTO_TESTS_f_f.
46364         (cos_test): Use ALL_RM_TEST.
46365         (cos_tonearest_test_data): Remove.
46366         (cos_test_tonearest): Likewise.
46367         (cos_towardzero_test_data): Likewise.
46368         (cos_test_towardzero): Likewise.
46369         (cos_downward_test_data): Likewise.
46370         (cos_test_downward): Likewise.
46371         (cos_upward_test_data): Likewise.
46372         (cos_test_upward): Likewise.
46373         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46374         (cosh_test): Use ALL_RM_TEST.
46375         (cosh_tonearest_test_data): Remove.
46376         (cosh_test_tonearest): Likewise.
46377         (cosh_towardzero_test_data): Likewise.
46378         (cosh_test_towardzero): Likewise.
46379         (cosh_downward_test_data): Likewise.
46380         (cosh_test_downward): Likewise.
46381         (cosh_upward_test_data): Likewise.
46382         (cosh_test_upward): Likewise.
46383         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46384         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46385         (ctan_test_data): Likewise.
46386         (ctan_test): Use ALL_RM_TEST.
46387         (ctan_tonearest_test_data): Remove.
46388         (ctan_test_tonearest): Likewise.
46389         (ctan_towardzero_test_data): Likewise.
46390         (ctan_test_towardzero): Likewise.
46391         (ctan_downward_test_data): Likewise.
46392         (ctan_test_downward): Likewise.
46393         (ctan_upward_test_data): Likewise.
46394         (ctan_test_upward): Likewise.
46395         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46396         (ctanh_test): Use ALL_RM_TEST.
46397         (ctanh_tonearest_test_data): Remove.
46398         (ctanh_test_tonearest): Likewise.
46399         (ctanh_towardzero_test_data): Likewise.
46400         (ctanh_test_towardzero): Likewise.
46401         (ctanh_downward_test_data): Likewise.
46402         (ctanh_test_downward): Likewise.
46403         (ctanh_upward_test_data): Likewise.
46404         (ctanh_test_upward): Likewise.
46405         (erf_test_data): Update call to AUTO_TESTS_f_f.
46406         (erfc_test_data): Likewise.
46407         (exp_test_data): Likewise.
46408         (exp_test): Use ALL_RM_TEST.
46409         (exp_tonearest_test_data): Remove.
46410         (exp_test_tonearest): Likewise.
46411         (exp_towardzero_test_data): Likewise.
46412         (exp_test_towardzero): Likewise.
46413         (exp_downward_test_data): Likewise.
46414         (exp_test_downward): Likewise.
46415         (exp_upward_test_data): Likewise.
46416         (exp_test_upward): Likewise.
46417         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46418         (exp10_test): Use ALL_RM_TEST.
46419         (exp10_tonearest_test_data): Remove.
46420         (exp10_test_tonearest): Likewise.
46421         (exp10_towardzero_test_data): Likewise.
46422         (exp10_test_towardzero): Likewise.
46423         (exp10_downward_test_data): Likewise.
46424         (exp10_test_downward): Likewise.
46425         (exp10_upward_test_data): Likewise.
46426         (exp10_test_upward): Likewise.
46427         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46428         (expm1_test_data): Likewise.
46429         (expm1_test): Use ALL_RM_TEST.
46430         (expm1_tonearest_test_data): Remove.
46431         (expm1_test_tonearest): Likewise.
46432         (expm1_towardzero_test_data): Likewise.
46433         (expm1_test_towardzero): Likewise.
46434         (expm1_downward_test_data): Likewise.
46435         (expm1_test_downward): Likewise.
46436         (expm1_upward_test_data): Likewise.
46437         (expm1_test_upward): Likewise.
46438         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46439         (fma_test): Use ALL_RM_TEST.
46440         (fma_towardzero_test_data): Remove.
46441         (fma_test_towardzero): Likewise.
46442         (fma_downward_test_data): Likewise.
46443         (fma_test_downward): Likewise.
46444         (fma_upward_test_data): Likewise.
46445         (fma_test_upward): Likewise.
46446         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46447         (j0_test_data): Update call to AUTO_TESTS_f_f.
46448         (j1_test_data): Likewise.
46449         (jn_test_data): Update call to AUTO_TESTS_if_f.
46450         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46451         (log_test_data): Update call to AUTO_TESTS_f_f.
46452         (log10_test_data): Likewise.
46453         (log1p_test_data): Likewise.
46454         (log2_test_data): Likewise.
46455         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46456         (pow_tonearest_test_data): Likewise.
46457         (sin_test_data): Update call to AUTO_TESTS_f_f.
46458         (sin_test): Use ALL_RM_TEST.
46459         (sin_tonearest_test_data): Remove.
46460         (sin_test_tonearest): Likewise.
46461         (sin_towardzero_test_data): Likewise.
46462         (sin_test_towardzero): Likewise.
46463         (sin_downward_test_data): Likewise.
46464         (sin_test_downward): Likewise.
46465         (sin_upward_test_data): Likewise.
46466         (sin_test_upward): Likewise.
46467         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46468         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46469         (sinh_test): Use ALL_RM_TEST.
46470         (sinh_tonearest_test_data): Remove.
46471         (sinh_test_tonearest): Likewise.
46472         (sinh_towardzero_test_data): Likewise.
46473         (sinh_test_towardzero): Likewise.
46474         (sinh_downward_test_data): Likewise.
46475         (sinh_test_downward): Likewise.
46476         (sinh_upward_test_data): Likewise.
46477         (sinh_test_upward): Likewise.
46478         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46479         (sqrt_test): Use ALL_RM_TEST.
46480         (sqrt_tonearest_test_data): Remove.
46481         (sqrt_test_tonearest): Likewise.
46482         (sqrt_towardzero_test_data): Likewise.
46483         (sqrt_test_towardzero): Likewise.
46484         (sqrt_downward_test_data): Likewise.
46485         (sqrt_test_downward): Likewise.
46486         (sqrt_upward_test_data): Likewise.
46487         (sqrt_test_upward): Likewise.
46488         (tan_test_data): Update call to AUTO_TESTS_f_f.
46489         (tan_test): Use ALL_RM_TEST.
46490         (tan_tonearest_test_data): Remove.
46491         (tan_test_tonearest): Likewise.
46492         (tan_towardzero_test_data): Likewise.
46493         (tan_test_towardzero): Likewise.
46494         (tan_downward_test_data): Likewise.
46495         (tan_test_downward): Likewise.
46496         (tan_upward_test_data): Likewise.
46497         (tan_test_upward): Likewise.
46498         (tanh_test_data): Update call to AUTO_TESTS_f_f.
46499         (tgamma_test_data): Likewise.
46500         (y0_test_data): Likewise.
46501         (y1_test_data): Likewise.
46502         (yn_test_data): Update call to AUTO_TESTS_if_f.
46503         (main): Do not call removed functions.
46505 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46507         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
46508         (ldexp_test_data): Remove.
46509         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
46510         scalbn_test_data.
46511         (scalb_test): Use ALL_RM_TEST.
46513 2014-03-19  Andreas Schwab  <schwab@suse.de>
46515         * nscd/nscd.service: Also invalidate netgroup cache on reload.
46517 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46519         [BZ #16649]
46520         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46521         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
46522         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
46523         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46524         (__ASSUME_PREADV): Undefine.
46525         (__ASSUME_PWRITEV): Likewise.
46527 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46529         * bits/mman-linux.h: Add comment about non-Linux use.
46530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
46531         bits/mman-linux.h resting place.
46533         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
46534         * bits/mman-linux.h: ... here.
46536 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46538         * conform/conformtest.pl: Add standard definition when calling C
46539         preprocessor on data files.
46540         (checknamespace): Remove unused variable.
46542 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46544         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
46545         minus_oflow, plus_uflow and minus_uflow in expected results.
46546         * math/libm-test.inc (scalbn_test_data): Add more tests of
46547         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
46548         minus_uflow.
46549         (scalbn_test): Use ALL_RM_TEST.
46550         (scalbln_test_data): Add more tests of negative arguments.  Use
46551         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
46552         (scalbln_test): Use ALL_RM_TEST.
46554 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46556         * scripts/abilist.awk: Ignore symbols marked with .hidden.
46558 2014-03-18  Will Newton  <will.newton@linaro.org>
46560         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
46561         inaccurate comment.
46563 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46565         * Makerules [!subdir] (check-abi): Exit with error status if a
46566         test failed.
46568 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46570         * math/libm-test.inc (nearbyint_test_data): Include all tests used
46571         for rint.  Include results for all rounding modes.
46572         (nearbyint_test): Use ALL_RM_TEST.
46573         (rint_test_data): Include all tests used for nearbyint.
46575 2014-03-17  Will Newton  <will.newton@linaro.org>
46577         * nptl/sysdeps/pthread/pthread.h: Revert previous
46578         change.
46580         * sysdeps/generic/ldsodefs.h: Revert previous
46581         change.
46583         * libio/genops.c: Revert previous change.
46584         * libio/libioP.h: Likewise.
46585         * stdio-common/vfprintf.c: Likewise.
46587         * sysdeps/generic/math_private.h: Revert previous
46588         change.
46590         * sysdeps/generic/math_private.h: Check whether
46591         HAVE_RM_CTX is defined with #ifdef rather
46592         than #if.
46594         * argp/argp-fmtstream.h: Check whether
46595         __STRICT_ANSI__ is defined with #ifdef rather
46596         than #if.
46597         * argp/argp.h: Likewise.
46599         * libio/genops.c: Check whether
46600         _IO_JUMPS_OFFSET is defined with #ifdef rather
46601         than #if.
46602         * libio/libioP.h: Likewise.
46603         * stdio-common/vfprintf.c: Likewise.
46605         * sysdeps/generic/ldsodefs.h: Check whether
46606         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
46607         than #if.
46609         * nptl/sysdeps/pthread/pthread.h: Check
46610         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
46611         its value.
46613 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46615         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
46616         setting O_APPEND.
46617         * libio/tst-ftell-active-handler.c (do_append_test): Add a
46618         test case.
46620         [BZ #16680]
46621         * libio/fileops.c (_IO_file_open): Seek to end of file but
46622         don't cache the offset.
46623         (get_file_offset): Remove function.
46624         (do_ftell): Use cached offset when available.
46625         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
46626         don't cache the offset.
46627         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
46628         case.
46629         (do_one_test): Call it.
46630         (do_ftell_test): Fix up expected old offset for a+ mode.
46631         * libio/wfileops.c (do_ftell_wide): Used cached offset when
46632         available.
46634         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
46635         up test status with function return status.
46636         (do_write_test): Likewise.
46637         (do_append_test): Likewise.
46639         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
46640         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
46641         Remove.
46643 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46645         * math/gen-libm-test.pl (parse_args): Handle results specified for
46646         each rounding mode separately.
46647         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
46648         tests and results from lrint_tonearest_test_data,
46649         lrint_towardzero_test_data, lrint_downward_test_data and
46650         lrint_upward_test_data.
46651         (lrint_test): Use ALL_RM_TEST.
46652         (lrint_tonearest_test_data): Remove.
46653         (lrint_test_tonearest): Likewise.
46654         (lrint_towardzero_test_data): Likewise.
46655         (lrint_test_towardzero): Likewise.
46656         (lrint_downward_test_data): Likewise.
46657         (lrint_test_downward): Likewise.
46658         (lrint_upward_test_data): Likewise.
46659         (lrint_test_upward): Likewise.
46660         (llrint_test_data): Merge in per-rounding-mode tests and results
46661         from llrint_tonearest_test_data, llrint_towardzero_test_data,
46662         llrint_downward_test_data and llrint_upward_test_data.
46663         (llrint_test): Use ALL_RM_TEST.
46664         (llrint_tonearest_test_data): Remove.
46665         (llrint_test_tonearest): Likewise.
46666         (llrint_towardzero_test_data): Likewise.
46667         (llrint_test_towardzero): Likewise.
46668         (llrint_downward_test_data): Likewise.
46669         (llrint_test_downward): Likewise.
46670         (llrint_upward_test_data): Likewise.
46671         (llrint_test_upward): Likewise.
46672         (rint_test_data): Merge in per-rounding-mode tests and results
46673         from rint_tonearest_test_data, rint_towardzero_test_data,
46674         rint_downward_test_data and rint_upward_test_data.  Add
46675         per-rounding-mode results for tests not in those arrays.
46676         (rint_test): Use ALL_RM_TEST.
46677         (rint_tonearest_test_data): Remove.
46678         (rint_test_tonearest): Likewise.
46679         (rint_towardzero_test_data): Likewise.
46680         (rint_test_towardzero): Likewise.
46681         (rint_downward_test_data): Likewise.
46682         (rint_test_downward): Likewise.
46683         (rint_upward_test_data): Likewise.
46684         (rint_test_upward): Likewise.
46685         (main): Don't call removed functions.
46687 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46689         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
46690         "Compiled on ..." crapola.  It is anti-useful.
46692 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
46694         * scripts/evaluate-test.sh: Handle fourth argument to determine
46695         whether test run should stop on failure.
46696         * Makeconfig (stop-on-test-failure): New variable.
46697         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
46698         $(stop-on-test-failure).
46699         * Makefile (tests): Give a summary of results from testing and
46700         exit with failure status if they include an ERROR or FAIL.
46701         (xtests): Likewise.
46702         * manual/install.texi (Configuring and compiling): Mention
46703         stop-on-test-failure=y.
46704         * INSTALL: Regenerated.
46706 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46708         * scripts/versionlist.awk: New file.
46709         * Makerules [$(build-shared) = yes]
46710         (postclean-generated): Add Versions.def, not Versions.def.v and
46711         Versions.def.v.i.
46712         ($(common-objpfx)Versions.def.v.i): Target removed.
46713         ($(common-objpfx)Versions.def): New target.
46714         ($(common-objpfx)Versions.all): Depend on that rather that
46715         $(common-objpfx)Versions.def.v.
46716         * Versions.def: File removed.
46718         * Makeconfig (+gccwarn): Add -Wundef.
46719         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
46720         a dl-sysdep.h breaking its contract.
46721         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
46722         * include/stackinfo.h: New file.
46723         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
46724         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
46725         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
46726         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
46727         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
46728         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
46729         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46730         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46731         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46732         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46733         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46734         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
46735         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46736         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46737         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46739 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46741         [BZ #16707]
46742         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
46743         implementation.
46744         * math/libm-test.inc (round_test_data): Add more tests.
46746         [BZ #16706]
46747         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
46748         implementation.
46749         * math/libm-test.inc (nearbyint_test_data): Add more tests.
46751         [BZ #16701]
46752         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
46753         implementation.
46754         * math/libm-test.inc (ceil_test_data): Add more tests.
46756         * math/libm-test.inc (trunc_test_data): Add more tests related to
46757         BZ#16414.
46759 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46761         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
46762         with #if rather than #ifdef.
46763         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46765 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46767         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46768         first.  Disable AVX-512 GCC support if assembler doesn't support
46769         it.
46770         * sysdeps/x86_64/configure: Regenerated.
46772 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46774         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46775         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46776         (__old_pthread_attr_setstack): Likewise.
46777         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46778         [!_STACK_GROWS_DOWN]: Likewise.
46780 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46782         * config.make.in (have-bash2): Delete.
46783         * configure.ac (libc_cv_have_bash2): Delete.
46784         * configure: Regenerate.
46785         * elf/Makefile (common-ldd-rewrite): Rename to ...
46786         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46787         (sh-ldd-rewrite): Delete.
46788         (bash-ldd-rewrite): Delete.
46789         (have-bash2): Delete checks.
46790         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46791         ldd-rewrite.
46793         * config.make.in (have-ksh): Delete.
46794         (KSH): Delete.
46795         * configure.ac (libc_cv_have_ksh): Delete.
46796         * configure: Regenerate.
46798         * elf/Makefile: Delete $(have-ksh) check.
46799         ($(objpfx)sotruss): Change KSH to BASH.
46800         * elf/sotruss.ksh: Rename to ...
46801         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46802         function style to match POSIX.  Drop ksh vim mode setting.
46804         * manual/time.texi (Specifying the Time Zone with TZ): Change
46805         Tuesday to Thursday.
46807         * debug/tst-longjmp_chk2.c: Update header comment.
46808         (stackoverflow_handler): Add comment.  Call assert on pass value.
46810 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
46812         [BZ #16194]
46813         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
46814         (HAVE_AVX512_ASM_SUPPORT): Likewise.
46815         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
46816         (La_x86_64_vector): Add zmm.
46817         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
46818         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
46819         ($(objpfx)tst-audit10): New target.
46820         ($(objpfx)tst-audit10.out): Likewise.
46821         (tst-audit10-ENV): New.
46822         (AVX512-CFLAGS): Likewise.
46823         (CFLAGS-tst-audit10.c): Likewise.
46824         (CFLAGS-tst-auditmod10a.c): Likewise.
46825         (CFLAGS-tst-auditmod10b.c): Likewise.
46826         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
46827         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
46828         * sysdeps/x86_64/configure: Regenerated.
46829         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
46830         AVX-512 zmm register support.
46831         (_dl_x86_64_save_sse): Likewise.
46832         (_dl_x86_64_restore_sse): Likewise.
46833         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
46834         size vector registers.
46835         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
46836         (ZMM_SIZE): Likewise.
46837         * sysdeps/x86_64/tst-audit10.c: New file.
46838         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
46839         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
46841 2014-03-13  Roland McGrath  <roland@hack.frob.com>
46843         * configure.ac (HAVE_EHDR_START): New check.
46844         * configure: Regenerated.
46845         * config.h.in (HAVE_EHDR_START): New #undef.
46846         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
46847         assuming the lowest-addressed segment maps the start of the file.
46849 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
46851         * INSTALL: Regenerated.
46853 2014-03-13  Will Newton  <will.newton@linaro.org>
46855         * manual/setjmp.texi (System V contexts): Improve
46856         clarity and grammar of documentation.
46858 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
46860         [BZ #16381]
46861         * elf/Makefile (tests): Add tst-pie2.
46862         (tests-pie): Add tst-pie2.
46863         * elf/tst-pie2.c: New file.
46864         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
46865         for ET_EXEC.
46866         * elf/rtld.c (map_doit): Load executable as lt_executable.
46867         (dl_main): Likewise.
46869 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
46871         [BZ #16642]
46872         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46873         (__ASSUME_PSELECT): Undefine.
46875 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46877         [BZ #16689]
46878         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
46879         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
46880         static build.
46881         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
46882         selector for static builds.
46884 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46886         [BZ #16695]
46887         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
46888         key in the buffer.
46890 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46892         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
46893         IFUNC selector for static builds.
46895 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
46897         * sysdeps/mips/math_private.h [__mips_hard_float]
46898         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
46899         libc_feresetround_mips_ctx.
46900         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
46901         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
46902         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
46904         [BZ #16677]
46905         * math/s_nextafter.c (__nextafter): Do not return value from
46906         overflowing computation.
46907         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
46908         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
46909         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
46910         Likewise.
46911         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
46912         Likewise.
46913         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
46914         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
46916 2014-03-11  Roland McGrath  <roland@hack.frob.com>
46918         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
46919         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
46920         Move sfi_sp use from the load-multiple (that no longer sets sp) to
46921         the new mov targetting sp.
46923 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46925         [BZ #16683]
46926         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
46927         Define it for static builds as well.
46928         (NO_BZERO_IMPL): Likewise.
46930 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46932         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
46933         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
46934         multiarch strspn for PPC64.
46935         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
46936         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
46937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46938         (__libc_ifunc_impl_list): Likewise.
46939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
46940         multiarch optimizations
46941         * string/strspn.c (strspn): Using macro to redefine symbol name.
46943 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46944             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46946         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
46947         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
46948         multiarch strncat for PPC64.
46949         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
46950         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
46951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46952         (__libc_ifunc_impl_list): Likewise.
46953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46954         multiarch optimizations
46956 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46958         [BZ #16639]
46959         * nscd/nscd.service: Make service type forking.
46961 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46963         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
46964         sign in non default rounding modes.
46965         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
46967 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
46969         * math/libm-test.inc (ALL_RM_TEST): New macro.
46970         (ceil_test): Use ALL_RM_TEST.
46971         (cimag_test): Likewise.
46972         (conj_test): Likewise.
46973         (copysign_test): Likewise.
46974         (cproj_test): Likewise.
46975         (creal_test): Likewise.
46976         (fabs_test): Likewise.
46977         (floor_test): Likewise.
46978         (fmax_test): Likewise.
46979         (fmin_test): Likewise.
46980         (fmod_test): Likewise.
46981         (fpclassify_test): Likewise.
46982         (frexp_test): Likewise.
46983         (ilogb_test): Likewise.
46984         (isfinite_test): Likewise.
46985         (finite_test): Likewise.
46986         (isgreater_test): Likewise.
46987         (isgreaterequal_test): Likewise.
46988         (isinf_test): Likewise.
46989         (isless_test): Likewise.
46990         (islessequal_test): Likewise.
46991         (islessgreater_test): Likewise.
46992         (isnan_test): Likewise.
46993         (isnormal_test): Likewise.
46994         (issignaling_test): Likewise.
46995         (isunordered_test): Likewise.
46996         (logb_test): Likewise.
46997         (logb_downward_test_data): Remove.
46998         (logb_test_downward): Likewise.
46999         (lround_test): Use ALL_RM_TEST.
47000         (llround_test): Likewise.
47001         (modf_test): Likewise.
47002         (nexttoward_test): Likewise.
47003         (remainder_test): Likewise.
47004         (drem_test): Likewise.
47005         (remainder_tonearest_test_data): Likewise.
47006         (remainder_test_tonearest): Likewise.
47007         (drem_test_tonearest): Likewise.
47008         (remainder_towardzero_test_data): Likewise.
47009         (remainder_test_towardzero): Likewise.
47010         (drem_test_towardzero): Likewise.
47011         (remainder_downward_test_data): Likewise.
47012         (remainder_test_downward): Likewise.
47013         (drem_test_downward): Likewise.
47014         (remainder_upward_test_data): Likewise.
47015         (remainder_test_upward): Likewise.
47016         (drem_test_upward): Likewise.
47017         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47018         (round_test): Use ALL_RM_TEST.
47019         (signbit_test): Likewise.
47020         (trunc_test): Likewise.
47021         (significand_test): Likewise.
47022         (main): Don't call removed functions.
47024 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47026         [BZ #16674]
47027         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47028         || __USE_XOPEN2K8].
47029         (ILL_ILLOPN): Likewise.
47030         (ILL_ILLADR): Likewise.
47031         (ILL_ILLTRP): Likewise.
47032         (ILL_PRVOPC): Likewise.
47033         (ILL_PRVREG): Likewise.
47034         (ILL_COPROC): Likewise.
47035         (ILL_BADSTK): Likewise.
47036         (FPE_INTDIV): Likewise.
47037         (FPE_INTOVF): Likewise.
47038         (FPE_FLTDIV): Likewise.
47039         (FPE_FLTOVF): Likewise.
47040         (FPE_FLTUND): Likewise.
47041         (FPE_FLTRES): Likewise.
47042         (FPE_FLTINV): Likewise.
47043         (FPE_FLTSUB): Likewise.
47044         (SEGV_MAPERR): Likewise.
47045         (SEGV_ACCERR): Likewise.
47046         (BUS_ADRALN): Likewise.
47047         (BUS_ADRERR): Likewise.
47048         (BUS_OBJERR): Likewise.
47049         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47050         (TRAP_TRACE): Likewise.
47051         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47052         __USE_XOPEN2K8].
47053         (CLD_KILLED): Likewise.
47054         (CLD_DUMPED): Likewise.
47055         (CLD_TRAPPED): Likewise.
47056         (CLD_STOPPED): Likewise.
47057         (CLD_CONTINUED): Likewise.
47058         (POLL_IN): Likewise.
47059         (POLL_OUT): Likewise.
47060         (POLL_MSG): Likewise.
47061         (POLL_ERR): Likewise.
47062         (POLL_PRI): Likewise.
47063         (POLL_HUP): Likewise.
47064         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47065         Likewise.
47066         (ILL_ILLOPN): Likewise.
47067         (ILL_ILLADR): Likewise.
47068         (ILL_ILLTRP): Likewise.
47069         (ILL_PRVOPC): Likewise.
47070         (ILL_PRVREG): Likewise.
47071         (ILL_COPROC): Likewise.
47072         (ILL_BADSTK): Likewise.
47073         (FPE_INTDIV): Likewise.
47074         (FPE_INTOVF): Likewise.
47075         (FPE_FLTDIV): Likewise.
47076         (FPE_FLTOVF): Likewise.
47077         (FPE_FLTUND): Likewise.
47078         (FPE_FLTRES): Likewise.
47079         (FPE_FLTINV): Likewise.
47080         (FPE_FLTSUB): Likewise.
47081         (SEGV_MAPERR): Likewise.
47082         (SEGV_ACCERR): Likewise.
47083         (BUS_ADRALN): Likewise.
47084         (BUS_ADRERR): Likewise.
47085         (BUS_OBJERR): Likewise.
47086         (BUS_MCEERR_AR): Likewise.
47087         (BUS_MCEERR_AO): Likewise.
47088         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47089         (TRAP_TRACE): Likewise.
47090         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47091         __USE_XOPEN2K8].
47092         (CLD_KILLED): Likewise.
47093         (CLD_DUMPED): Likewise.
47094         (CLD_TRAPPED): Likewise.
47095         (CLD_STOPPED): Likewise.
47096         (CLD_CONTINUED): Likewise.
47097         (POLL_IN): Likewise.
47098         (POLL_OUT): Likewise.
47099         (POLL_MSG): Likewise.
47100         (POLL_ERR): Likewise.
47101         (POLL_PRI): Likewise.
47102         (POLL_HUP): Likewise.
47103         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47104         (ILL_ILLOPN): Likewise.
47105         (ILL_ILLADR): Likewise.
47106         (ILL_ILLTRP): Likewise.
47107         (ILL_PRVOPC): Likewise.
47108         (ILL_PRVREG): Likewise.
47109         (ILL_COPROC): Likewise.
47110         (ILL_BADSTK): Likewise.
47111         (FPE_INTDIV): Likewise.
47112         (FPE_INTOVF): Likewise.
47113         (FPE_FLTDIV): Likewise.
47114         (FPE_FLTOVF): Likewise.
47115         (FPE_FLTUND): Likewise.
47116         (FPE_FLTRES): Likewise.
47117         (FPE_FLTINV): Likewise.
47118         (FPE_FLTSUB): Likewise.
47119         (SEGV_MAPERR): Likewise.
47120         (SEGV_ACCERR): Likewise.
47121         (BUS_ADRALN): Likewise.
47122         (BUS_ADRERR): Likewise.
47123         (BUS_OBJERR): Likewise.
47124         (BUS_MCEERR_AR): Likewise.
47125         (BUS_MCEERR_AO): Likewise.
47126         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47127         (TRAP_TRACE): Likewise.
47128         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47129         __USE_XOPEN2K8].
47130         (CLD_KILLED): Likewise.
47131         (CLD_DUMPED): Likewise.
47132         (CLD_TRAPPED): Likewise.
47133         (CLD_STOPPED): Likewise.
47134         (CLD_CONTINUED): Likewise.
47135         (POLL_IN): Likewise.
47136         (POLL_OUT): Likewise.
47137         (POLL_MSG): Likewise.
47138         (POLL_ERR): Likewise.
47139         (POLL_PRI): Likewise.
47140         (POLL_HUP): Likewise.
47141         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47142         Likewise.
47143         (ILL_ILLOPN): Likewise.
47144         (ILL_ILLADR): Likewise.
47145         (ILL_ILLTRP): Likewise.
47146         (ILL_PRVOPC): Likewise.
47147         (ILL_PRVREG): Likewise.
47148         (ILL_COPROC): Likewise.
47149         (ILL_BADSTK): Likewise.
47150         (ILL_BADIADDR): Likewise.
47151         (ILL_BREAK): Likewise.
47152         (FPE_INTDIV): Likewise.
47153         (FPE_INTOVF): Likewise.
47154         (FPE_FLTDIV): Likewise.
47155         (FPE_FLTOVF): Likewise.
47156         (FPE_FLTUND): Likewise.
47157         (FPE_FLTRES): Likewise.
47158         (FPE_FLTINV): Likewise.
47159         (FPE_FLTSUB): Likewise.
47160         (FPE_DECOVF): Likewise.
47161         (FPE_DECDIV): Likewise.
47162         (FPE_DECERR): Likewise.
47163         (FPE_INVASC): Likewise.
47164         (FPE_INVDEC): Likewise.
47165         (SEGV_MAPERR): Likewise.
47166         (SEGV_ACCERR): Likewise.
47167         (SEGV_PSTKOVF): Likewise.
47168         (BUS_ADRALN): Likewise.
47169         (BUS_ADRERR): Likewise.
47170         (BUS_OBJERR): Likewise.
47171         (BUS_MCEERR_AR): Likewise.
47172         (BUS_MCEERR_AO): Likewise.
47173         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47174         (TRAP_TRACE): Likewise.
47175         (TRAP_BRANCH): Likewise.
47176         (TRAP_HWBKPT): Likewise.
47177         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47178         __USE_XOPEN2K8].
47179         (CLD_KILLED): Likewise.
47180         (CLD_DUMPED): Likewise.
47181         (CLD_TRAPPED): Likewise.
47182         (CLD_STOPPED): Likewise.
47183         (CLD_CONTINUED): Likewise.
47184         (POLL_IN): Likewise.
47185         (POLL_OUT): Likewise.
47186         (POLL_MSG): Likewise.
47187         (POLL_ERR): Likewise.
47188         (POLL_PRI): Likewise.
47189         (POLL_HUP): Likewise.
47190         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47191         (ILL_ILLOPN): Likewise.
47192         (ILL_ILLADR): Likewise.
47193         (ILL_ILLTRP): Likewise.
47194         (ILL_PRVOPC): Likewise.
47195         (ILL_PRVREG): Likewise.
47196         (ILL_COPROC): Likewise.
47197         (ILL_BADSTK): Likewise.
47198         (FPE_INTDIV): Likewise.
47199         (FPE_INTOVF): Likewise.
47200         (FPE_FLTDIV): Likewise.
47201         (FPE_FLTOVF): Likewise.
47202         (FPE_FLTUND): Likewise.
47203         (FPE_FLTRES): Likewise.
47204         (FPE_FLTINV): Likewise.
47205         (FPE_FLTSUB): Likewise.
47206         (SEGV_MAPERR): Likewise.
47207         (SEGV_ACCERR): Likewise.
47208         (BUS_ADRALN): Likewise.
47209         (BUS_ADRERR): Likewise.
47210         (BUS_OBJERR): Likewise.
47211         (BUS_MCEERR_AR): Likewise.
47212         (BUS_MCEERR_AO): Likewise.
47213         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47214         (TRAP_TRACE): Likewise.
47215         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47216         __USE_XOPEN2K8].
47217         (CLD_KILLED): Likewise.
47218         (CLD_DUMPED): Likewise.
47219         (CLD_TRAPPED): Likewise.
47220         (CLD_STOPPED): Likewise.
47221         (CLD_CONTINUED): Likewise.
47222         (POLL_IN): Likewise.
47223         (POLL_OUT): Likewise.
47224         (POLL_MSG): Likewise.
47225         (POLL_ERR): Likewise.
47226         (POLL_PRI): Likewise.
47227         (POLL_HUP): Likewise.
47228         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47229         (ILL_ILLOPN): Likewise.
47230         (ILL_ILLADR): Likewise.
47231         (ILL_ILLTRP): Likewise.
47232         (ILL_PRVOPC): Likewise.
47233         (ILL_PRVREG): Likewise.
47234         (ILL_COPROC): Likewise.
47235         (ILL_BADSTK): Likewise.
47236         (FPE_INTDIV): Likewise.
47237         (FPE_INTOVF): Likewise.
47238         (FPE_FLTDIV): Likewise.
47239         (FPE_FLTOVF): Likewise.
47240         (FPE_FLTUND): Likewise.
47241         (FPE_FLTRES): Likewise.
47242         (FPE_FLTINV): Likewise.
47243         (FPE_FLTSUB): Likewise.
47244         (SEGV_MAPERR): Likewise.
47245         (SEGV_ACCERR): Likewise.
47246         (BUS_ADRALN): Likewise.
47247         (BUS_ADRERR): Likewise.
47248         (BUS_OBJERR): Likewise.
47249         (BUS_MCEERR_AR): Likewise.
47250         (BUS_MCEERR_AO): Likewise.
47251         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47252         (TRAP_TRACE): Likewise.
47253         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47254         __USE_XOPEN2K8].
47255         (CLD_KILLED): Likewise.
47256         (CLD_DUMPED): Likewise.
47257         (CLD_TRAPPED): Likewise.
47258         (CLD_STOPPED): Likewise.
47259         (CLD_CONTINUED): Likewise.
47260         (POLL_IN): Likewise.
47261         (POLL_OUT): Likewise.
47262         (POLL_MSG): Likewise.
47263         (POLL_ERR): Likewise.
47264         (POLL_PRI): Likewise.
47265         (POLL_HUP): Likewise.
47266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47267         (ILL_ILLOPN): Likewise.
47268         (ILL_ILLADR): Likewise.
47269         (ILL_ILLTRP): Likewise.
47270         (ILL_PRVOPC): Likewise.
47271         (ILL_PRVREG): Likewise.
47272         (ILL_COPROC): Likewise.
47273         (ILL_BADSTK): Likewise.
47274         (FPE_INTDIV): Likewise.
47275         (FPE_INTOVF): Likewise.
47276         (FPE_FLTDIV): Likewise.
47277         (FPE_FLTOVF): Likewise.
47278         (FPE_FLTUND): Likewise.
47279         (FPE_FLTRES): Likewise.
47280         (FPE_FLTINV): Likewise.
47281         (FPE_FLTSUB): Likewise.
47282         (SEGV_MAPERR): Likewise.
47283         (SEGV_ACCERR): Likewise.
47284         (BUS_ADRALN): Likewise.
47285         (BUS_ADRERR): Likewise.
47286         (BUS_OBJERR): Likewise.
47287         (BUS_MCEERR_AR): Likewise.
47288         (BUS_MCEERR_AO): Likewise.
47289         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47290         (TRAP_TRACE): Likewise.
47291         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47292         __USE_XOPEN2K8].
47293         (CLD_KILLED): Likewise.
47294         (CLD_DUMPED): Likewise.
47295         (CLD_TRAPPED): Likewise.
47296         (CLD_STOPPED): Likewise.
47297         (CLD_CONTINUED): Likewise.
47298         (POLL_IN): Likewise.
47299         (POLL_OUT): Likewise.
47300         (POLL_MSG): Likewise.
47301         (POLL_ERR): Likewise.
47302         (POLL_PRI): Likewise.
47303         (POLL_HUP): Likewise.
47304         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47305         (ILL_ILLOPN): Likewise.
47306         (ILL_ILLADR): Likewise.
47307         (ILL_ILLTRP): Likewise.
47308         (ILL_PRVOPC): Likewise.
47309         (ILL_PRVREG): Likewise.
47310         (ILL_COPROC): Likewise.
47311         (ILL_BADSTK): Likewise.
47312         (ILL_DBLFLT): Likewise.
47313         (ILL_HARDWALL): Likewise.
47314         (FPE_INTDIV): Likewise.
47315         (FPE_INTOVF): Likewise.
47316         (FPE_FLTDIV): Likewise.
47317         (FPE_FLTOVF): Likewise.
47318         (FPE_FLTUND): Likewise.
47319         (FPE_FLTRES): Likewise.
47320         (FPE_FLTINV): Likewise.
47321         (FPE_FLTSUB): Likewise.
47322         (SEGV_MAPERR): Likewise.
47323         (SEGV_ACCERR): Likewise.
47324         (BUS_ADRALN): Likewise.
47325         (BUS_ADRERR): Likewise.
47326         (BUS_OBJERR): Likewise.
47327         (BUS_MCEERR_AR): Likewise.
47328         (BUS_MCEERR_AO): Likewise.
47329         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47330         (TRAP_TRACE): Likewise.
47331         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47332         __USE_XOPEN2K8].
47333         (CLD_KILLED): Likewise.
47334         (CLD_DUMPED): Likewise.
47335         (CLD_TRAPPED): Likewise.
47336         (CLD_STOPPED): Likewise.
47337         (CLD_CONTINUED): Likewise.
47338         (POLL_IN): Likewise.
47339         (POLL_OUT): Likewise.
47340         (POLL_MSG): Likewise.
47341         (POLL_ERR): Likewise.
47342         (POLL_PRI): Likewise.
47343         (POLL_HUP): Likewise.
47344         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47345         (ILL_ILLOPN): Likewise.
47346         (ILL_ILLADR): Likewise.
47347         (ILL_ILLTRP): Likewise.
47348         (ILL_PRVOPC): Likewise.
47349         (ILL_PRVREG): Likewise.
47350         (ILL_COPROC): Likewise.
47351         (ILL_BADSTK): Likewise.
47352         (FPE_INTDIV): Likewise.
47353         (FPE_INTOVF): Likewise.
47354         (FPE_FLTDIV): Likewise.
47355         (FPE_FLTOVF): Likewise.
47356         (FPE_FLTUND): Likewise.
47357         (FPE_FLTRES): Likewise.
47358         (FPE_FLTINV): Likewise.
47359         (FPE_FLTSUB): Likewise.
47360         (SEGV_MAPERR): Likewise.
47361         (SEGV_ACCERR): Likewise.
47362         (BUS_ADRALN): Likewise.
47363         (BUS_ADRERR): Likewise.
47364         (BUS_OBJERR): Likewise.
47365         (BUS_MCEERR_AR): Likewise.
47366         (BUS_MCEERR_AO): Likewise.
47367         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47368         (TRAP_TRACE): Likewise.
47369         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47370         __USE_XOPEN2K8].
47371         (CLD_KILLED): Likewise.
47372         (CLD_DUMPED): Likewise.
47373         (CLD_TRAPPED): Likewise.
47374         (CLD_STOPPED): Likewise.
47375         (CLD_CONTINUED): Likewise.
47376         (POLL_IN): Likewise.
47377         (POLL_OUT): Likewise.
47378         (POLL_MSG): Likewise.
47379         (POLL_ERR): Likewise.
47380         (POLL_PRI): Likewise.
47381         (POLL_HUP): Likewise.
47382         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47383         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47385         [BZ #16670]
47386         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47387         before #include of <time.h>.
47388         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47389         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47390         (test-xfail-UNIX98/sched.h/conform): Likewise.
47392 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47394         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47395         error absence of trapping exception support.
47396         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47398 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47400         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47401         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47402         * timezone/Makefile (testdata): Move definition above include of
47403         Rules.
47404         (test-zones): New variable.
47405         (tests-special): Add zone files.
47406         (build-testdata): Use $(evaluate-test).
47408         * elf/Makefile (tests-special): Rename tests to end with .out.
47409         ($(objpfx)noload-mem): Likewise.
47410         ($(objpfx)tst-leaks1-mem): Likewise.
47411         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47412         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47413         $(objpfx)test-iconvconfig.out.
47414         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47415         set -e inside subshell and redirect output to file.
47416         * iconvdata/Makefile (generated): Rename tests to end with .out.
47417         Correct type.
47418         (tests-special): Rename tests to end with .out.
47419         ($(objpfx)mtrace-tst-loading): Likewise.
47420         * intl/Makefile (generated): Likewise.
47421         (tests-special): Likewise.
47422         ($(objpfx)mtrace-tst-gettext): Likewise.
47423         * misc/Makefile (generated): Likewise.
47424         (tests-special): Likewise.
47425         ($(objpfx)tst-error1-mem): Likewise.
47426         * nptl/Makefile (tests-special): Likewise.
47427         ($(objpfx)tst-stack3-mem): Likewise.
47428         (generated): Likewise.
47429         * posix/Makefile (generated): Likewise.
47430         (tests-special): Likewise.
47431         (xtests-special): Likewise.
47432         ($(objpfx)tst-fnmatch-mem): Likewise.
47433         ($(objpfx)bug-regex2-mem): Likewise.
47434         ($(objpfx)bug-regex14-mem): Likewise.
47435         ($(objpfx)bug-regex21-mem): Likewise.
47436         ($(objpfx)bug-regex31-mem): Likewise.
47437         ($(objpfx)tst-vfork3-mem): Likewise.
47438         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47439         ($(objpfx)tst-pcre-mem): Likewise.
47440         ($(objpfx)tst-boost-mem): Likewise.
47441         ($(objpfx)bug-ga2-mem): Likewise.
47442         ($(objpfx)bug-glob2-mem): Likewise.
47443         * resolv/Makefile (generate): Likewise.
47444         (tests-special): Likewise.
47445         (xtests-special): Likewise.
47446         (generated): Likewise.
47447         ($(objpfx)mtrace-tst-leaks): Likewise.
47448         ($(objpfx)mtrace-tst-leaks2): Likewise.
47450         * scripts/merge-test-results.sh: New file.
47451         * Makefile (tests-special-notdir): New variable.
47452         (tests): Run merge-test-results.sh.
47453         (xtests): Likewise.
47454         * Rules (tests-special-notdir): New variable.
47455         (xtests-special-notdir): Likewise.
47456         (tests): Run merge-test-results.sh
47457         (xtests): Likewise.
47459         * Makeconfig (test-xfail-name): New variable.
47460         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47461         compute variable name for expected failures.
47462         * conform/Makefile (conformtest-headers-data): New variable.
47463         (conformtest-standards): Likewise.
47464         (conformtest-headers-ISO): Likewise.
47465         (conformtest-headers-ISO99): Likewise.
47466         (conformtest-headers-ISO11): Likewise.
47467         (conformtest-headers-POSIX): Likewise.
47468         (conformtest-headers-XPG3): Likewise.
47469         (conformtest-headers-XPG4): Likewise.
47470         (conformtest-headers-UNIX98): Likewise.
47471         (conformtest-headers-XOPEN2K): Likewise.
47472         (conformtest-headers-POSIX2008): Likewise.
47473         (conformtest-headers-XOPEN2K8): Likewise.
47474         (conformtest-header-list-base): Likewise.
47475         (conformtest-header-list-tests): Likewise.
47476         (conformtest-header-base): Likewise.
47477         (conformtest-header-tests): Likewise.
47478         (tests-special): Add $(conformtest-header-list-tests).  If
47479         [$(fast-check) && !$(cross-compiling)], add
47480         $(conformtest-header-tests) instead of
47481         $(objpfx)run-conformtest.out.
47482         (generated): Add $(conformtest-header-list-base).  If
47483         [$(fast-check) && !$(cross-compiling)], add
47484         $(conformtest-header-base).  Remove previous setting.
47485         ($(conformtest-header-list-tests)): New target.
47486         (test-xfail-run-conformtest): Remove variable.
47487         ($(objpfx)run-conformtest.out): Remove target.
47488         (test-xfail-ISO11/complex.h/conform): New variable.
47489         (test-xfail-ISO11/stdalign.h/conform): Likewise.
47490         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
47491         (test-xfail-XPG3/varargs.h/conform): Likewise.
47492         (test-xfail-XPG4/varargs.h/conform): Likewise.
47493         (test-xfail-UNIX98/varargs.h/conform): Likewise.
47494         (test-xfail-XPG4/ndbm.h/conform): Likewise.
47495         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
47496         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
47497         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
47498         (test-xfail-XPG3/fcntl.h/conform): Likewise.
47499         (test-xfail-XPG3/ftw.h/conform): Likewise.
47500         (test-xfail-XPG3/grp.h/conform): Likewise.
47501         (test-xfail-XPG3/langinfo.h/conform): Likewise.
47502         (test-xfail-XPG3/limits.h/conform): Likewise.
47503         (test-xfail-XPG3/pwd.h/conform): Likewise.
47504         (test-xfail-XPG3/search.h/conform): Likewise.
47505         (test-xfail-XPG3/signal.h/conform): Likewise.
47506         (test-xfail-XPG3/stdio.h/conform): Likewise.
47507         (test-xfail-XPG3/stdlib.h/conform): Likewise.
47508         (test-xfail-XPG3/string.h/conform): Likewise.
47509         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
47510         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
47511         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
47512         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
47513         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
47514         (test-xfail-XPG3/sys/types.h/conform): Likewise.
47515         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
47516         (test-xfail-XPG3/termios.h/conform): Likewise.
47517         (test-xfail-XPG3/time.h/conform): Likewise.
47518         (test-xfail-XPG3/unistd.h/conform): Likewise.
47519         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
47520         (test-xfail-XPG4/fcntl.h/conform): Likewise.
47521         (test-xfail-XPG4/langinfo.h/conform): Likewise.
47522         (test-xfail-XPG4/netdb.h/conform): Likewise.
47523         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
47524         (test-xfail-XPG4/signal.h/conform): Likewise.
47525         (test-xfail-XPG4/stdio.h/conform): Likewise.
47526         (test-xfail-XPG4/stdlib.h/conform): Likewise.
47527         (test-xfail-XPG4/stropts.h/conform): Likewise.
47528         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
47529         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
47530         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
47531         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
47532         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
47533         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
47534         (test-xfail-XPG4/sys/time.h/conform): Likewise.
47535         (test-xfail-XPG4/sys/types.h/conform): Likewise.
47536         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
47537         (test-xfail-XPG4/termios.h/conform): Likewise.
47538         (test-xfail-XPG4/ucontext.h/conform): Likewise.
47539         (test-xfail-XPG4/unistd.h/conform): Likewise.
47540         (test-xfail-XPG4/utmpx.h/conform): Likewise.
47541         (test-xfail-POSIX/sched.h/conform): Likewise.
47542         (test-xfail-POSIX/signal.h/conform): Likewise.
47543         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47544         (test-xfail-POSIX/tar.h/conform): Likewise.
47545         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
47546         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
47547         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
47548         (test-xfail-UNIX98/netdb.h/conform): Likewise.
47549         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
47550         (test-xfail-UNIX98/sched.h/conform): Likewise.
47551         (test-xfail-UNIX98/signal.h/conform): Likewise.
47552         (test-xfail-UNIX98/stdio.h/conform): Likewise.
47553         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
47554         (test-xfail-UNIX98/stropts.h/conform): Likewise.
47555         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
47556         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
47557         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
47558         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
47559         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
47560         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
47561         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
47562         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
47563         (test-xfail-UNIX98/unistd.h/conform): Likewise.
47564         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
47565         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
47566         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
47567         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
47568         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
47569         (test-xfail-XOPEN2K/math.h/conform): Likewise.
47570         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
47571         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
47572         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
47573         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
47574         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
47575         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
47576         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
47577         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
47578         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
47579         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
47580         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
47581         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
47582         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
47583         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
47584         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
47585         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
47586         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
47587         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
47588         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
47589         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
47590         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
47591         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
47592         (test-xfail-POSIX2008/signal.h/conform): Likewise.
47593         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
47594         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
47595         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
47596         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
47597         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
47598         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
47599         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
47600         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
47601         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
47602         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
47603         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
47604         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
47605         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
47606         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
47607         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
47608         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
47609         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
47610         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
47611         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
47612         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
47613         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
47614         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
47615         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
47616         (conformtest-cc-flags): Likewise.
47617         ($(conformtest-header-tests): New target.
47618         * conform/check-header-lists.sh: New file.
47619         * conform/run-conformtest.sh: Remove.
47621         * conform/conformtest.pl: Allow ' and \ in values given for
47622         constants.
47623         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
47624         inclusion.
47625         [POSIX] (sys/types.h): Likewise.
47626         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
47627         inclusion.
47628         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
47629         inclusion.
47630         * conform/data/signal.h-data (SIGIO): Remove expectation.
47631         [XPG3] (SIGBUS): Do not expect.
47632         [POSIX || XPG3] (SIGPOLL): Likewise.
47633         [POSIX || XPG3] (SIGPROF): Likewise.
47634         [POSIX || XPG3] (SIGSYS): Likewise.
47635         [XPG3] (SIGTRAP): Likewise.
47636         [POSIX || XPG3] (SIGURG): Likewise.
47637         [POSIX || XPG3] (SIGVTALRM): Likewise.
47638         [POSIX || XPG3] (SIGXCPU): Likewise.
47639         [POSIX || XPG3] (SIGXFSZ): Likewise.
47640         [POSIX] (SA_SIGINFO): Expect.
47641         [XPG3] (siginfo_t): Do not expect type or contents.
47642         [POSIX] (si_pid): Do not expect element.
47643         [POSIX] (si_uid): Likewise.
47644         [POSIX] (si_addr): Likewise.
47645         [POSIX] (si_status): Likewise.
47646         [POSIX] (si_band): Likewise.
47647         [XPG4] (si_value): Likewise.
47648         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
47649         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
47650         [POSIX || XPG3] (ILL_ILLADR): Likewise.
47651         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
47652         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
47653         [POSIX || XPG3] (ILL_PRVREG): Likewise.
47654         [POSIX || XPG3] (ILL_COPROC): Likewise.
47655         [POSIX || XPG3] (ILL_BADSTK): Likewise.
47656         [POSIX || XPG3] (FPE_INTDIV): Likewise.
47657         [POSIX || XPG3] (FPE_INTOVF): Likewise.
47658         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
47659         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
47660         [POSIX || XPG3] (FPE_FLTUND): Likewise.
47661         [POSIX || XPG3] (FPE_FLTRES): Likewise.
47662         [POSIX || XPG3] (FPE_FLTINV): Likewise.
47663         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
47664         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
47665         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
47666         [POSIX || XPG3] (BUS_ADRALN): Likewise.
47667         [POSIX || XPG3] (BUS_ADRERR): Likewise.
47668         [POSIX || XPG3] (BUS_OBJERR): Likewise.
47669         [POSIX || XPG3] (CLD_EXITED): Likewise.
47670         [POSIX || XPG3] (CLD_KILLED): Likewise.
47671         [POSIX || XPG3] (CLD_DUMPED): Likewise.
47672         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
47673         [POSIX || XPG3] (CLD_STOPPED): Likewise.
47674         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
47675         [POSIX || XPG3] (POLL_IN): Likewise.
47676         [POSIX || XPG3] (POLL_OUT): Likewise.
47677         [POSIX || XPG3] (POLL_MSG): Likewise.
47678         [POSIX || XPG3] (POLL_ERR): Likewise.
47679         [POSIX || XPG3] (POLL_PRI): Likewise.
47680         [POSIX || XPG3] (POLL_HUP): Likewise.
47681         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
47682         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
47683         (SIG*): Do not allow.
47684         [XPG3] (si_*): Likewise.
47685         [XPG3] (SI_*): Likewise.
47686         [XPG3 || XPG4] (sigev_*): Likewise.
47687         [XPG3 || XPG4] (SIGEV_*): Likewise.
47688         [XPG3 || XPG4] (sival_*): Likewise.
47689         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
47690         [POSIX || XPG3] (BUS_*): Likewise.
47691         [POSIX || XPG3] (CLD_*): Likewise.
47692         [POSIX || XPG3] (FPE_*): Likewise.
47693         [POSIX || XPG3] (ILL_*): Likewise.
47694         [POSIX || XPG3] (POLL_*): Likewise.
47695         [POSIX || XPG3] (SEGV_*): Likewise.
47696         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
47697         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
47698         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
47699         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
47700         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
47701         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
47702         Specify type and value.
47703         (TVERSLEN): Likewise.
47704         (REGTYPE): Likewise.
47705         (AREGTYPE): Likewise.
47706         (LNKTYPE): Likewise.
47707         (SYMTYPE): Likewise.
47708         (CHRTYPE): Likewise.
47709         (BLKTYPE): Likewise.
47710         (DIRTYPE): Likewise.
47711         (FIFOTYPE): Likewise.
47712         (CONTTYPE): Likewise.
47713         (TSUID): Likewise.
47714         (TSGID): Likewise.
47715         (TSVTX): Likewise.
47716         (TUREAD): Likewise.
47717         (TUWRITE): Likewise.
47718         (TUEXEC): Likewise.
47719         (TGREAD): Likewise.
47720         (TGWRITE): Likewise.
47721         (TGEXEC): Likewise.
47722         (TOREAD): Likewise.
47723         (TOWRITE): Likewise.
47724         (TOEXEC): Likewise.
47725         [POSIX] (TSVTX): Expect constant.
47727 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
47729         * Makefile (tests): Change dependencies to ....
47730         (tests-special): ... additions to this variable.
47731         (tests): Depend on $(tests-special).
47732         * Makerules (check-abi-list): New variable.
47733         (check-abi): Depend on $(check-abi-list).
47734         [$(subdir) = elf] (tests-special): Add
47735         $(objpfx)check-abi-libc.out.
47736         [$(build-shared) = yes && subdir] (tests-special): Add
47737         $(check-abi-list).
47738         [$(build-shared) = yes && subdir] (tests): Do not depend on
47739         check-abi.
47740         * Rules (tests): Depend on $(tests-special).
47741         (xtests): Depend on $(xtests-special).
47742         * catgets/Makefile (tests): Change dependencies to ....
47743         (tests-special): ... additions to this variable.
47744         * conform/Makefile (tests): Change dependencies to ....
47745         (tests-special): ... additions to this variable.
47746         * elf/Makefile (tests): Change dependencies to ....
47747         (tests-special): ... additions to this variable.
47748         * grp/Makefile (tests): Change dependencies to ....
47749         (tests-special): ... additions to this variable.
47750         * iconv/Makefile (xtests): Change dependencies to ....
47751         (xtests-special): ... additions to this variable.
47752         * iconvdata/Makefile (tests): Change dependencies to ....
47753         (tests-special): ... additions to this variable.
47754         * intl/Makefile (tests): Change dependencies to ....
47755         (tests-special): ... additions to this variable.  Also add
47756         $(objpfx)tst-gettext.out.
47757         * io/Makefile (tests): Change dependencies to ....
47758         (tests-special): ... additions to this variable.
47759         * libio/Makefile (tests): Change dependencies to ....
47760         (tests-special): ... additions to this variable.
47761         * malloc/Makefile (tests): Change dependencies to ....
47762         (tests-special): ... additions to this variable.
47763         * misc/Makefile (tests): Change dependencies to ....
47764         (tests-special): ... additions to this variable.
47765         * nptl/Makefile (tests): Change dependencies to ....
47766         (tests-special): ... additions to this variable.
47767         * nptl_db/Makefile (tests): Change dependencies to ....
47768         (tests-special): ... additions to this variable.
47769         * posix/Makefile (tests): Change dependencies to ....
47770         (tests-special): ... additions to this variable.
47771         (xtests): Change dependencies to ....
47772         (xtests-special): ... additions to this variable.
47773         * resolv/Makefile (tests): Change dependencies to ....
47774         (tests-special): ... additions to this variable.
47775         (xtests): Change dependencies to ....
47776         (xtests-special): ... additions to this variable.
47777         * stdio-common/Makefile (tests): Change dependencies to ....
47778         (tests-special): ... additions to this variable.
47779         (do-tst-unbputc): Remove target.
47780         (do-tst-printf): Likewise.
47781         * stdlib/Makefile (tests): Change dependencies to ....
47782         (tests-special): ... additions to this variable.
47783         * string/Makefile (tests): Change dependencies to ....
47784         (tests-special): ... additions to this variable.
47785         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47786         (tests-special): ... additions to this variable.
47788         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47789         whole file.
47790         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47791         whole file.
47792         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47793         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47795         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47796         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47797         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47798         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47799         * conform/data/libgen.h-data [XPG3]: Likewise.
47800         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47801         * conform/data/ndbm.h-data [XPG3]: Likewise.
47802         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47803         * conform/data/netdb.h-data [XPG3]: Likewise.
47804         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47805         * conform/data/poll.h-data [XPG3]: Likewise.
47806         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47807         * conform/data/strings.h-data [XPG3]: Likewise.
47808         * conform/data/stropts.h-data [XPG3]: Likewise.
47809         * conform/data/sys/mman.h-data [XPG3]: Likewise.
47810         * conform/data/sys/resource.h-data [XPG3]: Likewise.
47811         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
47812         Likewise.
47813         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
47814         * conform/data/sys/time.h-data [XPG3]: Likewise.
47815         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
47816         * conform/data/sys/uio.h-data [XPG3]: Likewise.
47817         * conform/data/sys/un.h-data [XPG3]: Likewise.
47818         * conform/data/syslog.h-data [XPG3]: Likewise.
47819         * conform/data/ucontext.h-data [XPG3]: Likewise.
47820         * conform/data/utmpx.h-data [XPG3]: Likewise.
47821         * conform/data/varargs.h-data [UNIX98]: Enable file.
47823         * manual/Makefile (INSTALL_INFO): Remove variable setting.
47825         * math/libm-test.inc (struct test_f_f_data): Move expected results
47826         into structure for each rounding mode.
47827         (struct test_ff_f_data): Likewise.
47828         (struct test_ff_f_data_nexttoward): Likewise.
47829         (struct test_fi_f_data): Likewise.
47830         (struct test_fl_f_data): Likewise.
47831         (struct test_if_f_data): Likewise.
47832         (struct test_fff_f_data): Likewise.
47833         (struct test_c_f_data): Likewise.
47834         (struct test_f_f1_data): Likewise.
47835         (struct test_fF_f1_data): Likewise.
47836         (struct test_ffI_f1_data): Likewise.
47837         (struct test_c_c_data): Likewise.
47838         (struct test_cc_c_data): Likewise.
47839         (struct test_f_i_data): Likewise.
47840         (struct test_ff_i_data): Likewise.
47841         (struct test_f_l_data): Likewise.
47842         (struct test_f_L_data): Likewise.
47843         (struct test_fFF_11_data): Likewise.
47844         (RM_): New macro.
47845         (RM_FE_DOWNWARD): Likewise.
47846         (RM_FE_TONEAREST): Likewise.
47847         (RM_FE_TOWARDZERO): Likewise.
47848         (RM_FE_UPWARD): Likewise.
47849         (RUN_TEST_LOOP_f_f): Update references to expected results.
47850         (RUN_TEST_LOOP_2_f): Likewise.
47851         (RUN_TEST_LOOP_fff_f): Likewise.
47852         (RUN_TEST_LOOP_c_f): Likewise.
47853         (RUN_TEST_LOOP_f_f1): Likewise.
47854         (RUN_TEST_LOOP_fF_f1): Likewise.
47855         (RUN_TEST_LOOP_fI_f1): Likewise.
47856         (RUN_TEST_LOOP_ffI_f1): Likewise.
47857         (RUN_TEST_LOOP_c_c): Likewise.
47858         (RUN_TEST_LOOP_cc_c): Likewise.
47859         (RUN_TEST_LOOP_f_i): Likewise.
47860         (RUN_TEST_LOOP_f_i_tg): Likewise.
47861         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47862         (RUN_TEST_LOOP_f_b): Likewise.
47863         (RUN_TEST_LOOP_f_b_tg): Likewise.
47864         (RUN_TEST_LOOP_f_l): Likewise.
47865         (RUN_TEST_LOOP_f_L): Likewise.
47866         (RUN_TEST_LOOP_fFF_11): Likewise.
47867         * math/gen-libm-test.pl (parse_args): Output four copies of
47868         expected results for each test.
47870         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47871         (__ASSUME_UTIMES): Remove.
47872         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47873         (__ASSUME_UTIMES): Likewise.
47875         * math/gen-auto-libm-tests.c: Update comment on output format.
47876         (output_for_one_input_case): Generate before-rounding and
47877         after-rounding information as conditions on output flags not
47878         floating-point format.
47879         * math/auto-libm-test-out: Regenerated.
47880         * math/gen-libm-test.pl (cond_value): New function.
47881         (or_cond_value): Use cond_value.
47882         (generate_testfile): Handle conditional exceptions.
47884 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
47886         * math/libm-test.inc (max_valid_error): New variable.
47887         (init_max_error): Take new argument specifying whether function
47888         results are exactly determined.  Set max_valid_error and bound
47889         other variables for errors based on this argument.
47890         (set_max_error): Do not record results above max_valid_error.
47891         (check_float_internal): Only accept errors of up to 0.5ulps if
47892         also at most max_valid_error.
47893         (START): Take new argument EXACT and pass it to init_max_error.
47894         (acos_test): Update call to START.
47895         (acos_test_tonearest): Likewise.
47896         (acos_test_towardzero): Likewise.
47897         (acos_test_downward): Likewise.
47898         (acos_test_upward): Likewise.
47899         (acosh_test): Likewise.
47900         (asin_test): Likewise.
47901         (asin_test_tonearest): Likewise.
47902         (asin_test_towardzero): Likewise.
47903         (asin_test_downward): Likewise.
47904         (asin_test_upward): Likewise.
47905         (asinh_test): Likewise.
47906         (atan_test): Likewise.
47907         (atanh_test): Likewise.
47908         (atan2_test): Likewise.
47909         (cabs_test): Likewise.
47910         (cacos_test): Likewise.
47911         (cacosh_test): Likewise.
47912         (carg_test): Likewise.
47913         (casin_test): Likewise.
47914         (casinh_test): Likewise.
47915         (catan_test): Likewise.
47916         (catanh_test): Likewise.
47917         (cbrt_test): Likewise.
47918         (ccos_test): Likewise.
47919         (ccosh_test): Likewise.
47920         (ceil_test): Likewise.
47921         (cexp_test): Likewise.
47922         (cimag_test): Likewise.
47923         (clog_test): Likewise.
47924         (clog10_test): Likewise.
47925         (conj_test): Likewise.
47926         (copysign_test): Likewise.
47927         (cos_test): Likewise.
47928         (cos_test_tonearest): Likewise.
47929         (cos_test_towardzero): Likewise.
47930         (cos_test_downward): Likewise.
47931         (cos_test_upward): Likewise.
47932         (cosh_test): Likewise.
47933         (cosh_test_tonearest): Likewise.
47934         (cosh_test_towardzero): Likewise.
47935         (cosh_test_downward): Likewise.
47936         (cosh_test_upward): Likewise.
47937         (cpow_test): Likewise.
47938         (cproj_test): Likewise.
47939         (creal_test): Likewise.
47940         (csin_test): Likewise.
47941         (csinh_test): Likewise.
47942         (csqrt_test): Likewise.
47943         (ctan_test): Likewise.
47944         (ctan_test_tonearest): Likewise.
47945         (ctan_test_towardzero): Likewise.
47946         (ctan_test_downward): Likewise.
47947         (ctan_test_upward): Likewise.
47948         (ctanh_test): Likewise.
47949         (ctanh_test_tonearest): Likewise.
47950         (ctanh_test_towardzero): Likewise.
47951         (ctanh_test_downward): Likewise.
47952         (ctanh_test_upward): Likewise.
47953         (erf_test): Likewise.
47954         (erfc_test): Likewise.
47955         (exp_test): Likewise.
47956         (exp_test_tonearest): Likewise.
47957         (exp_test_towardzero): Likewise.
47958         (exp_test_downward): Likewise.
47959         (exp_test_upward): Likewise.
47960         (exp10_test): Likewise.
47961         (exp10_test_tonearest): Likewise.
47962         (exp10_test_towardzero): Likewise.
47963         (exp10_test_downward): Likewise.
47964         (exp10_test_upward): Likewise.
47965         (pow10_test): Likewise.
47966         (exp2_test): Likewise.
47967         (expm1_test): Likewise.
47968         (expm1_test_tonearest): Likewise.
47969         (expm1_test_towardzero): Likewise.
47970         (expm1_test_downward): Likewise.
47971         (expm1_test_upward): Likewise.
47972         (fabs_test): Likewise.
47973         (fdim_test): Likewise.
47974         (floor_test): Likewise.
47975         (fma_test): Likewise.
47976         (fma_test_towardzero): Likewise.
47977         (fma_test_downward): Likewise.
47978         (fma_test_upward): Likewise.
47979         (fmax_test): Likewise.
47980         (fmin_test): Likewise.
47981         (fmod_test): Likewise.
47982         (fpclassify_test): Likewise.
47983         (frexp_test): Likewise.
47984         (hypot_test): Likewise.
47985         (ilogb_test): Likewise.
47986         (isfinite_test): Likewise.
47987         (finite_test): Likewise.
47988         (isgreater_test): Likewise.
47989         (isgreaterequal_test): Likewise.
47990         (isinf_test): Likewise.
47991         (isless_test): Likewise.
47992         (islessequal_test): Likewise.
47993         (islessgreater_test): Likewise.
47994         (isnan_test): Likewise.
47995         (isnormal_test): Likewise.
47996         (issignaling_test): Likewise.
47997         (isunordered_test): Likewise.
47998         (j0_test): Likewise.
47999         (j1_test): Likewise.
48000         (jn_test): Likewise.
48001         (ldexp_test): Likewise.
48002         (lgamma_test): Likewise.
48003         (gamma_test): Likewise.
48004         (lrint_test): Likewise.
48005         (lrint_test_tonearest): Likewise.
48006         (lrint_test_towardzero): Likewise.
48007         (lrint_test_downward): Likewise.
48008         (lrint_test_upward): Likewise.
48009         (llrint_test): Likewise.
48010         (llrint_test_tonearest): Likewise.
48011         (llrint_test_towardzero): Likewise.
48012         (llrint_test_downward): Likewise.
48013         (llrint_test_upward): Likewise.
48014         (log_test): Likewise.
48015         (log10_test): Likewise.
48016         (log1p_test): Likewise.
48017         (log2_test): Likewise.
48018         (logb_test): Likewise.
48019         (logb_test_downward): Likewise.
48020         (lround_test): Likewise.
48021         (llround_test): Likewise.
48022         (modf_test): Likewise.
48023         (nearbyint_test): Likewise.
48024         (nextafter_test): Likewise.
48025         (nexttoward_test): Likewise.
48026         (pow_test): Likewise.
48027         (pow_test_tonearest): Likewise.
48028         (pow_test_towardzero): Likewise.
48029         (pow_test_downward): Likewise.
48030         (pow_test_upward): Likewise.
48031         (remainder_test): Likewise.
48032         (drem_test): Likewise.
48033         (remainder_test_tonearest): Likewise.
48034         (drem_test_tonearest): Likewise.
48035         (remainder_test_towardzero): Likewise.
48036         (drem_test_towardzero): Likewise.
48037         (remainder_test_downward): Likewise.
48038         (drem_test_downward): Likewise.
48039         (remainder_test_upward): Likewise.
48040         (drem_test_upward): Likewise.
48041         (remquo_test): Likewise.
48042         (rint_test): Likewise.
48043         (rint_test_tonearest): Likewise.
48044         (rint_test_towardzero): Likewise.
48045         (rint_test_downward): Likewise.
48046         (rint_test_upward): Likewise.
48047         (round_test): Likewise.
48048         (scalb_test): Likewise.
48049         (scalbn_test): Likewise.
48050         (scalbln_test): Likewise.
48051         (signbit_test): Likewise.
48052         (sin_test): Likewise.
48053         (sin_test_tonearest): Likewise.
48054         (sin_test_towardzero): Likewise.
48055         (sin_test_downward): Likewise.
48056         (sin_test_upward): Likewise.
48057         (sincos_test): Likewise.
48058         (sinh_test): Likewise.
48059         (sinh_test_tonearest): Likewise.
48060         (sinh_test_towardzero): Likewise.
48061         (sinh_test_downward): Likewise.
48062         (sinh_test_upward): Likewise.
48063         (sqrt_test): Likewise.
48064         (sqrt_test_tonearest): Likewise.
48065         (sqrt_test_towardzero): Likewise.
48066         (sqrt_test_downward): Likewise.
48067         (sqrt_test_upward): Likewise.
48068         (tan_test): Likewise.
48069         (tan_test_tonearest): Likewise.
48070         (tan_test_towardzero): Likewise.
48071         (tan_test_downward): Likewise.
48072         (tan_test_upward): Likewise.
48073         (tanh_test): Likewise.
48074         (tgamma_test): Likewise.
48075         (trunc_test): Likewise.
48076         (y0_test): Likewise.
48077         (y1_test): Likewise.
48078         (yn_test): Likewise.
48079         (significand_test): Likewise.
48081         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48082         individual tests in comment.
48083         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48084         (prev_max_error): New variable.
48085         (prev_real_max_error): Likewise.
48086         (prev_imag_max_error): Likewise.
48087         (compare_ulp_data): Don't refer to test names in comment.
48088         (find_test_ulps): Remove function.
48089         (find_function_ulps): Likewise.
48090         (find_complex_function_ulps): Likewise.
48091         (init_max_error): Take function name as argument.  Look up ulps
48092         for that function.
48093         (print_ulps): Remove function.
48094         (print_max_error): Use prev_max_error instead of calling
48095         find_function_ulps.
48096         (print_complex_max_error): Use prev_real_max_error and
48097         prev_imag_max_error instead of calling find_complex_function_ulps.
48098         (check_float_internal): Take max_ulp parameter instead of calling
48099         find_test_ulps.  Don't call print_ulps.
48100         (check_float): Update call to check_float_internal.
48101         (check_complex): Update calls to check_float_internal.
48102         (START): Pass argument to init_max_error.
48103         * math/gen-libm-test.pl (%results): Don't include "kind"
48104         information.
48105         (parse_ulps): Don't handle ulps of individual tests.
48106         (print_ulps_file): Likewise.
48107         (output_ulps): Likewise.
48108         * math/README.libm-test: Update.
48109         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48110         individual tests.
48111         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48112         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48113         * sysdeps/arm/libm-test-ulps: Likewise.
48114         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48115         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48116         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48117         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48118         * sysdeps/microblaze/libm-test-ulps: Likewise.
48119         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48120         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48121         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48122         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48123         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48124         * sysdeps/sh/libm-test-ulps: Likewise.
48125         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48126         * sysdeps/tile/libm-test-ulps: Likewise.
48127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48129 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48131         * math/libm-test.inc (print_complex_max_error): Check separately
48132         whether real and imaginary errors are within allowed range and
48133         pass 0 to print_complex_function_ulps instead of value within
48134         allowed range.
48136 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48138         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48139         formatting.
48140         (get_handles_fopen): Likewise.
48141         (do_write_test): Likewise.
48143         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48145         * libio/fileops.c (do_ftell): Use cached offset when
48146         available.
48147         * libio/iofwide.c (do_ftell_wide): Likewise.
48148         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48149         _IO_file_attach.
48150         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48152         [BZ #16532]
48153         * libio/libioP.h (get_file_offset): New function.
48154         * libio/fileops.c (get_file_offset): Likewise.
48155         (do_ftell): Likewise.
48156         (_IO_new_file_seekoff): Split out ftell logic.
48157         * libio/wfileops.c (do_ftell_wide): Likewise.
48158         (_IO_wfile_seekoff): Split out ftell logic.
48159         * libio/tst-ftell-active-handler.c: New test case.
48160         * libio/Makefile (tests): Add it.
48162 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48164         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48165         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48167 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48169         [BZ #16639]
48170         * nscd/connections.c (nscd_init): Call do_exit.
48171         (start_threads): Call do_exit and notify_parent.
48172         (begin_drop_privileges): Call do_exit.
48173         (finish_drop_privileges): Likewise.
48174         * nscd/selinux.c (preserve_capabilities): Likewise.
48175         (install_real_capabilities): Likewise.
48176         (nscd_selinux_enabled): Likewise.
48177         (avc_create_thread): Likewise.
48178         (avc_alloc_lock): Likewise.
48179         (nscd_avc_init): Likewise.
48180         * nscd/nscd.c (parent_fd): New static variable.
48181         (main): Create a pipe between parent and child processes.
48182         Skip closing parent_fd.
48183         (monitor_child): New function.
48184         (do_exit): Likewise.
48185         (notify_parent): Likewise.
48186         * nscd/nscd.h (notify_parent): Likewise.
48187         (do_exit): Likewise.
48189 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48191         * malloc/malloc.c (__libc_calloc): Revert last change.
48193 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48197 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48199         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48201         implementation.
48202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48203         (__libc_ifunc_impl_list): Likewise.
48204         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48205         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48206         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48207         * string/strrchr.c: Define STRRCHR.
48209 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48211         * benchtest/bench-strtok.c (simple_strtok): Delete.
48212         (strtok_string): Use as benchmark.
48213         * string/strtok (STRTOK): New macro.
48215 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48217         * manual/threads.texi: Add header and standard comments to all
48218         functions.
48220         * elf/dl-lookup.c (check_match): New function.
48221         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48222         (do_lookup_x): Remove nested function check_match. Use non-nested
48223         function check_match.
48225 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48227         * csu/Makefile (generated, before-compile): Use += rather than =.
48228         * catgets/Makefile (generated, generated-dirs): Likewise.
48229         * debug/Makefile (generated): Likewise.
48230         * dlfcn/Makefile (generated): Likewise.
48231         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48232         * iconvdata/Makefile (before-compile, generated): Likewise.
48233         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48234         * libio/Makefile (generated): Likewise.
48235         * malloc/Makefile (generated): Likewise.
48236         * manual/Makefile (generated, generated-dirs): Likewise.
48237         * misc/Makefile (generated): Likewise.
48238         * posix/Makefile (generated): Likewise.
48239         * resolv/Makefile (generated): Likewise.
48240         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48241         * timezone/Makefile (generated, generated-dirs): Likewise.
48243         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48245 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48247         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48248         power8 implementation.
48249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48250         file: POWER8 llround ifunc implementation.
48251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48252         (__lllround): Add POWER8 implementation.
48253         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48254         POWER8 llround implementation.
48256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48257         power8 implementation.
48258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48259         file: POWER8 llrint ifunc implementation.
48260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48261         Add POWER8 implementation.
48262         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48263         POWER8 llrint implementation.
48265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48266         power8 implementation.
48267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48268         file: POWER8 finite ifunc implementation.
48269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48270         Add POWER8 implementation.
48271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48272         Likewise.
48273         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48274         POWER8 finite implementation.
48275         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48278         power8 implementation.
48279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48280         file: POWER8 isinf ifunc implementation.
48281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48282         POWER8 implementation.
48283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48284         Likewise.
48285         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48286         isinf implementation.
48287         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48289         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48290         (INIT_ARCH): Add hwcap2 initialization.
48291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48292         power8 implementation.
48293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48294         file: POWER8 isnan ifunc implementation.
48295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48296         POWER8 implementation.
48297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48298         Likewise.
48299         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48300         isnan implementation.
48301         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48303 2014-02-27  Joey Ye  <joey.ye@arm.com>
48305         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48306         (_FP_NANFRAC_Q): Set to zero.
48308 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48310         [BZ #16623]
48311         * math/auto-libm-test-in: New test inputs.
48312         * math/auto-libm-test-out: Regenerate.
48313         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48314         and DA.
48315         (__cos): Likewise.
48316         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48318 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48320         * scripts/evaluate-test.sh: Take new argument indicating whether
48321         failure is expected.
48322         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48323         indicating whether failure is expected.
48324         * conform/Makefile (test-xfail-run-conformtest): New variable.
48325         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48326         level.
48327         * posix/Makefile (test-xfail-annexc): New variable.
48328         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48330 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48332         * argp/Makefile: Include Makeconfig immediately after defining
48333         subdir.
48334         * assert/Makefile: Likewise.
48335         * benchtests/Makefile: Likewise.
48336         * catgets/Makefile: Likewise.
48337         * conform/Makefile: Likewise.
48338         * crypt/Makefile: Likewise.
48339         * csu/Makefile: Likewise.
48340         (all): Remove target.
48341         * ctype/Makefile: Include Makeconfig immediately after defining
48342         subdir.
48343         * debug/Makefile: Likewise.
48344         * dirent/Makefile: Likewise.
48345         * dlfcn/Makefile: Likewise.
48346         * gmon/Makefile: Likewise.
48347         * gnulib/Makefile: Likewise.
48348         * grp/Makefile: Likewise.
48349         * gshadow/Makefile: Likewise.
48350         * hesiod/Makefile: Likewise.
48351         * hurd/Makefile: Likewise.
48352         (all): Remove target.
48353         * iconvdata/Makefile: Include Makeconfig immediately after
48354         defining subdir.
48355         * inet/Makefile: Likewise.
48356         * intl/Makefile: Likewise.
48357         * io/Makefile: Likewise.
48358         * libio/Makefile: Likewise.
48359         (all): Remove target.
48360         * locale/Makefile: Include Makeconfig immediately after defining
48361         subdir.
48362         * login/Makefile: Likewise.
48363         * mach/Makefile: Likewise.
48364         (all): Remove target.
48365         * malloc/Makefile: Include Makeconfig immediately after defining
48366         subdir.
48367         (all): Remove target.
48368         * manual/Makefile: Include Makeconfig immediately after defining
48369         subdir.
48370         * math/Makefile: Likewise.
48371         * misc/Makefile: Likewise.
48372         * nis/Makefile: Likewise.
48373         * nss/Makefile: Likewise.
48374         * po/Makefile: Likewise.
48375         (all): Remove target.
48376         * posix/Makefile: Include Makeconfig immediately after defining
48377         subdir.
48378         * pwd/Makefile: Likewise.
48379         * resolv/Makefile: Likewise.
48380         * resource/Makefile: Likewise.
48381         * rt/Makefile: Likewise.
48382         * setjmp/Makefile: Likewise.
48383         * shadow/Makefile: Likewise.
48384         * signal/Makefile: Likewise.
48385         * socket/Makefile: Likewise.
48386         * soft-fp/Makefile: Likewise.
48387         * stdio-common/Makefile: Likewise.
48388         * stdlib/Makefile: Likewise.
48389         * streams/Makefile: Likewise.
48390         * string/Makefile: Likewise.
48391         * sunrpc/Makefile: Likewise.
48392         (all): Remove target.
48393         * sysvipc/Makefile: Include Makeconfig immediately after defining
48394         subdir.
48395         * termios/Makefile: Likewise.
48396         * time/Makefile: Likewise.
48397         * timezone/Makefile: Likewise.
48398         (all): Remove target.
48399         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48400         subdir.
48401         * wctype/Makefile: Likewise.
48403 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48405         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48406         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48407         (libc_feholdexcept_setround_mips): Ditto.
48408         (libc_feholdsetround): New.
48409         (libc_feholdsetroundf): New.
48410         (libc_feholdsetroundl): New.
48411         (libc_feupdateenv_test_mips): New.
48412         (libc_feupdateenv_test): New.
48413         (libc_feupdateenv_testf): New.
48414         (libc_feupdateenv_testl): New.
48415         (libc_feresetround): New.
48416         (libc_feresetroundf): New.
48417         (libc_feresetroundl): New.
48418         (libc_fetestexcept_mips): New.
48419         (libc_fetestexcept): New.
48420         (libc_fetestexceptf): New.
48421         (libc_fetestexceptl): New.
48422         (HAVE_RM_CTX): New.
48423         (libc_feholdexcept_setround_mips_ctx): New.
48424         (libc_feholdexcept_setround_ctx): New.
48425         (libc_feholdexcept_setroundf_ctx): New.
48426         (libc_feholdexcept_setroundl_ctx): New.
48427         (libc_fesetenv_mips_ctx): New.
48428         (libc_fesetenv_ctx): New.
48429         (libc_fesetenv_ctxf): New.
48430         (libc_fesetenv_ctxl): New.
48431         (libc_feupdateenv_mips_ctx): New.
48432         (libc_feupdateenv_ctx): New.
48433         (libc_feupdateenvf_ctx): New.
48434         (libc_feupdateenvl_ctx): New.
48435         (libc_feholdsetround_mips_ctx): New.
48436         (libc_feholdsetround_ctx): New.
48437         (libc_feholdsetroundf_ctx): New.
48438         (libc_feholdsetroundl_ctx): New.
48439         (libc_feresetround_mips_ctx): New.
48440         (libc_feresetround_ctx): New.
48441         (libc_feresetroundf_ctx): New.
48442         (libc_feresetroundl_ctx): New.
48444 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48446         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48448         * manual/ipc.texi: New file.
48449         * manual/Makefile (chapters): Add ipc.
48450         * manual/job.texi: Add "Inter-Process Communication" to next.
48451         * manual/process.texi: Add "Inter-Process Communication" to prev.
48453 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48457 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48459         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48461         * manual/arith.texi: Fix spaces after sentences.
48462         * manual/charset.texi: Likewise.
48463         * manual/errno.texi: Likewise.
48464         * manual/install.texi: Likewise.
48465         * manual/llio.texi: Likewise.
48466         * manual/locale.texi: Likewise.
48467         * manual/maint.texi: Likewise.
48468         * manual/math.texi: Likewise.
48469         * manual/memory.texi: Likewise.
48470         * manual/message.texi: Likewise.
48471         * manual/probes.texi: Likewise.
48472         * manual/resource.texi: Likewise.
48473         * manual/signal.texi: Likewise.
48474         * manual/socket.texi: Likewise.
48475         * manual/stdio.texi: Likewise.
48476         * manual/string.texi: Likewise.
48477         * manual/time.texi: Likewise.
48478         * manual/users.texi: Likewise.
48480 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48482         [BZ #16632]
48483         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
48484         _DEFAULT_SOURCE is defined.
48486 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
48487             Carlos O'Donell  <carlos@redhat.com>
48489         [BZ #16613]
48490         * elf/dl-tls.c (_dl_count_modids): New function.
48491         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
48492         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
48493         audit library and increment generation counter.
48494         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
48495         * elf/tst-audit9.c: New file.
48496         * elf/tst-auditmod9a.c: New file.
48497         * elf/tst-auditmod9b.c: New file.
48498         * elf/Makefile: Add rules to build and run tst-audit9.
48500 2014-02-25  Florian Weimer  <fweimer@redhat.com>
48502         [BZ #15347]
48503         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
48505 2014-02-25  Will Newton  <will.newton@linaro.org>
48507         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
48508         (__longjmp): Restore sp and lr before restoring callee
48509         saved registers.  Add longjmp and longjmp_target
48510         SystemTap probe point.
48511         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
48512         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
48513         Define to zero to match jmpbuf layout.
48514         * sysdeps/arm/setjmp.S: Include stap-probe.h.
48515         (__sigsetjmp): Save sp and lr before saving callee
48516         saved registers.  Add setjmp SystemTap probe point.
48518 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
48520         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48522 2014-02-24  Andreas Schwab  <schwab@suse.de>
48524         [BZ #15804]
48525         * elf/pldd.c (wait_for_ptrace_stop): New function.
48526         (main): Call it after attaching.
48528 2014-02-22  Roland McGrath  <roland@hack.frob.com>
48530         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
48531         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
48532         Versions files is now verboten.
48533         * hurd/Versions (libc: GLIBC_2.0):
48534         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
48535         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
48536         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
48537         * mach/Versions: Likewise.
48539         * csu/Versions: Remove unused %include.
48540         * resolv/Versions: Likewise.
48542 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
48544         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
48545         ($(objpfx)check-local-headers.out): Likewise.
48546         ($(objpfx)begin-end-check.out): Likewise.
48547         * Makerules (check-abi-%.out): Likewise.
48548         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
48549         ($(objpfx)test2.cat): Likewise.
48550         ($(objpfx)de/libc.cat): Likewise.
48551         ($(objpfx)test-gencat.out): Likewise.
48552         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
48553         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
48554         ($(objpfx)noload-mem): Likewise.
48555         ($(objpfx)tst-pathopt.out): Likewise.
48556         ($(objpfx)tst-rtld-load-self.out): Likewise.
48557         ($(objpfx)tst-array1-cmp.out): Likewise.
48558         ($(objpfx)tst-array1-static-cmp.out): Likewise.
48559         ($(objpfx)tst-array2-cmp.out): Likewise.
48560         ($(objpfx)tst-array3-cmp.out): Likewise.
48561         ($(objpfx)tst-array4-cmp.out): Likewise.
48562         ($(objpfx)tst-array5-cmp.out): Likewise.
48563         ($(objpfx)tst-array5-static-cmp.out): Likewise.
48564         ($(objpfx)check-textrel.out): Likewise.
48565         ($(objpfx)check-execstack.out): Likewise.
48566         ($(objpfx)check-localplt.out): Likewise.
48567         ($(objpfx)order2-cmp.out): Likewise.
48568         ($(objpfx)tst-leaks1-mem): Likewise.
48569         ($(objpfx)tst-leaks1-static-mem): Likewise.
48570         ($(objpfx)tst-initorder-cmp.out): Likewise.
48571         ($(objpfx)tst-initorder2-cmp.out): Likewise.
48572         ($(objpfx)tst-unused-dep.out): Likewise.
48573         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
48574         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
48575         * iconv/Makefile (test-iconvconfig): Likewise.
48576         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
48577         ($(objpfx)iconv-test.out): Likewise.
48578         ($(objpfx)tst-tables.out): Likewise.
48579         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
48580         ($(objpfx)tst-gettext.out): Likewise.
48581         ($(objpfx)tst-translit.out): Likewise.
48582         ($(objpfx)tst-gettext2.out): Likewise.
48583         ($(objpfx)tst-gettext4.out): Likewise.
48584         ($(objpfx)tst-gettext6.out): Likewise.
48585         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
48586         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
48587         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
48588         ($(objpfx)tst-fopenloc-mem.out): Likewise.
48589         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
48590         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
48591         * posix/Makefile ($(objpfx)globtest.out): Likewise.
48592         ($(objpfx)wordexp-tst.out): Likewise.
48593         ($(objpfx)annexc.out): Likewise.
48594         ($(objpfx)tst-fnmatch-mem): Likewise.
48595         ($(objpfx)bug-regex2-mem): Likewise.
48596         ($(objpfx)bug-regex14-mem): Likewise.
48597         ($(objpfx)bug-regex21-mem): Likewise.
48598         ($(objpfx)bug-regex31-mem): Likewise.
48599         ($(objpfx)tst-vfork3-mem): Likewise.
48600         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48601         ($(objpfx)tst-pcre-mem): Likewise.
48602         ($(objpfx)tst-boost-mem): Likewise.
48603         ($(objpfx)tst-getconf.out): Likewise.
48604         ($(objpfx)bug-ga2-mem): Likewise.
48605         ($(objpfx)bug-glob2-mem): Likewise.
48606         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
48607         ($(objpfx)mtrace-tst-leaks2): Likewise.
48608         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
48609         ($(objpfx)tst-printf.out): Likewise.
48610         ($(objpfx)tst-setvbuf1.out): Likewise.
48611         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
48612         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
48613         ($(objpfx)tst-fmtmsg.out): Likewise.
48614         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
48615         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
48617         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
48618         * bits/sigaction.h [__USE_MISC]: Likewise.
48619         * bits/waitstatus.h: Update #endif comments.
48620         * ctype/ctype.h: Likewise.
48621         * dirent/dirent.h: Likewise.
48622         [__USE_MISC]: Remove redundant conditionals.
48623         * grp/grp.h: Update #endif comments.
48624         [__USE_GNU]: Remove redundant conditionals.
48625         [__USE_MISC]: Likewise.
48626         * inet/netinet/in.h [__USE_GNU]: Likewise.
48627         * io/sys/stat.h [__USE_MISC]: Likewise.
48628         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
48629         * libio/bits/stdio.h: Update #endif comments.
48630         [__USE_MISC]: Remove redundant conditionals.
48631         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
48632         * libio/stdio.h: Update #endif comments.
48633         [__USE_MISC]: Remove redundant conditionals.
48634         * math/bits/math-finite.h [__USE_MISC]: Likewise.
48635         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
48636         * math/math.h: Update #else and #endif comments.
48637         [__USE_MISC]: Remove redundant conditionals.
48638         * misc/sys/uio.h: Update #endif comments.
48639         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
48640         * posix/glob.h [__USE_MISC]: Likewise.
48641         * posix/sys/types.h: Update #endif comments.
48642         [__USE_MISC]: Remove redundant conditionals.
48643         * posix/sys/wait.h: Update #endif comments.
48644         [__USE_MISC]: Remove redundant conditionals.
48645         * posix/unistd.h: Update #endif comments.
48646         [__USE_MISC]: Remove redundant conditionals.
48647         * pwd/pwd.h [__USE_GNU]: Likewise.
48648         [__USE_MISC]: Likewise.
48649         * resolv/netdb.h [__USE_GNU]: Likewise.
48650         * signal/signal.h: Update #endif comments.
48651         [__USE_MISC]: Remove redundant conditionals.
48652         * stdlib/stdlib.h: Update #else and #endif comments.
48653         [__USE_MISC]: Remove redundant conditionals.
48654         [__USE_GNU]: Likewise.
48655         * string/bits/string2.h [__USE_MISC]: Likewise.
48656         * string/string.h: Update #endif comments.
48657         [__USE_MISC]: Remove redundant conditionals.
48658         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
48659         Likewise.
48660         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
48661         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
48662         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
48663         Likewise.
48664         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
48665         Likewise.
48666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
48667         comments.
48668         [__USE_MISC]: Remove redundant conditionals.
48669         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
48670         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
48671         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
48672         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
48673         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
48674         Likewise.
48675         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
48676         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
48677         Likewise.
48678         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
48679         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
48680         Likewise.
48681         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
48682         Likewise.
48683         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
48684         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
48685         Likewise.
48686         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
48687         Likewise.
48688         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
48689         * sysdeps/x86/bits/string.h: Update #endif comments.
48690         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
48691         conditionals.
48692         * time/sys/time.h: Update #endif comments.
48693         * time/time.h: Likewise.
48694         [__USE_MISC]: Remove redundant conditionals.
48696 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
48698         [BZ #16600]
48699         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
48701 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
48703         * Versions.def (librt): Add GLIBC_2.17.
48705 2014-02-21  Adam Conrad  <adconrad@0c3.net>
48707         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
48708         synonym for _SYS_AUXV_H to allow direct inclusion.
48709         * sysdeps/sparc/bits/hwcap.h: Likewise.
48710         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
48711         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
48712         * sysdeps/sparc/sysdep.h: Likewise.
48714 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48716         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
48718 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48720         * benchtests/bench-strrchr.c: Print length instead of position.
48722 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
48724         [BZ #16611]
48725         * sysdeps/unix/sysv/linux/kernel-features.h
48726         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
48727         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
48728         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
48729         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
48730         Likewise.
48731         [__i386__ || __powerpc__ || __sh__ || __sparc__]
48732         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48733         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
48734         (__ASSUME_SENDMMSG): Define instead of using previous
48735         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
48736         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48737         (__ASSUME_SENDMMSG_SYSCALL): Define.
48738         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48739         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
48740         Likewise.
48741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48742         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48743         Likewise.
48744         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48745         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48746         Likewise.
48747         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
48748         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48749         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48750         [__ASSUME_SENDMMSG]: Change conditionals to
48751         [__ASSUME_SENDMMSG_SOCKETCALL].
48752         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48753         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
48754         Define.
48755         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48756         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
48757         Likewise.
48758         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
48759         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48760         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48761         [!__ASSUME_SENDMMSG]: Change conditional to
48762         [!__ASSUME_SENDMMSG_SOCKETCALL].
48763         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48764         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48765         Define.
48767         [BZ #16610]
48768         * sysdeps/unix/sysv/linux/kernel-features.h
48769         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48770         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48771         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48772         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48773         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48774         [__i386__ || __sparc__]
48775         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48776         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48777         (__ASSUME_RECVMMSG): Define instead of using previous
48778         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48779         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48780         (__ASSUME_RECVMMSG_SYSCALL): Define.
48781         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48783         Likewise.
48784         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48785         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48786         Likewise.
48787         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48789         Likewise.
48790         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
48791         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48792         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48793         [__ASSUME_RECVMMSG]: Change condition to
48794         [__ASSUME_RECVMMSG_SOCKETCALL].
48795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48796         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48797         Define.
48798         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48799         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48800         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48801         Likewise.
48802         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48803         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48804         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48805         [!__ASSUME_RECVMMSG]: Change condition to
48806         [!__ASSUME_RECVMMSG_SOCKETCALL].
48807         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48808         (__ASSUME_RECVMMSG_SYSCALL): Define.
48810         [BZ #16609]
48811         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48812         __powerpc__ || __s390__ || __sh__ || __sparc__]
48813         (__ASSUME_SOCKETCALL): Define.
48814         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
48815         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
48816         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
48817         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
48818         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48819         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
48820         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
48821         (__ASSUME_ACCEPT4): Define instead of using previous
48822         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
48823         __powerpc__ || __sparc__ || __s390__)] condition.
48824         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48825         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48826         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
48827         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48828         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48829         [!__ASSUME_ACCEPT4]: Change condition to
48830         [!__ASSUME_ACCEPT4_SOCKETCALL].
48831         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48832         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
48833         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
48834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48835         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
48836         __ASSUME_ACCEPT4_SYSCALL.
48837         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
48838         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
48839         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48840         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
48841         __ASSUME_ACCEPT4_SYSCALL.
48842         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
48843         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48844         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48845         [__ASSUME_ACCEPT4]: Change condition to
48846         [__ASSUME_ACCEPT4_SOCKETCALL].
48847         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48848         (__ASSUME_SOCKETCALL): Define.
48849         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
48850         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48851         (__ASSUME_SOCKETCALL): Define.
48852         (__ASSUME_ACCEPT4): Remove.
48853         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
48854         Define.
48855         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48856         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
48857         Likewise.
48858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48859         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48861         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
48862         macro.
48863         (HWCAP_ARM_LPAE): Likewise.
48864         (HWCAP_ARM_EVTSTRM): Likewise.
48865         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
48866         Add vpfd32, lpae and evtstrm.
48867         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
48868         Increase to 22.
48870 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
48872         * math/auto-libm-test-in: Add tests of clog10.
48873         * math/auto-libm-test-out: Regenerated.
48874         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
48875         * sysdeps/i386/fpu/libm-test-ulps: Update.
48876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48878 2014-02-18  Andreas Schwab  <schwab@suse.de>
48880         [BZ #16574]
48881         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
48882         Store non-zero if the second buffer was newly allocated.
48883         (send_dg): Likewise.
48884         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
48885         to send_vc and send_dg.
48886         (res_nsend): Pass NULL for ansp2_malloced.
48887         * resolv/res_query.c (__libc_res_nquery): Add parameter
48888         answerp2_malloced and pass it down to __libc_res_nsend.
48889         (res_nquery): Pass additional NULL to __libc_res_nquery.
48890         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
48891         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
48892         second answer buffer if answerp2_malloced was set.
48893         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
48894         (__libc_res_nquerydomain): Add parameter
48895         answerp2_malloced and pass it down to __libc_res_nquery.
48896         (res_nquerydomain): Pass additional NULL to
48897         __libc_res_nquerydomain.
48898         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
48899         additional NULL to __libc_res_nsend and __libc_res_nquery.
48900         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
48901         additional NULL to __libc_res_nsearch.
48902         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
48903         parameter of __libc_res_nsearch to check for separately allocated
48904         second buffer.
48905         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48906         __libc_res_nquery.
48907         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
48908         additional NULL to __libc_res_nquery.
48909         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
48910         __libc_res_nsearch.
48911         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
48912         * include/resolv.h: Update prototypes of __libc_res_nquery,
48913         __libc_res_nsearch, __libc_res_nsend.
48915 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
48917         * math/auto-libm-test-in: Add tests of fma.
48918         * math/auto-libm-test-out: Regenerated.
48919         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
48920         (fma_towardzero_test_data): Likewise.
48921         (fma_downward_test_data): Likewise.
48922         (fma_upward_test_data): Likewise.
48923         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48924         mpc_mode.
48925         (rounding_modes): Add values for new field.
48926         (func_calc_method): Add value mpfr_fff_f.
48927         (func_calc_desc): Add mpfr_fff_f union field.
48928         (test_function): Add field exact_args.
48929         (FUNC): Add macro argument EXACT_ARGS.
48930         (FUNC_mpfr_f_f): Update call to FUNC.
48931         (FUNC_mpfr_f_f): Likewise.
48932         (FUNC_mpfr_ff_f): Likewise.
48933         (FUNC_mpfr_if_f): Likewise.
48934         (FUNC_mpc_c_f): Likewise.
48935         (FUNC_mpc_c_c): Likewise.
48936         (test_functions): Add fma.  Update calls to FUNC.
48937         (handle_input_arg): Add argument exact_args.
48938         (add_test): Update call to handle_input_arg.
48939         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
48940         (output_for_one_input_case): Update call to calc_generic_results.
48941         Recalculate exact zero results in each rounding mode.
48943         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
48944         non-negative before setting low bit.
48945         * math/auto-libm-test-in: Mark one asin test possibly having
48946         spurious underflow.
48947         * math/auto-libm-test-out: Regenerated.
48948         * sysdeps/i386/fpu/libm-test-ulps: Update.
48949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48951 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
48953         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
48954         * sysdeps/unix/sysv/linux/microblaze: Move directory from
48955         ports/sysdeps/unix/sysv/linux/microblaze.
48956         * README: Add missing listing for microblaze*-*-linux-gnu.
48958 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
48960         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
48961         duplicate code
48963 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
48965         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
48966         * sysdeps/unix/sysv/linux/ia64: Move directory from
48967         ports/sysdeps/unix/sysv/linux/ia64.
48968         * README: Update listing for ia64-*-linux-gnu.
48970 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
48971             Joseph Myers  <joseph@codesourcery.com>
48973         * Makeconfig (test-name): New variable.
48974         (evaluate-test): Likewise.
48975         * Makerules (do-test-clean): Remove .test-result files.
48976         (common-mostlyclean): Likewise.
48977         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
48978         * scripts/evaluate-test.sh: New file.
48980 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
48982         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
48983         separate $(objpfx)tst-fopenloc-cmp.out and
48984         $(objpfx)tst-fopenloc-mem.out targets.
48985         (tests): Update dependencies.
48986         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
48987         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
48988         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
48989         (tst-rxspencer-no-utf8-ARGS): New variable.
48990         (tst-rxspencer-no-utf8-ENV): Likewise.
48991         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
48992         instead of $(objpfx)tst-rxspencer-mem.
48993         ($(objpfx)tst-rxspencer-mem): Change target to
48994         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
48995         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
48996         * posix/tst-rxspencer-no-utf8.c: New file.
48998         * elf/Makefile ($(objpfx)order.out): Remove rule.
48999         [$(run-built-tests) = yes] (tests): Depend on
49000         $(objpfx)order-cmp.out.
49001         ($(objpfx)order-cmp.out): New rule.
49002         [$(run-built-tests) = yes] (tests): Depend on
49003         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49004         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49005         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49006         $(objpfx)tst-array5-static-cmp.out.
49007         ($(objpfx)tst-array1.out): Remove rule.
49008         ($(objpfx)tst-array1-cmp.out): New rule.
49009         ($(objpfx)tst-array1-static.out): Remove rule.
49010         ($(objpfx)tst-array1-static-cmp.out): New rule.
49011         ($(objpfx)tst-array2.out): Remove rule.
49012         ($(objpfx)tst-array2-cmp.out): New rule.
49013         ($(objpfx)tst-array3.out): Remove rule.
49014         ($(objpfx)tst-array3-cmp.out): New rule.
49015         ($(objpfx)tst-array4.out): Remove rule.
49016         ($(objpfx)tst-array4-cmp.out): New rule.
49017         ($(objpfx)tst-array5.out): Remove rule.
49018         ($(objpfx)tst-array5-cmp.out): New rule.
49019         ($(objpfx)tst-array5-static.out): Remove rule.
49020         ($(objpfx)tst-array5-static-cmp.out): New rule.
49021         [$(run-built-tests) = yes] (tests): Depend on
49022         $(objpfx)order2-cmp.out.
49023         ($(objpfx)order2.out): Remove rule.
49024         ($(objpfx)order2-cmp.out): New rule.
49025         ($(objpfx)tst-initorder.out): Remove rule.
49026         [$(run-built-tests) = yes] (tests): Depend on
49027         $(objpfx)tst-initorder-cmp.out.
49028         ($(objpfx)tst-initorder-cmp.out): New rule.
49029         ($(objpfx)tst-initorder2.out): Remove rule.
49030         [$(run-built-tests) = yes] (tests): Depend on
49031         $(objpfx)tst-initorder2-cmp.out.
49032         ($(objpfx)tst-initorder2-cmp.out): New rule.
49033         [$(run-built-tests) = yes] (tests): Depend on
49034         $(objpfx)tst-unused-dep-cmp.out.
49035         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49036         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49037         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49038         on $(objpfx)tst-setvbuf1-cmp.out.
49039         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49040         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49041         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49042         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49043         ($(objpfx)tst-svc.out): Remove rule.
49044         ($(objpfx)tst-svc-cmp.out): New rule.
49046 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49048         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49049         * ctype/ctype.h [__USE_MISC]: Likewise.
49050         * dirent/dirent.h [__USE_MISC]: Likewise.
49051         * grp/grp.h [__USE_MISC]: Likewise.
49052         * io/fcntl.h [__USE_MISC]: Likewise.
49053         * io/sys/stat.h [__USE_MISC]: Likewise.
49054         * libio/stdio.h [__USE_MISC]: Likewise.
49055         * posix/unistd.h [__USE_MISC]: Likewise.
49056         * pwd/pwd.h [__USE_MISC]: Likewise.
49057         * stdlib.h [__USE_MISC]: Likewise.
49058         * string/bits/string2.h [__USE_MISC]: Likewise.
49059         * string/string.h [__USE_MISC]: Likewise.
49060         * time/time.h [__USE_MISC]: Likewise.
49062 2014-02-13  Andreas Schwab  <schwab@suse.de>
49064         [BZ #16574]
49065         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49066         second answer buffer if it was separately allocated.
49068 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49070         * sysdeps/mips/math-tests.h: Include <features.h>.
49071         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49072         (ROUNDING_TESTS_long_double): Do not define.
49073         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49074         (EXCEPTION_TESTS_long_double): Likewise.
49075         * sysdeps/mips/mips64/libm-test-ulps: Update.
49077         * include/features.h (__USE_BSD): Remove macro definitions.
49078         (__USE_SVID): Likewise.
49079         (_BSD_SOURCE): Likewise.
49080         (_SVID_SOURCE): Likewise.
49081         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49082         from definition of _DEFAULT_SOURCE.
49083         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49084         [_DEFAULT_SOURCE].
49085         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49086         * bits/mman.h [__USE_BSD]: Likewise.
49087         * bits/termios.h [__USE_BSD]: Likewise.
49088         * bits/waitstatus.h [__USE_BSD]: Likewise.
49089         * ctype/ctype.h [__USE_SVID]: Likewise.
49090         * dirent/dirent.h [__USE_BSD]: Likewise.
49091         * grp/grp.h [__USE_SVID]: Likewise.
49092         [__USE_BSD]: Likewise.
49093         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49094         * io/fcntl.h [__USE_BSD]: Likewise.
49095         * io/ftw.h [__USE_BSD]: Likewise.
49096         * io/sys/stat.h [__USE_BSD]: Likewise.
49097         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49098         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49099         * libio/stdio.h [__USE_SVID]: Likewise.
49100         [__USE_BSD]: Likewise.
49101         * math/math.h [__USE_SVID]: Likewise.
49102         [__USE_BSD]: Likewise.
49103         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49104         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49105         * misc/search.h [__USE_SVID]: Likewise.
49106         * misc/sys/mman.h [__USE_BSD]: Likewise.
49107         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49108         * misc/sys/uio.h [__USE_BSD]: Likewise.
49109         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49110         * posix/glob.h [__USE_BSD]: Likewise.
49111         * posix/regex.h [__USE_BSD]: Likewise.
49112         * posix/sys/types.h [__USE_BSD]: Likewise.
49113         [__USE_SVID]: Likewise.
49114         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49115         * posix/sys/wait.h [__USE_BSD]: Likewise.
49116         [__USE_SVID]: Likewise.
49117         * posix/unistd.h [__USE_BSD]: Likewise.
49118         [__USE_SVID]: Likewise.
49119         * pwd/pwd.h [__USE_SVID]: Likewise.
49120         * resolv/netdb.h [__USE_BSD]: Likewise.
49121         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49122         * signal/signal.h [__USE_BSD]: Likewise.
49123         [__USE_SVID]: Likewise.
49124         * socket/sys/socket.h [__USE_BSD]: Likewise.
49125         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49126         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49127         [__USE_SVID]: Likewise.
49128         * string/bits/string2.h [__USE_BSD]: Likewise.
49129         [__USE_SVID]: Likewise.
49130         * string/bits/string3.h [__USE_BSD]: Likewise.
49131         * string/endian.h [__USE_BSD]: Likewise.
49132         * string/string.h [__USE_SVID]: Likewise.
49133         [__USE_BSD]: Likewise.
49134         * string/strings.h [__USE_BSD]: Likewise.
49135         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49136         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49137         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49138         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49139         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49140         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49141         Likewise.
49142         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49143         Likewise.
49144         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49145         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49146         Likewise.
49147         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49148         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49149         Likewise.
49150         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49151         Likewise.
49152         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49153         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49154         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49155         Likewise.
49156         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49157         Likewise.
49158         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49159         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49160         * termios/termios.h [__USE_BSD]: Likewise.
49161         * time/sys/time.h [__USE_BSD]: Likewise.
49162         * time/time.h [__USE_BSD]: Likewise.
49163         [__USE_SVID]: Likewise.
49165         * Makefile (subdir_targets): Remove subdir_lint.out.
49167         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49168         (do-tst-printf): Likewise.
49169         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49170         $(objpfx)tst-printf.out.
49172         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49174         * Makerules (check-abi-%): Change target to
49175         $(objpfx)check-abi-%.out.
49176         (check-abi target): Update dependencies.
49177         (check-abi-pattern variable): Redirect output of diff to $@.
49178         (check-abi variable): Likewise.
49179         * elf/Makefile (check-abi): Update dependencies.
49181         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49182         unused.
49183         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49184         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49185         subnormal range.
49186         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49187         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49188         value has largest subnormal exponent.
49189         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49190         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49191         * sysdeps/aarch64/soft-fp/sfp-machine.h
49192         (_FP_TININESS_AFTER_ROUNDING): New macro.
49193         * sysdeps/alpha/soft-fp/sfp-machine.h
49194         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49195         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49196         Likewise.
49197         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49198         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49199         * sysdeps/mips/soft-fp/sfp-machine.h
49200         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49201         * sysdeps/powerpc/soft-fp/sfp-machine.h
49202         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49203         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49204         Likewise.
49205         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49206         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49207         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49208         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49209         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49210         Likewise.
49212 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49214         [BZ #16545]
49215         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49216         model 1.
49218 2014-02-12  Richard Henderson  <rth@redhat.com>
49220         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49221         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49222         * sysdeps/unix/sysv/linux/alpha: Move directory from
49223         ports/sysdeps/unix/sysv/linux/alpha.
49224         * README: Update listing for alpha-*-linux-gnu.
49226 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49228         * include/features.h: Update comment documenting feature test
49229         macros.
49230         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49231         _DEFAULT_SOURCE.
49232         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49233         (_SVID_SOURCE): Likewise.
49234         (_DEFAULT_SOURCE): Update description of default features.
49235         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49236         with _GNU_SOURCE.
49237         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49238         (S_ISVTX): Likewise.
49239         * manual/math.texi (Mathematical Constants): Likewise.
49240         * manual/signal.texi (Interrupted Primitives): Likewise.
49241         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49242         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49243         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49244         Don't refer to _SVID_SOURCE in warning text.
49246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49248         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49249         already defined.
49250         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49251         * sysdeps/mips/dl-lookup.c: Remove.
49252         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49254 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49256         [BZ #16447]
49257         * math/auto-libm-test-in: Add testcase for expl.
49258         * math/auto-libm-test-out: Regenerate.
49259         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49260         calculation of unsafe.
49261         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49263 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49265         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49266         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49267         ports/sysdeps/unix/sysv/linux/aarch64.
49268         * README: Update listing for aarch64*-*-linux-gnu.
49270 2014-02-11  Will Newton  <will.newton@linaro.org>
49272         * manual/probes.texi (Mathematical Function Probes): Use
49273         "triggered" instead of "hit".
49275         * manual/probes.texi (Internal Probes): Add documentation
49276         of setjmp, longjmp and longjmp_target probes.
49278         * include/stap-probe.h: Add comment about probe argument
49279         format.
49281         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49282         definition.  (tr_where, tr_freehook, tr_mallochook,
49283         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49285 2014-02-11  David S. Miller  <davem@davemloft.net>
49287         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49288         processing int_tests.
49290 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49292         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49293         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49294         * sysdeps/unix/sysv/linux/mips: Move directory from
49295         ports/sysdeps/unix/sysv/linux/mips.
49296         * README: Update listing for mips-*-linux-gnu and
49297         mips64-*-linux-gnu.
49299 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49301         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49302         * sysdeps/unix/sysv/linux/m68k: Move directory from
49303         ports/sysdeps/unix/sysv/linux/m68k.
49304         * README: Update listing for m68k-*-linux-gnu.
49306 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49308         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49309         * sysdeps/unix/sysv/linux/generic: Move directory from
49310         ports/sysdeps/unix/sysv/linux/generic.
49311         * sysdeps/unix/sysv/linux/tile: Move directory from
49312         ports/sysdeps/unix/sysv/linux/tile.
49313         * README: Update listing for tile*-*-linux-gnu.
49315 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49317         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49318         __builtin_expect.
49319         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49320         * catgets/open_catalog.c (__open_catalog): Likewise.
49321         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49322         * debug/confstr_chk.c: Likewise.
49323         * debug/fread_chk.c (__fread_chk): Likewise.
49324         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49325         * debug/getgroups_chk.c: Likewise.
49326         * debug/mbsnrtowcs_chk.c: Likewise.
49327         * debug/mbsrtowcs_chk.c: Likewise.
49328         * debug/mbstowcs_chk.c: Likewise.
49329         * debug/memcpy_chk.c: Likewise.
49330         * debug/memmove_chk.c: Likewise.
49331         * debug/mempcpy_chk.c: Likewise.
49332         * debug/memset_chk.c: Likewise.
49333         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49334         * debug/strcat_chk.c (__strcat_chk): Likewise.
49335         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49336         * debug/strncat_chk.c (__strncat_chk): Likewise.
49337         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49338         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49339         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49340         * debug/wcpncpy_chk.c: Likewise.
49341         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49342         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49343         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49344         * debug/wcsncpy_chk.c: Likewise.
49345         * debug/wcsnrtombs_chk.c: Likewise.
49346         * debug/wcsrtombs_chk.c: Likewise.
49347         * debug/wcstombs_chk.c: Likewise.
49348         * debug/wmemcpy_chk.c: Likewise.
49349         * debug/wmemmove_chk.c: Likewise.
49350         * debug/wmempcpy_chk.c: Likewise.
49351         * debug/wmemset_chk.c: Likewise.
49352         * dirent/scandirat.c (SCANDIRAT): Likewise.
49353         * dlfcn/dladdr1.c (dladdr1): Likewise.
49354         * dlfcn/dladdr.c (dladdr): Likewise.
49355         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49356         * dlfcn/dlerror.c (__dlerror): Likewise.
49357         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49358         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49359         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49360         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49361         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49362         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49363         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49364         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49365         Likewise.
49366         * elf/dl-conflict.c: Likewise.
49367         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49368         * elf/dl-dst.h: Likewise.
49369         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49370         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49371         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49372         * elf/dl-init.c (call_init, _dl_init): Likewise.
49373         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49374         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49375         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49376         Likewise.
49377         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49378         Likewise.
49379         * elf/dl-minimal.c (__libc_memalign): Likewise.
49380         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49381         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49382         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49383         * elf/dl-sym.c (do_sym): Likewise.
49384         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49385         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49386         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49387         * elf/dl-writev.h (_dl_writev): Likewise.
49388         * elf/ldconfig.c (search_dir): Likewise.
49389         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49390         (dl_main): Likewise.
49391         * elf/setup-vdso.h (setup_vdso): Likewise.
49392         * grp/compat-initgroups.c (compat_call): Likewise.
49393         * grp/fgetgrent.c (fgetgrent): Likewise.
49394         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49395         * grp/putgrent.c (putgrent): Likewise.
49396         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49397         Likewise.
49398         * hurd/hurdinit.c: Likewise.
49399         * iconvdata/8bit-gap.c (struct): Likewise.
49400         * iconvdata/ansi_x3.110.c : Likewise.
49401         * iconvdata/big5.c : Likewise.
49402         * iconvdata/big5hkscs.c : Likewise.
49403         * iconvdata/cp1255.c: Likewise.
49404         * iconvdata/cp1258.c : Likewise.
49405         * iconvdata/cp932.c : Likewise.
49406         * iconvdata/euc-cn.c: Likewise.
49407         * iconvdata/euc-jisx0213.c : Likewise.
49408         * iconvdata/euc-jp.c: Likewise.
49409         * iconvdata/euc-jp-ms.c : Likewise.
49410         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49411         * iconvdata/gb18030.c : Likewise.
49412         * iconvdata/gbbig5.c (const): Likewise.
49413         * iconvdata/gbgbk.c: Likewise.
49414         * iconvdata/gbk.c : Likewise.
49415         * iconvdata/ibm1364.c : Likewise.
49416         * iconvdata/ibm930.c : Likewise.
49417         * iconvdata/ibm932.c: Likewise.
49418         * iconvdata/ibm933.c : Likewise.
49419         * iconvdata/ibm935.c : Likewise.
49420         * iconvdata/ibm937.c : Likewise.
49421         * iconvdata/ibm939.c : Likewise.
49422         * iconvdata/ibm943.c: Likewise.
49423         * iconvdata/iso_11548-1.c: Likewise.
49424         * iconvdata/iso-2022-cn.c : Likewise.
49425         * iconvdata/iso-2022-cn-ext.c : Likewise.
49426         * iconvdata/iso-2022-jp-3.c: Likewise.
49427         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49428         * iconvdata/iso-2022-kr.c : Likewise.
49429         * iconvdata/iso646.c (gconv_end): Likewise.
49430         * iconvdata/iso_6937-2.c : Likewise.
49431         * iconvdata/iso_6937.c : Likewise.
49432         * iconvdata/iso8859-1.c: Likewise.
49433         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49434         * iconvdata/shift_jisx0213.c : Likewise.
49435         * iconvdata/sjis.c : Likewise.
49436         * iconvdata/t.61.c : Likewise.
49437         * iconvdata/tcvn5712-1.c : Likewise.
49438         * iconvdata/tscii.c: Likewise.
49439         * iconvdata/uhc.c : Likewise.
49440         * iconvdata/unicode.c (gconv_end): Likewise.
49441         * iconvdata/utf-16.c (gconv_end): Likewise.
49442         * iconvdata/utf-32.c (gconv_end): Likewise.
49443         * iconvdata/utf-7.c (base64): Likewise.
49444         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49445         * iconv/gconv_close.c (__gconv_close): Likewise.
49446         * iconv/gconv_open.c (__gconv_open): Likewise.
49447         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49448         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49449         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49450         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49451         (ucs4le_internal_loop_single): Likewise.
49452         * iconv/iconv.c (iconv): Likewise.
49453         * iconv/iconv_close.c: Likewise.
49454         * iconv/loop.c (SINGLE): Likewise.
49455         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49456         * include/atomic.h: Likewise.
49457         * inet/inet6_option.c (option_alloc): Likewise.
49458         * intl/bindtextdom.c (set_binding_values): Likewise.
49459         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49460         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49461         * intl/localealias.c (read_alias_file): Likewise.
49462         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49463         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49464         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49465         * libio/fmemopen.c (fmemopen): Likewise.
49466         * libio/iofgets.c (_IO_fgets): Likewise.
49467         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49468         * libio/iofgetws.c (fgetws): Likewise.
49469         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49470         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49471         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49472         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49473         * locale/findlocale.c (_nl_find_locale): Likewise.
49474         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49475         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49476         Likewise.
49477         * locale/setlocale.c (setlocale): Likewise.
49478         * login/programs/pt_chown.c (main): Likewise.
49479         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49480         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49481         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49482         (mmap, mmap64, mremap, munmap): Likewise.
49483         * math/e_exp2l.c: Likewise.
49484         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
49485         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
49486         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
49487         * math/s_catan.c (__catan): Likewise.
49488         * math/s_catanf.c (__catanf): Likewise.
49489         * math/s_catanh.c (__catanh): Likewise.
49490         * math/s_catanhf.c (__catanhf): Likewise.
49491         * math/s_catanhl.c (__catanhl): Likewise.
49492         * math/s_catanl.c (__catanl): Likewise.
49493         * math/s_ccosh.c (__ccosh): Likewise.
49494         * math/s_ccoshf.c (__ccoshf): Likewise.
49495         * math/s_ccoshl.c (__ccoshl): Likewise.
49496         * math/s_cexp.c (__cexp): Likewise.
49497         * math/s_cexpf.c (__cexpf): Likewise.
49498         * math/s_cexpl.c (__cexpl): Likewise.
49499         * math/s_clog10.c (__clog10): Likewise.
49500         * math/s_clog10f.c (__clog10f): Likewise.
49501         * math/s_clog10l.c (__clog10l): Likewise.
49502         * math/s_clog.c (__clog): Likewise.
49503         * math/s_clogf.c (__clogf): Likewise.
49504         * math/s_clogl.c (__clogl): Likewise.
49505         * math/s_csin.c (__csin): Likewise.
49506         * math/s_csinf.c (__csinf): Likewise.
49507         * math/s_csinh.c (__csinh): Likewise.
49508         * math/s_csinhf.c (__csinhf): Likewise.
49509         * math/s_csinhl.c (__csinhl): Likewise.
49510         * math/s_csinl.c (__csinl): Likewise.
49511         * math/s_csqrt.c (__csqrt): Likewise.
49512         * math/s_csqrtf.c (__csqrtf): Likewise.
49513         * math/s_csqrtl.c (__csqrtl): Likewise.
49514         * math/s_ctan.c (__ctan): Likewise.
49515         * math/s_ctanf.c (__ctanf): Likewise.
49516         * math/s_ctanh.c (__ctanh): Likewise.
49517         * math/s_ctanhf.c (__ctanhf): Likewise.
49518         * math/s_ctanhl.c (__ctanhl): Likewise.
49519         * math/s_ctanl.c (__ctanl): Likewise.
49520         * math/w_pow.c: Likewise.
49521         * math/w_powf.c: Likewise.
49522         * math/w_powl.c: Likewise.
49523         * math/w_scalb.c (sysv_scalb): Likewise.
49524         * math/w_scalbf.c (sysv_scalbf): Likewise.
49525         * math/w_scalbl.c (sysv_scalbl): Likewise.
49526         * misc/error.c (error_tail): Likewise.
49527         * misc/pselect.c (__pselect): Likewise.
49528         * nis/nis_callback.c (__nis_create_callback): Likewise.
49529         * nis/nis_call.c (__nisfind_server): Likewise.
49530         * nis/nis_creategroup.c (nis_creategroup): Likewise.
49531         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
49532         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
49533         * nis/nis_getservlist.c (nis_getservlist): Likewise.
49534         * nis/nis_lookup.c (nis_lookup): Likewise.
49535         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
49536         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
49537         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
49538         * nis/nis_xdr.c (xdr_endpoint): Likewise.
49539         * nis/nss_compat/compat-grp.c (getgrent_next_file)
49540         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
49541         * nis/nss_compat/compat-initgroups.c (add_group)
49542         (internal_getgrent_r): Likewise.
49543         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
49544         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
49545         * nis/nss_compat/compat-spwd.c (getspent_next_file)
49546         (internal_getspnam_r): Likewise.
49547         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
49548         (_nss_nis_getaliasbyname_r): Likewise.
49549         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
49550         (_nss_nis_getntohost_r): Likewise.
49551         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
49552         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
49553         (_nss_nis_getgrgid_r): Likewise.
49554         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
49555         (internal_nis_gethostent_r, internal_gethostbyname2_r)
49556         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
49557         (_nss_nis_gethostbyname4_r): Likewise.
49558         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
49559         (initgroups_netid): Likewise.
49560         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
49561         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
49562         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
49563         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
49564         (_nss_nis_getprotobynumber_r): Likewise.
49565         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
49566         (_nss_nis_getsecretkey): Likewise.
49567         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
49568         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
49569         (_nss_nis_getpwuid_r): Likewise.
49570         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
49571         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
49572         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
49573         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
49574         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
49575         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
49576         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
49577         Likewise.
49578         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
49579         (_nss_nisplus_getntohost_r): Likewise.
49580         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
49581         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
49582         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
49583         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
49584         Likewise.
49585         * nis/nss_nisplus/nisplus-initgroups.c
49586         (_nss_nisplus_initgroups_dyn): Likewise.
49587         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
49588         (_nss_nisplus_getnetbyaddr_r): Likewise.
49589         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
49590         (_nss_nisplus_getprotobynumber_r): Likewise.
49591         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
49592         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
49593         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
49594         Likewise.
49595         * nis/nss_nisplus/nisplus-service.c
49596         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
49597         (_nss_nisplus_getservbyport_r): Likewise.
49598         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
49599         (_nss_nisplus_getspnam_r): Likewise.
49600         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
49601         Likewise.
49602         * nscd/aicache.c (addhstaiX): Likewise.
49603         * nscd/cache.c (cache_search, prune_cache): Likewise.
49604         * nscd/connections.c (register_traced_file, send_ro_fd)
49605         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
49606         (main_loop_epoll): Likewise.
49607         * nscd/grpcache.c (addgrbyX): Likewise.
49608         * nscd/hstcache.c (addhstbyX): Likewise.
49609         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49610         * nscd/mem.c (gc, mempool_alloc): Likewise.
49611         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
49612         (addinnetgrX): Likewise.
49613         * nscd/nscd-client.h (__nscd_acquire_maplock)
49614         (__nscd_drop_map_ref): Likewise.
49615         * nscd/nscd_getai.c (__nscd_getai): Likewise.
49616         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
49617         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
49618         Likewise.
49619         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
49620         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49621         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
49622         (__nscd_get_map_ref): Likewise.
49623         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
49624         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
49625         Likewise.
49626         * nscd/pwdcache.c (addpwbyX): Likewise.
49627         * nscd/selinux.c (preserve_capabilities): Likewise.
49628         * nscd/servicescache.c (addservbyX): Likewise.
49629         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
49630         * posix/fnmatch.c (fnmatch): Likewise.
49631         * posix/getopt.c (_getopt_internal_r): Likewise.
49632         * posix/glob.c (glob, glob_in_dir): Likewise.
49633         * posix/wordexp.c (exec_comm_child): Likewise.
49634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
49635         (getanswer_r, gaih_getanswer_slice): Likewise.
49636         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
49637         * resolv/res_init.c: Likewise.
49638         * resolv/res_mkquery.c (res_nmkquery): Likewise.
49639         * resolv/res_query.c (__libc_res_nquery): Likewise.
49640         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
49641         Likewise.
49642         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
49643         * stdio-common/perror.c (perror): Likewise.
49644         * stdio-common/printf_fp.c (___printf_fp): Likewise.
49645         * stdio-common/tmpnam.c (tmpnam): Likewise.
49646         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49647         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
49648         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
49649         Likewise.
49650         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
49651         * stdlib/putenv.c (putenv): Likewise.
49652         * stdlib/setenv.c (__add_to_environ): Likewise.
49653         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49654         * stdlib/strtol_l.c (INTERNAL): Likewise.
49655         * string/memmem.c (memmem): Likewise.
49656         * string/strerror.c (strerror): Likewise.
49657         * string/strnlen.c (__strnlen): Likewise.
49658         * string/test-memmem.c (simple_memmem): Likewise.
49659         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
49660         * sunrpc/pm_getport.c (__get_socket): Likewise.
49661         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
49662         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
49663         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
49664         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
49665         Likewise.
49666         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
49667         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
49668         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
49669         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
49670         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
49671         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
49672         Likewise.
49673         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
49674         Likewise.
49675         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
49676         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
49677         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49678         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
49679         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
49680         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
49681         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49682         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
49683         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
49684         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
49685         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49686         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
49687         Likewise.
49688         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
49689         Likewise.
49690         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
49691         Likewise.
49692         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
49693         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49694         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
49695         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
49696         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
49697         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
49698         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49699         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
49700         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
49701         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
49702         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
49703         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49704         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49705         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
49706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49707         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
49708         Likewise.
49709         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
49710         Likewise.
49711         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
49712         Likewise.
49713         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
49714         Likewise.
49715         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49716         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49717         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
49718         Likewise.
49719         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
49720         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
49721         * sysdeps/posix/opendir.c (__opendirat): Likewise.
49722         * sysdeps/posix/sleep.c: Likewise.
49723         * sysdeps/posix/tempname.c: Likewise.
49724         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
49725         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49726         Likewise.
49727         * sysdeps/powerpc/powerpc32/dl-machine.h
49728         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
49729         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49730         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49731         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
49732         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
49733         Likewise.
49734         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
49735         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
49736         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49737         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
49738         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49739         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
49740         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
49741         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
49742         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49743         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
49744         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
49745         (elf_machine_lazy_rel): Likewise.
49746         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49747         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
49748         (elf_machine_lazy_rel): Likewise.
49749         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
49750         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
49751         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
49752         * sysdeps/unix/grantpt.c (grantpt): Likewise.
49753         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
49754         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
49755         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
49756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49757         Likewise.
49758         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
49759         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
49760         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
49761         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
49762         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49763         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49764         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49765         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49766         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49767         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49768         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49769         Likewise.
49770         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49771         (__posix_fallocate64_l64): Likewise.
49772         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49773         (posix_fallocate): Likewise.
49774         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49775         Likewise.
49776         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49777         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49778         (getifaddrs_internal): Likewise.
49779         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49780         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49781         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49782         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49783         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49784         (__posix_fallocate64_l64): Likewise.
49785         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49786         Likewise.
49787         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49788         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49789         (__get_clockfreq): Likewise.
49790         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49791         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49792         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49794         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49795         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49796         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49797         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49798         Likewise.
49799         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49800         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49801         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49802         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49803         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49804         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49805         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49806         Likewise.
49807         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49808         (posix_fallocate): Likewise.
49809         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49810         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
49811         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
49812         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
49813         (elf_machine_rela, elf_machine_rela_relative)
49814         (elf_machine_lazy_rel): Likewise.
49815         * time/asctime.c (asctime_internal): Likewise.
49816         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
49817         * time/tzset.c (__tzset_parse_tz): Likewise.
49818         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
49819         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
49820         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
49821         * wcsmbs/wcsmbsload.h: Likewise.
49823         [BZ #15894]
49824         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
49826         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
49827         (arena_get2): Remove THREAD_STATS conditionals.
49828         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
49829         (__malloc_stats, int): Likewise.
49831 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
49833         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
49834         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
49836         * manual/setjmp.texi: Fix typos/grammar errors.
49838         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
49839         Only return early when n is <= 0.  Delete unused return statement.
49841         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
49842         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
49843         * debug/tst-longjmp_chk3.c: New file.
49845         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
49846         (test_main): Replace code with set_fortify_handler call.
49847         * debug/test-strcpy_chk.c: Likewise.
49848         * debug/tst-chk1.c: Likewise.
49849         * debug/tst-longjmp_chk.c: Likewise.
49850         * test-skeleton.c: Include fcntl.h & paths.h
49851         (set_fortify_handler): Define.
49853         * debug/tst-longjmp_chk.c: Add header comment and include
49854         ../test-skeleton.c.
49855         (do_test): Mark static.
49856         (TEST_FUNCTION): Define.
49858         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
49859         (IP_PMTUDISC_INTERFACE): Likewise.
49860         (IP_MULTICAST_IF): Likewise.
49861         (IP_MULTICAST_TTL): Likewise.
49862         (IP_MULTICAST_LOOP): Likewise.
49863         (IP_ADD_MEMBERSHIP): Likewise.
49864         (IP_DROP_MEMBERSHIP): Likewise.
49865         (IP_UNBLOCK_SOURCE): Likewise.
49866         (IP_BLOCK_SOURCE): Likewise.
49867         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
49868         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
49869         (IP_MSFILTER): Likewise.
49870         (MCAST_JOIN_GROUP): Likewise.
49871         (MCAST_BLOCK_SOURCE): Likewise.
49872         (MCAST_UNBLOCK_SOURCE): Likewise.
49873         (MCAST_LEAVE_GROUP): Likewise.
49874         (MCAST_JOIN_SOURCE_GROUP): Likewise.
49875         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49876         (MCAST_MSFILTER): Likewise.
49877         (IP_MULTICAST_ALL): Likewise.
49878         (IP_UNICAST_IF): Likewise.
49880         * timezone/Makefile: Delete $(have-ksh) check.
49881         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
49882         * timezone/tzselect.ksh: Add +x mode bits.
49884         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
49885         (ANON_INODE_FS_MAGIC): Likewise.
49886         (BDEVFS_MAGIC): Likewise.
49887         (BINFMTFS_MAGIC): Likewise.
49888         (BTRFS_TEST_MAGIC): Likewise.
49889         (CRAMFS_MAGIC_WEND): Likewise.
49890         (DEBUGFS_MAGIC): Likewise.
49891         (ECRYPTFS_SUPER_MAGIC): Likewise.
49892         (EXT3_SUPER_MAGIC): Likewise.
49893         (EXT4_SUPER_MAGIC): Likewise.
49894         (FUTEXFS_SUPER_MAGIC): Likewise.
49895         (HOSTFS_SUPER_MAGIC): Likewise.
49896         (HUGETLBFS_MAGIC): Likewise.
49897         (MINIX3_SUPER_MAGIC): Likewise.
49898         (MTD_INODE_FS_MAGIC): Likewise.
49899         (NILFS_SUPER_MAGIC): Likewise.
49900         (OPENPROM_SUPER_MAGIC): Likewise.
49901         (PIPEFS_MAGIC): Likewise.
49902         (PSTOREFS_MAGIC): Likewise.
49903         (QNX6_SUPER_MAGIC): Likewise.
49904         (RAMFS_MAGIC): Likewise.
49905         (REISERFS_SUPER_MAGIC_STRING): Likewise.
49906         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
49907         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
49908         (SECURITYFS_MAGIC): Likewise.
49909         (SELINUX_MAGIC): Likewise.
49910         (SMACK_MAGIC): Likewise.
49911         (SOCKFS_MAGIC): Likewise.
49912         (SQUASHFS_MAGIC): Likewise.
49913         (STACK_END_MAGIC): Likewise.
49914         (TMPFS_MAGIC): Likewise.
49915         (USBDEVICE_SUPER_MAGIC): Likewise.
49916         (V9FS_MAGIC): Likewise.
49917         (XENFS_SUPER_MAGIC): Likewise.
49918         (CRAMFS_MAGIC): Fix typo in comment.
49919         (EXT2_SUPER_MAGIC): Update comment.
49920         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
49922 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
49924         * sysdeps/arm: Move directory from ports/sysdeps/arm.
49925         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
49926         * sysdeps/unix/sysv/linux/arm: Move directory from
49927         ports/sysdeps/unix/sysv/linux/arm.
49928         * README: Update listing for arm-*-linux-gnueabi.
49930         * README: Remove mention of am33.
49932 2014-02-07  Roland McGrath  <roland@hack.frob.com>
49934         * bits/sigset.h (__sigemptyset): Use a statement expression rather
49935         than the comma operator, to avoid "rhs of comma has no effect"
49936         compiler warnings.
49937         (__sigfillset, __sigandset, __sigorset): Likewise.
49938         * include/signal.h (__sigemptyset): Likewise.
49939         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
49941 2014-02-07  Allan McRae  <allan@archlinux.org>
49943         * version.h (RELEASE): Set to "development".
49944         (VERSION): Set to "2.19.90"
49945         * NEWS: Add 2.20 section.
49947 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
49949         [BZ #16529]
49950         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
49952 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49954         * manual/contrib.texi: Update entry for Carlos O'Donell,
49955         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
49957 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
49959         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
49961         * sysdeps/unix/sysv/linux/kernel-features.h
49962         [__LINUX_KERNEL_VERSION >= 0x020621]
49963         (__ASSUME_PROC_PID_TASK_COMM): Define.
49965 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49967         [BZ #16398]
49968         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
49969         conversion when destination buffer does not have enough space.
49970         * libio/tst-ftell-partial-wide.c: New test case.
49971         * libio/Makefile (tests): Add tst-ftell-partial-wide.
49973         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
49974         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
49975         Leonard and Allan McRae.
49977 2014-02-04  David S. Miller  <davem@davemloft.net>
49979         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
49980         32-bit.
49982 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49985         New file
49986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49987         New file
49988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49989         New file.
49990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49991         New file.
49992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49993         New file.
49994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49995         New file.
49996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49997         New file.
49998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49999         New file.
50000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50001         New file.
50002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50003         New file.
50004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50005         New file.
50006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50007         New file.
50008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50009         New file.
50011 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50013         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50014         * shlib-versions: Likewise.
50016 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50017             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50019         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50020         (abilist-pattern): New variable, set to %-le.abilist.
50022         * Makerules (abilist-pattern): New variable.
50023         (vpath): Use $(abilist-pattern) in place of %.abilist.
50024         (check-abi-% pattern rule): Likewise.
50025         (check-abi, update-abi): Likewise.
50027 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50031 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50033         * manual/startup.texi: Add next, previous, and top entries for
50034         the `Program Arguments' and `Environment Variables' nodes.
50036 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50038         * manual/macros.texi: Add comments before MTASC-safety macros.
50040         * manual/users.texi: Document MTASC-safety properties.
50042         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50043         (pthread_getspecific, pthread_setspecific): Format with
50044         @deftypefun, and add @safety note.
50045         * manual/signal.texi: Move comments that analyze the above
50046         functions to their home place.
50048 2014-02-03  Allan McRae  <allan@archlinux.org>
50050         * po/sl.po: Update Slovenian translation from translation project.
50052 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50054         * manual/time.texi (timegm): Add missing blank after @c.
50055         Reported by Joseph Myers <joseph@codesourcery.com>.
50057 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50059         * manual/check-safety.sh: New.
50060         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50062         * manual/terminal.texi: Document MTASC-safety properties.
50064         * manual/filesys.texi: Document MTASC-safety properties.
50066         * manual/errno.texi: Document MTASC-safety properties.
50068         * manual/intro.texi: Document safety identifiers and
50069         conditionals.
50071         * manual/string.texi (wcstok): Fix prototype.
50072         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50074         * manual/time.texi: Document MTASC-safety properties.
50076         * manual/string.texi: Document MTASC-safety properties.
50078         * manual/threads.texi: Document MTASC-safety properties.
50080         * manual/stdio.texi: Document MTASC-safety properties.
50082         * manual/syslog.texi: Document MTASC-safety properties.
50084         * manual/sysinfo.texi: Document MTASC-safety properties.
50086         * manual/startup.texi: Document MTASC-safety properties.
50088         * manual/socket.texi: Document MTASC-safety properties.
50090         * manual/signal.texi: Document MTASC-safety properties.
50092 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50094         * manual/setjmp.texi: Document MTASC-safety properties.
50096         * manual/search.texi: Document MTASC-safety properties.
50098         * manual/resource.texi: Document MTASC-safety properties.
50100         * manual/process.texi: Document MTASC-safety properties.
50102         * manual/platform.texi: Document MTASC-safety properties.
50104         * manual/pipe.texi: Document MTASC-safety properties.
50106         * manual/pattern.texi: Document MTASC-safety properties.
50108         * manual/message.texi: Document MTASC-safety properties.
50110         [BZ #12751]
50111         * manual/memory.texi: Document MTASC-safety properties.
50113         * manual/math.texi: Document MTASC-safety properties.
50115         * manual/locale.texi: Document MTASC-safety properties.
50117         * manual/llio.texi: Document MTASC-safety properties.
50119         * manual/libdl.texi: New.
50121         * manual/lang.texi: Document MTASC-safety properties.
50123         * manual/job.texi: Document MTASC-safety properties.
50125         * manual/getopt.texi: Document MTASC-safety properties.
50127         * manual/ctype.texi: Document MTASC-safety properties.
50129 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50131         [BZ #16046]
50132         * csu/libc-tls.c (static_map): Remove variable.
50133         (__libc_setup_tls): Use main executable's link map for TLS data.
50134         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50135         casing for LM_ID_BASE and GL(dl_nns).
50136         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50137         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50138         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50139         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50140         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50141         member.
50142         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50143         l_phnum members.
50145 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50147         * manual/debug.texi: Document MTASC-safety properties.
50149 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50151         [BZ #16510]
50152         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50153         of __x86_64__ when disabling x87 inline functions.
50155 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50157         * manual/charset.texi: Document MTASC-safety properties.
50159         * manual/crypt.texi: Document MTASC-safety properties.
50161         * manual/conf.texi: Document MTASC-safety properties.
50163         * manual/arith.texi: Document MTASC-safety properties.
50165         * manual/argp.texi: Document MTASC-safety properties.
50167         * manual/macros.texi: Introduce macros to document multi
50168         thread, asynchronous signal and asynchronous cancellation
50169         safety properties.
50170         * manual/intro.texi: Introduce the properties themselves.
50172 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50174         * sysdeps/sh/sh4/Makefile: New file.
50176 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50178         * math/gen-libm-test.pl ($srcdir): New variable.
50179         ($auto_input): Use it.
50181 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50183         [BZ #16506]
50184         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50185         access beyond array bounds when parsing netgroups file.
50187         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50188         the old buffer before realloc.
50190 2014-01-27  Allan McRae  <allan@archlinux.org>
50192         * po/fr.po: Update French translation from translation project.
50194 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50196         * sysdeps/sh/libm-test-ulps: Regenerate.
50198 2014-01-24  David S. Miller  <davem@davemloft.net>
50200         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50202 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50204         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50205         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50207 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50209         [BZ #16474]
50210         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50211         string pointers after reallocation.
50213 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50215         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50216         __SH4A__ instead of __SH_FPU_ANY__.
50218 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50220         * sysdeps/sh/fpu_control.h: New file.
50221         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50222         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50223         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50224         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50225         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50226         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50227         * sysdeps/sh/sys/ucontext.h: Remove.
50228         * sysdeps/sh/sys: Remove directory.
50230 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50232         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50233         s390/sys/ucontext.h.
50234         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50235         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50237 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50239         [BZ #15605]
50240         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50242 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50244         [BZ#16431]
50245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50246         Adjust the vDSO correctly for internal calls.
50247         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50249 2014-01-20  Allan McRae  <allan@archlinux.org>
50251         * po/ca.po: Update Catalan translation from translation project.
50253 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50255         * sysdeps/s390/sotruss-lib.c: New file.
50257 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50259         [BZ#16430]
50260         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50261         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50262         local calls issues by not having a PLT stub required for IFUNC calls.
50263         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50265 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50267         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50268         * math/test-fpucw-static.c: Likewise.
50270 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50272         [BZ #16453]
50273         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50275 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50277         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50278         implementation for powerpc.
50280 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50282         [BZ #14782]
50283         * sysdeps/posix/system.c (__libc_system): Do not enable
50284         asynchronous cancellation.
50286 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50288         [BZ #16427]
50289         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50290         handling only for numbers special also in the IEEE case.
50292 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50294         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50296 2014-01-11  Allan McRae  <allan@archlinux.org>
50298         * po/bg.po: Update Bulgarian translation from translation project.
50300         * po/de.po: Update German translation from translation project.
50302 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50304         * sysdeps/generic/gcc-compat.h: New file.
50306 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50308         * benchtests/asin-inputs: Correct slow inputs.
50309         * benchtests/acos-inputs: Likewise.
50311 2014-01-10  Allan McRae  <allan@archlinux.org>
50313         * po:sv.po: Update Swedish translation from translation project.
50315         * po/vi.po: Update Vietnamese translation from translation project.
50317         * po/eo.po: Update Esperanto translation from translation project.
50319         * po/cs.po: Update Czech translation from translation project.
50321         * po/nl.po: Update Dutch translation from translation project.
50323         * po/pl.po: Update Polish translation from translation project.
50325         * po/ru.po: Update Russian translation from translation project.
50327         * po/uk.po: Update Ukrainian translation from translation project.
50329 2014-01-08  Brooks Moses  <bmoses@google.com>
50331         * elf/dl-load.c: Fix comment typo.
50333 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50335         * po/header.pot: Rename to...
50336         * po/pot.header: ... this.
50337         * po/Makefile: Use pot.header.
50339 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50340             Maxim Kuvyrkov  <maxim@kugelworks.com>
50342         [BZ #16394]
50343         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50344         SRC and DEST against LEN.
50346 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50348         [BZ #16414]
50349         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50350         implementation.
50351         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50353 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50357 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50359         [BZ #16408]
50360         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50361         for large positive arguments.
50363 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50365         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50367         * math/auto-libm-test-in: Mark various tests with
50368         xfail-rounding:ldbl-128ibm.
50369         * math/auto-libm-test-out: Regenerated.
50371         [BZ #16407]
50372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50373         Increase overflow threshold.
50375 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50377         [BZ #14286]
50378         * stdio-common/vfprintf.c: Check for integer overflow.
50380 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50382         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50383         the first argument and return value of __tls_get_addr_internal.
50385 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50387         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50388         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50390 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50392         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50393         * sysdeps/s390/rtld-global-offsets.sym: New file.
50394         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50395         GLIBC_2.19 symbol.
50396         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50397         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50398         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50399         ... this.
50400         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50401         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50402         ... this.
50403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50404         Regenerate.
50405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50406         Regenerate.
50407         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50408         halfs of GPRs for high_gprs contexts.
50409         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50410         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50411         field.
50412         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50413         uc_flags field.
50414         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50415         64 bit versions:
50416         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50417         for high GPRs (uc_high_gprs) and for future extensions
50418         (__reserved).
50419         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50420         for future extensions (__reserved).
50421         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50422         64 bit versions:
50423         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50424         SC_HIGHGPRS offset definition.
50425         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50426         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50428         * Versions.def: Add GLIBC_2.19 for libpthread.
50429         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50430         siglongjmp for libpthread with GLIBC_2.19 symver.
50431         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50432         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50433         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50434         * sysdeps/s390/__longjmp.c: New file.
50435         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50436         * sysdeps/s390/longjmp.c: New file.
50437         * sysdeps/s390/setjmp.S: New file.
50438         * sysdeps/s390/sigjmp.S: New file.
50439         * sysdeps/s390/v1-longjmp.c: New file.
50440         * sysdeps/s390/v1-setjmp.h: New file.
50441         * sysdeps/s390/v1-sigjmp.c: New file.
50442         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50443         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50444         GLIBC_2.19 version.
50445         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50446         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50447         versioned symbols for ____longjmp_chk.
50448         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50449         Likewise.
50450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50451         Regenerate.
50452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50453         Regenerate.
50454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50455         Regenerate.
50456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50457         Regenerate.
50458         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50459         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50460         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50461         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50462         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50463         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50464         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50465         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50466         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50467         * sysdeps/s390/rtld-__longjmp.c: New file.
50468         * sysdeps/s390/rtld-setjmp.S: New file.
50470 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50472         [BZ #16400]
50473         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50474         Return -__logl (x) for small positive arguments without evaluating
50475         a polynomial.
50477 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50479         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50480         Rename to ...
50481         (__ptrace_peeksiginfo_args): ... this.
50482         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50483         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50484         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50486 2014-01-06  Allan McRae  <allan@archlinux.org>
50488         * inet/netinet/in.h: Fix typo in comment.
50490 2014-01-05  Andreas Jaeger  <aj@suse.de>
50492         * sysdeps/i386/fpu/libm-test-ulps: Update.
50494 2014-01-05  Allan McRae  <allan@archlinux.org>
50496         * po/libc.pot: Regenerated.
50498         * malloc/memusagestat.c: Fix gettext call formatting.
50500 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
50502         * nscd/nscd.c: Improve usage() output.
50504 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
50506         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
50507         * sysdeps/unix/sysv/linux/configure: Regenerated.
50508         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
50509         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
50511 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50513         [BZ #16390]
50514         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50515         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
50517 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50519         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
50520         extra tokens at end of #undef directive.
50521         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
50522         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
50523         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
50525 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50527         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50529         * math/auto-libm-test-in: Mark various tests with
50530         xfail-rounding:ldbl-128ibm.
50531         * math/auto-libm-test-out: Regenerated.
50533 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
50535         [BZ #16386]
50536         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
50537         numbers with subnormal high part when calculating exponent.
50539         [BZ #16385]
50540         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
50541         fabs.
50543         [BZ #16384]
50544         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
50545         M_LN2l.
50546         (__ieee754_acoshl): Use __log1pl not __log1p.
50548 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
50550         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
50551         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
50552         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
50553         (grow_heap, heap_trim, _int_new_arena, get_free_list)
50554         (reused_arena, arena_get2): Convert to GNU style.
50555         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
50556         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
50557         (memalign_check, __malloc_set_state): Likewise.
50558         * malloc/mallocbug.c (main): Likewise.
50559         * malloc/malloc.c (__malloc_assert, malloc_init_state)
50560         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
50561         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
50562         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
50563         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
50564         (__posix_memalign, malloc_info): Likewise.
50565         * malloc/malloc.h: Likewise.
50566         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
50567         (mallochook, memalignhook, reallochook, mabort): Likewise.
50568         * malloc/mcheck.h: Likewise.
50569         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
50570         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
50571         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
50572         * malloc/morecore.c (__default_morecore): Likewise.
50573         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
50574         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
50575         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
50576         (print_and_abort): Likewise.
50577         * malloc/obstack.h: Likewise.
50578         * malloc/set-freeres.c (__libc_freeres): Likewise.
50579         * malloc/tst-mallocstate.c (main): Likewise.
50580         * malloc/tst-mtrace.c (main): Likewise.
50581         * malloc/tst-realloc.c (do_test): Likewise.
50583 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50585         [BZ #16366]
50586         * nscd/netgroupcache.c (do_notfound): New function.
50587         (addgetnetgrentX): Use it.
50589         [BZ # 16365]
50590         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
50591         NSS_STATUS_NOTFOUND.
50593 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
50595         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50598 2014-01-01  Allan McRae  <allan@archlinux.org>
50600         * scripts/update-copyrights: Update configure input file suffix.
50602         * NEWS: Update copyright year.
50603         * catgets/gencat.c: Likewise.
50604         * csu/version.c: Likewise.
50605         * debug/catchsegv.sh: Likewise.
50606         * debug/pcprofiledump.c: Likewise.
50607         * debug/xtrace.sh: Likewise.
50608         * elf/ldconfig.c: Likewise.
50609         * elf/ldd.bash.in: Likewise.
50610         * elf/pldd.c: Likewise.
50611         * elf/sotruss.ksh: Likewise.
50612         * elf/sprof.c: Likewise.
50613         * iconv/iconv_prog.c: Likewise.
50614         * iconv/iconvconfig.c: Likewise.
50615         * locale/programs/locale.c: Likewise.
50616         * locale/programs/localedef.c: Likewise.
50617         * login/programs/pt_chown.c: Likewise.
50618         * malloc/memusage.sh: Likewise.
50619         * malloc/memusagestat.c: Likewise.
50620         * malloc/mtrace.pl: Likewise.
50621         * manual/libc.texinfo: Likewise.
50622         * nscd/nscd.c: Likewise.
50623         * nss/getent.c: Likewise.
50624         * nss/makedb.c: Likewise.
50625         * posix/getconf.c: Likewise.
50626         * scripts/test-installation.pl: Likewise.
50628         * All files with FSF copyright notices: Update copyright dates
50629         using scripts/update-copyrights.
50630         * intl/plural.c: Regenerated.
50631         * locale/programs/charmap-kw.h: Likewise.
50632         * locale/programs/locfile-kw.h: Likewise.
50634 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
50636         * sysdeps/unix/sysv/linux/configure: Regenerated.
50637         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
50638         the linux/fanotify.h header.
50639         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
50640         HAVE_LINUX_FANOTIFY_H is defined.
50642 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50644         * benchtests/cos-inputs: New inputs.
50645         * benchtests/sin-inputs: Likewise.
50647         * benchtests/atan-inputs: New inputs. Fix name of multiple
50648         precision fallback inputs.
50650         * benchtests/atanh-inputs: New inputs.
50651         * benchtests/tanh-inputs: Likewise.
50653         * benchtests/acosh-inputs: New inputs.
50654         * benchtests/asinh-inputs: Likewise.
50656         * benchtests/cosh-inputs: New inputs.
50657         * benchtests/sinh-inputs: Likewise.
50659         * benchtests/acos-inputs: Add more inputs.
50660         * benchtests/asin-inputs: Likewise.
50662 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
50664         [BZ #16375]
50665         * manual/arith.texi: Fix spelling.
50666         * manual/charset.texi: Likewise.
50667         * manual/errno.texi: Likewise.
50668         * manual/filesys.texi: Likewise.
50669         * manual/lang.texi: Likewise.
50670         * manual/llio.texi: Likewise.
50671         * manual/locale.texi: Likewise.
50672         * manual/message.texi: Likewise.
50673         * manual/resource.texi: Likewise.
50674         * manual/search.texi: Likewise.
50675         * manual/setjmp.texi: Likewise.
50676         * manual/stdio.texi: Likewise.
50677         * manual/string.texi: Likewise.
50678         * manual/sysinfo.texi: Likewise.
50679         * manual/time.texi: Likewise.
50681 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
50683         * po/sl.po: New file.
50685 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
50687         * .gitignore: Add core/.gdbinit/.gdb_history.
50689 2013-12-27  Allan McRae  <allan@archlinux.org>
50691         [BZ #16369]
50692         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
50693         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
50695 2013-12-24  Brooks Moses  <bmoses@google.com>
50697         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
50698         all compilers that claim C++98 compliance, not just GCC.
50699         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
50700         Likewise.
50702 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50704         * NEWS: Restore accidentally deleted bug-fix entries.
50706 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50707             Ondřej Bílka  <neleai@seznam.cz>
50709         [BZ #15073]
50710         * malloc/malloc.c (_int_free): Perform sanity check only if we
50711         have_lock.
50713 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
50715         [BZ #12986]
50716         * manual/stdio.texi (String Input Conversions): Clarify that character
50717         classes are not supported.
50719 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50723 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
50725         [BZ #16337]
50726         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50727         Calculate results for small negative arguments directly rather
50728         than using reflection formula with special underflow handling.
50730         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
50731         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
50732         sysdeps/unix/bsd/bsd4.4/syscalls.list.
50733         (fchflags): Likewise.
50734         (revoke): Likewise.
50735         (setlogin): Likewise.
50736         (sigaltstack): Likewise.
50737         (wait4): Likewise.
50738         (sigblock): Remove.
50739         (sigsetmask): Likewise.
50740         (wait3): Likewise.
50741         (waitpid): Likewise.
50742         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
50743         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50744         file.
50745         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
50746         * sysdeps/unix/bsd/Makefile: ... here.
50747         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
50748         * sysdeps/unix/bsd/Versions: ... here.
50749         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
50750         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50751         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
50752         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
50753         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
50754         * sysdeps/unix/bsd/sigblock.c: ... here.
50755         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
50756         * sysdeps/unix/bsd/sigsetmask.c: ... here.
50757         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
50758         * sysdeps/unix/bsd/sigvec.c: ... here.
50759         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
50760         * sysdeps/unix/bsd/tcdrain.c: ... here.
50761         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50762         * sysdeps/unix/bsd/tcgetattr.c: ... here.
50763         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
50764         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50765         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50766         * sysdeps/unix/bsd/wait.c: ... here.
50767         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50768         * sysdeps/unix/bsd/wait3.c: ... here.
50769         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50770         * sysdeps/unix/bsd/waitpid.c: ... here.
50772 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50774         [BZ #16356]
50775         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50776         round-to-nearest for [!USE_AS_EXPM1L].
50777         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50778         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50779         more tests of exp and exp10.  Expect some exp10 tests to miss
50780         exceptions or fail in directed rounding modes.
50781         * math/auto-libm-test-out: Regenerated.
50782         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50783         (exp10_test_tonearest): New function.
50784         (exp10_towardzero_test_data): New array.
50785         (exp10_test_towardzero): New function.
50786         (exp10_downward_test_data): New array.
50787         (exp10_test_downward): New function.
50788         (exp10_upward_test_data): New array.
50789         (exp10_test_upward): New function.
50790         (main): Call the new functions.
50791         * sysdeps/i386/fpu/libm-test-ulps: Update.
50792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50794 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50796         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50797         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50798         * math/auto-libm-test-out: Regenerated.
50799         * math/libm-test.inc (acosh_test_data): Add more tests.
50800         (atanh_test_data): Likewise.
50801         (ceil_test_data): Likewise.
50802         (copysign_test_data): Likewise.
50803         * sysdeps/i386/fpu/libm-test-ulps: Update.
50804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50806         * timezone/checktab.awk: Update from tzcode 2013i.
50807         * timezone/private.h: Likewise.
50808         * timezone/scheck.c: Likewise.
50809         * timezone/tzfile.h: Likewise.
50810         * timezone/tzselect.ksh: Likewise.
50811         * timezone/zdump.c: Likewise.
50812         * timezone/zic.c: Likewise.
50814         * math/auto-libm-test-in: Add tests of cpow.
50815         * math/auto-libm-test-out: Regenerated.
50816         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
50817         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50818         mpc_cc_c.
50819         (func_calc_desc): Add mpc_cc_c union field.
50820         (test_functions): Add cpow.
50821         (special_fill_2pi): New function.
50822         (special_real_inputs): Add 2pi.
50823         (calc_generic_results): Handle mpc_cc_c.
50824         * sysdeps/i386/fpu/libm-test-ulps: Update.
50825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50827         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
50828         csqrt, ctan and ctanh.
50829         * math/auto-libm-test-out: Regenerated.
50830         * math/libm-test.inc (TEST_COND_x86_64): New macro.
50831         (TEST_COND_x86): Likewise.
50832         (ccos_test_data): Use AUTO_TESTS_c_c.
50833         (ccosh_test_data): Likewise.
50834         (cexp_test_data): Likewise.
50835         (clog_test_data): Likewise.
50836         (csqrt_test_data): Likewise.
50837         (ctan_test_data): Likewise.
50838         (ctan_tonearest_test_data): Likewise.
50839         (ctan_towardzero_test_data): Likewise.
50840         (ctan_downward_test_data): Likewise.
50841         (ctan_upward_test_data): Likewise.
50842         (ctanh_test_data): Likewise.
50843         (ctanh_tonearest_test_data): Likewise.
50844         (ctanh_towardzero_test_data): Likewise.
50845         (ctanh_downward_test_data): Likewise.
50846         (ctanh_upward_test_data): Likewise.
50847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50848         mpc_c_c.
50849         (func_calc_desc): Add mpc_c_c union field.
50850         (FUNC_mpc_c_c): New macro.
50851         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
50852         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
50853         ctanh.
50854         (special_fill_min_subnorm_p120): New function.
50855         (special_real_inputs): Add min_subnorm_p120.
50856         (calc_generic_results): Handle mpc_c_c.
50857         * sysdeps/i386/fpu/libm-test-ulps: Update.
50858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50860 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50862         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
50863         (do_sin_slow): New functions.
50864         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
50865         (cslow2, csloww1, csloww2): Use the new functions.
50867         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
50868         Use M to change sign of result instead of X.  Assume X is
50869         positive.
50870         (csloww1): Likewise.
50871         (__sin): Adjust.
50872         (__cos): Adjust.
50874         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
50875         arguments A and DA.
50876         (__sin): Adjust.
50877         (__cos): Likewise.
50879         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
50880         (__cos): Likewise.
50881         (sloww1): Don't adjust sign of DX.
50882         (csloww1): Likewise.
50883         (sloww2): Use X directly and don't adjust sign of DX.
50884         (csloww2): Likewise.
50886 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50888         * math/auto-libm-test-in: Add tests of cabs and carg.
50889         * math/auto-libm-test-out: Regenerated.
50890         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
50891         (carg_test_data): Likewise.
50892         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50893         mpc_c_f.
50894         (func_calc_desc): Add mpc_c_f union field.
50895         (test_functions): Add cabs and carg.
50896         (calc_generic_results): Handle mpc_c_f.
50898         * sysdeps/powerpc/powerpc32/libgcc-compat.S
50899         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
50900         as a macro and a compat symbol.
50901         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
50902         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
50903         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
50904         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
50905         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
50906         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
50907         not use .hidden.
50908         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
50909         Likewise.
50910         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
50911         Likewise.
50912         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50913         Likewise.
50914         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
50915         Likewise.
50916         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
50917         Likewise.
50918         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
50919         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
50920         from GLIBC_2.3.2.
50922 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50926 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50928         * manual/texinfo.tex: Update to version 2013-11-26.10 with
50929         trailing whitespace removed.
50930         * scripts/config.guess: Update to version 2013-11-29.
50931         * scripts/config.sub: Update to version 2013-10-01.
50933         * math/auto-libm-test-in: Add tests of sincos.
50934         * math/auto-libm-test-out: Regenerated.
50935         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
50936         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50937         mpfr_f_11.
50938         (func_calc_desc): Add mpfr_f_11 union field.
50939         (test_functions): Add sincos.
50940         (calc_generic_results): Handle mpfr_f_11.
50941         * sysdeps/i386/fpu/libm-test-ulps: Update.
50942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50944 2013-12-19  Andreas Schwab  <schwab@suse.de>
50946         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
50947         CALL_MCOUNT.
50948         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50949         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
50950         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
50952 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50954         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
50955         * sysdeps/i386/fpu/libm-test-ulps: Update.
50956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50958         [BZ #16293]
50959         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
50960         round-to-nearest mode when using frndint.
50961         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
50962         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50963         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
50964         Likewise.
50965         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
50966         sinh test to fail.
50967         * math/auto-libm-test-out: Regenerated.
50968         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
50969         (TEST_COND_x86): Likewise.
50970         (expm1_tonearest_test_data): New array.
50971         (expm1_test_tonearest): New function.
50972         (expm1_towardzero_test_data): New array.
50973         (expm1_test_towardzero): New function.
50974         (expm1_downward_test_data): New array.
50975         (expm1_test_downward): New function.
50976         (expm1_upward_test_data): New array.
50977         (expm1_test_upward): New function.
50978         (main): Run the new test functions.
50979         * sysdeps/i386/fpu/libm-test-ulps: Update.
50980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50982         * include/features.h: Update comment documenting feature test
50983         macros.  Mention _DEFAULT_SOURCE in comment.
50984         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
50985         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
50986         _BSD_SOURCE and _SVID_SOURCE.
50987         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
50988         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
50989         !_SVID_SOURCE]: Likewise.
50990         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50991         (__USE_POSIX_IMPLICITLY): Define.
50992         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50993         (_POSIX_SOURCE): Undefine and redefine.
50994         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50995         (_POSIX_C_SOURCE): Likewise.
50996         * manual/creature.texi (_DEFAULT_SOURCE): Document.
50997         (Feature Test Macros): Update documentation of default features.
50999 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51001         * benchtests/Makefile: Add bench-strtok.
51002         * benchtests/bench-strtok.c: New file: strtok benchtest.
51004 2013-12-19  Allan McRae  <allan@archlinux.org>
51006         * manual/install.texi: Suppress menu for plain text output.
51007         * INSTALL: Regenerated.
51009 2013-12-18  Brooks Moses  <bmoses@google.com>
51011         [BZ #15846]
51012         * misc/getauxval.c: Include errno.h.
51013         (__getauxval): Set errno to ENOENT if the requested type is not
51014         found.
51015         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51016         don't declare with __attribute_const__.
51017         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51018         * manual/startup.texi: Document that getauxval sets errno.
51020 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51022         * math/auto-libm-test-in: Add tests of jn and yn.
51023         * math/auto-libm-test-out: Regenerated.
51024         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51025         (yn_test_data): Likewise.
51026         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51027         mpfr_if_f.
51028         (func_calc_desc): Add mpfr_if_f union field.
51029         (FUNC_mpfr_if_f): New macro.
51030         (test_functions): Add jn and yn.
51031         (calc_generic_results): Assert type of second input for
51032         mpfr_ff_f.  Handle mpfr_if_f.
51033         (output_for_one_input_case): Disable all checking for arguments
51034         fitting floating-point types in case of an integer argument.
51035         * sysdeps/i386/fpu/libm-test-ulps: Update.
51036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51039         Don't expect fegetround reference in libm.so.
51041 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51043         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51044         $(config-cflags-nofma).
51046 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51048         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51049         * math/auto-libm-test-out: Regenerated.
51051         [BZ #16338]
51052         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51053         to determine exponent and adjust argument to have exponent of -1.
51054         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51055         log2.
51056         * math/auto-libm-test-out: Regenerated.
51057         * sysdeps/i386/fpu/libm-test-ulps: Update.
51058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51060 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51062         * manual/probes.texi: Remove cases when per-thread arenas are
51063         disabled.
51065 2013-12-18  Andreas Schwab  <schwab@suse.de>
51067         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51068         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51069         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51070         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51071         * sysdeps/i386/i686/multiarch/Makefile: Update.
51072         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51074 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51076         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51077         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51079 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51081         [BZ #15968]
51082         Support TZ transition times < 00:00:00.
51083         This is needed for version-3 tz-format files; it supports time
51084         stamps past 2037 for America/Godthab (the only entry in the tz
51085         database for which this change is relevant).
51086         * manual/time.texi (TZ Variable): Document transition times
51087         from -167:59:59 through -00:00:01.
51088         * time/tzset.c (tz_rule): Time of day is now signed.
51089         (__tzset_parse_tz): Parse negative time of day.
51091         Document TZ transition times >= 25:00:00.
51092         * manual/time.texi (TZ Variable): Document transition times from
51093         25:00:00 through 167:59:59.  These are already supported, and this
51094         support will help with version-3 tz-format files.
51096         * manual/time.texi (TZ Variable): Modernize North America example
51097         to reflect current (i.e., 2007-and-later) daylight saving rules.
51099         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51101 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51103         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51104         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51106         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51107         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51108         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51109         * sysdeps/unix/bsd/clock.c: Likewise.
51110         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51111         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51112         * sysdeps/unix/bsd/init-posix.c: Likewise.
51113         * sysdeps/unix/bsd/poll.c: Likewise.
51114         * sysdeps/unix/bsd/ptsname.c: Likewise.
51115         * sysdeps/unix/bsd/seekdir.c: Likewise.
51116         * sysdeps/unix/bsd/setegid.c: Likewise.
51117         * sysdeps/unix/bsd/seteuid.c: Likewise.
51118         * sysdeps/unix/bsd/setgid.c: Likewise.
51119         * sysdeps/unix/bsd/setrgid.c: Likewise.
51120         * sysdeps/unix/bsd/setruid.c: Likewise.
51121         * sysdeps/unix/bsd/setsid.c: Likewise.
51122         * sysdeps/unix/bsd/setuid.c: Likewise.
51123         * sysdeps/unix/bsd/sigaction.c: Likewise.
51124         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51125         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51126         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51127         * sysdeps/unix/bsd/telldir.c: Likewise.
51128         * sysdeps/unix/bsd/times.c: Likewise.
51129         * sysdeps/unix/bsd/usleep.c: Likewise.
51131         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51132         ($(objpfx)libbsd-compat.a): Remove rule.
51134         * include/features.h (__FAVOR_BSD): Do not define.
51135         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51136         features conflicting with POSIX.
51137         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51138         (_BSD_SOURCE): Remove description of not being a subset of other
51139         feature test macros.
51140         * manual/job.texi (getpgrp): Do not document BSD version.
51141         (getpgid): Do not document by reference to BSD getpgrp.
51142         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51143         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51144         * signal/signal.h [__FAVOR_BSD]: Likewise.
51145         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51146         instead of making contents conditional on [__FAVOR_BSD].
51147         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51149 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51153 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51155         [BZ #16314]
51156         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51157         values below 2**-450, not 2**-500.
51158         * math/auto-libm-test-in: Don't allow spurious underflow from
51159         hypot.
51160         * math/auto-libm-test-out: Regenerated.
51162         [BZ #16316]
51163         [BZ #16330]
51164         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51165         values of ha and hb and sort them after adjusting subnormal
51166         arguments.
51167         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51168         Likewise.
51169         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51170         values of ea and eb and sort them after adjusting subnormal
51171         arguments.
51172         * math/auto-libm-test-in: Do not expect some hypot tests of
51173         subnormals to fail.  Add more hypot tests.
51174         * math/auto-libm-test-out: Regenerated.
51176 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51178         [BZ #13304]
51179         * sysdeps/sh/s_fma.c: New file.
51180         * sysdeps/sh/s_fmaf.c: New file.
51181         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51182         version.
51183         * sysdeps/sh/Implies: Add sh/soft-fp.
51185 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51187         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51188         level of indirection to members `objname', `errstring', `malloced'.
51189         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51190         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51191         it as the __longjmp argument (just pass 1 instead).
51192         (_dl_catch_error): Initialize C with argument pointers and address of
51193         volatile local ERRCODE rather than copying values out of C at return.
51195 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51197         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51198         * math/auto-libm-test-out: Regenerated.
51199         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51200         (hypot_test_data): Likewise.
51201         (pow_test_data): Likewise.
51202         (pow_tonearest_test_data): Likewise.
51203         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51204         mpfr_ff_f.
51205         (func_calc_desc): Add mpfr_ff_f union field.
51206         (FUNC_mpfr_ff_f): New macro.
51207         (test_functions): Add atan2, hypot and pow.
51208         (special_fill_min): New function.
51209         (special_fill_minus_min): Likewise.
51210         (special_fill_min_subnorm): Likewise.
51211         (special_fill_minus_min_subnorm): Likewise.
51212         (special_real_inputs): Add min, -min, min_subnorm and
51213         -min_subnorm.
51214         (calc_generic_results): Handle mpfr_ff_f.
51215         * sysdeps/i386/fpu/libm-test-ulps: Update.
51216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51218 2013-12-16  Will Newton  <will.newton@linaro.org>
51220         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51221         (Aligned Memory Blocks): Add documentation for aligned_alloc
51222         and suggest it as an alternative to posix_memalign.
51223         (Hooks for Malloc): Document __memalign_hook is also called
51224         for aligned_alloc.  (Summary of Malloc): Add summary for
51225         aligned alloc.  Document __memalign_hook is also called
51226         for aligned_alloc.
51228 2013-12-16  Will Newton  <will.newton@linaro.org>
51230         * manual/memory.texi (Malloc Examples): Clarify default
51231         alignment documentation.  Suggest posix_memalign rather
51232         than memalign or valloc.
51233         (Aligned Memory Blocks): Remove suggestion to use memalign
51234         or valloc.  Remove obsolete comment about BSD.
51235         Document memalign errno values and mark the function obsolete.
51236         Document posix_memalign returned error codes.  Mark valloc
51237         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51238         called for posix_memalign and valloc.
51239         (Summary of Malloc): Add posix_memalign to function summary.
51240         __memalign_hook is also called for posix_memalign and valloc.
51242 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51244         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51245         TAYLOR_SIN.
51246         (__sin): Adjust.
51247         (__cos): Likewise.
51248         (sloww): Use mynumber union.  Expand ternary operator into
51249         if-else statements.
51250         (cslow): use mynumber union.
51252 2013-12-16  Allan McRae  <allan@archlinux.org>
51254         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51255         * configure: Regenerated.
51257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51259         [BZ #14120]
51260         * configure.ac: Added --enable-maintainer-mode. Check for
51261         autoconf when enabled.
51262         * configure: Regenerated.
51264         * nscd/nscd.service: New file.
51265         * nscd/nscd.tmpfiles: New file.
51267 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51269         [BZ #12100]
51270         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51271         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51272         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51273         (strstr): Add __strstr_sse2_unaligned ifunc.
51274         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51275         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51276         (strcasestr): Remove __strcasestr_sse42 ifunc.
51277         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51281 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51283         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51284         * sysdeps/sh/bits/fenv.h: ... here.
51285         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51287 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51289         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51292         hypotf multiarch implementations.
51293         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51295         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51296         multiarch hypot for PPC64.
51297         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51298         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51299         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51300         multiarch hypotf for PPC64.
51302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51303         modff multiarch implementations.
51304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51307         multiarch modf for PPC64.
51308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51311         multiarch modff for PPC64.
51313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51314         and logl multiarch implementations.
51315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51318         multiarch logb for PPC64.
51319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51322         multiarch logb for PPC64.
51323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51326         multiarch logb for PPC64.
51328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51329         isinff multiarch implementation.
51330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51331         file.
51332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51334         multiarch isinf for PPC64.
51335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51336         file.
51337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51338         multiarch isinff for PPC64.
51340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51341         finitef multiarch implementation.
51342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51343         file.
51344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51346         multiarch finite for PPC64.
51347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51348         file.
51349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51350         multiarch finitef for PPC64.
51352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51353         lrint multiarch implementation.
51354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51355         file.
51356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51358         multiarch llrint for PPC64.
51359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51360         multiarch lrint for PPC64.
51362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51363         copysignf multiarch implementation.
51364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51365         file.
51366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51367         file.
51368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51369         multiarch copysign for PPC64.
51370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51371         multiarch copysignf for PPC64.
51373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51374         multiarch implementation.
51375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51376         file.
51377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51378         file.
51379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51380         file.
51381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51382         file.
51383         multiarch llround for PPC64.
51384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51385         multiarch trunc for PPC64.
51386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51387         multiarch truncf for PPC64.
51389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51390         multiarch implementation.
51391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51392         file.
51393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51394         file.
51395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51396         file.
51397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51398         file.
51399         multiarch llround for PPC64.
51400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51401         multiarch round for PPC64.
51402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51403         multiarch roundf for PPC64.
51405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51406         multiarch implementation.
51407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51408         file.
51409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51410         file.
51411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51412         file.
51413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51414         file.
51415         multiarch llround for PPC64.
51416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51417         multiarch floor for PPC64.
51418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51419         multiarch floorf for PPC64.
51421         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51422         multiarch implementation.
51423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51424         file.
51425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51426         file.
51427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51428         file.
51429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51430         file.
51431         multiarch llround for PPC64.
51432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51433         multiarch ceil for PPC64.
51434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51435         multiarch ceilf for PPC64.
51437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51438         multiarch implementation.
51439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51440         file.
51441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51442         file.
51443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51444         file.
51445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51446         multiarch llround for PPC64.
51447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51448         multiarch lround for PPC64.
51450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51451         multiarch implementation.
51452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51455         file.
51456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51459         multiarch isnan for PPC64.
51460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51461         multiarch isnanf for PPC64.
51463         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51464         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51465         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51466         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51467         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51470         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51471         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51472         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51473         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51476         multiarch implementations.
51477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51478         (__libc_ifunc_impl_list): Likewise.
51479         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51480         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51481         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51482         multiarch stpcpy for PPC64.
51484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
51485         multiarch implementations.
51486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51487         (__libc_ifunc_impl_list): Likewise.
51488         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
51489         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51490         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
51491         multiarch strcpy for PPC64.
51493         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
51494         redefine function name.
51495         (_wordcopy_fwd_dest_aligned): Likewise.
51496         (_wordcopy_bwd_aligned): Likewise.
51497         (_wordcopy_bwd_dest_aligned): Likewise.
51498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
51499         multiarch implementations.
51500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51501         (__libc_ifunc_impl_list): Likewise.
51502         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
51503         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
51504         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
51505         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
51506         multiarch wcscpy for PPC64.
51508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
51509         multiarch implementations.
51510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51511         (__libc_ifunc_impl_list): Likewise.
51512         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
51513         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
51514         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
51515         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
51516         multiarch wcscpy for PPC64.
51518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
51519         multiarch implementations.
51520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51521         (__libc_ifunc_impl_list): Likewise.
51522         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
51523         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
51524         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
51525         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
51526         multiarch wcsrchr for PPC64.
51528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
51529         multiarch implementations.
51530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51531         (__libc_ifunc_impl_list): Likewise.
51532         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
51533         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
51534         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
51535         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
51536         multiarch wcschr for PPC64.
51538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
51539         multiarch implementations.
51540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51541         (__libc_ifunc_impl_list): Likewise.
51542         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
51543         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
51544         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
51545         multiarch strchrnul for PPC64.
51547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
51548         implementations.
51549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51550         (__libc_ifunc_impl_list): Likewise.
51551         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
51552         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
51553         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
51554         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
51555         strchr for PPC64.
51557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
51558         implementations.
51559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51560         (__libc_ifunc_impl_list): Likewise.
51561         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
51562         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
51563         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
51564         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
51565         strncmp for PPC64.
51567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
51568         multiarch implementations.
51569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51570         (__libc_ifunc_impl_list): Likewise.
51571         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
51572         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
51573         strncasecmp for PPC64.
51574         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
51575         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
51576         multiarch strncasecmp_l for PPC64.
51578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
51579         multiarch implementations.
51580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51581         (__libc_ifunc_impl_list): Likewise.
51582         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
51583         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
51584         multiarch strcasecmp for PPC64.
51585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
51586         file.
51587         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
51588         multiarch strcasecmp_l for PPC64.
51590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
51591         implementations.
51592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51593         (__libc_ifunc_impl_list): Likewise.
51594         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
51595         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
51596         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
51597         strnlen for PPC64.
51599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
51600         implementations.
51601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51602         (__libc_ifunc_impl_list): Likewise.
51603         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
51604         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
51605         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
51606         strlen for PPC64.
51608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
51609         implementations.
51610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51611         (__libc_ifunc_impl_list): Likewise.
51612         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
51613         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
51614         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
51615         rawmemrchr for PPC64.
51617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
51618         implementation.
51619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51620         (__libc_ifunc_impl_list): Likewise.
51621         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
51622         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
51623         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
51624         memrchr for PPC64.
51626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
51627         implementation.
51628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51629         (__libc_ifunc_impl_list): Likewise.
51630         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
51631         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
51632         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
51633         memchr for PPC64.
51635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
51636         implementation.
51637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51638         (__libc_ifunc_impl_list): Likewise.
51639         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
51640         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
51641         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
51642         mempcpy for PPC64.
51644         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
51645         avoid cretion of __bzero symbol.
51646         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
51647         Likewise.
51648         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
51649         Likewise.
51650         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
51651         Likewise.
51652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
51653         multiarch implementations.
51654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51655         (__libc_ifunc_impl_list): Likewise.
51656         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
51657         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
51658         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
51659         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
51660         bzero for PPC32.
51661         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
51662         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
51663         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
51664         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
51665         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
51666         memset for PPC64.
51667         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
51669         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
51670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
51671         implementations.
51672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51673         (__libc_ifunc_impl_list): Likewise.
51674         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
51675         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
51676         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
51677         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
51678         memcmp for PPC64.
51680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
51681         multiarch for POWER/PPC64.
51682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
51683         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
51684         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
51685         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
51686         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
51687         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
51688         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
51689         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
51690         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
51691         memcpy for PPC64.
51693         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
51694         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
51695         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
51696         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
51697         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
51698         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
51699         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
51700         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
51701         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
51702         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
51703         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
51704         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
51705         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
51706         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
51707         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
51708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
51709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
51710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
51711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
51712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
51713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
51714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
51716 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51718         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
51720 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51722         * benchtests/Makefile (bench): Add exp2 and log2.
51723         (LDLIBS-bench-exp2): Add -lm.
51724         (LDLIBS-bench-log2): Likewise.
51725         * benchtests/exp2-inputs: New inputs file.
51726         * benchtests/log2-inputs: New inputs file.
51727         * benchtests/log-inputs: Add new inputs.
51728         * benchtests/tan-inputs: Likewise.
51730 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51732         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
51733         definition...
51734         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
51735         (csloww2): ... from here.
51737         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
51738         instead of structures.
51739         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
51740         (POLYNOMIAL): Likewise.
51741         (TAYLOR_SLOW): Likewise.
51742         (__sin): Likewise.
51743         (__cos): Likewise.
51744         (slow1): Likewise.
51745         (slow2): Likewise.
51746         (sloww): Likewise.
51747         (sloww1); Likewise.
51748         (sloww2): Likewise.
51749         (bsloww1): Likewise.
51750         (bsloww2): Likewise.
51751         (cslow2): Likewise.
51752         (csloww): Likewise.
51753         (csloww1): Likewise.
51754         (csloww2): Likewise.
51756 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
51758         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
51759         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
51760         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
51761         * malloc/hooks.c (realloc_check): Likewise.
51763         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
51764         * malloc/arena.c: Remove PER_THREAD conditional.
51765         [!PER_THREAD]: Remove code.
51766         (ptmalloc_unlock_all2): Likewise.
51767         (ptmalloc_init): Likewise.
51768         (_int_new_arena): Likewise.
51769         (arena_get2): Likewise.
51770         * malloc/hooks.c (__malloc_get_state): Likewise.
51771         (__malloc_set_state): Likewise.
51772         * malloc/malloc.c: Likewise.
51773         (struct malloc_state): Likewise.
51774         (struct malloc_par): Likewise.
51775         (__libc_realloc): Likewise.
51776         (__libc_mallopt): Likewise.
51778 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51780         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51782 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51784         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51785         macro to a function.  Check for zero perturb_byte.
51786         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51788         * malloc/malloc.c: (force_reg): Remove.
51789         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51790         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51791         force_reg by atomic_forced_read.
51792         * malloc/arena.c (ptmalloc_init): Likewise.
51793         * malloc/hooks.c (top_check): Likewise.
51795 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51799 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51803 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51805         * math/auto-libm-test-in: Add tests of lgamma.
51806         * math/auto-libm-test-out: Regenerated.
51807         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
51808         (M_LOG_2_SQRT_PIl): Likewise.
51809         (lgamma_test_data): Use AUTO_TESTS_f_f1.
51810         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51811         mpfr_f_f1.
51812         (func_calc_desc): Add mpfr_f_f1 union field.
51813         (ARGS1): New macro.
51814         (ARGS2): Likewise.
51815         (ARGS3): Likewise.
51816         (ARGS4): Likewise.
51817         (RET1): Likewise.
51818         (RET2): Likewise.
51819         (CALC): Likewise.
51820         (FUNC): Likewise.
51821         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
51822         (test_functions): Add lgamma.
51823         (calc_generic_results): Handle mpfr_f_f1.
51824         * sysdeps/i386/fpu/libm-test-ulps: Update.
51825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51829         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
51830         __mpn_add_n for PowerPC64/POWER7.
51831         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
51832         __mpn_sub_n for PowerPC64/POWER7.
51834         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
51835         __mpn_addmul_1 for PowerPC64.
51836         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
51837         __mpn_submul_1 for PowerPC64.
51838         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
51839         for PowerPC64.
51840         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
51841         for PowerPC64.
51843 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
51845         [BZ #15089]
51846         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
51848 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51850         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
51852         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
51853         add multiarch folders.
51854         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
51855         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
51856         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
51857         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
51858         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
51859         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
51860         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
51861         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
51862         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
51863         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
51864         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
51865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
51866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
51867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
51868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
51869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
51870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
51872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51873         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
51874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
51875         New file.
51876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
51877         New file.
51878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
51879         multiarch __ieee754_hypot for PowerPC32.
51880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
51881         New file.
51882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
51883         New file.
51884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
51885         multiarch __ieee754_hypotf for PowerPC32.
51887         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
51888         long_double_symbol only if __logbl is defined.
51889         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
51890         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
51891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
51892         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
51893         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
51894         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
51895         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
51896         path for implementation.
51897         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
51898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
51899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
51900         logb, and logbl multiarch implementations for PowerPC32.
51901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
51902         file.
51903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
51904         file.
51905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
51906         multiarch logb for PowerPC32.
51907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
51908         file.
51909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
51910         file.
51911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
51912         multiarch logbf for PowerPC32.
51913         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
51914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
51915         file.
51916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
51917         multiarch logbl implementation for PowerPC32.
51919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
51920         and modff multiarch implementations.
51921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
51922         New file.
51923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
51924         New file.
51925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
51926         multiarch modf for PowerPC32.
51927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
51928         New file.
51929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
51930         New file.
51931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
51932         multiarch modff for PowerPC32.
51934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
51935         and lrintf multiarch implementations.
51936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
51937         New file.
51938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
51939         New file.
51940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
51941         multiarch lrint for PowerPC32.
51942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
51943         file: multiarch lrintf for PowerPC32.
51945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
51946         and lroundf multiarch implementations.
51947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
51948         New file.
51949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
51950         New file.
51951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
51952         New file.
51953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
51954         multiarch lround for PowerPC32.
51955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
51956         file: multiarch lroundf for PowerPC32.
51958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51959         copysign and copysignf multiarch implementations.
51960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
51961         New file.
51962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
51963         New file.
51964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
51965         file: multiarch copysign for PowerPC32.
51966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
51967         file: multiarch copysignf for PowerPC32.
51969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
51970         and truncf multiarch implementations.
51971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
51972         New file.
51973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
51974         file.
51975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51976         multiarch trunc for PowerPC32.
51977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
51978         New file.
51979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
51980         New file.
51981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
51982         multiarch truncf for PowerPC32.
51984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
51985         and roundf multiarch implementations.
51986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
51987         New file.
51988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
51989         file.
51990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
51991         multiarch round for PowerPC32.
51992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
51993         New file.
51994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
51995         New file.
51996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
51997         multiarch roundf for PowerPC32.
51999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52000         and floorf multiarch implementations.
52001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52002         New file.
52003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52004         file.
52005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52006         multiarch floor for PowerPC32.
52007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52008         New file.
52009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52010         New file.
52011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52012         multiarch floorf for PowerPC32.
52014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52015         and ceilf multiarch implementations.
52016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52017         New file.
52018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52019         file.
52020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52021         multiarch ceil for PowerPC32.
52022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52023         New file.
52024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52025         file.
52026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52027         multiarch ceilf for PowerPC32.
52029         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52030         is defined.
52031         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52032         FINITEF is defined.
52033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52034         and finitef multiarch implementations.
52035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52036         New file.
52037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52038         file.
52039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52040         multiarch finite for PowerPC32.
52041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52042         New file.
52043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52044         file: multiarch finitef for PowerPC32.
52046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52047         and isinff multiarch implementations.
52048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52049         file.
52050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52051         file.
52052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52053         multiarch isinf for PowerPC32.
52054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52055         New file.
52056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52057         multiarch isinff for PowerPC32.
52059         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52060         alias when __isnan is defined.
52061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52062         and isnanf multiarch implementations.
52063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52064         file.
52065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52066         file.
52067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52068         file.
52069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52070         file.
52071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52072         multiarch isnan for PowerPC32.
52073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52074         New file.
52075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52076         New file.
52077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52078         multiarch isnanf for PowerPC32.
52080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52081         and sqrtf multiarch implementations.
52082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52083         file.
52084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52085         file.
52086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52087         multiarch sqrt for PowerPC32.
52088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52089         file.
52090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52091         file.
52092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52093         multiarch sqrtf for PowerPC32.
52095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52096         and llroundf multiarch implementations.
52097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52098         New file.
52099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52100         New file.
52101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52102         New file.
52103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52104         file: multiarch llround for PowerPC32.
52105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52106         file: multiarch llroundf for PowerPC32.
52108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52109         multiarch PowerPC32 fpu implementations.
52110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52111         New file.
52112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52113         New file.
52114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52115         multiarch llrint for PowerPC32.
52116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52117         New file.
52118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52119         New file.
52120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52121         file.
52123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52125         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52126         file.
52127         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52128         file.
52129         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52130         file.
52131         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52132         multiarch wordcopy for PPC32.
52133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52134         wordcopy objects.
52135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52136         (__libc_ifunc_impl_list): Likewise.
52137         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52138         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52139         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52140         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52141         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52142         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52144         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52146         file.
52147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52148         file.
52149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52150         file.
52151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52152         multiarch wcscpy for PPC32.
52153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52154         multiarch objects.
52155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52156         (__libc_ifunc_impl_list): Likewise.
52157         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52158         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52159         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52160         sysdeps/powerpc/power6/wcscpy.c.
52162         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52164         file.
52165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52166         file.
52167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52168         file.
52169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52170         multiarch wcsrchr for PPC32.
52171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52172         multiarch objects.
52173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52174         (__libc_ifunc_impl_list): Likewise.
52175         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52176         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52177         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52178         sysdeps/powerpc/power6/wcsrchr.c.
52180         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52181         file.
52182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52183         file.
52184         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52185         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52186         multiarch wcschr for PPc32.
52187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52188         multiarch objects.
52189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52190         (__libc_ifunc_impl_list): Likewise.
52191         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52192         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52193         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52194         sysdeps/powerpc/power6/wcschr.c.
52196         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52197         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52198         file.
52199         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52200         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52201         file: multiarch strchr for PPC32.
52202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52203         multiarch objects.
52204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52205         (__libc_ifunc_impl_list): Likewise.
52207         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52208         name.
52209         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52210         file.
52211         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52212         file.
52213         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52214         multiarch strchrnul for PPC32.
52215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52216         multiarch objects.
52217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52218         (__libc_ifunc_impl_list): Likewise.
52220         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52221         file.
52222         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52223         multiarch strncasecmp for PPC32.
52224         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52225         file.
52226         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52227         multiarch strncasecmp_l for PPC32.
52228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52229         strncasecmp multiarch objects.
52230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52231         (__libc_ifunc_impl_list): Likewise.
52233         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52234         file.
52235         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52236         multiarch strncasecmp for PPC32.
52237         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52238         New file.
52239         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52240         multiarch strcasecmp_l for PPC32.
52241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52242         multiarch objects.
52243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52244         (__libc_ifunc_impl_list): Likewise.
52246         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52247         file.
52248         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52249         file.
52250         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52251         multiarch strncmp for PPC32.
52252         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52253         multiarch objects.
52254         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52255         (__libc_ifunc_impl_list): Likewise.
52257         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52258         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52259         file.
52260         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52261         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52263         multiarch objects.
52264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52265         (__libc_ifunc_impl_list): Likewise.
52267         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52268         file.
52269         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52270         file.
52271         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52273         multiarch objects.
52274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52275         (__libc_ifunc_impl_list): Likewise.
52277         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52278         file.
52279         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52280         file.
52281         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52282         multiarch rawmemchr for PPC32.
52283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52284         multiarch objects.
52285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52286         (__libc_ifunc_impl_list): Likewise.
52288         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52289         file.
52290         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52291         file.
52292         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52293         file: memrchr multiarch for PPC32.
52294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52295         multiarch objects.
52296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52297         (__libc_ifunc_impl_list): Likewise.
52299         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52300         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52301         file.
52302         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52303         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52304         multiarch memchr for PPC32.
52305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52306         multiarch objects.
52307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52308         (__libc_ifunc_impl_list): Likewise.
52310         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52311         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52312         file.
52313         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52314         file.
52315         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52316         file: multiarch mempcpy for PPC32.
52317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52318         multiarch objects.
52319         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52320         (__libc_ifunc_impl_list): Likewise.
52322         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52323         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52324         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52325         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52326         multiarch bzero for PPC32.
52327         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52328         file.
52329         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52330         file.
52331         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52332         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52333         file: multiarch memset for PPC32.
52334         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52336         memset multiarch objects.
52337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52338         (__libc_ifunc_impl_list): Likewise.
52340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52341         file.
52342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52344         memcmp for PPC32.
52345         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52347         multiarch objects.
52348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52349         (__libc_ifunc_impl_list): Likewise.
52351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52353         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52354         file.
52355         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52356         file.
52357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52358         file.
52359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52360         multiarch memcpy for PPC32.
52361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52362         multiarch objects.
52363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52364         (__libc_ifunc_impl_list): Likewise.
52366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52367         support multiarch for POWER/PPC32.
52368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52369         Likewise.
52370         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52372         Implies file to make multiarch folder appers before the fpu and
52373         default folder for power4 configuration.
52375 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52377         * scripts/bench.pl: Append volatile keyword to type.
52379 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52381         * sysdeps/sh/sotruss-lib.c: New file.
52382         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52384 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52388 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52390         [BZ #6810]
52391         * math/w_tgamma.c: Include <errno.h>.
52392         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52393         * math/w_tgammaf.c: Include <errno.h>.
52394         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52395         * math/w_tgammal.c: Include <errno.h>.
52396         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52397         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52398         underflow.  Add more tgamma tests.
52399         * math/auto-libm-test-out: Regenerated.
52400         * sysdeps/i386/fpu/libm-test-ulps: Update.
52401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52403         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52404         sin, sinh, tan, tanh, tgamma, y0 and y1.
52405         * math/auto-libm-test-out: Regenerated.
52406         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52407         (TEST_COND_x86): Likewise.
52408         (M_E2l): Remove macro.
52409         (M_E3l): Likewise.
52410         (M_2_SQRT_PIl): Likewise.
52411         (M_SQRT_PIl): Likewise.
52412         (M_1_DIV_El): Likewise.
52413         (log_test_data): Use AUTO_TESTS_f_f.
52414         (log10_test_data): Likewise.
52415         (log1p_test_data): Likewise.
52416         (log2_test_data): Likewise.
52417         (sin_test_data): Likewise.
52418         (sin_tonearest_test_data): Likewise.
52419         (sin_towardzero_test_data): Likewise.
52420         (sin_downward_test_data): Likewise.
52421         (sin_upward_test_data): Likewise.
52422         (sinh_test_data): Likewise.
52423         (sinh_tonearest_test_data): Likewise.
52424         (sinh_towardzero_test_data): Likewise.
52425         (sinh_downward_test_data): Likewise.
52426         (sinh_upward_test_data): Likewise.
52427         (tan_test_data): Likewise.
52428         (tan_tonearest_test_data): Likewise.
52429         (tan_towardzero_test_data): Likewise.
52430         (tan_downward_test_data): Likewise.
52431         (tan_upward_test_data): Likewise.
52432         (tanh_test_data): Likewise.
52433         (tgamma_test_data): Likewise.
52434         (y0_test_data): Likewise.
52435         (y1_test_data): Likewise.
52436         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52437         (special_real_inputs): Add pi/4.
52438         * sysdeps/i386/fpu/libm-test-ulps: Update.
52439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52441 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52443         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52444         "longjmp_target" static probes.
52445         (__longjmp): Rename to __longjmp_symbol.
52446         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52447         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52448         on which longjmp to generate.
52449         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52450         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52451         probe.
52452         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52453         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52454         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52455         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52456         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52457         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52459         __longjmp_symbol based on which __longjmp to generate.
52460         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52461         probe.
52462         (setjmp): Rename to setjmp_symbol.
52463         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52464         (_setjmp): Rename to _setjmp_symbol.
52465         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52466         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52467         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52468         which setjmp to generate.
52469         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52470         "longjmp_target" static probes.
52472 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52474         * benchtests/README: Add note about output arguments.
52475         * benchtests/bench-sincos.c: Remove file.
52476         * benchtests/sincos-inputs: New file.
52477         * scripts/bench.pl: Identify output arguments and define
52478         static variables for them.
52480         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52482         [BZ #15941]
52483         * Makefile (INSTALL): Add install-plain.texi as the primary
52484         dependency.
52485         * manual/install-plain.texi: New file.
52486         * manual/install.texi: Include node directive only for
52487         non-plaintext output.
52489 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
52491         * stdlib/longlong.h: Update from GCC.
52493         [BZ #6807]
52494         [BZ #15901]
52495         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
52496         * math/w_j0f.c (y0f): Likewise.
52497         * math/w_j0l.c (__y0l): Likewise.
52498         * math/w_j1.c (y1): Likewise.
52499         * math/w_j1f.c (y1f): Likewise.
52500         * math/w_j1l.c (__y1l): Likewise.
52501         * math/w_jn.c (yn): Likewise.
52502         * math/w_jnf.c (ynf): Likewise.
52503         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
52504         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
52505         value for Bessel function domain errors outside _SVID_ mode.
52506         Adjust sign of return value for yn (negative integer, 0).
52507         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
52508         by zero in return for negative x and set sign appropriately for
52509         negative n.
52510         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
52511         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52512         * math/libm-test.inc (y0_test_data): Add more tests and adjust
52513         expectations in error cases.
52514         (y1_test_data): Likewise.
52515         (yn_test_data): Likewise.
52516         * sysdeps/i386/fpu/libm-test-ulps: Update.
52517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52519 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52521         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
52522         "64" to "64-v1".  Add "64-v2".
52523         (abi-64-options): Rename to ...
52524         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
52525         (abi-64-condition): Rename to ...
52526         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
52527         (abi-64-ld-soname): Rename to ...
52528         (abi-64-v1-ld-soname): ... this.
52529         (abi-64-v2-options): Define.
52530         (abi-64-v2-condition): Likewise.
52531         (abi-64-v2-ld-soname): Likewise.
52532         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
52533         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
52534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
52535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
52536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
52538 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52539             Alan Modra  <amodra@gmail.com>
52541         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
52542         New versions for use with the ELFv2 ABI.
52543         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
52544         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
52545         declaration.
52546         (struct La_ppc64v2_retval): Likewise.
52547         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
52548         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
52549         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
52550         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
52551         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
52552         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52553         Do not save or restore CR.
52554         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
52555         (_dl_profile_resolve): Do no save or restore CR.  Support extended
52556         return values for ELFv2 ABI.  Fix location of FPR return registers.
52557         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
52558         updated values for _CALL_ELF == 2.
52559         (La_regs, La_retval, int_retval): Likewise.
52561 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52563         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
52564         (FRAME_MIN_SIZE_PARM): Likewise.
52565         (FRAME_BACKCHAIN): Likewise.
52566         (FRAME_CR_SAVE): Likewise.
52567         (FRAME_LR_SAVE): Likewise.
52568         (FRAME_TOC_SAVE): Likewise.
52569         (FRAME_PARM_SAVE): Likewise.
52570         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
52571         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
52572         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52573         (call_mcount_parm_offset): New macro.
52574         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
52575         (PROF): Use symbolic stack frame offsets.
52576         (TAIL_CALL_SYSCALL_ERROR): Likewise.
52577         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
52578         Redefine in terms of FRAME_MIN_SIZE.
52579         (_dl_runtime_resolve): Use symbolic stack frame offsets.
52580         (_dl_profile_resolve): Likewise.  Update comment.
52581         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
52582         symbols stack frame offsets.
52583         (__sigsetjmp): Likewise.
52584         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
52585         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
52586         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
52587         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
52589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
52590         (FRAME_BACKCHAIN): Remove.
52591         (FRAME_CR_SAVE): Likewise.
52592         (FRAME_LR_SAVE): Likewise.
52593         (FRAME_COMPILER_DW): Likewise.
52594         (FRAME_LINKER_DW): Likewise.
52595         (FRAME_TOC_SAVE): Likewise.
52596         (FRAME_PARM_SAVE): Likewise.
52597         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
52598         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
52599         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
52601         (CHECK_SP): Use symbolic stack frame offsets.
52602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
52603         zone" instead of caller's parameter save area for temp storage.
52604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52605         Likewise.  Also, use symbolic stack frame offsets.
52606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
52607         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
52608         our own stack frame instead of the caller's.
52609         (__socket): Use symbolic stack frame offsets.
52611 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52612             Alan Modra  <amodra@gmail.com>
52614         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
52615         Define.
52616         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
52617         (PPC64_LOCAL_ENTRY_OFFSET): Define.
52618         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
52619         New function.
52620         (elf_machine_fixup_plt): Call it.
52621         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
52622         reloc arguments.
52623         (elf_machine_rela): Update call to elf_machine_plt_conflict.
52624         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52625         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
52626         r2 before calling target.
52628 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52629             Alan Modra  <amodra@gmail.com>
52631         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
52632         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
52633         versions of macros to support ELFv2 ABI.
52634         (LOCALENTRY): New macro.
52635         (ENTRY, EALIGN): Use it.
52636         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
52637         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
52638         fall through into ENTRY entry point.
52639         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
52640         Only define if _CALL_ELF != 2.
52642         (elf_machine_matches_host): Verify ABI version matches.
52643         (RTLD_START): Use LOCALENTRY.
52644         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
52645         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
52646         (PLT_ENTRY_WORDS): New macro.
52647         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
52648         (elf_machine_runtime_setup): Support ELFv2 ABI.
52649         (elf_machine_fixup_plt): Likewise.
52650         (elf_machine_plt_conflict): Likewise.
52651         (resolve_ifunc): Likewise.
52652         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52653         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52654         Likewise.
52655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
52656         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
52657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52658         (makecontext): Support ELFv2 ABI.
52659         * elf/elf.h (EF_PPC64_ABI): Define.
52661 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52663         * sysdeps/powerpc/powerpc64/sysdep.h
52664         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
52665         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
52666         (ENTRY) [ASSEMBLER]: ... but instead here ...
52667         (EALIGN) [ASSEMBLER]: ... and here.
52668         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
52669         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
52670         (ENTRY_2) [!ASSEMBLER]: Use it.
52671         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
52672         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
52673         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52674         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
52675         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
52676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
52677         Use PPC64_LOAD_FUNCPTR.
52679         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
52681 2013-12-04  Alan Modra  <amodra@gmail.com>
52683         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
52684         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
52685         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
52686         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
52688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
52689         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
52690         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
52691         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
52692         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
52693         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
52695 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52698         (__makecontext): Fix incorrect CFI when backtracing out of
52699         context created via makecontext.
52700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
52701         (__setcontext): Fix incorrect CFI during switch to new context.
52702         (__novec_setcontext): Likewise.
52704 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52706         [BZ #4772]
52707         * time/strptime_l.c (__strptime_internal): Allow modifiers
52708         in strptime.
52709         * time/tst-strptime.c (day_tests): Add testcase.
52711 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52713         * scripts/bench.pl: Skip over blank lines.
52715 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
52717         [BZ #926]
52718         * manual/time.texi (Calendar Time): Clarify what timezone functions
52719         use.
52721 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52725 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52727         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
52728         implementation.
52729         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
52730         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
52731         * debug/memset_chk.c (__memset_chk): Likewise.
52732         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
52733         * debug/strncpy_chk.c: Likewise.
52735 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52737         [BZ #15268]
52738         [BZ #15425]
52739         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
52740         (__ieee754_exp): For possibly underflowing results, check size of
52741         result and force underflow exception if required.
52742         * math/auto-libm-test-in: Add more tests of exp.
52743         * math/auto-libm-test-out: Regenerated.
52744         * sysdeps/i386/fpu/libm-test-ulps: Update.
52745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52747         [BZ #16283]
52748         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
52749         * math/w_exp2f.c (__exp2f): Likewise.
52750         * math/w_exp2l.c (__exp2l): Likewise.
52751         * math/auto-libm-test-in: Do not allow missing errno on exp2
52752         underflow.
52753         * math/auto-libm-test-out: Regenerated.
52755 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
52757         [BZ #16274]
52758         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
52759         handle filename validation.
52760         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
52761         (do_open): Delete.
52763 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52765         [BZ #6786]
52766         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52767         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52768         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52769         <float.h>.
52770         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52771         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52772         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52773         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52774         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52775         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52776         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52777         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52778         Add more erfc tests.
52779         * math/auto-libm-test-out: Regenerated.
52780         * sysdeps/i386/fpu/libm-test-ulps: Update.
52781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52783         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52784         exp2, expm1, j0 and j1.
52785         * math/auto-libm-test-out: Regenerated.
52786         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52787         (erfc_test_data): Likewise.
52788         (exp_test_data): Likewise.
52789         (exp_tonearest_test_data): Likewise.
52790         (exp_towardzero_test_data): Likewise.
52791         (exp_downward_test_data): Likewise.
52792         (exp_upward_test_data): Likewise.
52793         (exp10_test_data): Likewise.
52794         (exp2_test_data): Likewise.
52795         (expm1_test_data): Likewise.
52796         (j0_test_data): Likewise.
52797         (j1_test_data): Likewise.
52798         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52799         (input_flag_type): Add flag_xfail_rounding.
52800         (input_flags): Add xfail-rounding.
52801         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52802         (output_for_one_input_case): Handle flag_xfail_rounding.
52803         * sysdeps/i386/fpu/libm-test-ulps: Update.
52804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52806 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
52808         [BZ #16289]
52809         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
52810         division by 0.
52812 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52814         [BZ #16195]
52815         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
52816         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
52817         (STAP_PROBE0): New macro.
52818         (STAP_PROBE1): Likewise.
52819         (STAP_PROBE2): Likewise.
52820         (STAP_PROBE3): Likewise.
52821         (STAP_PROBE4): Likewise.
52823 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
52825         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
52827 2013-12-02  Steve Ellcey  <sellcey@mips.com>
52829         * benchtests/Makefile (bench): Add sqrt.
52830         (LDLIBS-bench-sqrt): New.
52831         * benchtests/sqrt-input: New.
52833 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
52835         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
52836         (GAIH_EAI): Likewise.
52837         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
52838         (gaih_inet): Likewise.
52839         (getaddrinfo): Don't use GAIH_EAI.
52841         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
52842         (struct gaih): Remove definition.
52844 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52846         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
52847         Use HERRNOP directly.
52849 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52853 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
52855         * math/gen-auto-libm-tests.c (test_functions): Add more
52856         single-argument functions.
52857         (special_fill_pi_2): New function.
52858         (special_fill_minus_pi_2): Likewise.
52859         (special_fill_pi_6): Likewise.
52860         (special_fill_minus_pi_6): Likewise.
52861         (special_fill_pi_3): Likewise.
52862         (special_fill_2pi_3): Likewise.
52863         (special_fill_e): Likewise.
52864         (special_fill_1_e): Likewise.
52865         (special_fill_e_minus_1): Likewise.
52866         (special_real_inputs): Add more special inputs.
52867         (output_for_one_input_case): Do not require ERANGE on underflow to
52868         zero if round-to-nearest result does not underflow to zero, unless
52869         exact results required.
52870         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
52871         atan, atanh, cbrt, cos and cosh.
52872         * math/auto-libm-test-out: Regenerated.
52873         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52874         (acos_tonearest_test_data): Likewise.
52875         (acos_towardzero_test_data): Likewise.
52876         (acos_downward_test_data): Likewise.
52877         (acos_upward_test_data): Likewise.
52878         (acosh_test_data): Likewise.
52879         (asin_test_data): Likewise.
52880         (asin_tonearest_test_data): Likewise.
52881         (asin_towardzero_test_data): Likewise.
52882         (asin_upward_test_data): Likewise.
52883         (asinh_test_data): Likewise.
52884         (atan_test_data): Likewise.
52885         (atanh_test_data): Likewise.
52886         (cbrt_test_data): Likewise.
52887         (cos_test_data): Likewise.
52888         (cos_tonearest_test_data): Likewise.
52889         (cos_towardzero_test_data): Likewise.
52890         (cos_downward_test_data): Likewise.
52891         (cos_upward_test_data): Likewise.
52892         (cosh_test_data): Likewise.
52893         (cosh_tonearest_test_data): Likewise.
52894         (cosh_towardzero_test_data): Likewise.
52895         (cosh_downward_test_data): Likewise.
52896         (cosh_upward_test_data): Likewise.
52897         * sysdeps/i386/fpu/libm-test-ulps: Update.
52898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52900 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
52902         [BZ #6787]
52903         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
52904         * math/w_exp10f.c (__exp10f): Likewise.
52905         * math/w_exp10l.c (__exp10l): Likewise.
52906         * math/libm-test.inc (exp10_test_data): Add more tests and expect
52907         errno settings in existing tests.
52909         [BZ #14032]
52910         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
52911         precision control set to double precision.
52912         * sysdeps/i386/fpu/w_sqrt.c: New file.
52913         * math/auto-libm-test-in: Add more tests.
52914         * math/auto-libm-test-out: Update.
52916         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
52917         (sqrt_test_tonearest): New function.
52918         (sqrt_towardzero_test_data): New variable.
52919         (sqrt_test_towardzero): New function.
52920         (sqrt_downward_test_data): New variable.
52921         (sqrt_test_downward): New function.
52922         (sqrt_upward_test_data): New variable.
52923         (sqrt_test_upward): New function.
52924         (main): Call the new functions.
52926         * math/gen-auto-libm-tests.c: New file.
52927         * math/auto-libm-test-in: Likewise.
52928         * math/auto-libm-test-out: New generated file.
52929         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
52930         variables.
52931         (%beautify): Add generated representations of zero.
52932         (top level): Set $auto_input and call parse_auto_input.
52933         (beautify): Remove trailing "f" from hex float constants.
52934         (parse_args): Handle XFAIL_TEST.
52935         (convert_condition): New function.
52936         (or_value): Likewise.
52937         (or_cond_value): Likewise.
52938         (generate_testfile): Handle AUTO_TESTS_* lines.
52939         (parse_auto_input): New function.
52940         * math/libm-test.inc (XFAIL_TEST): New macro.
52941         (ERRNO_UNCHANGED): Update value.
52942         (ERRNO_EDOM): Likewise.
52943         (ERRNO_ERANGE): Likewise.
52944         (IGNORE_RESULT): Likewise.
52945         (TEST_COND_flt_32): New macro.
52946         (TEST_COND_dbl_64): Likewise.
52947         (TEST_COND_ldbl_96_intel): Likewise.
52948         (TEST_COND_ldbl_96_m68k): Likewise.
52949         (TEST_COND_ldbl_128): Likewise.
52950         (TEST_COND_ldbl_128ibm): Likewise.
52951         (TEST_COND_long32): Likewise.
52952         (TEST_COND_long64): Likewise.
52953         (TEST_COND_before_rounding): Likewise.
52954         (TEST_COND_after_rounding): Likewise.
52955         (enable_test): Handle XFAIL_TEST flag.
52956         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
52957         with finite results.
52958         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
52959         auto-libm-test-out.
52961 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52962             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52964         [BZ #16214]
52965         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
52966         __tls_get_addr_internal instead of __tls_get_offset in order to
52967         avoid GOT pointer dependency.  Make rtld export
52968         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
52969         __tls_get_addr since we are a __tls_get_offset platform.
52970         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
52971         GOT pointer being set up before.
52972         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
52974 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
52976         * manual/math.texi (Errors in Math Functions): Document accuracy
52977         goals.
52979         [BZ #15004]
52980         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
52981         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
52982         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52983         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52984         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52985         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52986         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52987         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52988         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52989         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52990         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52991         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52992         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52993         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52994         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52995         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52997         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
52998         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
52999         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53000         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53001         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53002         Likewise.
53003         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53004         Likewise.
53005         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53006         Likewise.
53007         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53008         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53009         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53010         atomic-feupdateenv and flt-rounds.
53011         * sysdeps/powerpc/nofpu/Versions (libc): Add
53012         __atomic_feholdexcept, __atomic_feclearexcept,
53013         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53014         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53015         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53016         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53017         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53018         here.
53019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53020         Update.
53022         * manual/arith.texi (FP Exceptions): Document that exceptions may
53023         not be raised when matherr is used.
53024         (Math Error Reporting): Document overflow in directed rounding
53025         modes.  Document that errno may not be set when finite values are
53026         returned on overflow.  Document intent to set errno on underflow
53027         only for underflow to zero.
53029         [BZ #16271]
53030         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53031         round-to-nearest then adjust result for other rounding modes.
53032         * include/fenv.h (fegetround): Use libm_hidden_proto.
53033         * math/fegetround.c (fegetround): Use libm_hidden_def.
53034         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53035         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53036         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53037         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53038         Likewise.
53039         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53040         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53041         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53042         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53044 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53046         [BZ #16077]
53047         * nss/Versions (libnss_files): Add
53048         _nss_files_gethostbyname3_r.
53049         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53050         New function.
53051         (HOST_DB_LOOKUP): Remove macro.
53052         (_nss_files_gethostbyname_r): Implement function without the
53053         HOST_DB_LOOKUP macro.
53054         (_nss_files_gethostbyname2_r): Likewise.
53056 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53058         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53060 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53062         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53063         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53064         warning.
53066 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53068         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53069         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53070         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53071         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53072         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53073         __fe_nomask_env_priv and attribute_hidden.
53074         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53075         (libc_feupdateenv_test_ppc): Likewise.
53076         (libc_feresetround_ppc): Likewise.
53077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53078         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53079         compat_symbol macro.
53080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53081         (__fe_nomask_env): Likewise.
53082         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53084 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53086         * string/Makefile: Remove ifunc tests.
53087         * string/test-string.h: Define TEST_IFUNC.
53088         * string/test-bcopy-ifunc.c: Remove.
53089         * string/test-bzero-ifunc.c: Likewise.
53090         * string/test-memccpy-ifunc.c: Likewise.
53091         * string/test-memchr-ifunc.c: Likewise.
53092         * string/test-memcmp-ifunc.c: Likewise.
53093         * string/test-memcpy-ifunc.c: Likewise.
53094         * string/test-memmem-ifunc.c: Likewise.
53095         * string/test-memmove-ifunc.c: Likewise.
53096         * string/test-mempcpy-ifunc.c: Likewise.
53097         * string/test-memrchr-ifunc.c: Likewise.
53098         * string/test-memset-ifunc.c: Likewise.
53099         * string/test-rawmemchr-ifunc.c: Likewise.
53100         * string/test-stpcpy-ifunc.c: Likewise.
53101         * string/test-stpncpy-ifunc.c: Likewise.
53102         * string/test-strcasecmp-ifunc.c: Likewise.
53103         * string/test-strcasestr-ifunc.c: Likewise.
53104         * string/test-strcat-ifunc.c: Likewise.
53105         * string/test-strchr-ifunc.c: Likewise.
53106         * string/test-strchrnul-ifunc.c: Likewise.
53107         * string/test-strcmp-ifunc.c: Likewise.
53108         * string/test-strcpy-ifunc.c: Likewise.
53109         * string/test-strcspn-ifunc.c: Likewise.
53110         * string/test-strlen-ifunc.c: Likewise.
53111         * string/test-strncasecmp-ifunc.c: Likewise.
53112         * string/test-strncat-ifunc.c: Likewise.
53113         * string/test-strncmp-ifunc.c: Likewise.
53114         * string/test-strncpy-ifunc.c: Likewise.
53115         * string/test-strnlen-ifunc.c: Likewise.
53116         * string/test-strpbrk-ifunc.c: Likewise.
53117         * string/test-strrchr-ifunc.c: Likewise.
53118         * string/test-strspn-ifunc.c: Likewise.
53119         * string/test-strstr-ifunc.c: Likewise.
53121 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53123         * benchtests/Makefile: Remove ifunc tests.
53124         * benchtests/bench-string.h: Define TEST_IFUNC.
53125         * benchtests/bench-bcopy-ifunc.c: Remove.
53126         * benchtests/bench-bzero-ifunc.c: Likewise.
53127         * benchtests/bench-memccpy-ifunc.c: Likewise.
53128         * benchtests/bench-memchr-ifunc.c: Likewise.
53129         * benchtests/bench-memcmp-ifunc.c: Likewise.
53130         * benchtests/bench-memcpy-ifunc.c: Likewise.
53131         * benchtests/bench-memmem-ifunc.c: Likewise.
53132         * benchtests/bench-memmove-ifunc.c: Likewise.
53133         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53134         * benchtests/bench-memrchr-ifunc.c: Likewise.
53135         * benchtests/bench-memset-ifunc.c: Likewise.
53136         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53137         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53138         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53139         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53140         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53141         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53142         * benchtests/bench-strcat-ifunc.c: Likewise.
53143         * benchtests/bench-strchr-ifunc.c: Likewise.
53144         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53145         * benchtests/bench-strcmp-ifunc.c: Likewise.
53146         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53147         * benchtests/bench-strcpy-ifunc.c: Likewise.
53148         * benchtests/bench-strcspn-ifunc.c: Likewise.
53149         * benchtests/bench-strlen-ifunc.c: Likewise.
53150         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53151         * benchtests/bench-strncat-ifunc.c: Likewise.
53152         * benchtests/bench-strncmp-ifunc.c: Likewise.
53153         * benchtests/bench-strncpy-ifunc.c: Likewise.
53154         * benchtests/bench-strnlen-ifunc.c: Likewise.
53155         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53156         * benchtests/bench-strrchr-ifunc.c: Likewise.
53157         * benchtests/bench-strsep-ifunc.c: Likewise.
53158         * benchtests/bench-strspn-ifunc.c: Likewise.
53159         * benchtests/bench-strstr-ifunc.c: Likewise.
53161 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53163         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53165 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53167         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53168         * rt/aio.h: Likewise.
53169         * sysdeps/gnu/bits/utmp.h: Likewise.
53170         * sysdeps/gnu/bits/utmpx.h: Likewise.
53171         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53172         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53173         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53174         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53175         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53176         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53177         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53178         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53179         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53180         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53181         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53182         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53183         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53185         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53186         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53187         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53188         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53189         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53190         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53191         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53192         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53193         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53194         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53195         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53197         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53198         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53199         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53200         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53201         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53202         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53203         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53204         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53205         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53206         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53207         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53208         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53209         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53210         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53211         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53212         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53214 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53216         [BZ #16245]
53217         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53218         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53220 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53222         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53223         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53224         Likewise.
53226 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53228         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53229         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53230         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53231         (__fesetround): Remove define.
53232         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53233         rounding and exceptions handling.
53234         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53235         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53236         (__fe_nomask_env): Likewise.
53237         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53238         __fegetround instead of fegetround.
53239         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53240         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53242 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53244         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53245         it's there.
53247         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53249 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53251         [BZ #11157]
53252         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53253         (encrypt_r): Likewise.
53254         * malloc/obstack.h (obstack_free): Likewise.
53255         * posix/unistd.h (encrypt): Likewise.
53257 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53259         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53260         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53261         DL_CALL_DT_FINI() that call the functions directly.
53262         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53263         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53264         * elf/dl-fini.c: Likewise.
53266 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53268         * malloc/hooks.c (memalign_check): Add alignment rounding.
53269         * malloc/malloc.c (_mid_memalign): New function.
53270         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53271         Implement by calling _mid_memalign.
53272         * manual/probes.texi (Memory Allocation Probes): Remove
53273         memory_valloc_retry and memory_pvalloc_retry.
53275 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53277         * locale/programs/locarchive.c (open_archive): Add const
53278         qualifier to ARCHIVEFNAME and copy default fname to
53279         DEFAULT_FNAME.
53281         [BZ #15601]
53282         * libio/tst-widetext.input: Rename Oriya to Odia.
53283         * locale/iso-639.def: Likewise.
53285         * manual/probes.texi (Mathematical Function Probes): Add
53286         documentation for sin, cos, asin and acos probes.
53287         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53288         (__sin32): Add slowasin probe.
53289         (__cos32): Add slowacos probe.
53290         (__mpsin): Add slowsin probe.
53291         (__mpcos): Add slowcos probe.
53293 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53295         [BZ #15483]
53296         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53297         thread-local __sim_exceptions_thread and global
53298         __sim_exceptions_global.
53299         (__sim_disabled_exceptions): Change to thread-local
53300         __sim_disabled_exceptions_thread and global
53301         __sim_disabled_exceptions_global.
53302         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53303         and global __sim_round_mode_global.
53304         (__simulate_exceptions): Use thread-local floating-point state and
53305         set global state from it as needed.
53306         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53307         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53308         __sim_round_mode_thread.
53309         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53310         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53311         and global __sim_exceptions_global.
53312         (__sim_disabled_exceptions): Change to thread-local
53313         __sim_disabled_exceptions_thread and global
53314         __sim_disabled_exceptions_global.
53315         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53316         and global __sim_round_mode_global.
53317         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53318         (SIM_SET_GLOBAL): Likewise.
53319         * sysdeps/powerpc/soft-fp/sfp-machine.h
53320         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53321         __sim_round_mode_thread.
53322         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53323         __sim_disabled_exceptions_thread.
53324         (__sim_exceptions): Change to __sim_exceptions_thread.
53325         (__sim_disabled_exceptions): Change to
53326         __sim_disabled_exceptions_thread.
53327         (__sim_round_mode): Change to __sim_round_mode_thread.
53328         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53329         thread-local floating-point state and set global state from it as
53330         needed.
53331         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53332         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53333         (__sim_disabled_exceptions): Remove extern declaration.
53334         (feenableexcept): Use thread-local floating-point state and set
53335         global state from it as needed.
53336         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53337         extern declaration.
53338         (__sim_disabled_exceptions): Likewise.
53339         (__sim_round_mode): Likewise.
53340         (__fegetenv): Use thread-local floating-point state.
53341         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53342         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53343         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53344         floating-point state and set global state from it as needed.
53345         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53346         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53347         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53348         Likewise.
53349         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53350         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53351         Likewise.
53352         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53353         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53354         Use __sim_round_mode_thread.
53355         * math/test-fenv-tls.c: New file.
53356         * math/Makefile (tests): Add test-fenv-tls.
53357         ($(objpfx)test-fenv-tls): Depend on
53358         $(common-objpfx)nptl/libpthread.so.
53360 2013-11-19  Andreas Schwab  <schwab@suse.de>
53362         * locale/programs/locale.c (show_info): Decode wordarray elements.
53363         * locale/categories.def (LC_MONETARY): Add element for
53364         _NL_MONETARY_CRNCYSTR.
53365         * locale/C-monetary.c (conversion_rate): New variable.
53366         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53367         element.
53369 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53371         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53372         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53374 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53376         * elf/Makefile (tst-auxv): New test.
53377         * elf/tst-auxv.c: New
53378         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53380 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53382         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53383         (hidden_proto): Caller changed.
53384         (hidden_tls_proto): New macro.
53385         (libc_hidden_tls_proto): Likewise.
53386         (rtld_hidden_tls_proto): Likewise.
53387         (libm_hidden_tls_proto): Likewise.
53388         (libresolv_hidden_tls_proto): Likewise.
53389         (librt_hidden_tls_proto): Likewise.
53390         (libdl_hidden_tls_proto): Likewise.
53391         (libnss_files_hidden_tls_proto): Likewise.
53392         (libnsl_hidden_tls_proto): Likewise.
53393         (libnss_nisplus_hidden_tls_proto): Likewise.
53394         (libutil_hidden_tls_proto): Likewise.
53396 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53398         [BZ #10253]
53399         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53400         (decompose_rpath): Defer expansion to fillin_rpath.
53401         (_dl_init_paths): Pass linkmap to fillin_rpath.
53403 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53405         * benchtests/Makefile: Add strsep.
53406         * benchtests/bench-strsep.c: New file: strsep benchtest.
53407         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53409 2013-11-18  Andreas Schwab  <schwab@suse.de>
53411         * locale/programs/locale.c (show_info) [case byte]: Check for
53412         '\377' instead of '\177'.
53413         * locale/C-monetary.c (not_available): Always use "\377".
53414         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53415         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53416         detect unavailable sign_posn locale elements.
53417         * locale/localeconv.c (__localeconv): For grouping and
53418         mon_grouping handle "\177" and "\377" like no grouping.
53419         (INT_ELEM): New macro.  Use it to set all numeric members.
53420         * locale/programs/ld-monetary.c (monetary_read)
53421         <tok_mon_grouping>: Normalize single -1 to the empty string.
53422         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53423         Likewise.
53425 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53427         [BZ #16055]
53428         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53429         when we match (nil).
53430         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53432 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53434         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53435         (NO_TEST_INLINE): Update value.
53436         (ERRNO_UNCHANGED): Likewise.
53437         (ERRNO_EDOM): Likewise.
53438         (ERRNO_ERANGE): Likewise.
53439         (IGNORE_RESULT): Likewise.
53440         (check_float_internal): Check signs of NaN results if
53441         TEST_NAN_SIGN used.
53442         (check_complex): Pass TEST_NAN_SIGN flag through to second
53443         check_float_internal call.
53444         (copysign_test_data): Add tests with quiet NaNs as second
53445         argument.  Use TEST_NAN_SIGN.
53446         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53447         TEST_NAN_SIGN.
53448         (signbit_test_data): Add tests of quiet NaN argument.
53449         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53451         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53452         $ignore_result.
53453         (parse_args): Handle function results specified as IGNORE.
53454         * math/libm-test.inc (IGNORE_RESULT): New macro.
53455         (check_float_internal): Do not check numerical result if flag
53456         IGNORE_RESULT set.
53457         (check_complex): Pass through IGNORE_RESULT to second
53458         check_float_internal call.
53459         (check_int): Do not check numerical result if flag IGNORE_RESULT
53460         set.
53461         (check_long): Likewise.
53462         (check_bool): Likewise.
53463         (check_longlong): Likewise.
53464         (lrint_test_data): Add tests of infinite and NaN arguments.
53465         (lrint_tonearest_test_data): Likewise.
53466         (lrint_towardzero_test_data): Likewise.
53467         (lrint_downward_test_data): Likewise.
53468         (lrint_upward_test_data): Likewise.
53469         (llrint_test_data): Likewise.
53470         (llrint_tonearest_test_data): Likewise.
53471         (llrint_towardzero_test_data): Likewise.
53472         (llrint_downward_test_data): Likewise.
53473         (llrint_upward_test_data): Likewise.
53474         (lround_test_data): Likewise.
53475         (llround_test_data): Likewise.
53477         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53478         (ERRNO_UNCHANGED): Update value.
53479         (ERRNO_EDOM): Likewise.
53480         (ERRNO_ERANGE): Likewise.
53481         (NO_TEST_INLINE_FLOAT): New macro.
53482         (NO_TEST_INLINE_DOUBLE): Likewise.
53483         (enable_test): New function.
53484         (RUN_TEST_f_f): Check enable_test before running test.
53485         (RUN_TEST_2_f): Likewise.
53486         (RUN_TEST_fff_f): Likewise.
53487         (RUN_TEST_c_f): Likewise.
53488         (RUN_TEST_f_f1): Likewise.
53489         (RUN_TEST_fF_f1): Likewise.
53490         (RUN_TEST_fI_f1): Likewise.
53491         (RUN_TEST_ffI_f1): Likewise.
53492         (RUN_TEST_c_c): Likewise.
53493         (RUN_TEST_cc_c): Likewise.
53494         (RUN_TEST_f_i): Likewise.
53495         (RUN_TEST_f_i_tg): Likewise.
53496         (RUN_TEST_ff_i_tg): Likewise.
53497         (RUN_TEST_f_b): Likewise.
53498         (RUN_TEST_f_b_tg): Likewise.
53499         (RUN_TEST_f_l): Likewise.
53500         (RUN_TEST_f_L): Likewise.
53501         (RUN_TEST_fFF_11): Likewise.
53502         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
53503         conditionals.
53504         (cosh_test_data): Likewise.
53505         (exp_test_data): Likewise.
53506         (expm1_test_data): Likewise.
53507         (hypot_test_data): Likewise.
53508         (pow_test_data): Likewise.
53509         (sinh_test_data): Likewise.
53510         (tanh_test_data): Likewise.
53511         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
53512         flags argument.
53514         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
53515         tests with quiet NaN input and output.
53516         (acosh_test_data): Likewise.
53517         (asin_test_data): Likewise.
53518         (asinh_test_data): Likewise.
53519         (atan_test_data): Likewise.
53520         (atanh_test_data): Likewise.
53521         (atan2_test_data): Likewise.
53522         (cbrt_test_data): Likewise.
53523         (cos_test_data): Likewise.
53524         (cosh_test_data): Likewise.
53525         (erf_test_data): Likewise.
53526         (erfc_test_data): Likewise.
53527         (exp_test_data): Likewise.
53528         (exp10_test_data): Likewise.
53529         (exp2_test_data): Likewise.
53530         (expm1_test_data): Likewise.
53531         (hypot_test_data): Likewise.
53532         (j0_test_data): Likewise.
53533         (j1_test_data): Likewise.
53534         (jn_test_data): Likewise.
53535         (lgamma_test_data): Likewise.
53536         (log_test_data): Likewise.
53537         (log10_test_data): Likewise.
53538         (log1p_test_data): Likewise.
53539         (log2_test_data): Likewise.
53540         (pow_test_data): Likewise.
53541         (scalb_test_data): Likewise.
53542         (sin_test_data): Likewise.
53543         (sincos_test_data): Likewise.
53544         (sinh_test_data): Likewise.
53545         (tan_test_data): Likewise.
53546         (tanh_test_data): Likewise.
53547         (tgamma_test_data): Likewise.
53548         (y0_test_data): Likewise.
53549         (y1_test_data): Likewise.
53550         (yn_test_data): Likewise.
53552         [BZ #16167]
53553         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
53554         argument being NaN and avoid computations with second argument in
53555         that case.
53556         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53557         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
53558         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53560 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
53562         * locale/iso-639.def: Add Chitwani Tharu (the).
53564 2013-11-14  Andreas Schwab  <schwab@suse.de>
53566         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
53567         word instead of empty string.
53569 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53572         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
53573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53574         (__fe_nomask_env): Likewise.
53576 2013-11-13  Steve Ellcey  <sellcey@mips.com>
53578         * benchtests/bench-timing.h: Include time.h.
53580 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
53582         [BZ #15997]
53583         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
53584         to 3.4.0 for x32.
53585         * sysdeps/unix/sysv/linux/configure: Regenerated.
53587 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
53589         [BZ #16151]
53590         * stdlib/strtod_l.c (round_and_return): Do not consider
53591         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
53592         exponent one less than half the least subnormal exponent.
53593         * stdlib/test-strtod-round-data: Add more tests.
53594         * stdlib/tst-strtod-round.c (tests): Regenerated.
53596 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53598         [BZ #14143]
53599         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
53600         (__fe_mask_env): Likewise.
53601         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
53602         libm_hidden_proto and add function prototype.
53603         (__fe_mask_env): Add function prototype.
53604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53605         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
53606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53607         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
53608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53609         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
53611 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53613         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
53614         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
53616 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53618         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
53619         of htab_find_slot().
53621 2013-11-11  David S. Miller  <davem@davemloft.net>
53623         [BZ #16150]
53624         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
53625         symbol in the non-vis3 case in static builds.
53626         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
53627         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
53628         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
53629         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
53631 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
53633         [BZ #387]
53634         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
53635         it is empty.
53637 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53639         * benchtests/Makefile: Add bench-strtod.
53640         * benchtests/bench-strtod.c: New file: strtod benchtest
53642 2013-11-11  Andreas Schwab  <schwab@suse.de>
53644         [BZ #16153]
53645         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
53646         terminating NUL in key length.
53648 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53650         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53651         Add artificial ODP entry for vDSO symbol for PPC64.
53652         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
53653         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
53655 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53657         [BZ #15374]
53658         * nss/getent.c (services_keys): Recognize services starting with digit.
53660 2013-11-06  David S. Miller  <davem@davemloft.net>
53662         [BZ #15985]
53663         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
53664         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
53666 2013-11-06  Will Newton  <will.newton@linaro.org>
53668         * manual/memory.texi (Malloc Examples): Remove register
53669         keyword from examples.
53671 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
53673         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
53675 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
53677         [BZ #6981]
53678         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
53679         depending on [__GCC_IEC_559 > 0].
53680         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
53681         depending on [__GCC_IEC_559_COMPLEX > 0].
53683 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
53685         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
53686         to iso-639.def.
53688 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
53690         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
53692 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
53694         [BZ #16112]
53695         * malloc/malloc (malloc_info): Do not handle first bin as
53696         special case.
53698 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
53700         * locale/iso-639.def: Add Central Nahuatl (nhn).
53702 2013-11-01  Bruno Haible  <bruno@clisp.org>
53704         [BZ #7003]
53705         * manual/math.texi (BSD Random): Specify range upper bound as
53706         in POSIX.
53708 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
53710         * locale/iso-639.def: Add Meadow Mari (mhr).
53712 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
53714         [BZ #14752], [BZ #15763]
53715         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
53716         Validate name.
53717         * rt/tst_shm.c: Add test for escaping directory.
53719 2013-10-31  Andreas Schwab  <schwab@suse.de>
53721         [BZ #15917]
53722         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
53723         followed by 'x' as part of digit sequence.
53724         * stdio-common/tst-sscanf.c (double_tests2): New tests.
53726 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
53728         [BZ #16037]
53729         * configure.ac: allow GNU Make 4.0 and greater.
53730         * configure: Regenerated.
53732 2013-10-30  Will Newton  <will.newton@linaro.org>
53734         [BZ #16038]
53735         * malloc/hooks.c (memalign_check): Limit alignment to the
53736         maximum representable power of two.
53737         * malloc/malloc.c (__libc_memalign): Likewise.
53738         * malloc/tst-memalign.c (do_test): Add test for very
53739         large alignment values.
53740         * malloc/tst-posix_memalign.c (do_test): Likewise.
53742 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53744         [BZ #11087]
53745         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
53746         (munmap_chunk): Likewise.
53747         (mremap_chunk): Likewise.
53749 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53751         [BZ #15799]
53752         * stdlib/div.c (div): Remove obsolete code.
53753         * stdlib/ldiv.c (ldiv): Likewise.
53754         * stdlib/lldiv.c (lldiv): Likewise.
53756 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53758         [BZ #16071]
53759         * nss/nss_files/files-XXX.c (get_contents_ret): New
53760         enumerator.
53761         (get_contents): New function.
53762         (internal_getent): Use it.  Expand size of LINEBUFLEN.
53764 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53766         * configure.in: Moved to ...
53767         * configure.ac: ... here. Change reference to configure.in
53768         to configure.ac.
53769         * sysdeps/arm/preconfigure.ac: ... here.
53770         configure.in to configure.ac.
53771         * sysdeps/gnu/configure.in: Moved to ...
53772         * sysdeps/gnu/configure.ac: ... here.
53773         * sysdeps/i386/configure.in: Moved to ...
53774         * sysdeps/i386/configure.ac: ... here.
53775         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53776         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53777         * sysdeps/mach/configure.in: Moved to ...
53778         * sysdeps/mach/configure.ac: ... here.
53779         * sysdeps/mach/hurd/configure.in: Moved to ...
53780         * sysdeps/mach/hurd/configure.ac: ... here.
53781         * sysdeps/powerpc/configure.in: Moved to ...
53782         * sysdeps/powerpc/configure.ac: ... here.
53783         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53784         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53785         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53786         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53787         * sysdeps/s390/s390-32/configure.in: Moved to ...
53788         * sysdeps/s390/s390-32/configure.ac: ... here.
53789         * sysdeps/s390/s390-64/configure.in: Moved to ...
53790         * sysdeps/s390/s390-64/configure.ac: ... here.
53791         * sysdeps/sh/configure.in: Moved to ...
53792         * sysdeps/sh/configure.ac: ... here.
53793         * sysdeps/sparc/configure.in: Moved to ...
53794         * sysdeps/sparc/configure.ac: ... here.
53795         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53796         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53797         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53798         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53799         * sysdeps/x86_64/configure.in: Moved to ...
53800         * sysdeps/x86_64/configure.ac: ... here.
53801         * sysdeps/x86_64/preconfigure.in: Moved to ...
53802         * sysdeps/x86_64/preconfigure.ac: ... here.
53803         * aclocal.m4: Change reference to configure.in to configure.ac.
53804         * config.h.in: Likewise.
53805         * manual/install.texi: Likewise.
53806         * manual/maint.texi: Likewise.
53807         * Makefile: Likewise.
53808         * malloc/Makefile: Likewise.
53809         * nscd/Makefile: Likewise.
53810         * Makeconfig: Change reference to configure.in and
53811         preconfigure.in to configure.ac and preconfigure.ac
53812         respectively.
53813         * INSTALL: Regenerated.
53814         * configure: Likewise.
53815         * sysdeps/gnu/configure: Likewise.
53816         * sysdeps/i386/configure: Likewise.
53817         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
53818         * sysdeps/mach/configure: Likewise.
53819         * sysdeps/mach/hurd/configure: Likewise.
53820         * sysdeps/powerpc/configure: Likewise.
53821         * sysdeps/powerpc/powerpc32/configure: Likewise.
53822         * sysdeps/powerpc/powerpc64/configure: Likewise.
53823         * sysdeps/s390/s390-32/configure: Likewise.
53824         * sysdeps/s390/s390-64/configure: Likewise.
53825         * sysdeps/sh/configure: Likewise.
53826         * sysdeps/sparc/configure: Likewise.
53827         * sysdeps/unix/sysv/linux/configure: Likewise.
53828         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
53829         * sysdeps/x86_64/configure: Likewise.
53830         * sysdeps/x86_64/preconfigure: Likewise.
53832 2013-10-29  Andreas Schwab  <schwab@suse.de>
53834         * stdio-common/Makefile (tst-swscanf-ENV): Define.
53836 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53838         * benchtests/pow-inputs: Add new inputs.
53840         * benchtests/exp-inputs: Add new inputs.
53842         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
53843         conditional check for return value.
53844         (__cos32): Likewise.
53846 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53848         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
53849         to provide a boost for large inputs with word alignment.
53850         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
53851         implementation based on optimized PPC64 strcpy.
53852         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
53853         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
53854         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
53855         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
53857 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53859         [BZ #2801]
53860         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
53862 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53864         [BZ #14876]
53865         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
53866         * time/tst-strptime.c (day_tests): Add testcase.
53868 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53870         [BZ #14029]
53871         * manual/pattern.texi: Acknowledge that fnmatch can fail.
53873 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
53875         [BZ #16074]
53876         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
53877         MAP_FAILED on error.
53879 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53881         [BZ #16072]
53882         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
53883         heap for large requests.
53885 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
53887         [BZ #9954]
53888         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
53889         result if the result has no associated interface.
53890         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
53891         interface for all 127.X.Y.Z addresses.
53893 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
53895         * locale/iso-639.def: Add Ligurian (lij)
53897 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
53899         [BZ #15825]
53900         * sunrpc/rpc_main.c: Document rpcgen -5.
53902 2013-10-19  Michael Stahl  <mstahl@redhat.com>
53904         * elf/rtld.c (do_preload): Print the reason why preloading failed.
53906 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53908         [BZ #10278]
53909         * posix/glob.c: Match only directories when trailing slash is present.
53910         * posix/tst-gnuglob.c (my_opendir): Do not open files.
53911         (main): Add testcase.
53913 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53915         [BZ #15670]
53916         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
53918 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
53920         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
53921         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
53922         AUTH_DES and cindex for FIPS 140-2.
53923         (DES Encryption): Add cindex FIPS 46-3.
53925         * locale/locarchive.h (struct locarhandle): Add fname.
53926         * locale/programs/localedef.c (main): Pass ARGV[remaining]
53927         if an optional argument was specified to --list-archive,
53928         otherwise NULL.
53929         * locale/programs/locarchive.c (show_archive_content): Take new
53930         argument fname and pass it via ah.fname to open_archive.
53931         * locale/programs/localedef.h: Update decl.
53932         (open_archive): If AH->fname is non-null, open that file
53933         rather than the default file name, and don't ignore ENOENT.
53934         (create_archive): Set AH.fname to NULL.
53935         (delete_locales_from_archive): Likewise.
53936         (add_locales_to_archive): Likewise.
53937         * locale/programs/locfile.c (write_all_categories): Likewise.
53939 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
53940             Aldy Hernandez  <aldyh@redhat.com>
53942         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
53943         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
53944         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53945         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
53946         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
53947         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
53948         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53949         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
53950         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
53951         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
53952         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
53953         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
53954         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
53955         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
53956         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
53957         Likewise.
53958         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
53959         Likewise.
53960         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
53961         Likewise.
53962         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
53963         Likewise.
53964         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53965         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
53966         Likewise.
53967         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
53968         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
53969         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
53970         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
53971         Likewise.
53972         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
53973         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
53974         * sysdeps/powerpc/preconfigure: Likewise.
53975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
53976         Likewise.
53977         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
53978         Replace contents of file by #include of <fenv_libc.h>.
53979         * sysdeps/powerpc/soft-fp/sfp-machine.h
53980         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
53981         and <sys/prctl.h>.
53982         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
53983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
53984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
53985         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
53986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
53987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
53988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
53989         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
53990         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
53991         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
53992         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
53993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
53994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53995         Allow copysignl PLT reference to be missing.
53997 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
53998             Joseph Myers  <joseph@codesourcery.com
54000         [BZ #15948]
54001         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54002         single character.
54003         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54005 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54007         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54008         * elf/tst-tls1.c: Likewise.
54009         * elf/tst-tls10.h: Likewise.
54010         * elf/tst-tls14.c: Likewise.
54011         * elf/tst-tls2.c: Likewise.
54012         * elf/tst-tls3.c: Likewise.
54013         * elf/tst-tls4.c: Likewise.
54014         * elf/tst-tls5.c: Likewise.
54015         * elf/tst-tls6.c: Likewise.
54016         * elf/tst-tls7.c: Likewise.
54017         * elf/tst-tls8.c: Likewise.
54018         * elf/tst-tls9.c: Likewise.
54019         * elf/tst-tlsmod1.c: Likewise.
54020         * elf/tst-tlsmod13.c: Likewise.
54021         * elf/tst-tlsmod13a.c: Likewise.
54022         * elf/tst-tlsmod14a.c: Likewise.
54023         * elf/tst-tlsmod16a.c: Likewise.
54024         * elf/tst-tlsmod16b.c: Likewise.
54025         * elf/tst-tlsmod2.c: Likewise.
54026         * elf/tst-tlsmod3.c: Likewise.
54027         * elf/tst-tlsmod4.c: Likewise.
54028         * elf/tst-tlsmod5.c: Likewise.
54029         * elf/tst-tlsmod6.c: Likewise.
54031 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54033         [BZ #12486]
54034         * malloc/malloc.c: remove checks for statistics.
54036 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54038         [BZ #15277]
54039         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54040         * inet/tst-network.c: Add testcase.
54042 2013-10-17  Andreas Schwab  <schwab@suse.de>
54044         [BZ #15218]
54045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54046         to determine canonical name.
54048 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54050         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54051         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54052         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54053         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54055         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54056         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54057         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54058         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54059         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54060         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54061         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54062         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54063         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54064         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54065         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54066         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54067         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54068         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54069         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54073         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54074         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54075         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54076         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54077         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54078         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54079         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54080         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54081         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54082         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54083         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54084         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54085         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54086         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54087         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54088         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54089         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54090         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54091         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54092         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54093         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54094         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54095         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54096         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54097         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54098         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54099         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54100         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54101         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54102         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54103         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54104         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54105         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54107         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54109 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54111         [BZ #16041]
54112         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54113         make result into a quiet NaN.
54115 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54117         * soft-fp/adddf3.c: Fix horizontal whitespace.
54118         * soft-fp/addsf3.c: Likewise.
54119         * soft-fp/addtf3.c: Likewise.
54120         * soft-fp/divdf3.c: Likewise.
54121         * soft-fp/divsf3.c: Likewise.
54122         * soft-fp/divtf3.c: Likewise.
54123         * soft-fp/double.h: Likewise.
54124         * soft-fp/eqdf2.c: Likewise.
54125         * soft-fp/eqsf2.c: Likewise.
54126         * soft-fp/eqtf2.c: Likewise.
54127         * soft-fp/extenddftf2.c: Likewise.
54128         * soft-fp/extended.h: Likewise.
54129         * soft-fp/extendsfdf2.c: Likewise.
54130         * soft-fp/extendsftf2.c: Likewise.
54131         * soft-fp/extendxftf2.c: Likewise.
54132         * soft-fp/fixdfdi.c: Likewise.
54133         * soft-fp/fixdfsi.c: Likewise.
54134         * soft-fp/fixdfti.c: Likewise.
54135         * soft-fp/fixsfdi.c: Likewise.
54136         * soft-fp/fixsfsi.c: Likewise.
54137         * soft-fp/fixsfti.c: Likewise.
54138         * soft-fp/fixtfdi.c: Likewise.
54139         * soft-fp/fixtfsi.c: Likewise.
54140         * soft-fp/fixtfti.c: Likewise.
54141         * soft-fp/fixunsdfdi.c: Likewise.
54142         * soft-fp/fixunsdfsi.c: Likewise.
54143         * soft-fp/fixunsdfti.c: Likewise.
54144         * soft-fp/fixunssfdi.c: Likewise.
54145         * soft-fp/fixunssfsi.c: Likewise.
54146         * soft-fp/fixunssfti.c: Likewise.
54147         * soft-fp/fixunstfdi.c: Likewise.
54148         * soft-fp/fixunstfsi.c: Likewise.
54149         * soft-fp/fixunstfti.c: Likewise.
54150         * soft-fp/floatdidf.c: Likewise.
54151         * soft-fp/floatdisf.c: Likewise.
54152         * soft-fp/floatditf.c: Likewise.
54153         * soft-fp/floatsidf.c: Likewise.
54154         * soft-fp/floatsisf.c: Likewise.
54155         * soft-fp/floatsitf.c: Likewise.
54156         * soft-fp/floattidf.c: Likewise.
54157         * soft-fp/floattisf.c: Likewise.
54158         * soft-fp/floattitf.c: Likewise.
54159         * soft-fp/floatundidf.c: Likewise.
54160         * soft-fp/floatundisf.c: Likewise.
54161         * soft-fp/floatunditf.c: Likewise.
54162         * soft-fp/floatunsidf.c: Likewise.
54163         * soft-fp/floatunsisf.c: Likewise.
54164         * soft-fp/floatunsitf.c: Likewise.
54165         * soft-fp/floatuntidf.c: Likewise.
54166         * soft-fp/floatuntisf.c: Likewise.
54167         * soft-fp/floatuntitf.c: Likewise.
54168         * soft-fp/fmadf4.c: Likewise.
54169         * soft-fp/fmasf4.c: Likewise.
54170         * soft-fp/fmatf4.c: Likewise.
54171         * soft-fp/gedf2.c: Likewise.
54172         * soft-fp/gesf2.c: Likewise.
54173         * soft-fp/getf2.c: Likewise.
54174         * soft-fp/ledf2.c: Likewise.
54175         * soft-fp/lesf2.c: Likewise.
54176         * soft-fp/letf2.c: Likewise.
54177         * soft-fp/muldf3.c: Likewise.
54178         * soft-fp/mulsf3.c: Likewise.
54179         * soft-fp/multf3.c: Likewise.
54180         * soft-fp/negdf2.c: Likewise.
54181         * soft-fp/negsf2.c: Likewise.
54182         * soft-fp/negtf2.c: Likewise.
54183         * soft-fp/op-1.h: Likewise.
54184         * soft-fp/op-2.h: Likewise.
54185         * soft-fp/op-4.h: Likewise.
54186         * soft-fp/op-8.h: Likewise.
54187         * soft-fp/op-common.h: Likewise.
54188         * soft-fp/quad.h: Likewise.
54189         * soft-fp/single.h: Likewise.
54190         * soft-fp/soft-fp.h: Likewise.
54191         * soft-fp/sqrtdf2.c: Likewise.
54192         * soft-fp/sqrtsf2.c: Likewise.
54193         * soft-fp/sqrttf2.c: Likewise.
54194         * soft-fp/subdf3.c: Likewise.
54195         * soft-fp/subsf3.c: Likewise.
54196         * soft-fp/subtf3.c: Likewise.
54197         * soft-fp/truncdfsf2.c: Likewise.
54198         * soft-fp/trunctfdf2.c: Likewise.
54199         * soft-fp/trunctfsf2.c: Likewise.
54200         * soft-fp/trunctfxf2.c: Likewise.
54201         * soft-fp/unorddf2.c: Likewise.
54202         * soft-fp/unordsf2.c: Likewise.
54203         * soft-fp/unordtf2.c: Likewise.
54205 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54207         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54208         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54210 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54212         * elf/dl-libc.c: Clear initfini list after freeing.
54214 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54216         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54217         * soft-fp/addsf3.c: Likewise.
54218         * soft-fp/addtf3.c: Likewise.
54219         * soft-fp/divdf3.c: Likewise.
54220         * soft-fp/divsf3.c: Likewise.
54221         * soft-fp/divtf3.c: Likewise.
54222         * soft-fp/double.h: Likewise.
54223         * soft-fp/eqdf2.c: Likewise.
54224         * soft-fp/eqsf2.c: Likewise.
54225         * soft-fp/eqtf2.c: Likewise.
54226         * soft-fp/extenddftf2.c: Likewise.
54227         * soft-fp/extended.h: Likewise.
54228         * soft-fp/extendsfdf2.c: Likewise.
54229         * soft-fp/extendsftf2.c: Likewise.
54230         * soft-fp/extendxftf2.c: Likewise.
54231         * soft-fp/fixdfdi.c: Likewise.
54232         * soft-fp/fixdfsi.c: Likewise.
54233         * soft-fp/fixdfti.c: Likewise.
54234         * soft-fp/fixsfdi.c: Likewise.
54235         * soft-fp/fixsfsi.c: Likewise.
54236         * soft-fp/fixsfti.c: Likewise.
54237         * soft-fp/fixtfdi.c: Likewise.
54238         * soft-fp/fixtfsi.c: Likewise.
54239         * soft-fp/fixtfti.c: Likewise.
54240         * soft-fp/fixunsdfdi.c: Likewise.
54241         * soft-fp/fixunsdfsi.c: Likewise.
54242         * soft-fp/fixunsdfti.c: Likewise.
54243         * soft-fp/fixunssfdi.c: Likewise.
54244         * soft-fp/fixunssfsi.c: Likewise.
54245         * soft-fp/fixunssfti.c: Likewise.
54246         * soft-fp/fixunstfdi.c: Likewise.
54247         * soft-fp/fixunstfsi.c: Likewise.
54248         * soft-fp/fixunstfti.c: Likewise.
54249         * soft-fp/floatdidf.c: Likewise.
54250         * soft-fp/floatdisf.c: Likewise.
54251         * soft-fp/floatditf.c: Likewise.
54252         * soft-fp/floatsidf.c: Likewise.
54253         * soft-fp/floatsisf.c: Likewise.
54254         * soft-fp/floatsitf.c: Likewise.
54255         * soft-fp/floattidf.c: Likewise.
54256         * soft-fp/floattisf.c: Likewise.
54257         * soft-fp/floattitf.c: Likewise.
54258         * soft-fp/floatundidf.c: Likewise.
54259         * soft-fp/floatundisf.c: Likewise.
54260         * soft-fp/floatunsidf.c: Likewise.
54261         * soft-fp/floatunsisf.c: Likewise.
54262         * soft-fp/floatuntidf.c: Likewise.
54263         * soft-fp/floatuntisf.c: Likewise.
54264         * soft-fp/floatuntitf.c: Likewise.
54265         * soft-fp/fmadf4.c: Likewise.
54266         * soft-fp/fmasf4.c: Likewise.
54267         * soft-fp/fmatf4.c: Likewise.
54268         * soft-fp/gedf2.c: Likewise.
54269         * soft-fp/gesf2.c: Likewise.
54270         * soft-fp/getf2.c: Likewise.
54271         * soft-fp/ledf2.c: Likewise.
54272         * soft-fp/lesf2.c: Likewise.
54273         * soft-fp/letf2.c: Likewise.
54274         * soft-fp/muldf3.c: Likewise.
54275         * soft-fp/mulsf3.c: Likewise.
54276         * soft-fp/multf3.c: Likewise.
54277         * soft-fp/negdf2.c: Likewise.
54278         * soft-fp/negsf2.c: Likewise.
54279         * soft-fp/negtf2.c: Likewise.
54280         * soft-fp/op-1.h: Likewise.
54281         * soft-fp/op-2.h: Likewise.
54282         * soft-fp/op-4.h: Likewise.
54283         * soft-fp/op-8.h: Likewise.
54284         * soft-fp/op-common.h: Likewise.
54285         * soft-fp/quad.h: Likewise.
54286         * soft-fp/single.h: Likewise.
54287         * soft-fp/soft-fp.h: Likewise.
54288         * soft-fp/sqrtdf2.c: Likewise.
54289         * soft-fp/sqrtsf2.c: Likewise.
54290         * soft-fp/sqrttf2.c: Likewise.
54291         * soft-fp/subdf3.c: Likewise.
54292         * soft-fp/subsf3.c: Likewise.
54293         * soft-fp/subtf3.c: Likewise.
54294         * soft-fp/truncdfsf2.c: Likewise.
54295         * soft-fp/trunctfdf2.c: Likewise.
54296         * soft-fp/trunctfsf2.c: Likewise.
54297         * soft-fp/trunctfxf2.c: Likewise.
54298         * soft-fp/unorddf2.c: Likewise.
54299         * soft-fp/unordsf2.c: Likewise.
54300         * soft-fp/unordtf2.c: Likewise.
54302 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54304         [BZ #15672]
54305         * misc/error.c (error_tail): Fix possible buffer overflow.
54307 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54309         [BZ #13028]
54310         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54311         address.
54313 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54315         [BZ #832]
54316         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54317         testing pipefail option.
54319 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54321         * soft-fp/double.h: Indent preprocessor directives inside #if.
54322         * soft-fp/extended.h: Likewise.
54323         * soft-fp/op-2.h: Likewise.
54324         * soft-fp/op-4.h: Likewise.
54325         * soft-fp/op-common.h: Likewise.
54326         * soft-fp/quad.h: Likewise.
54327         * soft-fp/single.h: Likewise.
54328         * soft-fp/soft-fp.h: Likewise.
54330 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54332         * iconv/iconv_prog.c: Fix typos.
54333         * stdio-common/psiginfo-data.h: Likewise.
54335 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54337         [BZ #15764]
54338         * locale/setlocale.c: Fix typo.
54340 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54342         [BZ #16036]
54343         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54344         signaling NaN arguments.
54345         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54346         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54348         [BZ #14910]
54349         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54350         unordered operands.
54351         * soft-fp/gesf2.c (__gesf2): Likewise.
54352         * soft-fp/getf2.c (__getf2): Likewise.
54353         * soft-fp/ledf2.c (__ledf2): Likewise.
54354         * soft-fp/lesf2.c (__lesf2): Likewise.
54355         * soft-fp/letf2.c (__letf2): Likewise.
54357         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54358         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54359         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54360         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54361         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54362         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54363         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54364         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54365         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54366         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54367         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54368         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54369         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54370         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54371         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54372         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54373         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54374         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54375         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54376         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54377         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54378         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54379         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54380         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54381         * soft-fp/floattidf.c (__floattidf): Likewise.
54382         * soft-fp/floattisf.c (__floattisf): Likewise.
54383         * soft-fp/floattitf.c (__floattitf): Likewise.
54384         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54385         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54386         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54387         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54388         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54389         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54390         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54391         * soft-fp/gesf2.c (__gesf2): Likewise.
54392         * soft-fp/getf2.c (__getf2): Likewise.
54393         * soft-fp/ledf2.c (__ledf2): Likewise.
54394         * soft-fp/lesf2.c (__lesf2): Likewise.
54395         * soft-fp/letf2.c (__letf2): Likewise.
54397         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54398         Undefine and redefine.
54399         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54400         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54401         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54402         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54403         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54404         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54405         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54406         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54407         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54408         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54409         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54410         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54411         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54412         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54413         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54415         [BZ #16032]
54416         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54417         without decrementing exponent if mantissa >= that for the
54418         denominator, not >.
54419         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54420         denominator, not >.  Decrement exponent in < case instead of
54421         incrementing in >= case.
54422         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54423         without decrementing exponent if mantissa >= that for the
54424         denominator, not >.
54426         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54427         computing saturated result for unsigned overflow.
54429 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54430             Jeff Law  <law@redhat.com>
54432         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54433         (atan2Mp): Add systemtap probe marker.
54434         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54435         (__ieee754_log): Add systemtap probe marker.
54436         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54437         (atanMp): Add systemtap probe marker.
54438         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54439         (tanMp): Add systemtap probe marker.
54440         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54441         (__slowexp): Add systemtap probe marker.
54442         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54443         (__slowpow): Add systemtap probe marker.
54444         * manual/probes.texi: Document probes.
54446 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54448         [BZ #15362]
54449         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54450         written.
54451         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54452         written.
54453         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54454         written to buffer but not flushed.
54455         * libio/iofwrite_u.c:  Likewise.
54456         * libio/iopadn.c:  Return bytes returned even if EOF was
54457         encountered.
54458         * libio/iowpadn.c:  Likewise.
54459         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54460         if _IO_padn does not write the whole buffer.
54461         [!COMPILE_WPRINTF] (PAD): Likewise.
54463 2013-10-10  David S. Miller  <davem@davemloft.net>
54465         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54466         directory block.
54468 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54470         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54471         instead of FSF address.
54472         * soft-fp/fixdfti.c: Likewise.
54473         * soft-fp/fixsfti.c: Likewise.
54474         * soft-fp/fixtfti.c: Likewise.
54475         * soft-fp/fixunsdfti.c: Likewise.
54476         * soft-fp/fixunssfti.c: Likewise.
54477         * soft-fp/fixunstfti.c: Likewise.
54478         * soft-fp/floattidf.c: Likewise.
54479         * soft-fp/floattisf.c: Likewise.
54480         * soft-fp/floattitf.c: Likewise.
54481         * soft-fp/floatuntidf.c: Likewise.
54482         * soft-fp/floatuntisf.c: Likewise.
54483         * soft-fp/floatuntitf.c: Likewise.
54484         * soft-fp/trunctfxf2.c: Likewise.
54486         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
54487         * soft-fp/fixdfti.c: Likewise.
54488         * soft-fp/fixsfti.c: Likewise.
54489         * soft-fp/fixtfti.c: Likewise.
54490         * soft-fp/fixunsdfti.c: Likewise.
54491         * soft-fp/fixunssfti.c: Likewise.
54492         * soft-fp/fixunstfti.c: Likewise.
54493         * soft-fp/floattidf.c: Likewise.
54494         * soft-fp/floattisf.c: Likewise.
54495         * soft-fp/floattitf.c: Likewise.
54496         * soft-fp/floatuntidf.c: Likewise.
54497         * soft-fp/floatuntisf.c: Likewise.
54498         * soft-fp/floatuntitf.c: Likewise.
54499         * soft-fp/trunctfxf2.c: Likewise.
54501 2013-10-10  David S. Miller  <davem@davemloft.net>
54503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54505 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
54507         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54508         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
54509         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
54510         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
54511         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
54512         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
54513         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
54515         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
54516         for NaNs before doing comparisons on argument.
54517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
54518         Likewise.
54520 2013-10-10  Will Newton  <will.newton@linaro.org>
54522         * malloc/hooks.c (memalign_check): Ensure the value of bytes
54523         passed to _int_memalign does not overflow.
54525 2013-10-10  Torvald Riegel  <triegel@redhat.com>
54527         * scripts/bench.pl: Add include-sources directive.
54528         * benchtests/README: Update documentation.
54530 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54532         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
54533         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
54534         instead of FP_INIT_ROUNDMODE.
54535         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
54536         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
54538         [BZ #16034]
54539         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
54540         copy class of input value.
54541         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
54542         not handle exceptions.
54543         * soft-fp/negsf2.c (__negsf2): Likewise.
54544         * soft-fp/negtf2.c (__negtf2): Likewise.
54545         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
54547 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
54549         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
54550         semicolon.  From Linux kernel.
54552 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
54554         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
54556 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
54558         [BZ #156]
54559         * manual/socket.texi: Added statement about buffer
54560         for gethostbyname2_r.
54562 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
54564         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
54565         Use .p2align directive instead, throughout.
54566         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54567         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
54568         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
54569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54571         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
54572         * sysdeps/x86_64/strchr.S: Likewise.
54573         * sysdeps/x86_64/strrchr.S: Likewise.
54575 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54577         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
54579         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
54581         * sysdeps/generic/math_private.h (__mpsin1): Remove
54582         declaration.
54583         (__mpcos1): Likewise.
54584         (__mpsin): New argument __range_reduce.
54585         (__mpcos): Likewise.
54586         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54587         (slow): Use __mpsin and __mpcos.
54588         (slow1): Likewise.
54589         (slow2): Likewise.
54590         (sloww): Likewise.
54591         (sloww1): Likewise.
54592         (sloww2): Likewise.
54593         (bsloww): Likewise.
54594         (bsloww1): Likewise.
54595         (bsloww2): Likewise.
54596         (cslow2): Likewise.
54597         (csloww): Likewise.
54598         (csloww1): Likewise.
54599         (csloww2): Likewise.
54600         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
54601         range_reduce.  Merge in __mpsin1.
54602         (__mpcos): Likewise.
54603         (__mpsin1): Remove.
54604         (__mpcos1): Likewise.
54606 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
54608         * locale/loadlocale.c (_nl_intern_locale_data): Use
54609         LOCFILE_ALIGNED_P.
54610         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
54611         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
54612         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
54613         obstack data is appropriately aligned.
54614         (obstack_int32_grow_fast): Likewise.
54615         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
54616         * locale/programs/locfile.c (add_locale_uint32): Likewise.
54617         (add_locale_uint32_array): Likewise.
54619 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54621         * benchtests/Makefile: Remove ARGLIST and RET variables.
54622         ($(objpfx)bench-%.c): Pass only function name to the script.
54623         * benchtests/README: Update documentation.
54624         * benchtests/acos-inputs: Add new directives.
54625         * benchtests/acosh-inputs: Likewise.
54626         * benchtests/asin-inputs: Likewise.
54627         * benchtests/asinh-inputs: Likewise.
54628         * benchtests/atan-inputs: Likewise.
54629         * benchtests/atanh-inputs: Likewise.
54630         * benchtests/cos-inputs: Likewise.
54631         * benchtests/cosh-inputs: Likewise.
54632         * benchtests/exp-inputs: Likewise.
54633         * benchtests/log-inputs: Likewise.
54634         * benchtests/pow-inputs: Likewise.
54635         * benchtests/rint-inputs: Likewise.
54636         * benchtests/sin-inputs: Likewise.
54637         * benchtests/sinh-inputs: Likewise.
54638         * benchtests/tan-inputs: Likewise.
54639         * benchtests/tanh-inputs: Likewise.
54640         * scripts/bench.pl: Add support for new directives.
54642 2013-10-07  Alan Modra  <amodra@gmail.com>
54644         * README: Fix careless merge.
54646 2013-10-05  Alan Modra  <amodra@gmail.com>
54648         * NEWS: Mention powerpc64le support and bugs fixed.
54649         * README: Both big-endian and little-endian powerpc64 supported.
54651 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54653         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
54654         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
54655         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
54656         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
54658 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
54660         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
54661         match prototype.
54663 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
54665         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
54666         Move -mhard-float appending from
54667         ports/sysdeps/powerpc/powerpc32/Makefile.
54668         [$(with-fp) = yes] (ASFLAGS): Likewise.
54669         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
54670         * sysdeps/powerpc/nofpu: Move directory from
54671         ports/sysdeps/powerpc/nofpu.
54672         * sysdeps/powerpc/soft-fp: Move directory from
54673         ports/sysdeps/powerpc/soft-fp.
54674         * sysdeps/powerpc/powerpc32/405: Move directory from
54675         ports/sysdeps/powerpc/powerpc32/405.
54676         * sysdeps/powerpc/powerpc32/440: Move directory from
54677         ports/sysdeps/powerpc/powerpc32/440.
54678         * sysdeps/powerpc/powerpc32/464: Move directory from
54679         ports/sysdeps/powerpc/powerpc32/464.
54680         * sysdeps/powerpc/powerpc32/476: Move directory from
54681         ports/sysdeps/powerpc/powerpc32/476.
54682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
54683         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
54684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
54685         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
54686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
54687         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
54688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
54689         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
54690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
54691         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
54692         * README: Update for powerpc-*-linux-gnu software floating point
54693         support in libc.
54695         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
54696         case to powerpc/powerpc32*.
54697         * sysdeps/unix/sysv/linux/configure: Regenerated.
54699         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
54700         (_FPU_MASK_OM): Define as 0x04.
54701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
54702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
54703         0x00c10080.
54704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
54705         0x0000003c.
54706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
54708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
54709         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54710         getcontext_e500.
54711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
54712         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54713         setcontext_e500.
54714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
54715         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
54716         and setcontext_e500.
54718 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
54720         * locale/iso-3166.def: Update iso-1366.def and related occurrences
54722 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54724         * manual/threads.texi (Default Thread Attributes): Fix typo.
54726 2013-10-04  Will Newton  <will.newton@linaro.org>
54728         * malloc/Makefile: Add tst-memalign.
54729         * malloc/tst-memalign.c: New file.
54731         * malloc/tst-posix_memalign.c: Add comments.
54732         (do_test): Add comments and call free on all potentially
54733         allocated pointers. Add space after cast.
54735         * malloc/tst-pvalloc.c: Add comments.
54736         (do_test): Add comments and call free on all potentially
54737         allocated pointers. Remove duplicate check for NULL pointer.
54738         Add space after cast.
54740         * malloc/tst-valloc.c: Add comments.
54741         (do_test): Add comments and call free on all potentially
54742         allocated pointers. Remove duplicate check for NULL pointer.
54743         Add space after cast.
54745 2013-10-04  Alan Modra  <amodra@gmail.com>
54747         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54748         Use stdint types in rather than __attribute__((mode())).
54749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54751 2013-10-04  Alan Modra  <amodra@gmail.com>
54753         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54754         Correct handling of unaligned relocs for little-endian.
54755         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54757 2013-10-04  Alan Modra  <amodra@gmail.com>
54759         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
54760         * configure: Regenerate.
54761         * nptl/shlib-versions: Powerpc*le starts at 2.18.
54762         * shlib-versions: Likewise.
54764 2013-10-04  Alan Modra  <amodra@gmail.com>
54766         * string/tester.c (test_memrchr): Increment reported test cycle.
54768 2013-10-04  Alan Modra  <amodra@gmail.com>
54770         * string/test-memcpy.c (do_one_test): When reporting errors, print
54771         string address and don't overrun end of string.
54773 2013-10-04  Alan Modra  <amodra@gmail.com>
54775         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54776         insrdi.  Make better use of reg selection to speed exit slightly.
54777         Schedule entry path a little better.  Remove useless "are we done"
54778         checks on entry to main loop.  Handle wrapping around zero address.
54779         Correct main loop count.  Handle single left-over word from main
54780         loop inline rather than by using loop_small.  Remove extra word
54781         case in loop_small caused by wrong loop count.  Add little-endian
54782         support.
54783         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54784         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54785         cache hint.
54786         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54787         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54788         support.  Avoid rlwimi.
54789         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54791 2013-10-04  Alan Modra  <amodra@gmail.com>
54793         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54794         insrdi.  Formatting.
54795         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54796         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54797         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54798         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54799         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54800         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54802 2013-10-04  Alan Modra  <amodra@gmail.com>
54804         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54805         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54806         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
54807         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
54808         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54809         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54810         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54811         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54812         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
54813         use of regs.  Use power7 mtocrf.  Tidy function tails.
54815 2013-10-04  Alan Modra  <amodra@gmail.com>
54817         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
54818         Formatting.  Consistently use rXXX register defines or rN defines.
54819         Use early exit labels that avoid restoring unused non-volatile regs.
54820         Make cr field use more consistent with rWORDn compares.  Rename
54821         regs used as shift registers for unaligned loop, using rN defines
54822         for short lifetime/multiple use regs.
54823         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54824         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
54825         addi 1,1,64 to pop stack frame.  Simplify return value code.
54826         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54828 2013-10-04  Alan Modra  <amodra@gmail.com>
54830         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
54831         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
54832         rather than rlwimi.
54833         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
54834         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
54835         little-endian support.  Correct typos.
54836         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
54837         rather than rlwimi.
54838         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
54839         in loop and entry code to keep "and." results.
54840         (strchr): Add little-endian support.  Comment.  Move cntlzd
54841         earlier in tail.
54842         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
54844 2013-10-04  Alan Modra  <amodra@gmail.com>
54846         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
54847         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
54848         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
54849         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
54851 2013-10-04  Alan Modra  <amodra@gmail.com>
54853         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
54854         (rTMP): Define as r11.
54855         (strcmp): Add little-endian support.  Optimise tail.
54856         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
54857         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54858         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54859         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54860         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54861         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54862         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54864 2013-10-04  Alan Modra  <amodra@gmail.com>
54866         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
54867         little-endian support.  Remove unnecessary "are we done" tests.
54868         Handle "s" wrapping around zero and extremely large "size".
54869         Correct main loop count.  Handle single left-over word from main
54870         loop inline rather than by using small_loop.  Correct comments.
54871         Delete "zero" tail, use "end_max" instead.
54872         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
54874 2013-10-04  Alan Modra  <amodra@gmail.com>
54876         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
54877         support.  Don't branch over align.
54878         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
54879         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
54880         support.  Rearrange tmp reg use to suit.  Comment.
54881         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
54883 2013-10-04  Alan Modra  <amodra@gmail.com>
54885         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
54887 2013-10-04  Alan Modra  <amodra@gmail.com>
54889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
54890         conditional form of branch and link when obtaining pc.
54891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
54893 2013-10-04  Alan Modra  <amodra@gmail.com>
54895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
54896         HIWORD/LOWORD.
54897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
54898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
54900 2013-10-04  Alan Modra  <amodra@gmail.com>
54902         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
54903         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
54904         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
54905         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
54906         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54907         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54908         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
54909         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54910         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
54911         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
54913 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54914             Alistair Popple <alistair@ozlabs.au.ibm.com>
54915             Alan Modra <amodra@gmail.com>
54917         [BZ #15723]
54918         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
54919         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
54920         _dl_hwcap access for little-endian.
54921         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
54922         destroy vmx regs when saving unaligned.
54923         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
54924         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
54925         destroy vmx regs when saving unaligned.
54927 2013-10-04  Alan Modra  <amodra@gmail.com>
54929         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
54930         Don't use a union to pack hi/low value.
54932 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54934         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
54935         for little-endian.
54936         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54937         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54938         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54939         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54940         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54942 2013-10-04  Alan Modra  <amodra@gmail.com>
54944         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
54945         constants to usual value for .cst8 section, and remove redundant
54946         high address load.
54947         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
54948         constant for 0x1p52.  Load little-endian words of double from
54949         correct stack offsets.
54951 2013-10-04  Alan Modra  <amodra@gmail.com>
54953         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
54954         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
54955         words of double from correct stack offsets.
54956         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
54957         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
54958         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54959         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54961         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54962         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54963         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
54964         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
54965         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54966         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54967         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54968         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54969         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54970         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54971         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
54972         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54974 2013-10-04  Alan Modra  <amodra@gmail.com>
54976         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
54977         64-bit int/double union.
54978         (_FPU_SETCW): Likewise.
54979         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54980         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
54982 2013-10-04  Alan Modra  <amodra@gmail.com>
54984         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
54985         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
54987 2013-10-04  Alan Modra  <amodra@gmail.com>
54989         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
54990         use vector int constants.
54991         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
54993 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54995         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
54996         array with long long.
54997         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
54998         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
54999         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55000         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55001         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55002         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55003         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55004         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55005         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55006         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55007         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55008         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55009         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55011 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55013         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55014         (__signbit): Likewise.  Correct for little-endian.
55015         (__signbitl): Call __signbit.
55016         (lrint): Correct for little-endian.
55017         (lrintf): Call lrint.
55019 2013-10-04  Alan Modra  <amodra@gmail.com>
55021         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55022         union 32-bit int array member with 64-bit int array.
55023         (t515, tm256): Double rather than long double.
55024         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55026 2013-10-04  Alan Modra  <amodra@gmail.com>
55028         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55029         Delete.
55030         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55031         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55032         version of math_ldbl.h.
55034 2013-10-04  Alan Modra  <amodra@gmail.com>
55036         [BZ #15734], [BZ #15735]
55037         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55038         all uses of ieee875 long double macros and unions.  Simplify test
55039         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55040         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55041         normalize after ldbl_extract_mantissa, and don't add hidden bit
55042         already handled.  Don't treat low word of ieee854 mantissa like
55043         low word of IBM long double and mask off bit when testing for
55044         zero.
55045         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55046         all uses of ieee875 long double macros and unions.  Simplify tests
55047         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55048         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55049         two1022, instead use their values.  Recognise that tests for large
55050         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55051         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55052         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55053         test for 0.0L and nan.  Correct negation.
55054         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55055         ieee875 long double macros and unions.  Correct output for large
55056         magnitude x.  Correct absolute value calculation.
55057         (__erfcl): Likewise.
55058         * math/libm-test.inc: Add tests for errors discovered in IBM long
55059         double versions of fmodl, remainderl, erfl and erfcl.
55061 2013-10-04  Alan Modra  <amodra@gmail.com>
55063         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55064         all uses of ieee854 long double macros and unions.  Simplify tests
55065         for long doubles that are fully specified by the high double.
55066         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55067         Likewise.
55068         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55069         Remove dead code too.
55070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55071         (__ieee754_ynl): Likewise.
55072         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55073         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55074         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55075         Remove dead code too.
55076         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55077         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55078         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55079         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55080         Simplify.
55081         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55082         Simplify.
55083         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55084         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55085         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55086         Comment on variable precision.
55087         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55089         Likewise.
55090         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55091         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55092         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55093         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55094         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55096 2013-10-04  Alan Modra  <amodra@gmail.com>
55098         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55099         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55100         all uses of ieee854 long double macros and unions.
55101         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55102         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55104         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55105         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55106         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55107         Likewise.
55108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55109         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55110         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55111         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55113         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55114         Simplify sign and nan test too.
55115         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55116         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55117         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55118         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55119         Likewise.
55120         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55121         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55122         Likewise.
55123         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55124         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55125         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55126         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55127         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55128         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55130 2013-10-04  Alan Modra  <amodra@gmail.com>
55132         * stdio-common/printf_size.c (__printf_size): Don't use
55133         union ieee854_long_double in fpnum union.
55134         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55135         signbit macro to retrieve sign from long double.
55136         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55137         retrieve sign from long double.
55138         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55139         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55140         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55141         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55142         * math/test-misc.c (main): Don't use union ieee854_long_double.
55144 2013-10-04  Alan Modra  <amodra@gmail.com>
55146         [BZ #15680]
55147         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55148         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55149         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55150         calculation.  Remove unnecessary test for denormal exponent.
55151         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55152         Correct handling of denormals.  Avoid undefined shift behaviour.
55153         Correct normalisation of low mantissa when low double is denormal.
55154         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55155         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55156         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55157         Correct normalisation of low mantissa.  Test for overflow of high
55158         mantissa and normalise.
55159         (ldbl_nearbyint): Use more readable constant for two52.
55160         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55161         (__mpn_construct_long_double): Fix test for overflow of high
55162         mantissa and correct normalisation.  Avoid undefined shift.
55164 2013-10-04  Alan Modra  <amodra@gmail.com>
55166         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55167         (union ibm_extended_long_double): Define as an array of ieee754_double.
55168         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55169         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55170         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55171         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55172         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55173         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55175         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55176         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55177         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55178         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55180 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55182         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55183         page size instead of calling getpagesize.
55185         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55186         (LOCFILE_ALIGN_MASK): Likewise.
55187         (LOCFILE_ALIGN_UP): Likewise.
55188         (LOCFILE_ALIGNED_P): Likewise.
55189         * locale/programs/ld-collate.c (collate_output): Use the new
55190         macros instead of __alignof__ (int32_t).
55191         * locale/weight.h (findidx): Likewise.
55193 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55195         [BZ #431]
55196         * manual/string.texi: Fix strncat and wcsncat.
55198 2013-10-03  Brooks Moses  <bmoses@google.com>
55200         [BZ #15915]
55201         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55202         * Makerules: ...here, and adjust associated comments.
55204 2013-10-02  Will Newton  <will.newton@linaro.org>
55206         * malloc/Makefile: Add tst-pvalloc.
55207         * malloc/tst-pvalloc.c: New file.
55209 2013-10-02  Will Newton  <will.newton@linaro.org>
55211         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55212         improve test coverage.
55214 2013-10-02  Will Newton  <will.newton@linaro.org>
55216         * malloc/Makefile: Add tst-posix_memalign.
55217         * malloc/tst-posix_memalign.c: New file.
55219 2013-10-01  Eric Blake  <eblake@redhat.com>
55221         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55222         Use __THROWNL rather than __THROW on static functions.
55224 2013-09-30  Petr Machata  <pmachata@redhat.com>
55226         * elf/elf.h (R_AARCH64_ABS16): New macro.
55227         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55228         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55229         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55230         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55231         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55232         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55233         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55234         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55235         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55236         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55237         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55238         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55239         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55240         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55241         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55242         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55243         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55244         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55245         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55246         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55247         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55248         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55249         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55250         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55251         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55252         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55253         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55254         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55255         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55256         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55257         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55258         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55259         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55260         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55261         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55262         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55263         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55264         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55265         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55266         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55267         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55268         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55269         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55270         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55271         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55272         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55273         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55274         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55275         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55276         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55277         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55278         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55279         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55280         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55281         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55282         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55283         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55284         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55285         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55286         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55287         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55288         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55289         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55290         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55291         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55292         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55293         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55294         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55295         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55296         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55297         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55298         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55299         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55300         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55301         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55302         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55303         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55304         (R_AARCH64_TLSDESC_LDR): Likewise.
55305         (R_AARCH64_TLSDESC_ADD): Likewise.
55306         (R_AARCH64_TLSDESC_CALL): Likewise.
55308 2013-09-30  Andreas Schwab  <schwab@suse.de>
55310         [BZ #15048]
55311         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55312         the nss database lookup.
55313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55316 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55318         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55320 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55322         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55323         ${Bash-specific parameter/pattern/string} parameter expansion.
55324         * sysdeps/unix/make-syscalls.sh: Likewise.
55326 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55328         * sysdeps/sh/stackguard-macros.h: New file.
55330 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55333         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55334         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55335         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55336         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55337         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55339 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55341         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55342         Fix thread ID register.
55344 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55346         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55347         [POSIX || UNIX98]: Require rather than permitting all symbols from
55348         <time.h>.
55349         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55350         element of struct sched_param.
55351         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55352         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55353         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55354         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55355         constant.
55357 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55359         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55360         argument calculation.
55362 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55364         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55365         Expect macro.
55366         [POSIX] (pthread_attr_t): Do not require type.
55367         [POSIX] (pthread_cond_t): Likewise.
55368         [POSIX] (pthread_condattr_t): Likewise.
55369         [POSIX] (pthread_key_t): Likewise.
55370         [POSIX] (pthread_mutex_t): Likewise.
55371         [POSIX] (pthread_mutexattr_t): Likewise.
55372         [POSIX] (pthread_once_t): Likewise.
55373         [POSIX] (pthread_t): Likewise.
55374         [POSIX-based standards] (pthread_atfork): Expect function.
55376 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55377             Richard Sandiford  <richard@codesourcery.com>
55379         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55380         (swap_endianness_p): New extern variable.
55381         (set_big_endian): New inline function.
55382         (maybe_swap_uint32): Likewise.
55383         (maybe_swap_uint32_array): Likewise.
55384         (maybe_swap_uint32_obstack): Likewise.
55385         * locale/programs/locfile.c: Include <stdbool.h>.
55386         (swap_endianness_p): New variable.
55387         (add_locale_uint32): Call maybe_swap_uint32.
55388         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55389         (write_locale_data): Call maybe_swap_uint32_array.
55390         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55391         maybe_swap_uint32.
55392         (obstack_int32_grow_fast): Likewise.
55393         (output_weightwc): Call maybe_swap_uint32_obstack.
55394         (collate_output): Likewise.
55395         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55396         (OPT_LITTLE_ENDIAN): Likewise.
55397         (options): Add --little-endian and --big-endian options.
55398         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55399         * locale/programs/locarchive.c: Include "locfile.h".
55400         (GET): New macro.
55401         (SET): Likewise.
55402         (INC): Likewise.
55403         (create_archive): Use the new macros to access fields of
55404         structures directly mapped from or written to locale archives.
55405         (oldlocrecentcmp): Likewise.
55406         (enlarge_archive): Likewise.
55407         (insert_name): Likewise.
55408         (add_alias): Likewise.
55409         (add_locale): Likewise.
55410         (delete_locales_from_archive): Likewise.
55411         (show_archive_content): Likewise.
55412         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55413         locale data.
55415 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55417         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55418         http://www.gnu.org/doc/freemanuals.texi.
55419         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55421 2013-09-24  Will Newton  <will.newton@linaro.org>
55423         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55424         macro.
55426 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55428         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55429         unsigned char.
55431 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55433         * manual/threads.texi (POSIX Threads): Fix a typo.
55435 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55437         [BZ #14547]
55438         * string/tst-strcoll-overflow.c: New test case.
55439         * string/Makefile (xtests): Add tst-strcoll-overflow.
55440         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55441         cache if string sizes may cause integer overflow.
55443         [BZ #14547]
55444         * string/strcoll_l.c (coll_seq): New members rule, idx,
55445         save_idx and back_us.
55446         (get_next_seq_nocache): New function.
55447         (do_compare_nocache): New function.
55448         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55449         when malloc fails.
55451 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55453         [BZ #15754]
55454         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55455         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55456         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55458         [BZ #15754]
55459         * elf/Makefile (tests): Add tst-ptrguard1.
55460         (tests-static): Add tst-ptrguard1-static.
55461         (tst-ptrguard1-ARGS): Define.
55462         (tst-ptrguard1-static-ARGS): Define.
55463         * elf/tst-ptrguard1.c: New file.
55464         * elf/tst-ptrguard1-static.c: New file.
55465         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55466         * sysdeps/i386/stackguard-macros.h: Likewise.
55467         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55468         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55469         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55470         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55471         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55472         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55474 2013-09-23  Hector Marco  <hecmargi@upv.es>
55475             Ismael Ripoll  <iripoll@disca.upv.es>
55476             Carlos O'Donell  <carlos@redhat.com>
55478         [BZ #15754]
55479         * sysdeps/generic/stackguard-macros.h: Define
55480         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55481         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55482         Define __pointer_chk_guard_local.
55483         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
55484         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
55486 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
55488         [BZ #15859]
55489         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
55491 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
55493         * include/string.h (__ffs): Declare as hidden.
55494         * string/ffs.c (__ffs): Define as hidden.
55495         * sysdeps/i386/ffs.c (__ffs): Likewise.
55496         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
55497         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
55498         * sysdeps/s390/ffs.c (__ffs): Likewise.
55499         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
55501 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
55503         * NEWS: Mention malloc probes.
55505         * malloc/arena.c (new_heap): New memory_heap_new probe.
55506         (grow_heap): New memory_heap_more probe.
55507         (shrink_heap): New memory_heap_less probe.
55508         (heap_trim): New memory_heap_free probe.
55509         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
55510         (systrim): New memory_sbrk_less probe.
55511         * manual/probes.texi: Document them.
55513         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
55514         * manual/probes.texi: Document it.
55516         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
55517         (__libc_realloc): Add memory_realloc_retry probe.
55518         (__libc_memalign): Add memory_memalign_retry probe.
55519         (__libc_valloc): Add memory_valloc_retry probe.
55520         (__libc_pvalloc): Add memory_pvalloc_retry probe.
55521         (__libc_calloc): Add memory_calloc_retry probe.
55522         * manual/probes.texi: Document them.
55524         * malloc/arena.c (get_free_list): Add probe
55525         memory_arena_reuse_free_list.
55526         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
55527         and memory_arena_reuse.
55528         (arena_get2) [!PER_THREAD]: Likewise.
55529         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
55530         memory_arena_reuse_realloc.
55531         * manual/probes.texi: Document them.
55533         * malloc/malloc.c (__libc_free): Add
55534         memory_mallopt_free_dyn_thresholds probe.
55535         (__libc_mallopt): Add multiple memory_mallopt probes.
55536         * manual/probes.texi: Document them.
55538         * malloc/malloc.c: Include stap-probe.h.
55539         (__libc_mallopt): Add memory_mallopt probe.
55540         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
55541         * manual/probes.texi: New.
55542         * manual/Makefile (chapters): Add probes.
55543         * manual/threads.texi: Set next node.
55545 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
55547         [BZ #15963, #13985]
55548         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
55549         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
55550         Add `Chinese' to `nan' entry name.
55552 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55554         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
55555         (POLYNOMIAL): Likewise.
55556         (TAYLOR_SINCOS): Likewise.
55557         (TAYLOR_SLOW): Likewise.
55558         (__sin): Use TAYLOR_SINCOS.
55559         (__cos): Likewise.
55560         (slow): Use TAYLOR_SLOW.
55561         (sloww): Likewise.
55562         (bsloww): Likewise.
55563         (csloww): Likewise.
55565 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55567         * stdlib/strtod_l.c: Fix buffer overrun.
55569 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55571         * benchtests/Makefile (bench): Add sincos.
55572         * benchtests/bench-sincos.c: New file.
55574         * math/libm-test.inc (cos_test_data): New test inputs.
55575         (sin_test_data): Likewise.
55577         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
55578         macro.
55579         (__sin): Use it.
55580         (__cos): Likewise.
55581         (slow1): Likewise.
55582         (slow2): Likewise.
55583         (sloww1): Likewise.
55584         (sloww2): Likewise.
55585         (bsloww1): Likewise.
55586         (bsloww2): Likewise.
55587         (cslow2): Likewise.
55588         (csloww1): Likewise.
55589         (csloww2): Likewise.
55591         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
55592         function.
55593         (__sin): Use it.
55594         (__cos): Likewise.
55596         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
55597         gotos.
55598         (__cos): Likewise.
55600 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
55602         * config.h.in (HAVE_MIPS_NAN2008): New macro.
55603         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
55604         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
55605         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
55606         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
55607         * elf/cache.c (print_entry): Handle the new cache flags.
55609 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55610             Aldy Hernandez  <aldyh@redhat.com>
55612         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
55613         Change condition to [_SOFT_FLOAT].
55614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
55615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
55616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
55617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
55618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
55619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
55620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
55621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
55622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
55623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
55624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
55625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
55626         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
55627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
55628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
55629         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
55630         declaration.
55632 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55634         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
55635         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55636         (__longjmp): Use LOAD_GP to load saved GPRs.
55637         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
55638         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55639         (__sigsetjmp): Use SAVE_GP to save GPRs.
55641         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
55642         Do not append -msoft-float.
55643         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
55645 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55647         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
55649 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
55651         [BZ #15966]
55652         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
55653         (_FPU_GETCW): Use initial "__" on variable and field names but not
55654         on macro parameter name.
55655         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
55656         parentheses around reference to macro parameter.
55658 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
55660         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
55661         prototype.
55662         (ctype_startup): Use uint32_t in cast and sizeof for
55663         ctype->charnames.
55665 2013-09-11  Jia Liu  <proljc@gmail.com>
55667         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
55668         __daddr_t_defined.
55669         [__FreeBSD__]: Likewise.
55671 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
55673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
55674         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
55675         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
55676         (strchr): Remove __strchr_sse42 ifunc selection.
55677         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
55678         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
55680 2013-09-11  Will Newton  <will.newton@linaro.org>
55682         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
55683         parameter to RES. Remove hardcoded 1000 value.
55684         * benchtests/bench-skeleton.c (main): Pass RES parameter
55685         to TIMING_INIT and multiply result by 1000.
55687 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55691 2013-09-11  Andreas Schwab  <schwab@suse.de>
55693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
55694         if not defined.
55695         (O_TMPFILE) [__USE_GNU]: Define.
55696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
55697         Define.
55699 2013-09-11  Will Newton  <will.newton@linaro.org>
55701         [BZ #15857]
55702         * malloc/malloc.c (__libc_memalign): Check the value of bytes
55703         does not overflow.
55705 2013-09-11  Will Newton  <will.newton@linaro.org>
55707         [BZ #15856]
55708         * malloc/malloc.c (__libc_valloc): Check the value of bytes
55709         does not overflow.
55711 2013-09-11  Will Newton  <will.newton@linaro.org>
55713         [BZ #15855]
55714         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
55715         does not overflow.
55717 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
55719         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
55720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55721         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55722         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55723         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55725 2013-09-10  Allan McRae  <allan@archlinux.org>
55727         [BZ #15748]
55728         * manual/arith.texi (Parsing of Floats): Clarify
55729         cross-reference.
55731         [BZ #15849]
55732         * manual/install.texi (Running make install): Mention
55733         --enable-pt-chown.
55734         * INSTALL: Regenerated.
55736 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
55738         * csu/init-first.c (_init): Remove the !SHARED condition around
55739         FPU control word initialization.
55740         * elf/dl-support.c (_dl_fpu_control): New variable.
55741         (_dl_aux_init) <AT_FPUCW>: Initialize it.
55742         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
55743         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
55744         * math/test-fpucw-static.c: New file.
55745         * math/test-fpucw-ieee.c: New file.
55746         * math/test-fpucw-ieee-static.c: New file.
55747         * math/Makefile (tests): Add `test-fpucw-ieee' and
55748         `$(tests-static)'.
55749         (tests-static): New variable.
55750         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
55751         dependency to...
55752         [($(build-shared),yes)]
55753         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
55754         ... this.
55755         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
55756         New dependency.
55758 2013-09-09  Allan McRae  <allan@archlinux.org>
55760         [BZ #15939]
55761         * manual/string.texi (Collation Functions): Fix typo in
55762         strcoll example.
55763         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55765         [BZ #15893]
55766         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55768         [BZ #15892]
55769         * libio/memstream.c (open_memstream): Fix memory leak.
55770         * libio/wmemstream.c (open_wmemstream): Likewise.
55772         [BZ #15895]
55773         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55775 2013-09-09  Will Newton  <will.newton@linaro.org>
55777         * malloc/Makefile: Add tst-realloc to tests.
55778         * malloc/tst-realloc.c: New file.
55780 2013-09-09  Allan McRae  <allan@archlinux.org>
55782         [BZ #15844]
55783         * COPYING: Update from GNU website to fix FSF address.
55784         * COPYING.LIB: Likewise.
55786 2013-09-06  David S. Miller  <davem@davemloft.net>
55788         * po/zh_TW.po: Update Chinese (traditional) translation from
55789         translation project.
55791 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55792             Joseph Myers  <joseph@codesourcery.com>
55794         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55795         "localeinfo.h".
55796         (obstack_chunk_alloc): New macro.
55797         (obstack_chunk_free): Likewise.
55798         (record_offset): New function.
55799         (init_locale_data): Likewise.
55800         (align_locale_data): Likewise.
55801         (add_locale_empty): Likewise.
55802         (add_locale_raw_data): Likewise.
55803         (add_locale_raw_obstack): Likewise.
55804         (add_locale_string): Likewise.
55805         (add_locale_wstring): Likewise.
55806         (add_locale_uint32): Likewise.
55807         (add_locale_uint32_array): Likewise.
55808         (add_locale_char): Likewise.
55809         (start_locale_structure): Likewise.
55810         (end_locale_structure): Likewise.
55811         (start_locale_prelude): Likewise.
55812         (end_locale_prelude): Likewise.
55813         (write_locale_data): Take locale_file structure rather than an
55814         iovec.
55815         * locale/programs/locfile.h: Include "obstack.h".
55816         (struct locale_file): Change to store locale file contents instead
55817         of header.
55818         (init_locale_data): New prototype.
55819         (align_locale_data): Likewise.
55820         (add_locale_empty): Likewise.
55821         (add_locale_raw_data): Likewise.
55822         (add_locale_raw_obstack): Likewise.
55823         (add_locale_string): Likewise.
55824         (add_locale_wstring): Likewise.
55825         (add_locale_uint32): Likewise.
55826         (add_locale_uint32_array): Likewise.
55827         (add_locale_char): Likewise.
55828         (start_locale_structure): Likewise.
55829         (end_locale_structure): Likewise.
55830         (start_locale_prelude): Likewise.
55831         (end_locale_prelude): Likewise.
55832         (write_locale_data): Update prototype.
55833         * locale/programs/3level.h (struct TABLE): Remove result field.
55834         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
55835         Use new locale_file interface.
55836         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
55837         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
55838         * locale/programs/ld-address.c (address_output): Use new
55839         locale_file interface.
55840         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
55841         NO_ADD_LOCALE.
55842         (collate_finish): Don't call collseq_table_finalize.
55843         (collate_output): Use new locale_file interface.
55844         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
55845         in file.
55846         (NO_FINALIZE): Change to NO_ADD_LOCALE.
55847         (TABLE): Move defines earlier in file.
55848         (ELEMENT): Likewise.
55849         (DEFAULT): Likewise.
55850         (wctrans_table_add): Move macro and inline function earlier in
55851         file.
55852         (struct wctype_table): Move type earlier in file.
55853         (add_locale_wctype_table): New static prototype.
55854         (struct locale_ctype_t): Use logical types instead of struct iovec
55855         pointers for members.
55856         (ctype_output): Use new locale_file interface.
55857         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
55858         new locale_file interface.
55859         (allocate_arrays): Update for use of new locale_file interface.
55860         * locale/programs/ld-identification.c (identification_output): Use
55861         new locale_file interface.
55862         * locale/programs/ld-measurement.c (measurement_output): Likewise.
55863         * locale/programs/ld-messages.c (messages_output): Likewise.
55864         * locale/programs/ld-monetary.c (monetary_output): Likewise.
55865         * locale/programs/ld-name.c (name_output): Likewise.
55866         * locale/programs/ld-numeric.c (numeric_output): Likewise.
55867         * locale/programs/ld-paper.c (paper_output): Likewise.
55868         * locale/programs/ld-telephone.c (telephone_output): Likewise.
55869         * locale/programs/ld-time.c (time_output): Likewise.
55871 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55873         * benchtests/Makefile: Add memrchr benchmark.
55874         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
55875         benchmark as memrchr.
55876         * benchtests/bench-memrchr-ifunc.c: New file.
55877         * benchtests/bench-memrchr.c: New file.
55879 2013-09-06   Will Newton  <will.newton@linaro.org>
55881         * benchtests/Makefile (string-bench): Add memcpy.
55883 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
55884             Cong Wang  <amwang@redhat.com>
55886         [BZ #15850]
55887         * sysdeps/unix/sysv/linux/bits/in.h
55888         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
55889         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
55890         before __USE_KERNEL_IPV6_DEFS uses.
55891         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
55892         IPPROTO_BEETPH.
55893         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
55894         sockaddr_in6, or ipv6_mreq.
55896 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55898         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
55899         memory access for final bytes in some large inputs.
55900         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
55902 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55904         * string/test-memrchr.c: New file.
55905         * string/test-memrchr-ifunc.c: New file.
55906         * string/Makefile: Add new memrchr testcase.
55908 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
55910         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
55911         fanotify_init returns EPERM.
55913 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55915         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
55916         errors.
55917         (top level): Treat second token from macro or constant entries for
55918         allowed headers as allowed.
55919         * include/complex.h: Condition internal declarations on
55920         [!_ISOMAC].
55921         * include/fenv.h: Condition include of <stdbool.h> and internal
55922         declarations on [!_ISOMAC].
55924 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
55926         [BZ #15923]
55927         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
55929 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55931         * configure.in (--enable-versioning): Remove configure option.
55932         (libc_cv_asm_symver_directive): Remove configure test.
55933         (libc_cv_ld_version_script_option): Likewise.
55934         (VERSIONING): Remove variable and AC_SUBST.
55935         (DO_VERSIONING): Remove AC_DEFINE.
55936         * configure: Regenerated.
55937         * config.h.in (DO_VERSIONING): Remove macro.
55938         * Makerules [$(versioning) = yes]: Change conditionals to
55939         [$(build-shared) = yes].
55940         * config.make.in (versioning): Remove variable.
55941         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
55942         [$(build-shared) = yes].
55943         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
55944         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
55945         * elf/Makefile [$(versioning) = yes]: Change conditionals to
55946         [$(build-shared) = yes].
55947         * extra-lib.mk [$(versioning) = yes]: Likewise.
55948         * hurd/Makefile [$(versioning) = yes]: Likewise.
55949         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
55950         [SHARED].
55951         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
55952         [SHARED].
55953         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55954         [SHARED && !NO_HIDDEN].
55955         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
55956         [SHARED].
55957         [SHARED && DO_VERSIONING]: Likewise..
55958         * libio/Makefile [$(versioning) = yes]: Change conditionals to
55959         [$(build-shared) = yes].
55960         * manual/install.texi (--disable-versioning): Remove
55961         documentation.
55962         * INSTALL: Regenerated.
55963         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
55964         to [SHARED].
55965         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
55966         [$(build-shared) = yes].
55967         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
55968         * sysdeps/i386/i686/multiarch/strstr-c.c
55969         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55970         [SHARED && !NO_HIDDEN].
55971         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
55972         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
55973         * sysdeps/powerpc/powerpc32/dl-machine.c
55974         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
55975         * sysdeps/powerpc/powerpc32/sysdep.h
55976         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
55977         to [SHARED && PIC && !NO_HIDDEN].
55978         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
55979         conditional to [SHARED].
55981 2013-09-04   Will Newton  <will.newton@linaro.org>
55983         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
55984         * benchtests/bench-string.h: Include bench-timing.h instead
55985         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
55986         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
55987         call to HP_TIMING_DIFF_INIT.
55988         * benchtests/bench-memccpy.c: Use bench-timing.h macros
55989         instead of hp-timing.h macros.
55990         * benchtests/bench-memchr.c: Likewise.
55991         * benchtests/bench-memcmp.c: Likewise.
55992         * benchtests/bench-memcpy.c: Likewise.
55993         * benchtests/bench-memmem.c: Likewise.
55994         * benchtests/bench-memmove.c: Likewise.
55995         * benchtests/bench-memset.c: Likewise.
55996         * benchtests/bench-rawmemchr.c: Likewise.
55997         * benchtests/bench-strcasecmp.c: Likewise.
55998         * benchtests/bench-strcasestr.c: Likewise.
55999         * benchtests/bench-strcat.c: Likewise.
56000         * benchtests/bench-strchr.c: Likewise.
56001         * benchtests/bench-strcmp.c: Likewise.
56002         * benchtests/bench-strcpy.c: Likewise.
56003         * benchtests/bench-strcpy_chk.c: Likewise.
56004         * benchtests/bench-strlen.c: Likewise.
56005         * benchtests/bench-strncasecmp.c: Likewise.
56006         * benchtests/bench-strncat.c: Likewise.
56007         * benchtests/bench-strncmp.c: Likewise.
56008         * benchtests/bench-strncpy.c: Likewise.
56009         * benchtests/bench-strnlen.c: Likewise.
56010         * benchtests/bench-strpbrk.c: Likewise.
56011         * benchtests/bench-strrchr.c: Likewise.
56012         * benchtests/bench-strspn.c: Likewise.
56013         * benchtests/bench-strstr.c: Likewise.
56015 2013-09-04  Will Newton  <will.newton@linaro.org>
56017         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56019 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56021         [BZ #15427]
56022         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56023         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56024         * math/libm-test.inc (lgamma_test_data): Add more tests.
56025         * sysdeps/i386/fpu/libm-test-ulps: Update.
56026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56028 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56030         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56032         Add ifunc.
56033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56034         Add strcmp-sse2-unaligned
56035         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56037 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56039         * Versions.def (libc): Add GLIBC_2.19.
56041 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56043         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56044         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56046 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56048         [BZ #14155]
56049         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56050         intermediate calculations in recurrence.
56051         (__ieee754_ynf): Likewise.
56052         * math/libm-test.inc (jn_test_data): Do not allow spurious
56053         underflow exception.  Add more tests.
56054         (yn_test_data): Add more tests.
56055         * sysdeps/i386/fpu/libm-test-ulps: Update.
56056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56058 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56060         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56062 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56064         * csu/init-first.c: Fix then/than typos.
56065         * locale/programs/ld-collate.c: Likewise.
56066         * locale/programs/linereader.h: Likewise.
56067         * manual/charset.texi: Likewise.
56068         * manual/filesys.texi: Likewise.
56069         * manual/stdio.texi: Likewise.
56070         * manual/string.texi: Likewise.
56071         * stdlib/fmtmsg.c: Likewise.
56072         * sysdeps/i386/stpncpy.S: Likewise.
56073         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56074         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56075         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56076         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56078 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56080         * elf/dl-open.c: Fix typos.
56081         * iconvdata/gbbig5.c: Likewise.
56082         * iconvdata/iso-2022-jp.c: Likewise.
56083         * iconv/gconv_int.h: Likewise.
56084         * iconv/loop.c: Likewise.
56085         * nis/rpcsvc/nis.h: Likewise.
56086         * resolv/ns_name.c: Likewise.
56087         * stdio-common/vfscanf.c: Likewise.
56088         * streams/stropts.h: Likewise.
56089         * sunrpc/rpc_thread.c: Likewise.
56090         * sysdeps/i386/strpbrk.S: Likewise.
56091         * sysdeps/ieee754/k_standard.c: Likewise.
56092         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56093         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56094         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56095         * sysdeps/mach/hurd/profil.c: Likewise.
56096         * sysdeps/s390/dl-procinfo.h: Likewise.
56097         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56098         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56099         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56100         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56101         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56103 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56105         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56108 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56110         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56111         aix specific files.
56112         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56113         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56114         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56115         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56116         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56117         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56118         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56119         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56121 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56122             Roland McGrath  <roland@hack.frob.com>
56124         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56125         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56127 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56129         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56130         __executable_start symbol instead of _start.
56132 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56134         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56135         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56136         Move macros to...
56137         * sysdeps/gnu/ldsodefs.h: ... this new file.
56139         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56140         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56141         instead of ELFOSABI_LINUX.
56143         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56144         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56145         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56146         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56147         Likewise.
56148         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56149         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56150         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56151         Likewise.
56152         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56153         (ibm_extended_long_double): Add ieee_nan member.
56154         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56155         (do_test): New function.
56157         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56158         TEST_TRUNC.
56159         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56160         functions, renamed from truncdfsf_test, trunctfsf_test,
56161         trunctfdf_test.
56162         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56163         functions.
56164         (do_test): Run all these.
56166 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56168         * argp/argp-help.c: Fix typos.
56169         * argp/argp-parse.c: Likewise.
56170         * debug/backtracesyms.c: Likewise.
56171         * elf/elf.h: Likewise.
56172         * malloc/malloc.c: Likewise.
56173         * nis/nis_print.c: Likewise.
56174         * resolv/res_comp.c: Likewise.
56175         * stdlib/stdlib.h: Likewise.
56176         * sunrpc/clnt_tcp.c: Likewise.
56177         * sunrpc/clnt_udp.c: Likewise.
56178         * sunrpc/clnt_unix.c: Likewise.
56179         * sysdeps/unix/bsd/ptsname.c: Likewise.
56180         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56181         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56183         Likewise.
56184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56185         Likewise.
56186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56187         Likewise.
56188         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56190 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56192         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56195 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56197         [BZ #15897]
56198         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56199         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56200         ($(objpfx)bug-dl-leaf): New rule.
56201         ($(objpfx)bug-dl-leaf.so): Likewise.
56202         ($(objpfx)bug-dl-leaf.out): Likewise.
56203         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56204         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56205         * dlfcn/bug-dl-leaf.c: New test.
56206         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56207         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56208         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56209         (dlclose): Likewise.
56210         (dlmopen): Likewise.
56212 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56214         * include/netdb.h [!_ISOMAC]:
56215         Don't include <tls.h>.
56216         (h_errno, __libc_h_errno): Move declaration and macros out of
56217         [_LIBC_REENTRANT].
56219         * include/resolv.h [_RESOLV_H_]:
56220         Don't include <tls.h>.
56221         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56222         * resolv/res_libc.c: Don't include <tls.h>.
56223         (_res): Use __attribute__ ((nocommon)) in place of
56224         __attribute__ ((section (".bss"))).
56226         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56227         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56229         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56231         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56232         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56234         * resolv/res_mkquery.c: Include <sys/time.h>.
56236         * inet/ifreq.c: Moved to ...
56237         * sysdeps/unix/ifreq.c: ... here.
56238         * inet/ifreq.c: New file, true stub version.
56240         * socket/sa_len.c: New file.
56241         * socket/Makefile (aux): Add it.
56242         * sysdeps/unix/sysv/linux/Makefile
56243         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56244         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56245         and #include <socket/sa_len.c>.
56246         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56247         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56249         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56250         * bits/socket.h: ... here.
56252         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56253         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56254         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56256 2013-08-27  Andreas Schwab  <schwab@suse.de>
56258         [BZ #15736]
56259         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56260         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56261         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56262         * string/test-strcasecmp.c (test_main): Run tests in several
56263         locales.
56264         * string/test-strncasecmp.c (test_main): Likewise.
56266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56267         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56268         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56269         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56270         (__strncasecmp_ssse3) [PIC]: Likewise.
56272 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56274         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56276         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56277         instead of explicitly declaring xdecrypt.
56278         * nis/nss_nis/nis-publickey.c: Likewise.
56280 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56282         [BZ #15890]
56283         * nscd/aicache.c: Include res_hconf.h.
56284         (addhstaiX): Initialize res_hconf.
56286 2013-08-26  Andreas Schwab  <schwab@suse.de>
56288         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56289         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56291 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56293         * nscd/aicache.c (addhstaiX): Fix indentation.
56295 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56297         * configure.ac: Quote $build_pt_chown test.
56298         * configure: Regenerated.
56300 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56302         [BZ #15532]
56303         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56304         * math/s_cexpf.c (__cexpf): Likewise.
56305         * math/s_cexpl.c (__cexpl): Likewise.
56306         * math/libm-test.inc (cexp_test_data): Correct expected return
56307         value for NaN + i0.  Add another test.
56309 2013-08-22  David S. Miller  <davem@davemloft.net>
56311         * po/ca.po: Update Catalan translation from translation project.
56312         * po/uk.po: Add Ukrainian translations from translation project.
56314 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56316         [BZ #15797]
56317         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56318         is infinite, not alongside NaN test.
56319         * math/s_fdimf.c (__fdimf): Likewise.
56320         * math/s_fdiml.c (__fdiml): Likewise.
56321         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56322         errno is unchanged.
56324 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56326         * argp/argp-help.c: Fix typos.
56327         * crypt/speeds.c: Likewise.
56328         * csu/check_fds.c: Likewise.
56329         * elf/dl-load.c: Likewise.
56330         * elf/dl-open.c: Likewise.
56331         * elf/reldep3.c: Likewise.
56332         * elf/reldep.c: Likewise.
56333         * elf/sprof.c: Likewise.
56334         * iconv/iconv_charmap.c: Likewise.
56335         * iconv/skeleton.c: Likewise.
56336         * iconv/strtab.c: Likewise.
56337         * io/lockf64.c: Likewise.
56338         * libio/libioP.h: Likewise.
56339         * resolv/gai_notify.c: Likewise.
56340         * resolv/ns_name.c: Likewise.
56341         * resolv/ns_samedomain.c: Likewise.
56342         * resolv/res_send.c: Likewise.
56343         * stdlib/random.c: Likewise.
56344         * sunrpc/rpc/xdr.h: Likewise.
56345         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56346         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56347         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56348         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56349         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56350         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56351         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56352         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56353         * sysdeps/mach/hurd/check_fds.c: Likewise.
56354         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56355         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56356         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56357         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56358         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56359         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56360         * sysdeps/pthread/aio_notify.c: Likewise.
56361         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56362         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56363         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56364         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56365         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56367 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56369         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56370         version if bit_Slow_SSE4_2 is set.
56371         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56372         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56374 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56376         [BZ #15867]
56377         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56378         trampoline stack frame information.
56379         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56380         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56381         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56382         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56383         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56384         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56385         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56386         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56387         sa_flags value.
56388         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56389         interrupting a syscall and set with option SA_SIGINFO.
56391 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56393         [BZ #15531]
56394         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56395         argument is infinite.
56396         * math/s_cprojf.c (__cprojf): Likewise.
56397         * math/s_cprojl.c (__cprojl): Likewise.
56398         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56399         * math/libm-test.inc (cproj_test_data): Add more tests.
56401         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56403         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56404         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56405         size.  Use __ffs to determine corresponding shift.
56407 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56408             Roland McGrath  <roland@hack.frob.com>
56410         * Makefile (INSTALL): Remove trailing blank lines from output of
56411         makeinfo.
56413 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56415         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56416         Align 32 bit compat elf_greg to 8 bytes.
56418 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56420         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56422 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56424         * string/strcoll_l.c (coll_seq): New structure.
56425         (get_next_seq_cached): New function.
56426         (get_next_seq): New function.
56427         (do_compare): New function.
56428         (STRCOLL): Use GNU style definition.  Simplify implementation
56429         by using get_next_seq, get_next_seq_cached and do_compare.
56431 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56433         [BZ #14699]
56434         CVE-2013-4237
56435         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56436         member.
56437         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56438         member.
56439         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56440         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56441         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56442         conditional.
56443         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56444         GETDENTS_64BIT_ALIGNED.
56445         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56446         * manual/filesys.texi (Reading/Closing Directory): Document
56447         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56448         strongly.
56449         * manual/conf.texi (Limits for Files): Add portability note to
56450         NAME_MAX, PATH_MAX.
56451         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56453 2013-08-13  Andreas Schwab  <schwab@suse.de>
56455         [BZ #15749]
56456         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56457         of fabs.
56458         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56459         LDBL_MAX_EXP >= 16384]: Add tests for it.
56461 2013-08-12  David S. Miller  <davem@davemloft.net>
56463         * version.h (RELEASE): Set to "development".
56464         (VERSION): Set to "2.18.90".
56465         * NEWS: Add 2.19 section.
56467 2013-08-03  David S. Miller  <davem@davemloft.net>
56469         * po/ko.po: Update Korean translation from translation project.
56471 2013-08-01  David S. Miller  <davem@davemloft.net>
56473         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56474         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56475         Bilka.
56477 2013-07-30  David S. Miller  <davem@davemloft.net>
56479         * po/fr.po: Update French translation from translation project.
56481 2013-07-28  David S. Miller  <davem@davemloft.net>
56483         * po/cs.po: Update Czech translation from translation project.
56485         * po/sv.po: Update Swedish translation from translation project.
56487 2013-07-27  David S. Miller  <davem@davemloft.net>
56489         * po/eo.po: Update Esperanto translation from translation project.
56491         * po/vi.po: Update Vietnamese translation from translation project.
56493         * po/de.po: Update German translation from translation project.
56495 2013-07-26  David S. Miller  <davem@davemloft.net>
56497         * po/bg.po: Update Bulgarian translation from translation project.
56499         * po/nl.po: Update Dutch translation from translation project.
56500         * po/pl.po: Update Polish translation from translation project.
56501         * po/ru.po: Update Russian translation from translation project.
56503 2013-07-24  David S. Miller  <davem@davemloft.net>
56505         * po/libc.pot: Update.
56507 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56509         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
56510         variable page size.
56511         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
56512         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
56513         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
56515 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56517         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
56519 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56520             Andreas Schwab  <schwab@suse.de>
56521             Roland McGrath  <roland@hack.frob.com>
56522             Joseph Myers  <joseph@codesourcery.com>
56523             Carlos O'Donell  <carlos@redhat.com>
56525         [BZ #15755]
56526         * config.h.in: Define HAVE_PT_CHOWN.
56527         * config.make.in (build-pt-chown): New variable.
56528         * configure.in (--enable-pt_chown): New configure option.
56529         * configure: Regenerate.
56530         * login/Makefile: Include Makeconfig.  Build pt_chown only if
56531         build-pt-chown is enabled.
56532         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
56533         pt_chown to fix pty ownership.
56534         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
56535         CLOSE_ALL_FDS.
56536         * manual/install.texi (Configuring and compiling): Mention
56537         --enable-pt_chown. Add @findex for grantpt.
56538         * INSTALL: Regenerate.
56540 2013-07-20  David S. Miller  <davem@davemloft.net>
56542         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
56543         difference between 32-bit and 64-bit.
56545 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
56547         [BZ #15711]
56548         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
56549         Avoid system header dependency with -ffreestanding.
56550         ($(objpfx)bits/syscall%d): Likewise.
56552 2013-07-13  David S. Miller  <davem@davemloft.net>
56554         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
56555         underflows from atanl/atan2l due to bug 15319.
56556         (casinh_test_data): Likewise.
56558 2013-07-07  David S. Miller  <davem@davemloft.net>
56560         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
56562 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
56564         * sysdeps/i386/fpu/libm-test-ulps: Update.
56565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56567 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56569         * configure.in (--enable-lock-elision): Fix message text.
56570         * INSTALL: Regenerate.
56571         * configure: Regenerate.
56573 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56577 2013-07-03  Andreas Jaeger  <aj@suse.de>
56579         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
56580         define.
56581         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
56582         (ptrace_peeksiginfo_args): Add.
56583         (__ptrace_peeksiginfo_flags): Add.
56584         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56585         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56586         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56588 2013-07-03  Allan McRae  <allan@archlinux.org>
56590         * sysdeps/i386/fpu/libm-test-ulps: Update.
56592 2013-07-02  David S. Miller  <davem@davemloft.net>
56594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56596 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
56598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56600 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56602         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56605 2013-07-02  Andi Kleen <ak@linux.intel.com>
56607         * config.h.in (ENABLE_LOCK_ELISION): Add.
56608         * configure.in (--enable-lock-elision): Add option.
56609         * manual/install.texi: Document --enable lock elision.
56610         * configure: Regenerate
56611         * INSTALL: Regenerate.
56613 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
56615         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
56616         SSE4.2 strcasecmp for libc.a.
56617         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
56619 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56621         [BZ #13304]
56622         * soft-fp/op-common.h (_FP_FMA): New macro.
56623         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
56624         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
56625         (_FP_MUL_MEAT_1_imm): ... here.
56626         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
56627         (_FP_MUL_MEAT_1_wide): ... here.
56628         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
56629         (_FP_MUL_MEAT_1_hard): ... here.
56630         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
56631         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
56632         (_FP_MUL_MEAT_2_wide): ... here.
56633         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
56634         (_FP_MUL_MEAT_2_wide_3mul): ... here.
56635         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
56636         (_FP_MUL_MEAT_2_gmp): ... here.
56637         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
56638         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
56639         (_FP_MUL_MEAT_4_wide): ... here.
56640         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
56641         (_FP_MUL_MEAT_4_gmp): ... here.
56642         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
56643         (_FP_WFRACBITS_DW_S): Likewise.
56644         (_FP_WFRACXBITS_DW_S): Likewise.
56645         (_FP_HIGHBIT_DW_S): Likewise.
56646         (FP_FMA_S): Likewise.
56647         (_FP_FRAC_HIGH_DW_S): Likewise.
56648         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
56649         (_FP_WFRACBITS_DW_D): Likewise.
56650         (_FP_WFRACXBITS_DW_D): Likewise.
56651         (_FP_HIGHBIT_DW_D): Likewise.
56652         (FP_FMA_D): Likewise.
56653         (_FP_FRAC_HIGH_DW_D): Likewise.
56654         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
56655         (_FP_WFRACBITS_DW_E): Likewise.
56656         (_FP_WFRACXBITS_DW_E): Likewise.
56657         (_FP_HIGHBIT_DW_E): Likewise.
56658         (FP_FMA_E): Likewise.
56659         (_FP_FRAC_HIGH_DW_E): Likewise.
56660         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
56661         (_FP_WFRACBITS_DW_Q): Likewise.
56662         (_FP_WFRACXBITS_DW_Q): Likewise.
56663         (_FP_HIGHBIT_DW_Q): Likewise.
56664         (FP_FMA_Q): Likewise.
56665         (_FP_FRAC_HIGH_DW_Q): Likewise.
56666         * soft-fp/fmasf4.c: New file.
56667         * soft-fp/fmadf4.c: Likewise.
56668         * soft-fp/fmatf4.c: Likewise.
56670 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56673         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
56674         Silvermont.
56675         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
56676         macro.
56677         (index_Slow_SSE4_2): Likewise.
56678         (index_Prefer_PMINUB_for_stringop): Likewise.
56679         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
56680         bit_Slow_SSE4_2 is set.
56681         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56682         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56684 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56686         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
56687         rtld_global._dl_hwcap2.
56688         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
56689         POWER8.
56690         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
56691         POWER8 feature descriptions defined in _dl_hwcap2.
56692         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
56693         string handling for POWER8 feature bits.
56694         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
56695         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
56696         _dl_powerpc_cap_flags.
56697         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
56698         * sysdeps/powerpc/rtld-global-offsets.sym
56699         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
56700         _dl_hwcap2 in the rtld_global_ro structure.
56702 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56704         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
56705         hardware capabilities in support of AT_HWCAP2.
56706         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
56707         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
56708         GLRO(dl_hwcap2).
56709         (_dl_show_auxv): Add support for calling _dl_procinfo to display
56710         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
56711         explicitly the unknown a_type display mechanism is used.
56712         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
56713         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
56714         struct member.
56715         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
56716         to macro prototype for AT_HWCAP2 support.
56717         * sysdeps/i386/dl-procinfo.h: Likewise.
56718         * sysdeps/s390/dl-procinfo.h: Likewise.
56719         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
56720         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
56721         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
56722         return -1 for unknown a_type display fallback.
56723         * sysdeps/sparc/dl-procinfo.h: Likewise.
56724         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
56725         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
56727 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
56729         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
56730         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
56732 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
56734         [BZ #12492]
56735         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
56736         mprotect making __stack_prot writable.
56738 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
56739             Joseph Myers  <joseph@codesourcery.com>
56741         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
56742         as being properly aligned.
56744 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
56746         * dlfcn/modstatic5.c: New file.
56747         * dlfcn/tststatic5.c: New file.
56748         * dlfcn/Makefile (tests): Add tststatic5.
56749         (tests-static): Likewise.
56750         (modules-names): Add modstatic5.
56751         (tststatic5-ENV): New variable.
56752         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
56754         [BZ #15022]
56755         * elf/dl-support.c (_dl_main_map): New variable.
56756         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56757         (_dl_nns, _dl_load_adds): Set to 1.
56758         (_dl_initial_searchlist): Refer to _dl_main_map.
56759         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
56760         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
56761         call to _dl_get_origin.
56762         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
56763         around call_map.
56764         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56765         * dlfcn/modstatic3.c: New file.
56766         * dlfcn/tststatic3.c: New file.
56767         * dlfcn/tststatic4.c: New file.
56768         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56769         (tests-static): Likewise.
56770         (modules-names): Add modstatic3.
56771         (tststatic3-ENV, tststatic4-ENV): New variables.
56772         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56773         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56775 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56777         * configure.in (CC): Require GCC version 4.4 or later.
56778         * configure: Regenerated.
56779         * manual/install.texi (Tools for Compilation): Update GCC version
56780         requirement.
56781         * INSTALL: Regenerated.
56783 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56785         [BZ #15674]
56786         * string/test-memcmp.c (check2): New.
56787         (main): Call check2.
56789         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56791 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56793         [BZ #15022]
56794         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56795         over to...
56796         (dl_open_worker) [!SHARED]: ... here.
56798 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56800         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56802 2013-06-25  Richard Henderson  <rth@redhat.com>
56804         * locale/programs/locarchive.c: Include <libc-internal.h>
56806 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
56808         * manual/texinfo.tex: Update to version 2013-06-21.17, with
56809         trailing whitespace removed.
56811 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56813         [BZ #10283]
56814         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
56815         * locale/programs/locarchive.c: Include libc-mmap.h.
56816         (prepare_address_space): Take two new outputs (the mmap base and len).
56817         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
56818         values.
56819         (create_archive): Declare new mmap base and len values for
56820         prepare_address_space, and store the result in ah.
56821         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
56822         (enlarge_archive): If ah->mmap_base is not NULL, use that and
56823         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56824         Declare new mmap base and len values for
56825         prepare_address_space, and store the result in new_ah.
56826         (open_archive): Declare new mmap base and len values for
56827         prepare_address_space, and store the result in ah.
56828         (close_archive): If ah->mmap_base is not NULL, use that and
56829         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56830         * sysdeps/generic/libc-mmap.h: New file.
56832 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56834         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
56835         (ALIGN_UP): Likewise.
56836         (PTR_ALIGN_DOWN): Likewise.
56837         (PTR_ALIGN_UP): Likewise.
56839 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56841         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
56842         entry mapped to PPC_PLATFORM_POWER8.
56843         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
56844         POWER8.
56845         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
56846         (_dl_string_platform): Add case for exporting platform position for
56847         POWER8.
56848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
56849         search path to sysdeps/powerpc/powerpc32/power8 directory.
56850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
56851         search path to sysdeps/powerpc/powerpc64/power8 directory.
56852         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
56853         power7 directories.
56854         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
56855         power7 directories.
56857 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56859         * INSTALL: Regenerate.
56861         * nscd/connections.c (nscd_init): Fix comment.
56863 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
56865         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
56867         [BZ #15667]
56868         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
56869         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
56871 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56873         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
56874         DL_DST_REQ_STATIC.
56875         (DL_DST_REQ_STATIC): Remove macro.
56877 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
56879         [BZ #7006]
56880         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
56881         with a shift of 0 bits.
56883 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56885         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
56886         $(tststatic-ENV).
56888 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56890         [BZ #15655]
56891         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
56893 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56895         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
56896         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
56897         accepts -fno-tree-loop-distribute-patterns.
56898         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
56899         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
56900         recursive call.
56901         * string/memset.c (memset): Likewise.
56902         * string/test-memmove.c (simple_memmove): Disable loop transformation
56903         to library calls.
56904         * string/test-memset.c (simple_memset): Likewise.
56905         * benchtests/bench-memmove.c (simple_memmove): Likewise.
56906         * benchtests/bench-memset.c (simple_memset): Likewise.
56907         * configure: Regenerated.
56909 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
56911         * math/test-misc.c (main): Ignore fesetround failure when failures
56912         of subsequent rounding tests would be ignored.
56914         [BZ #15654]
56915         * math/fedisblxcpt.c (fedisableexcept): Return 0.
56916         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
56917         * math/fegetenv.c (__fegetenv): Return 0.
56918         * math/fegetexcept.c (fegetexcept): Return 0.
56919         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56920         FE_TONEAREST.
56921         * math/feholdexcpt.c (feholdexcept): Return 0.
56922         * math/fesetenv.c (__fesetenv): Return 0.
56923         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
56924         argument FE_TONEAREST.
56925         * math/feupdateenv.c (__feupdateenv): Return 0.
56926         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
56928 2013-06-18  Roland McGrath  <roland@hack.frob.com>
56930         * elf/rtld-Rules (rtld-compile-command.S): New variable.
56931         (rtld-compile-command.s, rtld-compile-command.c): New variables.
56932         ($(objpfx)rtld-%.os rules): Use them.
56934 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56936         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
56937         fields.
56939 2013-06-17  Roland McGrath  <roland@hack.frob.com>
56941         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
56942         length of target pattern, then descending length of dependency pattern.
56943         * configure.in (AWK): Require gawk 3.1.2 or newer.
56944         * manual/install.texi (Tools for Compilation): Say that we do.
56945         * configure: Regenerated.
56947         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56948         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
56949         * scripts/sysd-rules.awk: ... this new script.
56950         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
56951         than a glob-style pattern.
56953 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
56955         * math/test-misc.c (main): Do not treat incorrectly rounded
56956         conversions as failure unless ROUNDING_TESTS passes.
56958 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
56960         [BZ #15631]
56961         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
56962         restore exception state around main square root computation, then
56963         check for inexactness explicitly.
56965         * math/libm-test.inc (fma_test_data): Add another test.
56967 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56969         * manual/threads.texi (Non-POSIX Extensions): New document
56970         node.  Document pthread_getattr_default_np and
56971         pthread_setattr_default_np.
56973         * Versions.def (libpthread): Add GLIBC_2.18.
56974         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
56975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56976         Likewise.
56977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56978         Likewise.
56979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56980         Likewise.
56981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56982         Likewise.
56983         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
56984         Likewise.
56985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56986         Likewise.
56987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56988         Likewise.
56989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56990         Likewise.
56991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56992         Likewise.
56994 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56997         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
56999 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57000             H.J. Lu  <hjl.tools@gmail.com>
57002         [BZ #15627]
57003         * sysdeps/x86_64/rtld-memset.c: Remove file.
57004         * sysdeps/x86_64/rtld-memset.S: New file.
57006 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57008         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57009         (test_in_one_mode): Take arguments for whether the rounding mode
57010         is supported for each floating-point type.
57011         (do_test): Pass new arguments to test_in_one_mode using
57012         ROUNDING_TESTS.
57014 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57016         * posix/tst-waitid.c (do_test): Distinguish different instances of
57017         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57018         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57019         before entering the kernel for waitpid.
57021 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57023         * NEWS: Fix note on clock function precision.  Text by Roland
57024         McGrath.
57026 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57028         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57029         it into place only when and if the sanity check passes.
57031 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57033         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57034         output for whether conversion result is exact.  Take argument
57035         indicating whether type is IBM long double.
57036         (round_for_all): Change need_exact field to ibm_ld.
57037         * stdlib/tst-strtod-round.c (struct exactness): New type.
57038         (struct test): Change bool ld_ok field to struct exactness exact.
57039         (TEST): Update all definitions for change to field.
57040         (tests): Regenerate array contents.
57041         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57042         field value.  Check for IBM long double here.
57043         (do_test): Update calls to test_in_one_mode.
57045 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57047         [BZ #12515]
57048         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57049         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57051 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57053         [BZ #15605]
57054         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57055         generated by the compiler on loop optimizations.
57056         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57057         general definitions.
57059 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57061         * math/bug-nextafter.c: Include <math-tests.h>.
57062         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57063         the relevant type.
57064         * math/bug-nexttoward.c: Include <math-tests.h>.
57065         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57066         the relevant type.
57067         * math/test-misc.c: Include <math-tests.h>.
57068         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57069         the relevant type.
57071 2013-06-12  Andreas Jaeger  <aj@suse.de>
57073         * po/ia.po: Update Interlingua translation from translation
57074         project.
57076 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57078         * include/fenv.h: Include stdbool.h.
57079         (struct rm_ctx): New structure.
57080         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57081         Define macro.
57082         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57083         (SET_RESTORE_ROUNDF): Likewise.
57084         (SET_RESTORE_ROUNDL): Likewise.
57085         (SET_RESTORE_ROUND_NOEX): Likewise.
57086         (SET_RESTORE_ROUND_NOEXF): Likewise.
57087         (SET_RESTORE_ROUND_NOEXL): Likewise.
57088         (SET_RESTORE_ROUND_53BIT): Likewise.
57089         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57090         (libc_feresetround_noexf_ctx): Likewise.
57091         (libc_feresetround_noexl_ctx): Likewise.
57092         (libc_feholdsetround_53bit_ctx): Likewise.
57093         (libc_feresetround_53bit_ctx): Likewise.
57094         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57095         (libc_feholdexcept_setround_sse_ctx): New function.
57096         (libc_fesetenv_sse_ctx): Likewise.
57097         (libc_feupdateenv_sse_ctx): Likewise.
57098         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57099         (libc_feholdexcept_setround_387_ctx): Likewise.
57100         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57101         (libc_feholdsetround_387_prec_ctx): Likewise.
57102         (libc_feholdsetround_387_ctx): Likewise.
57103         (libc_feholdsetround_387_53bit_ctx): Likewise.
57104         (libc_feholdsetround_sse_ctx): Likewise.
57105         (libc_feresetround_sse_ctx): Likewise.
57106         (libc_feresetround_387_ctx): Likewise.
57107         (libc_feupdateenv_387_ctx): Likewise.
57108         (libc_feholdexcept_setroundf_ctx): Define macro.
57109         (libc_fesetenvf_ctx): Likewise.
57110         (libc_feupdateenvf_ctx): Likewise.
57111         (libc_feholdsetroundf_ctx): Likewise.
57112         (libc_feresetroundf_ctx): Likewise.
57113         (libc_feholdexcept_setround_ctx): Likewise.
57114         (libc_fesetenv_ctx): Likewise.
57115         (libc_feupdateenv_ctx): Likewise.
57116         (libc_feholdsetround_ctx): Likewise.
57117         (libc_feresetround_ctx): Likewise.
57118         (libc_feholdexcept_setroundl_ctx): Likewise.
57119         (libc_feupdateenvl_ctx): Likewise.
57120         (libc_feholdsetroundl_ctx): Likewise.
57121         (libc_feresetroundl_ctx): Likewise.
57122         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57123         (libc_feresetround_53bit_ctx): Likewise.
57125 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57127         * locale/iso-639.def: Convert to UTF-8.
57129 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57131         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57132         (EXCEPTION_TESTS_double): Likewise.
57133         (EXCEPTION_TESTS_long_double): Likewise.
57134         (EXCEPTION_TESTS): Likewise.
57135         * math/libm-test.inc (test_exceptions): Only test exceptions if
57136         EXCEPTION_TESTS (FLOAT).
57138 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57140         * benchtests/Makefile (string-bench): Add strcpy_chk and
57141         stpcpy_chk.
57142         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57143         * benchtests/bench-stpcpy_chk.c: New file.
57144         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57145         * benchtests/bench-strcpy_chk.c: New file.
57146         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57147         code.
57148         (do_test): Likewise.
57150 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57152         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57153         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57154         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57155         with tabs where appropriate.
57156         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57157         dl-procinfo.h.
57158         [PPC_PLATFORM_PPC440]: Likewise.
57159         [PPC_PLATFORM_PPC464]: Likewise.
57160         [PPC_PLATFORM_PPC476]: Likewise.
57161         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57162         ppc464, and ppc476 platform strings merging from ports/
57163         dl-procinfo.h.
57165 2013-06-11  Andreas Schwab  <schwab@suse.de>
57167         [BZ #14991]
57168         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57169         (from_ucs4_idx): Regenerate.
57170         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57171         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57172         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57173         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57174         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57175         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57176         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57177         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57178         from FROM_LOOP and TO_LOOP specific macros.
57179         (BODY): Handle combining characters.
57180         * iconvdata/BIG5HKSCS.irreversible: Update.
57181         * iconvdata/BIG5HKSCS.precomposed: New file.
57182         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57183         characters.
57184         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57186 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57188         * include/sys/time.h: Fix indentation and add copyright header.
57190         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57191         (do_test): Likewise.
57192         * string/test-memchr.c (do_one_test): Likewise.
57193         (do_test): Likewise.
57194         * string/test-memcmp.c (do_one_test): Likewise.
57195         (do_test): Likewise.
57196         * string/test-memcpy.c (do_one_test): Likewise.
57197         (do_test): Likewise.
57198         * string/test-memmem.c (do_one_test): Likewise.
57199         (do_test): Likewise.
57200         (do_random_tests): Likewise.
57201         * string/test-memmove.c (do_one_test): Likewise.
57202         (do_test): Likewise.
57203         * string/test-memset.c (do_one_test): Likewise.
57204         (do_test): Likewise.
57205         * string/test-rawmemchr.c (do_one_test): Likewise.
57206         (do_test): Likewise.
57207         * string/test-strcasecmp.c (do_one_test): Likewise.
57208         (do_test): Likewise.
57209         * string/test-strcasestr.c (do_one_test): Likewise.
57210         (do_test): Likewise.
57211         * string/test-strcat.c (do_one_test): Likewise.
57212         (do_test): Likewise.
57213         * string/test-strchr.c (do_one_test): Likewise.
57214         (do_test): Likewise.
57215         * string/test-strcmp.c (do_one_test): Likewise.
57216         (do_test): Likewise.
57217         * string/test-strcpy.c (do_one_test): Likewise.
57218         (do_test): Likewise.
57219         * string/test-string.h: Likewise.
57220         (test_init): Likewise.
57221         * string/test-strlen.c (do_one_test): Likewise.
57222         (do_test): Likewise.
57223         * string/test-strncasecmp.c (do_one_test): Likewise.
57224         (do_test): Likewise.
57225         * string/test-strncat.c (do_one_test): Likewise.
57226         (do_test): Likewise.
57227         * string/test-strncmp.c (do_one_test): Likewise.
57228         (do_test_limit): Likewise.
57229         (do_test): Likewise.
57230         * string/test-strncpy.c (do_one_test): Likewise.
57231         (do_test): Likewise.
57232         * string/test-strnlen.c (do_one_test): Likewise.
57233         (do_test): Likewise.
57234         * string/test-strpbrk.c (do_one_test): Likewise.
57235         (do_test): Likewise.
57236         * string/test-strrchr.c (do_one_test): Likewise.
57237         (do_test): Likewise.
57238         * string/test-strspn.c (do_one_test): Likewise.
57239         (do_test): Likewise.
57240         * string/test-strstr.c (do_one_test): Likewise.
57241         (do_test): Likewise.
57243         * benchtests/Makefile (string-bench): Add string benchmarks.
57244         * benchtests/bench-bcopy-ifunc.c: New file.
57245         * benchtests/bench-bcopy.c: New file.
57246         * benchtests/bench-bzero-ifunc.c: New file.
57247         * benchtests/bench-bzero.c: New file.
57248         * benchtests/bench-memccpy-ifunc.c: New file.
57249         * benchtests/bench-memccpy.c: New file.
57250         * benchtests/bench-memchr-ifunc.c: New file.
57251         * benchtests/bench-memchr.c: New file.
57252         * benchtests/bench-memcmp-ifunc.c: New file.
57253         * benchtests/bench-memcmp.c: New file.
57254         * benchtests/bench-memmem-ifunc.c: New file.
57255         * benchtests/bench-memmem.c: New file.
57256         * benchtests/bench-memmove-ifunc.c: New file.
57257         * benchtests/bench-memmove.c: New file.
57258         * benchtests/bench-mempcpy-ifunc.c: New file.
57259         * benchtests/bench-mempcpy.c: New file.
57260         * benchtests/bench-memset-ifunc.c: New file.
57261         * benchtests/bench-memset.c: New file.
57262         * benchtests/bench-rawmemchr-ifunc.c: New file.
57263         * benchtests/bench-rawmemchr.c: New file.
57264         * benchtests/bench-stpcpy-ifunc.c: New file.
57265         * benchtests/bench-stpcpy.c: New file.
57266         * benchtests/bench-stpncpy-ifunc.c: New file.
57267         * benchtests/bench-stpncpy.c: New file.
57268         * benchtests/bench-strcasecmp-ifunc.c: New file.
57269         * benchtests/bench-strcasecmp.c: New file.
57270         * benchtests/bench-strcasestr-ifunc.c: New file.
57271         * benchtests/bench-strcasestr.c: New file.
57272         * benchtests/bench-strcat-ifunc.c: New file.
57273         * benchtests/bench-strcat.c: New file.
57274         * benchtests/bench-strchr-ifunc.c: New file.
57275         * benchtests/bench-strchr.c: New file.
57276         * benchtests/bench-strchrnul-ifunc.c: New file.
57277         * benchtests/bench-strchrnul.c: New file.
57278         * benchtests/bench-strcmp-ifunc.c: New file.
57279         * benchtests/bench-strcmp.c: New file.
57280         * benchtests/bench-strcpy-ifunc.c: New file.
57281         * benchtests/bench-strcpy.c: New file.
57282         * benchtests/bench-strcspn-ifunc.c: New file.
57283         * benchtests/bench-strcspn.c: New file.
57284         * benchtests/bench-strlen-ifunc.c: New file.
57285         * benchtests/bench-strlen.c: New file.
57286         * benchtests/bench-strncasecmp-ifunc.c: New file.
57287         * benchtests/bench-strncasecmp.c: New file.
57288         * benchtests/bench-strncat-ifunc.c: New file.
57289         * benchtests/bench-strncat.c: New file.
57290         * benchtests/bench-strncmp-ifunc.c: New file.
57291         * benchtests/bench-strncmp.c: New file.
57292         * benchtests/bench-strncpy-ifunc.c: New file.
57293         * benchtests/bench-strncpy.c: New file.
57294         * benchtests/bench-strnlen-ifunc.c: New file.
57295         * benchtests/bench-strnlen.c: New file.
57296         * benchtests/bench-strpbrk-ifunc.c: New file.
57297         * benchtests/bench-strpbrk.c: New file.
57298         * benchtests/bench-strrchr-ifunc.c: New file.
57299         * benchtests/bench-strrchr.c: New file.
57300         * benchtests/bench-strspn-ifunc.c: New file.
57301         * benchtests/bench-strspn.c: New file.
57302         * benchtests/bench-strstr-ifunc.c: New file.
57303         * benchtests/bench-strstr.c: New file.
57305         * benchtests/Makefile: Disable parallel execution of targets.
57306         (string-bench): Add memcpy.
57307         (benchset): New variable to store a list of benchmark sets.
57308         (bench-func): Renamed from bench.
57309         (bench-set): New target.
57310         (bench): Depend on bench-func and bench-set.
57311         * benchtests/README: Add section on benchmark sets.
57312         * benchtests/bench-memcpy-ifunc.c: New file.
57313         * benchtests/bench-memcpy.c: New file.
57314         * benchtests/bench-string.h: New file.
57316 2013-06-11  Andreas Schwab  <schwab@suse.de>
57318         [BZ #15577]
57319         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57320         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57321         values in the triple.
57322         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57323         terminator in the group key.
57325 2013-06-11  Andreas Jaeger  <aj@suse.de>
57327         * po/zh_TW.po: Update Chinese (traditional) translation from
57328         translation project.
57330 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57332         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57333         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57334         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57335         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57336         (clock_getcpuclockid): Likewise.
57337         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57338         Add weak_alias and libc_hidden_def.
57339         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57340         * rt/clock_gettime.c (clock_gettime): Rename to
57341         __clock_gettime.  Add weak_alias and libc_hidden_def.
57342         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57343         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57344         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57345         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57346         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57347         Likewise.
57348         * rt/clock_settime.c (clock_settime): Rename to
57349         __clock_settime.  Add weak_alias and libc_hidden_def.
57350         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57352 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57354         * mach/err_boot.sub: Remove trailing whitespace.
57355         * mach/err_ipc.sub: Likewise.
57356         * mach/err_mach.sub: Likewise.
57358         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57359         (ROUNDING_TESTS_double): Likewise.
57360         (ROUNDING_TESTS_long_double): Likewise.
57361         (ROUNDING_TESTS): Likewise.
57362         * math/libm-test.inc: Include <math-tests.h>.
57363         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57364         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57365         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57366         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57368 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57370         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57371         of assigning.
57373 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57375         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57376         otherwise empty TRANS lines.
57377         * sysdeps/gnu/errlist.c: Regenerated.
57379         * catgets/gencat.c (error_print): Use (void) in function
57380         definition.
57381         * crypt/crypt_util.c (__init_des): Likewise.
57382         * crypt/speeds.c (Stop): Likewise.
57383         (main): Likewise.
57384         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57385         * inet/ruserpass.c (token): Likewise.
57386         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57387         * intl/localealias.c (extend_alias_table): Likewise.
57388         * intl/plural-exp.c (init_germanic_plural): Likewise.
57389         * libio/fcloseall.c (__fcloseall): Likewise.
57390         * libio/genops.c (_IO_flush_all): Likewise.
57391         (_IO_flush_all_linebuffered): Likewise.
57392         (_IO_cleanup): Likewise.
57393         (_IO_iter_begin): Likewise.
57394         (_IO_iter_end): Likewise.
57395         (_IO_list_lock): Likewise.
57396         (_IO_list_unlock): Likewise.
57397         (_IO_list_resetlock): Likewise.
57398         * libio/getchar.c (getchar): Likewise.
57399         * libio/getchar_u.c (getchar_unlocked): Likewise.
57400         * libio/getwchar.c (getwchar): Likewise.
57401         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57402         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57403         * login/getpt.c (__getpt): Likewise.
57404         * login/tst-utmp.c (main): Likewise.
57405         * malloc/hooks.c (__malloc_check_init): Likewise.
57406         * malloc/malloc.c (__malloc_stats): Likewise.
57407         * malloc/mtrace.c (tr_break): Likewise.
57408         (mtrace): Likewise.
57409         (muntrace): Likewise.
57410         * misc/fstab.c (endfsent): Likewise.
57411         * misc/getclktck.c (__getclktck): Likewise.
57412         * misc/getdtsz.c (__getdtablesize): Likewise.
57413         * misc/gethostid.c (gethostid): Likewise.
57414         * misc/getpagesize.c (__getpagesize): Likewise.
57415         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57416         (__get_nprocs): Likewise.
57417         (__get_phys_pages): Likewise.
57418         (__get_avphys_pages): Likewise.
57419         * misc/getttyent.c (getttyent): Likewise.
57420         (setttyent): Likewise.
57421         (endttyent): Likewise.
57422         * misc/getusershell.c (getusershell): Likewise.
57423         (endusershell): Likewise.
57424         (setusershell): Likewise.
57425         (initshells): Likewise.
57426         * misc/hsearch.c (__hdestroy): Likewise.
57427         * misc/sync.c (sync): Likewise.
57428         * misc/syslog.c (closelog_internal): Likewise.
57429         (closelog): Likewise.
57430         * misc/ttyslot.c (ttyslot): Likewise.
57431         * misc/vhangup.c (vhangup): Likewise.
57432         * posix/fork.c (__fork): Likewise.
57433         * posix/getegid.c (__getegid): Likewise.
57434         * posix/geteuid.c (__geteuid): Likewise.
57435         * posix/getgid.c (__getgid): Likewise.
57436         * posix/getpid.c (__getpid): Likewise.
57437         * posix/getppid.c (__getppid): Likewise.
57438         * posix/getuid.c (__getuid): Likewise.
57439         * posix/pause.c (pause): Likewise.
57440         * posix/setpgrp.c (setpgrp): Likewise.
57441         * posix/setsid.c (__setsid): Likewise.
57442         * posix/test-vfork.c (noop): Likewise.
57443         * resolv/gethnamaddr.c (_endhtent): Likewise.
57444         (_gethtent): Likewise.
57445         (ht_endhostent): Likewise.
57446         (gethostent): Likewise.
57447         (dns_service): Likewise.
57448         * stdlib/drand48.c (drand48): Likewise.
57449         * stdlib/lrand48.c (lrand48): Likewise.
57450         * stdlib/mrand48.c (mrand48): Likewise.
57451         * stdlib/rand.c (rand): Likewise.
57452         * stdlib/random.c (__random): Likewise.
57453         * stdlib/setenv.c (clearenv): Likewise.
57454         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57455         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57456         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57457         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57458         (__get_nprocs): Likewise.
57459         (__get_phys_pages): Likewise.
57460         (__get_avphys_pages): Likewise.
57461         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57462         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57463         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57464         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57465         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57466         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57467         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57468         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57469         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57470         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57471         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57472         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57473         * sysdeps/posix/clock.c (clock): Likewise.
57474         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57475         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57476         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57477         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57478         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57479         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57480         (__get_nprocs_conf): Likewise.
57481         (__get_phys_pages): Likewise.
57482         (__get_avphys_pages): Likewise.
57483         * time/clock.c (clock): Likewise.
57484         * time/tzset.c (__tzname_max): Likewise.
57486 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
57488         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
57489         (__bswap_32): Do not use "register".
57490         * crypt/crypt.c (_ufc_doit_r): Likewise.
57491         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57492         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57493         * gmon/gmon.c (__monstartup): Likewise.
57494         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
57495         * hurd/hurdmalloc.c (more_memory): Likewise.
57496         (malloc): Likewise.
57497         (free): Likewise.
57498         (realloc): Likewise.
57499         (malloc_fork_prepare): Likewise.
57500         (malloc_fork_parent): Likewise.
57501         (malloc_fork_child): Likewise.
57502         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
57503         (_svcauth_des): Likewise.
57504         * inet/inet_lnaof.c (inet_lnaof): Likewise.
57505         * inet/inet_net.c (inet_network): Likewise.
57506         * inet/inet_netof.c (inet_netof): Likewise.
57507         * inet/rcmd.c (__validuser2_sa): Likewise.
57508         * io/fts.c (fts_open): Likewise.
57509         (fts_load): Likewise.
57510         (fts_close): Likewise.
57511         (fts_read): Likewise.
57512         (fts_children): Likewise.
57513         (fts_build): Likewise.
57514         (fts_stat): Likewise.
57515         (fts_sort): Likewise.
57516         (fts_alloc): Likewise.
57517         (fts_lfree): Likewise.
57518         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
57519         (_IO_file_xsgetn): Likewise.
57520         (_IO_file_xsgetn_mmap): Likewise.
57521         * libio/iofopncook.c (_IO_cookie_read): Likewise.
57522         (_IO_cookie_write): Likewise.
57523         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
57524         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
57525         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
57526         * malloc/obstack.c (_obstack_begin): Likewise.
57527         (_obstack_begin_1): Likewise.
57528         (_obstack_newchunk): Likewise.
57529         (_obstack_allocated_p): Likewise.
57530         (obstack_free): Likewise.
57531         (_obstack_memory_used): Likewise.
57532         * misc/getttyent.c (getttynam): Likewise.
57533         (getttyent): Likewise.
57534         (skip): Likewise.
57535         (value): Likewise.
57536         * misc/getusershell.c (initshells): Likewise.
57537         * misc/syslog.c (__vsyslog_chk): Likewise.
57538         * misc/ttyslot.c (ttyslot): Likewise.
57539         * nis/nis_hash.c (__nis_hash): Likewise.
57540         * posix/fnmatch_loop.c (FCT): Likewise.
57541         * posix/getconf.c (print_all): Likewise.
57542         (main): Likewise.
57543         * posix/getopt.c (exchange): Likewise.
57544         * posix/glob.c (globfree): Likewise.
57545         (prefix_array): Likewise.
57546         (__glob_pattern_type): Likewise.
57547         * resolv/arpa/nameser.h (NS_GET16): Likewise.
57548         (NS_GET32): Likewise.
57549         (NS_PUT16): Likewise.
57550         (NS_PUT32): Likewise.
57551         * resolv/gethnamaddr.c (getanswer): Likewise.
57552         (gethostbyname2): Likewise.
57553         (gethostbyaddr): Likewise.
57554         (_gethtent): Likewise.
57555         (_gethtbyname2): Likewise.
57556         (_gethtbyaddr): Likewise.
57557         * resolv/ns_print.c (dst_s_get_int16): Likewise.
57558         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
57559         * resolv/res_init.c (__res_vinit): Likewise.
57560         (net_mask): Likewise.
57561         * resolv/res_mkquery.c (outchar): Likewise.
57562         (PRINT): Likewise.
57563         * stdio-common/printf_fp.c (outchar): Likewise.
57564         (PRINT): Likewise.
57565         * stdio-common/printf_fphex.c (outchar): Likewise.
57566         (PRINT): Likewise.
57567         * stdio-common/printf_size.c (outchar): Likewise.
57568         (PRINT): Likewise.
57569         * stdio-common/test_rdwr.c (main): Likewise.
57570         * stdio-common/tfformat.c (matches): Likewise.
57571         * stdio-common/vfprintf.c (outchar): Likewise.
57572         (printf_unknown): Likewise.
57573         (buffered_vfprintf): Likewise.
57574         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57575         * stdio-common/xbug.c (AppendToBuffer): Likewise.
57576         (ReadFile): Likewise.
57577         * stdlib/qsort.c (SWAP): Likewise.
57578         (_quicksort): Likewise.
57579         * stdlib/setenv.c (__add_to_environ): Likewise.
57580         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57581         * stdlib/strtol_l.c (__strtol_l): Likewise.
57582         * stdlib/tst-strtod.c (main): Likewise.
57583         * stdlib/tst-strtol.c (main): Likewise.
57584         * stdlib/tst-strtoll.c (main): Likewise.
57585         * string/bits/string2.h (__strcmp_cc): Likewise.
57586         (__strcmp_cg): Likewise.
57587         (__strcspn_c1): Likewise.
57588         (__strcspn_c2): Likewise.
57589         (__strcspn_c3): Likewise.
57590         (__strspn_c1): Likewise.
57591         (__strspn_c2): Likewise.
57592         (__strspn_c3): Likewise.
57593         (__strsep_1c): Likewise.
57594         (__strsep_2c): Likewise.
57595         (__strsep_3c): Likewise.
57596         * string/memccpy.c (__memccpy): Likewise.
57597         * string/stpcpy.c (__stpcpy): Likewise.
57598         * string/strcmp.c (strcmp): Likewise.
57599         * string/strrchr.c (strrchr): Likewise.
57600         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
57601         Likewise.
57602         * sysdeps/mach/hurd/getcwd.c
57603         (_hurd_canonicalize_directory_name_internal): Likewise.
57604         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
57605         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
57606         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
57607         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
57608         Likewise, in both definitions.
57609         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
57610         definitions.
57611         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
57612         64] (__bswap_64): Likewise.
57613         * time/test_time.c (main): Likewise.
57614         * time/tzfile.c (__tzfile_read): Likewise.
57615         (__tzfile_compute): Likewise.
57616         * time/tzset.c (__tzset_parse_tz): Likewise.
57617         (tzset_internal): Likewise.
57618         (compute_change): Likewise.
57619         * wcsmbs/wcscat.c (__wcscat): Likewise.
57620         * wcsmbs/wcschr.c (wcschr): Likewise.
57621         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
57622         * wcsmbs/wcscspn.c (wcscspn): Likewise.
57623         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
57624         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
57625         * wcsmbs/wcsspn.c (wcsspn): Likewise.
57626         * wcsmbs/wcsstr.c (wcsstr): Likewise.
57627         * wcsmbs/wmemchr.c (wmemchr): Likewise.
57628         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57629         * wcsmbs/wmemset.c (wmemset): Likewise.
57631 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
57633         * scripts/config.guess: Update to version 2013-05-16.
57634         * scripts/config.sub: Update to version 2013-04-24.
57635         * scripts/install-sh: Update to version 2011-11-20.07.
57636         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
57637         * scripts/move-if-change: Update to version 2012-01-06 07:23.
57639 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
57641         * debug/fgetws_u_chk.c: Fix leading whitespaces.
57642         * elf/sln.c: Likewise.
57643         * hurd/hurd/ioctl.h: Likewise.
57644         * hurd/hurdmalloc.c: Likewise.
57645         * hurd/xattr.c: Likewise.
57646         * include/shlib-compat.h: Likewise.
57647         * inet/ruserpass.c: Likewise.
57648         * libio/iofgets_u.c: Likewise.
57649         * libio/iofgetws_u.c: Likewise.
57650         * locale/programs/ld-identification.c: Likewise.
57651         * locale/programs/ld-time.c: Likewise.
57652         * mach/msg-destroy.c: Likewise.
57653         * nss/nss_files/files-netgrp.c: Likewise.
57654         * resolv/res_data.c: Likewise.
57655         * soft-fp/op-1.h: Likewise.
57656         * soft-fp/op-2.h: Likewise.
57657         * soft-fp/op-4.h: Likewise.
57658         * soft-fp/op-common.h: Likewise.
57659         * stdio-common/printf_fphex.c: Likewise.
57660         * stdlib/strtod_l.c: Likewise.
57661         * sunrpc/rpc/clnt.h: Likewise.
57662         * sysdeps/generic/framestate.c: Likewise.
57663         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57664         * sysdeps/i386/bsd-setjmp.S: Likewise.
57665         * sysdeps/i386/__longjmp.S: Likewise.
57666         * sysdeps/i386/setjmp.S: Likewise.
57667         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57668         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57669         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57670         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57671         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57672         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57673         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57674         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57675         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57676         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57677         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57678         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57679         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57680         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57681         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57682         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57683         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57684         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
57685         * sysdeps/ieee754/support.c: Likewise.
57686         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57687         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
57688         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
57689         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
57690         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
57691         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
57692         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
57693         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
57694         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
57695         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
57696         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
57697         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
57698         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
57699         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
57700         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
57701         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
57702         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
57705 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
57707         * posix/transbug.c: Remove executable mode.
57709 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
57711         * crypt/speeds.c: Remove trailing whitespace.
57712         * dlfcn/default.c: Likewise.
57713         * elf/ifuncdep2.c: Likewise.
57714         * elf/ifuncmain1.c: Likewise.
57715         * elf/ifuncmain1vis.c: Likewise.
57716         * elf/testobj.h: Likewise.
57717         * elf/tst-stackguard1.c: Likewise.
57718         * gmon/sys/gmon.h: Likewise.
57719         * hurd/hurdmsg.c: Likewise.
57720         * hurd/new-fd.c: Likewise.
57721         * hurd/ports-get.c: Likewise.
57722         * iconvdata/ibm1008_420.c: Likewise.
57723         * inet/tst-getni1.c: Likewise.
57724         * inet/tst-getni2.c: Likewise.
57725         * libio/ioungetc.c: Likewise.
57726         * libio/wfiledoalloc.c: Likewise.
57727         * manual/libm-err-tab.pl: Likewise.
57728         * math/w_dremf.c: Likewise.
57729         * misc/ftruncate.c: Likewise.
57730         * posix/bug-glob2.c: Likewise.
57731         * posix/tst-pcre.c: Likewise.
57732         * posix/wait4.c: Likewise.
57733         * resolv/README: Likewise.
57734         * resolv/res_debug.h: Likewise.
57735         * resolv/tst-inet_ntop.c: Likewise.
57736         * setjmp/bug269-setjmp.c: Likewise.
57737         * soft-fp/extended.h: Likewise.
57738         * soft-fp/op-1.h: Likewise.
57739         * soft-fp/op-2.h: Likewise.
57740         * soft-fp/op-4.h: Likewise.
57741         * soft-fp/op-8.h: Likewise.
57742         * soft-fp/testit.c: Likewise.
57743         * stdio-common/bug16.c: Likewise.
57744         * stdlib/random.c: Likewise.
57745         * sunrpc/rpcsvc/rquota.x: Likewise.
57746         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
57747         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57748         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57749         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57750         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57751         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57752         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57753         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57754         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57755         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57756         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57757         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57758         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57759         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57760         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57761         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57762         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57763         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57764         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57765         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57766         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57767         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57768         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57769         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57770         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57771         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57772         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57773         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57774         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57775         * sysdeps/ieee754/s_lib_version.c: Likewise.
57776         * sysdeps/mach/hurd/check_fds.c: Likewise.
57777         * sysdeps/mach/hurd/getsockname.c: Likewise.
57778         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57779         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57780         * sysdeps/powerpc/bits/link.h: Likewise.
57781         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57782         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57783         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57784         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57785         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57786         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57787         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57788         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57789         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57790         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57791         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57792         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57793         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57794         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57795         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57796         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57797         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57798         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57799         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57800         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57801         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57802         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57803         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57804         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57805         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57806         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57807         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57808         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57809         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57810         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57811         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57812         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57813         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57814         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57815         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
57816         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57817         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
57818         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57819         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
57820         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
57821         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
57822         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
57823         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
57824         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
57825         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57826         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
57827         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
57828         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57829         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
57830         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
57831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57832         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57833         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57834         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57835         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
57836         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
57837         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
57838         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57839         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
57840         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
57841         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
57842         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
57843         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
57844         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57845         * sysdeps/powerpc/sysdep.h: Likewise.
57846         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57847         * sysdeps/s390/s390-64/sub_n.S: Likewise.
57848         * sysdeps/sh/dl-trampoline.S: Likewise.
57849         * sysdeps/sh/memset.S: Likewise.
57850         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
57851         * sysdeps/sh/strlen.S: Likewise.
57852         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
57853         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
57854         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
57855         * sysdeps/sparc/sparc32/rem.S: Likewise.
57856         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
57857         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
57858         * sysdeps/sparc/sparc32/strchr.S: Likewise.
57859         * sysdeps/sparc/sparc32/udiv.S: Likewise.
57860         * sysdeps/sparc/sparc32/urem.S: Likewise.
57861         * sysdeps/sparc/sparc64/add_n.S: Likewise.
57862         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57863         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
57864         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
57865         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
57866         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
57867         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
57868         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
57869         * sysdeps/unix/bsd/times.c: Likewise.
57870         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
57871         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
57872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
57873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
57874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
57875         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
57876         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57877         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
57878         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
57879         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
57880         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
57881         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57882         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
57883         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57884         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57885         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
57886         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57887         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
57888         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
57889         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
57890         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
57891         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
57892         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57893         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
57894         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
57895         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
57896         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
57897         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57898         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
57899         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
57900         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
57901         * sysdeps/x86_64/strcspn.S: Likewise.
57903 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57905         * locale/C-translit.h: Revert #include <stdint.h> because this is a
57906         generated file.  Regenerate properly from gen-translit.pl.
57907         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
57908         locale/C-translit.h.
57910 2013-06-05  Andreas Schwab  <schwab@suse.de>
57912         [BZ #15100]
57913         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
57914         week as 6 instead of -1.
57915         * time/tst-strptime.c (day_tests): Add test case.
57917 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57919         * sysdeps/generic/math_private.h
57920         (libc_feholdexcept_setround_53bit): Replace with
57921         libc_feholdsetround_53bit.
57922         (libc_feupdateenv_53bit): Replace with
57923         libc_feresetround_53bit.
57924         (SET_RESTORE_ROUND_53BIT): Adjust.
57926 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57928         * string/test-strchrnul.c: Add copyright header.
57930         * posix/tst-getaddrinfo4.c: Increase test timeout.
57932 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
57934         [BZ #15536]
57935         * math/libm-test.inc (MAX_EXP): Remove
57936         (MIN_EXP): Define.
57937         (ulp): Use MIN_EXP - MANT_DIG.
57938         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
57940 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
57942         * po/be.po: Revert last change.
57943         * po/zh_CN.po: Likewise.
57944         * po/header.pot: Likewise.
57946 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
57948         * Makefile ($(common-objpfx)linkobj/libc.so): Define
57949         link-libc-deps to empty as target-specific variable.
57950         * Makerules (link-libc-args): New variable.
57951         (libc-for-link): Likewise.
57952         (link-libc-deps): Likewise.
57953         (lib%.so): Depend on $(link-libc-deps).  Link with
57954         $(link-libc-args).
57955         (build-module): Link with $(link-libc-args).
57956         (build-module-asneeded): Likewise.
57957         (build-module-helper-objlist): Filter out $(link-libc-deps) from
57958         list of objects.
57959         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
57960         target-specific variable.
57961         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
57962         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
57963         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
57964         libc.
57965         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
57966         libc and ld.so.
57967         ($(objpfx)libpcprofile.so): Likewise.
57968         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
57969         libc_nonshared.a.
57970         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
57971         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
57972         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
57973         $(link-libc-deps).
57974         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
57975         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
57976         * login/Makefile ($(objpfx)libutil.so): Likewise.
57977         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
57978         * math/Makefile ($(objpfx)libm.so): Likewise.
57979         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
57980         $(objpfx)libnsl.so): Define libc-for-link as target-specific
57981         variable instead of depending directly on libc.
57982         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
57983         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
57984         $(link-libc-deps).
57985         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
57986         libc.
57987         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57988         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
57989         ($(objpfx)libanl.so): Likewise.
57990         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
57991         ld.so.
57992         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
57993         $(link-libc-deps).
57994         * sysdeps/i386/fpu/Makefile: Remove file.
57995         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57996         ($(objpfx)libm.so): Remove dependency on ld.so.
57998 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58000         [BZ # 15553]
58001         * nis/yp_xdr.c (XDRMAXNAME): Define.
58002         (XDRMAXRECORD): Define.
58003         (xdr_domainname): Use XDRMAXNAME.
58004         (xdr_mapname): Likewise.
58005         (xdr_peername): Likewise.
58006         (xdr_keydat): Use XDRMAXRECORD.
58007         (xdr_valdat): Likewise.
58009 2013-05-30  Jeff Law  <law@redhat.com>
58011         [BZ #14256]
58012         * manual/errno.texi (ESTALE): Update to account for more than
58013         just NFS file systems.
58014         * sysdeps/gnu/errlist.c: Regenerated.
58016 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58018         [BZ #15465]
58019         * elf/Makefile (tests): Add tst-null-argv.
58020         (modules-names):  Add tst-null-argv-lib.
58021         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58022         (tst-null-argv-ENV): Set environment for tst-null-argv.
58023         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58024         (RTLD_PROGNAME): New macro.
58025         * elf/tst-null-argv.c: New test case.
58026         * elf/tst-null-argv-lib.c: Library for test case.
58027         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58028         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58029         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58030         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58031         * elf/dl-init.c (call_init): Likewise.
58032         (_dl_init): Likewise.
58033         * elf/dl-load.c (print_search_path): Likewise.
58034         (_dl_map_object): Likewise.
58035         * elf/dl-lookup.c (do_lookup_x): Likewise.
58036         (add_dependency): Likewise.
58037         (_dl_lookup_symbol_x): Likewise.
58038         (_dl_debug_bindings): Likewise.
58039         * elf/dl-open.c (_dl_show_scope): Likewise.
58040         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58041         * elf/dl-version.c (match_symbol): Likewise.
58042         (_dl_check_map_versions): Likewise.
58043         * elf/rtld.c (dl_main): Likewise.
58044         (print_unresolved): Use RTLD_PROGNAME.
58045         (print_missing_version): Likewise.
58046         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58047         (elf_machine_rela): Likewise.
58048         * sysdeps/powerpc/powerpc32/dl-machine.c
58049         (__process_machine_rela): Likewise.
58050         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58051         Likewise.
58052         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58053         Likewise.
58054         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58055         Likewise.
58056         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58057         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58058         Likewise.
58059         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58060         Likewise.
58061         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58063 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58065         * po/be.po: Add descriptive title.
58066         * po/zh_CN.po: Likewise.
58067         * po/header.pot: Likewise.
58069 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58071         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58072         error message.
58073         (enlarge_archive): Likewise.
58075 2013-05-28  Ben North  <ben@redfrontdoor.org>
58077         * manual/arith.texi (frexp): It is the magnitude of the return
58078         value which lies in [0.5, 1), not the return value itself.
58080 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58084 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58086         * stdio-common/bug26.c (main): Correct fscanf template.
58088         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58089         declare _dl_skip_args.
58091         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58092         Don't declare.
58094         * manual/platform.texi: Add missing @end deftypefun.
58096 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58098         [BZ #15529]
58099         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58100         bit of mantissa of 2^16382.
58101         * math/libm-test.inc (hypot_test_data): Add more tests.
58103         * math/libm-test.inc: Add drem and pow10 to list of tested
58104         functions.
58105         (pow10_test): New function.
58106         (drem_test): Likewise.
58107         (drem_test_tonearest): Likewise.
58108         (drem_test_towardzero): Likewise.
58109         (drem_test_downward): Likewise.
58110         (drem_test_upward): Likewise.
58111         (main): Call the new functions.
58113         * math/libm-test.inc (finite_test_data): Remove.
58114         (finite_test): Run tests from isfinite_test_data.
58115         (gamma_test_data): Remove.
58116         (gamma_test): Run tests from lgamma_test_data.
58117         * sysdeps/i386/fpu/libm-test-ulps: Update.
58118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58120 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58122         * manual/platform.texi: Add PowerPC PPR function set documentation.
58123         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58124         implementation.
58126 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58128         * math/libm-test.inc (MAX_EXP): Define.
58129         (ULPDIFF): Define.
58130         (ulp): New function.
58131         (check_float_internal): Use ULPDIFF.
58132         (cpow_test): Disable failing test.
58133         (check_ulp): Test ulp() implementation.
58134         (main): Call check_ulp before starting tests.
58136 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58138         * math/gen-libm-test.pl (generate_testfile): Do not handle
58139         START_DATA and END_DATA.
58140         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58141         END_DATA.
58142         (acos_tonearest_test_data): Likewise.
58143         (acos_towardzero_test_data): Likewise.
58144         (acos_downward_test_data): Likewise.
58145         (acos_upward_test_data): Likewise.
58146         (acosh_test_data): Likewise.
58147         (asin_test_data): Likewise.
58148         (asin_tonearest_test_data): Likewise.
58149         (asin_towardzero_test_data): Likewise.
58150         (asin_downward_test_data): Likewise.
58151         (asin_upward_test_data): Likewise.
58152         (asinh_test_data): Likewise.
58153         (atan_test_data): Likewise.
58154         (atanh_test_data): Likewise.
58155         (atan2_test_data): Likewise.
58156         (cabs_test_data): Likewise.
58157         (cacos_test_data): Likewise.
58158         (cacosh_test_data): Likewise.
58159         (carg_test_data): Likewise.
58160         (casin_test_data): Likewise.
58161         (casinh_test_data): Likewise.
58162         (catan_test_data): Likewise.
58163         (catanh_test_data): Likewise.
58164         (cbrt_test_data): Likewise.
58165         (ccos_test_data): Likewise.
58166         (ccosh_test_data): Likewise.
58167         (ceil_test_data): Likewise.
58168         (cexp_test_data): Likewise.
58169         (cimag_test_data): Likewise.
58170         (clog_test_data): Likewise.
58171         (clog10_test_data): Likewise.
58172         (conj_test_data): Likewise.
58173         (copysign_test_data): Likewise.
58174         (cos_test_data): Likewise.
58175         (cos_tonearest_test_data): Likewise.
58176         (cos_towardzero_test_data): Likewise.
58177         (cos_downward_test_data): Likewise.
58178         (cos_upward_test_data): Likewise.
58179         (cosh_test_data): Likewise.
58180         (cosh_tonearest_test_data): Likewise.
58181         (cosh_towardzero_test_data): Likewise.
58182         (cosh_downward_test_data): Likewise.
58183         (cosh_upward_test_data): Likewise.
58184         (cpow_test_data): Likewise.
58185         (cproj_test_data): Likewise.
58186         (creal_test_data): Likewise.
58187         (csin_test_data): Likewise.
58188         (csinh_test_data): Likewise.
58189         (csqrt_test_data): Likewise.
58190         (ctan_test_data): Likewise.
58191         (ctan_tonearest_test_data): Likewise.
58192         (ctan_towardzero_test_data): Likewise.
58193         (ctan_downward_test_data): Likewise.
58194         (ctan_upward_test_data): Likewise.
58195         (ctanh_test_data): Likewise.
58196         (ctanh_tonearest_test_data): Likewise.
58197         (ctanh_towardzero_test_data): Likewise.
58198         (ctanh_downward_test_data): Likewise.
58199         (ctanh_upward_test_data): Likewise.
58200         (erf_test_data): Likewise.
58201         (erfc_test_data): Likewise.
58202         (exp_test_data): Likewise.
58203         (exp_tonearest_test_data): Likewise.
58204         (exp_towardzero_test_data): Likewise.
58205         (exp_downward_test_data): Likewise.
58206         (exp_upward_test_data): Likewise.
58207         (exp10_test_data): Likewise.
58208         (exp2_test_data): Likewise.
58209         (expm1_test_data): Likewise.
58210         (fabs_test_data): Likewise.
58211         (fdim_test_data): Likewise.
58212         (finite_test_data): Likewise.
58213         (floor_test_data): Likewise.
58214         (fma_test_data): Likewise.
58215         (fma_towardzero_test_data): Likewise.
58216         (fma_downward_test_data): Likewise.
58217         (fma_upward_test_data): Likewise.
58218         (fmax_test_data): Likewise.
58219         (fmin_test_data): Likewise.
58220         (fmod_test_data): Likewise.
58221         (fpclassify_test_data): Likewise.
58222         (frexp_test_data): Likewise.
58223         (gamma_test_data): Likewise.
58224         (hypot_test_data): Likewise.
58225         (ilogb_test_data): Likewise.
58226         (isfinite_test_data): Likewise.
58227         (isgreater_test_data): Likewise.
58228         (isgreaterequal_test_data): Likewise.
58229         (isinf_test_data): Likewise.
58230         (isless_test_data): Likewise.
58231         (islessequal_test_data): Likewise.
58232         (islessgreater_test_data): Likewise.
58233         (isnan_test_data): Likewise.
58234         (isnormal_test_data): Likewise.
58235         (issignaling_test_data): Likewise.
58236         (isunordered_test_data): Likewise.
58237         (j0_test_data): Likewise.
58238         (j1_test_data): Likewise.
58239         (jn_test_data): Likewise.
58240         (ldexp_test_data): Likewise.
58241         (lgamma_test_data): Likewise.
58242         (lrint_test_data): Likewise.
58243         (lrint_tonearest_test_data): Likewise.
58244         (lrint_towardzero_test_data): Likewise.
58245         (lrint_downward_test_data): Likewise.
58246         (lrint_upward_test_data): Likewise.
58247         (llrint_test_data): Likewise.
58248         (llrint_tonearest_test_data): Likewise.
58249         (llrint_towardzero_test_data): Likewise.
58250         (llrint_downward_test_data): Likewise.
58251         (llrint_upward_test_data): Likewise.
58252         (log_test_data): Likewise.
58253         (log10_test_data): Likewise.
58254         (log1p_test_data): Likewise.
58255         (log2_test_data): Likewise.
58256         (logb_test_data): Likewise.
58257         (logb_downward_test_data): Likewise.
58258         (lround_test_data): Likewise.
58259         (llround_test_data): Likewise.
58260         (modf_test_data): Likewise.
58261         (nearbyint_test_data): Likewise.
58262         (nextafter_test_data): Likewise.
58263         (nexttoward_test_data): Likewise.
58264         (pow_test_data): Likewise.
58265         (pow_tonearest_test_data): Likewise.
58266         (pow_towardzero_test_data): Likewise.
58267         (pow_downward_test_data): Likewise.
58268         (pow_upward_test_data): Likewise.
58269         (remainder_test_data): Likewise.
58270         (remainder_tonearest_test_data): Likewise.
58271         (remainder_towardzero_test_data): Likewise.
58272         (remainder_downward_test_data): Likewise.
58273         (remainder_upward_test_data): Likewise.
58274         (remquo_test_data): Likewise.
58275         (rint_test_data): Likewise.
58276         (rint_tonearest_test_data): Likewise.
58277         (rint_towardzero_test_data): Likewise.
58278         (rint_downward_test_data): Likewise.
58279         (rint_upward_test_data): Likewise.
58280         (round_test_data): Likewise.
58281         (scalb_test_data): Likewise.
58282         (scalbn_test_data): Likewise.
58283         (scalbln_test_data): Likewise.
58284         (signbit_test_data): Likewise.
58285         (sin_test_data): Likewise.
58286         (sin_tonearest_test_data): Likewise.
58287         (sin_towardzero_test_data): Likewise.
58288         (sin_downward_test_data): Likewise.
58289         (sin_upward_test_data): Likewise.
58290         (sincos_test_data): Likewise.
58291         (sinh_test_data): Likewise.
58292         (sinh_tonearest_test_data): Likewise.
58293         (sinh_towardzero_test_data): Likewise.
58294         (sinh_downward_test_data): Likewise.
58295         (sinh_upward_test_data): Likewise.
58296         (sqrt_test_data): Likewise.
58297         (tan_test_data): Likewise.
58298         (tan_tonearest_test_data): Likewise.
58299         (tan_towardzero_test_data): Likewise.
58300         (tan_downward_test_data): Likewise.
58301         (tan_upward_test_data): Likewise.
58302         (tanh_test_data): Likewise.
58303         (tgamma_test_data): Likewise.
58304         (trunc_test_data): Likewise.
58305         (y0_test_data): Likewise.
58306         (y1_test_data): Likewise.
58307         (yn_test_data): Likewise.
58308         (significand_test_data): Likewise.
58310         * math/gen-libm-test.pl (@functions): Remove variable.
58311         (generate_testfile): Don't handle START and END lines.
58312         * math/libm-test.inc (START): New macro.
58313         (END): Likewise.
58314         (END_COMPLEX): Likewise.
58315         (acos_test): Use END macro without arguments.
58316         (acos_test_tonearest): Likewise.
58317         (acos_test_towardzero): Likewise.
58318         (acos_test_downward): Likewise.
58319         (acos_test_upward): Likewise.
58320         (acosh_test): Likewise.
58321         (asin_test): Likewise.
58322         (asin_test_tonearest): Likewise.
58323         (asin_test_towardzero): Likewise.
58324         (asin_test_downward): Likewise.
58325         (asin_test_upward): Likewise.
58326         (asinh_test): Likewise.
58327         (atan_test): Likewise.
58328         (atanh_test): Likewise.
58329         (atan2_test): Likewise.
58330         (cabs_test): Likewise.
58331         (cacos_test): Use END_COMPLEX macro without arguments.
58332         (cacosh_test): Likewise.
58333         (carg_test): Use END macro without arguments.
58334         (casin_test): Use END_COMPLEX macro without arguments.
58335         (casinh_test): Likewise.
58336         (catan_test): Likewise.
58337         (catanh_test): Likewise.
58338         (cbrt_test): Use END macro without arguments.
58339         (ccos_test): Use END_COMPLEX macro without arguments.
58340         (ccosh_test): Likewise.
58341         (ceil_test): Use END macro without arguments.
58342         (cexp_test): Use END_COMPLEX macro without arguments.
58343         (cimag_test): Use END macro without arguments.
58344         (clog_test): Use END_COMPLEX macro without arguments.
58345         (clog10_test): Likewise.
58346         (conj_test): Likewise.
58347         (copysign_test): Use END macro without arguments.
58348         (cos_test): Likewise.
58349         (cos_test_tonearest): Likewise.
58350         (cos_test_towardzero): Likewise.
58351         (cos_test_downward): Likewise.
58352         (cos_test_upward): Likewise.
58353         (cosh_test): Likewise.
58354         (cosh_test_tonearest): Likewise.
58355         (cosh_test_towardzero): Likewise.
58356         (cosh_test_downward): Likewise.
58357         (cosh_test_upward): Likewise.
58358         (cpow_test): Use END_COMPLEX macro without arguments.
58359         (cproj_test): Likewise.
58360         (creal_test): Use END macro without arguments.
58361         (csin_test): Use END_COMPLEX macro without arguments.
58362         (csinh_test): Likewise.
58363         (csqrt_test): Likewise.
58364         (ctan_test): Likewise.
58365         (ctan_test_tonearest): Likewise.
58366         (ctan_test_towardzero): Likewise.
58367         (ctan_test_downward): Likewise.
58368         (ctan_test_upward): Likewise.
58369         (ctanh_test): Likewise.
58370         (ctanh_test_tonearest): Likewise.
58371         (ctanh_test_towardzero): Likewise.
58372         (ctanh_test_downward): Likewise.
58373         (ctanh_test_upward): Likewise.
58374         (erf_test): Use END macro without arguments.
58375         (erfc_test): Likewise.
58376         (exp_test): Likewise.
58377         (exp_test_tonearest): Likewise.
58378         (exp_test_towardzero): Likewise.
58379         (exp_test_downward): Likewise.
58380         (exp_test_upward): Likewise.
58381         (exp10_test): Likewise.
58382         (exp2_test): Likewise.
58383         (expm1_test): Likewise.
58384         (fabs_test): Likewise.
58385         (fdim_test): Likewise.
58386         (finite_test): Likewise.
58387         (floor_test): Likewise.
58388         (fma_test): Likewise.
58389         (fma_test_towardzero): Likewise.
58390         (fma_test_downward): Likewise.
58391         (fma_test_upward): Likewise.
58392         (fmax_test): Likewise.
58393         (fmin_test): Likewise.
58394         (fmod_test): Likewise.
58395         (fpclassify_test): Likewise.
58396         (frexp_test): Likewise.
58397         (gamma_test): Likewise.
58398         (hypot_test): Likewise.
58399         (ilogb_test): Likewise.
58400         (isfinite_test): Likewise.
58401         (isgreater_test): Likewise.
58402         (isgreaterequal_test): Likewise.
58403         (isinf_test): Likewise.
58404         (isless_test): Likewise.
58405         (islessequal_test): Likewise.
58406         (islessgreater_test): Likewise.
58407         (isnan_test): Likewise.
58408         (isnormal_test): Likewise.
58409         (issignaling_test): Likewise.
58410         (isunordered_test): Likewise.
58411         (j0_test): Likewise.
58412         (j1_test): Likewise.
58413         (jn_test): Likewise.
58414         (ldexp_test): Likewise.
58415         (lgamma_test): Likewise.
58416         (lrint_test): Likewise.
58417         (lrint_test_tonearest): Likewise.
58418         (lrint_test_towardzero): Likewise.
58419         (lrint_test_downward): Likewise.
58420         (lrint_test_upward): Likewise.
58421         (llrint_test): Likewise.
58422         (llrint_test_tonearest): Likewise.
58423         (llrint_test_towardzero): Likewise.
58424         (llrint_test_downward): Likewise.
58425         (llrint_test_upward): Likewise.
58426         (log_test): Likewise.
58427         (log10_test): Likewise.
58428         (log1p_test): Likewise.
58429         (log2_test): Likewise.
58430         (logb_test): Likewise.
58431         (logb_test_downward): Likewise.
58432         (lround_test): Likewise.
58433         (llround_test): Likewise.
58434         (modf_test): Likewise.
58435         (nearbyint_test): Likewise.
58436         (nextafter_test): Likewise.
58437         (nexttoward_test): Likewise.
58438         (pow_test): Likewise.
58439         (pow_test_tonearest): Likewise.
58440         (pow_test_towardzero): Likewise.
58441         (pow_test_downward): Likewise.
58442         (pow_test_upward): Likewise.
58443         (remainder_test): Likewise.
58444         (remainder_test_tonearest): Likewise.
58445         (remainder_test_towardzero): Likewise.
58446         (remainder_test_downward): Likewise.
58447         (remainder_test_upward): Likewise.
58448         (remquo_test): Likewise.
58449         (rint_test): Likewise.
58450         (rint_test_tonearest): Likewise.
58451         (rint_test_towardzero): Likewise.
58452         (rint_test_downward): Likewise.
58453         (rint_test_upward): Likewise.
58454         (round_test): Likewise.
58455         (scalb_test): Likewise.
58456         (scalbn_test): Likewise.
58457         (scalbln_test): Likewise.
58458         (signbit_test): Likewise.
58459         (sin_test): Likewise.
58460         (sin_test_tonearest): Likewise.
58461         (sin_test_towardzero): Likewise.
58462         (sin_test_downward): Likewise.
58463         (sin_test_upward): Likewise.
58464         (sincos_test): Likewise.
58465         (sinh_test): Likewise.
58466         (sinh_test_tonearest): Likewise.
58467         (sinh_test_towardzero): Likewise.
58468         (sinh_test_downward): Likewise.
58469         (sinh_test_upward): Likewise.
58470         (sqrt_test): Likewise.
58471         (tan_test): Likewise.
58472         (tan_test_tonearest): Likewise.
58473         (tan_test_towardzero): Likewise.
58474         (tan_test_downward): Likewise.
58475         (tan_test_upward): Likewise.
58476         (tanh_test): Likewise.
58477         (tgamma_test): Likewise.
58478         (trunc_test): Likewise.
58479         (y0_test): Likewise.
58480         (y1_test): Likewise.
58481         (yn_test): Likewise.
58482         (significand_test): Likewise.
58484 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
58486         [BZ #15381]
58487         * libio/genops.c (_IO_no_init): Initialize wide struct info.
58489 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58491         [BZ #14894]
58492         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
58493         __ppc_mdoio and __ppc_mdoom.
58494         * manual/platform.texi: Document new functions __ppc_yield,
58495         __ppc_mdoio and __ppc_mdoom.
58497 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
58499         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
58500         (main): Mention "tls" pseudo-hwcap is legacy.
58501         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
58503 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58505         * math/gen-libm-test.pl (parse_args): Output only string of
58506         arguments as text for test name, not full call or descriptions of
58507         tests for extra outputs.
58508         (generate_testfile): Do not pass function name to parse_args.
58509         Generate this_func variable from START.
58510         * math/libm-test.inc (struct test_f_f_data): Rename test_name
58511         field to arg_str.
58512         (struct test_ff_f_data): Likewise.
58513         (test_ff_f_data_nexttoward): Likewise.
58514         (struct test_fi_f_data): Likewise.
58515         (struct test_fl_f_data): Likewise.
58516         (struct test_if_f_data): Likewise.
58517         (struct test_fff_f_data): Likewise.
58518         (struct test_c_f_data): Likewise.
58519         (struct test_f_f1_data): Likewise.  Remove field extra_name.
58520         (struct test_fF_f1_data): Likewise.
58521         (struct test_ffI_f1_data): Likewise.
58522         (struct test_c_c_data): Rename test_name field to arg_str.
58523         (struct test_cc_c_data): Likewise.
58524         (struct test_f_i_data): Likewise.
58525         (struct test_ff_i_data): Likewise.
58526         (struct test_f_l_data): Likewise.
58527         (struct test_f_L_data): Likewise.
58528         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
58529         and extra2_name.
58530         (COMMON_TEST_SETUP): New macro.
58531         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
58532         (COMMON_TEST_CLEANUP): Likewise.
58533         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
58534         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
58535         macros.
58536         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
58537         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
58538         macros.
58539         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
58540         (RUN_TEST_fff_f): Take argument string.  Call new setup and
58541         cleanup macros.
58542         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
58543         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
58544         macros.
58545         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
58546         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
58547         macros.
58548         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58549         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
58550         cleanup macros.
58551         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58552         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
58553         cleanup macros.
58554         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58555         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
58556         cleanup macros.
58557         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58558         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
58559         macros.
58560         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
58561         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
58562         macros.
58563         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
58564         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
58565         macros.
58566         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
58567         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
58568         cleanup macros.
58569         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
58570         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
58571         cleanup macros.
58572         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
58573         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
58574         macros.
58575         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
58576         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
58577         cleanup macros.
58578         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
58579         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
58580         macros.
58581         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
58582         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
58583         macros.
58584         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
58585         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
58586         cleanup macros.
58587         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
58589 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
58591         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
58592         to _sifields.sigfault.
58593         (si_addr_lsb): Define new macro.
58594         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58595         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58596         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
58598 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
58600         [BZ #15441]
58601         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
58602         returns -1.
58603         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
58604         null return -1.
58605         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
58606         loading the domain.
58608 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58610         * math/gen-libm-test.pl (parse_args): Do not include expected
58611         result in test name.
58612         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
58613         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58614         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58615         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58616         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58619 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58621         * benchtests/Makefile: Sort function entries.
58623         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
58624         tanh, asinh, acosh, atanh.
58625         * benchtests/acos-inputs: New file.
58626         * benchtests/acosh-inputs: New file.
58627         * benchtests/asin-inputs: New file.
58628         * benchtests/asinh-inputs: New file.
58629         * benchtests/atanh-inputs: New file.
58630         * benchtests/cosh-inputs: New file.
58631         * benchtests/log-inputs: New file.
58632         * benchtests/sinh-inputs: New file.
58633         * benchtests/tanh-inputs: New file.
58635 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
58637         [BZ #15339]
58638         * posix/tst-getaddrinfo4.c: New test.
58639         * posix/Makefile (tests): Add it.
58641 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58643         [BZ #15339]
58644         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
58645         when no services were used.
58646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
58647         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
58649 2013-05-21  Andreas Schwab  <schwab@suse.de>
58651         [BZ #15014]
58652         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
58653         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
58654         successful.
58655         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
58656         redundant variable declarations and reallocation of buffer when
58657         parsing as IPv6 address.  Always set NSS status when called from
58658         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
58659         buffer too small.  Correct computation of needed size.
58660         * nss/Makefile (tests): Add test-digits-dots.
58661         * nss/test-digits-dots.c: New test.
58663 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58665         * benchtests/Makefile: Remove instructions for adding
58666         benchmark tests.
58667         * benchtests/README: New file to explain how to execute and
58668         enhance the benchmark tests.
58670 2013-05-21  Andreas Schwab  <schwab@suse.de>
58672         [BZ #15493]
58673         * setjmp/Makefile (tests): Add tst-sigsetjmp.
58674         * setjmp/tst-sigsetjmp.c: New test.
58676 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58678         * sysdeps/x86_64/memset.S (memset): New implementation.
58679         (__bzero): Likewise.
58680         (__memset_tail): New function.
58682 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58684         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
58685         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
58686         __memcpy_sse2_unaligned ifunc selection.
58687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58688         Add memcpy-sse2-unaligned.S.
58689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58690         Add: __memcpy_sse2_unaligned.
58692 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
58694         [BZ #15490]
58695         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58696         math_force_eval before restoring floating-point envrionment.
58697         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
58698         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
58699         Likewise.
58700         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
58701         <math_private.h>.
58702         (__nearbyintl): Use math_force_eval before restoring
58703         floating-point environment.
58704         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
58706         * math/gen-libm-test.pl (special_functions): Remove.
58707         (parse_args): Don't handle TEST_extra.  Handle functions with no
58708         return value.
58709         * math/libm-test.inc (struct test_sincos_data): Replace with
58710         struct test_fFF_11_data.
58711         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
58712         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
58713         (sincos_test_data): Change element type to struct
58714         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
58715         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
58716         RUN_TEST_LOOP_sincos.
58717         * math/README.libm-test: Don't mention special handling of
58718         individual functions.
58719         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
58720         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58721         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58722         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58723         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58726         * math/gen-libm-test.pl (get_variable): Remove function.
58727         (parse_args): Don't show pointer parameters to call in test
58728         names.  Use "extra output N" in test names for extra outputs
58729         rather than naming variables.
58731 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
58733         [BZ #15488]
58734         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
58735         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
58736         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
58737         double tests.
58738         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58739         disable.
58740         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
58741         check_long_double.
58743         * math/gen-libm-test.pl (@tests): Remove variable.
58744         ($count): Likewise.
58745         (new_test): Remove function.
58746         (show_exceptions): New function.
58747         (special_functions): Use show_exceptions instead of new_test.
58748         (parse_args): Likewise.
58749         (generate_testfile): Pass only function name in generated call to
58750         print_max_error or print_complex_max_error.
58751         (get_ulps): Do not handle complex tests specially.
58752         (output_test): Rename to ...
58753         (get_all_ulps_for_test): ... this.  Return a string rather than
58754         printing to a file.  Require ulps to be present.
58755         (output_ulps): Generate arrays rather than #defines.
58756         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
58757         (struct ulp_data): New type.
58758         (BUILD_COMPLEX_ULP): Remove macro.
58759         (compare_ulp_data): New function.
58760         (find_ulps): Likewise.
58761         (find_test_ulps): Likewise.
58762         (find_function_ulps): Likewise.
58763         (find_complex_function_ulps): Likewise.
58764         (print_max_error): Determine allowed ulps using
58765         find_function_ulps.
58766         (print_complex_max_error): Determine allowed ulps using
58767         find_complex_function_ulps.
58768         (check_float_internal): Determine max ulps using find_test_ulps.
58769         (check_float): Do not take max_ulp parameter.  Update call to
58770         check_float_internal.
58771         (check_complex): Likewise.
58772         (check_int): Do not take max_ulp parameter.
58773         (check_long): Likewise.
58774         (check_bool): Likewise.
58775         (check_longlong): Likewise.
58776         (struct test_f_f_data): Remove max_ulp field.
58777         (struct test_ff_f_data): Likewise.
58778         (struct test_ff_f_data_nexttoward): Likewise.
58779         (struct test_fi_f_data): Likewise.
58780         (struct test_fl_f_data): Likewise.
58781         (struct test_if_f_data): Likewise.
58782         (struct test_fff_f_data): Likewise.
58783         (struct test_c_f_data): Likewise.
58784         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58785         (struct test_fF_f1_data): Likewise.
58786         (struct test_ffI_f1_data): Likewise.
58787         (struct test_c_c_data): Remove max_ulp field.
58788         (struct test_cc_c_data): Likewise.
58789         (struct test_f_i_data): Likewise.
58790         (struct test_ff_i_data): Likewise.
58791         (struct test_f_l_data): Likewise.
58792         (struct test_f_L_data): Likewise.
58793         (struct test_sincos_data): Likewise.
58794         (RUN_TEST_f_f): Do not handle ulps.
58795         (RUN_TEST_LOOP_f_f): Likewise.
58796         (RUN_TEST_2_f): Likewise.
58797         (RUN_TEST_LOOP_2_f): Likewise.
58798         (RUN_TEST_fff_f): Likewise.
58799         (RUN_TEST_LOOP_fff_f): Likewise.
58800         (RUN_TEST_c_f): Likewise.
58801         (RUN_TEST_LOOP_c_f): Likewise.
58802         (RUN_TEST_f_f1): Likewise.
58803         (RUN_TEST_LOOP_f_f1): Likewise.
58804         (RUN_TEST_fF_f1): Likewise.
58805         (RUN_TEST_LOOP_fF_f1): Likewise.
58806         (RUN_TEST_fI_f1): Likewise.
58807         (RUN_TEST_LOOP_fI_f1): Likewise.
58808         (RUN_TEST_ffI_f1): Likewise.
58809         (RUN_TEST_LOOP_ffI_f1): Likewise.
58810         (RUN_TEST_c_c): Likewise.
58811         (RUN_TEST_LOOP_c_c): Likewise.
58812         (RUN_TEST_cc_c): Likewise.
58813         (RUN_TEST_LOOP_cc_c): Likewise.
58814         (RUN_TEST_f_i): Likewise.
58815         (RUN_TEST_LOOP_f_i): Likewise.
58816         (RUN_TEST_f_i_tg): Likewise.
58817         (RUN_TEST_LOOP_f_i_tg): Likewise.
58818         (RUN_TEST_ff_i_tg): Likewise.
58819         (RUN_TEST_LOOP_ff_i_tg): Likewise.
58820         (RUN_TEST_f_b): Likewise.
58821         (RUN_TEST_LOOP_f_b): Likewise.
58822         (RUN_TEST_f_b_tg): Likewise.
58823         (RUN_TEST_LOOP_f_b_tg): Likewise.
58824         (RUN_TEST_f_l): Likewise.
58825         (RUN_TEST_LOOP_f_l): Likewise.
58826         (RUN_TEST_f_L): Likewise.
58827         (RUN_TEST_LOOP_f_L): Likewise.
58828         (RUN_TEST_sincos): Likewise.
58829         (RUN_TEST_LOOP_sincos): Likewise.
58831 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
58833         [BZ #15480]
58834         [BZ #15485]
58835         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
58836         main case of finite arguments, set rounding mode to FE_TONEAREST
58837         and discard exceptions.
58838         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
58839         exceptions.
58840         (remainder_tonearest_test_data): New variable.
58841         (remainder_test_tonearest): New function.
58842         (remainder_towardzero_test_data): New variable.
58843         (remainder_test_towardzero): New function.
58844         (remainder_downward_test_data): New variable.
58845         (remainder_test_downward): New function.
58846         (remainder_upward_test_data): New variable.
58847         (remainder_test_upward): New function.
58848         (main): Call the new test functions.
58850         * math/libm-test.inc (struct test_f_f1_data): Remove field
58851         extra_init.
58852         (struct test_fF_f1_data): Likewise.
58853         (struct test_ffI_f1_data): Likewise.
58854         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
58855         based on value of EXTRA_EXPECTED.
58856         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58857         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
58858         EXTRA_VAR based on value of EXTRA_EXPECTED.
58859         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58860         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
58861         EXTRA_VAR based on value of EXTRA_EXPECTED.
58862         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58863         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
58864         EXTRA_VAR based on value of EXTRA_EXPECTED.
58865         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58866         * math/gen-libm-test.pl (parse_args): Don't output initializers
58867         for extra output values.
58869         * math/libm-test.inc (check_int): Expect result to be exactly
58870         equal to expected value and do not handle ulps.
58871         (check_long): Likewise.
58872         (check_longlong): Likewise.
58874         * math/libm-test.inc (ceil_test_data): Test for "inexact"
58875         exceptions.
58876         (cimag_test_data): Likewise.
58877         (conj_test_data): Likewise.
58878         (copysign_test_data): Likewise.
58879         (cproj_test_data): Likewise.
58880         (creal_test_data): Likewise.
58881         (fabs_test_data): Likewise.
58882         (fdim_test_data): Likewise.
58883         (finite_test_data): Likewise.
58884         (floor_test_data): Likewise.
58885         (fmax_test_data): Likewise.
58886         (fmin_test_data): Likewise.
58887         (fmod_test_data): Likewise.
58888         (fpclassify_test_data): Likewise.
58889         (frexp_test_data): Likewise.
58890         (ilogb_test_data): Likewise.
58891         (isfinite_test_data): Likewise.
58892         (isgreater_test_data): Likewise.
58893         (isgreaterequal_test_data): Likewise.
58894         (isinf_test_data): Likewise.
58895         (isless_test_data): Likewise.
58896         (islessequal_test_data): Likewise.
58897         (islessgreater_test_data): Likewise.
58898         (isnan_test_data): Likewise.
58899         (isnormal_test_data): Likewise.
58900         (issignaling_test_data): Likewise.
58901         (isunordered_test_data): Likewise.
58902         (ldexp_test_data): Likewise.
58903         (lrint_test_data): Likewise.
58904         (lrint_test_data) [TEST_FLOAT]: Disable one test.
58905         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
58906         (lrint_tonearest_test_data): Test for "inexact" exceptions.
58907         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58908         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
58909         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58910         test input.
58911         (lrint_towardzero_test_data): Test for "inexact" exceptions.
58912         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58913         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
58914         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
58915         that test input.
58916         (lrint_downward_test_data): Test for "inexact" exceptions.
58917         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58918         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
58919         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58920         test input.
58921         (lrint_upward_test_data): Test for "inexact" exceptions.
58922         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
58923         test input.
58924         (llrint_test_data): Test for "inexact" exceptions.
58925         (llrint_test_data) [TEST_FLOAT]: Disable one test.
58926         (llrint_tonearest_test_data): Test for "inexact" exceptions.
58927         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58928         (llrint_towardzero_test_data): Test for "inexact" exceptions.
58929         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58930         (llrint_downward_test_data): Test for "inexact" exceptions.
58931         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58932         (llrint_upward_test_data): Test for "inexact" exceptions.
58933         (logb_test_data): Likewise.
58934         (logb_downward_test_data): Likewise.
58935         (nextafter_test_data): Likewise.
58936         (nexttoward_test_data): Likewise.
58937         (remainder_test_data): Likewise.
58938         (remquo_test_data): Likewise.
58939         (scalbn_test_data): Likewise.
58940         (scalbln_test_data): Likewise.
58941         (signbit_test_data): Likewise.
58942         (sqrt_test_data): Likewise.
58943         (significand_test_data): Likewise.
58945 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58947         [BZ #15424]
58948         * benchtests/bench-modf.c (struct args): Mark arg0 as
58949         volatile.
58950         * scripts/bench.pl: Mark members of struct args as volatile.
58952 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58954         [BZ # 15497]
58955         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
58956         negative infinity on POWER6 or lower.
58957         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
58959 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
58961         [BZ #15442]
58962         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
58963         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
58964         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
58965         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
58966         (_FP_SETQNAN): New macro.
58967         (_FP_SETQNAN_SEMIRAW): Likewise.
58968         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
58969         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
58970         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
58971         (FP_EXTEND): Use _FP_FRAC_SNANP.
58972         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
58973         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
58974         into account.
58975         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58976         New macro.
58977         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58978         Likewise.
58980 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58982         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
58983         with DIVIDE_BY_ZERO_EXCEPTION.
58984         (gamma_test_data): Likewise.
58985         (lgamma_test_data): Likewise.
58986         (log_test_data): Likewise.
58987         (log10_test_data): Likewise.
58988         (log2_test_data): Likewise.
58989         (tgamma_test_data): Likewise.
58991         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
58992         (acos_test_tonearest): Likewise.
58993         (acos_test_towardzero): Likewise.
58994         (acos_test_downward): Likewise.
58995         (acos_test_upward): Likewise.
58996         (acosh_test): Likewise.
58997         (asin_test): Likewise.
58998         (asin_test_tonearest): Likewise.
58999         (asin_test_towardzero): Likewise.
59000         (asin_test_downward): Likewise.
59001         (asin_test_upward): Likewise.
59002         (asinh_test): Likewise.
59003         (atan_test): Likewise.
59004         (atanh_test): Likewise.
59005         (atan2_test): Likewise.
59006         (cabs_test): Likewise.
59007         (cacos_test): Likewise.
59008         (cacosh_test): Likewise.
59009         (casin_test): Likewise.
59010         (casinh_test): Likewise.
59011         (catan_test): Likewise.
59012         (catanh_test): Likewise.
59013         (cbrt_test): Likewise.
59014         (ccos_test): Likewise.
59015         (ccosh_test): Likewise.
59016         (cexp_test): Likewise.
59017         (clog_test): Likewise.
59018         (clog10_test): Likewise.
59019         (cos_test): Likewise.
59020         (cos_test_tonearest): Likewise.
59021         (cos_test_towardzero): Likewise.
59022         (cos_test_downward): Likewise.
59023         (cos_test_upward): Likewise.
59024         (cosh_test): Likewise.
59025         (cosh_test_tonearest): Likewise.
59026         (cosh_test_towardzero): Likewise.
59027         (cosh_test_downward): Likewise.
59028         (cosh_test_upward): Likewise.
59029         (cpow_test): Likewise.
59030         (csin_test): Likewise.
59031         (csinh_test): Likewise.
59032         (csqrt_test): Likewise.
59033         (ctan_test): Likewise.
59034         (ctan_test_tonearest): Likewise.
59035         (ctan_test_towardzero): Likewise.
59036         (ctan_test_downward): Likewise.
59037         (ctan_test_upward): Likewise.
59038         (ctanh_test): Likewise.
59039         (ctanh_test_tonearest): Likewise.
59040         (ctanh_test_towardzero): Likewise.
59041         (ctanh_test_downward): Likewise.
59042         (ctanh_test_upward): Likewise.
59043         (erf_test): Likewise.
59044         (erfc_test): Likewise.
59045         (exp_test): Likewise.
59046         (exp_test_tonearest): Likewise.
59047         (exp_test_towardzero): Likewise.
59048         (exp_test_downward): Likewise.
59049         (exp_test_upward): Likewise.
59050         (exp10_test): Likewise.
59051         (exp2_test): Likewise.
59052         (expm1_test): Likewise.
59053         (fmod_test): Likewise.
59054         (gamma_test): Likewise.
59055         (hypot_test): Likewise.
59056         (j0_test): Likewise.
59057         (j1_test): Likewise.
59058         (jn_test): Likewise.
59059         (lgamma_test): Likewise.
59060         (log_test): Likewise.
59061         (log10_test): Likewise.
59062         (log1p_test): Likewise.
59063         (log2_test): Likewise.
59064         (logb_test_downward): Likewise.
59065         (pow_test): Likewise.
59066         (pow_test_tonearest): Likewise.
59067         (pow_test_towardzero): Likewise.
59068         (pow_test_downward): Likewise.
59069         (pow_test_upward): Likewise.
59070         (remainder_test): Likewise.
59071         (remquo_test): Likewise.
59072         (sin_test): Likewise.
59073         (sin_test_tonearest): Likewise.
59074         (sin_test_towardzero): Likewise.
59075         (sin_test_downward): Likewise.
59076         (sin_test_upward): Likewise.
59077         (sincos_test): Likewise.
59078         (sinh_test): Likewise.
59079         (sinh_test_tonearest): Likewise.
59080         (sinh_test_towardzero): Likewise.
59081         (sinh_test_downward): Likewise.
59082         (sinh_test_upward): Likewise.
59083         (sqrt_test): Likewise.
59084         (tan_test): Likewise.
59085         (tan_test_tonearest): Likewise.
59086         (tan_test_towardzero): Likewise.
59087         (tan_test_downward): Likewise.
59088         (tan_test_upward): Likewise.
59089         (tanh_test): Likewise.
59090         (tgamma_test): Likewise.
59091         (y0_test): Likewise.
59092         (y1_test): Likewise.
59093         (yn_test): Likewise.
59095         * math/gen-libm-test.pl (adjust_arg): Remove function.
59096         (special_function): Remove argument $in_func.  Only handle
59097         generating output for tables of tests, not inside functions.
59098         (parse_args): Likewise.
59099         (generate_testfile): Remove variable $in_func.  Update call to
59100         parse_args.
59101         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59102         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59103         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59104         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59105         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59106         (MAX_VALUE_INIT): Rename macro to max_value.
59107         (MIN_VALUE_INIT): Rename macro to min_value.
59108         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59109         (plus_zero): Remove variable.
59110         (minus_zero): Likewise.
59111         (plus_infty): Likewise.
59112         (minus_infty): Likewise.
59113         (qnan_value): Likewise.
59114         (max_value): Likewise.
59115         (min_value): Likewise.
59116         (min_subnorm_value): Likewise.
59118 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59120         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59121         uint64_t or uint32_t usage.
59122         * crypt/sha256-block.c: Likewise.
59123         * crypt/sha256-crypt.c: Likewise.
59124         * crypt/sha256.c: Likewise.
59125         * crypt/sha512-block.c: Likewise.
59126         * crypt/sha512-crypt.c: Likewise.
59127         * crypt/sha512.c: Likewise.
59128         * debug/backtrace-tst.c: Likewise.
59129         * debug/pcprofiledump.c: Likewise.
59130         * elf/cache.c: Likewise.
59131         * elf/dl-cache.c: Likewise.
59132         * elf/dl-misc.c: Likewise.
59133         * elf/dl-profile.c: Likewise.
59134         * elf/dl-support.c: Likewise.
59135         * elf/ldconfig.c: Likewise.
59136         * elf/sprof.c: Likewise.
59137         * iconv/dummy-repertoire.c: Likewise.
59138         * iconv/iconv_charmap.c: Likewise.
59139         * iconv/skeleton.c: Likewise.
59140         * iconvdata/8bit-generic.c: Likewise.
59141         * iconvdata/cp737.h: Likewise.
59142         * iconvdata/cp775.h: Likewise.
59143         * iconvdata/ibm1008.h: Likewise.
59144         * iconvdata/ibm1025.h: Likewise.
59145         * iconvdata/ibm1046.h: Likewise.
59146         * iconvdata/ibm1097.h: Likewise.
59147         * iconvdata/ibm1112.h: Likewise.
59148         * iconvdata/ibm1122.h: Likewise.
59149         * iconvdata/ibm1123.h: Likewise.
59150         * iconvdata/ibm1124.h: Likewise.
59151         * iconvdata/ibm1129.h: Likewise.
59152         * iconvdata/ibm1130.h: Likewise.
59153         * iconvdata/ibm1132.h: Likewise.
59154         * iconvdata/ibm1133.h: Likewise.
59155         * iconvdata/ibm1137.h: Likewise.
59156         * iconvdata/ibm1140.h: Likewise.
59157         * iconvdata/ibm1141.h: Likewise.
59158         * iconvdata/ibm1142.h: Likewise.
59159         * iconvdata/ibm1143.h: Likewise.
59160         * iconvdata/ibm1144.h: Likewise.
59161         * iconvdata/ibm1145.h: Likewise.
59162         * iconvdata/ibm1146.h: Likewise.
59163         * iconvdata/ibm1147.h: Likewise.
59164         * iconvdata/ibm1148.h: Likewise.
59165         * iconvdata/ibm1149.h: Likewise.
59166         * iconvdata/ibm1153.h: Likewise.
59167         * iconvdata/ibm1154.h: Likewise.
59168         * iconvdata/ibm1155.h: Likewise.
59169         * iconvdata/ibm1156.h: Likewise.
59170         * iconvdata/ibm1157.h: Likewise.
59171         * iconvdata/ibm1158.h: Likewise.
59172         * iconvdata/ibm1160.h: Likewise.
59173         * iconvdata/ibm1161.h: Likewise.
59174         * iconvdata/ibm1162.h: Likewise.
59175         * iconvdata/ibm1163.h: Likewise.
59176         * iconvdata/ibm1164.h: Likewise.
59177         * iconvdata/ibm1166.h: Likewise.
59178         * iconvdata/ibm1167.h: Likewise.
59179         * iconvdata/ibm12712.h: Likewise.
59180         * iconvdata/ibm1390.h: Likewise.
59181         * iconvdata/ibm1399.h: Likewise.
59182         * iconvdata/ibm16804.h: Likewise.
59183         * iconvdata/ibm4517.h: Likewise.
59184         * iconvdata/ibm4899.h: Likewise.
59185         * iconvdata/ibm4909.h: Likewise.
59186         * iconvdata/ibm4971.h: Likewise.
59187         * iconvdata/ibm5347.h: Likewise.
59188         * iconvdata/ibm803.h: Likewise.
59189         * iconvdata/ibm856.h: Likewise.
59190         * iconvdata/ibm901.h: Likewise.
59191         * iconvdata/ibm902.h: Likewise.
59192         * iconvdata/ibm9030.h: Likewise.
59193         * iconvdata/ibm9066.h: Likewise.
59194         * iconvdata/ibm921.h: Likewise.
59195         * iconvdata/ibm922.h: Likewise.
59196         * iconvdata/ibm9448.h: Likewise.
59197         * iconvdata/isiri-3342.h: Likewise.
59198         * iconvdata/jis0201.h: Likewise.
59199         * include/link.h: Likewise.
59200         * include/netdb.h: Likewise.
59201         * inet/check_native.c: Likewise.
59202         * inet/check_pf.c: Likewise.
59203         * inet/getipv4sourcefilter.c: Likewise.
59204         * inet/getnameinfo.c: Likewise.
59205         * inet/getsourcefilter.c: Likewise.
59206         * inet/htonl.c: Likewise.
59207         * inet/setipv4sourcefilter.c: Likewise.
59208         * inet/setsourcefilter.c: Likewise.
59209         * inet/test-inet6_opt.c: Likewise.
59210         * inet/tst-network.c: Likewise.
59211         * locale/C-collate.c: Likewise.
59212         * locale/C-ctype.c: Likewise.
59213         * locale/C-time.c: Likewise.
59214         * locale/C-translit.h: Likewise.
59215         * locale/loadarchive.c: Likewise.
59216         * locale/programs/3level.h: Likewise.
59217         * locale/programs/charmap.c: Likewise.
59218         * locale/programs/charmap.h: Likewise.
59219         * locale/programs/ld-address.c: Likewise.
59220         * locale/programs/ld-collate.c: Likewise.
59221         * locale/programs/ld-ctype.c: Likewise.
59222         * locale/programs/ld-identification.c: Likewise.
59223         * locale/programs/ld-measurement.c: Likewise.
59224         * locale/programs/ld-messages.c: Likewise.
59225         * locale/programs/ld-monetary.c: Likewise.
59226         * locale/programs/ld-name.c: Likewise.
59227         * locale/programs/ld-numeric.c: Likewise.
59228         * locale/programs/ld-paper.c: Likewise.
59229         * locale/programs/ld-telephone.c: Likewise.
59230         * locale/programs/ld-time.c: Likewise.
59231         * locale/programs/linereader.c: Likewise.
59232         * locale/programs/locale.c: Likewise.
59233         * locale/programs/locarchive.c: Likewise.
59234         * locale/programs/locfile.h: Likewise.
59235         * locale/programs/repertoire.c: Likewise.
59236         * locale/programs/simple-hash.c: Likewise.
59237         * locale/programs/simple-hash.h: Likewise.
59238         * malloc/memusage.c: Likewise.
59239         * malloc/memusagestat.c: Likewise.
59240         * nis/nis_defaults.c: Likewise.
59241         * nis/nis_hash.c: Likewise.
59242         * nis/nis_print.c: Likewise.
59243         * nis/nis_xdr.c: Likewise.
59244         * nscd/connections.c: Likewise.
59245         * nscd/hstcache.c: Likewise.
59246         * nscd/nscd_gethst_r.c: Likewise.
59247         * nscd/nscd_getserv_r.c: Likewise.
59248         * nscd/nscd_helper.c: Likewise.
59249         * nscd/servicescache.c: Likewise.
59250         * nss/makedb.c: Likewise.
59251         * nss/nss_db/db-XXX.c: Likewise.
59252         * nss/nss_db/db-initgroups.c: Likewise.
59253         * nss/nss_db/db-netgrp.c: Likewise.
59254         * nss/nss_files/files-network.c: Likewise.
59255         * nss/nss_files/files-parse.c: Likewise.
59256         * posix/bug-regex5.c: Likewise.
59257         * posix/fnmatch_loop.c: Likewise.
59258         * posix/regcomp.c: Likewise.
59259         * posix/regexec.c: Likewise.
59260         * posix/tst-rfc3484-2.c: Likewise.
59261         * posix/tst-rfc3484-3.c: Likewise.
59262         * posix/tst-rfc3484.c: Likewise.
59263         * resolv/nss_dns/dns-canon.c: Likewise.
59264         * resolv/nss_dns/dns-network.c: Likewise.
59265         * resolv/res_init.c: Likewise.
59266         * resolv/res_mkquery.c: Likewise.
59267         * resolv/tst-aton.c: Likewise.
59268         * stdlib/cxa_atexit.c: Likewise.
59269         * stdlib/cxa_finalize.c: Likewise.
59270         * stdlib/gen-fpioconst.c: Likewise.
59271         * stdlib/strtol_l.c: Likewise.
59272         * string/tst-endian.c: Likewise.
59273         * sunrpc/auth_des.c: Likewise.
59274         * sunrpc/clnt_udp.c: Likewise.
59275         * sunrpc/rtime.c: Likewise.
59276         * sunrpc/svcauth_des.c: Likewise.
59277         * sunrpc/xdr.c: Likewise.
59278         * sunrpc/xdr_intXX_t.c: Likewise.
59279         * sunrpc/xdr_rec.c: Likewise.
59280         * sysdeps/generic/ldconfig.h: Likewise.
59281         * sysdeps/generic/ldsodefs.h: Likewise.
59282         * sysdeps/generic/memusage.h: Likewise.
59283         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59284         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59285         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59286         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59287         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59288         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59289         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59290         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59291         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59293         * sysdeps/posix/getaddrinfo.c: Likewise.
59294         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59295         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59296         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59297         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59298         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59299         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59300         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59301         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59302         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59303         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59304         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59305         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59306         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59307         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59308         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59309         * sysdeps/x86_64/dl-tls.h: Likewise.
59310         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59311         * time/alt_digit.c: Likewise.
59312         * time/era.c: Likewise.
59313         * wcsmbs/tst-c16c32-1.c: Likewise.
59315 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59317         * math/libm-test.inc (struct test_sincos_data): New type.
59318         (RUN_TEST_LOOP_sincos): New macro.
59319         (sincos_test_data): New variable.
59320         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59322 2013-05-16  Richard Henderson  <rth@redhat.com>
59324         * math/atest-exp2.c (LIMB64): New macro.
59325         (CONSTSZ): New macro.
59326         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59327         (hexdig): Move ...
59328         (print_mpn_fp): ... to function scope.
59329         (read_mpn_hex): Remove.
59330         (get_log2): Remove.
59331         (exp2_mpn): Use mp_log2.
59332         (main): Use mp_exp1.
59334 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59336         * math/libm-test.inc: Remove comment about not testing "inexact"
59337         exceptions.
59338         (INEXACT_EXCEPTION): New macro.
59339         (NO_INEXACT_EXCEPTION): Likewise.
59340         (INVALID_EXCEPTION_OK): Update value.
59341         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59342         (OVERFLOW_EXCEPTION_OK): Likewise.
59343         (UNDERFLOW_EXCEPTION_OK): Likewise.
59344         (IGNORE_ZERO_INF_SIGN): Likewise.
59345         (ERRNO_UNCHANGED): Likewise.
59346         (ERRNO_EDOM): Likewise.
59347         (ERRNO_ERANGE): Likewise.
59348         (test_exceptions): Handle testing "inexact" exceptions.
59349         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59350         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59351         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59352         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59353         INEXACT_EXCEPTION.
59354         (rint_towardzero_test_data): Likewise.
59355         (rint_downward_test_data): Likewise.
59356         (rint_upward_test_data): Likewise.
59358         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59359         with OVERFLOW_EXCEPTION.
59360         (exp10_test_data): Likewise.
59361         (exp2_test_data): Likewise.
59362         (expm1_test_data): Likewise.
59363         (lgamma_test_data): Likewise.
59364         (pow_test_data): Likewise.
59365         (tgamma_test_data): Likewise.
59366         (yn_test_data): Remove duplicate test of overflow.
59368         * math/libm-test.inc (struct test_cc_c_data): New type.
59369         (RUN_TEST_LOOP_cc_c): New macro.
59370         (cpow_test_data): New variable.
59371         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59373         * math/libm-test.inc (struct test_f_L_data): New type.
59374         (RUN_TEST_LOOP_f_L): New macro.
59375         (llrint_test_data): New variable.
59376         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59377         (llrint_tonearest_test_data): New variable.
59378         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59379         (llrint_towardzero_test_data): New variable.
59380         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59381         (llrint_downward_test_data): New variable.
59382         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59383         (llrint_upward_test_data): New variable.
59384         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59385         (llround_test_data): New variable.
59386         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59388 2013-05-13  Peter Collingbourne  <pcc@google.com>
59390         * math/atest-exp2.c (get_log2): Remove const attribute.
59392 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59394         * math/libm-test.inc (struct test_f_l_data): New type.
59395         (RUN_TEST_LOOP_f_l): New macro.
59396         (lrint_test_data): New variable.
59397         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59398         (lrint_tonearest_test_data): New variable.
59399         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59400         (lrint_towardzero_test_data): New variable.
59401         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59402         (lrint_downward_test_data): New variable.
59403         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59404         (lrint_upward_test_data): New variable.
59405         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59406         (lround_test_data): New variable.
59407         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59409 2013-05-15  Peter Collingbourne  <pcc@google.com>
59411         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59412         (EXTRACT_WORDS64) Use where appropriate.
59413         (INSERT_WORDS64) Likewise.
59415         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59416         constraints with x constraints.
59417         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59419         * malloc/obstack.c (_obstack_compat): Add initializer.
59421 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59423         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59424         si_trapno and add si_addr_lsb to _sifields.sigfault.
59425         (si_trapno): Remove macro.
59426         (si_addr_lsb): Define new macro.
59427         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59429 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59431         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59432         instead of TEST_f_l.
59433         (llrint_test_tonearest): Likewise.
59434         (llrint_test_towardzero): Likewise.
59435         (llrint_test_downward): Likewise.
59436         (llrint_test_upward): Likewise.
59437         (llround_test): Likewise.
59439         * math/libm-test.inc (struct test_f_i_data): Add comment.
59440         (RUN_TEST_LOOP_f_b): New macro.
59441         (RUN_TEST_LOOP_f_b_tg): Likewise.
59442         (finite_test_data): New variable.
59443         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59444         (isfinite_test_data): New variable.
59445         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59446         (isinf_test_data): New variable.
59447         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59448         (isnan_test_data): New variable.
59449         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59450         (isnormal_test_data): New variable.
59451         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59452         (issignaling_test_data): New variable.
59453         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59454         (signbit_test_data): New variable.
59455         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59457         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59458         with INVALID_EXCEPTION.
59459         (acosh_test_data): Likewise.
59460         (asin_test_data): Likewise.
59461         (atanh_test_data): Likewise.
59462         (fmod_test_data): Likewise.
59463         (log_test_data): Likewise.
59464         (log10_test_data): Likewise.
59465         (log2_test_data): Likewise.
59466         (pow_test_data): Likewise.
59467         (sqrt_test_data): Likewise.
59468         (y0_test_data): Likewise.
59469         (y1_test_data): Likewise.
59470         (yn_test_data): Likewise.
59472         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59473         function contents.
59475         * math/libm-test.inc (struct test_ff_i_data): New type.
59476         (RUN_TEST_LOOP_ff_i_tg): New macro.
59477         (isgreater_test_data): New variable.
59478         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59479         (isgreaterequal_test_data): New variable.
59480         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59481         (isless_test_data): New variable.
59482         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59483         (islessequal_test_data): New variable.
59484         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59485         (islessgreater_test_data): New variable.
59486         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59487         (isunordered_test_data): New variable.
59488         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59490 2013-05-14  David S. Miller  <davem@davemloft.net>
59492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59494 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
59496         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
59498         * math/libm-test.inc (struct test_fF_f1_data): Change type of
59499         extra_test to int.
59500         (struct test_f_i_data): Change type of max_ulp to int.
59502         * math/libm-test.inc (test_ffI_f1_data): New type.
59503         (RUN_TEST_LOOP_ffI_f1): New macro.
59504         (remquo_test_data): New variable.
59505         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
59507         * setjmp/tst-setjmp-fp.c: New file.
59508         * setjmp/Makefile (tests): Add tst-setjmp-fp.
59509         (link-libm): New variable.
59510         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
59512         * math/libm-test.inc (struct test_f_i_data): New type.
59513         (RUN_TEST_LOOP_f_i): New macro.
59514         (RUN_TEST_LOOP_f_i_tg): Likewise.
59515         (fpclassify_test_data): New variable.
59516         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
59517         (ilogb_test_data): New variable.
59518         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
59520         * math/libm-test.inc (scalbln_test): Correct function name in END
59521         call.
59523         * math/libm-test.inc (struct test_f_f1_data): Add comment.
59524         (RUN_TEST_LOOP_fI_f1): New macro.
59525         (frexp_test_data): New variable.
59526         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
59528         * math/libm-test.inc (struct test_fF_f1_data): New type.
59529         (RUN_TEST_LOOP_fF_f1): New macro.
59530         (modf_test_data): New variable.
59531         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
59533         * math/libm-test.inc (struct test_f_f1_data): New type.
59534         (RUN_TEST_LOOP_f_f1): New macro.
59535         (gamma_test_data): New variable.
59536         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59537         (lgamma_test_data): New variable.
59538         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59540 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
59542         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
59543         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
59544         (main): Comment "tls" pseudo-hwcap.
59546 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
59548         * math/libm-test.inc (struct test_fl_f_data): New type.
59549         (RUN_TEST_LOOP_fl_f): New variable.
59550         (scalbln_test_data): New variable.
59551         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
59553         * math/libm-test.inc (struct test_fi_f_data): New type.
59554         (RUN_TEST_LOOP_fi_f): New macro.
59555         (ldexp_test_data): New variable.
59556         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
59557         (scalbn_test_data): New variable.
59558         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
59560         * math/libm-test.inc (struct test_c_f_data): New type.
59561         (RUN_TEST_LOOP_c_f): New macro.
59562         (cabs_test_data): New variable.
59563         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
59564         (carg_test_data): New variable.
59565         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
59566         (cimag_test_data): New variable.
59567         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
59568         (creal_test_data): New variable.
59569         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
59571         * math/libm-test.inc (struct test_if_f_data): New type.
59572         (RUN_TEST_LOOP_if_f): New macro.
59573         (jn_test_data): New variable.
59574         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
59575         (yn_test_data): New variable.
59576         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
59578         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
59580 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59582         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
59583         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
59585 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59587         * benchtests/Makefile (CPPFLAGS-nonlib): Add
59588         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
59589         (bench-deps): Add bench-timing.h.
59590         * benchtests-bench-skeleton.c: Include bench-timing.h.
59591         (main): Use TIMING_* macros instead of clock_gettime.
59592         * benchtests/bench-timing.h: New file.
59594         [BZ #14582]
59595         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
59596         Renamed from _LIB_VERSION.
59597         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
59599 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
59601         * math/libm-test.inc (struct test_fff_f_data): New type.
59602         (RUN_TEST_LOOP_fff_f): New macro.
59603         (fma_test_data): New variable.
59604         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
59605         (fma_towardzero_test_data): New variable.
59606         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
59607         (fma_downward_test_data): New variable.
59608         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
59609         (fma_upward_test_data): New variable.
59610         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
59612         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
59613         (struct test_c_c_data): New type.
59614         (RUN_TEST_LOOP_c_c): New macro.
59615         (cacos_test_data): New variable.
59616         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
59617         (cacosh_test_data): New variable.
59618         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
59619         (casin_test_data): New variable.
59620         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
59621         (casinh_test_data): New variable.
59622         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
59623         (catan_test_data): New variable.
59624         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
59625         (catanh_test_data): New variable.
59626         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
59627         (ccos_test_data): New variable.
59628         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
59629         (ccosh_test_data): New variable.
59630         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
59631         (cexp_test_data): New variable.
59632         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
59633         (clog_test_data): New variable.
59634         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
59635         (clog10_test_data): New variable.
59636         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
59637         (conj_test_data): New variable.
59638         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
59639         (cproj_test_data): New variable.
59640         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
59641         (csin_test_data): New variable.
59642         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
59643         (csinh_test_data): New variable.
59644         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
59645         (csqrt_test_data): New variable.
59646         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
59647         (ctan_test_data): New variable.
59648         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
59649         (ctan_tonearest_test_data): New variable.
59650         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59651         (ctan_towardzero_test_data): New variable.
59652         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59653         (ctan_downward_test_data): New variable.
59654         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59655         (ctan_upward_test_data): New variable.
59656         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59657         (ctanh_test_data): New variable.
59658         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
59659         (ctanh_tonearest_test_data): New variable.
59660         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59661         (ctanh_towardzero_test_data): New variable.
59662         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59663         (ctanh_downward_test_data): New variable.
59664         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59665         (ctanh_upward_test_data): New variable.
59666         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59667         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
59668         of BUILD_COMPLEX.
59670         * math/libm-test.inc (struct test_ff_f_data): New type.
59671         (struct test_ff_f_data_nexttoward): Likewise.
59672         (RUN_TEST_LOOP_2_f): New macro.
59673         (RUN_TEST_LOOP_ff_f): Likewise.
59674         (atan2_test_data): New variable.
59675         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
59676         (copysign_test_data): New variable.
59677         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
59678         (fdim_test_data): New variable.
59679         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
59680         (fmax_test_data): New variable.
59681         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
59682         (fmin_test_data): New variable.
59683         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
59684         (fmod_test_data): New variable.
59685         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
59686         (hypot_test_data): New variable.
59687         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
59688         (nextafter_test_data): New variable.
59689         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
59690         (nexttoward_test_data): New variable.
59691         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
59692         (pow_test_data): New variable.
59693         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
59694         (pow_tonearest_test_data): New variable.
59695         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
59696         (pow_towardzero_test_data): New variable.
59697         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
59698         (pow_downward_test_data): New variable.
59699         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
59700         (pow_upward_test_data): New variable.
59701         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
59702         (remainder_test_data): New variable.
59703         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
59704         (scalb_test_data): New variable.
59705         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
59706         * sysdeps/i386/fpu/libm-test-ulps: Update.
59708 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
59710         * math/libm-test.inc (fma_test): Use max_value instead of local
59711         variable fltmax.
59712         (nextafter_test): Likewise.
59714         * math/libm-test.inc (acos_towardzero_test_data): New variable.
59715         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59716         (acos_downward_test_data): New variable.
59717         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59718         (acos_upward_test_data): New variable.
59719         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59720         (acosh_test_data): New variable.
59721         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
59722         (asin_test_data): New variable.
59723         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
59724         (asin_tonearest_test_data): New variable.
59725         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59726         (asin_towardzero_test_data): New variable.
59727         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59728         (asin_downward_test_data): New variable.
59729         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59730         (asin_upward_test_data): New variable.
59731         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59732         (asinh_test_data): New variable.
59733         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
59734         (atan_test_data): New variable.
59735         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
59736         (atanh_test_data): New variable.
59737         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
59738         (cbrt_test_data): New variable.
59739         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
59740         (ceil_test_data): New variable.
59741         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
59742         (cos_test_data): New variable.
59743         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
59744         (cos_tonearest_test_data): New variable.
59745         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59746         (cos_towardzero_test_data): New variable.
59747         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59748         (cos_downward_test_data): New variable.
59749         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59750         (cos_upward_test_data): New variable.
59751         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59752         (cosh_test_data): New variable.
59753         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
59754         (cosh_tonearest_test_data): New variable.
59755         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59756         (cosh_towardzero_test_data): New variable.
59757         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59758         (cosh_downward_test_data): New variable.
59759         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59760         (cosh_upward_test_data): New variable.
59761         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59762         (erf_test_data): New variable.
59763         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
59764         (erfc_test_data): New variable.
59765         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59766         (exp_test_data): New variable.
59767         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59768         (exp_tonearest_test_data): New variable.
59769         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59770         (exp_towardzero_test_data): New variable.
59771         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59772         (exp_downward_test_data): New variable.
59773         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59774         (exp_upward_test_data): New variable.
59775         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59776         (exp10_test_data): New variable.
59777         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59778         (exp2_test_data): New variable.
59779         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59780         (expm1_test_data): New variable.
59781         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59782         (fabs_test_data): New variable.
59783         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59784         (floor_test_data): New variable.
59785         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59786         (j0_test_data): New variable.
59787         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59788         (j1_test_data): New variable.
59789         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59790         (log_test_data): New variable.
59791         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59792         (log10_test_data): New variable.
59793         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59794         (log1p_test_data): New variable.
59795         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59796         (log2_test_data): New variable.
59797         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59798         (logb_test_data): New variable.
59799         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59800         (logb_downward_test_data): New variable.
59801         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59802         (nearbyint_test_data): New variable.
59803         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59804         (rint_test_data): New variable.
59805         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59806         (rint_tonearest_test_data): New variable.
59807         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59808         (rint_towardzero_test_data): New variable.
59809         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59810         (rint_downward_test_data): New variable.
59811         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59812         (rint_upward_test_data): New variable.
59813         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59814         (round_test_data): New variable.
59815         (round_test): Run tests with RUN_TEST_LOOP_f_f.
59816         (sin_test_data): New variable.
59817         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
59818         (sin_tonearest_test_data): New variable.
59819         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59820         (sin_towardzero_test_data): New variable.
59821         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59822         (sin_downward_test_data): New variable.
59823         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59824         (sin_upward_test_data): New variable.
59825         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59826         (sinh_test_data): New variable.
59827         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
59828         (sinh_tonearest_test_data): New variable.
59829         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59830         (sinh_towardzero_test_data): New variable.
59831         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59832         (sinh_downward_test_data): New variable.
59833         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59834         (sinh_upward_test_data): New variable.
59835         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59836         (sqrt_test_data): New variable.
59837         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
59838         (tan_test_data): New variable.
59839         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
59840         (tan_tonearest_test_data): New variable.
59841         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59842         (tan_towardzero_test_data): New variable.
59843         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59844         (tan_downward_test_data): New variable.
59845         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59846         (tan_upward_test_data): New variable.
59847         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59848         (tanh_test_data): New variable.
59849         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
59850         (tgamma_test_data): New variable.
59851         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
59852         (trunc_test_data): New variable.
59853         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
59854         (y0_test_data): New variable.
59855         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
59856         (y1_test_data): New variable.
59857         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
59858         (significand_test_data): New variable.
59859         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
59861 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
59863         [BZ #12387]
59864         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
59866 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59868         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
59870 2013-05-10  Andreas Jaeger  <aj@suse.de>
59872         [BZ #15448]
59873         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
59874         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
59876 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59878         * math/gen-libm-test.pl (adjust_arg): New function.
59879         (special_functions): Handle generating output in both functions
59880         and arrays.
59881         (parse_args): Likewise.
59882         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
59883         $in_func argument to parse_args.
59884         * math/libm-test.inc (struct test_f_f_data): New type.
59885         (IF_ROUND_INIT_): New macro.
59886         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
59887         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59888         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59889         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59890         (ROUND_RESTORE_): Likewise.
59891         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
59892         (ROUND_RESTORE_FE_TONEAREST): Likewise.
59893         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
59894         (ROUND_RESTORE_FE_UPWARD): Likewise.
59895         (RUN_TEST_LOOP_f_f): New macro.
59896         (acos_test_data): New variable.
59897         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
59898         (acos_tonearest_test_data): New variable.
59899         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59901 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59903         * benchtests/bench-skeleton.c (startup): Fix coding style.
59905 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59907         [BZ #6809]
59908         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
59909         negative infinity argument.
59910         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
59911         negative infinity argument.
59912         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
59913         negative infinity argument.
59914         * math/libm-test.inc (tgamma_test): Expect errno to be set for
59915         domain errors.
59917 2013-05-10  Florian Weimer  <fweimer@redhat.com>
59919         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
59920         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
59921         * iconv/iconv_prog.c (main): Likewise.
59922         * locale/programs/charmap-dir.c (charmap_readdir)
59923         (fopen_uncompressed): Likewise.
59924         * locale/programs/locfile.c (siblings_uncached)
59925         (write_locale_data): Use lstat64 instead of lstat.
59926         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
59927         stat.
59929 2013-05-10  Andreas Jaeger  <aj@suse.de>
59931         [BZ #15395]
59932         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
59933         localization.
59934         Include <locale.h>.
59936 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
59938         * elf/dl-close.c (_dl_close_worker): Add comments.
59940 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
59942         [BZ #15359]
59943         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
59944         high part of pi/2.
59945         (__ieee754_rem_pio2l): Update comments.
59947         [BZ #15429]
59948         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
59949         high part of pi/2.
59950         (__ieee754_rem_pio2l): Update comments.
59952         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
59953         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
59955         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
59956         M_PI_4l.
59958         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59959         (M_PI_34_LOG10El): Likewise.
59960         (M_PI2_LOG10El): Likewise.
59961         (M_PI4_LOG10El): Likewise.
59962         (M_PI_LOG10El): Likewise.
59964 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59968 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
59970         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
59971         (MINUS_ZERO_INIT): Likewise.
59972         (PLUS_INFTY_INIT): Likewise.
59973         (MINUS_INFTY_INIT): Likewise.
59974         (QNAN_VALUE_INIT): Likewise.
59975         (MAX_VALUE_INIT): Likewise.
59976         (MIN_VALUE_INIT): Likewise.
59977         (MIN_SUBNORM_VALUE_INIT): Likewise.
59978         (plus_zero): Initialize with PLUS_ZERO_INIT.
59979         (minus_zero): Initialize with MINUS_ZERO_INIT.
59980         (plus_infty): Initialize with PLUS_INFTY_INIT.
59981         (minus_infty): Initialize with MINUS_INFTY_INIT.
59982         (qnan_value): Initialize with QNAN_VALUE_INIT.
59983         (max_value): Initialize with MAX_VALUE_INIT.
59984         (min_value): Initialize with MIN_VALUE_INIT.
59985         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
59987         * math/libm-test.inc (RUN_TEST_if_f): New macro.
59988         (jn_test): Use TEST_if_f instead of TEST_ff_f.
59989         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
59990         (yn_test): Use TEST_if_f instead of TEST_ff_f.
59992         * math/libm-test.inc (RUN_TEST_f_f): New macro.
59993         (RUN_TEST_2_f): Likewise.
59994         (RUN_TEST_ff_f): Likewise.
59995         (RUN_TEST_fi_f): Likewise.
59996         (RUN_TEST_fl_f): Likewise.
59997         (RUN_TEST_fff_f): Likewise.
59998         (RUN_TEST_c_f): Likewise.
59999         (RUN_TEST_f_f1): Likewise.
60000         (RUN_TEST_fF_f1): Likewise.
60001         (RUN_TEST_fI_f1): Likewise.
60002         (RUN_TEST_ffI_f1): Likewise.
60003         (RUN_TEST_c_c): Likewise.
60004         (RUN_TEST_cc_c): Likewise.
60005         (RUN_TEST_f_i): Likewise.
60006         (RUN_TEST_f_i_tg): Likewise.
60007         (RUN_TEST_ff_i_tg): Likewise.
60008         (RUN_TEST_f_b): Likewise.
60009         (RUN_TEST_f_b_tg): Likewise.
60010         (RUN_TEST_f_l): Likewise.
60011         (RUN_TEST_f_L): Likewise.
60012         (RUN_TEST_sincos): Likewise.
60013         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60014         whether to show exceptions.  Do not include ");\n" in return
60015         value.
60016         (special_functions): Output call to RUN_TEST_sincos instead of
60017         check_float calls.  Update calls to new_test.
60018         (parse_args): Output call to single RUN_TEST_* macro instead of
60019         check_* calls and other assignments.  Update calls to new_test.
60021         [BZ #2546]
60022         [BZ #2560]
60023         [BZ #5159]
60024         [BZ #15426]
60025         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60026         input to result for tgamma overflow.
60027         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60028         (gamma_coeff): New variable.
60029         (NCOEFF): New macro.
60030         (gamma_positive): New function.
60031         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60032         underflow here.  Use gamma_positive instead of exp (lgamma) for
60033         other arguments.
60034         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60035         (gamma_coeff): New variable.
60036         (NCOEFF): New macro.
60037         (gammaf_positive): New function.
60038         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60039         underflow here.  Use gamma_positive instead of exp (lgamma) for
60040         other arguments.
60041         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60042         (gamma_coeff): New variable.
60043         (NCOEFF): New macro.
60044         (gammal_positive): New function.
60045         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60046         underflow here.  Use gamma_positive instead of exp (lgamma) for
60047         other arguments.
60048         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60049         (gamma_coeff): New variable.
60050         (NCOEFF): New macro.
60051         (gammal_positive): New function.
60052         (__ieee754_gammal_r): Handle positive infinity, overflow and
60053         underflow here.  Handle NaN the same as positive infinity.  Remove
60054         check x < 0xffffffff for negative integers.  Use gamma_positive
60055         instead of exp (lgamma) for other arguments.
60056         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60057         (gamma_coeff): New variable.
60058         (NCOEFF): New macro.
60059         (gammal_positive): New function.
60060         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60061         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60062         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60063         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60064         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60065         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60066         * sysdeps/generic/math_private.h (__gamma_productf): New
60067         prototype.
60068         (__gamma_product): Likewise.
60069         (__gamma_productl): Likewise.
60070         * math/Makefile (libm-calls): Add gamma_product.
60071         * math/libm-test.inc (tgamma_test): Add more tests.
60072         * sysdeps/i386/fpu/libm-test-ulps: Update.
60073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60075 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60077         * benchtests/bench-skeleton.c (main): Preheat CPU.
60079 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60081         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60083 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60085         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60086         and _dl_skip_args_internal.
60088 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60090         * manual/message.texi (Message Translation): Talk about users.
60091         Message to key mapping impacts design.
60093 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60095         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60097         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60099         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60100         * sysdeps/wordsize-64/glob64.c: ... here.
60102         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60103         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60104         New macros.
60106         * debug/getlogin_r_chk.c: Moved to ...
60107         * login/getlogin_r_chk.c: ... here.
60108         * debug/Makefile (routines): Move getlogin_r_chk to ...
60109         * login/Makefile (routines): ... here.
60110         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60111         * login/Versions (libc: GLIBC_2.4): ... here.
60113         * io/poll.c (__poll): Renamed from poll.
60114         Add libc_hidden_def.
60115         (poll): Define as weak alias.
60117         * debug/ptsname_r_chk.c: Moved to ...
60118         * login/ptsname_r_chk.c: ... here.
60119         * debug/Makefile (routines): Move ptsname_r_chk to ...
60120         * login/Makefile (routines): ... here.
60121         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60122         * login/Versions (libc: GLIBC_2.4): ... here.
60124         * posix/getlogin.c: Moved to ...
60125         * login/getlogin.c: ... here.
60126         * posix/getlogin_r.c: Moved to ...
60127         * login/getlogin_r.c: ... here.
60128         * posix/getlogin_r.c: Moved to ...
60129         * login/getlogin_r.c: ... here.
60130         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60131         * login/Makefile (routines): ... here.
60132         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60133         * login/Versions (libc: GLIBC_2.0): ... here.
60135         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60136         (setrlimit): Define as weak alias.
60138         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60139         Call __ names for open, ftruncate, and close.
60140         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60141         (truncate): Define as weak alias.
60143 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60145         * math/gen-libm-test.pl (parse_args): Initialize x before each
60146         test of frexp, modf and remquo.
60148         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60149         test signgam value.
60151 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60153         [BZ #15418]
60154         [BZ #15419]
60155         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60156         internal tests.
60157         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60159 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60161         * elf/dl-writev.h: New file.
60162         * elf/dl-misc.c: Include it.
60163         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60164         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60166 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60168         * math/libm-test.inc (noXFails): Remove variable.
60169         (noXPasses): Likewise.
60170         (BUILD_COMPLEX_INT): Remove macro.
60171         (print_screen): Remove xfail argument.
60172         (print_screen_max_error): Likewise.
60173         (update_stats): Likewise.
60174         (print_max_error): Likewise.  Update calls to other affected
60175         functions.
60176         (print_complex_max_error): Likewise.
60177         (test_single_exception): Update calls to print_screen.
60178         (test_single_errno): Likewise.
60179         (check_float_internal): Remove xfail argument.  Update calls to
60180         other affected functions.
60181         (check_float): Likewise.
60182         (check_complex): Likewise.
60183         (check_int): Likewise.
60184         (check_long): Likewise.
60185         (check_bool): Likewise.
60186         (check_longlong): Likewise.
60187         (main): Don't print noXFails and noXPasses.
60188         * math/gen-libm-test.pl (top level): Don't mention expected
60189         failure handling in comment.
60190         (new_test): Don't handle expected failures.
60191         (parse_args): Don't mention expected failure handling in comment.
60192         (generate_testfile): Don't handle expected failures.
60193         (parse_ulps): Likewise.
60194         (print_ulps_file): Likewise.
60195         (get_failure): Remove function.
60196         (output_test): Don't handle expected failures.
60197         * make/README.libm-test: Don't mention expected failure handling.
60199         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60200         (minus_zero): Likewise.
60201         (plus_infty): Likewise.
60202         (minus_infty): Likewise.
60203         (qnan_value): Likewise.
60204         (max_value): Likewise.
60205         (min_value): Likewise.
60206         (min_subnorm_value): Likewise.
60207         (initialize): Do not initialize those variables dynamically.
60209 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60211         * io/open.c (__open_2): Moved to ...
60212         * io/open_2.c: ... this new file.
60213         * io/open64.c (__open64_2): Moved to ...
60214         * io/open64_2.c: ... this new file.
60215         * io/openat.c (__openat_2): Moved to ...
60216         * io/openat_2.c: ... this new file.
60217         * io/openat64.c (__openat64_2): Moved to ...
60218         * io/openat64_2.c: ... this new file.
60219         * io/Makefile (routines): Add them.
60220         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60221         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60222         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60223         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60224         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60225         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60226         (__openat64): Add hidden_ver.
60227         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60228         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60230         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60231         Separately conditionalize setting of GLRO(dl_sysinfo) so
60232         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60233         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60235 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60237         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60238         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60239         definition.
60240         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60241         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60242         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60243         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60244         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60246 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60248         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60249         test signgam value.
60251         * math/libm-test.inc (hypot_test): Do not use
60252         IGNORE_ZERO_INF_SIGN.
60254 2013-05-03  Andreas Jaeger  <aj@suse.de>
60256         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60257         Linux 3.9.
60258         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60259         (PF_MAX): Adjust for VSOCK change.
60261 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60265 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60267         [BZ #15264]
60268         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60269         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60270         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60272 2013-05-02  David S. Miller  <davem@davemloft.net>
60274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60276 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60278         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60280 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60282         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60284 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60286         [BZ #14952]
60287         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60288         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60289         Use __attribute__ ((__gnu_inline__)).
60290         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60291         Don't use __attribute__ ((__gnu_inline__)).
60293 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60295         [BZ #15423]
60296         * math/s_catan.c (__catan): Handle small real or imaginary part of
60297         input specially to avoid spurious underflow.
60298         * math/s_catanf.c (__catanf): Likewise.
60299         * math/s_catanh.c (__catanh): Likewise.
60300         * math/s_catanhf.c (__catanhf): Likewise.
60301         * math/s_catanhl.c (__catanhl): Likewise.
60302         * math/s_catanl.c (__catanl): Likewise.
60303         * math/libm-test.inc (catan_test): Add more tests.
60304         (catanh_test): Likewise.
60305         * sysdeps/i386/fpu/libm-test-ulps: Update.
60306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60308 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60312 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60314         [BZ #15416]
60315         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60316         accurately for denominator in atan2.
60317         * math/s_catanf.c (__catanf): Likewise.
60318         * math/s_catanh.c (__catanh): Likewise.
60319         * math/s_catanhf.c (__catanhf): Likewise.
60320         * math/s_catanhl.c (__catanhl): Likewise.
60321         * math/s_catanl.c (__catanl): Likewise.
60322         * math/libm-test.inc (catan_test): Add more tests.
60323         (catanh_test): Likewise.
60324         * sysdeps/i386/fpu/libm-test-ulps: Update.
60325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60327 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60329         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60331         * benchtests/Makefile (bench): Remove slow benchmarks.
60332         * benchtests/atan-inputs: Add slow benchmark inputs.
60333         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60334         (BENCH_FUNC): Accept variant offset.
60335         (VARIANT): Define.
60336         * benchtests/bench-skeleton.c (main): Run benchmark for each
60337         variant.
60338         * benchtests/cos-inputs: Add slow benchmark inputs.
60339         * benchtests/exp-inputs: Likewise.
60340         * benchtests/pow-inputs: Likewise.
60341         * benchtests/sin-inputs: Likewise.
60342         * benchtests/slowatan-inputs: Remove.
60343         * benchtests/slowatan.c: Remove.
60344         * benchtests/slowcos-inputs: Remove.
60345         * benchtests/slowcos.c: Remove.
60346         * benchtests/slowexp-inputs: Remove.
60347         * benchtests/slowexp.c: Remove.
60348         * benchtests/slowpow-inputs: Remove.
60349         * benchtests/slowpow.c: Remove.
60350         * benchtests/slowsin-inputs: Remove.
60351         * benchtests/slowsin.c: Remove.
60352         * benchtests/slowtan-inputs: Remove.
60353         * benchtests/slowtan.c: Remove.
60354         * benchtests/tan-inputs: Add slow benchmark inputs.
60355         * scripts/bench.pl: Parse comments and directives.
60357         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60358         in CPPFLAGS.
60359         ($(objpfx)bench-%.c): Remove *-ITER.
60360         * benchtests/bench-modf.c: Remove definition of ITER.
60361         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60362         (main): Loop for DURATION seconds instead of fixed number of
60363         iterations.
60364         * scripts/bench.pl: Don't expect iterations in parameters.
60366 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60368         * io/fchdir.c (__fchdir): Renamed from fchdir.
60369         (fchdir): Define as weak alias.
60371 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60373         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60374         (ERRNO_EDOM): Likewise.
60375         (ERRNO_ERANGE): Likewise.
60376         (noErrnoTests): New variable.
60377         (init_max_error): Set errno to 0.
60378         (test_single_errno): New function.
60379         (test_errno): Likewise.
60380         (check_float_internal): Call test_errno.  Set errno to 0.
60381         (check_complex): Refer to errno tests in comment.
60382         (check_int): Call test_errno.  Set errno to 0.
60383         (check_long): Likewise.
60384         (check_bool): Likewise.
60385         (check_longlong): Likewise.
60386         (cos_test): Use ERRNO_* flags for errno tests instead of
60387         check_int.
60388         (expm1_test): Likewise.
60389         (fmod_test): Likewise.
60390         (ilogb_test): Likewise.
60391         (lgamma_test): Likewise.
60392         (pow_test): Likewise.
60393         (remainder_test): Likewise.
60394         (sin_test): Likewise.
60395         (tan_test): Likewise.
60396         (yn_test): Likewise.
60397         (initialize): Set errno to 0.
60398         (main): Print number of errno tests.
60399         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60401 2013-04-29  Andreas Jaeger  <aj@suse.de>
60403         [BZ #15084]
60404         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60405         and RES_USEVC.
60407         [BZ #15085]
60408         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60409         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60410         unimplemented.
60412         [BZ #15380]
60413         * stdlib/random.c (__initstate): Return NULL if
60414         __initstate fails.
60416         [BZ #15086]
60417         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60418         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60419         RES_SNGLKUPREOP.
60421 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60425 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60427         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60428         of individual tests.
60429         (casin_test): Likewise.
60430         (casinh_test): Likewise.
60432 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60434         [BZ #15409]
60435         * math/s_catan.c (__catan): Handle arguments with large real or
60436         imaginary part separately without squaring.
60437         * math/s_catanf.c (__catanf): Likewise.
60438         * math/s_catanh.c (__catanh): Likewise.
60439         * math/s_catanhf.c (__catanhf): Likewise.
60440         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60441         and redefine.
60442         (__catanhl): Handle arguments with large real or imaginary part
60443         separately without squaring.
60444         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60445         and redefine.
60446         (__catanl): Handle arguments with large real or imaginary part
60447         separately without squaring.
60448         * math/libm-test.inc (catan_test): Add more tests.
60449         (catanh_test): Likewise.
60450         * sysdeps/i386/fpu/libm-test-ulps: Update.
60451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60453 2013-04-27  Andreas Jaeger  <aj@suse.de>
60455         [BZ #15007]
60456         * stdlib/stdlib.h: Update guards for qecvt.
60457         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60458         <stdlib.h>.
60460 2013-04-27  Allan McRae  <allan@archlinux.org>
60462         * sysdeps/i386/fpu/libm-test-ulps: Update.
60464 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60466         [BZ #15406]
60467         * math/s_catan.c: Include <float.h>.
60468         (__catan): Ensure underflow exception occurs for underflowed
60469         result.
60470         * math/s_catanf.c: Include <float.h>.
60471         (__catanf): Ensure underflow exception occurs for underflowed
60472         result.
60473         * math/s_catanh.c: Include <float.h>.
60474         (__catanh): Ensure underflow exception occurs for underflowed
60475         result.
60476         * math/s_catanhf.c: Include <float.h>.
60477         (__catanhf): Ensure underflow exception occurs for underflowed
60478         result.
60479         * math/s_catanhl.c: Include <float.h>.
60480         (__catanhl): Ensure underflow exception occurs for underflowed
60481         result.
60482         * math/s_catanl.c: Include <float.h>.
60483         (__catanl): Ensure underflow exception occurs for underflowed
60484         result.
60485         * math/libm-test.inc (catan_test): Add more tests.
60486         (catanh_test): Likewise.
60488         [BZ #15405]
60489         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
60490         underflowed result.
60491         * math/s_ccoshf.c (__ccoshf): Likewise.
60492         * math/s_ccoshl.c (__ccoshl): Likewise.
60493         * math/s_csin.c (__csin): Likewise.
60494         * math/s_csinf.c (__csinf): Likewise.
60495         * math/s_csinh.c (__csinh): Likewise.
60496         * math/s_csinhf.c (__csinhf): Likewise.
60497         * math/s_csinhl.c (__csinhl): Likewise.
60498         * math/s_csinl.c (__csinl): Likewise.
60499         * math/libm-test.inc (ccos_test): Add more tests.
60500         (ccosh_test): Likewise.
60501         (csin_test): Likewise.
60502         (csinh_test): Likewise.
60504 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60506         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
60507         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
60508         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
60509         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
60510         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
60511         powerpc/power5+/fpu folders.
60512         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
60515 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60519 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
60521         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
60522         additions to variable.
60523         [$(config-machine) = x86_64] (modules-names): Likewise.
60524         ($(objpfx)tst-audit3): Remove dependency.
60525         ($(objpfx)tst-audit3.out): Likewise.
60526         ($(objpfx)tst-audit4): Likewise.
60527         ($(objpfx)tst-audit4.out): Likewise.
60528         ($(objpfx)tst-audit5): Likewise.
60529         ($(objpfx)tst-audit5.out): Likewise.
60530         ($(objpfx)tst-audit6): Likewise.
60531         ($(objpfx)tst-audit6.out): Likewise.
60532         ($(objpfx)tst-audit7): Likewise.
60533         ($(objpfx)tst-audit7.out): Likewise.
60534         (tst-audit3-ENV): Remove variable.
60535         (tst-audit4-ENV): Likewise.
60536         (tst-audit5-ENV): Likewise.
60537         (tst-audit6-ENV): Likewise.
60538         (tst-audit7-ENV): Likewise.
60539         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
60540         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
60541         addition to variable.
60542         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
60543         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
60544         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
60545         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
60546         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
60547         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
60548         tst-audit3, tst-audit4 and tst-audit5.
60549         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
60550         tst-audit6 and tst-audit7.
60551         [$(subdir) = elf] (modules-names): Add audit modules for those
60552         tests.
60553         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
60554         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
60555         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
60556         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
60557         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
60558         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
60559         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
60560         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
60561         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
60562         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
60563         [$(subdir) = elf] (tst-audit3-ENV): New variable.
60564         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
60565         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
60566         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
60567         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
60568         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
60569         Likewise.
60570         [$(subdir) = elf && $(config-cflags-avx) = yes]
60571         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
60572         [$(subdir) = elf && $(config-cflags-avx) = yes]
60573         (CFLAGS-tst-auditmod4a.c): Likewise.
60574         [$(subdir) = elf && $(config-cflags-avx) = yes]
60575         (CFLAGS-tst-auditmod4b.c): Likewise.
60576         [$(subdir) = elf && $(config-cflags-avx) = yes]
60577         (CFLAGS-tst-auditmod6b.c): Likewise.
60578         [$(subdir) = elf && $(config-cflags-avx) = yes]
60579         (CFLAGS-tst-auditmod6c.c): Likewise.
60580         [$(subdir) = elf && $(config-cflags-avx) = yes]
60581         (CFLAGS-tst-auditmod7b.c): Likewise.
60582         * elf/tst-audit3.c: Move to ...
60583         * sysdeps/x86_64/tst-audit3.c: ... here.
60584         * elf/tst-audit4.c: Move to ...
60585         * sysdeps/x86_64/tst-audit4.c: ... here.
60586         * elf/tst-audit5.c: Move to ...
60587         * sysdeps/x86_64/tst-audit5.c: ... here.
60588         * elf/tst-audit6.c: Move to ...
60589         * sysdeps/x86_64/tst-audit6.c: ... here.
60590         * elf/tst-audit7.c: Move to ...
60591         * sysdeps/x86_64/tst-audit7.c: ... here.
60592         * elf/tst-auditmod3a.c: Move to ...
60593         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
60594         * elf/tst-auditmod3b.c: Move to ...
60595         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
60596         * elf/tst-auditmod4a.c: Move to ...
60597         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
60598         * elf/tst-auditmod4b.c: Move to ...
60599         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
60600         * elf/tst-auditmod5a.c: Move to ...
60601         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
60602         * elf/tst-auditmod5b.c: Move to ...
60603         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
60604         * elf/tst-auditmod6a.c: Move to ...
60605         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
60606         * elf/tst-auditmod6b.c: Move to ...
60607         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
60608         * elf/tst-auditmod6c.c: Move to ...
60609         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
60610         * elf/tst-auditmod7a.c: Move to ...
60611         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
60612         * elf/tst-auditmod7b.c: Move to ...
60613         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
60615 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
60617         [BZ #15366]
60618         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
60619         define unconditionally.
60620         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
60621         define unconditionally.
60622         (INT8_C, INT16_C, etc.): Likewise.
60624 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
60626         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
60627         __ehdr_start with hidden visibility.
60629         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
60631 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
60633         * math/libm-test.inc (cos_test): Use accurate hex constants.
60634         (sincost_test): Likewise.
60636 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
60638         * math/libm-test.inc (catan_test): Add more tests.
60639         (catanh_test): Likewise.
60641         * math/s_catanf.c (__catanf): Use suffixed floating-point
60642         constants.
60643         * math/s_catanhf.c (__catanhf): Likewise.
60644         * math/s_catanhl.c (__catanhl): Likewise.
60645         * math/s_catanl.c (__catanl): Likewise.
60647         [BZ #15394]
60648         * math/s_catan.c (__catan): Calculate imaginary part of result
60649         with log1p not log unless computing log of number close to 0.
60650         * math/s_catanf.c (__catanf): Likewise.
60651         * math/s_catanl.c (__catanl): Likewise.
60652         * math/s_catanh.c (__catanh): Calculate real part of result with
60653         log1p not log unless computing log of number close to 0.
60654         * math/s_catanhf.c (__catanhf): Likewise.
60655         * math/s_catanhl.c (__catanhl): Likewise.
60656         * math/libm-test.inc (catan_test): Add more tests.
60657         (catanh_test): Likewise.
60658         * sysdeps/i386/fpu/libm-test-ulps: Update.
60659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60661 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60663         * benchtests/Makefile: Mention files in which fast and slow
60664         paths of math functions are implemented.
60666 2013-04-23  Roland McGrath  <roland@hack.frob.com>
60668         * sysdeps/posix/timespec_get.c: New file.
60670 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60672         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
60673         POWER.
60674         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
60675         for POWER.
60676         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
60677         powerpc/power5/fpu folders.
60678         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
60679         * benchtests/Makefile: Add modf testcase.
60680         * benchtests/bench-modf.c: New file: Benchmark test for mo
60682 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60684         [BZ #14888]
60685         * time/Makefile (tests): Add tst-strptime-whitespace.
60686         * time/strptime_l.c (get_number): Use ISSPACE.
60687         (__strptime_internal): Likewise.
60688         * time/tst-strptime-whitespace.c: New test case.
60690 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
60692         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
60693         member.
60694         (_nss_files_init): Set it here.
60696 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
60698         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
60699         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
60700         unsigned.
60702 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
60704         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
60706 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60708         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
60709         size just once.
60711 2013-04-21  David S. Miller  <davem@davemloft.net>
60713         * po/ru.po: Update Russion translation from translation project.
60715 2013-04-17  Adam Conrad  <adconrad@0c3.net>
60717         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
60718         and setfsgid.
60720 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
60722         * configure.in: Remove i386 configure warning. Remove i386 case.
60723         * configure: Regenerate.
60724         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
60725         Add example to error message.
60726         * sysdeps/i386/configure: Regenerate.
60728 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60730         * benchtests/Makefile (bench): Add cos, tan, slowcos and
60731         slowtan.
60732         * benchtests/cos-inputs: New file.
60733         * benchtests/slowcos-inputs: New file.
60734         * benchtests/slowcos.c: New file.
60735         * benchtests/slowtan-inputs: New file.
60736         * benchtests/slowtan.c: New file.
60737         * benchtests/tan-inputs: New file.
60739 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60741         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
60742         considered kosher.
60744 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60746         * benchtests/Makefile: Include cppflags-iterator.mk to add
60747         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
60749         * Makefile.in (bench-clean): New target.
60750         * benchtests/Makefile (bench-clean): Likewise.
60752 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
60754         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
60756 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
60758         * stdio-common/tstdiomisc.c: Fix coding-style violation.
60760 2013-04-15  Andreas Schwab  <schwab@suse.de>
60762         * nscd/grpcache.c (cache_addgr): Properly check for short write.
60763         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60764         * nscd/pwdcache.c (cache_addpw): Likewise.
60765         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60766         more than recsize.
60768 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60770         * benchtests/Makefile (bench): Write all output to
60771         bench-out.tmp together.
60773 2013-04-15  Andreas Schwab  <schwab@suse.de>
60775         * nscd/nscd.c (main): Don't fork again after closing files.
60777 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60779         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60781         * benchtests/Rules (bench-deps): Collect dependencies into a
60782         single variable.  Add Makefile to dependencies.
60783         ($(objpfx)bench-%.c): Depend on bench-deps.
60785 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60786             Xavier Roche  <roche+kml2@exalead.com>
60788         [BZ #15361]
60789         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60790         just that it's a file descriptor.
60791         * manual/llio.texi (Synchronizing AIO Operations): Update description
60792         for EBADF error from aio_fsync.
60794 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60796         * Rules (bench): Move target definition...
60797         * benchtests/Makefile: ... here.
60799 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60801         * math/libm-test.inc (cos_test): Fix PI/2 test.
60802         (sincos_test): Likewise.
60803         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60804         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60806 2013-04-11  Andreas Schwab  <schwab@suse.de>
60808         [BZ #13988]
60809         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
60810         accept exponent character only when digits were seen.
60811         * stdio-common/Makefile (tests): Add bug26.
60812         * stdio-common/bug26.c: New file.
60814         [BZ #14293]
60815         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
60816         non-freeable.
60818 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60820         * Makeconfig (rtld-prefix): Define built linker prefix.
60821         * Rules (run-bench): Use it.
60822         * math/Makefile (run-regen-ulps): Likewise.
60824         * Rules (bench): Remove eval.
60826 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60827             Roland McGrath  <roland@hack.frob.com>
60828             Ondrej Bilka  <neleai@seznam.cz>
60830         [BZ #15346]
60831         * time/getdate.c: Include ctype.h and alloca.h.
60832         (__getdate_r): Trim leading and trailing spaces of input.
60833         * time/tst-getdate.c (tests): Add tests with leading and
60834         trailing spaces.
60836 2013-04-08  Roland McGrath  <roland@hack.frob.com>
60838         [BZ #14280]
60839         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
60840         when computing value.
60842 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60844         * math/README.libm-test (How can I generate "libm-test-ulps"?):
60845         Use testrun.sh to run libm tests.
60847         [BZ #15309]
60848         * elf/dl-open.c (dl_open_worker): memset all of seen array.
60850 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
60852         [BZ #15264]
60853         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
60855 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60857         * Makefile.in (regen-ulps): New target.
60858         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
60859         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
60860         [ifneq (no,$(PERL)] (regen-ulps): New target.
60861         [ifeq (no,$(PERL)] (regen-ulps): New target.
60862         * math/libm-test.inc (ulps_file_name): Define.
60863         (output_dir): New variable.
60864         (options): Add "output-dir" option.
60865         (parse_opt): Handle 'o' case.
60866         (main): If output_dir is non-NULL use it as a prefix
60867         otherwise use "".
60868         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
60870 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60872         [BZ #10060, #10062]
60873         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
60874         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
60875         fail configure if __sync_val_compare_and_swap is not inlined.
60876         * sysdeps/i386/configure: Regenerate.
60877         * configure.in: Build for i686 when configured for i386.
60878         * configure: Regenerate.
60879         * README: Remove i386 reference.
60881 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60883         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
60884         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60886 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60888         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
60889         (lmsnanval): New variables.
60890         (F): Add conversion tests.
60891         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
60892         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
60894         * stdio-common/tstdiomisc.c (F): Properly collect individual
60895         tests' results.
60897         [BZ #14686, #15336]
60898         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
60899         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
60900         Instead, use input NaN values or generate a qNaN by arithmetic
60901         operation.  Also fix bugs to comply with the standard.
60902         * math/libm-test.inc (remainder_test): Add more tests.
60904         [BZ #15335, #15342]
60905         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
60906         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
60907         input NaN values or generate a qNaN by arithmetic operation.
60909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
60910         unreachable code.
60912         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
60913         definitions.
60915 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
60917         [BZ #14478]
60918         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
60919         underflowed result.
60920         * math/s_cexpf.c (__cexpf): Likewise.
60921         * math/s_cexpl.c (__cexpl): Likewise.
60922         * math/libm-test.inc (cexp_test): Add more tests.
60924 2013-04-03  Andreas Schwab  <schwab@suse.de>
60926         [BZ #15330]
60927         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
60928         order arrays from heap if bigger than alloca cutoff.
60930 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
60932         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
60933         (SNAN_TESTS_double): Refer to GCC PR56831.
60934         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
60935         GCC PR56828.
60937 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60939         * Rules (bench): Move bench.out after the run is complete.
60941         * Rules (bench): Echo currently running benchmark.
60943         * benchtests/Makefile (bench): Add atan and slowatan.
60944         * benchtests/atan-inputs: New file.
60945         * benchtests/slowatan-inputs: New file.
60946         * benchtests/slowatan.c: New file.
60948         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
60949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
60950         its value.
60952         [BZ #15305]
60953         * sysdeps/unix/sysv/linux/kernel-features.h
60954         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
60955         __ASSUME_XFS_RESTRICTED_CHOWN.
60956         * sysdeps/unix/sysv/linux/pathconf.c
60957         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
60958         Save and restore errno.
60960 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
60962         [BZ #15327]
60963         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
60964         arguments using __kernel_casinh.
60965         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
60966         arguments using __kernel_casinhf.
60967         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
60968         arguments using __kernel_casinhl.
60969         * math/libm-test.inc (cacosh_test): Add more tests.
60970         * sysdeps/i386/fpu/libm-test-ulps: Update.
60971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60973 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60975         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
60976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
60978         * bench/Makefile (bench): Add sin and slowsin.
60979         * benchtests/sin-inputs: New file.
60980         * benchtests/slowsin-inputs: New file.
60981         * benchtests/slowsin.c: New file.
60983         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
60984         (bench): Add slowexp and slowpow.
60985         (exp-ITER): Increase iterations.
60986         (pow-ITER): Likewise.
60987         * benchtests/exp-inputs: Change input.
60988         * benchtests/pow-inputs: Likewise.
60989         * benchtests/slowexp-inputs: New file.
60990         * benchtests/slowexp.c: New file.
60991         * benchtests/slowpow-inputs: New file.
60992         * benchtests/slowpow.c: New file.
60994 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60996         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
60997         instructions.
60998         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60999         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61000         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61001         * benchtests/Makefile: Add rint benchtest.
61002         * benchtests/rint-inputs: Input for rint benchtest.
61004 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61006         * Versions.def (libm): Add GLIBC_2.18.
61007         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61008         hidden libm prototypes.
61009         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61010         * math/Makefile (libm-calls): Add s_issignaling.
61011         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61012         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61013         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61014         declaration.
61015         * math/math.h [__USE_GNU] (issignaling): New macro.
61016         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61017         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61018         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61019         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61020         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61021         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61022         * manual/arith.texi (issignaling): New section.
61023         * manual/libm-err-tab.pl (@all_functions): Update comment.
61024         * math/gen-libm-test.pl (parse_args): Apply special handling for
61025         issignaling.
61026         * math/libm-test.inc (print_float, issignaling_test): New
61027         functions.
61028         (check_float_internal): Add issignaling checks.
61029         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61030         default definition.
61031         * sysdeps/powerpc/math-tests.h: New file.
61032         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61033         tests.
61034         * math/test-snan.c (TEST_FUNC): Likewise.
61036 2013-03-30  David S. Miller  <davem@davemloft.net>
61038         * po/de.po: Update from translation team.
61040 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61042         [BZ #10357]
61043         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61044         imaginary part less than 1.0 and real part less than 0.5
61045         specially.
61046         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61047         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61048         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61049         (cacos_test): Add more tests.
61050         (casin_test): Likewise.
61051         (casinh_test): Likewise.
61052         * sysdeps/i386/fpu/libm-test-ulps: Update.
61053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61055 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61057         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61058         ONE with its value.
61060         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61061         (__pow_mp): Replace ONE and MONE with their values.
61062         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61063         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61064         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61065         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61066         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61067         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61069         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61071         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61072         (__pow_mp): Replace ZERO and MZERO with their values.
61073         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61074         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61075         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61076         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61077         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61078         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61079         (__sqr): Likewise.
61081         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61083         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61085 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61087         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61088         Declare with __attribute__ ((weak)).
61089         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61090         Call __call_tls_dtors only if it's not NULL.
61092 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61094         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61095         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61096         magic __ehdr_start linker symbol if it's defined.
61097         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61098         them up here if it was already done.
61100         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61101         (_dl_aux_init): Use const in cast when setting it.
61102         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61103         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61104         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61106         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61107         Declare them here.
61108         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61109         * csu/libc-tls.c: Nor here.
61110         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61112         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61113         (__libc_message): Never call vsyslog.
61115 2013-03-28  Alan Modra  <amodra@gmail.com>
61117         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61118         Define as empty.
61119         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61120         Likewise.
61122 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61124         [BZ #15214]
61125         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61126         underflow.
61127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61129 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61131         [BZ #15304]
61132         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61133         Don't add gid passed as argument.
61135         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61137 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61139         [BZ #15307]
61140         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61141         imaginary part between 1.0 and 1.5 and real part less than 0.5
61142         specially.
61143         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61144         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61145         * math/libm-test.inc (cacos_test): Add more tests.
61146         (casin_test): Likewise.
61147         (casinh_test): Likewise.
61148         * sysdeps/i386/fpu/libm-test-ulps: Update.
61149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61151 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61153         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61154         constants.
61155         (norm): Likewise.
61156         (denorm): Likewise.
61157         (__dbl_mp): Likewise.
61158         (add_magnitudes): Likewise.
61159         (sub_magnitudes): Likewise.
61160         (__add): Likewise.
61161         (__sub): Likewise.
61162         (__mul): Likewise.
61163         (__sqr): Likewise.
61164         (__inv): Likewise.
61165         (__dvd): Likewise.
61167         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61168         commented code.
61169         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61170         (__dubcos): Likewise.
61171         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61172         (__ieee754_acos): Likewise.
61173         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61174         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61175         (__exp1): Likewise.
61176         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61177         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61178         (log1): Likewise.
61179         (my_log2): Likewise.
61180         (checkint): Likewise.
61181         * sysdeps/ieee754/dbl-64/e_remainder.c
61182         (__ieee754_remainder): Likewise.
61183         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61185         (bsloww): Likewise.
61186         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61188         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61189         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61190         MANTISSA_STORE_T to store computations on mantissa.  Use
61191         macros for rounding and division.
61192         (denorm): Likewise.
61193         (__dbl_mp): Likewise.
61194         (add_magnitudes): Likewise.
61195         (sub_magnitudes): Likewise.
61196         (__mul): Likewise.
61197         (__sqr): Likewise.
61198         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61199         powers of two in terms of TWOPOW macro.
61200         (mp_no): Make type of mantissa as MANTISSA_T.
61201         [!RADIXI]: Define RADIXI.
61202         [!TWO52]: Define TWO52.
61203         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61205 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61207         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61208         llroundl symbol when building for PPC32.
61210 2013-03-24  Mark H Weaver  <mhw@netris.org>
61212         * manual/arith.texi (Normalization Functions): Fix prototypes for
61213         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61215 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61217         [BZ #13889]
61218         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61219         high value to check if expl overflow.
61220         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61221         to check for underflow and overflow.
61222         * math/libm-test.inc: Add exp test.
61224 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61226         [BZ #11120]
61227         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61228         with NOT_IN_libc.
61230 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61232         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61233         symbol.
61235 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61237         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61238         wrap blocks consisting of several statements.
61240         * sysdeps/generic/math-tests.h: New file.
61241         * sysdeps/i386/fpu/math-tests.h: Likewise.
61242         * math/test-snan.c: Include it.
61243         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61245 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61247         [BZ #15285]
61248         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61249         (__ieee754_j0l): Do not improve calculations using cos of twice
61250         input for inputs above LDBL_MAX / 2.0L.
61251         (__ieee754_y0l): Likewise.
61252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61253         (__ieee754_j1l): Do not improve calculations using cos of twice
61254         input for inputs above LDBL_MAX / 2.0L.
61255         (__ieee754_y1l): Likewise.
61256         * math/libm-test.inc (j0_test): Add another test.
61257         (j1_test): Likewise.
61258         (y0_test): Likewise.
61259         (y1_test): Likewise.
61260         * sysdeps/i386/fpu/libm-test-ulps: Update.
61262 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61264         * Rules ($(objpfx)bench-%.c): Include code from a C source
61265         file.
61267 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61269         [BZ #15287]
61270         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61271         imaginary part 1.0 and real part less than 0.5 specially.
61272         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61273         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61274         * math/libm-test.inc (cacos_test): Add more tests.
61275         (casin_test): Likewise.
61276         (casinh_test): Likewise.
61277         * sysdeps/i386/fpu/libm-test-ulps: Update.
61278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61280 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61282         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61283         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61285 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61287         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61288         * config.make.in (config-cflags-sse4): Remove variable.
61289         (config-cflags-avx): Likewise.
61290         (config-cflags-sse2avx): Likewise.
61291         (config-cflags-novzeroupper): Likewise.
61292         (config-asflags-i686): Likewise.
61293         (have-mfma4): Likewise.
61294         (have-as-vis3): Likewise.
61295         (MIG): Likewise.
61296         * configure.in (MIG): Do not AC_SUBST.
61297         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61298         (libc_cv_cc_sse4): Do not AC_SUBST.
61299         (libc_cv_cc_avx): Likewise.
61300         (libc_cv_cc_sse2avx): Likewise.
61301         (libc_cv_cc_novzeroupper): Likewise.
61302         (libc_cv_cc_fma4): Likewise.
61303         (libc_cv_as_i686): Likewise.
61304         (libc_cv_sparc_as_vis3): Likewise.
61305         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61306         LIBC_CONFIG_VAR.
61307         (config-asflags-i686): Likewise.
61308         (config-cflags-avx): Likewise.
61309         (config-cflags-sse2avx): Likewise.
61310         (have-mfma4): Likewise.
61311         (config-cflags-novzeroupper): Likewise.
61312         * sysdeps/mach/configure.in (MIG): Likewise.
61313         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61314         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61315         LIBC_CONFIG_VAR.
61316         (config-cflags-avx): Likewise.
61317         (config-cflags-sse2avx): Likewise.
61318         (have-mfma4): Likewise.
61319         (config-cflags-novzeroupper): Likewise.
61320         * configure: Regenerated.
61321         * sysdeps/i386/configure: Likewise.
61322         * sysdeps/mach/configure: Likewise.
61323         * sysdeps/sparc/configure: Likewise.
61324         * sysdeps/x86_64/configure: Likewise.
61326 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61328         [BZ #14812]
61329         * locale/programs/localedef.c (options): Put N_ translation marker
61330         on argument names, not just descriptions.
61332 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61334         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61336 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61338         [BZ #14176]
61339         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61341 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61343         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61344         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61345         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61346         [!BEFORE_ABORT] (before_abort): New function.
61347         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61348         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61349         (writev_for_fatal): New function.
61350         (WRITEV_FOR_FATAL): New macro; call that.
61351         (backtrace_and_maps): New function.
61352         (BEFORE_ABORT): New macro; call that.
61353         (struct str_list): Type removed.
61354         (__libc_message, __libc_fatal): Functions removed.
61355         Include <sysdeps/posix/libc_fatal.c> instead.
61357 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61359         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61360         constants.
61361         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61362         double constants.
61364 2013-03-19  Andreas Schwab  <schwab@suse.de>
61366         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61367         * sysdeps/gnu/configure: Regenerate.
61369         * configure.in: Substitute libc_cv_rtlddir.
61370         * configure: Regenerate.
61371         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61372         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61373         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61374         * elf/Makefile (install-others, CFLAGS-interp.c)
61375         (ldso_install, common-ldd-rewrite): Likewise.
61376         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61377         $(inst_slibdir)/$(rtld-installed-name).
61378         * scripts/rellns-sh: Add -p option.
61379         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61380         for source.
61382 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61384         * manual/nptl.texi: Renamed to ...
61385         * manual/threads.texi: ... this.
61386         * manual/Makefile (chapters): Update.
61388 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61390         [BZ #14812]
61391         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61392         on argument names, not just descriptions.
61393         * malloc/memusagestat.c (options): Likewise.
61394         * nss/getent.c (options): Likewise.
61396 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61398         [BZ #14812]
61399         * iconv/iconv_prog.c (options): Put N_ translation marker
61400         on argument names, not just descriptions.
61401         * iconv/iconvconfig.c (options): Likewise.
61403 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61405         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61406         implementation which is faster on all x86_64 architectures.
61407         Tested on AMD, Intel Nehalem, SNB, IVB.
61408         * sysdeps/x86_64/strnlen.S: Likewise.
61410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61411         Remove all multiarch strlen and strnlen versions.
61412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61413         Remove strlen and strnlen related parts.
61415         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61416         Inline strlen part.
61417         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61419         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61420         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61421         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61422         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61423         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61424         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61426 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61428         * manual/memory.texi (Malloc Tunable Parameters):
61429         Sort parameters alphabetically. Add comments for missing entries.
61431 2013-03-17  David S. Miller  <davem@davemloft.net>
61433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61435 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61437         [BZ #15283]
61438         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61439         for arguments at most half maximum finite value.
61440         * math/libm-test.inc (j0_test): Add more tests.
61441         (j1_test): Likewise.
61442         (y0_test): Likewise.
61443         (y1_test): Likewise.
61444         * sysdeps/i386/fpu/libm-test-ulps: Update.
61445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61447         [BZ #14155]
61448         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61449         1 / x and functions P and Q for arguments above 0x1p256L.
61450         (__ieee754_y0l): Likewise.
61451         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61452         (__ieee754_y1l): Likewise.
61453         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61454         (j1_test): Likewise.
61455         (y0_test): Likewise.
61456         (y1_test): Likewise.
61458 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61460         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61461         variable.
61463 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61465         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61466         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61467         zero since it's initialized to EXEC_PAGESIZE.
61469         * sysdeps/unix/sysv/linux/ldsodefs.h
61470         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61471         * sysdeps/generic/ldsodefs.h: ... here.
61473 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61475         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61477         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61478         math/test-snan.c.
61479         * math/test-snan.c: Renamed from
61480         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61481         * math/Makefile (tests): Add test-snan.
61482         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61483         test-powerpc-snan.
61485         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61486         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
61487         functions.
61488         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
61489         __builtin_nan family of functions.
61490         * math/libm-test.inc (initialize): Initialize qnan_value with
61491         __builtin_nan family of functions.
61492         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
61493         Remove variables.
61494         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
61495         Remove functions.
61496         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
61497         storage class.  Initialize qNaN_var and sNaN_var with
61498         __builtin_nan and __builtin_nans families of functions,
61499         respectively.
61501         * math/libm-test.inc (acosh_test): Also test with qNaN input.
61502         (sqrt_test): Remove duplicate test with qNaN input.
61503         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
61504         (round_test, signbit_test, significand_test): Note missing +/-Inf
61505         as well as qNaN tests.
61507         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
61508         qNaN_var.  Fix a few strings, too.
61509         * math/libm-test.inc (nan_value): Rename to qnan_value.
61510         * math/gen-libm-test.pl (%beautify): Adjust to that.
61511         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
61512         * math/test-misc.c (main): Likewise.
61513         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
61514         to __qnan_bytes, and __qnan_union, respectively.
61515         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
61516         Likewise.
61517         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
61518         and lqnanval, respectively.
61519         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
61520         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
61521         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
61522         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
61524         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
61525         * math/test-misc.c (main) [__x86_64__]: Enable test for long
61526         doubles.
61528         * math/test-misc.c (main): Fix copy'n'pastos.
61529         * misc/tst-efgcvt.c (special): Likewise.
61531         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
61532         Remove declarations.
61534 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61536         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
61537         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
61538         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
61539         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
61541 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61543         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
61544         macro to return vdso values correctly in IFUNC implementations.
61545         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
61546         Optimization by using IFUNC.
61548 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61549             Richard Henderson  <rth@redhat.com>
61550             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61552         * Makefile.in (bench): New target.
61553         * NEWS: Mention the benchmark framework.
61554         * Rules (bench): Likewise.
61555         (binaries-bench): Generate binaries for functions to
61556         benchmark.
61557         * benchtests/Makefile: New makefile for benchmark tests.
61558         * benchtests/bench-skeleton.c: New skeleton file for benchmark
61559         programs.
61560         * benchtests/exp-inputs: New input file for EXP function.
61561         * benchtests/pow-inputs: New input file for POW function.
61562         * scripts/bench.pl: New script to generate source files for
61563         benchmark programs.
61565 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61567         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61568         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
61569         computations on mantissa.  Use macros for rounding and
61570         division.
61571         (denorm): Likewise.
61572         (__dbl_mp): Likewise.
61573         (add_magnitudes): Likewise.
61574         (sub_magnitudes): Likewise.
61575         (__mul): Likewise.
61576         (__sqr): Likewise.
61577         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61578         powers of two in terms of TWOPOW macro.
61579         (mp_no): Make type of mantissa as MANTISSA_T.
61580         [!RADIXI]: Define RADIXI.
61581         [!TWO52]: Define TWO52.
61582         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61584         * manual/nptl.texi (cindex): Modify threads to pthreads.
61586 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
61588         * sysdeps/x86_64/preconfigure: Regenerated.
61590 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
61592         [BZ #14155]
61593         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
61594         0x1p28 and above.
61595         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
61596         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
61597         0x1p28 and above.
61598         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
61599         * math/libm-test.inc (j0_test): Do not allow one spurious
61600         underflow exception.
61601         (y1_test): Likewise.
61603 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61605         * manual/Makefile (chapters): Add nptl.
61606         * manual/debug.texi (Debugging Support): Add link to Threads
61607         chapter.
61608         * manual/nptl.texi: New file.
61610         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
61612 2013-03-14  Petr Baudis  <pasky@ucw.cz>
61614         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
61615         for non-NULL pointer before the memory validity test. Pointed
61616         out by Holger Brunck <holger.brunck@keymile.com>.
61618 2013-03-13  Andreas Schwab  <schwab@suse.de>
61620         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
61621         instead of .os.
61623 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
61625         * timezone/zic.c: Update from tzcode 2013b.
61627 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
61629         * manual/install.texi (Configuring and compiling):
61630         Mention i686 and i586.
61631         * INSTALL: Regenerate.
61633 2013-03-12  Roland McGrath  <roland@hack.frob.com>
61635         * sysdeps/init_array/elf-init.c: New file.
61636         * csu/elf-init.c
61637         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
61638         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
61640         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
61641         __gmon_start__ as global, but as static with a .preinit_array pointer.
61642         * sysdeps/init_array/gmon-start.c: New file.  Use that.
61643         * sysdeps/init_array/crti.S: New file, empty except for comments.
61644         * sysdeps/init_array/crtn.S: Likewise.
61646 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
61648         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
61649         definining bcopy.
61650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61651         Remove Prefer_SSE_for_memop.
61652         * sysdeps/x86_64/multiarch/init-arch.h: Remove
61653         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
61654         HAS_PREFER_SSE_FOR_MEMOP.
61655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
61656         memset-x86-64.
61657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61658         Remove bzero, memset ifunc support.
61659         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
61660         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
61661         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61662         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61664 2013-03-11  Andreas Schwab  <schwab@suse.de>
61666         [BZ #15234]
61667         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
61668         by SHLIB_COMPAT.
61669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
61670         (GLIBC_2.16): Remove pthread_atfork.
61672 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
61674         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
61675         (ptestcases.h): Likewise.
61677 2013-03-08  Roland McGrath  <roland@hack.frob.com>
61679         * Makeconfig ($(common-objpfx)config.status): Depend on
61680         sysdeps/*/preconfigure{,.in} too.
61682 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
61684         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
61685         (__free_hook): Use void * instead of __malloc_ptr_t.
61686         (__malloc_hook): Likewise.
61687         (__realloc_hook): Likewise.
61688         (__memalign_hook): Likewise.
61689         (__after_morecore_hook): Likewise.
61690         * malloc/arena.c (save_malloc_hook): Likewise.
61691         (save_free_hook): Likewise.
61692         * malloc/hooks.c (malloc_hook_ini): Likewise.
61693         (realloc_hook_ini): Likewise.
61694         (memalign_hook_ini): Likewise.
61695         * malloc/malloc.c (malloc_hook_ini): Likewise.
61696         (realloc_hook_ini): Likewise.
61697         (memalign_hook_ini): Likewise.
61698         (__free_hook): Likewise.
61699         (__malloc_hook): Likewise.
61700         (__realloc_hook): Likewise.
61701         (__memalign_hook): Likewise.
61702         (__libc_malloc): Likewise.
61703         (__libc_free): Likewise.
61704         (__libc_realloc): Likewise.
61705         (__libc_memalign): Likewise.
61706         (__libc_valloc): Likewise.
61707         (__libc_pvalloc): Likewise.
61708         (__libc_calloc): Likewise.
61709         (__posix_memalign): Likewise.
61710         * malloc/morecore.c (__sbrk): Likewise.
61711         (__default_morecore): Likewise.
61713         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
61715         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
61716         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
61717         __malloc_ptrdiff_t.
61719         * malloc/malloc.h (__malloc_size_t): Remove macro.
61720         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
61721         __malloc_size_t.
61722         (old_memalign_hook): Likewise.
61723         (old_realloc_hook): Likewise.
61724         (struct hdr): Likewise.
61725         (flood): Likewise.
61726         (mallochook): Likewise.
61727         (memalignhook): Likewise.
61728         (reallochook): Likewise.
61729         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
61730         (tr_old_realloc_hook): Likewise.
61731         (tr_old_memalign_hook): Likewise.
61732         (tr_mallochook): Likewise.
61733         (tr_reallochook): Likewise.
61734         (tr_memalignhook): Likewise.
61736 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
61739         default_ldbl_pack and using as default implementation.
61740         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
61741         implementation.
61742         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
61743         redundant definition.
61744         (ldbl_insert_mantissa): Likewise.
61745         (ldbl_canonicalize): Likewise.
61746         (ldbl_nearbyint): Likewise.
61747         (ldbl_pack): Rename to ldbl_pack_ppc.
61748         (ldbl_unpack): Rename to ldbl_unpack_ppc.
61749         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
61750         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61752 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
61755         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
61756         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
61757         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
61758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
61759         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
61760         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
61761         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
61763 2013-03-07  Andreas Jaeger  <aj@suse.de>
61765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61766         bits/mman-linux.h.
61768 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61770         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61771         Include mpa.h and declare __MPEXP.
61772         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61773         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61774         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61775         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61776         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61777         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61778         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61780         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61781         (__slowpow): Use long double EXPL and LOGL functions to
61782         compute POW.
61783         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61784         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61785         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61786         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61787         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61788         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61791         intermediate variable to calculate exponent.
61792         (__sqr): Likewise.
61793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61794         Likewise.
61795         (__sqr): Likewise.
61797         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61798         [!NO__SQR]: Define __sqr.
61799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61800         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61801         sysdeps/ieee754/dbl-64/mpa.c.
61802         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61804         [BZ #12723]
61805         * posix/Makefile (tests): Add tst-pathconf.
61806         * posix/tst-pathconf.c: New test case.
61807         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
61808         _PC_PIPE_BUF.
61809         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
61811 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
61813         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
61815 2013-03-06  Andreas Jaeger  <aj@suse.de>
61817         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
61818         definition via __MAP_ANONYMOUS.
61820         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
61821         it's not part of Linux headers.
61823         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
61824         (MAP_HUGE_MASK): Define.
61826         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61827         Define.
61828         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61829         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61830         Define.
61831         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61832         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61833         Define.
61834         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61835         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
61836         Define.
61837         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61839         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
61840         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
61841         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
61842         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
61843         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
61844         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
61846         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61847         Handle f2fs.
61849         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61850         Handle f2fs and efivarfs.
61852         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
61853         f2fs.
61855         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
61856         (EFIVARFS_MAGIC): Add.
61857         (F2FS_LINK_MAX): Add.
61859 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61861         * stdio-common/vfprintf.c: Replace __builtin_expect with
61862         __glibc_unlikely.
61864 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
61866         [BZ #13550]
61867         * sysdeps/generic/bp-sym.h: Remove file.
61868         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
61869         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
61870         <bp-sym.h> and <bp-asm.h>.
61871         (__longjmp): Don't use BP_SYM.
61872         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
61873         and <bp-asm.h>.
61874         (memcpy): Don't use BP_SYM.
61875         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
61876         <bp-sym.h> and <bp-asm.h>.
61877         (memcpy): Don't use BP_SYM.
61878         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
61879         <bp-asm.h>.
61880         (memcpy): Don't use BP_SYM.
61881         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
61882         <bp-asm.h>.
61883         (memset): Don't use BP_SYM.
61884         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61885         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61886         (__bzero): Don't use BP_SYM.
61887         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61888         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61889         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
61890         <bp-sym.h> and <bp-asm.h>.
61891         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61892         pointers.
61893         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
61894         <bp-sym.h> and <bp-asm.h>.
61895         (memcpy): Don't use BP_SYM.
61896         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
61897         <bp-sym.h> and <bp-asm.h>.
61898         (memset): Don't use BP_SYM.
61899         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61900         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61901         (__bzero): Don't use BP_SYM.
61902         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61903         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61904         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
61905         <bp-sym.h> and <bp-asm.h>.
61906         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61907         pointers.
61908         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
61909         <bp-sym.h> and <bp-asm.h>.
61910         (memcpy): Don't use BP_SYM.
61911         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
61912         <bp-sym.h> and <bp-asm.h>.
61913         (memset): Don't use BP_SYM.
61914         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61915         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61916         (__bzero): Don't use BP_SYM.
61917         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61918         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61919         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
61920         <bp-sym.h> and <bp-asm.h>.
61921         (__memchr): Don't use BP_SYM.
61922         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
61923         <bp-sym.h> and <bp-asm.h>.
61924         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61925         pointers.
61926         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
61927         <bp-sym.h> and <bp-asm.h>.
61928         (memcpy): Don't use BP_SYM.
61929         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
61930         <bp-sym.h> and <bp-asm.h>.
61931         (__mempcpy): Don't use BP_SYM.
61932         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
61933         <bp-sym.h> and <bp-asm.h>.
61934         (__memrchr): Don't use BP_SYM.
61935         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
61936         <bp-sym.h> and <bp-asm.h>.
61937         (memset): Don't use BP_SYM.
61938         (__bzero): Likewise.
61939         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
61940         <bp-sym.h> and <bp-asm.h>.
61941         (__rawmemchr): Don't use BP_SYM.
61942         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
61943         <bp-sym.h> and <bp-asm.h>.
61944         (__STRCMP): Don't use BP_SYM.
61945         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
61946         <bp-sym.h> and <bp-asm.h>.
61947         (strchr): Don't use BP_SYM.
61948         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
61949         <bp-sym.h> and <bp-asm.h>.
61950         (__strchrnul): Don't use BP_SYM.
61951         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
61952         <bp-sym.h> and <bp-asm.h>.
61953         (strlen): Don't use BP_SYM.
61954         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
61955         <bp-sym.h> and <bp-asm.h>.
61956         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61957         pointers.
61958         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
61959         <bp-sym.h> and <bp-asm.h>.
61960         (__strnlen): Don't use BP_SYM.
61961         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
61962         <bp-sym.h> and <bp-asm.h>.
61963         (__GI__setjmp): Don't use BP_SYM.
61964         (_setjmp): Likewise.
61965         (__sigsetjmp): Likewise.
61966         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
61967         (L(start_addresses)): Don't use BP_SYM.
61968         (_start): Likewise.
61969         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
61970         <bp-asm.h>.
61971         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
61972         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
61973         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61974         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61975         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
61976         <bp-asm.h>.
61977         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
61978         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
61979         about bounded pointers.
61980         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61981         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61982         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
61983         <bp-asm.h>.
61984         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61985         about bounded pointers.  Remove GKM FIXME comments.
61986         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61987         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
61988         <bp-asm.h>.
61989         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
61990         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
61991         Remove GKM FIXME comments.
61992         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61993         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61994         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
61995         <bp-asm.h>.
61996         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61997         about bounded pointers.  Remove GKM FIXME comment.
61998         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
61999         and <bp-asm.h>.
62000         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62001         pointers.
62002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62003         <bp-sym.h> and <bp-asm.h>.
62004         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62006         <bp-sym.h> and <bp-asm.h>.
62007         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62008         comment.
62010 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62012         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62013         call free(NULL).
62015 2013-03-05  David S. Miller  <davem@davemloft.net>
62017         * po/es.po: Update from translation team.
62019 2013-03-05  Andreas Jaeger  <aj@suse.de>
62021         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62022         <bits/mman-linux.h>.
62023         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62024         is fine.
62025         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62026         <bits/mman-linux.h> to end of file.
62027         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62028         is fine.
62029         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62030         <bits/mman-linux.h> to end of file.
62031         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62032         is fine.
62033         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62034         <bits/mman-linux.h> to end of file.
62036         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62037         (MCL_CURRENT, MCL_FUTURE): Define here.
62039 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62041         [BZ #15232]
62042         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62043         attribute_hidden.
62044         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62046 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62048         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62049         fourth parameter needed for rt_sigprocmask syscall.
62050         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62051         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62052         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62053         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62054         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62055         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62057 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62059         [BZ #13550]
62060         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62061         comment about bounded pointers.
62062         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62063         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62065 2013-03-04  Andreas Jaeger  <aj@suse.de>
62067         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62068         common definitions.
62070         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62071         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62072         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62073         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62074         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62075         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62077 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62079         [BZ #15055]
62080         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62081         __ieee754_sqrl instead of __sqrl.
62083 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62085         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62086         * sysdeps/powerpc/fpu_control.h: ... here.
62087         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62088         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62089         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62090         * sysdeps/powerpc/bits/mathinline.h: ... here.
62092 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62094         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62095         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62096         to just [NEED_DL_SYSINFO_DSO].
62097         * elf/dl-support.c: Likewise.
62098         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62099         * elf/rtld.c (dl_main): Likewise.
62100         * elf/setup-vdso.h (setup_vdso): Likewise.
62101         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62102         * sysdeps/unix/sysv/linux/dl-sysdep.c
62103         (_dl_discover_osversion): Likewise.
62105 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62107         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62108         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62110 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62112         * NEWS: Mention libm performance improvements and non-x86 PI
62113         futex support.
62115         * csu/libc-start.c (__pthread_initialize_minimal): Change
62116         function arguments.
62117         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62119 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62121         [BZ #13550]
62122         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62123         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62124         <bp-sym.h> and <bp-asm.h>.
62125         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62126         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62127         and <bp-asm.h>.
62128         (memcpy): Don't use BP_SYM.
62129         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62130         <bp-asm.h>.
62131         (__mpn_add_n): Don't use BP_SYM.
62132         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62133         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62134         and <bp-asm.h>.
62135         (__mpn_addmul_1): Don't use BP_SYM.
62136         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62137         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62138         <bp-sym.h>.
62139         (_setjmp): Don't use BP_SYM.
62140         (__novmx_setjmp): Likewise.
62141         (__GI__setjmp): Likewise.
62142         (__vmx_setjmp): Likewise.
62143         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62144         <bp-sym.h>.
62145         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62146         (__bzero): Don't use BP_SYM.
62147         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62148         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62149         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62150         <bp-sym.h> and <bp-asm.h>.
62151         (memcpy): Don't use BP_SYM.
62152         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62153         <bp-sym.h> and <bp-asm.h>.
62154         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62155         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62156         <bp-sym.h> and <bp-asm.h>.
62157         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62158         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62159         <bp-asm.h>.
62160         (__mpn_lshift): Don't use BP_SYM.
62161         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62162         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62163         <bp-asm.h>.
62164         (memset): Don't use BP_SYM.
62165         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62166         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62167         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62168         <bp-asm.h>.
62169         (__mpn_mul_1): Don't use BP_SYM.
62170         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62171         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62172         <bp-sym.h> and <bp-asm.h>.
62173         (memcmp): Don't use BP_SYM.
62174         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62175         <bp-sym.h> and <bp-asm.h>.
62176         (memcpy): Don't use BP_SYM.
62177         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62178         <bp-sym.h> and <bp-asm.h>.
62179         (memset): Don't use BP_SYM.
62180         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62181         <bp-sym.h> and <bp-asm.h>.
62182         (strncmp): Don't use BP_SYM.
62183         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62184         <bp-sym.h> and <bp-asm.h>.
62185         (memcpy): Don't use BP_SYM.
62186         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62187         <bp-sym.h> and <bp-asm.h>.
62188         (memset): Don't use BP_SYM.
62189         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62190         <bp-sym.h> and <bp-asm.h>.
62191         (__memchr): Don't use BP_SYM.
62192         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62193         <bp-sym.h> and <bp-asm.h>.
62194         (memcmp): Don't use BP_SYM.
62195         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62196         <bp-sym.h> and <bp-asm.h>.
62197         (memcpy): Don't use BP_SYM.
62198         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62199         <bp-sym.h> and <bp-asm.h>.
62200         (__mempcpy): Don't use BP_SYM.
62201         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62202         <bp-sym.h> and <bp-asm.h>.
62203         (__memrchr): Don't use BP_SYM.
62204         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62205         <bp-sym.h> and <bp-asm.h>.
62206         (memset): Don't use BP_SYM.
62207         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62208         <bp-sym.h> and <bp-asm.h>.
62209         (__rawmemchr): Don't use BP_SYM.
62210         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62211         <bp-sym.h> and <bp-asm.h>.
62212         (__STRCMP): Don't use BP_SYM.
62213         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62214         <bp-sym.h> and <bp-asm.h>.
62215         (strchr): Don't use BP_SYM.
62216         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62217         <bp-sym.h> and <bp-asm.h>.
62218         (__strchrnul): Don't use BP_SYM.
62219         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62220         <bp-sym.h> and <bp-asm.h>.
62221         (strlen): Don't use BP_SYM.
62222         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62223         <bp-sym.h> and <bp-asm.h>.
62224         (strncmp): Don't use BP_SYM.
62225         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62226         <bp-sym.h> and <bp-asm.h>.
62227         (__strnlen): Don't use BP_SYM.
62228         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62229         <bp-asm.h>.
62230         (__mpn_rshift): Don't use BP_SYM.
62231         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62232         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62233         <bp-sym.h> and <bp-asm.h>.
62234         (__sigsetjmp): Don't use BP_SYM.
62235         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62236         (L(start_addresses)): Don't use BP_SYM.
62237         (_start): Likewise.
62238         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62239         <bp-asm.h>.
62240         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62241         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62242         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62243         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62244         <bp-asm.h>.
62245         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62246         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62247         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62248         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62249         <bp-asm.h>.
62250         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62251         comments.
62252         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62253         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62254         <bp-asm.h>.
62255         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62256         FIXME comments.
62257         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62258         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62259         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62260         <bp-asm.h>.
62261         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62262         comment.
62263         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62264         and <bp-asm.h>.
62265         (strncmp): Don't use BP_SYM,
62266         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62267         <bp-asm.h>.
62268         (__mpn_sub_n): Don't use BP_SYM.
62269         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62270         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62271         and <bp-asm.h>.
62272         (__mpn_submul_1): Don't use BP_SYM.
62273         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62275         <bp-sym.h> and <bp-asm.h>.
62276         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62278         <bp-sym.h> and <bp-asm.h>.
62279         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62280         comment.
62282 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62285         Use ZK to minimize writes to Z.
62286         (sub_magnitudes): Simplify code a bit.
62287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62288         Use ZK to minimize writes to Z.
62289         (sub_magnitudes): Simplify code a bit.
62291 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62293         * csu/gmon-start.c: Add special exception to license text.
62295 2013-02-27  Richard Henderson  <rth@redhat.com>
62297         * scripts/config.guess: Update from config.git.
62298         * scripts/config.sub: Likewise.
62300 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62302         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62304         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62306         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62308         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62310         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62312 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62314         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62315         [$(build-shared = yes].
62317 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62319         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62320         (__mul): Reduce iterations for calculating mantissa.
62322         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62323         MPTWO.
62324         (__mpranred): Likewise.
62326         [BZ #15160]
62327         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62328         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62330 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62332         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62333         Define __attribute__.
62335 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62337         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62338         unused.
62339         * posix/regex_internal.h (__attribute): Remove.
62340         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62341         (re_string_context_at): Likewise.
62342         (bitset_not): Use __attribute__ and mark function as possibly
62343         unused.
62344         (bitset_merge): Likewise.
62345         (bitset_mask): Likewise.
62346         (re_string_char_size_at): Likewise.
62347         (re_string_wchar_at): Likewise.
62348         (re_string_elem_size_at): Likewise.
62350 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62352         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62353         code.
62354         (cc32): Likewise.
62356         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62357         (__acr): Likewise.
62358         (__cpy): Likewise.
62359         (norm): Likewise.
62360         (denorm): Likewise.
62361         (__dbl_mp): Likewise.
62362         (add_magnitudes): Likewise.
62363         (sub_magnitudes): Likewise.
62364         (__mul): Likewise.
62365         (__inv): Likewise.
62367         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62368         style.
62370         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62371         style.
62373         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62374         code.
62376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62377         up changes with default code.
62378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62379         Likewise.
62381 2013-02-24  Allan McRae  <allan@archlinux.org>
62383         * manual/socket.texi (The Internet Namespace): Order menu items
62384         to match that in the file.
62386         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62387         node listing of the info page menu.
62389 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62391         [BZ #13550]
62392         * sysdeps/i386/bp-asm.h: Remove file.
62393         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62394         (PARMS): Do not use macros from bp-asm.h.
62395         (S1): Likewise.
62396         (S2): Likewise.
62397         (SIZE): Likewise.
62398         (__mpn_add_n): Do not use BP_SYM
62399         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62400         "bp-asm.h".
62401         (PARMS): Do not use macros from bp-asm.h.
62402         (S1): Likewise.
62403         (SIZE): Likewise.
62404         (__mpn_addmul_1): Do not use BP_SYM
62405         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62406         "bp-asm.h".
62407         (PARMS): Do not use macros from bp-asm.h.
62408         (SIGMSK): Likewise.
62409         (_setjmp): Likewise.  Do not use BP_SYM.
62410         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62411         "bp-asm.h".
62412         (PARMS): Do not use macros from bp-asm.h.
62413         (SIGMSK): Likewise.
62414         (setjmp): Likewise.  Do not use BP_SYM.
62415         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62416         "bp-asm.h".
62417         (PARMS): Do not use macros from bp-asm.h.
62418         (__frexp): Do not use BP_SYM.
62419         (frexp): Likewise.
62420         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62421         "bp-asm.h".
62422         (PARMS): Do not use macros from bp-asm.h.
62423         (__frexpf): Do not use BP_SYM.
62424         (frexpf): Likewise.
62425         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62426         "bp-asm.h".
62427         (PARMS): Do not use macros from bp-asm.h.
62428         (__frexpl): Do not use BP_SYM.
62429         (frexpl): Likewise.
62430         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62431         "bp-asm.h".
62432         (PARMS): Do not use macros from bp-asm.h.
62433         (__remquo): Do not use BP_SYM.
62434         (remquo): Likewise.
62435         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62436         "bp-asm.h".
62437         (PARMS): Do not use macros from bp-asm.h.
62438         (__remquof): Do not use BP_SYM.
62439         (remquof): Likewise.
62440         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62441         "bp-asm.h".
62442         (PARMS): Do not use macros from bp-asm.h.
62443         (__remquol): Do not use BP_SYM.
62444         (remquol): Likewise.
62445         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
62446         "bp-asm.h".
62447         (PARMS): Do not use macros from bp-asm.h.
62448         (DEST): Likewise.
62449         (SRC): Likewise.
62450         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62451         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62452         "bp-asm.h".
62453         (PARMS): Do not use macros from bp-asm.h.
62454         (strlen): Do not use BP_SYM.
62455         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
62456         "bp-asm.h".
62457         (PARMS): Do not use macros from bp-asm.h.
62458         (S1): Likewise.
62459         (S2): Likewise.
62460         (SIZE): Likewise.
62461         (__mpn_add_n): Do not use BP_SYM.
62462         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62463         "bp-asm.h".
62464         (PARMS): Do not use macros from bp-asm.h.
62465         (S1): Likewise.
62466         (SIZE): Likewise.
62467         (__mpn_addmul_1): Do not use BP_SYM.
62468         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62469         weak_alias.
62470         (bzero): Likewise.
62471         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62472         "bp-asm.h".
62473         (PARMS): Do not use macros from bp-asm.h.
62474         (S): Likewise.
62475         (SIZE): Likewise.
62476         (__mpn_lshift): Do not use BP_SYM.
62477         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62478         "bp-asm.h".
62479         (PARMS): Do not use macros from bp-asm.h.
62480         (DEST): Likewise.
62481         (SRC): Likewise.
62482         (LEN): Likewise.
62483         (memcpy): Likewise.  Do not use BP_SYM.
62484         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
62485         libc_hidden_def and weak_alias.
62486         (mempcpy): Do not use BP_SYM in weak_alias.
62487         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
62488         "bp-asm.h".
62489         (PARMS): Do not use macros from bp-asm.h.
62490         (DEST): Likewise.
62491         (LEN): Likewise.
62492         [!BZERO_P] (CHR): Likewise.
62493         (memset): Likewise.  Do not use BP_SYM.
62494         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
62495         "bp-asm.h".
62496         (PARMS): Do not use macros from bp-asm.h.
62497         (S1): Likewise.
62498         (SIZE): Likewise.
62499         (__mpn_mul_1): Do not use BP_SYM.
62500         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
62501         "bp-asm.h".
62502         (PARMS): Do not use macros from bp-asm.h.
62503         (S): Likewise.
62504         (SIZE): Likewise.
62505         (__mpn_rshift): Do not use BP_SYM.
62506         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
62507         "bp-asm.h".
62508         (PARMS): Do not use macros from bp-asm.h.
62509         (STR): Likewise.
62510         (CHR): Likewise.
62511         (strchr): Likewise.  Do not use BP_SYM.
62512         (index): Do not use BP_SYM in weak_alias.
62513         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
62514         "bp-asm.h".
62515         (PARMS): Do not use macros from bp-asm.h.
62516         (DEST): Likewise.
62517         (SRC): Likewise.
62518         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
62519         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
62520         "bp-asm.h".
62521         (PARMS): Do not use macros from bp-asm.h.
62522         (strlen): Do not use BP_SYM.
62523         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
62524         "bp-asm.h".
62525         (PARMS): Do not use macros from bp-asm.h.
62526         (S1): Likewise.
62527         (S2): Likewise.
62528         (SIZE): Likewise.
62529         (__mpn_sub_n): Do not use BP_SYM.
62530         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
62531         "bp-asm.h".
62532         (PARMS): Do not use macros from bp-asm.h.
62533         (S1): Likewise.
62534         (SIZE): Likewise.
62535         (__mpn_submul_1): Do not use BP_SYM.
62536         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
62537         "bp-asm.h".
62538         (PARMS): Do not use macros from bp-asm.h.
62539         (S1): Likewise.
62540         (S2): Likewise.
62541         (SIZE): Likewise.
62542         (__mpn_add_n): Do not use BP_SYM.
62543         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
62544         weak_alias.
62545         (bzero): Likewise.
62546         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
62547         "bp-asm.h".
62548         (PARMS): Do not use macros from bp-asm.h.
62549         (BLK2): Likewise.
62550         (LEN): Likewise.
62551         (memcmp): Do not use BP_SYM.
62552         (bcmp): Do not use BP_SYM in weak_alias.
62553         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
62554         "bp-asm.h".
62555         (PARMS): Do not use macros from bp-asm.h.
62556         (DEST): Likewise.
62557         (SRC): Likewise.
62558         (LEN): Likewise.
62559         (memcpy): Likewise.  Do not use BP_SYM.
62560         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
62561         "bp-asm.h".
62562         (PARMS): Do not use macros from bp-asm.h.
62563         (DEST): Likewise.
62564         (SRC): Likewise.
62565         (LEN): Likewise.
62566         (memmove): Likewise.  Do not use BP_SYM.
62567         * sysdeps/i386/i686/mempcpy.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         (SRC): Likewise.
62572         (LEN): Likewise.
62573         (__mempcpy): Likewise.  Do not use BP_SYM.
62574         (mempcpy): Do not use BP_SYM in weak_alias.
62575         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
62576         "bp-asm.h".
62577         (PARMS): Do not use macros from bp-asm.h.
62578         (DEST): Likewise.
62579         (LEN): Likewise.
62580         [!BZERO_P] (CHR): Likewise.
62581         (memset): Likewise.  Do not use BP_SYM.
62582         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
62583         "bp-asm.h".
62584         (PARMS): Do not use macros from bp-asm.h.
62585         (STR2): Likewise.
62586         (strcmp): Do not use BP_SYM.
62587         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
62588         "bp-asm.h".
62589         (PARMS): Do not use macros from bp-asm.h.
62590         (STR): Likewise.
62591         (DELIM): Likewise.
62592         [USE_AS_STRTOK_R] (SAVE): Likewise.
62593         (FUNCTION): Likewise.  Do not use BP_SYM.
62594         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
62595         aliases.
62596         (strtok_r): Likewise.
62597         (__GI___strtok_r): Likewise.
62598         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62599         (PARMS): Do not use macros from bp-asm.h.
62600         (S): Likewise.
62601         (SIZE): Likewise.
62602         (__mpn_lshift): Do not use BP_SYM.
62603         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62604         (PARMS): Do not use macros from bp-asm.h.
62605         (STR): Likewise.
62606         (CHR): Likewise.
62607         (__memchr): Do not use BP_SYM.
62608         (memchr): Do not use BP_SYM in weak_alias.
62609         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62610         (PARMS): Do not use macros from bp-asm.h.
62611         (BLK2): Likewise.
62612         (LEN): Likewise.
62613         (memcmp): Do not use BP_SYM.
62614         (bcmp): Do not use BP_SYM in weak_alias.
62615         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
62616         (PARMS): Do not use macros from bp-asm.h.
62617         (S1): Likewise.
62618         (SIZE): Likewise.
62619         (__mpn_mul_1): Do not use BP_SYM.
62620         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
62621         "bp-asm.h".
62622         (PARMS): Do not use macros from bp-asm.h.
62623         (STR): Likewise.
62624         (CHR): Likewise.
62625         (__rawmemchr): Do not use BP_SYM.
62626         (rawmemchr): Do not use BP_SYM in weak_alias.
62627         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62628         (PARMS): Do not use macros from bp-asm.h.
62629         (S): Likewise.
62630         (SIZE): Likewise.
62631         (__mpn_rshift): Do not use BP_SYM.
62632         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62633         (PARMS): Do not use macros from bp-asm.h.
62634         (SIGMSK): Likewise.
62635         (__sigsetjmp): Likewise.  Do not use BP_SYM.
62636         * sysdeps/i386/start.S: Do not include "bp-sym.h".
62637         (_start): Do not use BP_SYM.
62638         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
62639         (PARMS): Do not use macros from bp-asm.h.
62640         (DEST): Likewise.
62641         (SRC): Likewise.
62642         (__stpcpy): Likewise.  Do not use BP_SYM.
62643         (stpcpy): Do not use BP_SYM in weak_alias.
62644         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
62645         "bp-asm.h".
62646         (PARMS): Do not use macros from bp-asm.h.
62647         (DEST): Likewise.
62648         (SRC): Likewise.
62649         (LEN): Likewise.
62650         (__stpncpy): Likewise.  Do not use BP_SYM.
62651         (stpncpy): Do not use BP_SYM in weak_alias.
62652         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62653         (PARMS): Do not use macros from bp-asm.h.
62654         (STR): Likewise.
62655         (CHR): Likewise.
62656         (strchr): Likewise.  Do not use BP_SYM.
62657         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
62658         "bp-asm.h".
62659         (PARMS): Do not use macros from bp-asm.h.
62660         (STR): Likewise.
62661         (CHR): Likewise.
62662         (__strchrnul): Likewise.  Do not use BP_SYM.
62663         (strchrnul): Do not use BP_SYM in weak_alias.
62664         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
62665         "bp-asm.h".
62666         (PARMS): Do not use macros from bp-asm.h.
62667         (STOP): Likewise.
62668         (strcspn): Do not use BP_SYM.
62669         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
62670         "bp-asm.h".
62671         (PARMS): Do not use macros from bp-asm.h.
62672         (STR): Likewise.
62673         (STOP): Likewise.
62674         (strpbrk): Likewise.  Do not use BP_SYM.
62675         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
62676         "bp-asm.h".
62677         (PARMS): Do not use macros from bp-asm.h.
62678         (STR): Likewise.
62679         (CHR): Likewise.
62680         (strrchr): Likewise.  Do not use BP_SYM.
62681         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
62682         (PARMS): Do not use macros from bp-asm.h.
62683         (SKIP): Likewise.
62684         (strspn): Do not use BP_SYM.
62685         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
62686         (PARMS): Do not use macros from bp-asm.h.
62687         (STR): Likewise.
62688         (DELIM): Likewise.
62689         (SAVE): Likewise.
62690         (FUNCTION): Likewise.  Do not use BP_SYM.
62691         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
62692         aliases.
62693         (strtok_r): Likewise.
62694         (__GI___strtok_r): Likewise.
62695         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62696         (PARMS): Do not use macros from bp-asm.h.
62697         (S1): Likewise.
62698         (S2): Likewise.
62699         (SIZE): Likewise.
62700         (__mpn_sub_n): Do not use BP_SYM.
62701         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
62702         "bp-asm.h".
62703         (PARMS): Do not use macros from bp-asm.h.
62704         (S1): Likewise.
62705         (SIZE): Likewise.
62706         (__mpn_submul_1): Do not use BP_SYM.
62707         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
62708         <bp-sym.h>.
62709         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
62710         and <bp-asm.h>.
62711         (PARMS): Do not use macros from bp-asm.h.
62712         (FLAGS): Likewise.
62713         (PTID): Likewise.
62714         (TLS): Likewise.
62715         (CTID): Likewise.
62716         (__clone): Do not use BP_SYM.
62717         (clone): Do not use BP_SYM in weak_alias.
62718         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
62719         and <bp-asm.h>.
62720         (PARMS): Do not use macros from bp-asm.h.
62721         (LEN): Likewise.
62722         (__mmap64): Do not use BP_SYM.
62723         (mmap64): Do not use BP_SYM in weak_alias.
62724         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62725         <bp-sym.h> and <bp-asm.h>.
62726         (PARMS): Do not use macros from bp-asm.h.
62727         (__posix_fadvise64_l64): Do not use BP_SYM.
62728         * sysdeps/unix/sysv/linux/i386/semtimedop.S
62729         (PARMS): Do not use macros from bp-asm.h.
62730         (NSOPS): Likewise.
62731         (semtimedop): Do not use BP_SYM.
62732         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
62733         and <bp-asm.h>.
62735 2013-02-21  Allan McRae  <allan@archlinux.org>
62737         * manual/message.texi (Charset conversion in gettext):
62738         Move @end statement to beginning of line.
62740 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
62743         static.
62744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62745         Likewise.
62747         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
62748         (denorm): Likewise.
62749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
62750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
62752 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62754         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
62755         tail-call to the resolved function if pltexit isn't needed.
62757 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
62760         or Y being zero as being unlikely.
62761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62762         Likewise.
62764 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62766         * manual/nss.texi (System Databases and Name Service Switch):
62767         Remove frobnicate @pxref.
62769 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62771         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62772         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62774 2013-02-20  Petr Machata  <pmachata@redhat.com>
62776         * elf/elf.h (R_ARM_TARGET1): New macro.
62777         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62778         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62779         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62780         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62781         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62782         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62783         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62784         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62785         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62786         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62787         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62788         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62789         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62790         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62791         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62792         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62793         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62794         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62795         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62796         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62797         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62798         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62799         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62800         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62801         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62802         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62803         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62804         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62805         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62806         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
62807         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
62808         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
62809         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
62810         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
62811         (R_ARM_THM_GOT_BREL12): Likewise.
62812         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
62813         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
62814         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
62815         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
62816         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
62817         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
62818         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
62819         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
62820         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
62822 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62824         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62825         __attribute_used__ to __attribute__ ((unused)).
62827 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62829         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
62830         powerpc mpa.c.
62831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
62832         comment formatting.
62833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
62835 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
62837         [BZ #13550]
62838         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
62839         Remove macro.
62840         (ENTER): Remove both macro definitions.
62841         (LEAVE): Likewise.
62842         (CHECK_BOUNDS_LOW): Likewise.
62843         (CHECK_BOUNDS_HIGH): Likewise.
62844         (CHECK_BOUNDS_BOTH): Likewise.
62845         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
62846         (RETURN_BOUNDED_POINTER): Likewise.
62847         (RETURN_NULL_BOUNDED_POINTER): Likewise.
62848         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
62849         (POP_ERRNO_LOCATION_RETURN): Likewise.
62850         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
62851         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62852         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
62853         macros.
62854         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62855         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
62856         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
62857         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
62858         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
62859         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
62860         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
62861         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
62862         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
62863         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
62864         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
62865         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
62866         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62867         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
62868         removed macros.
62869         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62870         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
62871         macros.
62872         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62873         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
62874         * sysdeps/i386/i586/memset.S (memset): Likewise.
62875         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
62876         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62877         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
62878         macros.
62879         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62880         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
62881         Change uses of L(2) to L(out).
62882         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
62883         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
62884         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
62885         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62886         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62887         removed macros.
62888         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62889         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
62890         macros.
62891         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62892         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
62893         (RETURN): Do not use macro LEAVE.
62894         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
62895         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
62896         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
62897         * sysdeps/i386/i686/memset.S (memset): Likewise.
62898         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
62899         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
62900         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62901         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
62902         Likewise.
62903         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62904         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
62905         L(1_2) and L(1_3) into L(1).
62906         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62907         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
62908         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62909         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
62910         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62911         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
62912         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
62913         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62914         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
62915         macros.
62916         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
62917         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62918         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
62919         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
62920         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
62921         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62922         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
62923         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
62924         * sysdeps/i386/strcspn.S (strcspn): Likewise.
62925         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
62926         * sysdeps/i386/strrchr.S (strrchr): Likewise.
62927         * sysdeps/i386/strspn.S (strspn): Likewise.
62928         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
62929         conditional code.
62930         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62931         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
62932         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62933         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
62934         L(1_3) into L(1_1).
62935         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
62936         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62937         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
62938         macros.
62939         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62941 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
62943         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
62944         macro.
62946 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62948         * math/atest-exp.c (exp_mpn): Remove ROUND.
62949         * math/atest-exp2.c (exp_mpn): Likewise.
62950         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
62952         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
62953         * stdlib/tst-tls-atexit-lib.c: Likewise.
62954         * stdlib/tst-tls-atexit.c: Likewise.
62956 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62958         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
62959         and __attribute_alloc_size__.
62961 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62963         * include/programs/xmalloc.h: Change __attribute_alloc_size to
62964         __attribute_alloc_size__.
62965         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
62966         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
62968 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62970         * include/programs/xmalloc.h: New file.
62971         * catgets/gencat.c: Include it.
62972         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
62973         * elf/pldd.c: Likewise.
62974         * iconv/iconv_charmap.c: Likewise.
62975         * iconv/iconvconfig.c: Likewise.
62976         * iconv/strtab.c: Likewise.
62977         * locale/programs/locale.c: Likewise.
62978         * locale/programs/localedef.h: Likewise.
62979         * locale/programs/simple-hash.c: Likewise.
62980         * nscd/nscd.h: Likewise.
62981         * nss/makedb.c: Likewise.
62982         * sysdeps/generic/ldconfig.h: Likewise.
62984 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62986         * Versions.def: Add GLIBC_2.18.
62987         * include/link.h (struct link_map): New member l_tls_dtor_count.
62988         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
62989         (__call_tls_dtors): Likewise.
62990         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
62991         __cxa_thread_atexit_impl.
62992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62993         Likewise.
62994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62995         Likewise.
62996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
62997         Likewise.
62998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
62999         Likewise.
63000         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63002         Likewise.
63003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63004         Likewise.
63005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63007         Likewise.
63008         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63009         (tests): Add test case tst-tls-atexit.
63010         (modules-names): Add shared library for tst-tls-atexit.
63011         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63012         (GLIBC_PRIVATE): Add __call_tls_dtors.
63013         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63014         for libstdc++.
63015         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63016         * stdlib/tst-tls-atexit.c: New test case.
63017         * stdlib/tst-tls-atexit-lib.c: New test case.
63019         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63021         * elf/Versions (ld): Add _dl_find_dso_for_object.
63022         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63023         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63024         (dl_open_worker): Use _dl_find_dso_for_object.
63025         * elf/dl-sym.c (do_sym): Likewise.
63026         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63028 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63030         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63031         Syntactic changes only.
63032         (_dl_runtime_profile): Do a tail-call to the resolved function.
63034 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63036         [BZ #13550]
63037         * sysdeps/x86_64/bp-asm.h: Remove file.
63038         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63039         <bp-sym.h> and <bp-asm.h>.
63040         (__clone): Do not use BP_SYM.
63041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63042         <bp-sym.h> and <bp-asm.h>.
63043         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63044         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63045         "bp-asm.h".
63046         (_setjmp): Do not use BP_SYM.
63047         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63048         "bp-asm.h".
63049         (setjmp): Do not use BP_SYM.
63050         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63051         libc_hidden_def.
63052         (mempcpy): Do not use BP_SYM in weak_alias.
63053         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63054         "bp-asm.h".
63055         (strchr): Do not use BP_SYM.
63056         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63057         "bp-asm.h".
63058         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63059         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63060         (_start): Do not use BP_SYM.
63061         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63062         "bp-asm.h".
63063         (strcat): Do not use BP_SYM.
63064         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63065         "bp-asm.h".
63066         (STRCMP): Do not use BP_SYM.
63067         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63068         "bp-asm.h".
63069         (STRCPY): Do not use BP_SYM.
63070         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63071         "bp-asm.h".
63072         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63073         "bp-asm.h".
63074         (FUNCTION): Do not use BP_SYM.
63075         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63076         weak_alias.
63077         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63079 2013-02-17  Andreas Jaeger  <aj@suse.de>
63081         * time/Versions: Sort entries.
63082         * string/Versions: Likewise.
63083         * resolv/Versions: Likewise.
63084         * posix/Versions: Likewise.
63085         * iconv/Versions: Likewise.
63086         * elf/Versions: Likewise.
63087         * wcsmbs/Versions: Likewise.
63089 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63091         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63092         loop termination condition.
63094         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63095         variable to calculate EZ.
63096         (__sqr): Likewise.
63098         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63099         the lower precision input.
63101 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63103         [BZ #13550]
63104         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63105         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63106         (run-via-rtld-prefix): Do not handle %-bp tests.
63107         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63108         (all-object-suffixes): Remove .ob.
63109         (bppfx): Remove variable.
63110         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63111         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63112         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63113         [$(build-bounded) = yes] (libtype.ob): Likewise.
63114         * Makerules (elide-routines.ob): Remove variable.
63115         (do-tests-clean): Do not handle *-bp.out.
63116         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63117         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63118         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63119         (tests): Do not include $(tests-bp.out).
63120         (xtests): Do not include $(xtests-bp.out).
63121         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63122         [$(build-bounded) = yes] ($(addprefix
63123         $(objpfx),$(binaries-bounded))): Remove rule.
63124         ($(objpfx)%-bp.out): Remove rule.
63125         * config.make.in (build-bounded): Remove variable.
63126         * crypt/Makefile [$(build-bounded) = yes]
63127         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63128         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63129         append to variable.
63130         [$(build-bounded) = yes] (install-lib): Likewise.
63131         [$(build-bounded) = yes] (generated): Likewise.
63132         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63133         Remove rule.
63134         * intl/Makefile [$(build-bounded) = yes]
63135         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63136         * math/Makefile [$(build-bounded) = yes]
63137         ($(tests:%=$(objpfx)%-bp): Likewise.
63138         * misc/Makefile [$(build-bounded) = yes]
63139         ($(objpfx)tst-tsearch-bp): Likewise.
63140         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63141         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63142         Remove dependency.
63143         * string/Makefile (o-objects.ob): Remove variable.
63144         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63145         (CFLAGS-.ob): Remove variable.
63146         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63147         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63148         both definitions of variable.
63149         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63150         (ASFLAGS-.ob): Remove variable.
63152 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63154         [BZ #13550]
63155         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63156         Remove __BOUNDED_POINTERS__ from condition.
63157         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63158         * string/bits/string2.h [!__NO_STRING_INLINES &&
63159         !__BOUNDED_POINTERS__]: Likewise.
63160         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63161         Likewise.
63162         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63163         Remove conditional code.
63164         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63165         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63166         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63167         condition.
63169         [BZ #13550]
63170         * csu/libc-start.c: Do not include <bp-sym.h>.
63171         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63172         * elf/dl-open.c: Do not include <bp-sym.h>.
63173         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63174         * math/fegetenv.c: Do not include <bp-sym.h>.
63175         (fegetenv): Do not use BP_SYM in versioned symbols.
63176         * nptl/sysdeps/pthread/bits/libc-lockP.h
63177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63178         <bp-sym.h>.
63179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63180         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63182         (__pthread_mutex_destroy): Likewise.
63183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63184         (__pthread_mutex_lock): Likewise.
63185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63186         (__pthread_mutex_trylock): Likewise.
63187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63188         (__pthread_mutex_unlock): Likewise.
63189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63190         (__pthread_mutexattr_init): Likewise.
63191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63192         (__pthread_mutexattr_destroy): Likewise.
63193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63194         (__pthread_mutexattr_settype): Likewise.
63195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63196         (__pthread_rwlock_init): Likewise.
63197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63198         (__pthread_rwlock_destroy): Likewise.
63199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63200         (__pthread_rwlock_rdlock): Likewise.
63201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63202         (__pthread_rwlock_tryrdlock): Likewise.
63203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63204         (__pthread_rwlock_wrlock): Likewise.
63205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63206         (__pthread_rwlock_trywrlock): Likewise.
63207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63208         (__pthread_rwlock_unlock): Likewise.
63209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63210         (__pthread_key_create): Likewise.
63211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63212         (__pthread_setspecific): Likewise.
63213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63214         (__pthread_getspecific): Likewise.
63215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63216         Likewise.
63217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63218         (_pthread_cleanup_push_defer): Likewise.
63219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63220         (_pthread_cleanup_pop_restore): Likewise.
63221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63222         (pthread_setcancelstate): Likewise.
63223         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63224         <bp-sym.h>.
63225         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63226         (memchr): Do not use BP_SYM in weak_alias.
63227         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63228         (fegetenv): Do not use BP_SYM in versioned symbols.
63229         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63230         (fesetenv): Do not use BP_SYM in versioned symbols.
63231         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63232         (feupdateenv): Do not use BP_SYM in versioned symbols.
63233         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63234         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63235         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63236         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63237         (open64): Do not use BP_SYM in weak_alias.
63238         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63239         (fegetenv): Do not use BP_SYM in versioned symbols.
63240         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63241         (fesetenv): Do not use BP_SYM in versioned symbols.
63242         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63243         (feupdateenv): Do not use BP_SYM in versioned symbols.
63244         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63245         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63246         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63247         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63248         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63249         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63250         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63251         <bp-sym.h>.
63252         (__libc_start_main): Do not use BP_SYM.
63254 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63257         redundant return line.
63258         (norm): Likewise.
63259         (denorm): Likewise.
63260         (dbl_mp): Likewise.
63261         (sub_magnitudes): Likewise.
63262         (__add): Likewise.
63263         (__sub): Likewise.
63264         (__mul): Likewise.
63265         (__inv): Likewise.
63266         (__dvd): Likewise.
63267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63268         (norm): Likewise.
63269         (denorm): Likewise.
63270         (dbl_mp): Likewise.
63271         (sub_magnitudes): Likewise.
63272         (__add): Likewise.
63273         (__sub): Likewise.
63274         (__mul): Likewise.
63275         (__inv): Likewise.
63276         (__dvd): Likewise.
63278         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63279         instead of __mul.
63280         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63281         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63282         (cc32): Likewise.
63284         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63285         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63287         of __mul for squares.
63288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63289         function
63290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63291         Likewise.
63292         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63293         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63295 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63297         [BZ #13550]
63298         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63299         code.
63300         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63301         prototype or function definition.  Rename ubp_* variables and
63302         parameters.  Remove argv definitions conditional on
63303         [__BOUNDED_POINTERS__].
63304         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63305         * elf/dl-runtime.c (_dl_fixup): Likewise.
63306         * include/set-hooks.h (RUN_HOOK): Likewise.
63307         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63308         definition.
63309         * string/strcpy.c (strcpy): Do not use __unbounded.
63310         * sysdeps/generic/frame.h (struct layout): Likewise.
63311         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63312         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63313         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63314         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63315         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63316         (__backtrace): Likewise.
63317         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63318         use __ptrvalue.
63319         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63320         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63321         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63322         Likewise.
63323         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63324         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63325         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63326         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63327         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63328         Do not use __unbounded.
63329         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63330         Rename __unboundedrlimits parameter to rlimits in prototype.
63331         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63332         Do not use __unbounded.
63333         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63334         not use __ptrvalue.
63335         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63336         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63337         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63338         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63339         __ptrvalue or __unbounded.
63340         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63341         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63342         use __unbounded.
63343         (__new_msgctl): Do not use __ptrvalue.
63344         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63345         __unbounded.
63346         (__libc_msgrcv): Do not use __ptrvalue.
63347         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63348         startup_info): Do not use __unbounded.
63349         (__libc_start_main): Likewise.  Rename ubp_* variables and
63350         parameters.  Remove argv definitions conditional on
63351         [__BOUNDED_POINTERS__].
63352         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63353         __ptrvalue.
63354         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63355         use __unbounded.
63356         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63357         or __ptrvalue.
63358         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63359         use __unbounded.
63360         (__new_shmctl): Do not use __ptrvalue.
63361         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63362         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63363         Likewise.
63364         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63365         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63366         (__libc_sigaction): Likewise.
63367         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63368         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63369         Likewise.
63370         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63372 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63374         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63376         * string/mempcpy.c: Implement by calling memcpy.
63378 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63380         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63383         evaluation.
63385         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63386         values in the mantissa.
63388         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63389         minimize writes to Z.
63390         (sub_magnitudes): Simplify code a bit.
63392 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63394         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63395         from the message.  The linker prefixes all warnings with that already.
63397 2013-02-12  Andreas Schwab  <schwab@suse.de>
63399         [BZ #15078]
63400         * posix/regexec.c (extend_buffers): Add parameter min_len.
63401         (check_matching): Pass minimum needed length.
63402         (clean_state_log_if_needed): Likewise.
63403         (get_subexp): Likewise.
63404         * posix/Makefile (tests): Add bug-regex34.
63405         (bug-regex34-ENV): Define.
63406         * posix/bug-regex34.c: New file.
63408         [BZ #11561]
63409         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63410         elements compare against the byte sequence of it, not its name.
63411         * posix/Makefile (tests): Add bug-regex35.
63412         (bug-regex35-ENV): Define.
63413         * posix/bug-regex35.c: New file.
63415 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63417         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63418         comment.
63419         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63420         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63421         (CHECK_EOL): Add undef.
63423 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63425         * bits/stdlib-bsearch.h: New file.
63426         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63427         * stdlib/stdlib.h: Likewise.
63429 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63431         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63432         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63433         declaration.
63434         * manual/search.texi (Array Search Function): Add missing const in
63435         lfind prototype.
63436         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63437         declaration to use rlim_t.
63438         (Basic Scheduling Functions): Remove erroneous const from
63439         sched_getparam prototype.  Remove erroneous * from
63440         sched_get_priority_max and sched_get_priority_min prototypes.
63441         (Resource Usage): Fix summary @comment on vtimes to refer to
63442         sys/vtimes.h rather than vtimes.h.
63443         Add missing *s in vtimes prototype.
63444         (Limits on Resources): Fix ulimit prototype to return long int.
63445         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63446         prototypes to use long int rather than double.
63447         (BSD Random): Fix initstate and setstate to use char *, not void *.
63448         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63449         prototype to make second argument 'struct aiocb64 *const[]'.
63450         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63451         (Status of AIO Operations): Remove erroneous const in aio_return and
63452         aio_return64 prototypes.
63453         (Synchronizing I/O): Fix sync prototype to return void.
63454         * manual/startup.texi (Suboptions): Remove an erroneous const in
63455         getsubopt prototype.
63456         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63457         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63458         use size_t rather than int.
63459         (Scanning All Users): Likewise for getpwent_r.
63460         (Setting Groups): Add missing const to setgroups prototype.
63461         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63462         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63463         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63464         'const void *' rather than 'const char *'.
63465         (Host Address Functions): Likewise for inet_ntop.
63466         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63467         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63468         ssize_t for return value.
63469         (Sending Data): Likewise for send, sendto, sendmsg.
63470         (Socket Option Functions): Add a missing const in setsockopt prototype.
63471         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63472         use wchar_t for the argument.
63473         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63474         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63475         take no arguments.
63476         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63477         double/float/long double for second argument.
63478         Fix return types of significand, significandf, significandl.
63479         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63480         argument in fchmod prototype.
63481         (File Owner): Use uid_t and gid_t in fchown prototype.
63482         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63483         (Making Special Files): Use mode_t and dev_t in mknod prototype.
63484         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
63485         use 'const struct dirent **' as argument types to CMP function pointer
63486         argument.
63487         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
63488         (File Times): Fix summary magic @comment for struct utimbuf and utime
63489         to refer to utime.h, not time.h.
63490         * manual/string.texi (Argz Functions): Add missing const in
63491         argz_extract and argz_next prototypes.
63492         (Finding Tokens in a String): Likewise for basename.
63493         (String/Array Comparison): Fix typo in wcscasecmp prototype.
63494         (Copying and Concatenation): Fix typo in wmemmove prototype.
63495         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
63496         (Signal Stack): Remove erroneous const in sigstack prototype.
63497         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
63498         prototype.
63499         (Simple Calendar Time): Likewise for stime.
63500         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
63501         prototype.
63502         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
63503         say sys/sysctl.h instead.
63504         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
63505         and vsyslog prototypes.
63507 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63509         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
63510         Remove.
63512 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63514         * misc/sys/mman.h: Fix typo in mremap comment.
63516 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63518         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
63519         the '\0' terminator.
63521 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63523         [BZ #13550]
63524         * debug/segfault.c: Don't include <bp-checks.h>.
63525         * sysdeps/generic/bp-checks.h: Remove file.
63526         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
63527         (__GETDENTS): Don't use CHECK_N.
63528         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
63529         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
63530         (__getgroups): Don't use CHECK_N.
63531         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
63532         (setgroups): Don't use CHECK_N.
63533         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
63534         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
63535         (__libc_msgrcv): Don't use CHECK_N.
63536         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
63537         (__libc_msgsnd): Don't use CHECK_N.
63538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
63539         <bp-checks.h>.
63540         (__libc_pread): Don't use CHECK_N.
63541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
63542         include <bp-checks.h>.
63543         (__libc_pread64): Don't use CHECK_N.
63544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
63545         include <bp-checks.h>.
63546         (__libc_pwrite): Don't use CHECK_N.
63547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
63548         include <bp-checks.h>.
63549         (__libc_pwrite64): Don't use CHECK_N.
63550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
63551         <bp-checks.h>.
63552         (__libc_pread): Don't use CHECK_N.
63553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
63554         include <bp-checks.h>.
63555         (__libc_pread64): Don't use CHECK_N.
63556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
63557         include <bp-checks.h>.
63558         (__libc_pwrite): Don't use CHECK_N.
63559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
63560         include <bp-checks.h>.
63561         (__libc_pwrite64): Don't use CHECK_N.
63562         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
63563         (do_pread): Don't use CHECK_N.
63564         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
63565         (do_pread64): Don't use CHECK_N.
63566         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
63567         (do_pwrite): Don't use CHECK_N.
63568         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
63569         (do_pwrite64): Don't use CHECK_N.
63570         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
63571         (__libc_readv): Don't use CHECK_N.
63572         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
63573         (semop): Don't use CHECK_N.
63574         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
63575         <bp-checks.h>.
63576         (semtimedop): Don't use CHECK_N.
63577         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
63578         (__libc_pread): Don't use CHECK_N.
63579         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
63580         <bp-checks.h>.
63581         (__libc_pread64): Don't use CHECK_N.
63582         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
63583         <bp-checks.h>.
63584         (__libc_pwrite): Don't use CHECK_N.
63585         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
63586         <bp-checks.h>.
63587         (__libc_pwrite64): Don't use CHECK_N.
63588         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
63589         <bp-checks.h>.
63590         (__libc_msgrcv): Don't use CHECK_N.
63591         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
63592         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
63593         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
63594         (__libc_writev): Don't use CHECK_N.
63596 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63598         * string/strcpy.c: Removed unused variable.
63600         * Makeconfig (+sysdep-includes): Define with := rather than =.
63601         Use an existing include/ subdir of each sysdeps dir before it.
63603 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63605         * nscd/connection.c (register_traced_file): Comment function.
63606         [HAVE_INOTIFY] (union __inev): Define.
63607         [HAVE_INOTIFY] (inotify_check_files): New function.
63608         [HAVE_INOTIFY] (clear_db_cache): Likewise.
63609         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
63610         clear_db_cache.
63611         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
63613 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63615         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
63616         loaded if not already and that a failure is permanent.
63618 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63620         [BZ #15006]
63621         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
63622         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
63624 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63626         [BZ #13550]
63627         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
63628         (CHECK_1_NULL_OK): Likewise.
63629         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
63630         (__fxstat): Do not use CHECK_1.
63631         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
63632         <bp-checks.h>.
63633         (___fxstat64): Do not use CHECK_1.
63634         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
63635         <bp-checks.h>.
63636         (__fxstatat): Do not use CHECK_1.
63637         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
63638         <bp-checks.h>.
63639         (__fxstatat64): Do not use CHECK_1.
63640         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
63641         <bp-checks.h>.
63642         (__fxstat): Do not use CHECK_1.
63643         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
63644         <bp-checks.h>.
63645         (__fxstatat): Do not use CHECK_1.
63646         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63647         <bp-checks.h>.
63648         (__getresgid): Do not use CHECK_1.
63649         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63650         <bp-checks.h>.
63651         (__getresuid): Do not use CHECK_1.
63652         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
63653         <bp-checks.h>.
63654         (__lxstat): Do not use CHECK_1.
63655         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63656         <bp-checks.h>.
63657         (__old_msgctl): Do not use CHECK_1.
63658         (__new_msgctl): Likewise.
63659         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
63660         <bp-checks.h>.
63661         (__new_setrlimit): Do not use CHECK_1.
63662         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63663         <bp-checks.h>.
63664         (__old_shmctl): Do not use CHECK_1.
63665         (__new_shmctl): Likewise.
63666         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
63667         <bp-checks.h>.
63668         (__xstat): Do not use CHECK_1.
63669         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
63670         (__lxstat): Do not use CHECK_1.
63671         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
63672         <bp-checks.h>.
63673         (___lxstat64): Do not use CHECK_1.
63674         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
63675         (__old_msgctl): Do not use CHECK_1.
63676         (__new_msgctl): Likewise.
63677         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
63678         <bp-checks.h>.
63679         (__gettimeofday): Do not use CHECK_1.
63680         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
63681         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
63682         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
63683         <bp-checks.h>.
63684         (__gettimeofday): Do not use CHECK_1.
63685         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
63686         (__old_shmctl): Do not use CHECK_1_NULL_OK.
63687         (__new_shmctl): Do not use CHECK_1.
63688         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
63689         <bp-checks.h>.
63690         (do_sigtimedwait): Do not use CHECK_1.
63691         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
63692         <bp-checks.h>.
63693         (do_sigwaitinfo): Do not use CHECK_1.
63694         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
63695         <bp-checks.h>.
63696         (msgctl): Do not use CHECK_1.
63697         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
63698         <bp-checks.h>.
63699         (shmctl): Do not use CHECK_1.
63700         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
63701         (ustat): Do not use CHECK_1.
63702         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
63703         <bp-checks.h>.
63704         (__fxstat): Do not use CHECK_1.
63705         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
63706         <bp-checks.h>.
63707         (__fxstatat): Do not use CHECK_1.
63708         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
63709         <bp-checks.h>.
63710         (__lxstat): Do not use CHECK_1.
63711         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
63712         <bp-checks.h>.
63713         (__xstat): Do not use CHECK_1.
63714         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
63715         (__xstat): Do not use CHECK_1.
63716         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
63717         (___xstat64): Do not use CHECK_1.
63719         [BZ #13550]
63720         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
63721         definitions.
63722         (CHECK_BOUNDS_HIGH): Likewise.
63723         * string/strcpy.c: Do not include <bp-checks.h>.
63724         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
63726 2013-02-07  Roland McGrath  <roland@hack.frob.com>
63728         * nscd/nscd-client.h (__nscd_drop_map_ref):
63729         Add __attribute__ ((unused)).
63730         * nis/nss-nisplus.h (niserr2nss): Likewise.
63732         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
63733         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
63735         * csu/libc-tls.c (init_static_tls, init_slotinfo):
63736         Remove inline keyword.
63737         * include/rounding-mode.h (round_away): Likewise.
63738         * libio/wfileops.c (adjust_wide_data): Likewise.
63739         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
63740         (__m128i_strloadu_tolower): Likewise.
63741         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
63742         (__m128i_strloadu_tolower): Likewise.
63743         * time/mktime.c (ydhms_diff): Likewise.
63744         * locale/elem-hash.h (elem_hash): Likewise.
63745         * locale/setlocale.c (setdata): Likewise.
63746         * posix/regex_internal.h (re_string_char_size_at): Likewise.
63747         (re_string_wchar_at): Likewise.
63748         (bitset_not, bitset_merge, bitset_mask): Likewise.
63749         [!(__GNUC__ > 3)] (inline): Remove macro.
63750         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
63751         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
63752         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
63753         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
63754         * string/memcmp.c (memcmp_bytes): Likewise.
63755         * locale/programs/locarchive.c (compute_hashval): Likewise.
63756         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
63757         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
63758         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
63759         * nss/getent.c (print_rpc, print_protocols): Likewise.
63760         (print_passwd, print_group, print_aliases): Likewise.
63761         * nis/nss-nisplus.h (niserr2nss): Likewise.
63762         * nscd/connections.c (restart_p): Likewise.
63763         Change return type to bool.
63765 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63767         * Makeconfig (all-Depend-files): Add existing
63768         $(sorted-subdirs:=/Depend) files.
63769         (all-subdirs): Remove nss.
63770         * sysdeps/unix/inet/Subdirs: Add it here instead.
63771         * hesiod/Depend: New file.
63773         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63774         instead of calling alloca.
63776         * io/lseek.c (__lseek): Rename to __libc_lseek.
63777         Define __lseek as an alias.
63779         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63781 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63783         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63784         else clause and remove check for non-standard endianness.
63786 2013-02-04  David S. Miller  <davem@davemloft.net>
63788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63790 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63792         [BZ #13550]
63793         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63794         (__ubp_memchr): Remove prototype.
63795         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63796         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63797         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63798         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63799         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63800         Remove alias.
63801         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63802         (__ubp_memchr): Likewise.
63803         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63804         (__ubp_memchr): Likewise.
63805         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63806         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
63807         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
63808         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
63809         CHECK_STRING.
63810         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
63811         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
63812         (__getcwd): Do not use CHECK_STRING.
63813         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63814         <bp-checks.h>.
63815         (__real_chown): Do not use CHECK_STRING.
63816         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
63817         <bp-checks.h>.
63818         (fchownat): Do not use CHECK_STRING.
63819         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
63820         CHECK_STRING.
63821         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63822         <bp-checks.h>.
63823         (__lchown): Do not use CHECK_STRING.
63824         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63825         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63826         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63827         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
63828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63829         include <bp-checks.h>.
63830         (truncate64): Do not use CHECK_STRING.
63831         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63832         <bp-checks.h>.
63833         (__real_chown): Do not use CHECK_STRING.
63834         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63835         <bp-checks.h>.
63836         (__lchown): Do not use CHECK_STRING.
63837         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63838         <bp-checks.h>.
63839         (__chown): Do not use CHECK_STRING.
63840         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
63841         <bp-checks.h>.
63842         (truncate64): Do not use CHECK_STRING.
63843         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
63844         Likewise.
63845         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
63846         (__xmknod): Do not use CHECK_STRING.
63847         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
63848         <bp-checks.h>.
63849         (__xmknodat): Do not use CHECK_STRING.
63850         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63851         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
63853 2013-02-04  Andreas Schwab  <schwab@suse.de>
63855         [BZ #14142]
63856         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
63857         * include/netdb.h: Likewise for h_errno.
63858         * elf/tst-stackguard1.c: Include <tls.h>.
63860 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
63862         * elf/link.h (struct link_map): Extend the l_addr comment.
63863         * include/link.h (struct link_map): Likewise.
63865 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
63867         [BZ #13550]
63868         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
63869         (BOUNDED_1): Remove macro.
63870         * debug/backtrace.c: Don't include <bp-checks.h>.
63871         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
63872         (__backtrace): Likewise.
63873         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
63874         <bp-checks.h>.
63875         (__backtrace): Don't use BOUNDED_1.
63876         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
63877         <bp-checks.h>.
63878         (__backtrace): Don't use BOUNDED_1.
63879         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
63880         (__backtrace): Don't use BOUNDED_1.
63881         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
63882         (shmat): Don't use BOUNDED_N.
63884 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
63886         [BZ #13550]
63887         * sysdeps/generic/bp-start.h: Remove file.
63888         * csu/libc-start.c: Don't include <bp-start.h>.
63889         (LIBC_START_MAIN): Set up __environ directly instead of using
63890         INIT_ARGV_and_ENVIRON.
63891         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
63892         <bp-start.h>.
63894         [BZ #13550]
63895         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
63896         definitions.
63897         (CHECK_FCNTL): Likewise.
63898         (CHECK_N_PAGES): Likewise.
63900         [BZ #13550]
63901         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
63902         definitions.
63903         (CHECK_SIGSET_NULL_OK): Likewise.
63904         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
63905         <bp-checks.h>.
63906         (sigpending): Don't use CHECK_SIGSET.
63907         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
63908         <bp-checks.h>.
63909         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63910         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
63911         <bp-checks.h>.
63912         (do_sigsuspend): Don't use CHECK_SIGSET.
63913         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
63914         use CHECK_SIGSET.
63915         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
63916         (do_sigwait): Don't use CHECK_SIGSET.
63917         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
63918         use CHECK_SIGSET.
63919         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
63920         include <bp-checks.h>.
63921         (sigpending): Don't use CHECK_SIGSET.
63922         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
63923         include <bp-checks.h>.
63924         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63925         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
63926         <bp-checks.h>.
63927         (sigpending): Don't use CHECK_SIGSET.
63928         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
63929         <bp-checks.h>.
63930         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63932         [BZ #13550]
63933         * sysdeps/generic/bp-semctl.h: Remove file.
63934         * sysdeps/unix/sysv/linux/i386/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/semctl.c: Don't include <bp-checks.h>
63939         and <bp-semctl.h>.
63940         (__old_semctl): Don't use CHECK_SEMCTL.
63941         (__new_semctl): Likewise.
63942         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
63943         <bp-checks.h> and <bp-semctl.h>.
63944         (__old_semctl): Don't use CHECK_SEMCTL.
63945         (__new_semctl): Likewise.
63946         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
63947         <bp-checks.h> and <bp-semctl.h>.
63948         (semctl): Don't use CHECK_SEMCTL.
63950         [BZ #13550]
63951         * Makerules (elide-bp-thunks): Remove variable.
63952         (elide-routines.oS): Don't use $(elide-bp-thunks).
63953         (elide-routines.os): Likewise.
63954         (elide-routines.o): Likewise.
63955         (elide-routines.op): Likewise.
63956         (elide-routines.og): Likewise.
63957         (objects): Don't use $(bp-thunks).
63958         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
63959         include.
63960         (common-generated): Do not add s-proto-bp.d.
63961         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
63962         (int): Likewise.
63963         (typ): Likewise.
63964         Do not generate makefile rules for bounded-pointer thunks.
63965         * sysdeps/generic/bp-thunks.h: Remove file.
63966         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
63967         * sysdeps/unix/s-proto-bp.S: Likewise.
63969         [BZ #15062]
63970         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
63971         parts of result separately when argument is not close to line from
63972         -i to i and one part of argument is small.
63973         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63974         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63975         * math/libm-test.inc (cacos_test): Add more tests.
63976         (casin_test): Likewise.
63977         (casinh_test): Likewise.
63978         * sysdeps/i386/fpu/libm-test-ulps: Update.
63979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63981 2013-01-31  David S. Miller  <davem@davemloft.net>
63983         * po/de.po: Update from translation team.
63985 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
63987         * time/tzfile.c: Include stdint.h for SIZE_MAX.
63989 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
63991         * configure.in (_AC_PROG_CC_C89): New definition.
63992         * configure: Regenerate.
63994         * configure.in (AC_PROG_CPP): New definition.
63995         * configure: Regenerate.
63997 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63999         * debug/tst-backtrace.h: New file.
64000         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64001         (ret): Remove variable.
64002         (x): Likewise.
64003         (FAIL): Remove macro.
64004         (NO_INLINE): Likewise.
64005         (fn1): Use match function instead of strstr.
64006         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64007         (ret): Remove variable.
64008         (x): Likewise.
64009         (FAIL): Remove macro.
64010         (NO_INLINE): Likewise.
64011         (fn): Use match function instead of strstr.
64012         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64013         (ret): Remove variable.
64014         (x): Likewise.
64015         (FAIL): Remove macro.
64016         (NO_INLINE): Likewise.
64017         (handle_signal): Use match function instead of strstr.
64018         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64019         (ret): Remove variable.
64020         (x): Likewise.
64021         (FAIL): Remove macro.
64022         (NO_INLINE): Likewise.
64023         (handle_signal): Use match function instead of strstr.
64025 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64027         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64029 2013-01-23  David S. Miller  <davem@davemloft.net>
64031         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64032         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64033         argument of CAS if possible.
64034         * sysdeps/sparc/sparc64/bits/atomic.h
64035         (__arch_compare_and_exchange_val_32_acq): Likewise.
64036         (__arch_compare_and_exchange_val_64_acq): Likewise.
64038 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64040         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64041         * sysdeps/posix/ulimit.c: ... this.
64042         Include <limits.h>.
64043         * sysdeps/unix/bsd/ulimit.c: Remove file.
64045 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64047         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64048         (LDFLAGS-tst-array5): Likewise.
64050 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64052         [BZ #15036]
64053         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64054         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64055         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64056         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64058 2013-01-21  David S. Miller  <davem@davemloft.net>
64060         * sysdeps/sparc/backtrace.c: New file.
64061         * sysdeps/sparc/sparc32/backtrace.h: New file.
64062         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64063         * sysdeps/sparc/sparc64/backtrace.h: New file.
64064         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64065         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64066         -funwind-tables.
64068 2013-01-21  Andreas Schwab  <schwab@suse.de>
64070         [BZ #15020]
64071         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64072         closed its stdout.
64074 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64076         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64077         "mpa2.h".
64078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64080 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64081             Mark Mitchell  <mark@codesourcery.com>
64082             Tom de Vries  <tom@codesourcery.com>
64083             Paul Pluzhnikov  <ppluzhnikov@google.com>
64085         * debug/tst-backtrace2.c: New file.
64086         * debug/tst-backtrace3.c: Likewise.
64087         * debug/tst-backtrace4.c: Likewise.
64088         * debug/tst-backtrace5.c: Likewise.
64089         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64090         (CFLAGS-tst-backtrace3.c): Likewise.
64091         (CFLAGS-tst-backtrace4.c): Likewise.
64092         (CFLAGS-tst-backtrace5.c): Likewise.
64093         (LDFLAGS-tst-backtrace2): Likewise.
64094         (LDFLAGS-tst-backtrace3): Likewise.
64095         (LDFLAGS-tst-backtrace4): Likewise.
64096         (LDFLAGS-tst-backtrace5): Likewise.
64097         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64098         tst-backtrace4 and tst-backtrace5.
64100 2013-01-18  Anton Blanchard  <anton@samba.org>
64101             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64103         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64104         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64105         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64106         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64108         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64109         "+r" and remove output regs list as redundant.  Add explicit inline
64110         asm to specify register of return val to work around compiler codegen
64111         bug.  Remove (int) cast on return value.  Add return type parameter to
64112         use in macro so that this macro does not truncate return value for
64113         64-bit values.
64114         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64115         pass to INTERNAL_VSYSCALL_NCS.
64116         (INLINE_VSYSCALL): Add 'long int' as return type to
64117         INTERNAL_VSYSCALL_NCS macro invocation.
64118         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64119         INTERNAL_VSYSCALL_NCS macro invocation.
64120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64122 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64124         [BZ #14496]
64125         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64126         Fix application of SIMD FP exception mask.
64128         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64129         mp_no from a power of two.
64130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64131         __mpexp_twomm1.  Use __pow_mp.
64133         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64134         multiplication.
64136 2013-01-17  David S. Miller  <davem@davemloft.net>
64138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64140 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64142         [BZ #15023]
64143         * include/complex.h: Condition contents on [!_COMPLEX_H].
64144         (__kernel_casinhf): New prototype.
64145         (__kernel_casinh): Likewise.
64146         (__kernel_casinhl): Likewise.
64147         * math/Makefile (libm_calls): Add k_casinh.
64148         * math/k_casinh.c: New file.
64149         * math/k_casinhf.c: Likewise.
64150         * math/k_casinhl.c: Likewise.
64151         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64152         finite nonzero arguments.
64153         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64154         finite nonzero arguments.
64155         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64156         finite nonzero arguments.
64157         * math/s_casinh.c: Do not include <float.h>.
64158         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64159         * math/s_casinhf.c: Do not include <float.h>.
64160         (__casinhf): Move code for finite nonzero arguments to
64161         k_casinhf.c.
64162         * math/s_casinhl.c: Do not include <float.h>.
64163         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64164         redefine.
64165         (__casinhl): Move code for finite nonzero arguments to
64166         k_casinhl.c.
64167         * math/libm-test.inc (cacos_test): Add more tests.
64168         * sysdeps/i386/fpu/libm-test-ulps: Update.
64169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64171 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64173         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64174         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64175         [!HAVE_MREMAP]: Remove [defined linux] case.
64176         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64178 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64180         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64182 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64184         * elf/elf.h (R_386_SIZE32): New relocation.
64185         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64186         R_386_SIZE32.
64187         (elf_machine_rela): Likewise.
64188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64189         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64191 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64193         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64194         (FP_FAST_FMA): Do not define.
64195         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64196         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64197         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64198         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64199         !_SOFT_FLOAT]: Likewise.
64200         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64201         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64202         value.
64203         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64204         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64205         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64206         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64207         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64208         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64209         file.
64211 2013-01-16  Andreas Schwab  <schwab@suse.de>
64213         [BZ #14327]
64214         * include/stdlib.h (__mktemp): Add declaration.
64215         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64216         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64218 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64220         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64221         definitions.
64222         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64223         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64224         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64225         definitions here.
64226         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64227         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64228         definitions.
64229         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64230         and ONE.
64231         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64232         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64233         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64234         definitions.
64235         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64236         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64237         definitions.
64238         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64240         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64242 2013-01-15  David S. Miller  <davem@davemloft.net>
64244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64245         trunc{,f} to libm-sysdep_routes.
64246         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64248         file.
64249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64251         file.
64252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64253         file.
64254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64256         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64257         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64258         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64259         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64260         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64261         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64264         nearbyint{,f} to libm-sysdep_routes.
64265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64267         New file.
64268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64269         file.
64270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64271         New file.
64272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64273         file.
64274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64276         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64277         file.
64278         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64279         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64280         file.
64281         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64282         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64283         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64285         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64286         libc_feholdexcept and libc_fesetenv.
64288 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64290         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64292 2013-01-14  David S. Miller  <davem@davemloft.net>
64294         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64295         (SPARC_ASM_VIS2_IFUNC): Likewise.
64296         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64298         use of 'siam' instruction.
64299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64300         Likewise.
64301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64302         Likewise.
64303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64304         Likewise.
64305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64310         file.
64311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64312         file.
64313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64314         file.
64315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64316         file.
64317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64319         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64322         new VIS2 routines.
64323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64326         Likewise.
64327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64332         routines to libm-sysdep_routines.
64333         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64336         fdim/fdimf to libm-sysdep_routines.
64337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64338         file.
64339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64341         file.
64342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64345         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64346         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64347         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64348         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64350 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64352         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64353         to optimize copies.
64355         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64360         local variable MPTWO.
64361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64362         Likewise.
64364 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64366         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64367         GLOB_NOESCAPE.
64369 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64371         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64373 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64375         * manual/pattern.texi (glob_t): Document gl_flags.
64376         (glob64_t): Likewise.
64378 2013-01-11  David S. Miller  <davem@davemloft.net>
64380         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64381         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64382         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64383         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64384         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64385         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64386         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64387         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64388         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64389         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64390         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64391         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64392         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64394         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64395         sparc V9 rather than using V8 code.
64396         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64397         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64399         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64400         Move to...
64401         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64402         Here.
64404 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64406         [BZ #14941]
64407         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64408         not in the main loop.
64409         * configure: Regenerated.
64411 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64413         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64414         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64415         to just #else.
64416         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64417         [!__GLIBC_HAVE_LONG_LONG] case.
64418         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64419         condition to just #else.
64420         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64421         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64422         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64423         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64424         unconditional.
64425         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64426         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64427         #elif condition to just #else.
64428         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64429         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64430         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64431         #elif condition to just #else.
64433 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64435         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64436         (EF_MIPS_ARCH_64): Fix value.
64437         (EF_MIPS_ARCH_32R2): New.
64438         (EF_MIPS_ARCH_64R2): New.
64440 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64442         * Makeconfig (+link-pie-before-libc): New.
64443         (+link-pie-after-libc): Likewise.
64444         (+link-pie-tests): Likewise.
64445         (+link-pie): Rewritten.
64446         (link-before-libc): Remove $(config-LDFLAGS).
64447         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64448         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64449         (config-LDFLAGS): Renamed to ...
64450         (rtld-LDFLAGS): This.
64451         (rtld-tests-LDFLAGS): New macro.
64452         (link-libc-rpath-link): Likewise.
64453         (link-libc-tests-rpath-link): Likewise.
64454         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64455         (link-libc): Prepand $(link-libc-rpath-link).
64456         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64457         (test-program-prefix): New macro.
64458         (test-via-rtld-prefix): Likewise.
64459         (test-program-cmd): Likewise.
64460         (host-test-program-cmd): Likewise.
64461         * Makefile ($(common-objpfx)testrun.sh): Replace
64462         $(run-program-prefix) with $(test-program-prefix).
64463         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64464         $(rtld-LDFLAGS).
64465         ($(common-objpfx)shlib.lds): Likewise.
64466         (build-module-helper): Likewise.
64467         ($(common-objpfx)format.lds): Likewise.
64468         * Rules (binaries-pie-tests): New.
64469         (binaries-pie-notests): Likewise.
64470         (binaries-pie): Rewritten.
64471         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64472         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64473         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64474         (make-test-out): Replace $(host-built-program-cmd) with
64475         $(host-test-program-cmd).
64476         * config.make.in (build-hardcoded-path-in-tests): New variable.
64477         * configure.in (--enable-hardcoded-path-in-tests): New configure
64478         option.
64479         (hardcoded_path_in_tests): New AC_SUBST.
64480         * configure: Regenerated.
64481         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64482         $(built-program-cmd) with $(test-program-cmd).
64483         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
64484         (test_program_cmd): This.
64485         * elf/Makefile ($(objpfx)order.out): Run test with
64486         $(test-program-prefix).
64487         ($(objpfx)order2.out): Likewise.
64488         ($(objpfx)tst-initorder.out): Likewise.
64489         ($(objpfx)tst-initorder2.out): Likewise.
64490         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
64491         $(test-program-cmd).
64492         ($(objpfx)tst-array1-static.out): Likewise.
64493         ($(objpfx)tst-array2.out): Likewise.
64494         ($(objpfx)tst-array3.out): Likewise.
64495         ($(objpfx)tst-array4.out): Likewise.
64496         ($(objpfx)tst-array5.out): Likewise.
64497         ($(objpfx)tst-array5-static.out): Likewise.
64498         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
64499         $(test-program-cmd).
64500         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
64501         $(run-program-prefix) with $(test-program-prefix).
64502         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
64503         (test_program_prefix): This.
64504         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
64505         $(run-program-prefix) with $(test-program-prefix).
64506         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
64507         (test_program_prefix): This.
64508         * iconvdata/tst-tables.sh: Likewise.
64509         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
64510         $(run-program-prefix) with $(test-program-prefix).
64511         ($(objpfx)tst-translit.out): Likewise.
64512         ($(objpfx)tst-gettext2.out): Likewise.
64513         ($(objpfx)tst-gettext4.out): Likewise.
64514         ($(objpfx)tst-gettext6.out): Likewise.
64515         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
64516         (test_program_prefix): This.
64517         * intl/tst-gettext2.sh: Likewise.
64518         * intl/tst-gettext4.sh  Likewise.
64519         * intl/tst-gettext6.sh: Likewise.
64520         * intl/tst-translit.sh: Likewise.
64521         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
64522         with $(test-program-cmd).
64523         * libio/Makefile ($(objpfx)test-freopen.out): Replace
64524         $(run-program-prefix) with $(test-program-prefix).
64525         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
64526         (test_program_prefix): This.
64527         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
64528         $(run-program-prefix) with $(test-program-prefix).
64529         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
64530         (test_program_prefix): This.
64531         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
64532         * posix/Makefile ($(objpfx)globtest.out): Replace
64533         $(run-via-rtld-prefix) and $(test-wrapper) with
64534         $(test-program-prefix) and $(test-via-rtld-prefix).
64535         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
64536         $(test-program-prefix).
64537         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
64538         $(host-test-program-cmd).
64539         (tst-spawn-ARGS): Likewise.
64540         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
64541         $(test-program-prefix).
64542         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
64543         (test_via_rtld_prefix): This.
64544         (test_wrapper): Renamed to ...
64545         (test_program_prefix): This.
64546         (run_program_prefix): Replaced by test_program_prefix.
64547         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
64548         (test_program_prefix): This.
64549         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
64550         with $(host-test-program-cmd).
64551         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
64552         $(run-program-prefix) with $(test-program-prefix).
64553         ($(objpfx)tst-printf.out): Likewise.
64554         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
64555         $(test-program-cmd).
64556         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
64557         (test_program_prefix): This.
64558         * stdio-common/tst-unbputc.sh: Likewise.
64559         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
64560         $(run-program-prefix) with $(test-program-prefix).
64561         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
64562         (test_program_prefix): This.
64563         * string/Makefile ($(objpfx)tst-svc.out):  Replace
64564         $(built-program-cmd) with $(test-program-cmd).
64566 2013-01-11  Andreas Jaeger  <aj@suse.de>
64568         [BZ #15003]
64569         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
64570         value. Sync with Linux 3.7.
64572 2013-01-10  David S. Miller  <davem@davemloft.net>
64574         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
64575         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64576         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64578 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64580         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
64581         never set.
64582         * configure: Regenerated.
64584 2013-01-10  David S. Miller  <davem@davemloft.net>
64586         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64587         sparc V9 rather than using V8 code.
64588         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64589         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64591 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64593         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
64594         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
64595         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
64596         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
64597         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
64598         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
64599         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
64600         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
64601         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
64602         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
64603         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
64604         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
64605         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
64606         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
64607         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
64608         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
64609         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
64610         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
64611         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
64612         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
64613         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
64614         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
64615         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
64616         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
64617         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
64618         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
64619         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
64621 2013-01-10  David S. Miller  <davem@davemloft.net>
64623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64625 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64627         * posix/Makefile (tests-static): New variable.
64628         (tests): Add $(tests-static).
64629         (tst-exec-static-ARGS): New variable.
64630         (tst-spawn-static-ARGS): Likewise.
64631         * posix/tst-exec-static.c: New file.
64632         * posix/tst-spawn-static.c: Likewise.
64633         * posix/tst-exec.c: Support run directly.
64634         * posix/tst-spawn.c: Likewise.
64636 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
64638         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
64639         long.
64640         * math/bits/mathcalls.h (llrint): Likewise.
64641         (llround): Likewise.
64642         * stdlib/stdlib.h (struct drand48_data): Likewise.
64643         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
64644         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
64645         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
64646         Likewise.
64647         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
64648         Likewise.
64649         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
64650         (elf_greg_t): Likewise.
64651         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
64652         (__jmp_buf): Likewise.
64653         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
64654         definitions.
64655         (llrint): Likewise, for all definitions.
64656         (llrintl): Likewise.
64658         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
64659         Remove [__GNUC__] condition.
64660         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
64661         condition to just [__USE_ISOC99].
64662         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
64664 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64666         [BZ #14200]
64667         * sysdeps/unix/sysv/linux/x86/bits/environments.h
64668         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
64669         defined.
64670         (_POSIX_V6_ILP32_OFF32): Likewise.
64671         (_XBS5_ILP32_OFF32): Likewise.
64672         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
64673         (__ILP32_OFFBIG_LDFLAGS): Likewise.
64675 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64677         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
64679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
64680         doubles __mpexp_twomm1.  Adjust usage.
64681         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
64682         Remove.
64684 2013-01-10  Andreas Schwab  <schwab@suse.de>
64686         [BZ #14964]
64687         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
64688         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
64690 2013-01-09  David S. Miller  <davem@davemloft.net>
64692         [BZ #15003]
64693         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
64694         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
64695         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
64696         (TCP_FASTOPEN): Define.
64697         (tcp_repair_opt): New structure.
64698         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
64699         enum values.
64700         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
64701         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
64702         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
64703         (tcp_cookie_transactions): New structure.
64705 2013-01-09  Anton Blanchard  <anton@samba.org>
64707         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
64708         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
64709         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
64710         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
64712 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
64714         * include/features.h (__USE_ANSI): Remove.
64716 2013-01-09  Roland McGrath  <roland@hack.frob.com>
64718         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
64720         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
64722 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
64724         * sysdeps/s390/fpu/libm-test-ulps: Update.
64726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64728         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
64729         (__acr): Likewise.
64730         (__cpy): Likewise.
64731         (norm): Likewise.
64732         (denorm): Likewise.
64733         (__mp_dbl): Likewise.
64734         (__dbl_mp): Likewise.
64735         (add_magnitudes): Likewise.
64736         (sub_magnitudes): Likewise.
64737         (__add): Likewise.
64738         (__sub): Likewise.
64739         (__mul): Likewise.
64740         (__inv): Likewise.
64741         (__dvd): Likewise.
64742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
64743         (__acr): Likewise.
64744         (__cpy): Likewise.
64745         (norm): Likewise.
64746         (denorm): Likewise.
64747         (__mp_dbl): Likewise.
64748         (__dbl_mp): Likewise.
64749         (add_magnitudes): Likewise.
64750         (sub_magnitudes): Likewise.
64751         (__add): Likewise.
64752         (__sub): Likewise.
64753         (__mul): Likewise.
64754         (__inv): Likewise.
64755         (__dvd): Likewise.
64756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
64757         (__acr): Likewise.
64758         (__cpy): Likewise.
64759         (norm): Likewise.
64760         (denorm): Likewise.
64761         (__mp_dbl): Likewise.
64762         (__dbl_mp): Likewise.
64763         (add_magnitudes): Likewise.
64764         (sub_magnitudes): Likewise.
64765         (__add): Likewise.
64766         (__sub): Likewise.
64767         (__mul): Likewise.
64768         (__inv): Likewise.
64769         (__dvd): Likewise.
64771 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64773         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64774         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64775         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64776         2 && __USE_EXTERN_INLINES]: Likewise.
64778 2013-01-08  Andreas Jaeger  <aj@suse.de>
64780         [BZ# 14985]
64781         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64782         Remove.
64783         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64784         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64786 2013-01-07  Anton Blanchard  <anton@samba.org>
64788         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64789         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64790         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64791         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64792         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64793         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64794         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64795         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64797         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64798         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64799         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64800         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64801         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64802         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64803         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64804         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64805         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64806         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
64807         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64808         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
64809         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
64810         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64811         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
64812         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
64813         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64814         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64815         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
64817         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64818         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
64819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64820         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64821         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64822         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64823         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64824         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64825         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64826         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
64827         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
64828         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
64829         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64830         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64832 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
64834         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
64835         (__MALLOC_PMT): Likewise.
64836         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
64837         [__GNUC__], only on [_LIBC].
64838         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64839         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
64840         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64841         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
64842         forward declaration.
64843         (realloc_hook_ini): Likewise.
64844         (memalign_hook_ini): Likewise.
64845         (__libc_memalign): Do not use __MALLOC_PMT in variable
64846         declaration.
64847         (__libc_valloc): Likewise.
64848         (__libc_pvalloc): Likewise.
64849         (__libc_calloc): Likewise.
64850         (__posix_memalign): Likewise.
64852         [BZ #14996]
64853         * math/s_casinh.c: Include <float.h>.
64854         (__casinh): Do not do computation with squaring and square root
64855         for large arguments.
64856         * math/s_casinhf.c: Include <float.h>.
64857         (__casinhf): Do not do computation with squaring and square root
64858         for large arguments.
64859         * math/s_casinhl.c: Include <float.h>.
64860         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
64861         (__casinhl): Do not do computation with squaring and square root
64862         for large arguments.
64863         * math/libm-test.inc (casin_test): Add more tests.
64864         (casinh_test): Likewise.
64865         * sysdeps/i386/fpu/libm-test-ulps: Update.
64866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64868 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
64870         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
64871         (__x86_64_raw_data_cache_size): Likewise.
64872         (__x86_64_data_cache_size_half): Likewise.
64873         (__x86_64_raw_data_cache_size_half): Likewise.
64874         (__x86_64_shared_cache_size): Likewise.
64875         (__x86_64_raw_shared_cache_size): Likewise.
64876         (__x86_64_shared_cache_size_half): Likewise.
64877         (__x86_64_raw_shared_cache_size_half): Likewise.
64878         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
64879         to ...
64880         (__x86_data_cache_size): This.
64881         (__x86_64_raw_data_cache_size): Renamed to ...
64882         (__x86_raw_data_cache_size): This.
64883         (__x86_64_data_cache_size_half): Renamed to ...
64884         (__x86_data_cache_size_half): This.
64885         (__x86_64_raw_data_cache_size_half): Renamed to ...
64886         (__x86_raw_data_cache_size_half): This.
64887         (__x86_64_shared_cache_size): Renamed to ...
64888         (__x86_shared_cache_size): This.
64889         (__x86_64_raw_shared_cache_size): Renamed to ...
64890         (__x86_raw_shared_cache_size): This.
64891         (__x86_64_shared_cache_size_half): Renamed to ...
64892         (__x86_shared_cache_size_half): This.
64893         (__x86_64_raw_shared_cache_size_half): Renamed to ...
64894         (__x86_raw_shared_cache_size_half): This.
64895         * sysdeps/x86_64/memcpy.S: Updated.
64896         * sysdeps/x86_64/memset.S: Likewise.
64897         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
64898         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64899         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64901 2013-01-04  David S. Miller  <davem@davemloft.net>
64903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64905 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
64907         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
64908         1 to avoid redefinition warning.
64909         (__USE_GNU): Don't define.
64910         (init_signaling_nan): Protoize.
64912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64914 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64916         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
64917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
64918         (__cpymn): Likewise.
64919         (norm): Remove commented code.
64920         (denorm): Likewise.
64921         (__mp_dbl): Likewise.
64922         (__inv): Likewise.
64923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
64924         (__cpymn): Likewise.
64925         (norm): Remove commented code.
64926         (denorm): Likewise.
64927         (__mp_dbl): Likewise.
64928         (__inv): Likewise.
64930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64931         mp_no value for 1.0 and 2.0.
64932         (norm): Use RADIXI instead of radixi.d.
64933         (denorm): Likewise.
64934         (__mul): Use 0.0 instead of zero.d.
64935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
64936         mp_no value for 1.0 and 2.0.
64937         (norm): Use RADIXI instead of radixi.d.
64938         (denorm): Likewise.
64939         (__mul): Use 0.0 instead of zero.d.
64941 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
64943         [BZ #14994]
64944         * math/s_casinh.c (__casinh): Reduce finite argument to first
64945         quadrant then set signs of results at the end.
64946         * math/s_casinhf.c (__casinhf): Likewise.
64947         * math/s_casinhl.c (__casinhl): Likewise.
64948         * math/libm-test.inc (casin_test): Add more tests.
64949         (casinh_test): Likewise.
64950         * sysdeps/i386/fpu/libm-test-ulps: Update.
64951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64953 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64955         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
64957         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
64959         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
64960         declarations.
64961         (denorm): Likewise.
64962         (__mp_dbl): Likewise.
64963         (__inv): Likewise.
64965         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
64966         and adjust the header comment.
64968         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
64969         variable name from declaration.
64971 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64974         Initialize COMMON_CPUID_INDEX_7 element.
64975         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
64976         (CPUID_RTM): Likewise.
64977         (HAS_RTM): Likewise.
64978         (COMMON_CPUID_INDEX_7): New enum.
64980 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
64982         [BZ #14981]
64983         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
64984         size is zero, record memory as freed.
64986 2013-01-03  Andreas Jaeger  <aj@suse.de>
64988         * po/ia.po: Add new Interlingua translation.
64990 2012-01-03  Allan McRae  <allan@archlinux.org>
64992         * locale/programs/localedef.c: Fix description of '--posix' flag.
64994 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
64996         * NEWS: Update dates in second copyright notice.
64997         * README: Update copyright dates in example.
64998         * manual/libc.texinfo: Update copyright dates.
64999         * scripts/test-installation.pl: Update copyright date in --version
65000         output.
65002         * hurd/ctty-input.c: Fix copyright notice formatting.
65003         * hurd/ctty-output.c: Likewise.
65004         * hurd/dtable.c: Likewise.
65005         * hurd/hurd-raise.c: Likewise.
65006         * hurd/hurdprio.c: Likewise.
65007         * hurd/msgportdemux.c: Likewise.
65008         * misc/sys/file.h: Likewise.
65009         * misc/sys/ioctl.h: Likewise.
65010         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65011         * sysdeps/mach/hurd/chdir.c: Likewise.
65012         * sysdeps/mach/hurd/fchdir.c: Likewise.
65013         * sysdeps/mach/hurd/rename.c: Likewise.
65014         * sysdeps/mach/hurd/rmdir.c: Likewise.
65015         * sysdeps/mach/hurd/seekdir.c: Likewise.
65016         * sysdeps/mach/hurd/setsid.c: Likewise.
65017         * sysdeps/posix/wait3.c: Likewise.
65019         * All files with FSF copyright notices: Update copyright dates
65020         using scripts/update-copyrights.
65021         * intl/plural.c: Regenerated.
65022         * locale/programs/charmap-kw.h: Likewise.
65023         * locale/programs/locfile-kw.h: Likewise.
65025 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65027         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65028         four values.
65030         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65031         calculation loop and add branch prediction.
65033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65034         check access beyond bounds of m1np.
65036         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65037         MPTWO.
65038         (__inv): Remove local variable MPTWO to use the global
65039         constant.
65040         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65042         variable MPTWO.
65043         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65044         MP3HALFS static const.
65046 2013-01-01  David S. Miller  <davem@davemloft.net>
65048         * po/ca.po: Update from translation team.
65050 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65052         * scripts/update-copyrights: New file.
65053         * Makeconfig: Reformat copyright notice.
65054         * ctype/ctype.h: Likewise.
65055         * debug/swprintf_chk.c: Likewise.
65056         * elf/dl-cache.c: Likewise.
65057         * elf/dl-debug.c: Likewise.
65058         * elf/dl-object.c: Likewise.
65059         * grp/initgroups.c: Likewise.
65060         * hurd/Makefile: Likewise.
65061         * hurd/hurd/signal.h: Likewise.
65062         * hurd/hurdfault.c: Likewise.
65063         * hurd/hurdioctl.c: Likewise.
65064         * hurd/hurdlookup.c: Likewise.
65065         * hurd/intr-msg.c: Likewise.
65066         * iconv/gconv_open.c: Likewise.
65067         * libio/swprintf.c: Likewise.
65068         * locale/lc-ctype.c: Likewise.
65069         * locale/nl_langinfo.c: Likewise.
65070         * mach/Machrules: Likewise.
65071         * mach/Makefile: Likewise.
65072         * malloc/obstack.h: Likewise.
65073         * manual/Makefile: Likewise.
65074         * manual/tsort.awk: Likewise.
65075         * misc/bits/stab.def: Likewise.
65076         * nis/nis_print_group_entry.c: Likewise.
65077         * nis/nis_table.c: Likewise.
65078         * nis/nss_compat/compat-pwd.c: Likewise.
65079         * nis/nss_compat/compat-spwd.c: Likewise.
65080         * po/Makefile: Likewise.
65081         * posix/fnmatch.c: Likewise.
65082         * posix/regex.h: Likewise.
65083         * resolv/Makefile: Likewise.
65084         * resolv/nss_dns/dns-network.c: Likewise.
65085         * resolv/res_hconf.c: Likewise.
65086         * scripts/gen-sorted.awk: Likewise.
65087         * soft-fp/soft-fp.h: Likewise.
65088         * stdio-common/printf.h: Likewise.
65089         * stdlib/monetary.h: Likewise.
65090         * stdlib/random.c: Likewise.
65091         * stdlib/random_r.c: Likewise.
65092         * sysdeps/generic/Makefile: Likewise.
65093         * sysdeps/gnu/Makefile: Likewise.
65094         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65095         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65096         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65097         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65098         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65099         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65100         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65101         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65102         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65103         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65104         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65105         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65106         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65107         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65108         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65109         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65110         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65111         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65112         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65113         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65114         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65115         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65116         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65117         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65118         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65119         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65120         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65121         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65122         * sysdeps/mach/hurd/errnos.awk: Likewise.
65123         * sysdeps/mach/hurd/fork.c: Likewise.
65124         * sysdeps/mach/hurd/getcwd.c: Likewise.
65125         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65126         * sysdeps/mach/hurd/mmap.c: Likewise.
65127         * sysdeps/mach/hurd/utimes.c: Likewise.
65128         * sysdeps/mach/hurd/xmknod.c: Likewise.
65129         * sysdeps/posix/profil.c: Likewise.
65130         * sysdeps/posix/readdir_r.c: Likewise.
65131         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65132         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65133         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65134         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65136         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65137         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65138         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65140         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65141         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65142         * sysdeps/pthread/lio_listio.c: Likewise.
65143         * sysdeps/sparc/dl-procinfo.h: Likewise.
65144         * sysdeps/unix/i386/sysdep.S: Likewise.
65145         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65146         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65147         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65148         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65150         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65151         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65152         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65153         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65154         * sysdeps/wordsize-32/divdi3.c: Likewise.
65155         * time/sys/time.h: Likewise.
65156         * wcsmbs/Makefile: Likewise.
65158 2013-01-01  David S. Miller  <davem@davemloft.net>
65160         * po/fr.po: Update from translation team.
65162         * catgets/gencat.c: Update copyright year.
65163         * csu/version.c: Likewise.
65164         * debug/catchsegv.sh: Likewise.
65165         * debug/pcprofiledump.c: Likewise.
65166         * debug/xtrace.sh: Likewise.
65167         * elf/ldconfig.c: Likewise.
65168         * elf/ldd.bash.in: Likewise.
65169         * elf/pldd.c: Likewise.
65170         * elf/sotruss.ksh: Likewise.
65171         * elf/sprof.c: Likewise.
65172         * iconv/iconv_prog.c: Likewise.
65173         * iconv/iconvconfig.c: Likewise.
65174         * locale/programs/locale.c: Likewise.
65175         * locale/programs/localedef.c: Likewise.
65176         * login/programs/pt_chown.c: Likewise.
65177         * malloc/memusage.sh: Likewise.
65178         * malloc/memusagestat.c: Likewise.
65179         * malloc/mtrace.pl: Likewise.
65180         * nscd/nscd.c: Likewise.
65181         * nss/getent.c: Likewise.
65182         * nss/makedb.c: Likewise.
65183         * posix/getconf.c: Likewise.
65185 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65187         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65188         numbers.
65190 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65192         * math/bits/mathcalls.h (modf): Use __nonnull.
65194 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65196         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65197         (split): Use macro CN instead of the bare value.
65198         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65199         could be used.
65200         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65201         instead of the bare value.
65202         (power1): Likewise.
65204 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65206         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65207         __ATAN_TWOM.
65208         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65210         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65211         their values.
65212         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65213         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65214         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65215         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65217 2012-12-28  Andreas Jaeger  <aj@suse.de>
65219         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65220         values are from Linux 3.7.
65222         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65223         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65225 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65227         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65228         TRUE case.
65230         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65231         (norm): Likewise.
65232         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65233         variables with preprocessor constants.
65234         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65235         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65236         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65238 2012-12-27  Bruno Haible  <bruno@clisp.org>
65240         [BZ #14317]
65241         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65242         only if needed.
65244 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65246         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65247         and use variable directly.
65248         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65250         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65251         MPONE.
65252         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65253         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65254         variable MPONE.
65255         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65257         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65258         include directive.  Remove local variable MPONE.
65259         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65260         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65261         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65263 2012-12-25  David S. Miller  <davem@davemloft.net>
65265         * version.h (RELEASE): Set to "development".
65266         (VERSION): Set to "2.17.90".
65267         * NEWS: Add 2.18 section.
65269 2012-12-21  David S. Miller  <davem@davemloft.net>
65271         * po/hr.po: Update from translation team.
65273 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65275         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65277 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65279         * NEWS:  Mention new memcpy for MIPS.
65281 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65283         * manual/contrib.texi (Contributors): Spelling correction.
65285 2012-12-15  David S. Miller  <davem@davemloft.net>
65287         * po/ru.po: Update from translation team.
65289 2012-12-13  David S. Miller  <davem@davemloft.net>
65291         * NEWS: Mention IFUNC testsuite enhancements.
65293         * po/pl.po: Update from translation team.
65294         * po/bg.po: Likewise.
65296         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65297         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65299 2012-12-11  David S. Miller  <davem@davemloft.net>
65301         * po/sv.po: Update from translation team.
65303         * po/vi.po: Update from translation team.
65305         * po/cs.po: Update from translation team.
65307         * po/de.po: Update from translation team.
65308         * po/eo.po: Likewise.
65309         * po/nl.po: Likewise.
65311 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65313         [BZ #14246]
65314         * manual/argp.texi (Argp Helper Functions): Move node to follow
65315         Argp Parsing State.
65317         [BZ #14872]
65318         * manual/conf.texi (Limits on File System Capacity): Mention if
65319         terminating null is included in the max size.
65321 2012-12-10  Andreas Jaeger  <aj@suse.de>
65323         * po/cs.po: Update from translation team.
65325 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65327         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65328         void pointer and cast to uintptr_t.
65329         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65330         path.
65331         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65332         * sysdeps/s390/s390-64/memset.S: Likewise.
65334 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65336         [BZ #14833]
65337         * menual/message.texi (Message Translation): Fix typos.
65338         (Helper programs for gettext): Likewise.
65340 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65342         [BZ #14898]
65343         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65344         Change to -1.
65346 2012-12-07  David S. Miller  <davem@davemloft.net>
65348         * po/libc.pot: Update.
65350 2012-12-07  Richard Henderson  <rth@redhat.com>
65352         [BZ #10114]
65353         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65354         normal/normal case to before the switch.
65355         (_FP_DIV): Likewise.
65357 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65358             Mike Frysinger  <vapier@gentoo.org>
65360         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65361         check for __NR_fadvise64_64.
65363 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65365         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65366         0, not just to plain "0" as a statement.
65367         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65368         with cw.
65370 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65372         * NEWS: Use sourceware.org in Bugzilla URL.
65374 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65377         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65379         * stdio-common/tst-put-error.c (do_test): Add newline to the
65380         padded test to ensure flush.
65382 2012-12-05  Jeff Law  <law@redhat.com>
65384         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65386 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65388         * README: Don't refer to ports add-on as distributed separately.
65389         Mention AArch64 in list of systems supported in the ports add-on.
65391         * LICENSES: Add more non-FSF copyright and license notices.
65393         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65394         ((unused)).
65396         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65398         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65399         10000 as width of padded output.
65401 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65403         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65405         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65406         variable LX with __attribute__ ((unused)).
65407         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65408         Likewise.
65409         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65410         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65412         with __attribute__ ((unused)).
65414 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65416         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65418 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65420         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65421         (CFLAGS-nldbl-acos.c): New variable.
65422         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65423         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65424         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65425         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65426         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65427         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65428         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65429         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65430         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65431         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65432         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65433         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65434         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65435         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65436         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65437         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65438         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65439         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65440         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65441         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65442         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65443         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65444         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65445         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65446         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65447         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65448         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65449         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65450         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65451         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65452         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65453         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65454         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65455         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65456         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65457         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65458         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65459         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65460         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65461         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65462         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65463         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65464         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65465         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65466         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65467         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65468         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65469         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65470         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65471         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65472         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65473         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65474         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65475         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65476         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65477         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65478         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65479         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65480         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65481         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65482         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65483         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
65484         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
65485         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
65486         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
65487         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
65488         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
65489         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
65490         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
65491         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
65492         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
65493         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
65494         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
65495         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
65496         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
65497         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
65498         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
65499         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
65500         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
65501         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
65502         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
65503         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
65504         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
65505         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
65506         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
65507         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
65508         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
65509         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
65510         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
65511         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
65512         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
65513         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
65514         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
65515         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
65516         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
65517         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
65518         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
65520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65521         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65523         [BZ #14914]
65524         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
65525         whole low double instead of just low 47 bits when splitting values
65526         into two parts.
65528 2012-12-03  Allan McRae  <allan@archlinux.org>
65530         * manual/stdio.texi (Predefined Printf Handlers): Remove
65531         @hsep and @vsep usage.
65533 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
65535         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
65536         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
65538 2012-12-03  Jeff Law  <law@redhat.com>
65540         * time/sys/time.h (settimeofday): Do not mark TV argument
65541         as __nonnull.
65543 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
65545         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
65546         when currently writing and seek to current position when not.
65547         * libio/Makefile (tests): Remove bug-fclose1.
65548         * libio/bug-fclose1.c: Delete.
65550 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
65552         * manual/arith.texi (feenableexcept): Fix typo.
65553         (fedisableexcept): Likewise.
65555 2012-11-30  Roland McGrath  <roland@hack.frob.com>
65557         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
65558         second, differently-typed declaration, rather than a cast.
65560 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65562         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
65563         * include/rpc/svc.h: ... here.
65565 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
65567         [BZ #13013]
65568         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
65569         depending n and resplen2 to catch cases where answer
65570         equals answerp2.
65572 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
65574         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
65575         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
65577 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
65579         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
65581 2012-11-29  Roland McGrath  <roland@hack.frob.com>
65583         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
65585 2012-11-28  Jeff Law  <law@redhat.com>
65587         [BZ #13761]
65588         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
65589         dataset_temporary.  Track alloca usage into alloca_used.
65590         If dataset is large allocate and release it via malloc/free.
65592 2012-06-04  Florian Weimer  <fweimer@redhat.com>
65594         [BZ #14197]
65595         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
65597 2012-11-28  David S. Miller  <davem@davemloft.net>
65599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65601 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65603         [BZ #14803]
65604         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
65605         of pi/2 rounded to nearest to 64 bits.
65606         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
65607         nearest to 64 bits.
65608         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
65609         bits.
65611 2012-11-28  Jeff Law <law@redhat.com>
65612             Martin Osvald <mosvald@redhat.com>
65614         [BZ #14889]
65615         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
65616         * sunrpc/svc.c: Include time.h.
65617         (__svc_accept_failed): New function.
65618         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
65619         any reason other than EINTR, call __svc_accept_failed.
65620         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
65621         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
65623 2012-11-28  Andreas Schwab  <schwab@suse.de>
65625         * scripts/abilist.awk: Also handle indirect functions in .opd
65626         section.
65628 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65630         [BZ #13881]
65631         * sysdeps/x86/fpu/powl_helper.c: New file.
65632         * sysdeps/x86/fpu/Makefile: Likewise.
65633         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
65634         (p3): New object.
65635         (__ieee754_powl): Use __powl_helper for finite arguments except
65636         integer exponents below 8.
65637         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
65638         (p3): New object.
65639         (__ieee754_powl): Use __powl_helper for finite arguments except
65640         integer exponents below 8.
65641         * math/libm-test.inc (pow_test): Add more tests and enable some
65642         previously disabled tests.
65643         * sysdeps/i386/fpu/libm-test-ulps: Update.
65644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65646 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65647             Carlos O'Donell  <carlos_odonell@mentor.com>
65649         * nss/makedb.c (is_prime): Assert that input is odd and greater
65650         than 4.  Note that fact in a comment too.
65651         (next_prime): Add 4 to input.
65653 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65655         [BZ #11741]
65656         * libio/Makefile (tests): Add test case tst-fwrite-error.
65657         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
65658         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
65659         * libio/tst-fwrite-error.c: New test case.
65661 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
65663         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
65664         before casting to void *.
65665         * include/libc-internal.h (__pointer_type): New macro.
65666         (__integer_if_pointer_type_sub): Likewise.
65667         (__integer_if_pointer_type): Likewise.
65668         (cast_to_integer): Likewise.
65669         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
65670         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
65671         before casting to atomic64_t.
65672         (atomic_exchange_acq): Likewise.
65673         (__arch_exchange_and_add_body): Likewise.
65674         (__arch_add_body): Likewise.
65675         (atomic_add_negative): Likewise.
65676         (atomic_add_zero): Likewise.
65678 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
65680         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
65681         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
65682         (add_fdes): Likewise.
65683         (linear_search_fdes): Likewise.
65684         (binary_search_unencoded_fdes): Likewise.
65686 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
65688         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
65690 2012-11-24  Adam Conrad  <adconrad@0c3.net>
65692         * configure.in: Autodetect C++ header directories.
65693         * configure: Regenerated.
65695 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
65697         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
65699 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
65701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65703 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
65705         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
65706         LDBL_MANT_DIG == 106]: Disable some tests.
65707         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65708         Likewise.
65709         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65710         Likewise.
65712         [BZ #14871]
65713         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
65714         input for small inputs.  Return +/- pi/2 for large inputs.
65715         * math/libm-test.inc (atan_test): Add more tests.
65717         * sysdeps/generic/unwind-dw2-fde-glibc.c
65718         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
65719         __attribute__ ((unused)).
65721         [BZ #14645]
65722         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
65723         x * y if x and y are nonzero and z is zero.
65725         [BZ #14811]
65726         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
65727         nonzero exponents with absolute value below 0x1p-117 to +/-
65728         0x1p-117.
65730         [BZ #14869]
65731         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
65732         up arguments below 2**-450, not just those below 2**-500.
65733         * math/libm-test.inc (hypot_test): Add another test.
65735         [BZ #14868]
65736         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
65737         Return a+b for ratio over 2**120, not 2**60.
65738         * math/libm-test.inc (hypot_test): Add another test.
65740         * math/libm-test.inc (clog_test): Use
65741         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
65742         (clog10_test): Likewise.
65744         [BZ #6778]
65745         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
65747 2012-11-22  Andreas Schwab  <schwab@suse.de>
65749         * sysdeps/i386/fpu/libm-test-ulps: Update.
65751 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
65753         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
65754         printf output with newline.
65756 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
65758         [BZ #14865]
65759         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
65760         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
65761         -z nodlopen, -z initfirst and -z execstack support.
65762         * configure: Regenerated.
65764         * elf/elf.h (DF_1_NODIRECT): New macro.
65765         (DF_1_IGNMULDEF): Likewise.
65766         (DF_1_NOKSYMS): Likewise.
65767         (DF_1_NOHDR): Likewise.
65768         (DF_1_EDITED): Likewise.
65769         (DF_1_NORELOC): Likewise.
65770         (DF_1_SYMINTPOSE): Likewise.
65771         (DF_1_GLOBAUDIT): Likewise.
65772         (DF_1_SINGLETON): Likewise.
65773         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65774         DT_1_SUPPORTED_MASK bits.
65775         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65777 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65779         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65781 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65783         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65784         macro.
65786         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65787         (sendmmsg): Move declarations...
65788         * socket/sys/socket.h: ... here.
65789         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65790         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65791         include it from...
65792         * socket/recvmmsg.c: ... this new file.
65793         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65794         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65795         definition of __sendmmsg hidden.
65796         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65797         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65798         Move ENOSYS stub into and include it from...
65799         * socket/sendmmsg.c: ... this new file.
65800         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65801         (sysdep_routines): Move recvmmsg and sendmmsg...
65802         * socket/Makefile (routines): ... here.
65803         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65804         (GLIBC_PRIVATE): Add __sendmmsg.
65805         * include/sys/socket.h (__sendmmsg): Add declarations.
65806         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
65807         sendmmsg.
65809 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
65811         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
65812         variable I1 with __attribute__ ((unused)).
65813         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65815 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65817         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
65818         DUMMY variables with __attribute__ ((unused)).
65820         * bits/byteswap.h: Include <bits/types.h>.
65821         (__bswap_64): Use __uint64_t instead of unsigned long long int.
65823 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65825         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
65826         string_t.  Do not manually set errno.
65827         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
65828         length with __strnlen.  Make sure to both set errno and return it on
65829         failure.
65831 2012-11-19  David S. Miller  <davem@davemloft.net>
65833         With help from Joseph Myers.
65834         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
65835         very large arguments properly.
65836         * math/libm-test.inc (atan_test): New tests.
65837         (atan2_test): New tests.
65838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65841 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65843         [BZ #14856]
65844         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
65845         Define to 3.
65847         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
65848         [POSIX] (EADDRNOTAVAIL): Likewise.
65849         [POSIX] (EAFNOSUPPORT): Likewise.
65850         [POSIX] (EALREADY): Likewise.
65851         [POSIX] (ECONNABORTED): Likewise.
65852         [POSIX] (ECONNREFUSED): Likewise.
65853         [POSIX] (ECONNRESET): Likewise.
65854         [POSIX] (EDESTADDRREQ): Likewise.
65855         [POSIX] (EDQUOT): Likewise.
65856         [POSIX] (EHOSTUNREACH): Likewise.
65857         [POSIX] (EIDRM): Likewise.
65858         [POSIX] (EISCONN): Likewise.
65859         [POSIX] (ELOOP): Likewise.
65860         [POSIX] (EMULTIHOP): Likewise.
65861         [POSIX] (ENETDOWN): Likewise.
65862         [POSIX] (ENETUNREACH): Likewise.
65863         [POSIX] (ENOBUFS): Likewise.
65864         [POSIX] (ENODATA): Likewise.
65865         [POSIX] (ENOLINK): Likewise.
65866         [POSIX] (ENOMSG): Likewise.
65867         [POSIX] (ENOPROTOOPT): Likewise.
65868         [POSIX] (ENOSR): Likewise.
65869         [POSIX] (ENOSTR): Likewise.
65870         [POSIX] (ENOTCONN): Likewise.
65871         [POSIX] (ENOTSOCK): Likewise.
65872         [POSIX] (EOPNOTSUPP): Likewise.
65873         [POSIX] (EOVERFLOW): Likewise.
65874         [POSIX] (EPROTO): Likewise.
65875         [POSIX] (EPROTONOSUPPORT): Likewise.
65876         [POSIX] (EPROTOTYPE): Likewise.
65877         [POSIX] (ESTALE): Likewise.
65878         [POSIX] (ETIME): Likewise.
65879         [POSIX] (ETXTBSY): Likewise.
65880         [POSIX] (EWOULDBLOCK): Likewise.
65881         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
65882         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
65883         [POSIX] (SEEK_CUR): Likewise.
65884         [POSIX] (SEEK_END): Likewise.
65885         [POSIX || UNIX98] (mode_t): Do not require.
65886         [POSIX] (off_t): Likewise.
65887         [POSIX] (pid_t): Likewise.
65888         [POSIX] (sys/stat.h): Do not allow header.
65889         [POSIX] (unistd.h): Likewise.
65890         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
65891         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
65892         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
65893         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
65894         require.
65895         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
65896         sigevent): Specify elements.
65897         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
65898         entry.
65899         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
65900         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
65902         * conform/data/cpio.h-data [POSIX]: Disable whole file.
65903         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
65904         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
65905         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
65906         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
65907         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
65908         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65909         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
65910         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
65911         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
65912         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
65913         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
65914         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
65915         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
65916         Likewise.
65917         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
65918         Likewise.
65919         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
65920         Likewise.
65921         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
65922         Likewise.
65923         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
65924         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
65925         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
65926         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
65927         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
65928         Specify lower bound on value.
65929         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
65930         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
65931         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
65932         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
65933         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
65934         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
65935         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
65936         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
65937         value.
65938         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
65939         as optional.
65940         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
65941         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
65942         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
65943         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
65944         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
65945         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
65946         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
65947         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
65948         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
65949         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
65950         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
65951         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
65952         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
65953         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
65954         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
65955         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
65956         entry.
65957         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
65958         optional.
65959         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
65960         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
65961         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
65962         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
65963         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
65964         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
65965         Likewise.
65966         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
65967         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
65968         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
65969         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
65970         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
65971         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
65972         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
65973         as optional.
65974         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
65975         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
65976         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
65977         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
65978         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
65979         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
65980         specify as optional.
65981         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
65982         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
65983         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
65984         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
65985         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
65986         [XPG3] (NL_LANGMAX): Likewise.
65987         [POSIX || XPG3] (NL_MSGMAX): Likewise.
65988         [POSIX || XPG3] (NL_NMAX): Likewise.
65989         [POSIX || XPG3] (NL_SETMAX): Likewise.
65990         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
65991         [XPG3] (NZERO): Likewise.
65992         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
65993         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
65994         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
65995         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
65996         (REG_ERANGE): Expect.
65997         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
65998         optional-constant.
65999         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66000         Use (void) in prototype.
66001         [POSIX] (*_t): Allow.
66002         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66003         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66004         (WRDE_BADVAL): Expect.
66006         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66007         expect.
66008         [XPG3 || XPG4] (O_RSYNC): Likewise.
66009         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66010         Likewise.
66011         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66012         [XPG3 || XPG4] (sigqueue): Likewise.
66013         [XPG3 || XPG4] (sigtimedwait): Likewise.
66014         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66015         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66016         [XPG3 || XPG4] (vsnprintf): Likewise.
66017         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66018         Likewise.
66019         [XPG3 || XPG4] (blksize_t): Likewise.
66020         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66021         Likewise.
66022         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66023         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66024         [XPG3 || XPG4] (struct itimerspec): Likewise.
66025         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66026         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66027         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66028         [XPG3 || XPG4] (clockid_t): Likewise.
66029         [XPG3 || XPG4] (timer_t): Likewise.
66030         [XPG3 || XPG4] (clock_getres): Likewise.
66031         [XPG3 || XPG4] (clock_gettime): Likewise.
66032         [XPG3 || XPG4] (clock_settime): Likewise.
66033         [XPG3 || XPG4] (nanosleep): Likewise.
66034         [XPG3 || XPG4] (timer_create): Likewise.
66035         [XPG3 || XPG4] (timer_delete): Likewise.
66036         [XPG3 || XPG4] (timer_gettime): Likewise.
66037         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66038         [XPG3 || XPG4] (timer_settime): Likewise.
66039         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66040         [XPG3 || XPG4] (getlogin_r): Likewise.
66041         [XPG3 || XPG4] (pread): Likewise.
66042         [XPG3 || XPG4] (pthread_atfork): Likewise.
66043         [XPG3 || XPG4] (pwrite): Likewise.
66045         [BZ #14835]
66046         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66047         <bits/siginfo.h>.
66049 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66051         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66052         finalizing MALLSTREAM.
66054         * sysdeps/mach/hurd/syncfs.c: New file.
66056 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66058         [BZ #14719]
66059         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66060         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66062         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66063         (_nss_dns_gethostbyname4_r): Likewise.
66064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66065         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66067 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66069         [BZ #13763]
66070         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66072 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66074         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66075         * elf/cache.c (print_entry): Print ",AArch64" for
66076         FLAG_AARCH64_LIB64
66078         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66079         * elf/cache.c (print_entry): Print ",hard-float" for
66080         FLAG_ARM_LIBHF.
66082 2012-11-18  David S. Miller  <davem@davemloft.net>
66084         With help from Joseph Myers.
66085         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66086         cutoff to 2**-13.
66087         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66088         cutoff to 2**-25.
66089         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66090         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66091         small.
66092         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66093         * math/libm-test.inc (y0_test): New tests.
66094         (y1_test): New tests.
66095         * sysdeps/i386/fpu/libm-test-ulps: Update.
66096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66099 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66101         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66102         64-bit targets.
66103         * configure: Regenerated.
66105 2012-11-17  David S. Miller  <davem@davemloft.net>
66107         [BZ #14811]
66108         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66109         nonzero exponents with absolute value below 0x1p-128 to +/-
66110         0x1p-128.
66112 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66114         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66116         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66118         * posix/getconf-speclist.c: New file.
66119         * posix/posix-envs.def: Likewise.
66120         * posix/confstr.c (START_ENV_GROUP): New macro.
66121         (END_ENV_GROUP): Likewise.
66122         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66123         (KNOWN_PRESENT_ENV_STRING): Likewise.
66124         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66125         (UNKNOWN_ENVIRONMENT): Likewise.
66126         (confstr): Include posix-envs.def instead of handling
66127         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66128         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66129         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66130         (END_ENV_GROUP): Likewise.
66131         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66132         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66133         (UNKNOWN_ENVIRONMENT): Likewise.
66134         (__sysconf): Include posix-envs.def instead of handling associated
66135         cases directly here.
66136         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66137         preprocessing getconf-speclist.c rather than running getconf or
66138         generating empty file.
66140 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66142         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66144 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66146         [BZ #14672]
66147         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66149 2012-11-16  David S. Miller  <davem@davemloft.net>
66151         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66152         smaller than LDBL_EPSILON/2.0L, just return xm1.
66154 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66156         * elf/tst-array1.c (init): Set constructor priority to 1000.
66157         (fini): Set destructor priority to 1000.
66158         * elf/tst-array2dep.c: Likewise.
66160 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66162         [BZ #11741]
66163         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66164         (_IO_new_file_xsputn): Also return EOF if none of the input
66165         data was written when overflow failed.
66166         * libio/iopadn.c (_IO_padn): Likewise.
66167         * libio/iowpadn.c (_IO_wpadn): Likewise.
66168         * stdio-common/tst-put-error.c: Add copyright notice.
66169         (do_test): Add case for printing padded string.
66170         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66171         _IO_padn returned error.
66172         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66173         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66174         return EOF.
66176 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66178         * libio/libioP.h: Add comment note that the references to C++
66179         bits are now obsolete.
66181 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66183         * math/libm-test.inc (check_complex): Use asprintf.
66185 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66187         * debug/pcprofiledump.c (print_version): Update copyright year.
66188         * malloc/memusagestat.c (print_version): Likewise.
66190 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66192         [BZ #14831]
66193         * elf/Makefile (tests): Add tst-audit8.
66194         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66195         ($(objpfx)tst-audit8.out): New target.
66196         (tst-audit8-ENV): New variable.
66197         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66198         audit if l_reloc_result is NULL.
66199         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66200         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66201         * elf/tst-audit8.c: New file.
66203 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66205         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66206         * misc/Makefile (CFLAGS-select.c): Define.
66207         * posix/Makefile (CFLAGS-pause.c): Define.
66209 2012-11-13  David S. Miller  <davem@davemloft.net>
66211         * crypt/Makefile: Move test targets after toplevel Rules
66212         inclusion.  Grab any necessary sysdep routines when linking.
66213         * crypt/md5.c (md5_process_block): Remove define, we will always
66214         name it __md5_process_block.
66215         (md5_finish_ctx): Update md5_process_block call.
66216         (md5_stream): Likewise.
66217         (md5_process_bytes): Likewise.
66218         (md5_process_block): Rename to __md5_process_block and move to ...
66219         * crypt/md5-block.c: ... here.
66220         * crypt/sha256.c (sha256_process_block): Move to ...
66221         * crypt/sha256-block.c: ... here.
66222         * crypt/sha512.c (sha512_process_block): Move to ...
66223         * crypt/sha512-block.c: ... here.
66224         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66225         path.
66226         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66227         * sysdeps/sparc/sparc64/multiarch/Makefile
66228         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66229         crypt subdir.
66230         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66231         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66232         multiarch changes.
66233         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66234         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66235         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66236         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66237         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66238         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66239         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66240         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66241         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66242         file.
66243         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66244         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66245         file.
66246         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66248 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66250         * timezone/tzselect.ksh: Update from tzcode git revision
66251         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66252         * timezone/zdump.c: Likewise.
66253         * timezone/zic.c: Likewise.
66254         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66255         in TZVERSION setting, not $(PKGVERSION).
66256         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66257         REPORT_BUGS_TO settings.
66259         [BZ #14838]
66260         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66261         macro.
66263 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66265         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66266         detection to immediately after _FP_ROUND().
66267         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66268         bits are 0.
66270 2012-11-11  David S. Miller  <davem@davemloft.net>
66272         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66273         inttypes.h
66274         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66275         __close rather than their public counterparts.
66277 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66279         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66280         file.
66281         [UNIX98] (sem_timedwait): Do not expect.
66282         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66283         [XPG4 || UNIX98] (sockatmark): Do not expect.
66284         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66285         (clock_getcpuclockid): Do not expect.
66286         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66287         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66288         Do not expect.
66289         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66290         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66291         [UNIX98] (vwscanf): Likewise.
66292         [UNIX98] (vswscanf): Likewise.
66294 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66296         * timezone/version.h: Remove file.
66297         * timezone/README: Do not refer to version.h.
66298         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66299         $(objpfx)version.h.
66300         ($(objpfx)zdump.o): Likewise.
66301         ($(objpfx)version.h): New target.
66303         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66304         2012i.
66305         * timezone/README: Don't mention modification to tzselect.ksh.
66306         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66307         work on unmodified tzselect.ksh.  Substitute version numbers in
66308         tzselect.ksh.
66310         * Makefile (format-me): Remove.
66311         (INSTALL): Adjust indentation.  Use commands directly instead of
66312         using $(format-me).
66314         * aclocal.m4 (ACX_PKGVERSION): New macro.
66315         (ACX_BUGURL): Likewise.
66316         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66317         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66318         (REPORT_BUGS_TO): Likewise.
66319         * configure: Regenerated.
66320         * config.h.in (PKGVERSION): New macro.
66321         (REPORT_BUGS_TO): Likewise.
66322         * config.make.in (PKGVERSION): New variable.
66323         (PKGVERSION_TEXI): Likewise.
66324         (REPORT_BUGS_TO): Likewise.
66325         (REPORT_BUGS_TEXI): Likewise.
66326         * Makefile (format-me): Use -I$(common-objpfx)manual.
66327         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66328         ($(common-objpfx)manual/%): New target.
66329         (manual/%): Remove target.
66330         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66331         (print_version): Use PKGVERSION.
66332         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66333         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66334         and REPORT_BUGS_TO.
66335         ($(objpfx)xtrace): Likewise.
66336         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66337         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66338         (print_version): Use PKGVERSION.
66339         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66340         (do_version): Use PKGVERSION.
66341         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66342         REPORT_BUGS_TO.
66343         (common-ldd-rewrite): Likewise.
66344         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66345         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66346         (print_version): Use PKGVERSION.
66347         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66348         * elf/pldd.c (argp_program_bug_address): Remove variable.
66349         (more_help): New function.
66350         (argp): Use more_help.
66351         (print_version): Use PKGVERSION.
66352         * elf/sln.c (main): Use PKGVERSION.
66353         (usage): Use REPORT_BUGS_TO.
66354         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66355         (top level): Use PKGVERSION.
66356         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66357         (print_version): Use PKGVERSION.
66358         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66359         (print_version): Use PKGVERSION.
66360         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66361         (print_version): Use PKGVERSION.
66362         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66363         (print_version): Use PKGVERSION.
66364         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66365         (print_version): Use PKGVERSION.
66366         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66367         (print_version): Use PKGVERSION.
66368         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66369         and BUGURL.
66370         ($(objpfx)memusage): Likewise.
66371         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66372         (do_version): Use PKGVERSION.
66373         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66374         (print_version): Use PKGVERSION.
66375         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66376         ($PKGVERSION): New variable.
66377         ($REPORT_BUGS_TO): Likewise.
66378         (usage): Use $REPORT_BUGS_TO.
66379         (top level): Use $PKGVERSION.
66380         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66381         ($(objpfx)pkgvers.texi): New rule.
66382         ($(objpfx)stamp-pkgvers): Likewise.
66383         * manual/install.texi: Include pkgvers.texi.
66384         (--with-pkgversion): Document new configure option.
66385         (--with-bugurl): Likewise.
66386         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66387         than necessarily for this particular distribution.  Use
66388         REPORT_BUGS_TO for where to report bugs.
66389         * INSTALL: Regenerated.
66390         * manual/libc.texinfo: Include pkgvers.texi.
66391         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66392         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66393         (print_version): Use PKGVERSION.
66394         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66395         (print_version): Use PKGVERSION.
66396         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66397         (print_version): Use PKGVERSION.
66398         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66399         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66400         macro.
66401         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66402         (print_version): Use PKGVERSION.
66403         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66404         (print_version): Use PKGVERSION.
66405         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66406         and PKGVERSION.
66408         * timezone/checktab.awk: Update from tzcode 2012i.
66409         * timezone/ialloc.c: Likewise.
66410         * timezone/private.h: Likewise.
66411         * timezone/scheck.c: Likewise.
66412         * timezone/tzfile.h: Likewise.
66413         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66414         (TZVERSION): Hardcode tzcode version number.
66415         * timezone/zdump.c: Update from tzcode 2012i.
66416         * timezone/zic.c: Likewise.
66417         * timezone/version.h: New file.
66418         * timezone/README: Describe version.h.  Update upstream location.
66420         [BZ #14824]
66421         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66422         (mktemp): Enable declaration.
66423         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66425         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66427         Likewise.
66428         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66429         Likewise.
66430         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66431         Likewise.
66432         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66433         Likewise.
66434         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66435         Likewise.
66436         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66437         Likewise.
66439         [BZ #14821]
66440         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66441         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66442         for copies of such integer values.
66443         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66444         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66446 2012-11-09  Andreas Jaeger  <aj@suse.de>
66448         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66449         definitions and declarations that are provided by
66450         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66452 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66454         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66455         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66456         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66457         definition.
66459 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66461         * elf/elf.h: Update comment before AArch64 relocations.
66463 2012-11-07  David S. Miller  <davem@davemloft.net>
66465         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66466         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66467         (__start_context): Declare.
66468         (__makecontext_ret): Delete.
66469         (__makecontext): Hook up __start_context instead of
66470         __makecontext_ret.
66471         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66472         (sysdep_routines): Add __start_context when in stdlib.
66474 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66476         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66477         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66478         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66479         hardcoded "nm".
66480         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66481         (READELF): New variable.  Use it instead of hardcoded "readelf".
66483 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66485         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
66486         * sysdeps/x86/Makefile: Here.
66487         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
66488         * sysdeps/x86/tst-xmmymm.sh: This.
66490 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66492         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
66493         expectations.
66494         [UNIX98] (pthread_barrier_t): Do not expect.
66495         [UNIX98] (pthread_barrierattr_t): Likewise.
66496         [UNIX98] (pthread_spinlock_t): Likewise.
66497         [UNIX98] (pthread_barrier_destroy): Likewise.
66498         [UNIX98] (pthread_barrier_init): Likewise.
66499         [UNIX98] (pthread_barrier_wait): Likewise.
66500         [UNIX98] (pthread_barrierattr_destroy): Likewise.
66501         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
66502         [UNIX98] (pthread_barrierattr_init): Likewise.
66503         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
66504         [UNIX98] (pthread_getcpuclockid): Likewise.
66505         [UNIX98] (pthread_mutex_timedlock): Likewise.
66506         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
66507         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
66508         [UNIX98] (pthread_sigmask): Likewise.
66509         [UNIX98] (pthread_spin_destroy): Likewise.
66510         [UNIX98] (pthread_spin_init): Likewise.
66511         [UNIX98] (pthread_spin_lock): Likewise.
66512         [UNIX98] (pthread_spin_trylock): Likewise.
66513         [UNIX98] (pthread_spin_unlock): Likewise.
66514         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
66515         Do not expect.
66516         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
66517         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
66518         [XPG3 || XPG4] (pthread_cond_t): Likewise.
66519         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
66520         [XPG3 || XPG4] (pthread_key_t): Likewise.
66521         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
66522         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
66523         [XPG3 || XPG4] (pthread_once_t): Likewise.
66524         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
66525         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
66526         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
66527         [XPG3 || XPG4] (pthread_t): Likewise.
66529         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
66530         not expect.
66531         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
66533         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
66534         Change function return type to int.
66536         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
66537         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
66538         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
66539         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
66540         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
66541         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
66542         [!POSIX] (posix_madvise): Likewise.
66543         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
66544         && !UNIX98].
66545         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
66546         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
66547         (mode_t): Likewise.
66548         (posix_mem_offset): Likewise.
66549         (posix_typed_mem_get_info): Likewise.
66550         (posix_typed_mem_open): Likewise.
66552         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
66553         Change condition to [XOPEN2K8].
66555         * conform/conformtest.pl: Preprocess allow-header data with -x c
66556         instead of from stdin.
66557         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
66558         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
66559         [C99-based standards] (cerfc): Likewise.
66560         [C99-based standards] (cexp2): Likewise.
66561         [C99-based standards] (cexpm1): Likewise.
66562         [C99-based standards] (clog10): Likewise.
66563         [C99-based standards] (clog1p): Likewise.
66564         [C99-based standards] (clog2): Likewise.
66565         [C99-based standards] (clgamma): Likewise.
66566         [C99-based standards] (ctgamma): Likewise.
66567         [C99-based standards] (cerff): Likewise.
66568         [C99-based standards] (cerfcf): Likewise.
66569         [C99-based standards] (cexp2f): Likewise.
66570         [C99-based standards] (cexpm1f): Likewise.
66571         [C99-based standards] (clog10f): Likewise.
66572         [C99-based standards] (clog1pf): Likewise.
66573         [C99-based standards] (clog2f): Likewise.
66574         [C99-based standards] (clgammaf): Likewise.
66575         [C99-based standards] (ctgammaf): Likewise.
66576         [C99-based standards] (cerfl): Likewise.
66577         [C99-based standards] (cerfcl): Likewise.
66578         [C99-based standards] (cexp2l): Likewise.
66579         [C99-based standards] (cexpm1l): Likewise.
66580         [C99-based standards] (clog10l): Likewise.
66581         [C99-based standards] (clog1pl): Likewise.
66582         [C99-based standards] (clog2l): Likewise.
66583         [C99-based standards] (clgammal): Likewise.
66584         [C99-based standards] (ctgammal): Likewise.
66585         * conform/data/inttypes.h-data [C99-based standards]: Include
66586         stdint.h-data.  Remove all expectations for stdint.h contents.
66587         [C99-based standards] (PRI*): Do not allow.
66588         [C99-based standards] (SCN*): Likewise.
66589         [C99-based standards] (*_t): Likewise.
66590         [C99-based-standards] (PRId8): Expect macro.
66591         [C99-based-standards] (PRIi8): Likewise.
66592         [C99-based-standards] (PRIo8): Likewise.
66593         [C99-based-standards] (PRIu8): Likewise.
66594         [C99-based-standards] (PRIx8): Likewise.
66595         [C99-based-standards] (PRIX8): Likewise.
66596         [C99-based-standards] (SCNd8): Likewise.
66597         [C99-based-standards] (SCNi8): Likewise.
66598         [C99-based-standards] (SCNo8): Likewise.
66599         [C99-based-standards] (SCNu8): Likewise.
66600         [C99-based-standards] (SCNx8): Likewise.
66601         [C99-based-standards] (PRIdLEAST8): Likewise.
66602         [C99-based-standards] (PRIiLEAST8): Likewise.
66603         [C99-based-standards] (PRIoLEAST8): Likewise.
66604         [C99-based-standards] (PRIuLEAST8): Likewise.
66605         [C99-based-standards] (PRIxLEAST8): Likewise.
66606         [C99-based-standards] (PRIXLEAST8): Likewise.
66607         [C99-based-standards] (SCNdLEAST8): Likewise.
66608         [C99-based-standards] (SCNiLEAST8): Likewise.
66609         [C99-based-standards] (SCNoLEAST8): Likewise.
66610         [C99-based-standards] (SCNuLEAST8): Likewise.
66611         [C99-based-standards] (SCNxLEAST8): Likewise.
66612         [C99-based-standards] (PRIdFAST8): Likewise.
66613         [C99-based-standards] (PRIiFAST8): Likewise.
66614         [C99-based-standards] (PRIoFAST8): Likewise.
66615         [C99-based-standards] (PRIuFAST8): Likewise.
66616         [C99-based-standards] (PRIxFAST8): Likewise.
66617         [C99-based-standards] (PRIXFAST8): Likewise.
66618         [C99-based-standards] (SCNdFAST8): Likewise.
66619         [C99-based-standards] (SCNiFAST8): Likewise.
66620         [C99-based-standards] (SCNoFAST8): Likewise.
66621         [C99-based-standards] (SCNuFAST8): Likewise.
66622         [C99-based-standards] (SCNxFAST8): Likewise.
66623         [C99-based-standards] (PRId16): Likewise.
66624         [C99-based-standards] (PRIi16): Likewise.
66625         [C99-based-standards] (PRIo16): Likewise.
66626         [C99-based-standards] (PRIu16): Likewise.
66627         [C99-based-standards] (PRIx16): Likewise.
66628         [C99-based-standards] (PRIX16): Likewise.
66629         [C99-based-standards] (SCNd16): Likewise.
66630         [C99-based-standards] (SCNi16): Likewise.
66631         [C99-based-standards] (SCNo16): Likewise.
66632         [C99-based-standards] (SCNu16): Likewise.
66633         [C99-based-standards] (SCNx16): Likewise.
66634         [C99-based-standards] (PRIdLEAST16): Likewise.
66635         [C99-based-standards] (PRIiLEAST16): Likewise.
66636         [C99-based-standards] (PRIoLEAST16): Likewise.
66637         [C99-based-standards] (PRIuLEAST16): Likewise.
66638         [C99-based-standards] (PRIxLEAST16): Likewise.
66639         [C99-based-standards] (PRIXLEAST16): Likewise.
66640         [C99-based-standards] (SCNdLEAST16): Likewise.
66641         [C99-based-standards] (SCNiLEAST16): Likewise.
66642         [C99-based-standards] (SCNoLEAST16): Likewise.
66643         [C99-based-standards] (SCNuLEAST16): Likewise.
66644         [C99-based-standards] (SCNxLEAST16): Likewise.
66645         [C99-based-standards] (PRIdFAST16): Likewise.
66646         [C99-based-standards] (PRIiFAST16): Likewise.
66647         [C99-based-standards] (PRIoFAST16): Likewise.
66648         [C99-based-standards] (PRIuFAST16): Likewise.
66649         [C99-based-standards] (PRIxFAST16): Likewise.
66650         [C99-based-standards] (PRIXFAST16): Likewise.
66651         [C99-based-standards] (SCNdFAST16): Likewise.
66652         [C99-based-standards] (SCNiFAST16): Likewise.
66653         [C99-based-standards] (SCNoFAST16): Likewise.
66654         [C99-based-standards] (SCNuFAST16): Likewise.
66655         [C99-based-standards] (SCNxFAST16): Likewise.
66656         [C99-based-standards] (PRId32): Likewise.
66657         [C99-based-standards] (PRIi32): Likewise.
66658         [C99-based-standards] (PRIo32): Likewise.
66659         [C99-based-standards] (PRIu32): Likewise.
66660         [C99-based-standards] (PRIx32): Likewise.
66661         [C99-based-standards] (PRIX32): Likewise.
66662         [C99-based-standards] (SCNd32): Likewise.
66663         [C99-based-standards] (SCNi32): Likewise.
66664         [C99-based-standards] (SCNo32): Likewise.
66665         [C99-based-standards] (SCNu32): Likewise.
66666         [C99-based-standards] (SCNx32): Likewise.
66667         [C99-based-standards] (PRIdLEAST32): Likewise.
66668         [C99-based-standards] (PRIiLEAST32): Likewise.
66669         [C99-based-standards] (PRIoLEAST32): Likewise.
66670         [C99-based-standards] (PRIuLEAST32): Likewise.
66671         [C99-based-standards] (PRIxLEAST32): Likewise.
66672         [C99-based-standards] (PRIXLEAST32): Likewise.
66673         [C99-based-standards] (SCNdLEAST32): Likewise.
66674         [C99-based-standards] (SCNiLEAST32): Likewise.
66675         [C99-based-standards] (SCNoLEAST32): Likewise.
66676         [C99-based-standards] (SCNuLEAST32): Likewise.
66677         [C99-based-standards] (SCNxLEAST32): Likewise.
66678         [C99-based-standards] (PRIdFAST32): Likewise.
66679         [C99-based-standards] (PRIiFAST32): Likewise.
66680         [C99-based-standards] (PRIoFAST32): Likewise.
66681         [C99-based-standards] (PRIuFAST32): Likewise.
66682         [C99-based-standards] (PRIxFAST32): Likewise.
66683         [C99-based-standards] (PRIXFAST32): Likewise.
66684         [C99-based-standards] (SCNdFAST32): Likewise.
66685         [C99-based-standards] (SCNiFAST32): Likewise.
66686         [C99-based-standards] (SCNoFAST32): Likewise.
66687         [C99-based-standards] (SCNuFAST32): Likewise.
66688         [C99-based-standards] (SCNxFAST32): Likewise.
66689         [C99-based-standards] (PRId64): Likewise.
66690         [C99-based-standards] (PRIi64): Likewise.
66691         [C99-based-standards] (PRIo64): Likewise.
66692         [C99-based-standards] (PRIu64): Likewise.
66693         [C99-based-standards] (PRIx64): Likewise.
66694         [C99-based-standards] (PRIX64): Likewise.
66695         [C99-based-standards] (SCNd64): Likewise.
66696         [C99-based-standards] (SCNi64): Likewise.
66697         [C99-based-standards] (SCNo64): Likewise.
66698         [C99-based-standards] (SCNu64): Likewise.
66699         [C99-based-standards] (SCNx64): Likewise.
66700         [C99-based-standards] (PRIdLEAST64): Likewise.
66701         [C99-based-standards] (PRIiLEAST64): Likewise.
66702         [C99-based-standards] (PRIoLEAST64): Likewise.
66703         [C99-based-standards] (PRIuLEAST64): Likewise.
66704         [C99-based-standards] (PRIxLEAST64): Likewise.
66705         [C99-based-standards] (PRIXLEAST64): Likewise.
66706         [C99-based-standards] (SCNdLEAST64): Likewise.
66707         [C99-based-standards] (SCNiLEAST64): Likewise.
66708         [C99-based-standards] (SCNoLEAST64): Likewise.
66709         [C99-based-standards] (SCNuLEAST64): Likewise.
66710         [C99-based-standards] (SCNxLEAST64): Likewise.
66711         [C99-based-standards] (PRIdFAST64): Likewise.
66712         [C99-based-standards] (PRIiFAST64): Likewise.
66713         [C99-based-standards] (PRIoFAST64): Likewise.
66714         [C99-based-standards] (PRIuFAST64): Likewise.
66715         [C99-based-standards] (PRIxFAST64): Likewise.
66716         [C99-based-standards] (PRIXFAST64): Likewise.
66717         [C99-based-standards] (SCNdFAST64): Likewise.
66718         [C99-based-standards] (SCNiFAST64): Likewise.
66719         [C99-based-standards] (SCNoFAST64): Likewise.
66720         [C99-based-standards] (SCNuFAST64): Likewise.
66721         [C99-based-standards] (SCNxFAST64): Likewise.
66722         [C99-based-standards] (PRIdMAX): Likewise.
66723         [C99-based-standards] (PRIiMAX): Likewise.
66724         [C99-based-standards] (PRIoMAX): Likewise.
66725         [C99-based-standards] (PRIuMAX): Likewise.
66726         [C99-based-standards] (PRIxMAX): Likewise.
66727         [C99-based-standards] (PRIXMAX): Likewise.
66728         [C99-based-standards] (SCNdMAX): Likewise.
66729         [C99-based-standards] (SCNiMAX): Likewise.
66730         [C99-based-standards] (SCNoMAX): Likewise.
66731         [C99-based-standards] (SCNuMAX): Likewise.
66732         [C99-based-standards] (SCNxMAX): Likewise.
66733         [C99-based-standards] (PRIdPTR): Likewise.
66734         [C99-based-standards] (PRIiPTR): Likewise.
66735         [C99-based-standards] (PRIoPTR): Likewise.
66736         [C99-based-standards] (PRIuPTR): Likewise.
66737         [C99-based-standards] (PRIxPTR): Likewise.
66738         [C99-based-standards] (PRIXPTR): Likewise.
66739         [C99-based-standards] (SCNdPTR): Likewise.
66740         [C99-based-standards] (SCNiPTR): Likewise.
66741         [C99-based-standards] (SCNoPTR): Likewise.
66742         [C99-based-standards] (SCNuPTR): Likewise.
66743         [C99-based-standards] (SCNxPTR): Likewise.
66744         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
66745         allow.
66746         * conform/data/stdint.h-data: Update comments to clarify
66747         requirements.
66748         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
66749         type.
66750         [C99-based standards] (INT8_MAX): Likewise.
66751         [C99-based standards] (INT16_MIN): Likewise.
66752         [C99-based standards] (INT16_MAX): Likewise.
66753         [C99-based standards] (INT32_MIN): Likewise.
66754         [C99-based standards] (INT32_MAX): Likewise.
66755         [C99-based standards] (INT64_MIN): Likewise.
66756         [C99-based standards] (INT64_MAX): Likewise.
66757         [C99-based standards] (UINT8_MAX): Likewise.
66758         [C99-based standards] (UINT16_MAX): Likewise.
66759         [C99-based standards] (UINT32_MAX): Likewise.
66760         [C99-based standards] (UINT64_MAX): Likewise.
66761         [C99-based standards] (INT_LEAST8_MIN): Likewise.
66762         [C99-based standards] (INT_LEAST8_MAX): Likewise.
66763         [C99-based standards] (INT_LEAST16_MIN): Likewise.
66764         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66765         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66766         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66767         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66768         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66769         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66770         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66771         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66772         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66773         [C99-based standards] (INT_FAST8_MIN): Likewise.
66774         [C99-based standards] (INT_FAST8_MAX): Likewise.
66775         [C99-based standards] (INT_FAST16_MIN): Likewise.
66776         [C99-based standards] (INT_FAST16_MAX): Likewise.
66777         [C99-based standards] (INT_FAST32_MIN): Likewise.
66778         [C99-based standards] (INT_FAST32_MAX): Likewise.
66779         [C99-based standards] (INT_FAST64_MIN): Likewise.
66780         [C99-based standards] (INT_FAST64_MAX): Likewise.
66781         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66782         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66783         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66784         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66785         [C99-based standards] (INTPTR_MIN): Likewise.
66786         [C99-based standards] (INTPTR_MAX): Likewise.
66787         [C99-based standards] (UINTPTR_MAX): Likewise.
66788         [C99-based standards] (INTMAX_MIN): Likewise.
66789         [C99-based standards] (INTMAX_MAX): Likewise.
66790         [C99-based standards] (UINTMAX_MAX): Likewise.
66791         [C99-based standards] (PTRDIFF_MIN): Likewise.
66792         [C99-based standards] (PTRDIFF_MAX): Likewise.
66793         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66794         [C99-based standards] (SIZE_MAX): Likewise.
66795         [C99-based standards] (WCHAR_MAX): Likewise.
66796         [C99-based standards] (WINT_MAX): Likewise.
66797         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66798         constraint on value.
66799         [C99-based standards] (WCHAR_MIN): Likewise.
66800         [C99-based standards] (WINT_MIN): Likewise.
66801         [C99-based standards] (*_t): Allow.
66802         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66803         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66804         Include math.h-data and complex.h-data.  Remove all expectations
66805         of math.h and complex.h contents.
66806         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
66807         at end of line.
66808         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
66809         (struct tm): Expect tag.
66810         [C99-based-standards] (wcstof): Expect function.
66811         [C99-based-standards] (wcstold): Likewise.
66812         [C99-based-standards] (wcstoll): Likewise.
66813         [C99-based-standards] (wcstoull): Likewise.
66814         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
66815         macro-int-constant.  Specify type.
66816         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
66817         constraint on value.
66818         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66819         Specify type.
66820         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
66821         Specify value.
66822         [ISO C standards]: Do not allow headers.
66823         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
66824         wcs[abcdefghijklmnopqrstuvwxyz]*.
66825         [ISO C standards] (*_t): Do not allow.
66826         * conform/data/wctype.h-data [C99-based standards] (iswblank):
66827         Expect function.
66828         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
66829         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66830         Specify type.
66831         [ISO C standards]: Do not allow headers.
66832         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
66833         is[abcdefghijklmnopqrstuvwxyz]*.
66834         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
66835         to[abcdefghijklmnopqrstuvwxyz]*.
66836         [ISO C standards] (*_t): Do not allow.
66837         * conform/data/stdalign.h-data: New file.
66838         * conform/data/stdbool.h-data: Likewise.
66839         * conform/data/stdnoreturn.h-data: Likewise.
66841 2012-11-07  Roland McGrath  <roland@hack.frob.com>
66843         [BZ #14815]
66844         * manual/filesys.texi (Directory Entries): Typo fix.
66845         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
66847 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66849         * elf/elf.h (EM_AARCH64): New macro.
66850         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
66851         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
66852         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
66853         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
66854         (R_AARCH64_TLSDESC): Likewise.
66855         (NT_ARM_TLS): Likewise.
66856         (NT_ARM_HW_BREAK): Likewise.
66857         (NT_ARM_HW_WATCH): Likewise.
66859 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66861         [BZ #14811]
66862         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
66863         (__ieee754_powl): Saturate nonzero exponents with absolute value
66864         below 0x1p-79 to +/- 0x1p-79.
66865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
66866         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
66867         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
66868         nonzero exponents with absolute value below 0x1p-32 to +/-
66869         0x1p-32.
66870         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
66871         (__ieee754_powl): Saturate nonzero exponents with absolute value
66872         below 0x1p-79 to +/- 0x1p-79.
66873         * math/libm-test.inc (pow_test): Add more tests.
66875 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66877         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
66878         _dl_s390_cap_flags with kernel. Increase string length.
66879         (_dl_s390_platforms): Add z196 and zEC12.
66881 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66883         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
66884         Change XOPEN21K to XOPEN2K.
66886 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
66888         * string/memmove.c: Use memcpy when possible.
66890 2012-11-06  Andreas Jaeger  <aj@suse.de>
66892         * po/eo.po: Update from translation team.
66894 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
66896         [BZ #14793]
66897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66898         exponent and small x and y exponents, scale x or y up.  Increase
66899         by 2 the exponent used in scaling up.
66900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66902         * math/libm-test.inc (fma_test): Add more tests.
66903         (fma_test_towardzero): Likewise.
66904         (fma_test_downward): Likewise.
66905         (fma_test_upward): Likewise.
66907 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
66909         [BZ #14805]
66910         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
66911         fenv_t *.
66913         [BZ #14801]
66914         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
66915         namespace for names of struct fields.
66916         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
66917         fenv_t fields.
66918         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
66919         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
66921 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66923         [BZ #3665]
66924         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
66926 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66928         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
66929         PTR_DEMANGLE.
66931         [BZ #5246]
66932         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
66933         PTR_DEMANGLE.
66935 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
66937         [BZ #14797]
66938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
66939         definitely overflow as x * y not x * y + z.
66940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66942         * math/libm-test.inc (fma_test): Add more tests.
66943         (fma_test_towardzero): Likewise.
66944         (fma_test_downward): Likewise.
66945         (fma_test_upward): Likewise.
66947 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66949         [BZ #157]
66951         * include/stub-tag.h: Remove file.
66952         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
66953         '#include' of it.
66954         * manual/maint.texi (Porting): Don't reference it.
66955         * Makerules ($(objpfx)stubs): Likewise.
66956         * dirent/closedir.c: Don't include <stub-tag.h>.
66957         * dirent/dirfd.c: Likewise.
66958         * dirent/fdopendir.c: Likewise.
66959         * dirent/getdents.c: Likewise.
66960         * dirent/getdents64.c: Likewise.
66961         * dirent/opendir.c: Likewise.
66962         * dirent/readdir.c: Likewise.
66963         * dirent/readdir64.c: Likewise.
66964         * dirent/readdir64_r.c: Likewise.
66965         * dirent/readdir_r.c: Likewise.
66966         * dirent/rewinddir.c: Likewise.
66967         * dirent/seekdir.c: Likewise.
66968         * dirent/telldir.c: Likewise.
66969         * gmon/profil.c: Likewise.
66970         * grp/setgroups.c: Likewise.
66971         * inet/if_index.c: Likewise.
66972         * io/access.c: Likewise.
66973         * io/chdir.c: Likewise.
66974         * io/chmod.c: Likewise.
66975         * io/chown.c: Likewise.
66976         * io/close.c: Likewise.
66977         * io/dup.c: Likewise.
66978         * io/dup2.c: Likewise.
66979         * io/dup3.c: Likewise.
66980         * io/euidaccess.c: Likewise.
66981         * io/faccessat.c: Likewise.
66982         * io/fchdir.c: Likewise.
66983         * io/fchmod.c: Likewise.
66984         * io/fchmodat.c: Likewise.
66985         * io/fchown.c: Likewise.
66986         * io/fchownat.c: Likewise.
66987         * io/fcntl.c: Likewise.
66988         * io/flock.c: Likewise.
66989         * io/fstatfs.c: Likewise.
66990         * io/fstatfs64.c: Likewise.
66991         * io/fstatvfs.c: Likewise.
66992         * io/fstatvfs64.c: Likewise.
66993         * io/futimens.c: Likewise.
66994         * io/fxstat.c: Likewise.
66995         * io/fxstat64.c: Likewise.
66996         * io/fxstatat.c: Likewise.
66997         * io/fxstatat64.c: Likewise.
66998         * io/getcwd.c: Likewise.
66999         * io/isatty.c: Likewise.
67000         * io/lchmod.c: Likewise.
67001         * io/lchown.c: Likewise.
67002         * io/link.c: Likewise.
67003         * io/linkat.c: Likewise.
67004         * io/lseek.c: Likewise.
67005         * io/lseek64.c: Likewise.
67006         * io/lxstat64.c: Likewise.
67007         * io/mkdir.c: Likewise.
67008         * io/mkdirat.c: Likewise.
67009         * io/mkfifo.c: Likewise.
67010         * io/mkfifoat.c: Likewise.
67011         * io/open.c: Likewise.
67012         * io/open64.c: Likewise.
67013         * io/openat.c: Likewise.
67014         * io/openat64.c: Likewise.
67015         * io/pipe.c: Likewise.
67016         * io/pipe2.c: Likewise.
67017         * io/poll.c: Likewise.
67018         * io/posix_fadvise.c: Likewise.
67019         * io/posix_fadvise64.c: Likewise.
67020         * io/posix_fallocate.c: Likewise.
67021         * io/posix_fallocate64.c: Likewise.
67022         * io/read.c: Likewise.
67023         * io/readlink.c: Likewise.
67024         * io/readlinkat.c: Likewise.
67025         * io/rmdir.c: Likewise.
67026         * io/sendfile.c: Likewise.
67027         * io/sendfile64.c: Likewise.
67028         * io/statfs.c: Likewise.
67029         * io/statfs64.c: Likewise.
67030         * io/statvfs.c: Likewise.
67031         * io/statvfs64.c: Likewise.
67032         * io/symlink.c: Likewise.
67033         * io/symlinkat.c: Likewise.
67034         * io/ttyname.c: Likewise.
67035         * io/ttyname_r.c: Likewise.
67036         * io/umask.c: Likewise.
67037         * io/unlink.c: Likewise.
67038         * io/unlinkat.c: Likewise.
67039         * io/utime.c: Likewise.
67040         * io/utimensat.c: Likewise.
67041         * io/write.c: Likewise.
67042         * io/xmknod.c: Likewise.
67043         * io/xmknodat.c: Likewise.
67044         * io/xstat.c: Likewise.
67045         * io/xstat64.c: Likewise.
67046         * login/getpt.c: Likewise.
67047         * login/grantpt.c: Likewise.
67048         * login/unlockpt.c: Likewise.
67049         * math/e_acoshl.c: Likewise.
67050         * math/e_acosl.c: Likewise.
67051         * math/e_asinl.c: Likewise.
67052         * math/e_atan2l.c: Likewise.
67053         * math/e_atanhl.c: Likewise.
67054         * math/e_coshl.c: Likewise.
67055         * math/e_expl.c: Likewise.
67056         * math/e_fmodl.c: Likewise.
67057         * math/e_gammal_r.c: Likewise.
67058         * math/e_hypotl.c: Likewise.
67059         * math/e_j0l.c: Likewise.
67060         * math/e_j1l.c: Likewise.
67061         * math/e_jnl.c: Likewise.
67062         * math/e_lgammal_r.c: Likewise.
67063         * math/e_log10l.c: Likewise.
67064         * math/e_log2l.c: Likewise.
67065         * math/e_logl.c: Likewise.
67066         * math/e_powl.c: Likewise.
67067         * math/e_rem_pio2l.c: Likewise.
67068         * math/e_sinhl.c: Likewise.
67069         * math/e_sqrtl.c: Likewise.
67070         * math/fclrexcpt.c: Likewise.
67071         * math/fedisblxcpt.c: Likewise.
67072         * math/feenablxcpt.c: Likewise.
67073         * math/fegetenv.c: Likewise.
67074         * math/fegetexcept.c: Likewise.
67075         * math/fegetround.c: Likewise.
67076         * math/feholdexcpt.c: Likewise.
67077         * math/fesetenv.c: Likewise.
67078         * math/fesetround.c: Likewise.
67079         * math/feupdateenv.c: Likewise.
67080         * math/fgetexcptflg.c: Likewise.
67081         * math/fraiseexcpt.c: Likewise.
67082         * math/fsetexcptflg.c: Likewise.
67083         * math/ftestexcept.c: Likewise.
67084         * math/k_cosl.c: Likewise.
67085         * math/k_rem_pio2l.c: Likewise.
67086         * math/k_sinl.c: Likewise.
67087         * math/k_tanl.c: Likewise.
67088         * math/s_asinhl.c: Likewise.
67089         * math/s_atanl.c: Likewise.
67090         * math/s_cbrtl.c: Likewise.
67091         * math/s_erfl.c: Likewise.
67092         * math/s_expm1l.c: Likewise.
67093         * math/s_log1pl.c: Likewise.
67094         * math/s_tanhl.c: Likewise.
67095         * misc/acct.c: Likewise.
67096         * misc/brk.c: Likewise.
67097         * misc/chflags.c: Likewise.
67098         * misc/chroot.c: Likewise.
67099         * misc/fchflags.c: Likewise.
67100         * misc/fgetxattr.c: Likewise.
67101         * misc/flistxattr.c: Likewise.
67102         * misc/fremovexattr.c: Likewise.
67103         * misc/fsetxattr.c: Likewise.
67104         * misc/fsync.c: Likewise.
67105         * misc/ftruncate.c: Likewise.
67106         * misc/futimes.c: Likewise.
67107         * misc/futimesat.c: Likewise.
67108         * misc/getdomain.c: Likewise.
67109         * misc/getdtsz.c: Likewise.
67110         * misc/gethostid.c: Likewise.
67111         * misc/gethostname.c: Likewise.
67112         * misc/getloadavg.c: Likewise.
67113         * misc/getpagesize.c: Likewise.
67114         * misc/getsysstats.c: Likewise.
67115         * misc/getxattr.c: Likewise.
67116         * misc/gtty.c: Likewise.
67117         * misc/ioctl.c: Likewise.
67118         * misc/lgetxattr.c: Likewise.
67119         * misc/listxattr.c: Likewise.
67120         * misc/llistxattr.c: Likewise.
67121         * misc/lremovexattr.c: Likewise.
67122         * misc/lsetxattr.c: Likewise.
67123         * misc/lutimes.c: Likewise.
67124         * misc/madvise.c: Likewise.
67125         * misc/mincore.c: Likewise.
67126         * misc/mlock.c: Likewise.
67127         * misc/mlockall.c: Likewise.
67128         * misc/mmap.c: Likewise.
67129         * misc/mprotect.c: Likewise.
67130         * misc/msync.c: Likewise.
67131         * misc/munlock.c: Likewise.
67132         * misc/munlockall.c: Likewise.
67133         * misc/munmap.c: Likewise.
67134         * misc/preadv.c: Likewise.
67135         * misc/preadv64.c: Likewise.
67136         * misc/ptrace.c: Likewise.
67137         * misc/pwritev.c: Likewise.
67138         * misc/pwritev64.c: Likewise.
67139         * misc/readv.c: Likewise.
67140         * misc/reboot.c: Likewise.
67141         * misc/remap_file_pages.c: Likewise.
67142         * misc/removexattr.c: Likewise.
67143         * misc/revoke.c: Likewise.
67144         * misc/select.c: Likewise.
67145         * misc/setdomain.c: Likewise.
67146         * misc/setegid.c: Likewise.
67147         * misc/seteuid.c: Likewise.
67148         * misc/sethostid.c: Likewise.
67149         * misc/sethostname.c: Likewise.
67150         * misc/setregid.c: Likewise.
67151         * misc/setreuid.c: Likewise.
67152         * misc/setxattr.c: Likewise.
67153         * misc/sstk.c: Likewise.
67154         * misc/stty.c: Likewise.
67155         * misc/swapoff.c: Likewise.
67156         * misc/swapon.c: Likewise.
67157         * misc/sync.c: Likewise.
67158         * misc/syncfs.c: Likewise.
67159         * misc/syscall.c: Likewise.
67160         * misc/truncate.c: Likewise.
67161         * misc/ualarm.c: Likewise.
67162         * misc/usleep.c: Likewise.
67163         * misc/ustat.c: Likewise.
67164         * misc/utimes.c: Likewise.
67165         * misc/vhangup.c: Likewise.
67166         * misc/writev.c: Likewise.
67167         * posix/_exit.c: Likewise.
67168         * posix/alarm.c: Likewise.
67169         * posix/execve.c: Likewise.
67170         * posix/fexecve.c: Likewise.
67171         * posix/fork.c: Likewise.
67172         * posix/fpathconf.c: Likewise.
67173         * posix/getaddrinfo.c: Likewise.
67174         * posix/getegid.c: Likewise.
67175         * posix/geteuid.c: Likewise.
67176         * posix/getgid.c: Likewise.
67177         * posix/getgroups.c: Likewise.
67178         * posix/getlogin.c: Likewise.
67179         * posix/getlogin_r.c: Likewise.
67180         * posix/getpgid.c: Likewise.
67181         * posix/getpid.c: Likewise.
67182         * posix/getppid.c: Likewise.
67183         * posix/getresgid.c: Likewise.
67184         * posix/getresuid.c: Likewise.
67185         * posix/getsid.c: Likewise.
67186         * posix/getuid.c: Likewise.
67187         * posix/glob64.c: Likewise.
67188         * posix/nanosleep.c: Likewise.
67189         * posix/pathconf.c: Likewise.
67190         * posix/pause.c: Likewise.
67191         * posix/posix_madvise.c: Likewise.
67192         * posix/pread.c: Likewise.
67193         * posix/pread64.c: Likewise.
67194         * posix/pwrite.c: Likewise.
67195         * posix/pwrite64.c: Likewise.
67196         * posix/sched_getaffinity.c: Likewise.
67197         * posix/sched_getp.c: Likewise.
67198         * posix/sched_gets.c: Likewise.
67199         * posix/sched_primax.c: Likewise.
67200         * posix/sched_primin.c: Likewise.
67201         * posix/sched_rr_gi.c: Likewise.
67202         * posix/sched_setaffinity.c: Likewise.
67203         * posix/sched_setp.c: Likewise.
67204         * posix/sched_sets.c: Likewise.
67205         * posix/sched_yield.c: Likewise.
67206         * posix/setgid.c: Likewise.
67207         * posix/setlogin.c: Likewise.
67208         * posix/setpgid.c: Likewise.
67209         * posix/setresgid.c: Likewise.
67210         * posix/setresuid.c: Likewise.
67211         * posix/setsid.c: Likewise.
67212         * posix/setuid.c: Likewise.
67213         * posix/sleep.c: Likewise.
67214         * posix/spawni.c: Likewise.
67215         * posix/sysconf.c: Likewise.
67216         * posix/times.c: Likewise.
67217         * posix/wait.c: Likewise.
67218         * posix/wait3.c: Likewise.
67219         * posix/wait4.c: Likewise.
67220         * posix/waitpid.c: Likewise.
67221         * resolv/gai_sigqueue.c: Likewise.
67222         * resource/getpriority.c: Likewise.
67223         * resource/getrlimit.c: Likewise.
67224         * resource/getrusage.c: Likewise.
67225         * resource/nice.c: Likewise.
67226         * resource/setpriority.c: Likewise.
67227         * resource/setrlimit.c: Likewise.
67228         * resource/ulimit.c: Likewise.
67229         * rt/aio_cancel.c: Likewise.
67230         * rt/aio_fsync.c: Likewise.
67231         * rt/aio_read.c: Likewise.
67232         * rt/aio_sigqueue.c: Likewise.
67233         * rt/aio_suspend.c: Likewise.
67234         * rt/aio_write.c: Likewise.
67235         * rt/clock_getres.c: Likewise.
67236         * rt/clock_gettime.c: Likewise.
67237         * rt/clock_nanosleep.c: Likewise.
67238         * rt/clock_settime.c: Likewise.
67239         * rt/lio_listio.c: Likewise.
67240         * rt/mq_close.c: Likewise.
67241         * rt/mq_getattr.c: Likewise.
67242         * rt/mq_notify.c: Likewise.
67243         * rt/mq_open.c: Likewise.
67244         * rt/mq_receive.c: Likewise.
67245         * rt/mq_send.c: Likewise.
67246         * rt/mq_setattr.c: Likewise.
67247         * rt/mq_timedreceive.c: Likewise.
67248         * rt/mq_timedsend.c: Likewise.
67249         * rt/mq_unlink.c: Likewise.
67250         * rt/shm_open.c: Likewise.
67251         * rt/shm_unlink.c: Likewise.
67252         * rt/timer_create.c: Likewise.
67253         * rt/timer_delete.c: Likewise.
67254         * rt/timer_getoverr.c: Likewise.
67255         * rt/timer_gettime.c: Likewise.
67256         * rt/timer_settime.c: Likewise.
67257         * setjmp/__longjmp.c: Likewise.
67258         * setjmp/setjmp.c: Likewise.
67259         * signal/kill.c: Likewise.
67260         * signal/killpg.c: Likewise.
67261         * signal/raise.c: Likewise.
67262         * signal/sigaction.c: Likewise.
67263         * signal/sigaltstack.c: Likewise.
67264         * signal/sigblock.c: Likewise.
67265         * signal/sigignore.c: Likewise.
67266         * signal/sigintr.c: Likewise.
67267         * signal/signal.c: Likewise.
67268         * signal/sigpause.c: Likewise.
67269         * signal/sigpending.c: Likewise.
67270         * signal/sigqueue.c: Likewise.
67271         * signal/sigreturn.c: Likewise.
67272         * signal/sigset.c: Likewise.
67273         * signal/sigsetmask.c: Likewise.
67274         * signal/sigstack.c: Likewise.
67275         * signal/sigsuspend.c: Likewise.
67276         * signal/sigtimedwait.c: Likewise.
67277         * signal/sigvec.c: Likewise.
67278         * signal/sigwait.c: Likewise.
67279         * signal/sigwaitinfo.c: Likewise.
67280         * signal/sysv_signal.c: Likewise.
67281         * socket/accept.c: Likewise.
67282         * socket/accept4.c: Likewise.
67283         * socket/bind.c: Likewise.
67284         * socket/connect.c: Likewise.
67285         * socket/getpeername.c: Likewise.
67286         * socket/getsockname.c: Likewise.
67287         * socket/getsockopt.c: Likewise.
67288         * socket/isfdtype.c: Likewise.
67289         * socket/listen.c: Likewise.
67290         * socket/recv.c: Likewise.
67291         * socket/recvfrom.c: Likewise.
67292         * socket/recvmsg.c: Likewise.
67293         * socket/send.c: Likewise.
67294         * socket/sendmsg.c: Likewise.
67295         * socket/sendto.c: Likewise.
67296         * socket/setsockopt.c: Likewise.
67297         * socket/shutdown.c: Likewise.
67298         * socket/sockatmark.c: Likewise.
67299         * socket/socket.c: Likewise.
67300         * socket/socketpair.c: Likewise.
67301         * stdio-common/ctermid.c: Likewise.
67302         * stdio-common/cuserid.c: Likewise.
67303         * stdio-common/remove.c: Likewise.
67304         * stdio-common/rename.c: Likewise.
67305         * stdio-common/renameat.c: Likewise.
67306         * stdio-common/tempname.c: Likewise.
67307         * stdlib/getcontext.c: Likewise.
67308         * stdlib/makecontext.c: Likewise.
67309         * stdlib/setcontext.c: Likewise.
67310         * stdlib/swapcontext.c: Likewise.
67311         * stdlib/system.c: Likewise.
67312         * streams/fattach.c: Likewise.
67313         * streams/fdetach.c: Likewise.
67314         * streams/getmsg.c: Likewise.
67315         * streams/getpmsg.c: Likewise.
67316         * streams/putmsg.c: Likewise.
67317         * streams/putpmsg.c: Likewise.
67318         * sysdeps/unix/bsd/getpt.c: Likewise.
67319         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67320         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67321         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67323         Likewise.
67324         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67325         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67326         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67327         * sysvipc/msgctl.c: Likewise.
67328         * sysvipc/msgget.c: Likewise.
67329         * sysvipc/msgrcv.c: Likewise.
67330         * sysvipc/msgsnd.c: Likewise.
67331         * sysvipc/semctl.c: Likewise.
67332         * sysvipc/semget.c: Likewise.
67333         * sysvipc/semop.c: Likewise.
67334         * sysvipc/semtimedop.c: Likewise.
67335         * sysvipc/shmat.c: Likewise.
67336         * sysvipc/shmctl.c: Likewise.
67337         * sysvipc/shmdt.c: Likewise.
67338         * sysvipc/shmget.c: Likewise.
67339         * termios/tcdrain.c: Likewise.
67340         * termios/tcflow.c: Likewise.
67341         * termios/tcflush.c: Likewise.
67342         * termios/tcgetattr.c: Likewise.
67343         * termios/tcgetpgrp.c: Likewise.
67344         * termios/tcsendbrk.c: Likewise.
67345         * termios/tcsetattr.c: Likewise.
67346         * termios/tcsetpgrp.c: Likewise.
67347         * time/adjtime.c: Likewise.
67348         * time/clock.c: Likewise.
67349         * time/getitimer.c: Likewise.
67350         * time/gettimeofday.c: Likewise.
67351         * time/setitimer.c: Likewise.
67352         * time/settimeofday.c: Likewise.
67353         * time/stime.c: Likewise.
67354         * time/time.c: Likewise.
67356 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67358         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67359         /usr/old/bin.
67361         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67362         instead of spaces.
67363         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67365 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67367         [BZ #14796]
67368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67369         FE_TONEAREST before applying Dekker multiplication and Knuth
67370         addition.  Clear inexact exceptions and check for exact zero
67371         results afterwards.
67372         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67373         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67374         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67375         * math/libm-test.inc (fma_test): Add more tests.
67376         (fma_test_towardzero): Likewise.
67377         (fma_test_downward): Likewise.
67378         (fma_test_upward): Likewise.
67379         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67380         function.
67381         (libc_fesetround): New macro.
67382         (libc_fesetroundf): Likewise.
67383         (libc_fesetroundl): Likewise.
67384         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67385         function.
67386         (libc_fesetround_387): Likewise.
67387         (libc_fesetroundf): New macro.
67388         (libc_fesetround): Likewise.
67389         (libc_fesetroundl): Likewise.
67390         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67391         function.
67392         (libc_fesetroundf): New macro.
67393         (libc_fesetround): Likewise.
67394         (libc_fesetroundl): Likewise.
67395         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67396         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67397         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67398         libm_hidden_ver.
67399         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67400         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67401         libm_hidden_def.
67402         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67403         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67404         libm_hidden_ver.
67405         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67406         libm_hidden_def.
67408         [BZ #3439]
67409         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67410         integer constant usable in #if and use that to give value to enum
67411         constant.
67412         (FE_DIVBYZERO): Likewise.
67413         (FE_UNDERFLOW): Likewise.
67414         (FE_OVERFLOW): Likewise.
67415         (FE_INVALID): Likewise.
67416         (FE_INVALID_SNAN): Likewise.
67417         (FE_INVALID_ISI): Likewise.
67418         (FE_INVALID_IDI): Likewise.
67419         (FE_INVALID_ZDZ): Likewise.
67420         (FE_INVALID_IMZ): Likewise.
67421         (FE_INVALID_COMPARE): Likewise.
67422         (FE_INVALID_SOFTWARE): Likewise.
67423         (FE_INVALID_SQRT): Likewise.
67424         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67425         (FE_TONEAREST): Likewise.
67426         (FE_TOWARDZERO): Likewise.
67427         (FE_UPWARD): Likewise.
67428         (FE_DOWNWARD): Likewise.
67429         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67430         (FE_DIVBYZERO): Likewise.
67431         (FE_OVERFLOW): Likewise.
67432         (FE_UNDERFLOW): Likewise.
67433         (FE_INEXACT): Likewise.
67434         (FE_TONEAREST): Likewise.
67435         (FE_DOWNWARD): Likewise.
67436         (FE_UPWARD): Likewise.
67437         (FE_TOWARDZERO): Likewise.
67438         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67439         (FE_UNDERFLOW): Likewise.
67440         (FE_OVERFLOW): Likewise.
67441         (FE_DIVBYZERO): Likewise.
67442         (FE_INVALID): Likewise.
67443         (FE_TONEAREST): Likewise.
67444         (FE_TOWARDZERO): Likewise.
67445         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67446         (FE_OVERFLOW): Likewise.
67447         (FE_UNDERFLOW): Likewise.
67448         (FE_DIVBYZERO): Likewise.
67449         (FE_INEXACT): Likewise.
67450         (FE_TONEAREST): Likewise.
67451         (FE_TOWARDZERO): Likewise.
67452         (FE_UPWARD): Likewise.
67453         (FE_DOWNWARD): Likewise.
67454         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67455         (FE_DIVBYZERO): Likewise.
67456         (FE_OVERFLOW): Likewise.
67457         (FE_UNDERFLOW): Likewise.
67458         (FE_INEXACT): Likewise.
67459         (FE_TONEAREST): Likewise.
67460         (FE_DOWNWARD): Likewise.
67461         (FE_UPWARD): Likewise.
67462         (FE_TOWARDZERO): Likewise.
67464 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67466         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67468 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67470         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67471         commands.  Quote $PWD.
67472         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67473         -x" by "export".
67474         (remove_newlines): Remove.
67476 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67478         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67479         * stdlib/stdlib.h (atof): Moved to ...
67480         * include/bits/stdlib-float.h: Here.  New file.
67481         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67482         * stdlib/bits/stdlib-float.h: New file.
67483         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
67484         -mno-sse -mno-mmx.
67485         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
67486         <xmmintrin.h>.
67488 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67490         * conform/conformtest.pl (@headers): Add fenv.h.
67491         * conform/data/fenv.h-data: New file.
67492         * include/fenv.h [_ISOMAC]: Disable all contents of file except
67493         include of <math/fenv.h>.
67495         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
67496         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
67497         && !UNIX98].  Enables tests for XOPEN2K8.
67498         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
67499         POSIX2008]: Likewise.
67501         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
67502         (struct rusage): Do not expect type or its members.
67504         [BZ #3439]
67505         * math/math.h (FP_NAN): Define macro to integer constant usable in
67506         #if and use that to give value to enum constant.
67507         (FP_INFINITE): Likewise.
67508         (FP_ZERO): Likewise.
67509         (FP_SUBNORMAL): Likewise.
67510         (FP_NORMAL): Likewise.
67512 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
67514         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
67515         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
67516         arguments.
67518 2012-11-02  Roland McGrath  <roland@hack.frob.com>
67520         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
67521         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
67522         autoconf-time if not.
67523         * configure.in: Remove AC_PREREQ.
67525 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67527         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
67528         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
67529         of the internal implementation.
67531 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67533         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
67534         except include of <misc/sys/syslog.h>.
67536 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
67539         function returns with a NULL context exit with zero.
67541 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67543         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
67545 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
67547         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
67548         (run_program_cmd): This.
67549         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
67550         (tst_langinfo): New variable.  Use it.
67552 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
67554         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
67555         floating point opcodes.
67557 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67559         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
67560         variable.
67562         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
67564         * sysdeps/mach/hurd/powerpc: Remove directory.
67565         * sysdeps/mach/powerpc: Likewise.
67567 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67569         * scripts/check-local-headers.sh: Ignore c++ headers.
67571 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67573         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
67574         __libc_cleanup_region_start argument.
67576 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
67578         [BZ #14784]
67579         [BZ #14785]
67580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
67581         x * y using scaling, not as x * y + z.
67582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67583         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67584         * math/libm-test.inc (fma_test): Add more tests.
67585         (fma_test_towardzero): Likewise.
67586         (fma_test_downward): Likewise.
67587         (fma_test_upward): Likewise.
67589 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67591         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
67593 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67595         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
67596         New variable.
67598 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
67600         * rt/tst-shm.c (worker): Correct checking for mmap failure.
67602 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67605         Fix sort order.
67606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67607         Likewise.
67609 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67612         Fix the order of the list for glibc 2.17.
67613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67614         Likewise.
67616 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67620 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67622         [BZ #14610]
67623         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
67624         for low part of x being zero before using __atanl (y).
67625         * math/libm-test.inc (atan2_test): Add another test.
67627         * manual/install.texi (Configuring and compiling): Document
67628         general use of test-wrapper and test-wrapper-env.
67629         * INSTALL: Regenerated.
67631         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
67632         (__fma): 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         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
67636         (__fmal): Do not extract and scale down low bits on after-rounding
67637         systems when result rounded to normal precision would have normal
67638         exponent.
67639         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
67640         (__fmal): Do not extract and scale down low bits on after-rounding
67641         systems when result rounded to normal precision would have normal
67642         exponent.
67643         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
67644         macro.
67645         (fma_test): Add more tests.
67646         (fma_test_towardzero): Likewise.
67647         (fma_test_downward): Likewise.
67648         (fma_test_upward): Likewise.
67650 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
67652         * sysdeps/i386/tininess.h: Renamed to ...
67653         * sysdeps/x86/tininess.h: This.
67654         * sysdeps/x86_64/tininess.h: Removed.
67656 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67658         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
67659         input.  Use $(build-program-cmd).
67660         ($(objpfx)tst-array1-static.out): Likewise.
67661         ($(objpfx)tst-array2.out): Likewise.
67662         ($(objpfx)tst-array3.out): Likewise.
67663         ($(objpfx)tst-array4.out): Likewise.
67664         ($(objpfx)tst-array5.out): Likewise.
67665         ($(objpfx)tst-array5-static.out): Likewise.
67667 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
67669         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
67670         if defined.
67672         * nss/nsswitch.h (nss_interface_function): Provide new
67673         macro for use with NSS functions.
67674         * grp/initgroups.c: Use new macro.
67675         * nss/getXXbyYY.c: Likewise.
67676         * nss/getXXbyYY_r.c: Likewise.
67677         * nss/getXXent.c: Likewise.
67678         * nss/getXXent_r.c: Likewise.
67679         * sysdeps/posix/getaddrinfo.c: Likewise.
67681 2012-10-30  Andreas Jaeger  <aj@suse.de>
67683         * po/ru.po: Update Russion translation from translation project.
67685 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67687         [BZ #14152]
67688         [BZ #14783]
67689         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
67690         result and shift together with sticky bit instead of replicating
67691         round-to-nearest rounding.
67692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67694         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
67695         missing underflow exceptions.
67696         (fma_test_towardzero): Add more tests.
67697         (fma_test_downward): Likewise.
67698         (fma_test_upward): Likewise.
67700         [BZ #14047]
67701         * sysdeps/generic/tininess.h: New file.
67702         * sysdeps/i386/tininess.h: Likewise.
67703         * sysdeps/sh/tininess.h: Likewise.
67704         * sysdeps/x86_64/tininess.h: Likewise.
67705         * stdlib/tst-strtod-underflow.c: Likewise.
67706         * stdlib/tst-tininess.c: Likewise.
67707         * stdlib/strtod_l.c: Include <tininess.h>.
67708         (round_and_return): Do not set errno for exact underflow cases.
67709         Force an underflow exception when setting errno for underflow.
67710         Determine underflow based on rounding to normal precision if
67711         TININESS_AFTER_ROUNDING.
67712         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
67713         ERANGE for exact underflow cases.
67714         * stdlib/Makefile (tests): Add tst-tininess and
67715         tst-strtod-underflow.
67716         ($(objpfx)tst-tininess): Use $(link-libm).
67717         ($(objpfx)tst-strtod-underflow): Likewise.
67719 2012-10-30  Andreas Jaeger  <aj@suse.de>
67721         [BZ#14767]
67722         * elf/Makefile (tests): Remove conditional for have-initfini-array
67723         since this is now always required and the variable does not exist
67724         anymore.
67725         (tests-static): Likewise.
67726         (modules-names): Likewise.
67728         * po/eo.po: Add Esperanto translation from translation project.
67730         * elf/tst-array1.c (fini_array): Make writeable so that it can be
67731         merged with constructor/destructor.
67732         (init_array): Likewise.
67733         * elf/tst-array2dep.c (fini_array): Likewise.
67734         (init_array): Likewise.
67736 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
67738         * manual/message.texi: Delete @cartouche tags.
67740 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
67742         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
67743         EOPNOTSUPP.
67744         * sysdeps/mach/hurd/fsync.c: Likewise.
67746         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
67747         [_POSIX_REALTIME_SIGNALS]: Change condition to
67748         [_POSIX_REALTIME_SIGNALS > 0].
67750 2012-10-27  Andreas Jaeger  <aj@suse.de>
67752         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
67753         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
67754         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
67755         [__WORDSIZE != 64]: Likewise.
67757 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
67759         *  iconvdata/tst-table.sh: Remove ${SHELL}.
67760         *  iconvdata/tst-tables.sh: Likewise.
67762 2012-10-25  David S. Miller  <davem@davemloft.net>
67764         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67765         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67766         of strtoull.
67768         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67769         ifunc-impl-list.c
67770         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67771         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67772         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67773         file.
67775 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67777         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67778         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67779         __getdirentries.
67781 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67782             Jim Blandy  <jimb@codesourcery.com>
67784         * scripts/cross-test-ssh.sh: New file.
67785         * manual/install.texi (Configuring and compiling): Document use of
67786         cross-test-ssh.sh.
67787         * INSTALL: Regenerated.
67789 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67791         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67792         EOPNOTSUPP.
67794 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67796         * Makeconfig (run-program-prefix): Fix comment.
67798 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67799             Jim Blandy  <jimb@codesourcery.com>
67801         * Makeconfig (test-wrapper): New variable,
67802         (test-wrapper-env): Likewise.
67803         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67804         (run-built-tests): Define to yes.
67805         (run-program-prefix): Use $(test-wrapper).
67806         (built-program-cmd): Likewise.
67807         * Rules (make-test-out): Use $(test-wrapper-env) and
67808         $(host-built-program-cmd).
67809         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
67810         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
67811         tst-pathopt.sh.
67812         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
67813         $(test-wrapper-env) to tst-rtld-load-self.sh.
67814         ($(objpfx)order2.out): Use $(test-wrapper).
67815         ($(objpfx)tst-initorder.out): Likewise.
67816         ($(objpfx)tst-initorder2.out): Likewise.
67817         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
67818         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
67819         (test_wrapper_env): New variable.  Use it to run ld.so.
67820         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
67821         Use it to run ld.so.
67822         (test_wrapper_env): Likewise.
67823         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
67824         $(test-wrapper) to run-iconv-test.sh.
67825         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
67826         (ICONV): Use $test_wrapper.
67827         * posix/Makefile ($(objpfx)globtest.out): Pass
67828         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
67829         globtest.sh, not $(run-program-prefix).
67830         * posix/globtest.sh (run_via_rtld_prefix): New variable.
67831         (test_wrapper): Likewise.
67832         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
67833         set together with run_via_rtld_prefix.
67834         (run_program_prefix): Define in terms of test_wrapper and
67835         run_via_rtld_prefix.
67837 2012-10-24  Roland McGrath  <roland@hack.frob.com>
67839         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
67840         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
67841         Targets removed.
67843         [BZ #14743]
67844         * include/time.h: Remove librt_hidden_proto (clock_gettime).
67845         Declare __clock_getres, __clock_gettime, __clock_settime,
67846         __clock_nanosleep, and __clock_getcpuclockid.
67847         * rt/clock_gettime.c: Define __clock_gettime as an alias.
67848         Remove librt_hidden_def (clock_gettime).
67849         * sysdeps/unix/clock_gettime.c: Likewise.
67850         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
67851         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
67852         * rt/clock_getres.c: Define __clock_getres as an alias.
67853         * sysdeps/posix/clock_getres.c: Likewise.
67854         * rt/clock_settime.c: Define __clock_settime as an alias.
67855         * sysdeps/unix/clock_settime.c: Likewise.
67856         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
67857         * sysdeps/unix/clock_nanosleep.c: Likewise.
67858         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
67859         * rt/clock-compat.c: New file.
67860         * rt/Makefile (librt-routines): Add clock-compat and move
67861         $(clock-routines) to ...
67862         (routines): ... here, new variable.
67863         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
67864         Don't add get_clockfreq here.
67865         * rt/Versions (libc: GLIBC_2.17): New version set.
67866         Add clock_* symbols here.
67867         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
67868         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
67869         (GLIBC_2.17): Add clock_* symbols.
67870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67874         Likewise.
67875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67876         Likewise.
67877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67881         * NEWS: Mention the move.
67883         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
67884         Use __open, __read, __close rather than their public counterparts.
67885         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67886         (__get_clockfreq_via_cpuinfo): Likewise.
67887         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
67888         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
67890         * config.h.in (HAVE_IFUNC): New #undef.
67891         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
67892         was successful.
67893         * configure: Regenerated.
67895 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67897         * configure.in: Move READELF check to start of file.
67898         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
67899         libc_cv_asm_gnu_indirect_function in the process.
67900         * configure: Regenerated.
67902 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67904         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
67905         send the output to /dev/null.
67906         (libc_cv_cc_with_libunwind): Likewise.
67907         (libc_cv_as_noexecstack): Likewise.
67908         * configure: Regenerate.
67910 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67912         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
67914         * posix/globtest.sh (TMPDIR): Do not set.
67915         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
67916         (testout): Likewise.
67918 2012-10-24  Andreas Jaeger  <aj@suse.de>
67920         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
67921         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
67922         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
67923         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
67924         posix_fadvise64, posix_fallocate64.
67926         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
67927         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
67928         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
67929         Likewise.
67930         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
67931         Likewise.
67932         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
67934         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
67935         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
67936         <bits/fcntl-linux.h>.
67937         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
67939         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
67940         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
67941         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
67942         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
67943         [__WORDSIZE != 64]: Likewise.
67945 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67947         * Makeconfig (run-built-tests): New variable.
67948         * Rules [$(cross-compiling) = yes]: Change condition to
67949         [$(run-built-tests) = no].
67950         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
67951         to [$(run-built-tests) = yes].
67952         * elf/Makefile [$(cross-compiling) = no]: Likewise.
67953         * grp/Makefile [$(cross-compiling) = no]: Likewise.
67954         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
67955         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
67956         * intl/Makefile [$(cross-compiling) = no]: Likewise.
67957         * io/Makefile [$(cross-compiling) = no]: Likewise.
67958         * libio/Makefile [$(cross-compiling) = no]: Likewise.
67959         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
67960         * misc/Makefile [$(cross-compiling) = no]: Likewise.
67961         * posix/Makefile [$(cross-compiling) = no]: Likewise.
67962         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
67963         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
67964         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
67965         * string/Makefile [$(cross-compiling) = no]: Likewise.
67967         * posix/Makefile ($(objpfx)globtest.out): Pass
67968         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
67969         $(rtld-installed-name).
67970         * posix/globtest.sh (elf_objpfx): Remove variable.
67971         (rtld_installed_name): Likewise.
67972         (library_path): Likewise.
67973         (run_program_prefix): New variable.  Use for running globtest
67974         binary.
67976 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
67977             Joseph Myers  <joseph@codesourcery.com>
67979         * Makeconfig (host-built-program-cmd): New variable.
67980         * elf/Makefile (tst-stackguard1-ARGS): Use
67981         $(host-built-program-cmd).
67982         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
67983         (tst-spawn-ARGS): Likewise.
67984         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
67986 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67987             Jim Blandy  <jimb@codesourcery.com>
67989         * Makeconfig (run-via-rtld-prefix): New variable.
67990         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
67991         (built-program-cmd): Likewise.
67993 2012-10-22  Andreas Jaeger  <aj@suse.de>
67995         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
67996         __O_RSYNC if it exists, otherwise to O_SYNC.
67998 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
67999             Joseph Myers  <joseph@codesourcery.com>
68001         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68002         /dev/null.
68003         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68004         from /dev/null
68005         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68006         /dev/null.
68008 2012-10-22  Andreas Jaeger  <aj@suse.de>
68010         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68011         Define always.
68012         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68015         bits/fcntl-linux.h.
68017         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68018         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68020         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68021         to __O_LARGEFILE.
68022         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68023         to __O_LARGEFILE.
68025 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68026             Joseph Myers  <joseph@codesourcery.com>
68028         * config.make.in (NM): New variable.
68030 2012-10-21  Andreas Jaeger  <aj@suse.de>
68032         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68033         definitions and declarations that are provided by
68034         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68036 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68038         [BZ #14683]
68039         * elf/Makefile (tests-static): Add tst-leaks1-static.
68040         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68041         ($(objpfx)tst-leaks1-static): New rule.
68042         ($(objpfx)tst-leaks1-static-mem): Likewise.
68043         (tst-leaks1-static-ENV): New macro.
68044         * elf/dl-open.c (dl_open_worker): Check the main application
68045         only if SHARED is defined.
68046         * elf/tst-leaks1-static.c: New file.
68048 2012-10-20  Andreas Jaeger  <aj@suse.de>
68050         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68051         generic values for Linux.
68052         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68053         and declarations that are provided by <bits/fcntl-linux.h> and
68054         include <bits/fcntl-linux.h>.
68055         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68056         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68058 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68060         * io/fcntl.h: Move include of <bits/types.h> to the top and
68061         include it unconditionally.
68063 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68065         * wcsmbs/Makefile (tests-ifunc): New variable.
68066         (tests): Add $(tests-ifunc).
68067         * wcsmbs/test-wcschr-ifunc.c: New file.
68068         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68069         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68070         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68071         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68072         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68074         * string/Makefile (tests-ifunc): New variable.
68075         (tests): Add $(tests-ifunc).
68076         * string/test-memccpy.c (TEST_NAME): New macro.
68077         * string/test-memchr.c (TEST_NAME): Likewise.
68078         * string/test-memcmp.c (TEST_NAME): Likewise.
68079         * string/test-memcpy.c (TEST_NAME): Likewise.
68080         * string/test-memmem.c (TEST_NAME): Likewise.
68081         * string/test-memmove.c (TEST_NAME): Likewise.
68082         * string/test-memset.c (TEST_NAME): Likewise.
68083         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68084         * string/test-stpcpy.c (TEST_NAME): Likewise.
68085         * string/test-stpncpy.c (TEST_NAME): Likewise.
68086         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68087         * string/test-strcasestr.c (TEST_NAME): Likewise.
68088         * string/test-strcat.c (TEST_NAME): Likewise.
68089         * string/test-strchr.c (TEST_NAME): Likewise.
68090         * string/test-strcmp.c(TEST_NAME): Likewise.
68091         * string/test-strcpy.c (TEST_NAME): Likewise.
68092         * string/test-strcspn.c (TEST_NAME): Likewise.
68093         * string/test-strlen.c (TEST_NAME): Likewise.
68094         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68095         * string/test-strncmp.c (TEST_NAME): Likewise.
68096         * string/test-strncpy.c (TEST_NAME): Likewise.
68097         * string/test-strnlen.c (TEST_NAME): Likewise.
68098         * string/test-strpbrk.c (TEST_NAME): Likewise.
68099         * string/test-strrchr.c (TEST_NAME): Likewise.
68100         * string/test-strspn.c (TEST_NAME): Likewise.
68101         * string/test-strstr.c (TEST_NAME): Likewise.
68102         * string/test-bcopy-ifunc.c: New file.
68103         * string/test-bzero-ifunc.c: Likewise.
68104         * string/test-memccpy-ifunc.c: Likewise.
68105         * string/test-memchr-ifunc.c: Likewise.
68106         * string/test-memcmp-ifunc.c: Likewise.
68107         * string/test-memcpy-ifunc.c: Likewise.
68108         * string/test-memmem-ifunc.c: Likewise.
68109         * string/test-memmove-ifunc.c: Likewise.
68110         * string/test-mempcpy-ifunc.c: Likewise.
68111         * string/test-memset-ifunc.c: Likewise.
68112         * string/test-rawmemchr-ifunc.c: Likewise.
68113         * string/test-stpcpy-ifunc.c: Likewise.
68114         * string/test-stpncpy-ifunc.c: Likewise.
68115         * string/test-strcasecmp-ifunc.c: Likewise.
68116         * string/test-strcasestr-ifunc.c: Likewise.
68117         * string/test-strcat-ifunc.c: Likewise.
68118         * string/test-strchr-ifunc.c: Likewise.
68119         * string/test-strchrnul-ifunc.c: Likewise.
68120         * string/test-strcmp-ifunc.c: Likewise.
68121         * string/test-strcpy-ifunc.c: Likewise.
68122         * string/test-strcspn-ifunc.c: Likewise.
68123         * string/test-strlen-ifunc.c: Likewise.
68124         * string/test-strncasecmp-ifunc.c: Likewise.
68125         * string/test-strncat-ifunc.c: Likewise.
68126         * string/test-strncmp-ifunc.c: Likewise.
68127         * string/test-strncpy-ifunc.c: Likewise.
68128         * string/test-strnlen-ifunc.c: Likewise.
68129         * string/test-strpbrk-ifunc.c: Likewise.
68130         * string/test-strrchr-ifunc.c: Likewise.
68131         * string/test-strspn-ifunc.c: Likewise.
68132         * string/test-strstr-ifunc.c: Likewise.
68134         * debug/Makefile (tests-ifunc): New variable.
68135         (tests): Add $(tests-ifunc).
68136         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68137         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68138         * debug/test-stpcpy_chk-ifunc.c: New file.
68139         * debug/test-strcpy_chk-ifunc.c: Likewise.
68141 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68143         [BZ #13601]
68144         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68145         header is not read in.
68147 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68149         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68150         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68151         directly.  Pass built executable to script as
68152         $(built-program-cmd).
68153         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68154         $testprogram without using LD_LIBRARY_PATH and $ldso.
68156         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68157         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68158         $(rtld-installed-name).
68159         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68160         (rtld_installed_name): Likewise.
68161         (library_path): Likewise.
68162         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68163         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68164         $(run-program-prefix) to tst-tables.sh.
68165         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68166         it to run tst-table-from and tst-table-to.
68167         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68168         Pass it to tst-table.sh.
68169         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68170         $(run-program-prefix) to tst-gettext.sh.
68171         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68172         tst-translit.sh.
68173         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68174         tst-gettext2.sh.
68175         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68176         to run tst-gettext.
68177         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68178         to run tst-gettext2.
68179         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68180         to run tst-translit.
68181         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68182         $(run-program-prefix) to tst-mtrace.sh.
68183         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68184         to run tst-mtrace.
68185         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68186         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68187         $(rtld-installed-name).
68188         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68189         (rtld_installed_name): Likewise.
68190         (run_program_prefix): New variable.  Use it to run wordexp-test.
68192         * Makeconfig (ARCH): Remove all definitions.
68193         (machine): Likewise.
68194         [ARCH]: Remove conditional code.
68195         [!objdir]: Give error.
68196         [!objdir] (objpfx): Remove.
68197         [!objdir] (common-objpfx): Likewise.
68198         [!objdir] (common-objdir): Likewise.
68199         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68200         AC_CONFIG_FILES call.
68201         * configure: Regenerated.
68203         [BZ #13888]
68204         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68205         or TMPDIR.
68206         (testout): Likewise.
68208         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68209         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68210         $(rtld-installed-name).
68211         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68212         (rtld_installed_name): Likewise.
68213         (runit): Remove function.
68214         (run_getconf): New variable,  Use it for running getconf binary.
68216 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68218         [BZ #14716]
68219         * string/test-memmem.c (check_result): New function.
68220         (do_one_test): Use it.
68221         (check1): New function.
68222         (test_main): Use it.
68224 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68226         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68228 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68230         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68231         (_G_LSEEK64): Likewise.
68232         (_G_MMAP64): Likewise.
68233         (_G_FSTAT64): Likewise.
68234         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68235         (_G_LSEEK64): Likewise.
68236         (_G_MMAP64): Likewise.
68237         (_G_FSTAT64): Likewise.
68238         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68239         unconditional.  Call __mmap64 directly.
68240         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68241         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68242         __lseek64 directly.
68243         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68244         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68245         __mmap64 directly.
68246         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68247         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68248         __lseek64 directly.
68249         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68250         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68251         __lseek64 directly.
68252         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68253         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68254         __lseek64 directly.
68255         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68256         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68257         __fxstat64 directly.
68258         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68259         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68260         unconditional.
68261         (freopen64) [!_G_OPEN64]: Remove conditional code.
68262         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68263         unconditional.
68264         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68265         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68266         unconditional.
68267         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68268         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68269         unconditional.
68270         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68271         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68272         unconditional.
68273         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68274         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68275         unconditional.
68276         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68277         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68278         unconditional.
68279         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68280         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68281         unconditional.
68282         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68284 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68286         [BZ #12140]
68287         * manual/memory.texi (Malloc Tunable Parameters): Add note
68288         about free list pointers overwriting some perturb bytes.
68289         Wording suggested by Roland McGrath.
68291 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68293         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68294         (lgamma_test): Likewise.
68295         (tgamma_test): Likewise.
68297 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68299         [BZ #14700]
68300         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68301         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68303 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68305         * NEWS: Mention BZ #14716.
68306         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68307         when removing AVAILABLE1_USES_J macro.
68309 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68311         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68312         (__bswap_64): __uint64_t for unsigned 64-bit int.
68314 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68316         * include/string.h (memmem): Declare libc hidden alias.
68317         * string/memmem.c (memmem): Define libc hidden alias.
68318         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68319         __read, __close instead of open, read, close.
68321 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68324         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68325         global and hidden.
68326         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68327         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68328         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68329         Likewise.
68330         (__rawmemchr_sse2): Likewise.
68331         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68332         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68333         (__strchr_sse2): Likewise.
68334         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68335         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68336         (__strcasecmp_sse2): Likewise.
68337         (__strncasecmp_sse2): Likewise.
68338         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68339         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68340         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68341         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68342         (__strrchr_sse2): Likewise.
68343         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68344         ifunc-impl-list.c.
68345         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68346         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68347         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68348         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68349         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68350         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68351         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68352         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68353         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68354         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68355         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68356         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68357         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68358         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68359         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68360         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68361         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68362         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68363         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68364         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68365         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68366         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68367         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68368         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68369         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68370         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68371         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68372         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68373         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68374         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68376         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68377         global and hidden.
68378         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68379         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68380         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68381         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68382         Likewise.
68383         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68384         Likewise.
68385         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68386         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68387         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68388         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68389         ifunc-impl-list.c.
68390         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68391         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68392         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68393         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68394         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68395         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68396         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68397         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68398         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68399         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68400         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68401         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68402         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68403         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68404         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68405         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68406         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68407         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68408         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68409         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68410         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68411         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68412         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68413         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68414         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68415         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68416         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68417         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68418         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68419         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68420         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68421         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68422         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68423         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68424         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68425         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68426         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68427         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68428         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68429         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68430         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68432         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68433         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68434         * include/ifunc-impl-list.h: New file.
68435         * misc/ifunc-impl-list.c: Likewise.
68436         * misc/Makefile (routines): Add ifunc-impl-list.
68437         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68438         * string/test-string.h: Include <ifunc-impl-list.h>.
68439         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68440         TEST_NAME]: New variables.
68441         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68442         are defined.
68443         (test_init): Call __libc_ifunc_impl_list to initialize
68444         func_list if TEST_IFUNC and TEST_NAME are defined.
68446         * string/Makefile (strop-tests): Add bcopy and bzero.
68447         * string/test-bcopy.c: New file.
68448         * string/test-bzero.c: Likewise.
68449         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68450         defined.
68451         * string/test-memset.c: Support bzero test if TEST_BZERO is
68452         defined.
68453         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68454         __libc_memmove.
68455         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68456         __libc_memset.
68457         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68458         of memset.
68460 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68462         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68463         * configure: Regenerated.
68465         * Makeconfig (+link-static-before-libc): Don't include
68466         $(link-static-libc).
68468         * libio/libio.h (_IO_pos_t): Remove.
68470 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68472         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68473         McGrath.
68475 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68477         * crypt/crypt-entry.c: Include fips-private.h.
68478         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68479         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68480         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68481         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68483 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68485         * crypt/crypt-private.h: Include stdbool.h.
68486         (_ufc_setup_salt_r): Return bool.
68487         * crypt/crypt-entry.c: Include errno.h.
68488         (__crypt_r): Return NULL with EINVAL for bad salt.
68489         * crypt/crypt_util.c (bad_for_salt): New.
68490         (_ufc_setup_salt_r): Check that salt is long enough and within
68491         the specified alphabet.
68492         * crypt/badsalttest.c: New file.
68493         * crypt/Makefile (tests): Add it.
68494         ($(objpfx)badsalttest): New.
68496 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
68498         * NEWS: Add entry for BZ #14602.
68500 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68502         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
68503         type-generic.
68504         * math/libm-test.inc: Update comment listing what functions and
68505         macros are tested.
68506         (isgreater_test): New function.
68507         (isgreaterequal_test): Likewise.
68508         (isless_test): Likewise.
68509         (islessequal_test): Likewise.
68510         (islessgreater_test): Likewise.
68511         (isunordered_test): Likewise.
68512         (main): Call the new functions.
68514 2012-10-09  Roland McGrath  <roland@hack.frob.com>
68516         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
68517         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
68518         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
68519         * sysdeps/i386/configure: Regenerated.
68520         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
68521         * sysdeps/mach/configure: Regenerated.
68522         * sysdeps/mach/hurd/configure: Regenerated.
68523         * sysdeps/powerpc/configure: Regenerated.
68524         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68525         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68526         * sysdeps/s390/s390-32/configure: Regenerated.
68527         * sysdeps/s390/s390-64/configure: Regenerated.
68528         * sysdeps/sh/configure: Regenerated.
68529         * sysdeps/sparc/configure: Regenerated.
68530         * sysdeps/unix/sysv/linux/configure: Regenerated.
68531         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
68532         * sysdeps/x86_64/configure: Regenerated.
68534         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
68535         defined.  Don't check if MAP is NULL.
68537 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68539         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
68540         (_G_stat64): Likewise.
68541         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
68542         (_G_stat64): Likewise.
68543         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
68544         instead of struct _G_stat64.
68545         * libio/fileops.c (mmap_remap_check): Likewise.
68546         (decide_maybe_mmap): Likewise.
68547         (_IO_new_file_seekoff): Likewise.
68548         (_IO_file_stat): Likewise.
68549         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
68550         _G_off64_t.
68551         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
68552         instead of struct _G_stat64.
68553         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68555 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
68557         [BZ #14602]
68558         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68559         Replace with ...
68560         (CHECK_EOL): New macro.
68561         (two_way_short_needle): Check beginning of haystack for EOL.  Use
68562         CHECK_EOL.
68563         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68564         Replace with CHECK_EOL.
68565         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68566         Replace with CHECK_EOL.
68568 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
68570         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
68571         type-generic.
68572         * math/libm-test.inc: Update comment listing what functions and
68573         macros are tested.
68574         (finite_test): New function.
68575         (isinf_test): Likewise.
68576         (isnan_test): Likewise.
68577         (fpclassify_test): Test subnormal input.
68578         (isfinite_test): Likewise.
68579         (isnormal_test): Likewise.
68580         (main): Call the new functions.
68582 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
68584         [BZ #14660]
68585         * Makerules (%.dynsym): Force C locale when running
68586         $(OBJDUMP) --dynamic-syms.
68588 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
68590         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
68591         <stdint.h>.
68593 2012-10-06  David S. Miller  <davem@davemloft.net>
68595         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
68596         upper 32-bits of the length value in %o2 since we use branch-on-register
68597         tests which consider the entire 64-bit register.
68599 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
68601         * string/test-strstr.c (check2): Add a test for page boundary.
68603 2012-10-05  David S. Miller  <davem@davemloft.net>
68605         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
68606         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
68607         file.
68608         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68609         sysdep_routines.
68610         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68611         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
68612         and bzero when HWCAP_SPARC_CRYPTO is present.
68614 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
68616         [BZ #14602]
68617         * string/test-strstr.c (check2): New function.
68618         (test_main): Call check2.
68620         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
68621         and bug-strchr1.
68622         * string/bug-strcasestr1.c (do_test): Moved to ...
68623         * string/test-strcasestr.c (check1): Here.  New function.
68624         (do_one_test): Break out result checking code into ...
68625         (check_result): This.  New function.
68626         (do_one_test): Call check_result.
68627         (test_main): Call check1.
68628         * string/bug-strchr1.c (do_test): Moved to ...
68629         * string/test-strchr.c (check1): Here.  New function.
68630         (do_one_test): Break out result checking code into ...
68631         (check_result): This.  New function.
68632         (do_one_test): Call check_result.
68633         (test_main): Call check1.
68634         * string/bug-strstr1.c (main): Moved to ...
68635         * string/test-strstr.c (check1): Here.  New function.
68636         (do_one_test): Break out result checking code into ...
68637         (check_result): This.  New function.
68638         (do_one_test): Call check_result.
68639         (test_main): Call check1.
68640         * string/bug-strcasestr1.c: Removed.
68641         * string/bug-strchr1.c: Likewise.
68642         * string/bug-strstr1.c: Likewise.
68644         * elf/Makefile (dl-routines): Add hwcaps.
68645         * elf/dl-support.c (_dl_important_hwcaps): Removed.
68646         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
68647         (_dl_important_hwcaps): Moved to ...
68648         * elf/dl-hwcaps.c: Here.  New file.
68649         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
68651         [BZ #14557]
68652         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
68653         if IS_IN_rtld isn't defined.
68655         * elf/dl-support.c (_dl_sysinfo_map): New.
68656         Include "get-dynamic-info.h" and "setup-vdso.h".
68657         (_dl_non_dynamic_init): Call setup_vdso.
68658         * elf/dynamic-link.h: Don't include <assert.h>.
68659         (elf_get_dynamic_info): Moved to ...
68660         * elf/get-dynamic-info.h: Here.  New file.
68661         * elf/dynamic-link.h: Include "get-dynamic-info.h".
68662         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
68663         * elf/setup-vdso.h: Here.  New file.
68664         * elf/rtld.c: Include "setup-vdso.h".
68665         (dl_main): Call setup_vdso.
68667 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
68669         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
68670         creal in comment listing functions tested.  List finite, isinf,
68671         isnan, isless, islessequal, isgreater, isgreaterequal,
68672         islessgreater, isunordered, lgamma_r and pow10 as functions and
68673         macros not tested.  Mention which functions not tested are aliases
68674         for other functions.  Fix typo.  Note that signs of NaNs are not
68675         tested.
68677         * scripts/config.guess: Update from config.git.
68678         * scripts/config.sub: Likewise.
68680 2012-10-04  Roland McGrath  <roland@hack.frob.com>
68682         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
68683         * misc/madvise.c (madvise): Renamed to __madvise.
68684         Make madvise a weak alias.
68685         * include/sys/mman.h: Declare __madvise.
68686         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
68687         * sysdeps/unix/syscalls.list
68688         (madvise): Make __madvise the strong name, and madvise a weak alias.
68689         * sysdeps/unix/sysv/linux/syscalls.list
68690         (madvise, mmap): Remove redundant entries.
68691         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
68692         * malloc/malloc.c (mtrim): Likewise.
68693         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
68695 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68697         * sysdeps/mach/hurd/dl-cache.c: File removed.
68698         * config.h.in (USE_LDCONFIG): New #undef.
68699         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
68700         * configure: Regenerated.
68701         * elf/Makefile (dl-routines): Add dl-cache only under
68702         [$(use-ldconfig) = yes].
68703         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
68704         cache on [USE_LDCONFIG].
68705         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
68706         [USE_LDCONFIG].
68707         * elf/rtld.c (dl_main): Likewise.
68709 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
68711         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
68712         _SC_LEVEL4_CACHE_LINESIZE.
68714 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68716         * sysdeps/unix/bsd/confstr.h: File removed.
68718 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
68720         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
68721         sys/sdt-config.h.
68723 2012-10-02  Roland McGrath  <roland@hack.frob.com>
68725         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
68726         Make 'mapoff' field ElfW(Off) rather than off_t.
68728 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
68730         * nscd/Makefile: Remove nscd-cflags and all its users.
68731         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
68732         (CFLAGS-nonlib): Add compiler flags for nscd modules.
68734         [BZ #10631]
68735         * malloc.c (malloc_printerr): Clarify error message.
68737 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
68739         [BZ #14648]
68740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68741         Set bit_FMA_Usable if FMA is supported.
68742         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
68743         macro.
68744         (bit_FMA4_Usable): Updated.
68745         (index_FMA_Usable): New macro.
68746         (CPUID_FMA): Likewise.
68747         (HAS_FMA): Defined with bit_FMA_Usable.
68749 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68751         * bits/types.h (__swblk_t): Type removed.
68752         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
68753         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
68754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68755         (__SWBLK_T_TYPE): Likewise.
68756         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68757         (__SWBLK_T_TYPE): Likewise.
68758         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68759         (__SWBLK_T_TYPE): Likewise.
68760         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68761         (__SWBLK_T_TYPE): Likewise.
68763 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
68764             Honza Horak <hhorak@redhat.com>
68766         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68767         (xdr_mapname): Use YPMAXMAP as maxsize.
68768         (xdr_peername): Use YPMAXPEER as maxsize.
68769         (xdr_keydat): Use YPAXRECORD as maxsize.
68770         (xdr_valdat): Use YPMAXRECORD as maxsize.
68772 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68774         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68776         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68777         * csu/init-first.c: ... here.
68778         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68779         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68780         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68781         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68782         * sysdeps/i386/init-first.c: File removed.
68783         * sysdeps/sh/init-first.c: File removed.
68785 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68787         [BZ #14645]
68788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68789         if x * y might underflow to zero and z is zero.
68790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68792         * math/libm-test.inc (min_subnorm_value): New variable.
68793         (fma_test): Add more tests.
68794         (fma_test_towardzero): Likewise.
68795         (fma_test_downward): Likewise.
68796         (fma_test_upward): Likewise.
68797         (initialize): Set min_subnorm_value.
68799 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68801         [BZ #14638]
68802         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68803         0 + 0.
68804         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68805         mode for addition resulting in exact zero.
68806         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
68807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
68808         exact 0 + 0.
68809         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68810         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68811         * math/libm-test.inc (fma_test): Add more tests.
68812         (fma_test_towardzero): New function.
68813         (fma_test_downward): Likewise.
68814         (fma_test_upward): Likewise.
68815         (main): Call the new functions.
68817 2012-09-28  David S. Miller  <davem@davemloft.net>
68819         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
68821 2012-09-28  Roland McGrath  <roland@hack.frob.com>
68823         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
68824         instead of SIGALRM.
68826         * sysdeps/gnu/_G_config.h: Moved to ...
68827         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
68828         * sysdeps/mach/hurd/_G_config.h: Moved to ...
68829         * sysdeps/generic/_G_config.h: ... here.
68831         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
68833         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
68835         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
68836         Conditionalize target on [libnss_test1.so-version].
68838         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
68840         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
68841         (elfobjdir): Move out of conditionals.
68843         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
68844         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
68845         (__nss_lookup_function): Conditionalize label remove_from_tree on
68846         [!DO_STATIC_NSS || SHARED], matching its only use.
68848 2012-09-28  David S. Miller  <davem@davemloft.net>
68850         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
68851         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
68852         file.
68853         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68854         sysdep_routines.
68855         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68856         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
68857         when HWCAP_SPARC_CRYPTO is present.
68859 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68861         * io/tst-mknodat.c: Create a FIFO instead of a socket.
68863 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
68865         [BZ #6530]
68866         * stdio-common/vfprintf.c (process_string_arg): Revert
68867         2000-07-22 change.
68869 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
68871         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
68872         for testcase.
68873         * stdio-common/tst-sprintf.c: Include <locale.h>
68874         (main): Test sprintf's handling of incomplete multibyte
68875         characters.
68877 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
68879         * elf/dl-runtime.c (VERSYMIDX): Removed.
68880         * elf/dl-version.c (VERSYMIDX): Likewise.
68881         * elf/do-rel.h (VERSYMIDX): Likewise.
68882         (VALIDX): Likewise.
68883         * elf/dynamic-link.h (VERSYMIDX): Likewise.
68884         * elf/rtld.c (VALIDX): Likewise.
68885         (ADDRIDX): Likewise.
68886         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
68887         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
68888         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
68889         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
68890         (VALIDX): Likewise.
68891         (ADDRIDX): Likewise.
68893 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68895         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
68897 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
68899         [BZ #11438]
68900         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
68901         to global scope.
68902         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
68903         addresses are in the same scope as 192.0.2/24.
68904         * posix/gai.conf: Document new scope table defaults.
68906 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68908         [BZ #5298]
68909         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
68910         for ftell.  Compute offsets from write pointers instead.
68911         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68913 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68915         [BZ #14543]
68916         * libio/Makefile (tests): New test case tst-fseek.
68917         * libio/tst-fseek.c: New test case to verify that fseek/ftell
68918         combination works in wide mode.
68919         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
68920         state when the external buffer state changes.
68922 2012-09-27  David S. Miller  <davem@davemloft.net>
68924         [BZ #14376]
68925         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68926         pass reloc->r_addend in as the 'high' argument to
68927         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
68929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68931 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68933         * rt/tst-aio2.c: Include <pthread.h>.
68934         * rt/tst-aio3.c: Likewise.
68936 2012-09-27  Steve Ellcey  <sellcey@mips.com>
68938         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
68940 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
68942         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
68943         contents on [SHARED].
68945 2012-09-26  Marek Polacek  <polacek@redhat.com>
68947         [BZ #14530]
68948         [BZ #13741]
68949         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
68950         for C++ and GCC <4.3 as well as for non GCC compilers.
68952 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68956 2012-09-25  Roland McGrath  <roland@hack.frob.com>
68958         * Makefile.in (all, install): Declare with .PHONY.
68959         Reported by Michael Hope <michael.hope@linaro.org>.
68961 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68963         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
68964         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
68965         system header.
68966         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
68967         Likewise.
68968         (sydep_routines): Add the new and the internal functions.
68969         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
68970         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
68971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
68972         (GLIBC_2.17): Add the new function.
68973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68974         (GLIBC_2.17): Likewise.
68975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68976         (GLIBC_2.17): Likewise.
68977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
68978         (GLIBC_2.17): Likewise.
68979         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
68981 2012-09-25  Alan Modra  <amodra@gmail.com>
68983         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
68984         Add release barrier before setting once_control to say
68985         initialisation is done.  Add hints on lwarx.  Use macro in
68986         place of isync.
68987         (clear_once_control): Add release barrier.
68989 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68991         [BZ #13629]
68992         * math/s_clog.c (__clog): Handle more values close to |z| = 1
68993         specially.
68994         * math/s_clog10.c (__clog10): Likewise.
68995         * math/s_clog10f.c (__clog10f): Likewise.
68996         * math/s_clog10l.c (__clog10l): Likewise.
68997         * math/s_clogf.c (__clogf): Likewise.
68998         * math/s_clogl.c (__clogl): Likewise.
68999         * math/Makefile (libm-calls): Add x2y2m1.
69000         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69001         (__x2y2m1): Likewise.
69002         (__x2y2m1l): Likewise.
69003         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69004         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69005         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69006         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69007         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69008         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69009         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69010         * sysdeps/i386/fpu/libm-test-ulps: Update.
69011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69013         [BZ #14621]
69014         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69015         int as type of variable DEPTH.
69016         (glob): Use size_t instead of int as type of variables NEWCOUNT
69017         and OLD_PATHC.
69019 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69021         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69022         Add s_sincosf-sse2.
69023         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69024         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69025         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69026         macros for using routine as __sincosf_ia32.
69027         Use macro for function declaration and weak_alias.
69028         * sysdeps/i386/fpu/libm-test-ulps: Update.
69030         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69033         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69034         subnormal argument.
69035         * math/s_cexpf.c (__cexpf): Likewise.
69036         * math/s_csinf.c (__csinf): Likewise.
69037         * math/s_csinhf.c (__csinhf): Likewise.
69038         * math/s_ctanf.c (__ctanf): Likewise.
69039         * math/s_ctanhf.c (__ctanhf): Likewise.
69040         * math/s_ccosh.c (__ccoshf): Likewise.
69041         * math/s_cexp.c (__cexpl): Likewise.
69042         * math/s_csin.c (__csin): Likewise.
69043         * math/s_csinh.c (__csinh): Likewise.
69044         * math/s_ctan.c (__ctan): Likewise.
69045         * math/s_ctanh.c (ctanh): Likewise.
69046         * math/s_ccoshl.c (__ccoshl): Likewise.
69047         * math/s_cexpl.c (__cexpl): Likewise.
69048         * math/s_csinl.c (__csinl): Likewise.
69049         * math/s_csinhl.c (__csinhl): Likewise.
69050         * math/s_ctanl.c (__ctanl): Likewise.
69051         * math/s_ctanhl.c (__ctanhl): Likewise.
69053 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69055         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69056         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69057         (_IO_off_t): Define to __off_t, not _G_off_t.
69058         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69059         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69060         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69061         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69062         type of __dummy and __dummy2 fields.
69063         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69064         (_G_ssize_t): Likewise.
69065         (_G_off_t): Likewise.
69066         (_G_pid_t): Likewise.
69067         (_G_uid_t): Likewise.
69068         (_G_wchar_t): Likewise.
69069         (_G_wint_t): Likewise.
69070         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69071         (_G_ssize_t): Likewise.
69072         (_G_off_t): Likewise.
69073         (_G_pid_t): Likewise.
69074         (_G_uid_t): Likewise.
69075         (_G_wchar_t): Likewise.
69076         (_G_wint_t): Likewise.
69077         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69078         (_G_ssize_t): Likewise.
69079         (_G_off_t): Likewise.
69080         (_G_pid_t): Likewise.
69081         (_G_uid_t): Likewise.
69082         (_G_wchar_t): Likewise.
69083         (_G_wint_t): Likewise.
69085 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69087         * malloc/arena.c: Include malloc-sysdep.h.
69088         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69089         is sufficient to shrink the heap or an unmap is needed.
69090         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69091         new function check_may_shrink_heap.
69092         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69093         new function check_may_shrink_heap.
69095 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69097         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69098         comments.
69100 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69102         * catgets/test-gencat.sh: Add "set -e".
69103         * elf/tst-pathopt.sh: Likewise.
69104         * grp/tst_fgetgrent.sh: Likewise.
69105         * iconvdata/run-iconv-test.sh: Likewise.
69106         * intl/tst-gettext.sh: Likewise.
69107         * intl/tst-gettext2.sh: Likewise.
69108         * intl/tst-gettext4.sh: Likewise.
69109         * intl/tst-gettext6.sh: Likewise.
69110         * intl/tst-translit.sh: Likewise.
69111         * io/ftwtest-sh: Likewise.
69112         * libio/test-freopen.sh: Likewise.
69113         * malloc/tst-mtrace.sh: Likewise.
69114         * posix/globtest.sh: Likewise.
69115         * posix/tst-getconf.sh: Likewise.
69116         * posix/wordexp-tst.sh: Likewise.
69117         * stdio-common/tst-printf.sh: Likewise.
69118         * stdio-common/tst-unbputc.sh: Likewise.
69119         * stdlib/tst-fmtmsg.sh: Likewise.
69120         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69121         * catgets/Makefile: Do not specify -e option when running
69122         testsuite shell scripts.
69123         * elf/Makefile: Likewise.
69124         * grp/Makefile: Likewise.
69125         * iconvdata/Makefile: Likewise.
69126         * intl/Makefile: Likewise.
69127         * io/Makefile: Likewise.
69128         * libio/Makefile: Likewise.
69129         * malloc/Makefile: Likewise.
69130         * posix/Makefile: Likewise.
69131         * stdio-common/Makefile: Likewise.
69132         * stdlib/Makefile: Likewise.
69133         * sysdeps/x86_64/Makefile: Likewise.
69135         * io/ftwtest-sh: Add copyright header.
69136         * posix/globtest.sh: Likewise.
69137         * posix/tst-getconf.sh: Likewise.
69138         * posix/wordexp-tst.sh: Likewise.
69139         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69141 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69143         [BZ #13679]
69144         * Makeconfig (+link): Defined as $(+link-static) if
69145         $(build-shared) isn't yes.
69146         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69147         isn't yes.
69148         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69150         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69152         [BZ #14562]
69153         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69154         new chunk size with MALLOC_ALIGN_MASK.
69156 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69158         [BZ #5044]
69159         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69160         <rounding-mode.h>.
69161         (__printf_fphex): Determine rounding using get_rounding_mode and
69162         round_away.
69163         * stdio-common/tst-printf-round.c (struct hex_test): New
69164         structure.
69165         (hex_tests): New variable.
69166         (test_hex_in_one_mode): New function.
69167         (do_test): Also run tests for hex float output.
69169 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69171         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69172         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69173         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69174         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69175         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69176         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69177         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69178         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69180 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69182         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69183         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69184         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69185         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69187 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69189         [BZ #14579]
69190         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69191         mode only.
69192         * elf/tst-rtld-load-self.sh: New test.
69193         * elf/Makefile: Run it.
69195 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69197         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69198         (tst-writev-ENV): Remove.
69199         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69201 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69203         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69205 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69207         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69208         unconditional.
69209         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69210         Likewise.
69211         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69212         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69213         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69214         Likewise.
69216 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69218         [BZ #14587]
69219         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69220         * config.make.in (have-cpp-asm-debuginfo): Removed.
69221         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69222         * configure: Regenerated.
69224 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69226         [BZ #5044]
69227         * stdio-common/printf_fp.c: Include <stdbool.h> and
69228         <rounding-mode.h>.
69229         (___printf_fp): Determine rounding using get_rounding_mode and
69230         round_away.
69231         * stdio-common/tst-printf-round.c: New file.
69232         * stdio-common/Makefile (tests): Add tst-printf-round.
69233         (link-libm): New variable.
69234         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69236 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69238         [BZ #14576]
69239         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69240         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69241         Likewise.
69242         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69243         Likewise.
69245 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69247         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69248         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69249         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69250         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69252 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69254         [BZ #14518]
69255         * include/rounding-mode.h: New file.
69256         * sysdeps/generic/get-rounding-mode.h: Likewise.
69257         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69258         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69259         (MAX_VALUE): New macro.
69260         (MIN_VALUE): Likewise.
69261         (overflow_value): New function.
69262         (underflow_value): Likewise.
69263         (round_and_return): Use overflow_value and underflow_value to
69264         determine return values in overflow and underflow cases.  Use
69265         round_away to determine rounding depending on rounding mode.
69266         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69267         determine return values in overflow and underflow cases.
69268         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69269         (struct test_results): New structure.
69270         (struct test): Use struct test_results to store expected results
69271         for all rounding modes.
69272         (TEST): Include expected results for all rounding modes.
69273         (test_in_one_mode): New function.
69274         (do_test): Use test_in_one_mode to compute and check results.
69275         Check results for all rounding modes.
69276         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69277         $(link-libm).
69279 2012-12-09  Allan McRae  <allan@archlinux.org>
69281         * sysdeps/i386/fpu/libm-test-ulps: Update
69283 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69285         * sysdeps/generic/_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/gnu/_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.
69301         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69302         (_G_int32_t): Likewise.
69303         (_G_uint16_t): Likewise.
69304         (_G_uint32_t): Likewise.
69305         (_G_HAVE_BOOL): Likewise.
69306         (_G_HAVE_ATEXIT): Likewise.
69307         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69308         (_G_HAVE_IO_FILE_OPEN): Likewise.
69310 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69312         * csu/libc-tls.c: Update copyright years.
69314 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69316         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69317         [!_G_USING_THUNKS]: Remove conditional code.
69318         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69319         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69321         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69322         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69323         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69324         (_G_VTABLE_LABEL_PREFIX): Likewise.
69325         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69326         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69327         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69328         (_G_VTABLE_LABEL_PREFIX): Likewise.
69329         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69330         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69331         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69332         (_G_VTABLE_LABEL_PREFIX): Likewise.
69333         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69335 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69337         * libio/Makefile: Include ../Makeconfig before tests.
69338         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69339         only if $(build-shared) is yes.
69341         * iconv/gconv_db.c: Update copyright years.
69343 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69345         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69346         unwind info if defined PIC. Fix special cases description.
69347         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69349         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69350         DP_HI_MASK entry.
69351         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69353 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69355         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69357         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69358         is NULL.
69360         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69361         (LDLIBS-tst-chk4): This.
69362         (LDFLAGS-tst-chk5): Renamed to ...
69363         (LDLIBS-tst-chk5): This.
69364         (LDFLAGS-tst-chk6): Renamed to ...
69365         (LDLIBS-tst-chk6): This.
69366         (LDFLAGS-tst-lfschk4): Renamed to ...
69367         (LDLIBS-tst-lfschk4): This.
69368         (LDFLAGS-tst-lfschk5): Renamed to ...
69369         (LDLIBS-tst-lfschk5): This.
69370         (LDFLAGS-tst-lfschk6): Renamed to ...
69371         (LDLIBS-tst-lfschk6): This.
69373         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69374         on $(common-objpfx)soversions.mk.
69376 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69378         [BZ #10014]
69379         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69380         example host name.
69382 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69384         * malloc/arena.c (arena_get_retry): New function that gets
69385         another arena for the caller to try its request on.
69386         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69387         current arena cannot fulfill the request.
69388         (__libc_memalign): Likewise.
69389         (__libc_memalign): Likewise.
69390         (__libc_pvalloc): Likewise.
69391         (__libc_calloc): Likewise.
69393 2012-09-05  John Tobey  <john.tobey@gmail.com>
69395         [BZ #13542]
69396         * manual/arith.texi (Operations on Complex): Fix description
69397         of carg branch cut.
69399 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69401         [BZ #10014]
69402         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69403         host name.
69405         [BZ #10038]
69406         * manual/memory.texi (Memory): Make order of menu items match
69407         order of sections.
69409 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69411         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69412         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69413         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69415 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69417         * csu/libc-tls.c (static_dtv): Renamed to ...
69418         (_dl_static_dtv): This.  Make it global.
69419         (_dl_initial_dtv): Removed.
69420         (__libc_setup_tls): Updated.
69421         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69422         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69423         DL_INITIAL_DTV.
69425 2012-09-06  Petr Machata  <pmachata@redhat.com>
69427         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69428         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69429         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69430         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69432 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69434         [BZ #14545]
69435         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69436         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69437         freeing dtv[-1].
69439 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69441         [BZ #14544]
69442         * Makeconfig (link-static-before-libc): Replace $(+prector)
69443         with $(+prectorT).
69444         (link-static-after-libc): Replace $(+postctor) with
69445         $(+postctorT).
69446         (link-bounded): Replace $(+prector)/$(+postctor) with
69447         $(+prectorT)/$(+postctorT).
69448         (+prectorT): New macro.
69449         (+postctorT): Likewise.
69451 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69453         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69454         (round_str): Handle values above the maximum for IBM long double
69455         as inexact.
69456         * stdlib/tst-strtod-round.c (tests): Regenerated.
69458 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69460         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69461         assembler flag.
69462         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69463         zarch_nohighgprs around the zarch optimized routines.
69464         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69465         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69466         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69467         for zarch.
69469 2012-09-05  David S. Miller  <davem@davemloft.net>
69471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69473         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69474         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69475         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69476         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69477         entries.
69479 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69481         * malloc/arena.c: Fold copyright years.
69482         * malloc/mcheck.c, malloc/memusage.c: Likewise.
69484 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69486         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
69488 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69490         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
69492 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69494         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
69495         change internal state upon failure.
69497 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69499         * malloc/mcheck.c (mcheck_check_all): Fix typo.
69500         * malloc/memusage.c (mmap): Likewise.
69501         (mmap64, mremap): Likewise.  Adjust name in comment.
69503 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69505         * libio/fileops.c: Fix typos in comments.
69506         * libio/oldfileops.c: Likewise.
69507         * libio/wfileops.c: Likewise.
69509 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69511         [BZ #1349]
69512         * malloc/Makefile (tests): Add tst-malloc-usable test case.
69513         (tst-malloc-usable-ENV): Set environment for test case.
69514         * malloc/hooks.c (malloc_check_get_size): New function to get
69515         requested size.
69516         * malloc/malloc.c (musable): Use malloc_check_get_size.
69517         * malloc/tst-malloc-usable.c: New test case.
69519 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69521         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
69523 2012-09-05  Allan McRae  <allan@archlinux.org>
69525         [BZ #13966]
69526         * configure.in (CXX_SYSINCLUDES): Use compiler output to
69527         determine header location.
69528         * configure: Regenerated.
69530 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69532         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
69533         float format.
69534         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
69535         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
69536         format.
69537         (test): Regenerate.
69539 2012-09-04  David S. Miller  <davem@davemloft.net>
69541         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
69542         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
69543         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
69545 2012-09-04  Florian Weimer  <fweimer@redhat.com>
69547         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
69548         failures.
69550         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
69552 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
69554         [BZ #9914]
69555         * libio/iogetdelim.c: Include <limits.h>.
69556         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
69557         + len + 1 would overflow.
69559 2012-09-03  Andreas Jaeger  <aj@suse.de>
69561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69562         * sysdeps/i386/fpu/libm-test-ulps: Update.
69564 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69566         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69567         Add s_sinf-sse2, s_conf-sse2.
69569         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
69570         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
69571         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
69572         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
69574         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
69575         for using routine as __sinf_ia32.
69576         Use macro for function declaration and weak_alias.
69577         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
69578         for using routine as __cosf_ia32.
69579         Use macro for function declaration and weak_alias.
69581         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
69582         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
69584         * sysdeps/x86_64/fpu/s_sinf.S: New file.
69585         * sysdeps/x86_64/fpu/s_cosf.S: New file.
69586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69588         * math/libm-test.inc (cos_test): Add more test cases.
69589         (sin_test): Likewise.
69590         (sincos_test): Likewise.
69592 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69594         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
69595         (IFUNC_RESOLVE): Make pointers to the specialized implementations
69596         hidden.
69597         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69599 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
69601         [BZ #14538]
69602         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
69603         first element of the GOT.
69604         (elf_machine_load_address): Return the difference between
69605         the runtime address of _DYNAMIC and elf_machine_dynamic ().
69607 2012-09-01  Allan McRae  <allan@archlinux.org>
69609         [BZ #13412]
69610         * configure.in (AWK): Require gawk version 3.0 or later.
69611         * configure: Regenerated.
69613 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
69615         * sysdeps/unix/sysv/linux/kernel-features.h
69616         (__ASSUME_POSIX_CPU_TIMERS): Remove.
69617         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69618         [__NR_clock_getres]: Make code unconditional.
69619         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
69620         (clock_getcpuclockid): Remove code left unreachable by removal of
69621         conditionals.
69622         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
69623         code unconditional.
69624         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69625         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69626         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
69627         Make code unconditional.
69628         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69629         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69630         * sysdeps/unix/sysv/linux/clock_settime.c
69631         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
69632         conditional code.
69633         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
69634         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69636 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
69638         [BZ #14476]
69639         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
69640         scripts/test-installation.pl.
69642         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
69643         and $ld_so_version if it is set.
69645 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69647         [BZ #14516]
69648         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
69649         failure if reading from procfs failed.
69650         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
69652 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69654         * sysdeps/unix/sysv/linux/kernel-features.h
69655         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
69656         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69657         Remove conditional code.
69658         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69659         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
69660         Remove conditional code.
69661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69662         * sysdeps/unix/sysv/linux/i386/fxstat.c
69663         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69665         * sysdeps/unix/sysv/linux/i386/fxstatat.c
69666         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69668         * sysdeps/unix/sysv/linux/i386/lxstat.c
69669         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69671         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
69672         Remove conditional code.
69673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69674         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69675         Remove conditional code.
69676         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69677         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
69678         <kernel-features.h>.
69679         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
69680         Remove.
69681         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
69682         Remove conditional code.
69683         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69684         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
69685         Remove conditional.
69687 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
69689         [BZ #5400]
69690         * NEWS: Add fixed bug number.
69692 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69694         [BZ #14519]
69695         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
69696         underflowing exponent in case of negative sign.
69697         * stdlib/tst-strtod-round-data: Add more tests.
69698         * stdlib/tst-strtod-round.c (tests): Regenerated.
69700         [BZ #3479]
69701         * stdlib/strtod_l.c (NDIG): Remove.
69702         (HEXNDIG): Likewise.
69703         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
69704         smallest representable value.
69705         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
69706         lie within an exact representation of 1/2 ulp of the result.
69707         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
69708         unconditionally.
69709         (TENS_P9_IDX): Define unconditionally.
69710         (TENS_P9_SIZE): Likewise.
69711         (TENS_P10_IDX): Likewise.
69712         (TENS_P10_SIZE): Likewise.
69713         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
69714         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
69715         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
69716         entries for 10^2^13 and 10^2^14.
69717         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
69718         (TENS_P13_IDX): Define.
69719         (TENS_P13_SIZE): Likewise.
69720         (TENS_P14_IDX): Likewise.
69721         (TENS_P14_SIZE): Likewise.
69722         (_fpioconst_pow10): Change array size to
69723         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
69724         unconditional.
69725         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
69726         1024]: Add entries for 10^2^13 and 10^2^14.
69727         [LAST_POW10 > _LAST_POW10]: Remove #error.
69728         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
69729         (_fpioconst_pow10): Change array size to
69730         FPIOCONST_POW10_ARRAY_SIZE.
69731         * stdlib/gen-fpioconst.c: New file.
69732         * stdlib/gen-tst-strtod-round.c: Likewise.
69733         * stdlib/tst-strtod-round-data: Likewise.
69734         * stdlib/tst-strtod-round.c: Likewise.
69735         * stdlib/Makefile (tests): Add tst-strtod-round.
69737         [BZ #14459]
69738         * stdlib/strtod_l.c: Include <stdint.h>.
69739         (NDEBUG): Do not define.
69740         (round_and_return): Change EXPONENT parameter to type intmax_t.
69741         Rearrange calculations to avoid internal overflow possibilities.
69742         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
69743         Rearrange calculations to avoid internal overflow possibilities.
69744         Assert that number fits inside MPNSIZE limbs.
69745         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
69746         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
69747         calculations and add assertions to avoid internal overflow
69748         possibilities.  Add casts to avoid signed/unsigned operations.
69749         * stdlib/tst-strtod-overflow.c: New file.
69750         * stdlib/Makefile (tests): Add tst-strtod-overflow.
69752 2012-08-25  Marek Polacek  <polacek@redhat.com>
69754         * time/time.h: Fix some typos in comments.
69756 2012-08-23  Roland McGrath  <roland@hack.frob.com>
69758         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
69759         * posix/tst-rfc3484-2.c: Likewise.
69760         * posix/tst-rfc3484-3.c: Likewise.
69762 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
69764         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69765         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69767 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69769         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69770         #include of fxstatat64.c.
69772 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69774         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69775         * shadow/getspent_r.c: Likewise.
69776         * shadow/getspnam.c: Likewise.
69777         * shadow/getspnam_r.c: Likewise.
69778         * gshadow/getsgent.c: Likewise.
69779         * gshadow/getsgent_r.c: Likewise.
69780         * gshadow/getsgnam.c: Likewise.
69781         * gshadow/getsgnam_r.c: Likewise.
69782         * inet/getnetbyad.c: Likewise.
69783         * inet/getnetbyad_r.c: Likewise.
69784         * inet/getnetbynm.c: Likewise.
69785         * inet/getnetbynm_r.c: Likewise.
69786         * inet/getnetent.c: Likewise.
69787         * inet/getnetent_r.c: Likewise.
69788         * inet/getproto.c: Likewise.
69789         * inet/getproto_r.c: Likewise.
69790         * inet/getprtent.c: Likewise.
69791         * inet/getprtent_r.c: Likewise.
69792         * inet/getprtname.c: Likewise.
69793         * inet/getprtname_r.c: Likewise.
69794         * inet/getrpcbyname.c: Likewise.
69795         * inet/getrpcbyname_r.c: Likewise.
69796         * inet/getrpcbynumber.c: Likewise.
69797         * inet/getrpcbynumber_r.c: Likewise.
69798         * inet/getrpcent.c: Likewise.
69799         * inet/getrpcent_r.c: Likewise.
69800         * inet/getaliasent.c: Likewise.
69801         * inet/getaliasent_r.c: Likewise.
69802         * inet/getaliasname.c: Likewise.
69803         * inet/getaliasname_r.c: Likewise.
69804         * nscd/getgrgid_r.c: Likewise.
69805         * nscd/getgrnam_r.c: Likewise.
69806         * nscd/gethstbyad_r.c: Likewise.
69807         * nscd/gethstbynm3_r.c: Likewise.
69808         * nscd/getpwnam_r.c: Likewise.
69809         * nscd/getpwuid_r.c: Likewise.
69810         * nscd/getsrvbynm_r.c: Likewise.
69811         * nscd/getsrvbypt_r.c: Likewise.
69812         * nscd/gai.c: Likewise.
69814         * configure.in (build_nscd): New substituted variable, set
69815         by --disable-build-nscd and defaults to $use_nscd.
69816         * configure: Regenerated.
69817         * config.make.in (build-nscd): New substituted variable.
69818         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
69819         Change conditional to require [$(build-nscd) = yes] as well.
69820         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
69822         [BZ# 13696]
69823         * configure.in (use_nscd): New substituted variable, set by
69824         --disable-nscd.  If enabled, define USE_NSCD.
69825         * configure: Regenerated.
69826         * config.h.in: Add USE_NSCD.
69827         * config.make.in (use-nscd): New substituted variable.
69828         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
69829         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
69830         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
69831         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
69832         (CFLAGS-getgrnam_r.c): Likewise.
69833         (CFLAGS-initgroups.c): Likewise.
69834         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
69835         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
69836         Variables removed.
69837         * inet/getnetgrent_r.c
69838         (nscd_setnetgrent): New function, broken out of ...
69839         (setnetgrent): ... here.  Call it.
69840         (innetgr): Conditionalize nscd bits on [USE_NSCD].
69841         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
69842         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
69843         * nscd/Makefile (routines, aux): Move definitions after include of
69844         Makeconfig.  Conditionalize on [$(use-nscd) != no].
69845         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
69846         Conditionalize on [USE_NSCD].
69847         (is_nscd, nscd_init_cb): Likewise.
69848         (nss_load_library): Conditionalize init callback on [USE_NSCD].
69849         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
69850         * nss/nss_db/db-init.c: Likewise.
69851         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
69852         [USE_NSCD].
69853         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
69854         (make_request): Use it.
69855         (cache_valid_p): New function.
69856         (__check_pf): Use it.
69857         * NEWS: Add item for --disable-nscd.
69859 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
69861         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
69862         to support sed >= 4.2.1-20-ga9bf076.
69863         * configure: Regenerated.
69865 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69867         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
69868         Conditionalize whole body on [IREL].
69870 2012-08-22  Jeff Law <law@redhat.com>
69872         [BZ #14505]
69873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
69874         if the family is PF_UNSPEC.
69876 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
69878         * Makerules (lib-version): Rename from V.
69879         (install-lib-nosubdir): Change V to lib-version.
69881 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
69883         [BZ #14252]
69884         * powerpc32/power6/wcschr.c: New file.
69885         * powerpc32/power6/wcscpy.c: New file.
69886         * powerpc32/power6/wcsrchr.c: New file.
69887         * powerpc64/power6/wcschr.c: New file.
69888         * powerpc64/power6/wcscpy.c: New file.
69889         * powerpc64/power6/wcsrchr.c: New file.
69891 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69893         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
69894         (two_way_short_needle): Use it.
69895         * string/strstr.c (AVAILABLE1_USES_J): Define.
69896         * string/strcasestr.c: Likewise.
69898         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
69899         array references.
69900         * string/strcasestr.c (TOLOWER): Make side-effect safe.
69902         [BZ #11607]
69903         * NEWS: Add an entry.
69904         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
69905         define their defaults.
69906         (two_way_short_needle): Detect end-of-string on-the-fly.
69907         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
69908         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
69909         * string/bug-strcasestr1.c: New test.
69910         * string/Makefile: Run it.
69912 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69914         [BZ #11607]
69915         * string/str-two-way.h (two_way_short_needle): Optimize matching of
69916         the first character.
69918 2012-08-21  Roland McGrath  <roland@hack.frob.com>
69920         * csu/elf-init.c (__libc_csu_irel): Function removed.
69921         * csu/libc-start.c (apply_irel): New function.
69922         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
69924 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
69926         * sysdeps/unix/sysv/linux/kernel-features.h
69927         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
69928         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69929         <kernel-features.h>.
69930         [__NR_fadvise64_64]: Make code unconditional.
69931         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
69932         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69933         !__NR_fadvise64_64)]: Likewise.
69934         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69935         !__NR_fadvise64_64))]: Likewise.
69936         [__NR_fadvise64]: Make code unconditional.
69937         [!__NR_fadvise64]: Remove conditional code.
69938         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
69939         <kernel-features.h>.
69940         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69941         unconditional.
69942         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69943         conditional code.
69944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
69945         not include <kernel-features.h>.
69946         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69947         unconditional.
69948         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69949         conditional code.
69950         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
69951         include <kernel-features.h>.
69952         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69953         unconditional.
69954         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69955         conditional code.
69957 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69959         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
69960         slight instruction rearrangements per scrollpipe analysis.
69961         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69963 2012-08-20  Roland McGrath  <roland@hack.frob.com>
69965         * manual/syslog.texi (syslog; vsyslog, closelog):
69966         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
69967         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
69969         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
69970         DSOCAPS to match condition on defining it.
69972 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
69974         * sysdeps/unix/sysv/linux/kernel-features.h
69975         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
69976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
69977         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69978         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
69980         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69981         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
69983         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69984         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69986         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
69987         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
69989         * sysdeps/unix/sysv/linux/kernel-features.h
69990         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
69991         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69992         unconditional.
69993         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69994         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
69995         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69996         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69997         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
69998         Make code unconditional.
69999         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70000         (__mmap64) [!__NR_mmap2]: Likewise.
70001         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70002         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70003         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70004         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70005         [__NR_mmap2]: Make code unconditional.
70006         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70007         (__mmap64) [!__NR_mmap2]: Likewise.
70009 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70011         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70013 2012-08-18  Andreas Jaeger  <aj@suse.de>
70015         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70017 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70019         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70020         * include/unistd.h (__have_sock_cloexec): Likewise.
70021         (__have_pipe2): Likewise.
70022         (__have_dup3): Likewise.
70024 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70026         [BZ #9685]
70027         * include/unistd.h (__have_pipe2): Change define into an extern int.
70028         (__have_dup3): Likewise.
70029         * socket/have_sock_cloexec.c: Include fcntl.h.
70030         (__have_pipe2): New variable.
70031         (__have_dup3): Likewise.
70033 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70035         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70037 2012-08-17  Marek Polacek  <polacek@redhat.com>
70039         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70040         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70042 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70044         * configure.in: Add AC_SUBST for sysheaders.
70045         * configure: Regenerated.
70046         * config.make.in (sysheaders): New substituted variable.
70048         * sysdeps/unix/mkfifo.c: Moved ...
70049         * sysdeps/posix/mkfifo.c: ... here.
70050         * sysdeps/unix/mkfifoat.c: Moved ...
70051         * sysdeps/posix/mkfifoat.c: ... here.
70053         * sysdeps/unix/utime.c: Moved ...
70054         * sysdeps/posix/utime.c: ... here.
70056         * sysdeps/unix/time.c: Moved ...
70057         * sysdeps/posix/time.c: ... here.
70058         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70059         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70061         * sysdeps/unix/nice.c: Moved ...
70062         * sysdeps/posix/nice.c: ... here.
70064         * sysdeps/unix/alarm.c: Moved ...
70065         * sysdeps/posix/alarm.c: ... here.
70067         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70069 2012-08-17  Jeff Law <law@redhat.com>
70071         * intl/Makefile (codeset_mo): New variable.
70072         ($(codeset_mo)): New target.
70073         (tst-codeset.out): Depend on that.  Remove explicit rule.
70074         (tst-gettext3.out, tst-gettext5.out): Likewise.
70075         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70076         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70077         * intl/tst-codeset.sh: Remove.
70078         * intl/tst-gettext3.sh: Likewise.
70079         * intl/tst-gettext5.sh: Likewise.
70081 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70083         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70084         * sysdeps/unix/syscalls.list: ... here.
70086         * sysdeps/posix/getaddrinfo.c
70087         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70088         (gaiconf_init, gaiconf_reload): Use them.
70089         [!_STATBUF_ST_NSEC]
70090         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70091         Define using time_t rather than struct timespec.
70093         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70094         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70095         Macros removed.
70096         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70097         [!NO_THREADS].
70098         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70099         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70100         Likewise.
70102         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70103         __libc_cleanup_push argument.
70105         * bits/param.h: New file.
70106         * misc/sys/param.h: New file.
70107         * include/sys/param.h: New file.
70108         * misc/Makefile (headers): Add bits/param.h.
70109         * sysdeps/generic/sys/param.h: File removed.
70110         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70111         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70112         * sysdeps/mach/hurd/bits/param.h: New file.
70113         * sysdeps/mach/hurd/sys/param.h: File removed.
70115         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70116         last change.
70118         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70119         [_IO_MTSAFE_IO].
70120         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70121         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70122         New macros.
70124         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70125         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70126         rather than -D_IO_MTSAFE_IO conditionally.
70127         * stdio-common/Makefile (CPPFLAGS): Likewise.
70128         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70129         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70130         Use $(libio-mtsafe).
70131         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70132         of -D_IO_MTSAFE_IO.
70133         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70134         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70135         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70136         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70137         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70138         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70139         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70140         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70141         (CFLAGS-fread_u_chk.c): Likewise.
70142         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70143         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70144         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70145         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70146         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70147         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70148         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70149         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70150         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70152         * libio/Makefile: Test [$(libc-reentrant) = yes]
70153         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70155         * Makeconfig
70156         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70157         * sysdeps/pthread/configure: File removed.
70158         * sysdeps/pthread/Makeconfig: New file.
70159         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70160         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70162 2012-08-16  Gary Benson  <gbenson@redhat.com>
70164         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70165         unmapping the first object in a namespace.
70167 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70169         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70170         (__internal_setnetgrent): ... this.  Add internal_function to
70171         definition.  Add libc_hidden_def.
70172         (setnetgrent): Update caller.
70173         (internal_endnetgrent): Renamed to ...
70174         (__internal_endnetgrent): ... this.  Add internal_function to
70175         definition.  Add libc_hidden_def.
70176         (endnetgrent): Update caller.
70177         (internal_getnetgrent_r): Renamed to ...
70178         (__internal_getnetgrent_r): ... this.  Add internal_function to
70179         definition.  Add libc_hidden_def.
70180         (__getnetgrent_r): Update caller.
70181         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70183 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70185         * stdlib/longlong.h: Update from GCC.
70187 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70189         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70190         on _QL, which is set by umul_ppmm but never used.
70191         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70192         variables, which are set by GMP macros but never used.
70193         * stdio-common/_itowa.c (_itowa): Likewise.
70194         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70195         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70197 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70199         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70200         struct La_sh_regs is not constant.
70201         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70202         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70203         and struct La_sparc64_regs are not constant.
70205 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70207         * sysdeps/unix/sysv/linux/kernel-features.h
70208         (__ASSUME_POSIX_TIMERS): Remove.
70209         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70210         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70211         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70212         Make code unconditional.
70213         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70214         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70215         Make code unconditional.
70216         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70217         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70218         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70219         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70220         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70221         Make code unconditional.
70222         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70223         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70224         (__libc_missing_posix_timers): Remove.
70226 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70228         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70229         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70231         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70233         * elf/dl-sym.c: Include <stdlib.h>.
70235         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70236         constants, which avoids warnings in 32-bit builds.
70238         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70239         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70241         * misc/lseek.c: File moved to ...
70242         * io/lseek.c: ... here.
70244         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70246         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70247         shifting LEN more than 31 bits at once.
70249 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70251         [BZ #14195]
70252         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70253         segmentation fault for a case of two empty input strings.
70254         * string/test-strncasecmp.c (check1): Renamed to...
70255         (bz12205): ...this.
70256         (bz14195): Add new testcase for two empty input strings and N > 0.
70257         (test_main): Call new testcase, adapt for renamed function.
70259 2012-08-15  Andreas Jaeger  <aj@suse.de>
70261         [BZ #14090]
70262         * crypt/md5test2.c: New test, based on test supplied by Serge
70263         Belyshev <belyshev@depni.sinp.msu.ru>.
70264         * crypt/Makefile (xtests): Add md5test-giant..
70265         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70267 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70269         [BZ #14090]
70270         * crypt/md5.c (md5_process_block): Don't assume the buffer
70271         length is less than 2**32.
70272         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70273         length is less than 2**64.
70275 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70277         * string/str-two-way.h: Include <sys/param.h>.
70278         (MAX): Macro removed.
70280         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70281         Move #define and #undef of memmove to just before and after
70282         including <string.h>.
70284         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70285         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70286         and after including <string.h>.  Move declarations of
70287         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70288         to before #include "string/memmove.c".
70290         * include/dirent.h: Declare __getdirentries.
70292         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70293         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70295 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70297         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70298         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70299         * sysdeps/i386/configure: Regenerated.
70300         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70301         STABS_CURRENT_FILE, and STABS_FUN.
70302         (END): Remove call to STABS_FUN_END.
70303         (STABS_CURRENT_FILE1): Delete.
70304         (STABS_CURRENT_FILE): Likewise.
70305         (STABS_FUN): Likewise.
70306         (STABS_FUN_END): Likewise.
70307         (STABS_FUN2): Likewise.
70308         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70309         * sysdeps/x86_64/configure: Regenerated.
70311 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70313         * elf/dl-open.c: Include <atomic.h>.
70314         * elf/dl-lookup.c: Likewise.
70316 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70318         * sysdeps/unix/sysv/linux/kernel-features.h
70319         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70320         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70321         unconditionally.
70322         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70323         unconditionally.
70324         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70325         condition on __ASSUME_CLONE_THREAD_FLAGS.
70327 2012-08-14  Andreas Jaeger  <aj@suse.de>
70329         * sysdeps/i386/fpu/libm-test-ulps: Update.
70331 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70333         * include/atomic.h (atomic_exchange_and_add): Split into ...
70334         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70335         New atomic macros.
70337 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70341 2012-08-13  Jeff Law <law@redhat.com>
70343         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70344         null byte in the output string.
70346 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70348         * sysdeps/unix/sysv/linux/kernel-features.h
70349         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70350         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70351         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70352         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70353         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70354         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70355         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70357 2012-08-09  Jeff Law <law@redhat.com>
70359         [BZ #13939]
70360         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70361         When avoid_arena is set, don't retry in the that arena.  Pick the
70362         next one, whatever it might be.
70363         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70364         (arena_lock): Pass in new parameter to arena_get2.
70365         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70366         arena_get2.
70367         (__libc_malloc): Unify retrying after main arena failure with
70368         __libc_memalign version.
70369         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70371 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70373         [BZ #14166]
70374         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70375         to __redirect_strstr.
70376         (__strstr_sse42): Use typeof __redirect_strstr.
70377         (__strstr_ia32): Likewise.
70378         (__libc_strstr): New prototype.
70379         (strstr): Renamed to ...
70380         (__libc_strstr): This.
70381         (strstr): New strong alias of __libc_strstr.
70382         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70383         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70384         __redirect_time.
70385         Include <time.h>.
70386         (__libc_time): New prototype.
70387         (time_ifunc): Replace time with __libc_time.
70388         (time): New strong alias and hidden definition of __libc_time.
70389         (__GI_time): Remove strong alias.
70390         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70391         Include <stddef.h>.
70392         (memmove): Redefined to __redirect_memmove.
70393         (__memmove_sse2): Use typeof __redirect_memmove.
70394         (__memmove_ssse3): Likewise.
70395         (__memmove_ssse3_back): Likewise.
70396         (__libc_memmove): New prototype.
70397         (memmove): Renamed to ...
70398         (__libc_memmove): This.
70399         (memmove): New strong alias of __libc_memmove.
70401 2012-08-08  Mark Salter  <msalter@redhat.com>
70403         * elf/elf.h
70404         (R_MN10300_TLS_GD): Define.
70405         (R_MN10300_TLS_LD): Likewise.
70406         (R_MN10300_TLS_LDO): Likewise.
70407         (R_MN10300_TLS_GOTIE): Likewise.
70408         (R_MN10300_TLS_IE): Likewise.
70409         (R_MN10300_TLS_LE): Likewise.
70410         (R_MN10300_TLS_DTPMOD): Likewise.
70411         (R_MN10300_TLS_DTPOFF): Likewise.
70412         (R_MN10300_TLS_TPOFF): Likewise.
70413         (R_MN10300_SYM_DIFF): Likewise.
70414         (R_MN10300_ALIGN): Likewise.
70415         (R_MN10300_NUM): Update.
70417 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70420         Remove.
70422 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70424         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70426         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70427         sysdeps/unix -> sysdeps/posix move.
70428         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70430 2012-08-07      Allan McRae     <allan@archlinux.org>
70432         [BZ #14303]
70433         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70434         (SUNOS_CPP): Likewise.
70435         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70436         not found.
70437         (open_input): Call CPP using execvp.
70439 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70441         * sysdeps/unix/sysv/linux/kernel-features.h
70442         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70443         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70444         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70445         (__ASSUME_WAITID_SYSCALL): Likewise.
70446         * sysdeps/unix/sysv/linux/dl-execstack.c
70447         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70448         code unconditional.
70449         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70450         conditional code.
70451         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70452         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70453         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70454         code.
70455         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70456         unconditional.
70457         [__ASSUME_WAITID_SYSCALL]: Likewise.
70458         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70460 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70462         * sysdeps/unix/closedir.c: Renamed to ...
70463         * sysdeps/posix/closedir.c: ... here.
70464         * sysdeps/unix/dirfd.c: Renamed to ...
70465         * sysdeps/posix/dirfd.c: ... here.
70466         * sysdeps/unix/dirstream.h: Renamed to ...
70467         * sysdeps/posix/dirstream.h: ... here.
70468         * sysdeps/unix/fdopendir.c: Renamed to ...
70469         * sysdeps/posix/fdopendir.c: ... here.
70470         * sysdeps/unix/opendir.c: Renamed to ...
70471         * sysdeps/posix/opendir.c: ... here.
70472         * sysdeps/unix/readdir.c: Renamed to ...
70473         * sysdeps/posix/readdir.c: ... here.
70474         * sysdeps/unix/readdir_r.c: Renamed to ...
70475         * sysdeps/posix/readdir_r.c: ... here.
70476         * sysdeps/unix/rewinddir.c: Renamed to ...
70477         * sysdeps/posix/rewinddir.c: ... here.
70478         * sysdeps/unix/seekdir.c: Renamed to ...
70479         * sysdeps/posix/seekdir.c: ... here.
70480         * sysdeps/unix/telldir.c: Renamed to ...
70481         * sysdeps/posix/telldir.c: ... here.
70482         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70483         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
70484         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
70485         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70487         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
70488         * bits/fcntl.h: ... here.
70490         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
70491         not 0.
70492         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
70493         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
70494         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
70495         (struct flock): Move l_start, l_len to the beginning.
70496         Use __pid_t for l_pid.
70497         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
70498         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
70499         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
70500         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
70501         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
70502         [__USE_LARGEFILE64] (struct flock64): New type.
70503         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
70505         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
70506         * bits/dirent.h: ... here.
70508         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
70509         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
70511 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70514         Change from 2.6.0 to 2.6.16.
70515         * sysdeps/unix/sysv/linux/configure: Regenerated.
70516         * sysdeps/unix/sysv/linux/kernel-features.h
70517         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
70518         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
70519         version.
70520         (__ASSUME_UTIMES): Likewise.
70521         (__ASSUME_CLONE_STOPPED): Remove.
70522         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
70523         architectures, not kernel version.
70524         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
70525         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70526         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70527         (__ASSUME_WAITID_SYSCALL): Likewise.
70528         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
70529         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
70530         * README: State 2.6.16 as minimum Linux kernel version.  Do not
70531         refer to older versions.
70533 2012-08-06  Roland McGrath  <roland@hack.frob.com>
70535         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
70536         Define alphasort64 as an alias.
70537         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
70538         Define versionsort64 as an alias.
70539         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
70540         Define scandir64 as an alias.
70541         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
70542         Define scandirat64 as an alias.
70543         * dirent/alphasort64.c (alphasort64):
70544         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
70545         * dirent/versionsort64.c: Likewise.
70546         * dirent/scandir64.c: Likewise.
70547         * dirent/scandirat64.c: Likewise.
70548         * sysdeps/wordsize-64/alphasort.c: File removed.
70549         * sysdeps/wordsize-64/alphasort64.c: File removed.
70550         * sysdeps/wordsize-64/scandir.c: File removed.
70551         * sysdeps/wordsize-64/scandir64.c: File removed.
70552         * sysdeps/wordsize-64/scandirat.c: File removed.
70553         * sysdeps/wordsize-64/scandirat64.c: File removed.
70554         * sysdeps/wordsize-64/versionsort.c: File removed.
70555         * sysdeps/wordsize-64/versionsort64.c: File removed.
70556         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
70557         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
70558         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
70559         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
70560         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
70561         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
70562         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
70563         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
70565         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
70566         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70567         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
70568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70569         [defined __arch64__ || defined __sparcv9]
70570         (__INO_T_MATCHES_INO64_T): New macro.
70571         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70572         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
70573         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
70574         * sysdeps/unix/sysv/linux/bits/dirent.h
70575         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
70576         (_DIRENT_MATCHES_DIRENT64): New macro.
70578         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
70579         Define lockf64 as an alias.
70580         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
70581         Define fseeko64 as an alias.
70582         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
70583         Define ftello64 as an alias.
70584         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
70585         Define _IO_fgetpos64 and fgetpos64 as aliases.
70586         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
70587         Define _IO_fsetpos64 and fsetpos64 as aliases.
70588         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
70589         Conditionalize body on this.
70590         * libio/fseeko64.c: Likewise.
70591         * libio/ftello64.c: Likewise.
70592         * libio/iofgetpos64.c: Likewise.
70593         * libio/iofsetpos64.c: Likewise.
70594         * sysdeps/wordsize-64/lockf.c: File removed.
70595         * sysdeps/wordsize-64/lockf64.c: File removed.
70596         * sysdeps/wordsize-64/fseeko.c: File removed.
70597         * sysdeps/wordsize-64/fseeko64.c: File removed.
70598         * sysdeps/wordsize-64/ftello.c: File removed.
70599         * sysdeps/wordsize-64/ftello64.c: File removed.
70600         * sysdeps/wordsize-64/iofgetpos.c: File removed.
70601         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
70602         * sysdeps/wordsize-64/iofsetpos.c: File removed.
70603         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
70604         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
70605         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
70606         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
70607         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
70608         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
70609         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
70610         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
70611         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
70612         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
70613         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
70615         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70617         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
70618         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70619         [defined __arch64__ || defined __sparcv9]
70620         (__OFF_T_MATCHES_OFF64_T): New macro.
70621         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70622         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70623         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70624         (__OFF_T_MATCHES_OFF64_T): New macro.
70626 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70628         * stdlib/secure-getenv.c (__secure_getenv): Replace
70629         GLIBC_2_16 with GLIBC_2_17.
70631 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70633         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
70634         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70636 2012-08-03  David S. Miller  <davem@davemloft.net>
70638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70640 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70642         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
70643         Remove.
70644         (__ASSUME_CORRECT_SI_PID): Likewise.
70645         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
70646         (__ASSUME_TMPFS_NAME): Likewise.
70647         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
70648         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
70649         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
70650         (HAVE_AUX_SECURE): Make definition unconditional.
70651         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
70652         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
70654 2012-08-03  Roland McGrath  <roland@hack.frob.com>
70656         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
70657         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
70658         * sysdeps/mach/hurd/eloop-threshold.h: New file.
70659         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70660         __eloop_threshold instead of SYMLOOP_MAX.
70662         * sysdeps/generic/eloop-threshold.h: New file.
70663         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
70664         of MAXSYMLINKS.
70665         * elf/chroot_canon.c (chroot_canon): Likewise.
70667 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70669         [BZ #13717]
70670         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70671         Change to 2.6.0 everywhere.
70672         * sysdeps/unix/sysv/linux/configure: Regenerated.
70673         * sysdeps/unix/sysv/linux/kernel-features.h
70674         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
70675         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
70676         kernel versions.
70677         (__ASSUME_POSIX_TIMERS): Define unconditionally.
70678         (__ASSUME_FUTEX_REQUEUE): Remove.
70679         (__ASSUME_STATFS64): Define unconditionally.
70680         (__ASSUME_AT_SECURE): Likewise.
70681         (__ASSUME_CORRECT_SI_PID): Likewise.
70682         (__ASSUME_TGKILL): Define without depending on kernel version for
70683         i386.
70684         (__ASSUME_UTIMES): Likewise.
70685         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
70686         kernel version.
70687         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
70688         (__ASSUME_TMPFS_NAME): Likewise.
70689         * README: Update reference to Linux kernel versions.
70691 2012-08-02  Marek Polacek  <polacek@redhat.com>
70693         [BZ# 14150]
70694         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
70695         libc_cv_asm_type_prefix with %.
70696         * configure: Regenerated.
70697         * include/libc-symbols.h: Remove comment about
70698         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70699         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
70700         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
70701         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
70702         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
70703         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70704         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
70705         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
70706         * elf/tst-unique2mod1.c: Likewise.
70707         * elf/tst-unique1mod2.c: Likewise.
70708         * elf/tst-unique1mod1.c: Likewise.
70709         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
70710         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
70711         Replace ASM_TYPE_DIRECTIVE with .type.
70712         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70713         * sysdeps/i386/sysdep.h: Likewise.
70714         * sysdeps/x86_64/sysdep.h: Likewise.
70715         * sysdeps/sh/sysdep.h: Likewise.
70716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70717         Do not define ASM_TYPE_DIRECTIVE.
70718         * sysdeps/powerpc/sysdep.h: Likewise.
70719         * sysdeps/powerpc/powerpc32/sysdep.h:
70720         Replace ASM_TYPE_DIRECTIVE with .type.
70721         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70722         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70723         * sysdeps/i386/fpu/e_powf.S: Likewise.
70724         * sysdeps/i386/fpu/e_expl.S: Likewise.
70725         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70726         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70727         * sysdeps/i386/fpu/e_pow.S: Likewise.
70728         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70729         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70730         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70731         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70732         * sysdeps/i386/fpu/e_log2.S: Likewise.
70733         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70734         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70735         * sysdeps/i386/fpu/e_powl.S: Likewise.
70736         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70737         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70738         * sysdeps/i386/fpu/e_logl.S: Likewise.
70739         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70740         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70741         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70742         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70743         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70744         * sysdeps/i386/fpu/e_log.S: Likewise.
70745         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70746         * sysdeps/i386/fpu/e_logf.S: Likewise.
70747         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70748         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70749         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70750         * sysdeps/i386/fpu/e_log10.S: Likewise.
70751         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70752         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70753         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70754         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70755         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70756         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
70757         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70758         * sysdeps/i386/i686/strtok.S: Likewise.
70759         * sysdeps/i386/i386-mcount.S: Likewise.
70760         * sysdeps/i386/strtok.S: Likewise.
70761         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70762         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70763         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70764         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70765         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70766         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70767         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70768         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70769         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70770         * sysdeps/x86_64/_mcount.S: Likewise.
70771         * sysdeps/x86_64/strtok.S: Likewise.
70772         * sysdeps/sh/_mcount.S: Likewise.
70774 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70776         * libio/iofopen.c: Include <fcntl.h>.
70777         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70778         (_IO_fopen64, fopen64): Define as aliases.
70779         * libio/iofopen64.c: Include <fcntl.h>.
70780         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70781         Conditionalize body on this.
70782         * sysdeps/wordsize-64/iofopen.c: File removed.
70783         * sysdeps/wordsize-64/iofopen64.c: File removed.
70785 2012-08-01  Marek Polacek  <polacek@redhat.com>
70787         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70788         Use dlfcn directly instead of a variable.
70789         (binfmt-subdir): Do not define.
70790         (dlfcn): Likewise.
70792 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70794         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70795         Remove all definitions.
70796         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70797         <kernel-features.h>.
70798         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70799         (miss_F_GETOWN_EX): Remove all definitions.
70800         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70801         macro definition.
70802         [!__ASSUME_FCNTL64]: Remove conditional code.
70803         [__ASSUME_FCNTL64]: Make code unconditional.
70804         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70805         <kernel-features.h>.
70806         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70807         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
70808         (lockf64) [__NR_fcntl64]: Make code unconditional.
70809         (lockf64) [__ASSUME_FCNTL64]: Likewise.
70811         * sysdeps/unix/sysv/linux/kernel-features.h
70812         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
70813         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
70814         Make code unconditional.
70815         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70816         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
70818         [__NR_vfork]: Make code unconditional.
70819         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70820         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
70822         [__NR_vfork]: Make code unconditional.
70823         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70824         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70826 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70828         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
70829         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
70831         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70832         Define mkstemp64 as an alias.
70833         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70834         Define mkstemps64 as an alias.
70835         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70836         Define mkostemp64 as an alias.
70837         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70838         Define mkostemps64 as an alias.
70839         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
70840         Conditionalize body on this.
70841         * misc/mkostemp64.c: Likewise.
70842         * misc/mkostemps64.c: Likewise.
70843         * misc/mkstemps64.c: Likewise.
70844         * sysdeps/wordsize-64/mkstemp64.c: File removed.
70845         * sysdeps/wordsize-64/mkostemp64.c: File removed.
70846         * sysdeps/wordsize-64/mkostemp.c: File removed.
70847         * sysdeps/wordsize-64/mkstemp.c: File removed.
70848         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
70849         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
70850         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
70851         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
70853         [BZ #14138]
70854         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
70855         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
70856         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
70857         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
70859         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
70860         compat_symbol macros from <shlib-compat.h> rather than the underlying
70861         default_symbol_version and symbol_version macros, so that DEFAULT
70862         lines in shlib-versions are respected.
70863         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
70865 2012-08-01  Florian Weimer  <fweimer@redhat.com>
70867         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
70868         Declare with warn_unused_result.
70869         (setgid, setregid, setegid, setresgid): Likewise.
70870         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
70871         Likewise.
70872         * WUR-REPORT: Remove set*id functions.
70874 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
70876         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
70878 2012-07-31  Roland McGrath  <roland@hack.frob.com>
70880         [BZ #10191]
70881         * include/sys/socket.h (__libc_accept, __libc_accept4):
70882         Add attribute_hidden.
70883         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
70885         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
70886         use of PTR_MANGLE.
70887         * inet/getnetgrent_r.c (setup): Likewise.
70889         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
70891 2012-07-31  David S. Miller  <davem@davemloft.net>
70893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70895 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
70897         [BZ #13629]
70898         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
70899         value between 1.0 and 2.0 and smaller part has absolute value less
70900         than 1.0.
70901         * math/s_clog10.c (__clog10): Likewise.
70902         * math/s_clog10f.c (__clog10f): Likewise.
70903         * math/s_clog10l.c (__clog10l): Likewise.
70904         * math/s_clogf.c (__clogf): Likewise.
70905         * math/s_clogl.c (__clogl): Likewise.
70906         * math/libm-test.inc (clog_test): Add more tests.
70907         (clog10_test): Likewise.
70908         * sysdeps/i386/fpu/libm-test-ulps: Update.
70909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70911 2012-07-31  Florian Weimer  <fweimer@redhat.com>
70913         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
70914         Exit with zero in case no suitable GID is found, and write a
70915         message to standard error.
70917 2012-07-30  Roland McGrath  <roland@hack.frob.com>
70919         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70920         rather than to 1.
70921         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
70922         (MAXPATHLEN): Removed.
70923         (NOGROUP, NODEV): New macros.
70924         (setbit, clrbit, isset, isclr): New macros.
70925         (howmany, roundup, powerof2): New macros.
70926         (DEV_BSIZE): New macro.
70928         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
70929         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
70931         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
70932         definition on [!__NO_LONG_DOUBLE_MATH].
70934         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
70935         PTR_MANGLE and PTR_DEMANGLE.
70937         * socket/accept4.c (accept4): Rename to __libc_accept4.
70938         Define accept4 as a weak alias.
70940         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
70941         on [_DIRENT_HAVE_D_TYPE].
70942         * io/ftw.c (ftw_dir): Likewise.
70944         * io/xmknod.c (__xmknod): Don't check PATH for being null.
70946         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
70948         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
70949         Use the BSD numbers rather than the arbitrary ones we had.
70950         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
70951         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
70952         (SIGXCPU, SIGXFSZ): New macros.
70953         (_NSIG): Now 32.
70955         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
70956         initializer on [_LIBC_REENTRANT].
70958         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
70959         definitions inside [_POSIX_MAPPED_FILES].
70961         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
70963         * dirent/opendir.c: Include <fcntl.h>.
70965         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
70966         (__libc_getspecific): Likewise.
70967         (__libc_key_create): Likewise.
70969         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
70970         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
70971         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
70972         (tmpfile64): Define as alias.
70973         * sysdeps/wordsize-64/tmpfile.c: File removed.
70974         * sysdeps/wordsize-64/tmpfile64.c: File removed.
70975         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
70976         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
70978         * stdio-common/vfscanf.c: Include <stdbool.h>.
70979         * nss/makedb.c: Likewise.
70980         * stdio-common/_i18n_number.h: Likewise.
70981         * argp/argp-help.c: Likewise.
70982         * posix/wordexp.c: Likewise.
70983         * sysdeps/posix/spawni.c: Likewise.
70984         * nss/nss_files/files-initgroups.c: Likewise.
70985         * stdio-common/reg-modifier.c: Include <stdlib.h>.
70986         * nss/nss_files/files-initgroups.c: Likewise.
70987         * nss/nss_db/db-netgrp.c: Likewise.
70988         * nss/nss_db/db-initgroups.c: Likewise.
70989         * io/fchmodat.c: Include <sys/stat.h>.
70991         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
70992         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
70994         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
70995         [HAVE_MMAP].
70997         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
70998         Add multiple inclusion protection.
71000 2012-07-27  David S. Miller  <davem@davemloft.net>
71002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71004 2012-07-27  Gary Benson  <gbenson@redhat.com>
71006         [BZ #14298]
71007         * elf/rtld.c: Include <stap-probe.h>.
71008         (dl_main): Added static probes "init_start" and "init_complete".
71009         * elf/dl-load.c: Include <stap-probe.h>.
71010         (lose): Take new parameter "nsid".
71011         Added static probe "map_failed".
71012         (_dl_map_object_from_fd): Pass namespace id to lose.
71013         Added static probe "map_start".
71014         (open_verify): Pass namespace id to lose.
71015         * elf/dl-open.c: Include <stap-probe.h>.
71016         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71017         and "reloc_complete".
71018         * elf/dl-close.c: Include <stap-probe.h>.
71019         (_dl_close_worker): Added static probes "unmap_start" and
71020         "unmap_complete".
71021         * elf/rtld-debugger-interface.txt: New file documenting the above.
71023 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71025         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71026         rather than a string variable.
71027         * sunrpc/rpc_main.c (h_output): Likewise.
71028         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71030 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71032         * inet/check_native.c: New file.
71034 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71036         [BZ #13629]
71037         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71038         if larger part has absolute value 1.0.
71039         * math/s_clog10.c (__clog10): Likewise.
71040         * math/s_clog10f.c (__clog10f): Likewise.
71041         * math/s_clog10l.c (__clog10l): Likewise.
71042         * math/s_clogf.c (__clogf): Likewise.
71043         * math/s_clogl.c (__clogl): Likewise.
71044         * math/libm-test.inc (clog_test): Add more tests.
71045         (clog10_test): Likewise.
71046         * sysdeps/i386/fpu/libm-test-ulps: Update.
71047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71049         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71050         (pltexit): Likewise.
71051         (La_regs): Likewise.
71052         (La_retval): Likewise.
71053         (int_retval): Likewise.
71054         Update #error for removed macros to refer only to definitions in
71055         tst-audit.h.
71056         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71057         macro.
71058         (pltexit): Likewise.
71059         (La_regs): Likewise.
71060         (La_retval): Likewise.
71061         (int_retval): Likewise.
71062         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71063         macro.
71064         (pltexit): Likewise.
71065         (La_regs): Likewise.
71066         (La_retval): Likewise.
71067         (int_retval): Likewise.
71068         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71069         macro.
71070         (pltexit): Likewise.
71071         (La_regs): Likewise.
71072         (La_retval): Likewise.
71073         (int_retval): Likewise.
71074         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71075         macro.
71076         (pltexit): Likewise.
71077         (La_regs): Likewise.
71078         (La_retval): Likewise.
71079         (int_retval): Likewise.
71080         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71081         macro.
71082         (pltexit): Likewise.
71083         (La_regs): Likewise.
71084         (La_retval): Likewise.
71085         (int_retval): Likewise.
71086         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71087         macro.
71088         (pltexit): Likewise.
71089         (La_regs): Likewise.
71090         (La_retval): Likewise.
71091         (int_retval): Likewise.
71092         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71093         macro definitions in tst-audit.h.
71094         * sysdeps/i386/tst-audit.h: New file.
71095         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71096         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71097         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71098         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71099         * sysdeps/sh/tst-audit.h: Likewise.
71100         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71101         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71102         * sysdeps/x86_64/tst-audit.h: Likewise.
71104 2012-07-26  Andreas Jaeger  <aj@suse.de>
71106         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71107         ptrace.
71109         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71110         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71111         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71112         PTRACE_O_MASK.
71113         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71114         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71115         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71117         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71118         value.
71120         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71121         _sigsys.
71122         (si_call_addr, si_syscall, si_arch): Define new macro.
71123         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71124         _sigsys.
71125         (si_call_addr, si_syscall, si_arch): Define new marcro.
71126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71127         _sigsys.
71128         (si_call_addr, si_syscall, si_arch): Define new macro.
71129         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71130         _sigsys.
71131         (si_call_addr, si_syscall, si_arch): Define new macro.
71133 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71135         [BZ #13717]
71136         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71137         Change to 2.4.21 where previously 2.4.1.
71138         * sysdeps/unix/sysv/linux/configure: Regenerated.
71139         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71140         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71141         Linux kernel version.
71142         (__ASSUME_STD_AUXV): Remove.
71143         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71144         kernel version.
71145         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71146         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71147         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71148         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71149         (__ASSUME_NETLINK_SUPPORT): Likewise.
71150         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71151         (__no_netlink_support): Remove conditional definition.
71152         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71153         Remove.
71154         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71155         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71156         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71157         (if_nameindex_ioctl): Remove.
71158         (if_nameindex_netlink): Do not handle __no_netlink_support.
71159         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71160         code.
71161         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71162         Remove conditional code.
71163         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71164         code.
71165         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71166         unconditional.
71167         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71168         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71169         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71170         Remove.
71171         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71172         [!__ASSUME_STD_AUXV]: Remove conditional code.
71173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71174         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71175         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71177         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71178         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71179         code.
71180         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71182         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71183         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71184         conditional code.
71185         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71187         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71188         code.
71189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71190         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71191         conditional code.
71192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71193         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71194         code unconditional.
71195         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71196         conditional code.
71197         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71198         unconditional.
71199         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71200         conditional code.
71201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71202         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71203         unconditional.
71204         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71205         conditional code.
71206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71207         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71208         code unconditional.
71209         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71210         conditional code.
71211         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71212         unconditional.
71213         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71214         conditional code.
71215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71216         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71217         code unconditional.
71218         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71219         conditional code.
71220         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71221         unconditional.
71222         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71223         conditional code.
71225 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71227         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71228         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71229         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71230         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71231         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71232         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71233         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71234         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71235         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71236         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71237         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71238         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71239         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71240         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71241         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71242         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71243         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71244         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71245         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71247         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71248         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71249         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71251 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71253         * Versions.def: Add GLIBC_2.17.
71254         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71255         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71256         Introduce __libc_secure_getenv.
71257         * stdlib/Versions (2.17): Add secure_getenv
71258         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71259         * stdlib/secure-getenv.c: Rename __secure_getenv to
71260         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71261         symbol __secure_getenv for GLIBC_2.0.
71262         * stdlib/tst-secure-getenv.c: New.
71263         * stdlib/Makefile (tests): Add testcase.
71264         * manual/startup.texi (Environment Access): Document
71265         secure_getenv.
71266         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71267         __libc_secure_getenv.
71268         * inet/ruserpass.c (ruserpass): Likewise.
71269         * malloc/mtrace.c (mtrace): Likewise.
71270         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71271         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71272         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71273         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71274         HAVE_SECURE_GETENV.
71275         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71276         __secure_getenv to __libc_secure_getenv.
71277         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71279         Likewise.
71280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71281         Likewise.
71282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71284         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71290 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71292         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71293         (struct La_i86_retval): Likewise.
71294         (struct La_x86_64_regs): Likewise.
71295         (struct La_x86_64_retval): Likewise.
71296         (struct La_x32_regs): Likewise.
71297         (struct La_x32_retval): Likewise.
71298         (struct La_ppc32_regs): Likewise.
71299         (struct La_ppc32_retval): Likewise.
71300         (struct La_ppc64_regs): Likewise.
71301         (struct La_ppc64_retval): Likewise.
71302         (struct La_sh_regs): Likewise.
71303         (struct La_sh_retval): Likewise.
71304         (struct La_s390_32_regs): Likewise.
71305         (struct La_s390_32_retval): Likewise.
71306         (struct La_s390_64_regs): Likewise.
71307         (struct La_s390_64_retval): Likewise.
71308         (struct La_sparc32_regs): Likewise.
71309         (struct La_sparc32_retval): Likewise.
71310         (struct La_sparc64_regs): Likewise.
71311         (struct La_sparc64_retval): Likewise.
71312         (struct audit_ifaces): Remove architecture-specific pltenter and
71313         pltexit members.
71314         * sysdeps/i386/ldsodefs.h: New file.
71315         * sysdeps/powerpc/ldsodefs.h: Likewise.
71316         * sysdeps/s390/ldsodefs.h: Likewise.
71317         * sysdeps/sh/ldsodefs.h: Likewise.
71318         * sysdeps/sparc/ldsodefs.h: Likewise.
71319         * sysdeps/x86_64/ldsodefs.h: Likewise.
71321 2012-07-25  Marek Polacek  <polacek@redhat.com>
71323         [BZ #6808]
71324         * math/libm-test.inc (yn_test): Add another test.
71325         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71326         to ERANGE when the result is +-Inf.
71327         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71328         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71329         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71330         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71332 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71334         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71335         equal to 0.
71336         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71337         clock_t.
71338         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71340 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71342         * configure.in <sysdeps resolving>: Correct printing
71343         Implies_before.
71344         * configure: Regenerate.
71346 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71348         * math/w_ilogb.c: Include <limits.h>.
71349         * math/w_ilogbl.c: Likewise.
71351 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71353         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71354         va_copy.  Document allowing for unavailable va_copy only as
71355         pre-C99 compatibility.
71356         * manual/string.texi (Copying and Concatenation): Use va_copy
71357         instead of __va_copy in concat example.
71359 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71361         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71362         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71363         it if not null.
71365         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71366         with O_NOLINK passed to __file_name_lookup.
71368         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71369         with O_NOLINK passed to __file_name_lookup.
71371         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71372         negative N or less than NGIDS.
71374         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71375         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71376         enough.  Use memcpy instead of strncpy.
71378 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71380         * elf/Makefile (check-data): Remove.
71381         (localplt.data): New vpath directive.
71382         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71383         instead of $(check-data).
71384         * scripts/data/localplt-generic.data: Move to ...
71385         * sysdeps/generic/localplt.data: ... here.
71386         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71387         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71388         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71390         ... here.
71391         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71393         ... here.
71394         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71396         ... here.
71397         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71399         ... here.
71400         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71402         ... here.
71403         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71405         ... here.
71407 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71409         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71410         PPC32 and PPC64 files.
71411         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71412         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71414 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71416         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71417         __makecontext_ret to ...
71418         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71419         ... here and call exit if uc_link is NULL.  New file.
71420         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71421         __makecontext_ret.S.
71422         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71423         __makecontext_ret to ...
71424         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71425         ... here and call exit if uc_link is NULL.  New file.
71426         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71427         __makecontext_ret.S.
71429 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71431         * elf/elf.h (R_390_IRELATIVE): New definition.
71432         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71433         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71434         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71435         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71436         (elf_machine_lazy_rel): Likewise.
71437         * sysdeps/s390/dl-irel.h: New file.
71438         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71439         * sysdeps/s390/s390-64/memset.S: New asm code.
71440         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71441         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71442         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71443         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71444         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71445         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71446         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71447         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71448         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71449         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71450         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71451         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71452         * sysdeps/s390/s390-32/memset.S: New asm code.
71453         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71455 2012-07-17  Marek Polacek  <polacek@redhat.com>
71457         [BZ #14349]
71458         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71459         * sysdeps/s390/s390-64/configure.in: Likewise.
71460         * sysdeps/sparc/configure.in: Likewise.
71461         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71462         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71463         * sysdeps/i386/configure.in: Likewise.
71464         * sysdeps/x86_64/configure.in: Likewise.
71465         * sysdeps/sh/configure.in: Likewise.
71466         * sysdeps/s390/s390-32/configure: Regenerated.
71467         * sysdeps/s390/s390-64/configure: Likewise.
71468         * sysdeps/x86_64/configure: Likewise.
71469         * sysdeps/sh/configure: Likewise.
71470         * sysdeps/powerpc/powerpc64/configure: Likewise.
71471         * sysdeps/powerpc/powerpc32/configure: Likewise.
71472         * sysdeps/sparc/configure: Likewise.
71473         * sysdeps/i386/configure: Likewise.
71475         * elf/dl-open.c: Comment fixes.
71477 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71479         * Makefile [CXX] (check-data): Remove.
71480         [CXX] (c++-types.data): New vpath directive.
71481         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71482         vpath.  Do not allow for C++ type data being missing.
71483         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71484         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
71485         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
71486         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
71487         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
71488         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
71489         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
71490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
71491         ... here.
71492         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
71493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
71494         ... here.
71495         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
71496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
71497         ... here.
71498         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
71499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
71500         ... here.
71501         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
71502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
71503         ... here.
71504         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
71505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
71506         ... here.
71507         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
71508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
71509         ... here.
71510         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
71511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
71513         * elf/tls-macros.h (TLS_LE): Move architecture-specific
71514         definitions to architecture-specific files.
71515         (TLS_IE): Likewise.
71516         (TLS_LD): Likewise.
71517         (TLS_GD): Likewise.
71518         * sysdeps/i386/tls-macros.h: New file.
71519         * sysdeps/powerpc/tls-macros.h: Likewise.
71520         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
71521         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
71522         * sysdeps/sh/tls-macros.h: Likewise.
71523         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
71524         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
71525         * sysdeps/x86_64/tls-macros.h: Likewise.
71527 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71529         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
71530         zero value for regular exit case.
71532         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
71533         (__start_context): Preserve zero value for regular exit case.
71535 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71536             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71538         * manual/setjmp.texi (setcontext): Clarify normal process
71539         termination when uc_link is the null pointer.
71540         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
71541         exit call.
71543 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
71545         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
71546         preprocessor.  Test for each exception mask separately.
71548 2012-07-16  Andreas Jaeger  <aj@suse.de>
71550         * po/ru.po: Update from translation team.
71552 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
71554         * conform/data/string.h-data (NULL): Use macro-constant.  Require
71555         equal to 0.
71556         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71557         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71558         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
71559         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
71560         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71562 2012-07-13  Andreas Jaeger  <aj@suse.de>
71564         * po/fr.po: Update from translation team.
71566 2012-07-12  Marek Polacek  <polacek@redhat.com>
71568         [BZ #14173]
71569         * math/libm-test.inc (yn_test): Add test for BZ #14173.
71570         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
71571         loop condition.
71573 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
71575         [BZ #13717]
71576         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71577         Change to 2.4.1 where previously 2.4.0.
71578         * sysdeps/unix/sysv/linux/configure: Regenerated.
71579         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
71580         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
71581         version.
71582         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
71583         (__ASSUME_AT_CLKTCK): Remove.
71584         (__ASSUME_AT_PAGESIZE): Likewise.
71585         (__ASSUME_AT_XID): Likewise.
71586         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
71587         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
71588         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
71589         unconditionally.
71590         (HAVE_AUX_PAGESIZE): Likewise.
71591         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
71592         [__ASSUME_AT_CLKTCK]: Make code unconditional.
71593         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
71595 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
71597         [BZ #14307]
71598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
71599         the temporary buffer used to invoke __gethostbyname2_r,
71600         __gethostbyaddr_r and gethostbyname4_r to make room for struct
71601         host_data / struct gaih_addrtuple.
71602         * resolv/nss_dns/dns-host.c (global scope): Move definition of
71603         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
71604         header file nss/nsswitch.h.
71605         * nss/nsswitch.h (global scope): Add definition of implementation
71606         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
71607         resolv/nss_dns/dns-host.c).
71609 2012-07-11  Andreas Jaeger  <aj@suse.de>
71611         * po/fr.po: Update from translation team.
71613         * po/sv.po: Update from translation team
71614         * po/fr.po: Another update from translation team.
71616 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71618         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
71619         for subnormals or multiply small sinh result by itself.
71620         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71623 2012-07-11  David S. Miller  <davem@davemloft.net>
71625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71627 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
71629         [BZ #14347]
71630         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
71631         (INTERNAL_MARK): Shift it here.
71633 2012-07-10  Marek Polacek  <polacek@redhat.com>
71635         [BZ #14151]
71636         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
71637         libc_cv_asm_global_directive with .globl.
71638         * configure: Regenerated.
71639         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
71640         with .globl.
71641         * sysdeps/i386/configure: Regenerated.
71642         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
71643         with .globl.
71644         * sysdeps/x86_64/configure: Regenerated.
71645         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
71646         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
71647         * elf/tst-unique2mod2.c: Likewise.
71648         * elf/tst-unique2mod1.c: Likewise.
71649         * elf/tst-unique1mod2.c: Likewise.
71650         * elf/tst-unique1mod1.c: Likewise.
71651         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71652         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71653         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71654         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71655         * sysdeps/mach/sysdep.h: Likewise.
71656         * sysdeps/i386/sysdep.h: Likewise.
71657         * sysdeps/i386/i386-mcount.S: Likewise.
71658         * sysdeps/x86_64/_mcount.S: Likewise.
71659         * sysdeps/x86_64/sysdep.h: Likewise.
71660         * sysdeps/sh/_mcount.S: Likewise.
71661         * sysdeps/sh/sysdep.h: Likewise.
71662         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
71663         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
71664         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
71665         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71666         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
71667         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
71668         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
71669         * locale/localeinfo.h: Likewise.
71670         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
71671         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
71673 2012-07-09  Roland McGrath  <roland@hack.frob.com>
71675         [BZ #14336]
71676         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
71677         system".
71678         * manual/message.texi (The Uniforum approach): Likewise.
71679         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
71680         (glibc iconv Implementation): Likewise.
71682 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
71684         [BZ #14337]
71685         * math/s_clog.c (__clog): Avoid scaling a value down where that
71686         could result in underflow.
71687         * math/s_clog10.c (__clog10): Likewise.
71688         * math/s_clog10f.c (__clog10f): Likewise.
71689         * math/s_clog10l.c (__clog10l): Likewise.
71690         * math/s_clogf.c (__clogf): Likewise.
71691         * math/s_clogl.c (__clogl): Likewise.
71692         * math/libm-test.inc (clog_test): Add more tests.
71693         (clog10_test): Likewise.
71694         * sysdeps/i386/fpu/libm-test-ulps: Update.
71695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71697 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
71699         [BZ #14283]
71700         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
71701         by 7 not 8 to examine high bit of fractional part.
71703         [BZ #14042]
71704         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
71705         for call to __mcount_internal.
71706         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
71707         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
71708         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
71710 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
71712         [BZ #14154]
71713         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
71714         approximation for values within 0x1p-13f of an odd multiple of
71715         pi/4.
71716         * math/libm-test.inc (tan_test): Do not allow spurious underflow
71717         exception.  Add more tests.
71718         * sysdeps/i386/fpu/libm-test-ulps: Update.
71720         [BZ #6778]
71721         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
71722         inputs and return -1 for them.  Do not check for +Inf in case not
71723         reachable for +Inf.
71724         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
71725         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
71726         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71727         and return -1 for them.  Do not check for +Inf in case not
71728         reachable for +Inf.
71729         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
71730         define.
71731         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71732         and return -1 for them.  Do not check for +Inf in case not
71733         reachable for +Inf.
71734         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
71735         spurious underflow.
71736         * sysdeps/i386/fpu/libm-test-ulps: Update.
71737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71739 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
71741         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71743 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
71745         [BZ #14157]
71746         [BZ #14331]
71747         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
71748         could result in spurious underflow.  Scale down values above
71749         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
71750         * math/s_csqrtf.c (__csqrtf): Likewise.
71751         * math/s_csqrtl.c (__csqrtl): Likewise.
71752         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
71753         spurious underflow.
71754         * sysdeps/i386/fpu/libm-test-ulps: Update.
71755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71757 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
71759         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
71760         xopen-msg.sed.
71761         * catgets/xopen-msg.awk: New file.
71762         * catgets/xopen-msg.sed: Removed.
71764         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71765         po2text.sed.
71766         * intl/po2test.awk: New file.
71767         * intl/po2test.sed: Removed.
71769 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71771         [BZ #14328]
71772         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71773         or multiply small sinh result by itself.
71774         * math/s_ctanf.c (__ctanf): Likewise.
71775         * math/s_ctanh.c (__ctanh): Likewise.
71776         * math/s_ctanhf.c (__ctanhf): Likewise.
71777         * math/s_ctanhl.c (__ctanhl): Likewise.
71778         * math/s_ctanl.c (__ctanl): Likewise.
71779         * math/libm-test.inc (ctan_test_tonearest): New function.
71780         (ctan_test_towardzero): Likewise.
71781         (ctan_test_downward): Likewise.
71782         (ctan_test_upward): Likewise.
71783         (ctanh_test_tonearest): Likewise.
71784         (ctanh_test_towardzero): Likewise.
71785         (ctanh_test_downward): Likewise.
71786         (ctanh_test_upward): Likewise.
71787         (main): Call these new functions.
71788         * sysdeps/i386/fpu/libm-test-ulps: Update.
71789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71791 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71793         * .gitignore: Delete /ports entry.
71795 2012-07-03  Andreas Jaeger  <aj@suse.de>
71797         * po/bg.po: Update from translation team.
71798         * po/cs.po: Likewise.
71799         * po/de.po: Likewise.
71800         * po/hr.po: Likewise.
71801         * po/nl.pl: Likewise.
71802         * po/pl.po: Likewise.
71803         * po/vi.po: Likewise.
71805 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
71807         * Makeconfig [!+link] (+link-before-libc): New variable.
71808         [!+link] (+link-after-libc): Likewise.
71809         [!+link] (+link-tests): Likewise.
71810         [!+link] (+link): Define in terms of $(+link-before-libc) and
71811         $(+link-after-libc).
71812         [!+link-static] (+link-static-before-libc): New variable.
71813         [!+link-static] (+link-static-after-libc): Likewise.
71814         [!+link-static] (+link-static-tests): Likewise.
71815         [!+link-static] (+link-static): Define in terms of
71816         $(+link-static-before-libc) and $(+link-static-after-libc).
71817         [build-shared] (link-libc-before-gnulib): New variable.
71818         [build-shared] (link-libc-tests): Likewise.
71819         [build-shared] (link-libc): Define in terms of
71820         $(link-libc-before-gnulib).
71821         [!build-shared] (link-libc-tests): New variable.
71822         (link-libc-static-tests): New variable.
71823         [!gnulib] (gnulib-arch): New variable.
71824         [!gnulib] (gnulib-tests): Likewise.
71825         [!gnulib] (static-gnulib-arch): Likewise.
71826         [!gnulib] (static-gnulib-tests): Likewise.
71827         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
71828         Define with "=" instead of ":=".
71829         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
71830         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
71831         * Rules (binaries-all-notests): New variable.
71832         (binaries-all-tests): Likewise.
71833         (binaries-static-notests): Likewise.
71834         (binaries-static-tests): Likewise.
71835         (binaries-all): Define using $(binaries-all-notests) and
71836         $(binaries-all-tests).
71837         (binaries-static): Define using $(binaries-static-notests) and
71838         $(binaries-static-tests).
71839         (binaries-shared-tests): New variable.
71840         (binaries-shared-notests): Likewise.
71841         (binaries-shared): Remove variable.
71842         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
71843         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
71844         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
71845         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
71846         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
71847         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
71848         * elf/Makefile (sln-modules): New variable.
71849         (extra-objs): Add $(sln-modules:=.o).
71850         (ldconfig-modules): Add static-stubs.
71851         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
71852         * elf/static-stubs.c: New file.
71854         [BZ #14283]
71855         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
71856         by 7 not 8 to examine high bit of fractional part.  Use volatile
71857         variables when splitting into final array of floats if
71858         __FLT_EVAL_METHOD__ != 0.
71859         * math/libm-test.inc (cos_test): Add another test.
71860         (sin_test): Likewise.
71861         * sysdeps/i386/fpu/libm-test-ulps: Update.
71863         [BZ #14273]
71864         * math/libm-test.inc (cosh_test): Add more tests.
71866         * version.h (RELEASE): Set to "development".
71867         (VERSION): Set to "2.16.90".
71869 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
71871         * NEWS: Update copyright. Remove last-updated date.
71872         Mention math library bug fixes and timezone data changes.
71873         * README: Mention GNU/Hurd, x32, and HPPA support status.
71875 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
71877         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
71879 2012-06-27  Andreas Jaeger  <aj@suse.de>
71881         * manual/contrib.texi (Contributors): Add Samuel Thibault.
71883 2012-06-25  Andreas Jaeger  <aj@suse.de>
71885         * sysdeps/s390/fpu/libm-test-ulps: Update.
71887 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
71888             Thomas Schwinge  <thomas@codesourcery.com>
71890         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
71891         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
71892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
71893         fanotify_mark.
71895 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
71897         * sysdeps/mach/start.c: Remove file.
71898         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
71899         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
71900         * sysdeps/sh/init-first.c: Likewise.
71902         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
71903         registers for frame unwinding purposes, add CFI directives.
71904         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71905         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
71906         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
71907         Likewise.
71909         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
71910         __fortify_fail returning.
71911         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71913         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
71914         sysdeps/sh/____longjmp_chk.S.
71915         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
71916         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
71917         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
71918         (gen-as-const-headers): Append sigaltstack-offsets.sym.
71920         * sysdeps/sh/abort-instr.h: New file.
71921         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
71922         process in case exit returns.
71924         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
71925         initialize the GOT register before use.
71927         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
71928         calculation of ARGC > 4.
71930         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71931         meaningful names to some local labels.
71933 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71934             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71936         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
71937         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
71938         (__arch_compare_and_exchange_val_16_acq): Likewise.
71939         (__arch_compare_and_exchange_val_32_acq): Likewise.
71940         (atomic_exchange_and_add): Fix gUSA sequence.
71941         (atomic_add): Likewise.
71942         (atomic_add_negative): Likewise.
71943         (atomic_add_zero): Likewise.
71944         (atomic_bit_test_set): Likewise.
71946 2012-06-22  Andreas Schwab  <schwab@redhat.com>
71948         [BZ #13579]
71949         * include/link.h (struct link_map): Add l_free_initfini.
71950         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
71951         l_initfini.
71952         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71953         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
71954         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
71955         set.
71957 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
71959         * configure.in: Use AC_LANG_SOURCE.
71960         * configure: Regenerate.
71962 2012-06-22  Roland McGrath  <roland@hack.frob.com>
71964         * configure.in (libc_cv_localstatedir): New substituted variable.
71965         * configure: Regenerated.
71966         * config.make.in (localstatedir): New variable, substituted from
71967         libc_cv_localstatedir.
71968         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
71969         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
71970         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
71971         * sysdeps/gnu/configure: Regenerated.
71973 2012-06-21  Jeff Law  <law@redhat.com>
71975         [BZ #14277]
71976         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
71977         free.  Simplify list management for _LIBC case.
71979 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
71981         [BZ #14273]
71982         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
71983         Clear sign bit of 64-bit integer value before comparing against
71984         overflow value.
71986         * sysdeps/mach/configure: Regenerated.
71988 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
71990         [BZ #14278]
71991         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
71993 2012-06-21  Jeff Law  <law@redhat.com>
71995         [BZ #13882]
71996         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
71997         uint16_t for elements in the "seen" array to avoid char overflows.
71998         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71999         * elf/dl-open.c (dl_open_worker): Likewise.
72001 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72003         * scripts/list-sources.sh: Scan PORTS for translations.
72004         * po/libc.pot: Regenerated.
72006 2012-06-21  Andreas Jaeger  <aj@suse.de>
72008         [BZ #12194]
72009         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72010         warning.
72011         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72012         * bits/byteswap-16.h (__bswap_16): Likewise.
72013         * bits/byteswap.h (__bswap_constant_16): Likewise.
72015 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72017         [BZ #14117]
72018         * sysdeps/i386/fpu_control.h: Removed.
72019         * sysdeps/x86_64/fpu_control.h: Moved to ...
72020         * sysdeps/x86/fpu_control.h: Here.
72022         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72023         (_FPU_SETCW): Likewise.
72025 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72027         [BZ #14117]
72028         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72029         * sysdeps/x86/fpu/bits/mathinline.h: This.
72030         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72032         [BZ #14050]
72033         [BZ #14117]
72034         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72035         functions if __x86_64__ is defined.
72037 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72039         * string/endian.h: Add !__ASSEMBLER__ condition for including
72040         conversion interfaces.
72042 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72044         [BZ #14241]
72045         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72046         of ABS(x) in calculating zero to negative powers other than odd
72047         integers.
72048         * math/libm-test.inc (pow_test): Add more tests.
72050 2012-06-15  Andreas Jaeger  <aj@suse.de>
72052         * manual/contrib.texi (Contributors): Update entry of Liubov
72053         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72054         Machado Filho.
72056 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72058         * string/string.h: Add __wur to GNU version of strerror_r.
72060 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72062         [BZ #14229]
72063         * string/Makefile (tests): Add tst-strtok_r.
72064         * string/tst-strtok_r.c: New file.
72065         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72066         RAX_LP/RDX_LP on SAVE_PTR.
72068 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72070         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72072 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72074         * libm_test.inc (csqrt_test): Allow more spurious underflow
72075         exceptions.
72076         (j0_test): Likewise.
72077         (j1_test): Likewise.
72078         (y0_test): Likewise.
72079         (y1_test): Likewise.
72081 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72083         * po/Makefile (libc.pot): Use UTF-8 charset.
72085 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72087         [BZ #14210]
72088         Suppress sign-conversion warning from FD_SET.
72089         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72090         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72091         not unsigned long int.
72092         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72094 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72096         [BZ #14050]
72097         [BZ #14117]
72098         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72099         __extern_always_inline instead of __extern_inline.
72100         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72101         (__signbit): Likewise.
72102         (__signbitl): Support C++ namespace.
72103         (lrintf): New inline function.
72104         (lrint): Likewise.
72105         (llrintf): Likewise.
72106         (llrint): Likewise.
72107         (fmaxf): Likewise.
72108         (fmax): Likewise.
72109         (fminf): Likewise.
72110         (fmin): Likewise.
72111         (rint): Likewise.
72112         (rintf): Likewise.
72113         (ceil): Likewise.
72114         (ceilf): Likewise.
72115         (floor): Likewise.
72116         (floorf): Likewise.
72117         (nearbyint): Likewise.
72118         (nearbyintf): Likewise.
72120 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72122         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72123         non-default versions.
72125 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72127         [BZ #14218]
72128         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72130 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72132         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72133         (FE_UPWARD, FE_DOWNWARD): Don't define.
72134         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72135         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72137         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72138         reading it.
72139         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72140         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72142 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72144         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72145         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72146         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72147         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72149 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72151         [BZ #14117]
72152         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72153         * sysdeps/i386/fpu/Implies: New file.
72154         * sysdeps/x86_64/fpu/Implies: Likewise.
72155         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72156         * sysdeps/x86/fpu/bits/fenv.h: This.
72158         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72159         __SSE_MATH__.
72161 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72163         [BZ #14134]
72164         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72165         character 0xffff that matches the last element of the
72166         conversion table.
72168 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72170         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72171         fmodl commit.
72173 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72175         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72176         values higher than 25.6283.
72178 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72180         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72181         subnormal exponent extraction and add some __builtin_expect.
72182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72183         Fix for subnormal mantissa calculation.
72185 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72187         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72188         cpu2 is -1 and errno is not ENOSYS.
72190 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72192         [BZ #14117]
72193         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72194         * sysdeps/x86/bits/string.h: This.
72195         * sysdeps/x86_64/bits/string.h: Removed.
72197         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72198         if not compiling for x86-64, but compiling for >= i486.
72200         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72201         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72203         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72204         New macro from Linux kernel 3.4.0.
72205         (FP_XSTATE_MAGIC2): Likewise.
72206         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72207         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72208         (struct _fpx_sw_bytes): New struct.
72209         (struct _xsave_hdr): Likewise.
72210         (struct _ymmh_state): Likewise.
72211         (struct _xstate): Likewise.
72213         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72214         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72215         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72216         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72217         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72218         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72220         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72221         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72222         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72223         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72224         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72225         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72227 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72229         [BZ #13743]
72230         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72231         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72232         (sysdep_headers): Include sys/platform/ppc.h.
72233         * sysdeps/powerpc/test-gettimebase.c: Test for
72234         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72235         * manual/Makefile (appendices): Include platform.texi.
72236         * manual/contrib.texi (Contributors): Update @node pointers.
72237         * manual/maint.texi (Maintenance): Likewise.
72238         (Platform): New node.
72239         * manual/platform.texi: New file.  Document the new features.
72241 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72242             Jakub Jelinek  <jakub@redhat.com>
72244         [BZ #14188]
72245         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72246         where __builtin_expect is unavailable.
72248 2012-06-03  David S. Miller  <davem@davemloft.net>
72250         * stdlib/longlong.h: Updated from GCC.
72252 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72254         [BZ #14042]
72255         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72256         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72257         __mcount_internal.
72258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72259         (GLIBC_2.16): Likewise.
72261 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72263         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72265 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72268         (default-abi): New variable.
72269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72270         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72271         variable.
72272         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72273         Likewise.
72274         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72275         Likewise.
72276         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72277         Likewise.
72279         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72280         definition.  Document in comment.
72282 2012-06-01  David S. Miller  <davem@davemloft.net>
72284         * stdlib/longlong.h: Updated from GCC.
72286 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72288         [BZ #14117]
72289         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72290         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72291         sys/debugreg.h sys/io.h here.
72292         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72293         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72294         sys/io.h.
72295         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72296         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72297         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72298         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72299         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72300         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72302         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72303         Define only if __x86_64__ is defined.
72305 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72307         [BZ #14048]
72308         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72309         Use int64_t for variable i.
72310         * math/libm-test.inc (fmod_test): Add more tests.
72312         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72313         z computation is not scheduled after fetestexcept.
72314         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72315         Use math_force_eval instead of asm to ensure calculation scheduled
72316         before exception test.
72317         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72318         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72320 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72323         computation is not scheduled after fetestexcept.
72325 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72327         [BZ #14117]
72328         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72329         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72331 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72333         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72334         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72336 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72338         [BZ #14117]
72339         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72340         <bits/wordsize.h>.
72341         (__WCHAR_MIN): Support __WORDSIZE == 64.
72342         (__WCHAR_MAX): Likewise.
72344         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72345         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72347         [BZ #14183]
72348         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72349         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72351         [BZ #14117]
72352         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72353         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72355         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72356         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72358         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72359         Defined to 1 if __x86_64__ isn't defined.
72360         (_STAT_VER_LINUX_OLD): New.
72361         (st_atime): Remove duplicate.
72362         (st_mtime): Likewise.
72363         (st_ctime): Likewise.
72365 2012-05-31  David S. Miller  <davem@davemloft.net>
72367         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72368         entries.
72370 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72372         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72373         gen-libm-test.pl.
72375         [BZ #14132]
72376         * elf/dl-reloc.c: Include <_itoa.h>.
72377         (_dl_reloc_bad_type): Remove use of INTUSE.
72378         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72379         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72380         * stdio-common/psiginfo.c (psiginfo): Likewise.
72381         * stdio-common/psignal.c (psignal): Likewise.
72382         * string/strsignal.c (strsignal): Likewise.
72383         * include/signal.h (_sys_siglist): Declare hidden proto.
72384         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72385         INTVARDEF with libc_hidden_data_def.
72386         * stdio-common/itoa-udigits.c: Likewise.
72387         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72388         (_itoa_lower_digits_internal): Remove declaration.
72389         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72390         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72391         (_sys_sigabbrev_internal): Remove aliases.
72392         (_sys_siglist): Define hidden alias.
72394 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72396         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72397         bits/sysctl.h.
72399 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72401         [BZ #14117]
72402         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72403         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72405         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72406         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72407         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72408         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72409         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72410         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72412         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72413         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72414         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72416         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72417         with __addr.
72418         (insw): Likewise.
72419         (insl): Likewise.
72420         (outsb): Likewise.
72421         (outsw): Likewise.
72422         (outsl): Likewise.
72424         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72425         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72426         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72428         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72429         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72430         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72431         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72432         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72433         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72435         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72436         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72438         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72439         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72441         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72442         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72443         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72445         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72446         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72447         to ...
72448         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72450         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72451         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72452         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72454         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72455         for x86-64.
72456         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72458 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72460         * math/math.h (M_El): Use two more decimal places.
72461         (M_LOG2El): Likewise.
72462         (M_LOG10El): Likewise.
72463         (M_LN2l): Likewise.
72464         (M_LN10l): Likewise.
72465         (M_PIl): Likewise.
72466         (M_PI_2l): Likewise.
72467         (M_PI_4l): Likewise.
72468         (M_1_PIl): Likewise.
72469         (M_2_PIl): Likewise.
72470         (M_2_SQRTPIl): Likewise.
72471         (M_SQRT2l): Likewise.
72472         (M_SQRT1_2l): Likewise.
72474 2012-05-31  David S. Miller  <davem@davemloft.net>
72476         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72477         values between float registers.
72478         * sysdeps/sparc/sparc64/memset.S: Likewise.
72479         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72481 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72483         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72484         -D_FORTIFY_SOURCE=1.
72485         (CPPFLAGS-tst-longjmp_chk.c): Define.
72486         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
72487         (CPPFLAGS-tst-longjmp_chk2.c): Define.
72488         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
72489         CFLAGS-tst-wchar-h.c.
72491 2012-05-31  Marek Polacek  <polacek@redhat.com>
72493         [BZ #14132]
72494         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
72495         __endmntent_internal): Remove declaration.
72496         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
72497         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
72498         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
72500 2012-05-30  David S. Miller  <davem@davemloft.net>
72502         * sysdeps/sparc/sparc32/soft-fp/q_util.c
72503         (___Q_simulate_exceptions): Use real FP ops rather than writing
72504         into the %fsr.
72505         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
72506         Likewise.
72508 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72510         [BZ #14117]
72511         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
72512         * sysdeps/x86/bits/xtitypes.h: This.
72514         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
72515         * sysdeps/x86/bits/wordsize.h: This.
72517         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
72518         * sysdeps/x86/bits/huge_vall.h: This.
72520         * sysdeps/i386/bits/select.h: Removed.
72521         * sysdeps/x86_64/bits/select.h: Renamed to ...
72522         * sysdeps/x86/bits/select.h: This.
72524         * sysdeps/i386/bits/setjmp.h: Removed.
72525         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
72526         * sysdeps/x86/bits/setjmp.h: This.
72528         * sysdeps/i386/bits/mathdef.h: Removed.
72529         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
72530         * sysdeps/x86/bits/mathdef.h: This.
72532 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
72534         [BZ #14132]
72535         * include/sys/socket.h (__connect_internal)
72536         (__libc_sa_len_internal): Remove declaration.
72537         (__connect, __libc_sa_len): Declare hidden_proto.
72538         (SA_LEN): Remove use of INTUSE.
72539         * socket/connect.c: Add libc_hidden_def.
72540         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
72541         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
72542         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
72543         alias.
72544         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
72545         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
72546         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
72547         of adding _internal alias.
72549 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72551         [BZ #14117]
72552         * sysdeps/i386/bits/link.h: Removed.
72553         * sysdeps/i386/bits/linkmap.h: Likewise.
72554         * sysdeps/x86_64/bits/link.h: Renamed to ...
72555         * sysdeps/x86/bits/link.h: This.
72556         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
72557         * sysdeps/x86/bits/linkmap.h: This.
72559         * sysdeps/i386/bits/endian.h: Removed.
72560         * sysdeps/x86_64/bits/endian.h: Renamed to ...
72561         * sysdeps/x86/bits/endian.h: This.
72563         * sysdeps/i386/bits/byteswap.h: Removed.
72564         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72565         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
72566         * sysdeps/x86/bits/byteswap.h: This.
72567         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
72568         * sysdeps/x86/bits/byteswap-16.h: This.
72569         * sysdeps/i386/Implies: Add x86.
72570         * sysdeps/x86_64/Implies: Likewise.
72572 2012-05-30  David S. Miller  <davem@davemloft.net>
72574         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
72575         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
72576         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
72577         (FP_TRAPPING_EXCEPTIONS): Define.
72578         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
72579         (FP_TRAPPING_EXCEPTIONS): Define.
72580         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
72581         subnormals only when inexact has been signalled or underflow
72582         exceptions are enabled.
72583         (_FP_PACK_CANONICAL): Likewise.
72585 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72587         [BZ #14183]
72588         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
72589         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
72591 2012-05-30  Richard Henderson  <rth@twiddle.net>
72593         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
72594         with #ifndef NOT_IN_libc.
72596         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
72597         marked to avoid plt entry.
72599 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72601         [BZ #14112]
72602         * Makeconfig (default-abi): New macro.
72603         (abi-includes): Likewise.
72604         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
72605         $(abi-$(default-abi)-lib-soname) for soname if defined.
72606         ($(common-objpfx)gnu/lib-names.stmp): Generate from
72607         abi-variants.
72608         * Makefile (installed-stubs): Likewise.
72609         * include/stubs-biarch.h: Removed.
72610         * scripts/lib-names.awk: Only handle one library at a time.
72611         * scripts/soversions.awk: Remove WORDSIZE support.
72612         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
72613         entries.
72614         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
72615         Removed.
72616         (syscall-list-default-condition): Likewise.
72617         (syscall-list-default-condition): Likewise.
72618         (syscall-list-includes): Likewise.
72619         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
72620         syscall-list-* with abi-*.  Handle undefined abi-variants.
72621         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
72622         * sysdeps/unix/sysv/linux/i386/Implies: New file.
72623         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
72624         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
72625         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
72626         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
72627         Removed.
72628         (syscall-list-32-options): Likewise.
72629         (syscall-list-32-condition): Likewise.
72630         (syscall-list-64-options): Likewise.
72631         (syscall-list-64-condition): Likewise.
72632         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
72633         macro.
72634         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
72635         Renamed to ...
72636         (abi-*): This.
72637         (abi-64-ld-soname): New macro.
72638         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
72639         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
72640         Renamed to ...
72641         (abi-*): This.
72642         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
72643         * sysdeps/x86_64/x32/shlib-versions: Likewise.
72645 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
72647         * sysdeps/unix/sysv/linux/kernel-features.h
72648         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
72649         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
72650         include <kernel-features.h>.
72651         [!__NR_ftruncate64]: Remove conditional code.
72652         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72653         [__NR_ftruncate64]: Make code unconditional.
72654         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72655         * sysdeps/unix/sysv/linux/truncate64.c: Do not
72656         include <kernel-features.h>.
72657         [!__NR_ftruncate64]: Remove conditional code.
72658         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72659         [__NR_ftruncate64]: Make code unconditional.
72660         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
72662         include <kernel-features.h>.
72663         [!__NR_ftruncate64]: Remove conditional code.
72664         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72665         [__NR_ftruncate64]: Make code unconditional.
72666         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
72668         include <kernel-features.h>.
72669         [!__NR_ftruncate64]: Remove conditional code.
72670         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72671         [__NR_ftruncate64]: Make code unconditional.
72672         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72674         * configure.in (libc_cv_fpie): Weaken to a compile test using
72675         LIBC_TRY_CC_OPTION.
72676         * configure: Regenerated.
72678 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
72681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
72682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
72683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72684         Refreshed.
72685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
72686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
72687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
72688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
72689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
72690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72691         Refreshed.
72693 2012-05-27  David S. Miller  <davem@davemloft.net>
72695         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
72696         (___Q_zero): New.
72697         (__Q_simulate_exceptions): Return void.  Change to simulate
72698         exceptions by writing into the %fsr.
72699         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
72700         (__Qp_handle_exceptions): Likewise.
72701         (numbers): Delete.
72702         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
72703         __Qp_handle_exceptions.
72704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
72705         __Qp_handle_exceptions.
72706         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72707         as unused and give dummy FP_RND_NEAREST initializer.
72708         (FP_INHIBIT_RESULTS): Define.
72709         (___Q_simulate_exceptions): Update declaration.
72710         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
72711         formatting.
72712         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72713         as unused and give dummy FP_RND_NEAREST initializer.
72714         (__Qp_handle_exceptions): Update declaration.
72715         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
72716         formatting.
72718 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
72720         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
72721         the temporary FPU control word.
72722         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
72723         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
72724         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
72725         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72726         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
72727         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
72728         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
72729         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72730         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
72731         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
72732         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72734 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72736         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
72737         fields.
72739 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
72741         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
72742         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
72743         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
72744         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
72745         Likewise.
72746         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
72747         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
72748         Likewise.
72750 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
72752         * po/h.po: Update from translation team.
72754 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
72756         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
72758         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
72759         handling of denormals.
72760         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72761         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
72762         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72763         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72764         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72767         Likewise.
72769 2012-05-26  Marek Polacek  <polacek@redhat.com>
72771         [BZ #14152]
72772         * math/libm-test.inc (fma_test): Don't always expect underflow
72773         exception.
72775 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72777         [BZ #12416]
72778         * elf/tst-execstack.c: Include stackinfo.h.
72779         (do_test): Adjust test case to ensure that pthread_getattr_np
72780         behaviour remains the same after marking stack executable.
72782 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72784         * sysdeps/unix/sysv/linux/kernel-features.h
72785         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72786         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72787         kernel-features.h.
72788         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72789         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72790         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72791         kernel-features.h.
72792         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72793         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72795 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72797         * configure.in: Define the default includes to being none.
72798         * configure: Regenerated.
72800 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72802         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72803         * sysdeps/x86_64/setjmp.S: Likewise.
72804         * sysdeps/i386/bsd-setjmp.S: Likewise.
72805         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72806         * sysdeps/i386/setjmp.S: Likewise.
72807         * sysdeps/i386/__longjmp.S: Likewise.
72808         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72809         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
72811         * include/stap-probe.h: New file.
72812         * configure.in: Handle --enable-systemtap.
72813         * configure: Regenerated.
72814         * config.h.in (USE_STAP_PROBE): New #undef.
72815         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
72816         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
72817         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
72819 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72821         [BZ #13717]
72822         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72823         to 2.4.0 where earlier.
72824         * sysdeps/unix/sysv/linux/configure: Regenerated.
72825         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
72826         <kernel-features.h>.
72827         [__ASSUME_32BITUIDS]: Make code unconditional.
72828         [!__ASSUME_32BITUIDS]: Remove conditional code.
72829         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
72830         <kernel-features.h>.
72831         [__ASSUME_32BITUIDS]: Make code unconditional.
72832         [!__ASSUME_32BITUIDS]: Remove conditional code.
72833         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
72834         [__ASSUME_32BITUIDS]: Make code unconditional.
72835         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
72836         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.c: Do not include
72869         <kernel-features.h>.
72870         [__ASSUME_32BITUIDS]: Make code unconditional.
72871         [!__ASSUME_32BITUIDS]: Remove conditional code.
72872         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
72873         <kernel-features.h>.
72874         [__ASSUME_32BITUIDS]: Make code unconditional.
72875         [!__ASSUME_32BITUIDS]: Remove conditional code.
72876         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
72877         <kernel-features.h>.
72878         [__NR_setresgid] (__setresgid): Do not declare.
72879         [__ASSUME_32BITUIDS]: Make code unconditional.
72880         [!__ASSUME_32BITUIDS]: Remove conditional code.
72881         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
72882         <kernel-features.h>.
72883         [__NR_setresuid] (__setresuid): Do not declare.
72884         [__ASSUME_32BITUIDS]: Make code unconditional.
72885         [!__ASSUME_32BITUIDS]: Remove conditional code.
72886         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/i386/setuid.c: Do not include
72919         <kernel-features.h>.
72920         [__ASSUME_32BITUIDS]: Make code unconditional.
72921         [!__ASSUME_32BITUIDS]: Remove conditional code.
72922         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
72923         <kernel-features.h>.
72924         [__ASSUME_32BITUIDS]: Make code unconditional.
72925         [!__ASSUME_32BITUIDS]: Remove conditional code.
72926         * sysdeps/unix/sysv/linux/kernel-features.h
72927         (__ASSUME_SETRESUID_SYSCALL): Remove.
72928         (__ASSUME_SETRESGID_SYSCALL): Likewise.
72929         (__ASSUME_32BITUIDS): Likewise.
72930         (__ASSUME_LDT_WORKS): Likewise.
72931         (__ASSUME_O_DIRECTORY): Likewise.
72932         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
72933         architecture but not kernel version.
72934         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72935         (__ASSUME_MMAP2_SYSCALL): Likewise.
72936         (__ASSUME_STAT64_SYSCALL): Likewise.
72937         (__ASSUME_IPC64): Likewise.
72938         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
72939         <kernel-features.h>.
72940         [__ASSUME_32BITUIDS]: Make code unconditional.
72941         [!__ASSUME_32BITUIDS]: Remove conditional code.
72942         * sysdeps/unix/sysv/linux/opendir.c: Do not include
72943         <kernel-features.h>.
72944         [__ASSUME_O_DIRECTORY]: Make code unconditional.
72945         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
72946         132096]: Remove conditional code.
72947         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
72948         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
72949         <kernel-features.h>.
72950         [__ASSUME_32BITUIDS]: Make code unconditional.
72951         [!__ASSUME_32BITUIDS]: Remove conditional code.
72952         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
72953         <kernel-features.h>.
72954         [__ASSUME_32BITUIDS]: Make code unconditional.
72955         [!__ASSUME_32BITUIDS]: Remove conditional code.
72956         * sysdeps/unix/sysv/linux/setegid.c: Do not include
72957         <kernel-features.h>.
72958         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
72959         unconditional.
72960         (__setresgid): Do not declare.
72961         [__ASSUME_32BITUIDS]: Make code unconditional.
72962         [!__ASSUME_32BITUIDS]: Remove conditional code.
72963         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
72964         <kernel-features.h>.
72965         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
72966         unconditional.
72967         (__setresuid): Do not declare.
72968         [__ASSUME_32BITUIDS]: Make code unconditional.
72969         [!__ASSUME_32BITUIDS]: Remove conditional code.
72970         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
72971         <kernel-features.h>.
72972         [__ASSUME_32BITUIDS]: Make code unconditional.
72973         [!__ASSUME_32BITUIDS]: Remove conditional code.
72974         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
72975         <kernel-features.h>.
72976         [__ASSUME_32BITUIDS]: Make code unconditional.
72977         [!__ASSUME_32BITUIDS]: Remove conditional code.
72979 2012-05-25  Richard Henderson  <rth@twiddle.net>
72981         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
72982         dl_hwcap to ifunc resolver.
72983         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
72984         elf_ifunc_invoke.
72985         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
72986         dl_hwcap to ifunc resolver.
72987         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
72989 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72991         [BZ #14153]
72992         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
72993         for |x| <= 2**-26, not 2**-57.
72994         * math/libm-test.inc (acos_test): Do not allow spurious underflow
72995         exception.
72997 2012-05-24  Jeff Law  <law@redhat.com>
72999         * stdio-common/Makefile (tests): Add bug25.
73000         * stdio-common/bug25.c: New test.
73002 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73004         [BZ #13576]
73005         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73006         multiple of MALLOC_ALIGNMENT in size.
73007         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73009 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73011         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73012         Require >= 256.
73013         (FILENAME_MAX): Use macro-int-constant.
73014         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73015         (_IOFBF): Use macro-int-constant.
73016         (_IOLBF): Likewise.
73017         (_IONBF): Likewise.
73018         (SEEK_CUR): Likewise.
73019         (SEEK_END): Likewise.
73020         (SEEK_SET): Likewise.
73021         (TMP_MAX): Likewise.
73022         (EOF): Use macro-int-constant.  Require < 0.
73023         (NULL): Use macro-constant.  Require == 0.
73024         (stdin): Require type to be FILE *.
73025         (stdout): Likewise.
73026         (stderr): Likewise.
73027         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73028         macro-int-constant.
73029         (EXIT_SUCCESS): Likewise.
73030         (NULL): Use macro-constant.  Require == 0.
73031         (RAND_MAX): Use macro-int-constant.
73032         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73033         [C99-based standards] (strtof): Require function.
73034         [C99-based standards] (strtold): Likewise.
73035         [C99-based standards] (strtoll): Likewise.
73036         [C99-based standards] (strtoull): Likewise.
73037         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73038         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73039         [ISO || ISO99 || ISO11] (math.h): Likewise.
73040         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73041         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73042         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73044 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73046         [BZ #14132]
73047         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73048         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73049         * intl/dgettext.c (DCGETTEXT): Likewise.
73050         * intl/gettext.c (DCGETTEXT): Likewise.
73051         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73052         * posix/regex_internal.h (gettext): Likewise.
73053         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73054         Remove declaration.
73055         * include/argz.h (__argz_count_internal)
73056         (__argz_stringify_internal): Remove declaration.
73057         (__argz_count, __argz_stringify): Declare hidden proto.
73058         * intl/dcgettext.c: Remove use of INTDEF.
73059         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73060         * string/argz-stringify.c: Likewise.
73061         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73062         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73063         Declare hidden proto.
73064         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73065         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73066         Declare hidden proto.
73067         * include/stdio.h (__asprintf_internal): Don't declare.
73068         (__asprintf): Don't define as macro.  Declare hidden proto.
73069         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73070         (__fsetlocking): Declare hidden proto.
73071         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73072         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73073         hidden proto.
73074         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73075         (_IO_setlinebuf): Remove use of INTUSE.
73076         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73077         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73078         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73079         Remove declaration.
73080         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73081         (_IO_do_flush): Remove use of INTUSE.
73082         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73083         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73084         (_IO_adjust_column, _IO_least_wmarker)
73085         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73086         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73087         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73088         (_IO_default_doallocate, _IO_wdefault_doallocate)
73089         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73090         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73091         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73092         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73093         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73094         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73095         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73096         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73097         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73098         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73099         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73100         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73101         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73102         proto.
73103         (_IO_flush_all_internal, _IO_adjust_column_internal)
73104         (_IO_default_uflow_internal, _IO_default_finish_internal)
73105         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73106         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73107         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73108         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73109         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73110         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73111         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73112         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73113         (_IO_file_close_internal, _IO_file_close_it_internal)
73114         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73115         (_IO_file_init_internal, _IO_file_attach_internal)
73116         (_IO_file_fopen_internal, _IO_file_read_internal)
73117         (_IO_file_sync_internal, _IO_file_seek_internal)
73118         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73119         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73120         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73121         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73122         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73123         (_IO_list_all_internal, _IO_link_in_internal)
73124         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73125         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73126         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73127         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73128         (_IO_do_write_internal, _IO_padn_internal)
73129         (_IO_getline_info_internal, _IO_getline_internal)
73130         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73131         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73132         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73133         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73134         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73135         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73136         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73137         with libc_hidden_ver, remove use of INTUSE.
73138         * libio/genops.c: Likewise.
73139         * libio/freopen.c: Likewise.
73140         * libio/freopen64.c: Likewise.
73141         * libio/iofclose.c: Likewise.
73142         * libio/iofdopen.c: Likewise.
73143         * libio/iofflush.c: Likewise.
73144         * libio/iofflush_u.c: Likewise.
73145         * libio/iofgets.c: Likewise.
73146         * libio/iofgets_u.c: Likewise.
73147         * libio/iofopen.c: Likewise.
73148         * libio/iofopncook.c: Likewise.
73149         * libio/iofread.c: Likewise.
73150         * libio/iofread_u.c: Likewise.
73151         * libio/ioftell.c: Likewise.
73152         * libio/iofwrite.c: Likewise.
73153         * libio/iogetline.c: Likewise.
73154         * libio/iogets.c: Likewise.
73155         * libio/iogetwline.c: Likewise.
73156         * libio/iopadn.c: Likewise.
73157         * libio/iopopen.c: Likewise.
73158         * libio/ioseekoff.c: Likewise.
73159         * libio/ioseekpos.c: Likewise.
73160         * libio/iosetbuffer.c: Likewise.
73161         * libio/iosetvbuf.c: Likewise.
73162         * libio/ioungetc.c: Likewise.
73163         * libio/ioungetwc.c: Likewise.
73164         * libio/iovdprintf.c: Likewise.
73165         * libio/iovsprintf.c: Likewise.
73166         * libio/iovsscanf.c: Likewise.
73167         * libio/memstream.c: Likewise.
73168         * libio/obprintf.c: Likewise.
73169         * libio/oldfileops.c: Likewise.
73170         * libio/oldiofclose.c: Likewise.
73171         * libio/oldiofdopen.c: Likewise.
73172         * libio/oldiofopen.c: Likewise.
73173         * libio/oldiopopen.c: Likewise.
73174         * libio/oldstdfiles.c: Likewise.
73175         * libio/putc.c: Likewise.
73176         * libio/setbuf.c: Likewise.
73177         * libio/setlinebuf.c: Likewise.
73178         * libio/stdfiles.c: Likewise.
73179         * libio/strops.c: Likewise.
73180         * libio/vasprintf.c: Likewise.
73181         * libio/vscanf.c: Likewise.
73182         * libio/vsnprintf.c: Likewise.
73183         * libio/vswprintf.c: Likewise.
73184         * libio/wfiledoalloc.c: Likewise.
73185         * libio/wfileops.c: Likewise.
73186         * libio/wgenops.c: Likewise.
73187         * libio/wmemstream.c: Likewise.
73188         * libio/wstrops.c: Likewise.
73189         * libio/__fpurge.c: Likewise.
73190         * libio/__fsetlocking.c: Likewise.
73191         * assert/assert.c: Likewise.
73192         * debug/fgets_chk.c: Likewise.
73193         * debug/fgets_u_chk.c: Likewise.
73194         * debug/fread_chk.c: Likewise.
73195         * debug/fread_u_chk.c: Likewise.
73196         * debug/gets_chk.c: Likewise.
73197         * debug/obprintf_chk.c: Likewise.
73198         * debug/vasprintf_chk.c: Likewise.
73199         * debug/vdprintf_chk.c: Likewise.
73200         * debug/vsnprintf_chk.c: Likewise.
73201         * debug/vsprintf_chk.c: Likewise.
73202         * malloc/mtrace.c: Likewise.
73203         * misc/error.c: Likewise.
73204         * misc/syslog.c: Likewise.
73205         * stdio-common/asprintf.c: Likewise.
73206         * stdio-common/fxprintf.c: Likewise.
73207         * stdio-common/getw.c: Likewise.
73208         * stdio-common/isoc99_fscanf.c: Likewise.
73209         * stdio-common/isoc99_scanf.c: Likewise.
73210         * stdio-common/isoc99_vfscanf.c: Likewise.
73211         * stdio-common/isoc99_vscanf.c: Likewise.
73212         * stdio-common/isoc99_vsscanf.c: Likewise.
73213         * stdio-common/printf-prs.c: Likewise.
73214         * stdio-common/printf_fp.c: Likewise.
73215         * stdio-common/printf_fphex.c: Likewise.
73216         * stdio-common/printf_size.c: Likewise.
73217         * stdio-common/putw.c: Likewise.
73218         * stdio-common/scanf.c: Likewise.
73219         * stdio-common/sprintf.c: Likewise.
73220         * stdio-common/tmpfile.c: Likewise.
73221         * stdio-common/vfprintf.c: Likewise.
73222         * stdio-common/vfscanf.c: Likewise.
73223         * stdlib/strfmon_l.c: Likewise.
73224         * sunrpc/openchild.c: Likewise.
73225         * sunrpc/xdr_stdio.c: Likewise.
73226         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73227         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73229 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73231         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73233         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73234         in the third column, to generate for the shared library an IFUNC
73235         that uses _dl_vdso_vsym.
73236         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73237         * Makeconfig (object-suffixes-noshared): New variable.
73239         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73240         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73241         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73242         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73244         [BZ #14132]
73245         * include/sys/time.h (__gettimeofday): Remove macro.
73246         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73247         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73248         Remove INTDEF.
73249         (__gettimeofday): Add libc_hidden_def.
73250         (gettimeofday): Add libc_hidden_weak.
73251         * sysdeps/mach/gettimeofday.c: Likewise.
73252         * sysdeps/posix/gettimeofday.c: Likewise.
73253         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73254         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73255         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73256         (__gettimeofday_internal): Remove strong_alias.
73257         (__gettimeofday): Add libc_hidden_def.
73258         (gettimeofday): Add libc_hidden_weak.
73259         * sysdeps/unix/syscalls.list (gettimeofday):
73260         Remove __gettimeofday_internal alias.
73262 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73263             H.J. Lu  <hongjiu.lu@intel.com>
73265         [BZ #12495]
73266         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73267         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73268         (largebin_index_32_big): New.
73269         (largebin_index): Use it for 16-byte alignment.
73270         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73271         correction with front_misalign.
73273 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73277         Likewise.
73278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73279         Likewise.
73280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73281         Likewise.
73282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73283         Likewise.
73284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73285         Likewise.
73286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73287         Likewise.
73288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73289         Likewise.
73290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73291         Likewise.
73292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73293         Likewise.
73294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73295         Likewise.
73296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73297         Likewise.
73298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73299         Likewise.
73301         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73302         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73304 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73306         [BZ #10846]
73307         [BZ #14036]
73308         * math/libm-test.inc (exp_test): Add test from bug 14036.
73309         (pow_test): Add test from bug 10846.
73311         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73312         and other flags.
73313         (special_function): Do not include flags in test name.
73314         (parse_args): Likewise.
73315         * sysdeps/i386/fpu/libm-test-ulps: Update.
73316         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73317         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73318         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73321         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73322         exceptions.
73323         * math/libm-test.inc ("Philosophy"): Update comment about
73324         exception testing.
73325         (UNDERFLOW_EXCEPTION): New macro.
73326         (UNDERFLOW_EXCEPTION_OK): Likewise.
73327         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73328         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73329         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73330         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73331         (INVALID_EXCEPTION_OK): Update value.
73332         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73333         (OVERFLOW_EXCEPTION_OK): Likewise.
73334         (IGNORE_ZERO_INF_SIGN): Likewise.
73335         (test_exceptions): Handle underflow exceptions.
73336         (acos_test): Update for underflow exception expectations.
73337         (cexp_test): Likewise.
73338         (clog_test): Likewise.
73339         (clog10_test): Likewise.
73340         (csqrt_test): Likewise.
73341         (ctan_test): Likewise.
73342         (ctanh_test): Likewise.
73343         (exp_test): Likewise.
73344         (exp10_test): Likewise.
73345         (exp2_test): Likewise.
73346         (expm1_test): Likewise.
73347         (fma_test): Likewise.
73348         (j0_test): Likewise.
73349         (jn_test): Likewise.
73350         (nexttoward_test): Likewise.
73351         (pow_test): Likewise.
73352         (scalbn_test): Likewise.
73353         (scalbln_test): Likewise.
73354         (tan_test): Likewise.
73355         (y1_test): Likewise.
73356         * sysdeps/i386/fpu/libm-test-ulps: Update.
73357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73359 2012-05-23  David S. Miller  <davem@davemloft.net>
73361         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73362         (__libc_sigaction): Remove unused local variables.
73364 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73366         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73368 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73370         mktime: avoid signed integer overflow
73371         * time/mktime.c (__mktime_internal): Do not mishandle the case
73372         where diff == INT_MIN.
73374         mktime: simplify computation of average
73375         * time/mktime.c (ranged_convert): Use new time_t_avg function
73376         instead of rolling our own (probably-slower) code.
73378         mktime: do not assume signed right shift propagates sign bit
73379         * time/mktime.c (isdst_differ): New static function.
73380         (__mktime_internal): No need to normalize tm_isdst now.
73381         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73382         tm_isdst values.
73384         mktime: merge another wrapv change from gnulib
73385         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73386         from some compilers.
73388         mktime: remove incorrect attempt at unusual arithmetics
73389         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73390         The code didn't really work on such machines anyway.
73391         (TYPE_MINIMUM): Assume two's complement.
73392         (twos_complement_arithmetic): Verify that long_int and time_t
73393         are two's complement (or unsigned, in the latter case).
73395         mktime: check signed shifts on long_int and time_t, too
73396         * time/mktime.c (SHR): Check that shifts work as desired
73397         on the types long_int and time_t too, as SHR is used on
73398         such types.
73400         mktime: do not assume 'long' is wide enough
73401         * time/mktime.c (verify): Move decl up.
73402         (long_int): New type.
73403         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73404         to remove assumption in the code that 'long' is wide enough to
73405         store year values.  This assumption is not true on x32 and on
73406         some non-glibc platforms.
73408         mktime: merge wrapv change from gnulib
73409         * time/mktime.c (WRAPV): New macro.
73410         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73411         (guess_time_tm, __mktime_internal): Do not assume that signed
73412         integer overflow wraps around; modern compilers generate code
73413         where this assumption is no longer valid.
73415 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73417         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73418         Replace "jmp L(pseudo_end)" with "ret".
73419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73420         Likewise.
73422 2012-05-23  Andreas Jaeger  <aj@suse.de>
73424         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73425         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73427 2012-05-23  Andreas Jaeger  <aj@suse.de>
73428             Maximilian Attems  <max@stro.at>
73430         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73431         New macros.
73433 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73435         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73436         code so that pseudo_end is just ret and the stack pointer is
73437         correct also for static library in error case.
73439 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73441         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73442         move to syscalls.list.
73443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73448         * manual/install.texi (Running make install): Do not mention Linux
73449         kernel version for which pt_chown is not needed.
73450         (Linux): Do not mention problems with nscd with 2.0 kernels.
73451         * INSTALL: Regenerated.
73453 2012-05-23  Andreas Jaeger  <aj@suse.de>
73455         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73456         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73457         macro.
73458         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73459         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73460         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73461         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73462         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73463         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73464         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73465         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73466         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73467         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73468         * sysdeps/unix/sysv/linux/bits/in.h
73469         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73471 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73473         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73474         (PREPARE_VERSION): Just use assert instead, it will be elided
73475         under [NDEBUG] anyway.
73477 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73479         * sysdeps/unix/sysv/linux/Makefile: Include
73480         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73481         (sysdep_routines): Remove sysctl.
73482         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73483         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
73484         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
73485         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
73486         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73488 2012-05-22  Andreas Jaeger  <aj@suse.de>
73490         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
73491         that pseudo_end is just ret and the stack pointer is correct also
73492         for static library in error case.
73494 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
73496         [BZ #14122]
73497         * nss/nsswitch.c (defconfig_entries): New variable.
73498         (__nss_database_lookup): Don't leak defconfig entries.
73499         (nss_parse_service_list): Don't leak on error paths.
73500         (free_database_entries): New function.
73501         (free_defconfig): New function.
73502         (free_mem): Move common code to free_database_entries.
73504 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73506         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
73507         Add arch_prctl.
73508         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
73510         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
73511         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
73512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
73513         New macro.
73514         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
73515         (INTERNAL_SYSCALL_TYPES): Likewise.
73516         (LOAD_ARGS_TYPES_[1-6]): Likewise.
73517         (LOAD_REGS_TYPES_[1-6]): Likewise.
73518         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
73519         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
73521 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73523         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
73524         copysignl for GLIBC_2_0.
73525         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
73526         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
73527         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
73528         logbl for GLIBC_2_0.
73529         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
73530         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
73532 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73534         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
73535         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73537         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73538         Use "neg %eax".
73540         * time/mktime.c: Update copyright years.
73542 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
73544         mktime: merge comment-quoting-style change from gnulib
73545         * time/mktime.c: Quote 'like this' in comments.
73546         The GNU coding standards suggest that we no longer quote `like this',
73547         as "`" and "'" are typically rendered asymmetrically nowadays.
73548         The typical gnulib style is to quote 'like this' when quoting
73549         code, and "like this" when quoting English.
73551         * time/mktime.c (compile-command): Add "-I.".
73553         mktime: merge mktime-internal.h change from gnulib
73554         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
73556         mktime: merge time_r change from gnulib
73557         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
73559         mktime: merge DEBUG change from gnulib
73560         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
73561         case system <time.h> has a #define.
73563         mktime: merge <sys/types.h> change from gnulib
73564         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
73565         since <time.t> is now guaranteed to define time_t.
73567         mktime: merge HAVE_CONFIG_H change from gnulib
73568         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
73570 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73573         Use "neg %eax".
73575         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
73576         __rlim_t cast.
73577         (struct rusage): Use anonymous union to pad each field to
73578         __syscall_slong_t.
73580 2012-05-21  David S. Miller  <davem@davemloft.net>
73582         * Makefules (o-iterator): Remove .s cases.
73583         (compile-command.s): Delete.
73584         (COMPILE.s): Delete.
73585         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
73587 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
73589         * configure.in (libc_cv_predef_stack_protector): Only consider
73590         "foobar" and "__stack_chk_fail" lines in libc_undefs.
73591         * configure: Regenerated.
73593 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73596         New macro.  Use R*LP on int and pointer.
73597         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
73598         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
73599         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
73600         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
73602         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
73603         [__WORDSIZE_TIME64_COMPAT32] instead of
73604         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
73605         (struct utmp): Likewise.
73606         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
73607         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
73608         Renamed to ...
73609         (__WORDSIZE_TIME64_COMPAT32): This.
73610         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
73611         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
73612         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
73613         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
73614         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
73615         (__WORDSIZE_TIME64_COMPAT32): New macro.
73617 2012-05-21  Andreas Jaeger  <aj@suse.de>
73619         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
73620         only if [SHARED]. Add prototype for __wcschr_ia32.
73622 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73624         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
73625         of %rbp unmolested in the jmp_buf while mangling the low bits.
73626         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
73627         unmolested high bits of %rbp while demangling the low bits.
73628         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73630 2012-05-21  Andreas Jaeger  <aj@suse.de>
73632         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
73633         * sunrpc/svc_simple.c: Use it for registerrpc.
73634         * sunrpc/xcrypt.c: Use it for passwd2des.
73636         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
73638 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73640         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
73641         Don't define if [__SYSCALL_WORDSIZE != 32].
73642         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
73643         New macro.
73645 2012-05-21  Bruno Haible  <bruno@clisp.org>
73646             Andreas Jaeger  <aj@suse.de>
73648         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
73649         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
73650         inptr and inend for must_buffer_ch.
73651         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
73652         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
73653         * stdio-common/Makefile (tests): Remove bug15.
73654         (bug15-ENV): Remove macro.
73655         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
73656         anymore.
73658 2012-05-19  Andreas Jaeger  <aj@suse.de>
73659             Roland McGrath  <roland@hack.frob.com>
73661         * manual/contrib.texi: Completely rewritten. It contains now an
73662         alphabetical list of contributors and their contributions.
73664 2012-05-21  Richard Henderson  <rth@twiddle.net>
73666         * misc/getauxval.c (__getauxval): Use unsigned long int.
73667         * misc/sys/auxv.h: Include <sys/cdefs.h>.
73668         (getauxval): Use unsigned long int.
73670 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73672         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73674 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73676         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
73677         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
73678         __alignof__ (long double).
73680 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73684 2012-05-20  Richard Henderson  <rth@twiddle.net>
73686         * misc/getauxval.c: New file.
73687         * misc/sys/auxv.h: New file.
73688         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
73689         (routines): Add getauxval.
73690         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
73691         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
73692         * elf/dl-sysdep.c (_dl_auxv): Remove.
73693         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
73694         * elf/dl-support.c (_dl_auxv): New variable.
73695         (_dl_aux_init): Initialize it.
73696         * manual/startup.texi (Auxiliary Vector): New node.
73697         * sysdeps/generic/bits/hwcap.h: New file.
73698         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
73699         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
73700         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
73701         * sysdeps/sparc/sysdep.h: ... here.  Include it.
73702         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
73703         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
73704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73705         Update.
73706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
73707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
73708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
73709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
73710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
73713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
73715 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73719 2012-05-19  David S. Miller  <davem@davemloft.net>
73721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73723 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73725         [BZ #14123]
73726         * math/s_ccosh.c: Include <float.h>
73727         (__ccosh): Avoid internal overflow calculating sinh and cosh
73728         values before multiplying by sin and cos values.
73729         * math/s_ccoshf.c: Likewise.
73730         * math/s_ccoshl.c: Likewise.
73731         * math/s_csin.c: Likewise.
73732         * math/s_csinf.c: Likewise.
73733         * math/s_csinl.c: Likewise.
73734         * math/s_csinh.c: Likewise.
73735         * math/s_csinhf.c: Likewise.
73736         * math/s_csinhl.c: Likewise.
73737         * math/libm-test.inc (ccos_test): Add more tests.
73738         (ccosh_test): Likewise.
73739         (csin_test): Likewise.
73740         (csinh_test): Likewise.
73741         * sysdeps/i386/fpu/libm-test-ulps: Update.
73742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73744 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
73746         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
73747         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
73749         * sysdeps/x86_64/x32/_itoa.h: Add comment.
73751 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73753         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
73754         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
73755         * sysdeps/powerpc/soft-fp/Versions: Likewise.
73756         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73757         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
73758         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
73759         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
73760         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
73761         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
73762         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
73763         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
73764         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73765         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73766         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73767         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73768         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73769         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73770         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73771         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73772         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73773         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73774         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73775         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73776         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73777         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73778         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73779         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73780         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73781         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73782         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73783         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73785 2012-05-18  Andreas Jaeger  <aj@suse.de>
73787         * csu/.gitignore: Delete.
73789 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73791         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73792         (timex): Use __syscall_slong_t.
73794 2012-05-18  Andreas Jaeger  <aj@suse.de>
73795             Carlos O'Donell  <carlos_odonell@mentor.com>
73797         * manual/install.texi (Configuring and compiling): Update
73798         description about files modified in the source directory.
73799         * INSTALL: Regenerated.
73801 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73803         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73804         value.  Use "or" to set return value to -1.
73805         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73806         negate return value.
73808 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73810         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
73811         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
73812         failure if the compiler has Graphite support disabled.
73813         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
73814         Likewise.
73815         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
73816         (CFLAGS-memmove.c): Likewise.
73817         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
73818         Likewise.
73820 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73822         * sysdeps/x86_64/x32/_itoa.h: New file.
73824         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
73825         getdents system call only if kernel and user dirents have the
73826         same d_ino and d_off.
73828         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73829         LLONG_MAX != LONG_MAX.
73830         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73831         (_fitoa_word): Likewise.
73833         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
73834         years.
73835         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
73836         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
73837         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
73839         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
73840         include <bits/wordsize.h>.  Check __x86_64__ instead of
73841         __WORDSIZE.
73842         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
73843         if __x86_64__ is defined.  Use anonymous union on fpstate.
73845         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
73846         anonymous union.
73848 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
73850         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
73851         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
73852         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
73853         Refer to _rtld_local_ro instead of _rtld_global_ro.
73854         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
73855         Likewise.
73856         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
73857         Likewise.
73858         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
73859         Likewise.
73860         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
73861         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
73862         of _rtld_global, and rtld_progname instead of _dl_argv[0].
73864         [BZ #10882]
73865         * sysdeps/powerpc/powerpc32/dl-machine.c
73866         (__elf_machine_runtime_setup) [PROF]: Don't reference
73867         _dl_prof_resolve.
73869 2012-05-18  Andreas Jaeger  <aj@suse.de>
73871         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
73872         function only available for GCCs before 3.4 since GCC 3.4
73873         introduced a builtin.
73874         (lrint): Likewise.
73875         (llrintf): Likewise.
73876         (llrint): Likewise.
73877         (fmaxf): Likewise.
73878         (fmax): Likewise.
73879         (fminf): Likewise.
73880         (fmin): Likewise.
73881         (rint): Likewise.
73882         (rintf): Likewise.
73883         (nearbyint): Likewise.
73884         (nearbyintf): Likewise.
73885         (ceil): Likewise.
73886         (ceilf): Likewise.
73887         (floor): Likewise.
73888         (floorf): Likewise.
73890 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73892         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73893         on both fields and cast pointer to __syscall_ulong_t.
73895         * bits/types.h (__fsword_t): New type.
73896         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
73897         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
73898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73899         (__FSWORD_T_TYPE): Likewise.
73900         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73901         (__FSWORD_T_TYPE): Likewise.
73902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73903         (__FSWORD_T_TYPE): Likewise.
73904         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
73905         (__FSWORD_T_TYPE): Likewise.
73906         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
73907         __SWORD_TYPE with __fsword_t.
73908         (statfs64): Likewise.
73910 2012-05-17  David S. Miller  <davem@davemloft.net>
73912         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
73914 2012-05-17  Andreas Jaeger  <aj@suse.de>
73916         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
73917         warning.
73919 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73921         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
73923 2012-05-17  Andreas Jaeger  <aj@suse.de>
73925         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
73926         when it is used.
73928 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73930         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
73932 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73934         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
73935         * sysdeps/x86_64/tst-mallocalign1.c: New file.
73937 2012-05-17  Andreas Jaeger  <aj@suse.de>
73938             Carlos O'Donell  <carlos_odonell@mentor.com>
73940         [BZ #14059]
73941         * sysdeps/x86_64/multiarch/init-arch.h
73942         (bit_YMM_Usable): Rename to...
73943         (bit_AVX_Usable): ... this.
73944         (bit_FMA4_Usable): New macro.
73945         (bit_XMM_state): New macro.
73946         (bit_YMM_state): New macro.
73947         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
73948         [__ASSEMBLER__] (index_AVX_Usable): ... this.
73949         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
73950         (CPUID_OSXSAVE): New macro.
73951         (CPUID_AVX): New macro.
73952         (CPUID_FMA4): New macro.
73953         (index_YMM_Usable): Rename to...
73954         (index_AVX_Usable): ... this.
73955         (HAS_AVX): Use HAS_ARCH_FEATURE.
73956         (HAS_FMA4): Likewise.
73957         (HAS_YMM_USABLE): Remove.
73958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73959         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
73960         are present.
73961         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
73962         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
73963         * sysdeps/x86_64/multiarch/Makefile: Likewise.
73964         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
73965         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
73967 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73969         * math/libm-test.c: Support platforms without multiple rounding modes.
73970         * math/bug-nextafter.c: Support platforms without FP exceptions.
73971         * math/bug-nexttoward.c: Likewise.
73972         * math/test-fenv.c: Likewise.
73973         * math/test-misc.c: Likewise.
73974         * stdlib/bug-getcontext.c: Likewise.
73976 2012-05-17  Andreas Jaeger  <aj@suse.de>
73978         * manual/examples/search.c (critter_cmp): Change signature to
73979         avoid warnings.
73980         * manual/string.texi (Collation Functions): Likewise.
73982 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73984         * bits/types.h: Fold copyright years.
73985         * bits/typesizes.h: Likewise.
73986         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
73987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
73988         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
73989         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
73990         * time/time.h: Likewise.
73992 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
73994         [BZ #208]
73995         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
73996         in instead of returning them.  Return void.
73997         (__libc_mallinfo): Accumulate over all arenas.
73998         (__malloc_stats): Adjust for change in int_mallinfo interface.
74000 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74002         [BZ #10375]
74003         * configure.in (NM): Add AC_CHECK_TOOL for it.
74004         (libc_extra_cflags): New substituted variable.
74005         Check for -fstack-protector being used implicitly.
74006         * configure: Regenerated.
74007         * config.make.in (config-extra-cflags): New variable,
74008         gets @libc_extra_cflags@.
74009         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74011         [BZ #10375]
74012         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74013         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74014         * configure: Regenerated.
74015         * config.make.in (CPPUNDEFS): New substituted variable.
74016         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74017         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74018         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74022         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74023         (mq_attr): Use __syscall_slong_t.
74025 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74027         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74028         Check __x86_64__ instead of __WORDSIZE.
74029         (_STAT_VER_LINUX): Likewise.
74030         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74031         __syscall_ulong_t and __syscall_slong_t.
74032         (stat64): Likewise.
74034 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74036         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74038 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74040         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74042 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74044         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74045         __syscall_ulong_t.
74047         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74048         include <bits/wordsize.h>.  Check __x86_64__ instead of
74049         __WORDSIZE.
74050         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74051         defined.
74052         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74054         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74055         include <bits/wordsize.h>.  Check __x86_64__ instead of
74056         __WORDSIZE.
74057         (user_regs_struct): Use "__extension__ unsigned long long"
74058         instead of "unsigned long" if __x86_64__ is defined.
74059         (user): Likewise.  Pad after pointer field if __ILP32__ is
74060         defined.
74062 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74064         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74065         versions 5 to 9.
74066         * configure: Regenerated.
74067         * manual/install.texi (texinfo): Increase version requirement to
74068         4.5 or later.
74069         * INSTALL: Regenerated.
74071         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74073 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74075         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74077         * sysdeps/x86_64/x32/ffs.c: New file.
74079         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74080         __syscall_ulong_t.
74081         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74082         defined.  Use __syscall_ulong_t.
74083         (shminfo): Use __syscall_ulong_t.
74084         (shm_info): Likewise.
74086         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74087         __syscall_ulong_t.
74089         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74090         <bits/wordsize.h>.
74091         (msgqnum_t): Use __syscall_ulong_t.
74092         (msglen_t): Likewise.
74093         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74094         __syscall_ulong_t.
74096         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74097         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74099         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74101         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74102         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74104         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74105         __syscall_slong_t.
74107         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74108         include <bits/wordsize.h>.  Check __x86_64__ instead of
74109         __WORDSIZE.
74111         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74112         "unsigned long long int" if __x86_64__ is defined.
74113         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74115         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74116         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74117         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74119         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74120         <stdint.h>.
74121         (GET_PC): Cast to uintptr_t first.
74122         (GET_FRAME): Likewise.
74123         (GET_STACK): Likewise.
74125         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74126         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74127         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74128         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74129         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74130         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74131         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74132         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74133         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74134         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74135         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74136         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74137         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74138         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74139         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74140         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74141         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74142         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74143         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74144         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74145         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74146         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74147         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74148         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74149         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74150         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74151         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74152         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74153         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74155 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74157         * Makerules (+depfiles): Also collect depfiles from .oS in
74158         $(extra-objs).
74159         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74160         .oS, $(libnldbl-routines)).
74162         * Makerules (native-compile-mkdep-flags): Define.
74163         * sunrpc/Makefile (extra-objs): Add $(addprefix
74164         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74165         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74166         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74167         calling $(make-target-directory).
74169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74171         * bits/types.h (__snseconds_t): Removed.
74172         * time/time.h (struct timespec): Replace __snseconds_t with
74173         __syscall_slong_t.
74174         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74175         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74176         Likewise.
74177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74178         (__SNSECONDS_T_TYPE): Likewise.
74179         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74180         (__SNSECONDS_T_TYPE): Likewise.
74181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74182         (__SNSECONDS_T_TYPE): Likewise.
74184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74186         * sysdeps/mach/hurd/bits/typesizes.h
74187         (__SYSCALL_SLONG_TYPE): New macro.
74188         (__SYSCALL_ULONG_TYPE): Likewise.
74190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74192         * bits/types.h (__syscall_slong_t): New type.
74193         (__syscall_ulong_t): Likewise.
74195         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74196         (__SYSCALL_ULONG_TYPE): Likewise.
74197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74198         (__SYSCALL_SLONG_TYPE): Likewise.
74199         (__SYSCALL_ULONG_TYPE): Likewise.
74200         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74201         (__SYSCALL_SLONG_TYPE): Likewise.
74202         (__SYSCALL_ULONG_TYPE): Likewise.
74203         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74204         (__SYSCALL_SLONG_TYPE): Likewise.
74205         (__SYSCALL_ULONG_TYPE): Likewise.
74207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74209         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74210         Add sigaltstack-offsets.sym.
74211         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74212         <sigaltstack-offsets.h>.
74213         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74214         longjmp_msg pointer.
74215         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74216         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74217         signal stack.
74218         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74220 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74222         * elf/stackguard-macros.h: Remove file.
74223         * sysdeps/generic/stackguard-macros.h: New file.
74224         * sysdeps/i386/stackguard-macros.h: Likewise.
74225         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74226         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74227         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74228         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74229         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74230         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74231         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74232         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74233         <elf/stackguard-macros.h>.
74235         [BZ #14109]
74236         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74237         __aligned__ in attribute.
74238         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74239         (gregset_t): Likewise.
74241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74243         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74244         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74245         * sysdeps/x86_64/x32/Implies-after: New file.
74247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74249         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74250         and access return value for _dl_profile_fixup.  Use R10_LP to
74251         load frame size.
74253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74255         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74259         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74260         * sysdeps/x86_64/x32/sysdep.h: New file.
74262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74264         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74265         * sysdeps/x86_64/setjmp.S: Likewise.
74267 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74269         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74270         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74271         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74272         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74273         remove unused global constant.
74275 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74277         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74278         include of <not-cancel.h>.
74280 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74282         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74284 2012-05-15  Jeff Law  <law@redhat.com>
74285             Andreas Jaeger  <aj@suse.de>
74287         [BZ #13594]
74288         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74289         out from...
74290         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74291         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74292         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74293         code changing __hst_map_handle.map.
74295 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74297         * configure.in (sysnames): Look for Implies-before and Implies-after
74298         files.
74299         * configure: Regenerated.
74301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74303         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74304         8-byte data alignment with LP_SIZE alignment.
74306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74308         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74309         into R10_LP.
74311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74313         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74317         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74318         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74319         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74320         Likewise.
74321         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74325         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74326         (stackinfo_sub_sp): Likewise.
74328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74330         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74331         RAX_LP.
74333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74335         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74336         into R*_LP.
74338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74340         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74341         sizes into R*_LP.
74343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74345         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74349         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74350         into R11_LP and load __x86_64_shared_cache_size_half into
74351         R8_LP.
74353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74355         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74356         R8_LP.
74358 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74361         logb for POWER7.
74362         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74363         logbf for POWER7.
74364         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74365         logbl for POWER7.
74366         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74367         powerpc32/power7/fpu/s_logb.c via #include.
74368         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74369         powerpc32/power7/fpu/s_logbf.c via #include.
74370         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74371         powerpc32/power7/fpu/s_logbl.c via #include.
74373 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74375         * README.libm: Remove file.
74377 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74379         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74380         count for x32.  Use R*_LP and omit operand-size suffix.
74382 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74384         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74385         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74386         * sysdeps/x86_64/x32/shlib-versions: New file.
74388 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74390         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74391         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74392         Use _dl_fatal_printf instead.
74394 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74396         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74397         set if not set by the user.  Do not allow for being unset.
74398         * sysdeps/unix/sysv/linux/configure: Regenerated.
74400 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74402         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74403         the `q' suffix from lea and replace .quad with ASM_ADDR.
74405 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74408         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74409         instead of $17.
74410         (PTR_DEMANGLE): Likewise.
74412 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74414         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74415         (LP_OP): Likewise.
74416         (ASM_ADDR): Likewise.
74417         (RAX_LP): Likewise.
74418         (RBP_LP): Likewise.
74419         (RBX_LP): Likewise.
74420         (RCX_LP): Likewise.
74421         (RDI_LP): Likewise.
74422         (RSI_LP): Likewise.
74423         (RSP_LP): Likewise.
74424         (R8_LP): Likewise.
74425         (R9_LP): Likewise.
74426         (R10_LP): Likewise.
74427         (R10_LP): Likewise.
74428         (R11_LP): Likewise.
74429         (R12_LP): Likewise.
74430         (R13_LP): Likewise.
74431         (R14_LP): Likewise.
74432         (R15_LP): Likewise.
74434 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74436         * sysdeps/x86_64/x32/dl-machine.h: New file.
74438 2012-05-14  Andreas Jaeger  <aj@suse.de>
74440         * manual/Makefile (subdir): Remove export of subdir.
74441         (all): Remove target.
74442         (.PHONY): Remove all from list.
74443         (mkinstalldirs): Remove.
74444         (.PHONY): Remove installdirs from list.
74445         ($(inst_infodir)/libc.info): Use make-target-directory.
74446         (installdirs): Remove.
74447         (subdir_%): Remove.
74448         (glibc-targets): Remove.
74449         (lib): Remove.
74450         (stubs): Remove.
74451         ($(objpfx)stubs ../po/manual.pot): Remove.
74452         ($(objpfx)stamp%): Remove.
74453         (make-target-directory): Remove.
74454         (subdir_install): Remove.
74455         (routines): Remove.
74456         (aux): Remove.
74457         (sources): Remove.
74458         (objects): Remove.
74459         (headers): Remove.
74461         [BZ #13750]
74462         * manual/.gitignore: Remove, it's not needed anymore.
74463         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74464         all files in it.
74465         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74466         directory.
74467         (texis): Renamed to $(objpfx)texis.
74468         (texis-path): New, contains path to generated files.
74469         (chapters.%): Use texis-path for complete path, add extra argument
74470         libc-texinfo.sh.
74471         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74472         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74473         (summary,texi, stamp-summary): Use complete path of
74474         files. Generate files in build dir.
74475         (dir-add.texi): Build in build dir.
74476         (libm-err.texi,stamp-libm-err): Likewise.
74477         (version.texi, stamp-version): Likewise.
74478         (.%c.texi): Likewise.
74479         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74480         (mostlyclean): Remove target.
74481         (realclean): Remove target.
74482         (generated): Add new variable with contents from mostlyclean and
74483         realclean, remove entries duplicated in common-mostlyclean, add
74484         stamp-libm-err and stamp-version.
74485         (generated-dirs): Add libc directory.
74486         ($(inst_infodir)/libc.info): Install files from build dir.
74488         * manual/install.texi (Configuring and compiling): Adjust since
74489         the info files are not part of the tar ball anymore.
74491 2012-05-14  Andreas Jaeger  <aj@suse.de>
74493         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
74494         variable.
74496 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74498         [BZ #13717]
74499         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74500         to 2.2.0 where earlier.
74501         * sysdeps/unix/sysv/linux/configure: Regenerated.
74502         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
74503         Remove conditional code.
74504         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
74505         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
74506         Remove conditional code.
74507         [!__NR_lchown]: Likewise.
74508         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74509         [__NR_lchown]: Likewise.
74510         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
74511         comment referencing __ASSUME_LCHOWN_SYSCALL.
74512         * sysdeps/unix/sysv/linux/i386/sigaction.c
74513         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74514         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74515         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
74516         Remove conditional code.
74517         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
74518         (__protocol_available): Remove #if 0 code.
74519         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
74520         conditional code.
74521         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
74522         * sysdeps/unix/sysv/linux/kernel-features.h
74523         (__ASSUME_GETCWD_SYSCALL): Don't define.
74524         (__ASSUME_REALTIME_SIGNALS): Likewise.
74525         (__ASSUME_PREAD_SYSCALL): Likewise.
74526         (__ASSUME_PWRITE_SYSCALL): Likewise.
74527         (__ASSUME_POLL_SYSCALL): Likewise.
74528         (__ASSUME_LCHOWN_SYSCALL): Likewise.
74529         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
74530         non-SPARC.
74531         (__ASSUME_SIOCGIFNAME): Don't define.
74532         (__ASSUME_MSG_NOSIGNAL): Likewise.
74533         (__ASSUME_SENDFILE): Define unconditionally.
74534         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
74535         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
74536         conditional code.
74537         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
74538         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
74539         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74540         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74541         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
74542         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74543         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
74545         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
74548         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74549         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
74551         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74552         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
74554         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74555         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
74557         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74558         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
74560         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74561         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
74563         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74564         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
74566         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74567         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74568         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
74569         Remove conditional code.
74570         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74571         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74572         Remove conditional code.
74573         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74574         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
74575         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
74576         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74577         Remove conditional code.
74578         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74579         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
74580         Remove conditional code.
74581         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74582         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
74583         Remove conditional code.
74584         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74585         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74586         Remove conditional code.
74587         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74588         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74589         Remove conditional code.
74590         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74591         * sysdeps/unix/sysv/linux/sh/pwrite64.c
74592         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74593         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74594         * sysdeps/unix/sysv/linux/sigaction.c
74595         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74596         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74597         * sysdeps/unix/sysv/linux/sigpending.c
74598         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74599         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74600         * sysdeps/unix/sysv/linux/sigprocmask.c
74601         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74602         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74603         * sysdeps/unix/sysv/linux/sigsuspend.c
74604         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74605         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74606         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74607         (__libc_missing_rt_sigs): Remove.
74608         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
74609         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
74610         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
74611         Remove conditional code.
74612         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
74613         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
74614         return 1.
74615         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
74616         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
74617         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
74618         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
74620 2012-05-14  Andreas Jaeger  <aj@suse.de>
74622         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
74623         it's not used in glibc.
74624         (__coshm1): Likewise.
74625         (__acosh1p): Likewise.
74626         (__sgn): Likewise.
74628         * manual/string.texi (Copying and Concatenation): Add missing
74629         variable in concat example.
74630         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
74632 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74634         [BZ #14103]
74635         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
74636         __builtin_clzl with __builtin_clzll.
74638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74640         [BZ #14104]
74641         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
74642         libc_freeres_ptr.
74644 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74646         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
74647         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
74648         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
74649         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
74651 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
74653         * NEWS: Update ia64 info.
74655 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
74657         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
74658         used as bcopy.
74660 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
74662         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
74663         * sysdeps/unix/syscalls.list (dup3): Likewise.
74664         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
74665         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
74667 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74669         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
74670         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
74672 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74674         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
74675         thread pointer.
74676         (TLS_IE): Use mov/add instead of movq/addq to load thread
74677         pointer.
74678         (TLS_GD_PREFIX): New.
74679         (TLS_GD): Use it.
74681 2012-05-11  David S. Miller  <davem@davemloft.net>
74683         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
74684         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
74685         (_FPU_SETCW): Likewise.
74687 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74689         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
74690         is 32-byte aligned.
74692 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
74694         [BZ #11837]
74695         * iconvdata/gb18030.c: Update tables.
74696         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
74697         characters specially.
74698         (BODY for TO_LOOP): Add encoding of missing ranges.
74700 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
74702         [BZ #13673]
74703         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
74704         * sysdeps/mach/hurd/dup3.c: Likewise.
74705         * sysdeps/mach/hurd/readlinkat.c: Likewise.
74706         * sysdeps/powerpc/memmove.c:: Likewise.
74708 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74710         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
74711         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
74713 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74715         * elf/elf.h (R_X86_64_RELATIVE64): New.
74716         (R_X86_64_NUM): Updated.
74717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
74718         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
74719         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
74720         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
74721         tst-quad1pie tst-quad2pie
74722         (modules-names): Add tst-quadmod1 tst-quadmod2.
74723         ($(objpfx)tst-quad1): New dependency.
74724         ($(objpfx)tst-quad2): Likewise.
74725         ($(objpfx)tst-quad1pie): Likewise.
74726         ($(objpfx)tst-quad2pie): Likewise.
74727         * sysdeps/x86_64/tst-quad1.c: New file.
74728         * sysdeps/x86_64/tst-quad1pie.c: New file.
74729         * sysdeps/x86_64/tst-quad2.c: Likewise.
74730         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
74731         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
74732         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
74733         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
74734         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
74736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74738         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
74739         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
74740         * streams/stropts.h (t_scalar_t): Define type.
74742         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
74743         (_PATH_PRESERVE): Set to "/var/lib".
74744         (_PATH_RWHODIR): Set to "/var/spool/rwho".
74746         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
74747         instead of int.
74749         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
74750         if __dir_mkfile succeeded.
74752         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
74753         checking for _hurd_dtablesize.  Unlock it right after having
74754         finished _hurd_dtable allocation.
74756 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74758         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
74759         * sysdeps/mach/hurd/configure: Regenerated.
74760         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
74761         special-casing to...
74762         * sysdeps/gnu/configure.in: ... this new file.
74763         * sysdeps/unix/sysv/linux/configure: Regenerated.
74764         * sysdeps/gnu/configure: New generated file.
74766         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74767         for Linux: use nsec instead of usec, as well as:
74768         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74769         members of type struct timespec.
74770         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74771         New macros.
74772         (struct stat64): Likewise.
74773         (_STATBUF_ST_NSEC): New macro.
74774         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74776         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74777         __strtoul_internal rather than strtoul.
74779 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74781         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74782         and reject them.
74784 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74786         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74787         which preserves existing values.
74788         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74790 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74792         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74793         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74794         greater than FD_SETSIZE.
74796 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74798         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74799         allocated, call __vm_protect to finish enabling the existing space, and
74800         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74801         allocate the remainder.
74803 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74805         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74806         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
74808 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74810         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
74811         sysdeps/mach/hurd/readlink.c.
74813         * posix/tst-sysconf.c (posix_options): Only use
74814         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
74815         _POSIX_SYNCHRONIZED_IO when they are defined
74816         * sysdeps/mach/hurd/bits/posix_opt.h:
74817         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
74818         (_XOPEN_REALTIME): Undefine macro.
74819         (_XOPEN_REALTIME_THREADS): Undefine macro.
74820         (_XOPEN_SHM): Undefine macro.
74821         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
74822         macro to -1.
74823         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
74824         macro to -1.
74825         (_POSIX_ASYNC_IO): Undefine macro.
74826         (_POSIX_PRIORITIZED_IO): Undefine macro.
74827         (_POSIX_SPIN_LOCKS): Define macro to -1.
74829         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
74830         SA_NODEFER, SA_RESETHAND.
74831         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
74832         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
74833         F_DUPFD_CLOEXEC.
74835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74837         * elf/Makefile (pldd-modules): Define unconditionally.
74839 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74841         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
74843 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74845         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
74846         Return ENOENT when name is empty.
74847         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
74849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74851         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
74853         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
74855 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74857         Fix mlock in all cases except non-readable pages.
74858         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
74859         instead of VM_PROT_ALL as parameter to __vm_wire function.
74861         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
74862         (__mkdir): When path is `/', just fail with EEXIST.
74863         * sysdeps/mach/hurd/mkdirat.c: Likewise.
74865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74867         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
74868         <sys/uio.h> (for writev).
74869         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
74870         and <sys/param.h> (for MIN).
74872 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74874         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
74875         REQUESTED_TIME.  Properly set the remaining time and return EINTR
74876         if interrupted.
74878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74880         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74881         Depend on against $(link-rpcuserlibs).
74883 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74885         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
74886         (__libc_stack_end): Do not use attribute_relro.
74887         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
74888         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
74889         to libthread-provided value.
74890         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
74891         attribute_relro.
74893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74895         [BZ #3748]
74896         * bits/libc-lock.h (__libc_once_get): New macro.
74897         * sysdeps/mach/bits/libc-lock.h: Likewise.
74898         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
74899         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
74900         instead of using implementation details.
74902         * libio/fileops.c: Unconditionally include <kernel-features.h>.
74903         * libio/freopen.c: Likewise.
74904         * libio/freopen64.c: Likewise.
74905         * misc/syslog.c: Likewise.
74906         * nscd/connections.c: Likewise.
74907         * nscd/netgroupcache.c: Likewise.
74908         * sysdeps/posix/getcwd.c: Likewise.
74910 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74912         * math/w_ilogbf.c: Add #include <limits.h>.
74914 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74916         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
74917         path instead of returning without unlocking.
74919         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
74920         immediate-write ioctls.
74921         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
74923 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74925         * sysdeps/mach/hurd/i386/init-first.c (init): Use
74926         __builtin_frame_address instead of making assumptions about the
74927         location of the return address relative to DATA.  Force early load of
74928         the return address.
74929         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
74930         __builtin_frame_address.
74932         dup3 for GNU Hurd.
74933         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
74934         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
74935         implement dup3 and do some further code clean-ups.
74936         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
74937         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
74939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74941         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
74943         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
74944         HURD_CRITICAL_END around holding _hurd_dtable_lock.
74945         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
74946         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
74947         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
74948         d->port.lock.
74950         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
74951         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
74952         when handler == SIG_ERR, not when handler != SIG_ERR.
74954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74956         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
74957         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
74958         definitions.
74960         accept4 for GNU Hurd.
74961         * include/sys/socket.h (__libc_accept4): New prototype.
74962         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
74963         to implement __libc_accept4.
74964         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
74965         __libc_accept4.
74966         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
74968         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
74969         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
74970         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
74971         signal-defines.sym.
74973 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74975         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
74977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74979         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
74980         assertion on O_CLOEXEC flag.
74981         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
74982         * hurd/intern-fd.c: Likewise.
74983         * hurd/port2fd.c: Likewise.
74985 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74987         [BZ #3906]
74988         * bits/in.h (IPV6_PKTINFO): Define new macro.
74989         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
74991 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74993         [BZ #13954]
74994         [BZ #13955]
74995         [BZ #13956]
74996         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
74997         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74998         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
74999         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75001         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75002         * math/libm-test.inc (logb_test) : Additional logb tests.
75004 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75005             Andreas Jaeger  <aj@suse.de>
75007         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75008         * configure: Regenerated.
75009         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75010         * config.make.in (link-obsolete-rpc): New substituted variable.
75011         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75012         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75013         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75014         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75015         so that libc.a contains the symbols.
75016         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75017         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75018         * sunrpc/auth_none.c: Likewise.
75019         * sunrpc/auth_unix.c: Likewise.
75020         * sunrpc/authdes_prot.c: Likewise.
75021         * sunrpc/authuxprot.c: Likewise.
75022         * sunrpc/clnt_gen.c: Likewise.
75023         * sunrpc/clnt_perr.c: Likewise.
75024         * sunrpc/clnt_raw.c: Likewise.
75025         * sunrpc/clnt_simp.c: Likewise.
75026         * sunrpc/clnt_tcp.c: Likewise.
75027         * sunrpc/clnt_udp.c: Likewise.
75028         * sunrpc/clnt_unix.c: Likewise.
75029         * sunrpc/des_crypt.c: Likewise.
75030         * sunrpc/des_soft.c: Likewise.
75031         * sunrpc/get_myaddr.c: Likewise.
75032         * sunrpc/key_call.c: Likewise.
75033         * sunrpc/key_prot.c: Likewise.
75034         * sunrpc/netname.c: Likewise.
75035         * sunrpc/pm_getmaps.c: Likewise.
75036         * sunrpc/pm_getport.c: Likewise.
75037         * sunrpc/pmap_clnt.c: Likewise.
75038         * sunrpc/pmap_prot.c: Likewise.
75039         * sunrpc/pmap_prot2.c: Likewise.
75040         * sunrpc/pmap_rmt.c: Likewise.
75041         * sunrpc/publickey.c: Likewise.
75042         * sunrpc/rpc_cmsg.c: Likewise.
75043         * sunrpc/rpc_common.c: Likewise.
75044         * sunrpc/rpc_dtable.c: Likewise.
75045         * sunrpc/rpc_prot.c: Likewise.
75046         * sunrpc/rpc_thread.c: Likewise.
75047         * sunrpc/rtime.c: Likewise.
75048         * sunrpc/svc.c: Likewise.
75049         * sunrpc/svc_auth.c: Likewise.
75050         * sunrpc/svc_raw.c: Likewise.
75051         * sunrpc/svc_run.c: Likewise.
75052         * sunrpc/svc_tcp.c: Likewise.
75053         * sunrpc/svc_udp.c: Likewise.
75054         * sunrpc/svc_unix.c: Likewise.
75055         * sunrpc/svcauth_des.c: Likewise.
75056         * sunrpc/xcrypt.c: Likewise.
75057         * sunrpc/xdr.c: Likewise.
75058         * sunrpc/xdr_array.c: Likewise.
75059         * sunrpc/xdr_float.c: Likewise.
75060         * sunrpc/xdr_intXX_t.c: Likewise.
75061         * sunrpc/xdr_mem.c: Likewise.
75062         * sunrpc/xdr_rec.c: Likewise.
75063         * sunrpc/xdr_ref.c: Likewise.
75064         * sunrpc/xdr_sizeof.c: Likewise.
75065         * sunrpc/xdr_stdio.c: Likewise.
75067 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75069         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75070         change.  Update copyright years.
75072 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75074         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75076 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75077             Joseph Myers  <joseph@codesourcery.com>
75078             Paul Pluzhnikov  <ppluzhnikov@google.com>
75080         [BZ #14012]
75081         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75082         requiring rpcgen.
75083         [cross-compiling] (extra-libs): Likewise.
75084         [cross-compiling] (extra-libs-others): Likewise.
75085         [cross-compiling] (librpcsvc-routines): Likewise.
75086         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75087         [cross-compiling] (omit-deps): Likewise.
75088         (sunrpc-CPPFLAGS): New variable.
75089         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75090         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75091         (cross-rpcgen-objs): New variable.
75092         (extra-objs): Append $(cross-rpcgen-objs).
75093         ($(cross-rpcgen-objs)): New rule.
75094         ($(objpfx)cross-rpcgen): Likewise.
75095         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75096         comment.
75097         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75098         ($(objpfx)x%.stmp): Likewise.
75099         * sunrpc/proto.h [IS_IN_build] (_): Define.
75100         [IS_IN_build] (_libc_intl_domainname): Likewise.
75102 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75104         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75105         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75106         and R_X86_64_TPOFF64.
75108 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75110         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75111         sysdeps/unix/sysv/syscalls.list.
75112         (stime): Likewise.
75113         (utime): Likewise.
75114         * sysdeps/unix/sysv/syscalls.list: Remove file.
75116 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75118         [BZ #3440]
75119         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75120         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75121         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75122         (__LC_IDENTIFICATION): Make these macros useful in #if
75123         expressions, as required by C99.
75125 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75127         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75128         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75129         after this.
75131 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75133         * stdlib/longlong.h: Updated from GCC.
75135 2012-05-09  Andreas Jaeger  <aj@suse.de>
75137         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75138         default is first entry.
75139         (run_mode): Set type.
75140         (main): Remove informal message about syslog.
75141         (options): Fix typo.
75143         [BZ #14053]
75144         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75145         to asm.
75146         (lrint): Likewise.
75147         (llrintf): Likewise.
75148         (llrint): Likewise.
75149         (rint): Likewise.
75150         (rintf): Likewise.
75151         (nearbyint): Likewise.
75152         (nearbyintf): Likewise.
75154 2012-05-09  Andreas Jaeger  <aj@suse.de>
75155             Pedro Alves  <palves@redhat.com>
75157         * nscd/nscd.c (run_mode): Use enum.
75158         (main): Cleanup coding style issue.
75160 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75161             Andreas Jaeger  <aj@suse.de>
75163         * nscd/nscd.c (go_background): Replaced with...
75164         (run_mode): ... this.
75165         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75166         (options): Add -F --foreground.
75167         (main): Implement it.
75168         (parse_opt): Parse it.
75170 2012-05-09  Andreas Jaeger  <aj@suse.de>
75172         [BZ #14083]
75173         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75174         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75175         -Wconversion warning.
75176         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75177         Likewise.
75179 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75181         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75182         == 0.
75183         (LC_ALL): Use macro-int-constant.
75184         (LC_COLLATE): Likewise.
75185         (LC_CTYPE): Likewise.
75186         (LC_MESSAGES): Likewise.
75187         (LC_MONETARY): Likewise.
75188         (LC_NUMERIC): Likewise.
75189         (LC_TIME): Likewise.
75190         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75191         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75192         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75193         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75194         Specify type.
75195         [C99-based standards] (float_t): Expect type.
75196         [C99-based standards] (double_t): Expect type.
75197         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75198         type.
75199         [C99-based standards] (HUGE_VALL): Likewise.
75200         [C99-based standards] (INFINITY): Likewise.
75201         [C99-based standards] (NAN): Likewise.
75202         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75203         [C99-based standards] (FP_NAN): Likewise.
75204         [C99-based standards] (FP_NORMAL): Likewise.
75205         [C99-based standards] (FP_SUBNORMAL): Likewise.
75206         [C99-based standards] (FP_ZERO): Likewise.
75207         [C99-based standards] (FP_FAST_FMA): Use
75208         optional-macro-int-constant.  Specify type.  Require == 1.
75209         [C99-based standards] (FP_FAST_FMAF): Likewise.
75210         [C99-based standards] (FP_FAST_FMAL): Likewise.
75211         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75212         [C99-based standards] (FP_ILOGBNAN): Likewise.
75213         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75214         Specify type.
75215         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75216         [C99-based standards] (math_errhandling): Specify type.
75217         [ISO99 || ISO11] (signgam): Do not allow.
75218         [non-C99-based standards] (copysignf): Do not allow.
75219         [non-C99-based standards] (exp2f): Likewise.
75220         [non-C99-based standards] (log2f): Likewise.
75221         [non-C99-based standards] (modff): Allow.
75222         [non-C99-based standards] (erff): Do not allow.
75223         [non-C99-based standards] (erfcf): Likewise.
75224         [non-C99-based standards] (gammaf): Likewise.
75225         [non-C99-based standards] (hypotf): Likewise.
75226         [non-C99-based standards] (j0f): Likewise.
75227         [non-C99-based standards] (j1f): Likewise.
75228         [non-C99-based standards] (jnf): Likewise.
75229         [non-C99-based standards] (lgammaf): Likewise.
75230         [non-C99-based standards] (tgammaf): Likewise.
75231         [non-C99-based standards] (y0f): Likewise.
75232         [non-C99-based standards] (y1f): Likewise.
75233         [non-C99-based standards] (ynf): Likewise.
75234         [non-C99-based standards] (isnanf): Likewise.
75235         [non-C99-based standards] (acoshf): Likewise.
75236         [non-C99-based standards] (asinhf): Likewise.
75237         [non-C99-based standards] (atanhf): Likewise.
75238         [non-C99-based standards] (cbrtf): Likewise.
75239         [non-C99-based standards] (expm1f): Likewise.
75240         [non-C99-based standards] (ilogbf): Likewise.
75241         [non-C99-based standards] (log1pf): Likewise.
75242         [non-C99-based standards] (logbf): Likewise.
75243         [non-C99-based standards] (nextafterf): Likewise.
75244         [non-C99-based standards] (remainderf): Likewise.
75245         [non-C99-based standards] (rintf): Likewise.
75246         [non-C99-based standards] (scalbf): Likewise.
75247         [non-C99-based standards] (copysignl): Likewise.
75248         [non-C99-based standards] (exp2l): Likewise.
75249         [non-C99-based standards] (log2l): Likewise.
75250         [non-C99-based standards] (modfl): Allow.
75251         [non-C99-based standards] (erfl): Do not allow.
75252         [non-C99-based standards] (erfcl): Likewise.
75253         [non-C99-based standards] (gammal): Likewise.
75254         [non-C99-based standards] (hypotl): Likewise.
75255         [non-C99-based standards] (j0l): Likewise.
75256         [non-C99-based standards] (j1l): Likewise.
75257         [non-C99-based standards] (jnl): Likewise.
75258         [non-C99-based standards] (lgammal): Likewise.
75259         [non-C99-based standards] (tgammal): Likewise.
75260         [non-C99-based standards] (y0l): Likewise.
75261         [non-C99-based standards] (y1l): Likewise.
75262         [non-C99-based standards] (ynl): Likewise.
75263         [non-C99-based standards] (isnanl): Likewise.
75264         [non-C99-based standards] (acoshl): Likewise.
75265         [non-C99-based standards] (asinhl): Likewise.
75266         [non-C99-based standards] (atanhl): Likewise.
75267         [non-C99-based standards] (cbrtl): Likewise.
75268         [non-C99-based standards] (expm1l): Likewise.
75269         [non-C99-based standards] (ilogbl): Likewise.
75270         [non-C99-based standards] (log1pl): Likewise.
75271         [non-C99-based standards] (logbl): Likewise.
75272         [non-C99-based standards] (nextafterl): Likewise.
75273         [non-C99-based standards] (remainderl): Likewise.
75274         [non-C99-based standards] (rintl): Likewise.
75275         [non-C99-based standards] (scalbl): Likewise.
75276         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75277         [non-C99-based standards] (FP_*): Do not allow.
75278         [C99-based standards] (FP_*): Change to
75279         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75280         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75281         allow.
75282         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75283         (SIG_ERR): Likewise.
75284         [X/Open-based standards] (SIG_HOLD): Likewise.
75285         (SIG_IGN): Likewise.
75286         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75287         positive value.
75288         (SIGFPE): Likewise.
75289         (SIGILL): Likewise.
75290         (SIGINT): Likewise.
75291         (SIGSEGV): Likewise.
75292         (SIGTER): Likewise.
75293         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75294         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75295         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75296         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75297         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75298         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75299         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75300         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75301         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75302         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75303         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75304         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75305         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75306         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75307         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75308         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75309         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75310         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75311         [X/Open-based standards] (SIGTRAP): Likewise.
75312         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75313         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75314         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75315         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75316         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75317         allow.
75319 2012-05-08  Ian Wienand  <ianw@vmware.com>
75321         [BZ #14080]
75322         * time/tzset.c (__tzset_parse_tz): Update default rules for
75323         daylight time changes in the Energy Policy Act of 2005.
75325 2012-05-09  Andreas Jaeger  <aj@suse.de>
75327         [BZ #13983]
75328         * elf/ldconfig.c (parse_conf): Change string to make clear that
75329         ldconfig only issued a warning if ld.so.conf does not exist.
75331 2012-05-08  David S. Miller  <davem@davemloft.net>
75333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75334         movxtod instead of popping the value on the stack.
75336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75338 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75340         * config.h.in: Add HAVE_ARM_PCS_VFP.
75342 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75344         [BZ #13979]
75345         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75346         checking but the checks are disabled for any reason.
75348 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75350         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75351         and ELF64_R_TYPE with ELFW(R_TYPE).
75353 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75355         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75356         (ulimit): Likewise.
75358         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75359         (settimeofday): Likewise.
75361 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75363         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75364         a struct th_u2 inside the union, and move tu_block/tu_code into
75365         a new th_u3 union of tu_block/tu_code inside of that.  Move
75366         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75367         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75368         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75369         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75370         (th_stuff): Change to th_u1.tu_stuff.
75371         (th_data): Define.
75372         (th_msg): Change to th_u1.th_u2.tu_data.
75374 2012-05-07  David S. Miller  <davem@davemloft.net>
75376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75378         [BZ #14074]
75379         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75380         (SETUP_PIC_REG): Use it.
75381         (SETUP_PIC_REG_LEAF): Use it.
75383 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75385         [BZ #13885]
75386         [BZ #13923]
75387         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75388         USE_AS_EXPM1L.
75389         (EXPL_FINITE): Likewise.
75390         (FLDLOG): Likewise.
75391         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75392         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75393         e_expl.S.
75394         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75395         USE_AS_EXPM1L.
75396         (EXPL_FINITE): Likewise.
75397         (FLDLOG): Likewise.
75398         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75399         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75400         e_expl.S.
75401         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75402         test of -max_value argument for long double.
75403         * sysdeps/i386/fpu/libm-test-ulps: Update.
75404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75406 2012-05-06  David S. Miller  <davem@davemloft.net>
75408         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75409         quad soft-float symbols whose references which are compiler
75410         generated.
75411         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75413 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75415         [BZ #13884]
75416         [BZ #13914]
75417         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75418         USE_AS_EXP10L.
75419         (EXPL_FINITE): Likewise.
75420         (FLDLOG): Likewise.
75421         (c0): Likewise.
75422         (c1): Likewise.
75423         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75424         Adjust comments for base varying.
75425         (__expl_finite): Change alias to EXPL_FINITE.
75426         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75427         e_expl.S.
75428         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75429         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75430         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75431         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75432         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75433         USE_AS_EXP10L.
75434         (EXPL_FINITE): Likewise.
75435         (FLDLOG): Likewise.
75436         (c0): Likewise.
75437         (c1): Likewise.
75438         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75439         Adjust comments for base varying.
75440         (__expl_finite): Change alias to EXPL_FINITE.
75441         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75442         tests for bugs.
75443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75445         [BZ #14064]
75446         * math/libm-test.inc (check_float_internal): Correct ulp
75447         calculation for subnormal expected results.
75449 2012-05-06  Andreas Jaeger  <aj@suse.de>
75451         * Makeconfig (+math-flags): New, set to -frounding-math.
75452         (+cflags): Add +math-flags so that all of glibc gets compiled with
75453         it.
75455         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75457 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75459         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75460         Disable one test.
75462         [BZ #13787]
75463         [BZ #13922]
75464         [BZ #14036]
75465         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75466         (__ieee754_expl): Allow for and saturate large arguments.
75467         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75468         (u_threshold): Likewise.
75469         (__exp): Call __ieee754_exp before checking for overflow and
75470         underflow.
75471         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75472         (u_threshold): Likewise.
75473         (__expf): Call __ieee754_expf before checking for overflow and
75474         underflow.
75475         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75476         (u_threshold): Likewise.
75477         (__expl): Call __ieee754_expl before checking for overflow and
75478         underflow.
75479         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75480         (__ieee754_expl): Allow for and saturate large arguments.
75481         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75482         missing overflow exception on overflow.
75483         (expm1_test): Do not allow missing overflow exception on overflow.
75485         * sysdeps/i386/fpu/e_expl.c: Move to ...
75486         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
75487         rather than using inline asm.
75488         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
75489         * sysdeps/x86_64/fpu/e_expl.S: Copy from
75490         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
75492         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
75493         (nice): Likewise.
75494         (poll): Likewise.
75495         (signal): Likewise.
75496         (time): Likewise.
75497         (times): Likewise.
75499 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75501         * sysdeps/unix/syscalls.list (adjtime): Add entry from
75502         sysdeps/unix/common/syscalls.list.
75503         (fchmod): Likewise.
75504         (fchown): Likewise.
75505         (ftruncate): Likewise.
75506         (getrusage): Likewise.
75507         (gettimeofday): Likewise.
75508         (setpgid): Likewise.
75509         (setregid): Likewise.
75510         (setreuid): Likewise.
75511         (sigaction): Likewise.
75512         (truncate): Likewise.
75513         (vhangup): Likewise.
75514         * sysdeps/unix/common/syscalls.list: Remove file.
75515         * sysdeps/unix/bsd/Implies: Don't include unix/common.
75516         * sysdeps/unix/sysv/linux/Implies: Likewise.
75518 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
75520         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
75521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
75522         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
75523         Moved to ...
75524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
75525         Here.
75526         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
75527         to ...
75528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
75529         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
75530         to ...
75531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
75532         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
75533         to ...
75534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
75535         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
75536         to ...
75537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
75538         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
75539         to ...
75540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
75541         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
75542         to ...
75543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
75544         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
75545         to ...
75546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
75547         Here.
75548         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
75549         to ...
75550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
75551         Here.
75552         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
75553         to ...
75554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
75555         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
75556         Moved to ...
75557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
75558         Here.
75559         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
75560         to ...
75561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
75563 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75565         * sysdeps/unix/common/bits/dirent.h: Remove file.
75566         * sysdeps/unix/common/bits/fcntl.h: Likewise.
75568         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
75569         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
75570         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
75571         * sysdeps/unix/bsd/isatty.c: Likewise.
75572         * sysdeps/unix/bsd/tcdrain.c: Likewise.
75573         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
75574         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
75576 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75578         [BZ #13563]
75579         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
75580         long double comparison inaccuracies.
75581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
75582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75584 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
75586         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
75587         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
75589 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75591         [BZ #14049]
75592         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
75593         nonzero digits before rounding a hex value.
75594         * stdlib/tst-strtod.c (tests): Add another test.
75596 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75598         * sysdeps/s390/fpu/libm-test-ulps: Update.
75600 2012-05-03  Andreas Jaeger  <aj@suse.de>
75602         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
75603         does not get optimized out.
75604         (malloc_opt_barrier): New.
75606 2012-05-03  Andreas Jaeger  <aj@suse.de>
75607             Roland McGrath  <roland@hack.frob.com>
75609         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
75610         intermediate file deletion.
75611         (generated): Add .symlist files.
75613 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
75615         [BZ #13775]
75616         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
75617         Redirect under this condition.
75618         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75619         [__USE_GNU] (__dprintf_chk): Not under this condition.
75620         [__USE_GNU] (__vdprintf_chk): Likewise.
75621         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
75622         under this condition.
75623         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75624         [__USE_XOPEN2K8] (dprintf): Define under this condition.
75625         [__USE_XOPEN2K8] (vdprintf): Likewise.
75626         [__USE_GNU] (__dprintf_chk): Not under this condition.
75627         [__USE_GNU] (__vdprintf_chk): Likewise.
75628         [__USE_GNU] (dprintf): Likewise.
75629         [__USE_GNU] (vdprintf): Likewise.
75631 2012-05-03  Roland McGrath  <roland@hack.frob.com>
75633         * elf/Makefile (common-generated): Set this instead of generated for
75634         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
75635         $(all-built-dso)-derived lists.
75637 2012-05-03  Andreas Jaeger  <aj@suse.de>
75639         * sysdeps/i386/fpu/libm-test-ulps: Update.
75641         * FAQ: Removed.
75642         * FAQ.in: Likewise.
75643         * scripts/gen-FAQ.pl: Likewise.
75644         * manual/install.texi (Installation): Point to online location of
75645         FAQ.
75646         * Makefile (files-for-dist): Remove FAQ.
75647         (FAQ): Remove.
75649 2012-05-02  Allan McRae  <allan@archlinux.org>
75651         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
75652         (LDFLAGS-reldepmod5.so): Likewise.
75653         (LDFLAGS-reldep6mod1.so): Likewise.
75654         (LDFLAGS-reldep6mod4.so): Likewise.
75655         (LDFLAGS-reldep8mod3.so): Likewise.
75656         (LDFLAGS-unload4mod1.so): Likewise.
75657         (LDFLAGS-unload4mod2.so): Likewise.
75658         (LDFLAGS-tst-initorder): Likewise.
75659         (LDFLAGS-tst-initordera2.so): Likewise.
75660         (LDFLAGS-tst-initordera3.so): Likewise.
75661         (LDFLAGS-tst-initordera4.so): Likewise.
75662         (LDFLAGS-tst-initorderb2.so): Likewise.
75663         (LDFLAGS-noload): Likewise.
75664         (LDFLAGS-next): Likewise.
75665         (LDFLAGS-order2mod1.so): Likewise.
75666         (LDFLAGS-order2mod2.so): Likewise.
75667         (LDFLAGS-tst-initorder2): Likewise.
75668         (LDFLAGS-tst-initorder2a.so): Likewise.
75669         (LDFLAGS-tst-initorder2b.so): Likewise.
75670         (LDFLAGS-tst-initorder2c.so): Likewise.
75671         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
75673 2012-05-02  David S. Miller  <davem@davemloft.net>
75675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75677 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
75679         [BZ #14055]
75680         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
75682 2012-05-02  Andreas Jaeger  <aj@suse.de>
75684         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
75685         since we manipulate rounding mode.
75686         (CPPFLAGS-test-idouble.c): Likewise.
75687         (CPPFLAGS-test-ifloat.c): Likewise.
75688         (CFLAGS-test-ldouble.c): Likewise.
75689         (CFLAGS-test-double.c): Likewise.
75690         (CFLAGS-test-float.c): Likewise.
75691         (CFLAGS-test-misc.c): Likewise.
75692         (CFLAGS-test-test-fenv.c): Likewise.
75694 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75696         [BZ #2550]
75697         [BZ #2570]
75698         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
75699         comparisons to determine direction to adjust input.
75701 2012-05-01  Roland McGrath  <roland@hack.frob.com>
75703         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
75704         output to the target.
75706         * scripts/localplt.awk: New file.
75707         * elf/Makefile ($(objpfx)check-localplt): Target removed.
75708         (check-localplt-CFLAGS): Variable removed.
75709         ($(all-built-dso:=.jmprel)): New static pattern rule.
75710         (generated): Add those targets.
75711         (localplt-built-dso): New variable.
75712         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
75714         * elf/check-localplt.c: File removed.
75716         * scripts/check-execstack.awk: New file.
75717         * elf/Makefile ($(objpfx)check-execstack): Target removed.
75718         (check-execstack-CFLAGS): Variable removed.
75719         ($(objpfx)check-execstack.h): Target removed.
75720         ($(objpfx)execstack-default): New target.
75721         (generated): Add that instead of check-execstack.h.
75722         ($(all-built-dso:=.phdr)): New static pattern rule.
75723         (generated): Add those targets.
75724         * elf/check-execstack.c: File removed.
75726         * scripts/check-textrel.awk: New file.
75727         * elf/Makefile ($(objpfx)check-textrel): Target removed.
75728         (check-textrel-CFLAGS): Variable removed.
75729         (all-built-dso): Use := to define.o
75730         ($(all-built-dso:=.dyn)): New static pattern rule.
75731         (generated): Add those targets.
75732         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
75733         * config.make.in (READELF): New substituted variable.
75734         * elf/check-textrel.c: File removed.
75736 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75738         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75739         allow.
75740         * conform/data/ctype.h-data [C99-based standards] (isblank):
75741         Expect function.
75742         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
75743         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
75744         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75745         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
75746         Specify type.  Require positive value.
75747         (EILSEQ): Likewise.
75748         (ERANGE): Likewise.
75749         [ISO || POSIX] (EILSEQ): Do not expect.
75750         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75751         Specify type.  Require positive value.
75752         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
75753         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
75754         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
75755         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75756         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
75757         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
75758         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
75759         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
75760         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
75761         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
75762         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
75763         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
75764         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75765         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75766         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75767         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75768         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75769         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75770         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75771         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75772         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75773         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75774         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75775         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75776         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75777         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75778         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75779         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75780         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75781         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75782         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75783         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75784         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75785         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75786         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75787         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75788         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75789         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75790         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75791         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75792         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75793         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75794         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75795         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75796         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75797         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75798         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75799         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75800         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75801         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75802         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75803         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75804         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75805         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75806         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
75807         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
75808         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
75809         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75810         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
75811         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
75812         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
75813         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
75814         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
75815         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
75816         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
75817         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
75818         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
75819         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
75820         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
75821         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
75822         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
75823         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
75824         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
75825         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
75826         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
75827         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
75828         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
75829         Require >= 2.
75830         (FLT_ROUNDS): Expect as macro, not constant.
75831         (FLT_MANT_DIG): Use macro-int-constant.
75832         (DBL_MANT_DIG): Likewise.
75833         (LDBL_MANT_DIG): Likewise.
75834         (FLT_DIG): Likewise.
75835         (DBL_DIG): Likewise.
75836         (LDBL_DIG): Likewise.
75837         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
75838         (DBL_MIN_EXP): Likewise.
75839         (LDBL_MIN_EXP): Likewise.
75840         (FLT_MAX_EXP): Use macro-int-constant.
75841         (DBL_MAX_EXP): Likewise.
75842         (LDBL_MAX_EXP): Likewise.
75843         (FLT_MAX_10_EXP): Likewise.
75844         (DBL_MAX_10_EXP): Likewise.
75845         (LDBL_MAX_10_EXP): Likewise.
75846         (FLT_MAX): Use macro-constant.
75847         (DBL_MAX): Likewise.
75848         (LDBL_MAX): Likewise.
75849         (FLT_EPSILON): Use macro-constant.  Give upper bound.
75850         (DBL_EPSILON): Likewise.
75851         (LDBL_EPSILON): Likewise.
75852         (FLT_MIN): Likewise.
75853         (DBL_MIN): Likewise.
75854         (LDBL_MIN): Likewise.
75855         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
75856         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
75857         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
75858         [ISO11] (FLT_HAS_SUBNORM): Likewise.
75859         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
75860         [ISO11] (DBL_DECIMAL_DIG): Likewise.
75861         [ISO11] (FLT_DECIMAL_DIG): Likewise.
75862         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
75863         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
75864         [ISO11] (FLT_TRUE_MIN): Likewise.
75865         [ISO11] (LDBL_TRUE_MIN): Likewise.
75866         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75867         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
75868         (SCHAR_MIN): Use macro-int-constant.  Specify type.
75869         (SCHAR_MAX): Likewise.
75870         (UCHAR_MAX): Likewise.
75871         (CHAR_MIN): Likewise.
75872         (CHAR_MAX): Likewise.
75873         (MB_LEN_MAX): Use macro-int-constant.
75874         (SHRT_MIN): Use macro-int-constant.  Specify type.
75875         (SHRT_MAX): Likewise.
75876         (USHRT_MAX): Likewise.
75877         (INT_MAX): Likewise.
75878         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
75879         bound negative.
75880         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75881         bound with "U".
75882         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75883         bound with "L".
75884         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
75885         bound negative.  Suffix upper bound with "L".
75886         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75887         bound with "UL".
75888         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
75889         Specify type.
75890         [C99-based standards] (LLONG_MAX): Likewise.
75891         [C99-based standards] (ULLONG_MAX): Likewise.
75892         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
75893         == 0.
75894         [ISO11] (max_align_t): Require type.
75895         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75897         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
75898         from $CFLAGS, without defining away __attribute__ calls.
75899         (checknamespace): Use $CFLAGS_namespace.
75901         * conform/conformtest.pl (@keywords): Only include C99 keywords
75902         for standards based on C99 or C11.
75904         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
75905         Disable tests.
75906         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
75907         UNIX98]: Likewise.
75909         * conform/conformtest.pl: Handle "macro-int-constant" and test for
75910         usability of symbols in #if.
75912         * conform/conformtest.pl: If macro or constant types start
75913         "promoted:", expect the symbol to be of the following type
75914         promoted by the integer promotions.
75916         * conform/conformtest.pl: Parse all "constant" and "macro" lines
75917         in one place.  Also handle "macro-constant".
75919         * conform/conformtest.pl: Only accept expected macro values with
75920         "==".  Parse all "macro" lines in one place.
75921         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
75923         * conform/conformtest.pl: Handle braced types on "constant" lines
75924         instead of handling "typed-constant".
75925         * conform/data/signal.h-data: Use "constant" instead of
75926         "typed-constant".
75928         * conform/conformtest.pl: Handle "optional-" at start of lines in
75929         one place rather than duplicating several cases.  Handle each
75930         format of "macro" line with initial "optional-".
75932         * conform/conformtest.pl: Only accept expected constant or
75933         optional-constant values with "==".  Parse all "constant" lines in
75934         one place.  Parse all "optional-constant" lines in one place.
75935         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
75936         * conform/data/fmtmsg.h-data: Likewise.
75937         * conform/data/netinet/in.h-data: Likewise.
75938         * conform/data/tar.h-data: Likewise.
75939         * conform/data/limits.h-data: Use "==" form on "constant" and
75940         "optional-constant" lines.
75942         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
75943         Use -std=c99 for XOPEN2K.
75944         (@knownproblems): Remove.
75945         (newtoken): Don't check %isknown.
75947         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
75948         Do not expect macro.
75949         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
75950         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
75951         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
75952         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
75953         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
75954         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
75955         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
75956         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
75957         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
75958         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
75959         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
75960         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
75961         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
75962         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
75963         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
75964         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
75965         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
75966         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
75967         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
75968         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
75969         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
75970         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
75971         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
75972         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75973         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
75974         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
75975         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75976         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
75977         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
75978         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
75979         [XPG3] (acosh): Likewise.
75980         [XPG3] (asinh): Likewise.
75981         [XPG3] (atanh): Likewise.
75982         [XPG3] (cbrt): Likewise.
75983         [XPG3] (expm1): Likewise.
75984         [XPG3] (ilogb): Likewise.
75985         [XPG3] (log1p): Likewise.
75986         [XPG3] (logb): Likewise.
75987         [XPG3] (nextafter): Likewise.
75988         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
75989         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
75990         [XPG3] (remainder): Likewise.
75991         [XPG3] (rint): Likewise.
75992         [XPG3 || XPG4 || UNIX98] (round): Likewise.
75993         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
75994         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75995         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
75996         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
75997         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
75998         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
75999         [UNIX98 || XOPEN2K] (scalb): Expect.
76000         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76001         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76002         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76003         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76004         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76005         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76006         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76007         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76008         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76009         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76010         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76011         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76012         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76013         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76014         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76015         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76016         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76017         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76018         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76019         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76020         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76021         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76022         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76023         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76024         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76025         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76026         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76027         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76028         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76029         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76030         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76031         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76032         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76033         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76034         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76035         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76036         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76037         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76038         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76039         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76040         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76041         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76042         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76043         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76044         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76045         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76046         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76047         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76048         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76049         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76050         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76051         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76052         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76053         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76054         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76055         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76056         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76057         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76058         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76059         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76060         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76061         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76062         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76063         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76064         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76065         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76066         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76067         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76068         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76069         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76070         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76071         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76072         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76073         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76074         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76075         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76076         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76077         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76078         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76079         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76080         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76081         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76082         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76083         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76084         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76085         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76086         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76087         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76088         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76089         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76090         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76091         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76092         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76093         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76094         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76095         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76096         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76097         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76098         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76099         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76100         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76101         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76102         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76103         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76104         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76105         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76106         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76107         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76108         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76109         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76110         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76111         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76112         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76113         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76114         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76115         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76116         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76117         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76118         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76119         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76120         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76121         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76122         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76123         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76124         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76125         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76126         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76127         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76128         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76129         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76130         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76131         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76132         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76133         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76134         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76135         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76136         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76138         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76139         _XOPEN_SOURCE_EXTENDED for XPG4.
76141         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76143         * Makeconfig (localtime): Remove variable.
76144         (inst_localtime-file): Likewise.
76146 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76149         Update.
76150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76151         Update.
76152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76153         Update.
76154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76155         Update.
76156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76157         Update.
76158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76159         Update.
76160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76161         Update.
76162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76163         Update.
76164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76165         Update.
76167 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76169         [BZ #2550]
76170         [BZ #2570]
76171         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76172         comparisons to determine direction to adjust input.
76173         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76174         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76175         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76176         Likewise.
76177         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76178         Likewise.
76179         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76180         Likewise.
76181         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76182         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76183         Likewise.
76184         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76185         Likewise.
76186         * math/libm-test.inc (nexttoward_test): Add more tests.
76188 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76190         [BZ #14040]
76191         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76192         in version GLIBC_2.1, not GLIBC_2.0.
76193         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76194         Likewise.
76196 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76198         [BZ #13942]
76199         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76200         (1 - x) * (1 + x).
76201         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76202         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76203         * math/libm-test.inc (acos_test): Add more tests.
76204         (asin_test): Likewise.
76205         * sysdeps/i386/fpu/libm-test-ulps: Update.
76206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76208         [BZ #14034]
76209         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76210         of square root.
76211         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76212         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76213         * math/libm-test.inc (acos_test_tonearest): New function.
76214         (acos_test_towardzero): Likewise.
76215         (acos_test_downward): Likewise.
76216         (acos_test_upward): Likewise.
76217         (asin_test_tonearest): Likewise.
76218         (asin_test_towardzero): Likewise.
76219         (asin_test_downward): Likewise.
76220         (asin_test_upward): Likewise.
76221         (main): Call the new functions.
76222         * sysdeps/i386/fpu/libm-test-ulps: Update.
76223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76225         [BZ #13884]
76226         [BZ #13924]
76227         * math/e_exp10.c: Include <float.h>.
76228         (__ieee754_exp10): Handle underflow here rather than multiplying
76229         large negative argument by M_LN10.
76230         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76231         of __ieee754_expf.
76232         * math/e_exp10l.c: Include <float.h>.
76233         (__ieee754_exp10l): Handle underflow here rather than multiplying
76234         large negative argument by M_LN10l.
76235         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76236         spurious overflow exception on underflow.
76238 2012-04-29  Marek Polacek  <polacek@redhat.com>
76240         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76241         (__fortify_function): New macro.
76242         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76243         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76244         __extern_always_inline.
76245         * libio/bits/stdio2.h: Likewise.
76246         * libio/bits/stdio.h: Likewise.
76247         * string/string.h: Likewise.
76248         * string/bits/string3.h: Likewise.
76249         * include/stdio.h: Likewise.
76250         * stdlib/bits/stdlib.h: Likewise.
76251         * stdlib/stdlib.h: Likewise.
76252         * rt/bits/mqueue2.h: Likewise.
76253         * rt/mqueue.h: Likewise.
76254         * posix/bits/unistd.h: Likewise.
76255         * posix/unistd.h: Likewise.
76256         * io/bits/poll2.h: Likewise.
76257         * io/bits/fcntl2.h: Likewise.
76258         * io/fcntl.h: Likewise.
76259         * io/sys/poll.h: Likewise.
76260         * misc/bits/syslog.h: Likewise.
76261         * misc/bits/syslog-ldbl.h: Likewise.
76262         * misc/sys/syslog.h: Likewise.
76263         * socket/bits/socket2.h: Likewise.
76264         * socket/sys/socket.h: Likewise.
76265         * debug/tst-chk1.c: Likewise.
76266         * wcsmbs/bits/wchar2.h: Likewise.
76267         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76268         * wcsmbs/wchar.h: Likewise.
76270 2012-04-29  Andreas Jaeger  <aj@suse.de>
76272         * Makerules (tests): Remove enable-check-abi protection.
76273         (check-abi-warn): Remove.
76274         (check-abi-%): Remove check-abi-warn usage.
76276         * configure.in: Remove check-abi configure option.
76277         * configure: Regenerated.
76278         * config.make.in (enable-check-abi): Remove.
76280 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76282         [BZ #14033]
76283         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76284         double functions to double *_finite functions.
76286         [BZ #13941]
76287         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76288         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76289         LDBL_MIN_EXP.
76290         * stdio-common/Makefile (tests): Add tst-sprintf3.
76291         * stdio-common/tst-sprintf3.c: New file.
76293         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76294         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76296 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76298         * conform/conformtest.pl: Remove duplicate typed-constant
76299         handling.
76301 2012-04-28  David S. Miller  <davem@davemloft.net>
76303         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76304         (check-abi-%): Remove AWK script prerequisite and explicit
76305         abilist directory.
76306         (check-abi): Rewrite to just diff the symlist with the abilist.
76307         (config-tls, config-abi-config): Delete, no longer used.
76308         (update-abi-%): Remove AWK script and explicit abilist directory.
76309         (update-abi): Rewrite to simply compare and conditionally copy the
76310         symlist and the sysdep abilist file.  Remove update-abi-config
76311         checks.
76312         * abilist/ld.abilist: Remove.
76313         * abilist/libBrokenLocale.abilist: Remove.
76314         * abilist/libanl.abilist: Remove.
76315         * abilist/libcrypt.abilist: Remove.
76316         * abilist/libdl.abilist: Remove.
76317         * abilist/librt.abilist: Remove.
76318         * abilist/libthread_db.abilist: Remove.
76319         * abilist/libutil.abilist: Remove.
76320         * scripts/extract-abilist.awk: Remove.
76321         * scripts/merge-abilist.awk: Remove.
76322         * sysdeps/generic/libcidn.abilist: New file.
76323         * sysdeps/generic/libnss_compat.abilist: New file.
76324         * sysdeps/generic/libnss_db.abilist: New file.
76325         * sysdeps/generic/libnss_dns.abilist: New file.
76326         * sysdeps/generic/libnss_files.abilist: New file.
76327         * sysdeps/generic/libnss_hesiod.abilist: New file.
76328         * sysdeps/generic/libnss_nis.abilist: New file.
76329         * sysdeps/generic/libnss_nisplus.abilist: New file.
76330         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76331         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76332         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76333         file.
76334         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76335         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76336         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76337         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76338         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76339         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76340         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76341         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76342         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76343         file.
76344         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76345         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76346         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76347         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76348         file.
76349         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76350         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76351         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76352         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76353         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76354         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76355         file.
76356         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76357         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76358         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76359         file.
76360         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76362         New file.
76363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76364         New file.
76365         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76366         New file.
76367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76368         New file.
76369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76370         New file.
76371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76372         New file.
76373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76374         New file.
76375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76376         New file.
76377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76378         New file.
76379         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76380         New file.
76381         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76382         New file.
76383         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76384         New file.
76385         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76386         New file.
76387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76388         file.
76389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76390         New file.
76391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76392         New file.
76393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76394         file.
76395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76396         New file.
76397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76398         New file.
76399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76400         file.
76401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76402         New file.
76403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76404         New file.
76405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76406         New file.
76407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76408         New file.
76409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76410         New file.
76411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76412         New file.
76413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76415         file.
76416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76417         New file.
76418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76419         file.
76420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76421         file.
76422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76423         file.
76424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76425         file.
76426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76427         file.
76428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76429         New file.
76430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76431         file.
76432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76433         file.
76434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76435         New file.
76436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76437         file.
76438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76440         file.
76441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76442         New file.
76443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76444         file.
76445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76446         file.
76447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76448         file.
76449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76450         file.
76451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76452         file.
76453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76454         New file.
76455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76456         file.
76457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76458         file.
76459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76460         New file.
76461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76462         file.
76463         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76464         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76465         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76466         file.
76467         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76468         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76469         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76470         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76471         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76472         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76473         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76474         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76475         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76476         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76479         file.
76480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76481         New file.
76482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76483         file.
76484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
76485         file.
76486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
76487         file.
76488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
76489         file.
76490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
76491         file.
76492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
76493         New file.
76494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
76495         New file.
76496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
76497         file.
76498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
76499         New file.
76500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
76501         file.
76502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
76503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
76504         file.
76505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
76506         New file.
76507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
76508         file.
76509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
76510         file.
76511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
76512         file.
76513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
76514         file.
76515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
76516         file.
76517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
76518         New file.
76519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
76520         New file.
76521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
76522         file.
76523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
76524         New file.
76525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
76526         file.
76528 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76530         * conform/conformtest.pl: Fix typo in handling typed-constant from
76531         allow-header.
76533 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76535         * README: Cut down references to pre-2.6 Linux kernels and
76536         Linuxthreads.  Update lists of configurations in libc and ports
76537         and sort alphabetically.  Say "or newer" with Linux kernel version
76538         requirements.
76540         * config.h.in [IS_IN_build]: Allow compiling without optimization.
76542 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
76544         [BZ #887]
76545         * math/libm-test.inc (logb_test_downward): New test to expose
76546         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
76547         rounding mode.
76549 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76551         [BZ #14027]
76552         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
76553         to be done.
76554         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
76555         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
76557 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
76559         * sysdeps/unix/i386/brk.S: Remove file.
76560         * sysdeps/unix/i386/dl-brk.S: Likewise.
76561         * sysdeps/unix/i386/pipe.S: Likewise.
76562         * sysdeps/unix/i386/sigreturn.S: Likewise.
76563         * sysdeps/unix/i386/syscall.S: Likewise.
76564         * sysdeps/unix/i386/vfork.S: Likewise.
76565         * sysdeps/unix/i386/wait.S: Likewise.
76567         * sysdeps/unix/common/tcsendbrk.c: Move to ...
76568         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
76570         * configure.in (arm*-none*): Do not allow without
76571         --enable-hacker-mode.
76572         (netbsd*): Remove case setting base_os.
76573         (386bsd*): Likewise.
76574         (freebsd*): Likewise.
76575         (bsdi*): Likewise.
76576         (osf*): Likewise.
76577         (sunos*): Likewise.
76578         (ultrix*): Likewise.
76579         (newsos*): Likewise.
76580         (dynix*): Likewise.
76581         (*bsd*): Likewise.
76582         (sysv*): Likewise.
76583         (isc*): Likewise.
76584         (esix*): Likewise.
76585         (sco*): Likewise.
76586         (minix*): Likewise.
76587         (irix4*): Likewise.
76588         (irix6*): Likewise.
76589         (solaris[2-9]*): Likewise.
76590         (none): Likewise.
76591         * configure: Regenerated.
76593 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76595         [BZ #11521]
76596         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
76597         overflow or cancellation in calculating denominator.
76598         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
76599         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
76600         down expression to avoid unexpected rounding in newer GCCs.
76601         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
76603 2012-04-26  David S. Miller  <davem@davemloft.net>
76605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
76606         long-double compat symbols.
76607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
76608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
76609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
76610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
76611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
76612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
76613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
76614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
76615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
76616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
76617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
76618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
76619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76621 2012-04-25  David S. Miller  <davem@davemloft.net>
76623         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
76624         HWCAP_* values only after the memory barriers have been defined.
76625         (atomic_full_barrier): Define.
76626         (atomic_read_barrier): Define.
76627         (atomic_write_barrier): Define.
76629 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76631         * shlib-versions: Add libgcc_s version information.
76632         * sysdeps/generic/libgcc_s.h: Remove.
76633         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
76634         libgcc_s.h.
76635         * sysdeps/gnu/unwind-resume.c: Likewise.
76636         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
76638 2012-04-25  David S. Miller  <davem@davemloft.net>
76640         * sysdeps/unix/sparc/brk.S: Delete.
76641         * sysdeps/unix/sparc/dl-brk.S: Delete.
76642         * sysdeps/unix/sparc/pipe.S: Delete.
76643         * sysdeps/unix/sparc/sysdep.S: Delete.
76644         * sysdeps/unix/sparc/sysdep.h: Delete.
76645         * sysdeps/unix/sparc/vfork.S: Delete.
76646         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
76647         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
76648         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
76649         (ret_ERRVAL, r0, r1, MOVE): Define.
76650         (JUMPTARGET): Remove.
76651         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
76652         sysdeps/unix/sparc/sysdep.h
76653         (ENTRY, END): Remove.
76654         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76656 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
76658         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
76659         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
76660         -DIS_IN_build.
76662         * timezone/README: Update upstream location and email address for
76663         tzcode and tzdata.
76664         * timezone/zdump.c: Update from tzcode 2012b.
76665         * timezone/zic.c: Likewise.
76667         * configure.in (libc_cv_as_needed): Remove test.
76668         * configure: Regenerated.
76669         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
76670         conditional definition.
76671         [$(have-as-needed) != yes] (no-as-needed): Likewise.
76672         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
76673         * config.make.in (have-as-needed): Remove variable.
76675 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76676             Paul Pluzhnikov  <ppluzhnikov@google.com>
76678         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
76679         strings correctly.
76681 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
76683         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
76684         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
76685         * sysdeps/sh/strlen.S: Likewise.
76687 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76689         * sysdeps/unix/fork.S: Remove file.
76690         * sysdeps/unix/i386/fork.S: Likewise.
76691         * sysdeps/unix/sparc/fork.S: Likewise.
76693         * sysdeps/unix/system.c: Remove file.
76694         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
76696         * sysdeps/unix/getegid.S: Remove file.
76697         * sysdeps/unix/geteuid.S: Likewise.
76699 2012-04-24  Roland McGrath  <roland@hack.frob.com>
76701         * scripts/check-localplt.awk: New file.
76702         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
76703         of diff.
76704         * scripts/data/localplt-generic.data: Add a comment.
76706         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
76707         NODE when __dir_mkfile failed.
76708         * sysdeps/mach/hurd/symlinkat.c: Likewise.
76709         Reported by Ludovic Courtès <ludo@gnu.org>.
76711 2012-04-24  Andreas Jaeger  <aj@suse.de>
76713         * Makerules (common-clean): Also remove gen-as-const-headers
76714         files.
76716 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76718         * Makerules (native-compile): Do not change working directory for
76719         build.  Use $(OUTPUT_OPTION) in command.
76720         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
76722 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76724         [BZ #13886]
76725         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
76726         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
76727         * math/libm-test.inc (floor_test): Add more tests.
76728         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
76730 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76732         * sysdeps/unix/getdents.c: Remove file.
76733         * sysdeps/unix/sysv/getdents.c: Likewise.
76734         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
76736         * sysdeps/unix/syscalls.list (madvise): Add syscall from
76737         sysdeps/unix/mman/syscalls.list.
76738         (mmap): Likewise.
76739         (mprotect): Likewise.
76740         (msync): Likewise.
76741         (munmap): Likewise.
76742         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
76743         * sysdeps/unix/mman/syscalls.list: Remove.
76744         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
76746         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
76747         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
76748         * configure: Regenerated.
76749         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
76750         $(libgcc_s_suffix).
76751         * config.make.in (libgcc_s_suffix): Remove variable.
76753 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
76755         * sysdeps/unix/sysv/gethostname.c: Move to ...
76756         * sysdeps/posix/gethostname.c: ... here.
76758         * sysdeps/unix/execve.S: Remove file.
76760         * sysdeps/unix/_exit.S: Remove file.
76762 2012-04-23  Andreas Jaeger  <aj@suse.de>
76764         [BZ #13739]
76765         * manual/Makefile: Remove make dist support, there's no
76766         need for a stand-alone documentation tar ball.
76767         (TEXI2DVI): Define always, it's not in Makeconfig.
76768         (dist): Removed.
76769         (tar-it): Removed.
76770         (edition): Removed.
76771         (glibc-doc-$(edition).tar): Removed
76772         (%.Z): Removed.
76773         (%.gz): Removed.
76774         (%.uu): Removed.
76775         (ETAGS): Remove, it's in Makeconfig.
76776         (move-if-change): Remove, it's in Makeconfig.
76778 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76780         [BZ #13970]
76781         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76782         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76783         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76784         (strtod_l, strtof_l, strtold_l): Remove __wur.
76785         It is not necessarily an error to ignore strtol's return value.
76786         One can reliably look at the stored endptr to decide whether
76787         the number had valid syntax.
76789 2012-04-21  Andreas Jaeger  <aj@suse.de>
76791         [BZ #13739]
76792         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76794 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76796         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76797         * sysdeps/unix/sysv/Versions: Remove file.
76799 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76801         [BZ #13927]
76802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76804 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76806         [BZ #7064]
76807         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
76808         version from __vm86.
76810 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
76812         * sysdeps/unix/common/lxstat.c: Remove file.
76813         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
76815         * sysdeps/unix/sysv/Makefile: Remove file.
76817         * sysdeps/unix/sysv/direct.h: Remove file.
76819         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
76820         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
76821         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
76822         * sysdeps/unix/sysv/bits/signum.h: Likewise.
76823         * sysdeps/unix/sysv/bits/stat.h: Likewise.
76824         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
76825         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
76827         * sysdeps/unix/sysv/setrlimit.c: Remove file.
76829         * sysdeps/unix/xmknod.c: Remove file.
76830         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
76832         * sysdeps/unix/sysv/settimeofday.c: Remove file.
76834         * sysdeps/unix/sysv/i386/time.S: Remove file.
76836         * sysdeps/unix/fxstat.c: Remove file.
76837         * sysdeps/unix/xstat.c: Likewise.
76838         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
76840         * sysdeps/unix/sysv/sigaction.c: Remove file.
76842         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
76843         (sysdep_headers): Remove variable.
76844         [termio.h not in sysdep_headers] (generated): Likewise.
76845         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
76846         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
76847         * sysdeps/unix/sysv/tcdrain.c: Likewise.
76848         * sysdeps/unix/sysv/tcflow.c: Likewise.
76849         * sysdeps/unix/sysv/tcflush.c: Likewise.
76850         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
76851         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
76852         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
76853         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
76854         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
76856         * sysdeps/unix/siglist.c: Remove file.
76858         * sysdeps/unix/getppid.S: Remove file.
76860         * sysdeps/unix/mkdir.c: Remove file.
76861         * sysdeps/unix/rmdir.c: Likewise.
76863 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
76865         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
76866         ERR_MAX value.
76867         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
76868         errlist-compat value.
76870 2012-04-18  David S. Miller  <davem@davemloft.net>
76872         * sysdeps/generic/memcopy.h (reg_char): Delete.
76873         * debug/strcat_chk.c: Use char, not reg_char.
76874         * debug/strcpy_chk.c: Likewise.
76875         * debug/strncat_chk.c: Likewise.
76876         * debug/strncpy_chk.c: Likewise.
76877         * string/memchr.c: Likewise.
76878         * string/memrchr.c: Likewise.
76879         * string/rawmemchr.c: Likewise.
76880         * string/strcat.c: Likewise.
76881         * string/strchr.c: Likewise.
76882         * string/strchrnul.c: Likewise.
76883         * string/strcmp.c: Likewise.
76884         * string/strcpy.c: Likewise.
76885         * string/strncat.c: Likewise.
76886         * string/strncmp.c: Likewise.
76887         * string/strncpy.c: Likewise.
76889 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76891         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
76892         __builtin_memcopy is called when src and dest ranges are known to not
76893         overlap.
76895 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76897         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
76898         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
76899         fwd_align_merge macro call.
76900         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
76901         bwd_align_merge macro call.
76902         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76904 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76906         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76907         bwd_align_merge macros.
76908         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
76909         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
76910         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76912 2012-04-18  David S. Miller  <davem@davemloft.net>
76914         * sysdeps/sparc/sparc64/memcopy.h: Delete.
76916 2012-04-18  Andreas Jaeger  <aj@suse.de>
76918         [BZ# 6794]
76919         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
76920         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
76921         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76923         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
76924         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
76925         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76927         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
76928         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76929         Adjust for changed ldbl-128 files.
76931         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
76932         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
76933         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76935 2012-04-17  David S. Miller  <davem@davemloft.net>
76937         * sysdeps/sparc/sparc32/memcopy.h: Delete.
76939 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
76941         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
76942         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
76943         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
76944         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76945         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
76946         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
76948 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76950         [BZ #6794]
76951         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
76952         * math/libm-test.inc: Add ilogb errno and exception tests.
76953         * math/w_ilogb.c: New file: ilogb wrapper.
76954         * math/w_ilogbf.c: New file: ilogbf wrapper.
76955         * math/w_ilogbl.c: New file: ilogbl wrapper.
76956         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
76957         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
76958         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
76959         exception being thrown with 0.0 as argument.
76960         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
76961         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
76962         exception being thrown with 0.0 as argument.
76963         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
76964         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76965         exception being thrown with 0.0 as argument.
76966         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
76967         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76968         exception being thrown with 0.0 as argument.
76969         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
76970         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
76971         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76972         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
76973         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
76974         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
76975         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
76976         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
76977         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
76979 2012-04-17  Petr Baudis  <pasky@ucw.cz>
76981         * include/sys/uio.h: Change __vector to __iovec to avoid clash
76982         with altivec.
76984 2012-04-16  Marek Polacek  <polacek@redhat.com>
76986         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
76988 2012-04-16  Marek Polacek  <polacek@redhat.com>
76990         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76991         operands of fdivp instruction.
76993 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76995         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
76996         * elf/tst-auditmod3b.c: Likewise.
76997         * elf/tst-auditmod4b.c: Likewise.
76998         * elf/tst-auditmod5b.c: Likewise.
76999         * elf/tst-auditmod6b.c: Likewise.
77000         * elf/tst-auditmod6c.c: Likewise.
77001         * elf/tst-auditmod7b.c: Likewise.
77002         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77003         * sysdeps/x86_64/preconfigure.in: Likewise.
77004         * sysdeps/x86_64/preconfigure: Regenerated.
77006 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77008         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77009         __ILP32__.
77011 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77013         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77014         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77016 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77018         [BZ #13973]
77019         * locale/iso-639.def: Fix gl language name. Spotted by
77020         Yaron Shahrabani.
77022 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77024         [BZ #2074]
77025         * libio/libio.h (__io_write_fn): Update comment.
77027 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77029         [BZ #2074]
77030         * stdio.texi (Hook Functions): The user provided writer function
77031         is not allowed to return -1.
77033 2012-04-11  David S. Miller  <davem@davemloft.net>
77035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77037 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77039         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77040         Add a leading slash to rtkaio.
77042 2012-04-11  Jim Meyering  <meyering@redhat.com>
77044         [BZ #11959]
77045         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77046         It is not necessarily an error to ignore fwrite's return
77047         value.  One can reliably use ferror to test for errors after
77048         the fact.
77050 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77052         * bits/types.h (__snseconds_t): New type.
77053         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77055         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77056         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77057         (__SNSECONDS_T_TYPE): Likewise.
77058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77059         (__SNSECONDS_T_TYPE): Likewise.
77060         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77061         (__SNSECONDS_T_TYPE): Likewise.
77063 2012-04-10  Andreas Jaeger  <aj@suse.de>
77065         [BZ #2636]
77066         * manual/time.texi (Processor Time): Return type of times is
77067         elapsed real time since an arbitrary point in the past.
77068         (CPU Time): Move CLK_TCK from here...
77069         (Processor Time): ...to here.  Correct description.
77070         * manual/conf.texi (Constants for Sysconf): Correct description of
77071         _SC_CLK_TCK.
77073 2012-04-10  David S. Miller  <davem@davemloft.net>
77075         [BZ #13967]
77076         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77077         where the is a gap between DT_REL(A) and DT_JMPREL.
77079 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77081         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77082         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77083         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77085 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77087         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77088         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77089         (dl_main): Handle --inhibit-cache.
77090         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77091         _dl_inhibit_cache.
77092         * elf/dl-load.c (_dl_map_object): Use it.
77093         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77095 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77097         [BZ #13872]
77098         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77099         (__ieee754_powl): Saturate large exponents rather than testing for
77100         overflow of y*log2(x).
77101         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77102         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77103         exceptions.
77105         [BZ #11521]
77106         * math/s_ctan.c: Include <float.h>.
77107         (__ctan): Avoid internal overflow or cancellation in calculating
77108         denominator.
77109         * math/s_ctanf.c: Likewise.
77110         * math/s_ctanl.c: Likewise.
77111         * math/s_ctanh.c: Likewise.
77112         * math/s_ctanhf.c: Likewise.
77113         * math/s_ctanhl.c: Likewise.
77114         * math/libm-test.inc (ctan_test): Add more tests.
77115         (ctanh_test): Likewise.
77116         * sysdeps/i386/fpu/libm-test-ulps: Update.
77117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77119 2012-04-09  Andreas Jaeger  <aj@suse.de>
77121         [BZ #6894]
77122         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77123         is an optional BSD extension.
77125         [BZ #10254]
77126         * manual/stdio.texi (Opening Streams): Document additional fopen
77127         parameters.
77129 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77131         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77132         %eax without telling the compiler.
77134 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77136         [BZ # 13963]
77137         * manual/install.texi: Use sourceware.org.
77139 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77141         [BZ #13873]
77142         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77143         (__ieee754_pow): Generate overflow and underflow using huge*huge
77144         and tiny*tiny rather than just returning constant infinity or zero
77145         for large exponents.
77146         * math/libm-test.inc (pow_test): Require overflow exceptions for
77147         applicable cases of large exponents.
77149         [BZ #706]
77150         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77151         (__ieee754_pow): Use iterative multiplication algorithm only for
77152         integer exponents with absolute value below 1024.  Check for odd
77153         integer exponents when using algorithm for real exponents.
77154         * math/libm-test.inc (pow_test): Add more tests.
77155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77157 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77159         [BZ #13705]
77160         * math/libm-test.inc (exp_test): Do not allow overflow exception
77161         on underflow test.
77163 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77165         [BZ #13705]
77166         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77167         instead of __kernel_standard_f.
77169 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77171         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77172         * sysdeps/x86_64/memset_chk.S: Likewise.
77174 2012-04-08  Andreas Jaeger  <aj@suse.de>
77176         [BZ #10153]
77177         * manual/startup.texi (Environment Access): Describe return value
77178         for putenv and setenv.
77180         [BZ #6895]
77181         * manual/filesys.texi (Directory Entries): Add description for
77182         DT_LNK.
77184         [BZ #6890]
77185         * manual/filesys.texi (Directory Entries): Clarify that it's file
77186         system not operating system in the description of DT_UNKNOWN.
77188         [BZ #6578]
77189         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77191 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77193         [BZ #6649]
77194         * manual/llio.texi (Opening and Closing Files): Add cross
77195         reference to explain mode argument.
77197 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77199         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77200         * sysdeps/x86_64/memset_chk.S: Likewise.
77202 2012-04-07  David S. Miller  <davem@davemloft.net>
77204         * elf/elf.h (R_SPARC_WDISP10): Define.
77205         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77206         R_SPARC_SIZE32.
77207         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77208         R_SPARC_SIZE64 and R_SPARC_H34.
77210 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77212         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77213         conditions and remove no longer applicable assertion.
77215 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77217         * bits/byteswap.h: Include <features.h>.
77218         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77219         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77221 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77223         * bits/byteswap.h (__bswap_16): Removed.
77224         Include <bits/byteswap-16.h> to get __bswap_16.
77225         * sysdeps/i386/bits/byteswap.h: Likewise.
77226         * sysdeps/s390/bits/byteswap.h: Likewise.
77227         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77228         * bits/byteswap-16.h: New file.
77229         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77230         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77231         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77232         * string/Makefile (headers): Add bits/byteswap-16.h.
77234 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77236         [BZ #13895]
77237         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77238         extra indirection.
77239         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77240         * nss/tst-nss-static.c: New.
77242 2012-04-06  Robert Millan  <rmh@gnu.org>
77244         [BZ #6486]
77245         * manual/llio.texi (File Position Primitive): lseek
77246         refers to WHENCE when it really means OFFSET.
77248 2012-04-06  Andreas Jaeger  <aj@suse.de>
77250         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77251         strncmp declarations.
77253         * abilist/libc.abilist: Add __poll and __ppoll.
77255 2012-04-05  David S. Miller  <davem@davemloft.net>
77257         * scripts/check-local-headers.sh: Accept a host triplet in the
77258         path matched by the exclude regexp.
77260         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77261         definition.
77262         * sysdeps/powerpc/powerpc32/dl-machine.h
77263         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77264         * sysdeps/s390/s390-32/dl-machine.h
77265         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77266         * sysdeps/sparc/sparc32/dl-machine.h
77267         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77268         * sysdeps/sparc/sparc64/dl-machine.h
77269         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77271         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77272         lazy binding.
77273         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77274         undefined symbol errors.
77276         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77277         DT_NEEDED entries.
77279 2012-04-05  Michael Matz  <matz@suse.de>
77281         [BZ #13592]
77282         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77284 2012-04-05  Andreas Jaeger  <aj@suse.de>
77286         [BZ #13908]
77287         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77288         comment.
77290 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77292         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77293         which ROUND is no valid rounding mode.
77295 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77297         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77298         read again.
77299         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77301 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77303         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77304         an exception using FPU order intentionally.
77306 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77308         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77309         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77310         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77311         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77313 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77315         [BZ #12340]
77316         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77317         EINVAL when BUFLEN is too smal.
77319 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77321         [BZ #13553]
77322         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77323         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77325 2012-04-03  Andreas Jaeger  <aj@suse.de>
77327         [BZ #13938]
77328         * manual/setjmp.texi (System V contexts): Fix sentence.
77330         [BZ #13926]
77331         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77332         New macro for this case.
77333         [!__GNUC__] (__bswap_64): New inline function for this case.
77334         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77335         * bits/byteswap.h: Likewise.
77336         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77337         ull, guard with __GLIBC_HAVE_LONG_LONG.
77339         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77340         __GLIBC_HAVE_LONG_LONG.
77342         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77343         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77345 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77347         [BZ #13691]
77348         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77349         inptr and inend, rather than using last_ch.
77351 2012-04-02  David S. Miller  <davem@davemloft.net>
77353         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77354         * stdio-common/printf-parse.h (read_int): Change return type to
77355         'int', return -1 on INT_MAX overflow.
77356         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77357         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77358         overflows INT_MAX.  Check for overflow of in-format-string precision
77359         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77360         SIZE_MAX not INT_MAX for integer overflow test.
77361         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77362         skip the construct in the format string but do not record anything.
77363         * stdio-common/bug22.c: Adjust to test both width/prevision
77364         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77365         explicitly for proper errno values.
77367 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77369         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77370         CHAR_MAX.
77371         * string/test-strcmp.c [! WIDE]: Likewise.
77372         * time/tst-mktime2.c: Likewise for INT_MAX.
77373         * string/test-string.h: #include <sys/param.h> for MIN.
77375         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77376         * sysdeps/i386/init-first.c (init): Likewise.
77377         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77378         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77379         * sysdeps/sh/init-first.c (init): Likewise.
77381 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77383         * po/ru.po: Update from translation team.
77384         * po/vi.po: Likewise.
77386 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77388         * resolv/nss_dns/dns-host.c: Merge copyright years.
77390 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77392         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77393         Optimize memcpy with prefetch if
77394         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77395         src, dst pointers have unequal 16 byte alignments.
77397 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77399         [BZ #13928]
77400         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77401         from a CNAME entry and return the minimum ttl for the query.
77402         (gaih_getanswer_slice): Likewise.
77404 2012-03-30  Jeff Law  <law@redhat.com>
77406         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77407         due to long keys.
77408         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77409         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77411         * resolv/nss_dns/dns-host.c: Update copyright year.
77413 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77415         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77416         requests to save a system call.  Fix check that all bytes are sent.
77418         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77419         comments for sendmmsg.
77421 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77423         [BZ #13691]
77424         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77425         with only 1 character between 0x0041 and 0x01b0.
77426         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77427         * wcsmbs/tst-mbsnrtowcs.c: New file.
77429 2012-03-29  David S. Miller  <davem@davemloft.net>
77431         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77432         small copies by hand.
77434 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77436         [BZ #13761]
77437         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77438         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77439         group memberships.
77441 2012-03-28  David S. Miller  <davem@davemloft.net>
77443         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77444         that branches into memcpy.
77445         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77446         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77448         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77450         bits.
77451         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77452         implementation too.
77453         * sysdeps/sparc/mempcpy.S: New file.
77455         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77456         the IFUNC routine in the libc case.
77457         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77459         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77460         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77461         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77462         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77463         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77464         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77465         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77466         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77468         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77469         loop to 256 bytes instead of 64 bytes and fix test signedness.
77471         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77472         * sysdeps/sparc/sparc32/Makefile: rather than here...
77473         * sysdeps/sparc/sparc64/Makefile: and here.
77475 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77477         * malloc/mallocbug.c: Avoid warnings about unused variables.
77479 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77481         [BZ #13760]
77482         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77483         in the right place. Discard and retry query if response is
77484         larger than input buffer size.
77486 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
77488         [BZ #369]
77489         [BZ #2678]
77490         [BZ #3866]
77491         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
77492         x for large integer exponent.
77493         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
77494         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
77495         sign of result as needed afterwards.
77496         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
77497         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
77498         result for underflowing pow the same as for overflow.
77499         (__kernel_standard_l): Handle powl overflow and underflow here
77500         rather than calling __kernel_standard.
77501         * math/libm-test.inc (pow_test): Add more tests.
77503         [BZ #3868]
77504         [BZ #13879]
77505         [BZ #13910]
77506         [BZ #13911]
77507         [BZ #13912]
77508         [BZ #13913]
77509         [BZ #13915]
77510         [BZ #13916]
77511         [BZ #13917]
77512         [BZ #13918]
77513         [BZ #13919]
77514         [BZ #13920]
77515         [BZ #13921]
77516         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
77517         * sysdeps/ieee754/k_standard.c: Include <float.h>.
77518         (__kernel_standard_l): New function.
77519         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
77520         __kernel_standard.
77521         * math/w_acosl.c (__acosl): Likewise.
77522         * math/w_asinl.c (__asinl): Likewise.
77523         * math/w_atan2l.c (__atan2l): Likewise.
77524         * math/w_atanhl.c (__atanhl): Likewise.
77525         * math/w_coshl.c (__coshl): Likewise.
77526         * math/w_exp10l.c (__exp10l): Likewise.
77527         * math/w_exp2l.c (__exp2l): Likewise.
77528         * math/w_fmodl.c (__fmodl): Likewise.
77529         * math/w_hypotl.c (__hypotl): Likewise.
77530         * math/w_j0l.c (__j0l, __y0l): Likewise.
77531         * math/w_j1l.c (__j1l, __y1l): Likewise.
77532         * math/w_jnl.c (__jnl, __ynl): Likewise.
77533         * math/w_lgammal.c (__lgammal): Likewise.
77534         * math/w_log10l.c (__log10l): Likewise.
77535         * math/w_log2l.c (__log2l): Likewise.
77536         * math/w_logl.c (__logl): Likewise.
77537         * math/w_powl.c (__powl): Likewise.
77538         * math/w_remainderl.c (__remainderl): Likewise.
77539         * math/w_scalbl.c (sysv_scalbl): Likewise.
77540         * math/w_sinhl.c (__sinhl): Likewise.
77541         * math/w_sqrtl.c (__sqrtl): Likewise.
77542         * math/w_tgammal.c (__tgammal): Likewise.
77543         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
77544         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
77545         * math/libm-test.inc (acos_test): Add more tests.
77546         (acosh_test): Likewise.
77547         (asin_test): Likewise.
77548         (atanh_test): Likewise.
77549         (exp_test): Likewise.
77550         (exp10_test): Likewise.
77551         (exp2_test): Likewise.
77552         (expm1_test): Likewise.
77553         (lgamma_test): Likewise.
77554         (log_test): Likewise.
77555         (log10_test): Likewise.
77556         (log1p_test): Likewise.
77557         (log2_test): Likewise.
77558         (pow_test): Do not allow some spurious overflow exceptions.
77559         (sqrt_test): Add more tests.
77560         (tgamma_test): Likewise.
77561         (y0_test): Likewise.
77562         (y1_test): Likewise.
77563         (yn_test): Likewise.
77565 2012-03-27  Anton Blanchard  <anton@samba.org>
77567         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
77568         MAP_HUGETLB.
77569         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77570         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77571         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77573 2012-03-27  David S. Miller  <davem@davemloft.net>
77575         * conform/Makefile: Run run-conformtest.sh using $(BASH).
77577         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
77578         have-as-vis3 check.
77580 2012-03-27  Andreas Jaeger  <aj@suse.de>
77582         * sysdeps/x86_64/elf/configure.in: Moved to ...
77583         * sysdeps/x86_64/configure.in: ... here.
77584         * sysdeps/x86_64/elf/start.S: Moved to ...
77585         * sysdeps/x86_64/start.S: ... here.
77586         * sysdeps/x86_64/elf/configure: Delete.
77588         * sysdeps/x86_64/configure.in: Merge contents from
77589         sysdeps/i386/configure.in (without i686 check).
77591         * sysdeps/i386/elf/Versions: Merge into ...
77592         * sysdeps/i386/Versions: ... this.
77593         * sysdeps/i386/elf/Versions: Delete file.
77594         * sysdeps/i386/elf/start.S: Moved to ...
77595         * sysdeps/i386/start.S: ...here.
77596         * sysdeps/i386/elf/configure.in: Merge into...
77597         * sysdeps/i386/configure.in: ...here.
77598         * sysdeps/i386/elf/configure.in: Delete file.
77599         * sysdeps/i386/elf/configure: Delete file.
77601         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
77602         * debug/backtracesyms.c: ... here.
77603         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
77604         * debug/backtracesymsfd.c: ... here.
77605         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
77606         * sysdeps/generic/ifunc-sel.h: ... here.
77608         * sysdeps/unix/i386/start.c: Delete file.
77609         * sysdeps/unix/sparc/start.c: Delete file.
77610         * sysdeps/unix/start.c: Delete file.
77612         * sysdeps/sh/elf/configure.in: Moved to ...
77613         * sysdeps/sh/configure.in: ... here.
77614         * sysdeps/sh/elf/start.S: Moved to ...
77615         * sysdeps/sh/start.S: ... here.
77616         * sysdeps/sh/elf/configure: Delete file.
77618         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
77619         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
77620         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
77621         * sysdeps/powerpc/powerpc64/entry.h: ... here.
77622         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
77623         * sysdeps/powerpc/powerpc64/start.S: here.
77624         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
77625         * sysdeps/powerpc/powerpc64/Makefile: ... this.
77626         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
77627         * sysdeps/powerpc/powerpc64/configure.in: ... this.
77628         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
77630         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
77631         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
77632         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
77633         * sysdeps/powerpc/powerpc32/start.S: ... here.
77634         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
77635         * sysdeps/powerpc/powerpc32/configure.in: ... this.
77636         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
77638         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
77639         * sysdeps/powerpc/ifunc-sel.h: ... here.
77640         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
77641         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
77643         * sysdeps/sparc/elf/configure.in: Moved to ...
77644         * sysdeps/sparc/configure.in: ... here.
77645         * sysdeps/sparc/elf/configure: Delete file.
77646         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
77647         * sysdeps/sparc/sparc32/start.S: ... here.
77648         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
77649         * sysdeps/sparc/sparc64/start.S: ... here.
77650         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
77651         * sysdeps/sparc/sparc32/Makefile: ... this.
77652         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
77653         * sysdeps/sparc/sparc64/Makefile: ... this.
77655         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
77656         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
77657         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
77658         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
77659         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
77660         * sysdeps/s390/s390-32/setjmp.S: ... here.
77661         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
77662         * sysdeps/s390/s390-32/configure.in: ... here.
77663         * sysdeps/s390/s390-32/elf/configure: Delete file.
77664         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
77665         * sysdeps/s390/s390-32/start.S: ... here.
77667         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
77668         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
77669         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
77670         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
77671         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
77672         * sysdeps/s390/s390-64/setjmp.S: ... here.
77673         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
77674         * sysdeps/s390/s390-64/configure.in: ... here
77675         * sysdeps/s390/s390-64/elf/configure: Delete file.
77676         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
77677         * sysdeps/s390/s390-64/start.S: ... here.
77678         * sysdeps/s390/s390-64/elf/configure: Delete.
77680         * configure.in: Remove support for elf directories in sysdeps.
77682         * configure: Regenerated.
77683         * sysdeps/i386/configure: Regenerated.
77684         * sysdeps/powerpc/powerpc32/configure: Regenerated.
77685         * sysdeps/powerpc/powerpc64/configure: Regenerated.
77686         * sysdeps/s390/s390-32/configure: Regenerated.
77687         * sysdeps/s390/s390-64/configure: Regenerated.
77688         * sysdeps/sh/configure: Regenerated.
77689         * sysdeps/sparc/configure: Regenerated.
77690         * sysdeps/x86_64/configure: Regenerated.
77692 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
77694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
77697         denormal result into account.
77699 2012-03-25  Roland McGrath  <roland@hack.frob.com>
77701         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
77702         Reported by Allan McRae <allan@archlinux.org>.
77704 2012-03-23  Jeff Law  <law@redhat.com>
77706         * nss/getnssent.c (__nss_getent): Fix typo.
77708 2012-03-23  David S. Miller  <davem@davemloft.net>
77710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77712 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
77714         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
77715         to pad to uint64_t for each field.
77716         (dl_tls_index): Replace unsigned long with uint64_t.
77718 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
77719         Paul Pluzhnikov  <ppluzhnikov@google.com>
77721         [BZ #6528]
77722         * grp/Makefile (otherlibs): Don't set it.
77723         * inet/Makefile (otherlibs): Likewise.
77724         * login/Makefile (otherlibs): Likewise.
77725         * nscd/Makefile (otherlibs): Likewise.
77726         * posix/Makefile (otherlibs): Likewise.
77727         * pwd/Makefile (otherlibs): Likewise.
77728         * rt/Makefile (otherlibs): Likewise.
77729         * sunrpc/Makefile (otherlibs): Likewise.
77730         * nss/Makefile (otherlibs): Likewise.
77731         Add libnss_files to routines and static-only-routines.
77732         ($(objpfx)getent): Remove rule.
77733         * resolv/Makefile: Add libnss_dns and libresolv to routines and
77734         static-only-routines.
77736 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77738         [BZ #13892]
77739         * math/s_cexp.c: Include <float.h>.
77740         (__cexp): Handle exp result overflowing not necessarily
77741         overflowing both real and imaginary parts of result.
77742         * math/s_cexpf.c: Likewise.
77743         * math/s_cexpl.c: Likewise.
77744         * math/libm-test.inc (cexp_test): Add more tests.
77745         * sysdeps/i386/fpu/libm-test-ulps: Update.
77746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77748 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77750         * include/link.h (ELFW): New macro.
77751         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
77752         Replace ELF64_R_TYPE with ELFW(R_TYPE).
77754 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77756         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
77757         with uint64_t.
77759 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77761         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
77762         declaration.
77763         (struct La_x32_retval): Likewise.
77765 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77767         * sysdeps/x86_64/preconfigure.in: New file.
77768         * sysdeps/x86_64/preconfigure: New generated file.
77770 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77772         [BZ #13824]
77773         * math/e_exp2l.c: Include <float.h>.
77774         (__ieee754_exp2l): Handle overflow and underflow cases
77775         separately.  Only pass fractional part of argument to
77776         __ieee754_expl.
77777         * math/libm-test.inc (exp2_test): Add more tests.
77779         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77780         negating x to take absolute value.
77781         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77782         Likewise.
77783         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77784         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77785         Likewise.
77786         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77787         computing low part if x was negated.
77788         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77790 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77792         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77793         la_x32_gnu_pltexit.
77794         (pltexit): Cast int_retval to ptrdiff_t.
77795         * elf/tst-auditmod3b.c: Likewise.
77796         * elf/tst-auditmod4b.c: Likewise.
77797         * elf/tst-auditmod5b.c: Likewise.
77798         * elf/tst-auditmod6b.c: Likewise.
77799         * elf/tst-auditmod6c.c: Likewise.
77800         * elf/tst-auditmod7b.c: Likewise.
77802         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77803         and x32_gnu_pltexit.
77805         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77806         __ELF_NATIVE_CLASS.
77807         (La_x32_regs): New macro.
77808         (La_x32_retval): Likewise.
77809         (la_x32_gnu_pltenter): New function prototype.
77810         (la_x32_gnu_pltexit): Likewise.
77812 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
77814         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
77815         exponent.
77817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77819         * configure.in (libc_cv_cc_nofma): Check for option to disable
77820         generation of FMA instructions.
77821         * configure: Regenerate.
77822         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
77823         * sysdeps/ieee754/dbl-64/Makefile: New file.
77824         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
77825         Remove brandred-fma4.
77826         (CFLAGS-brandred-fma4.c): Remove.
77827         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
77828         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
77829         define.
77830         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
77831         define.
77833 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77835         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77836         LLONG_MAX != LONG_MAX.
77837         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77838         (_fitoa_word): Likewise.
77839         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
77840         LLONG_MAX != LONG_MAX.
77841         * stdio-common/_itowa.h: Include <_itoa.h>.
77842         (_itowa_word): Use _ITOA_WORD_TYPE on value.
77843         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
77844         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
77845         only if not defined.
77846         (_ITOA_WORD_TYPE): Likewise.
77847         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77848         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
77850 2012-03-21  David S. Miller  <davem@davemloft.net>
77852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77854 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77856         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
77857         of x86_64 when setting libc_cv_slibdir, libdir and
77858         libc_cv_localedir.
77859         * sysdeps/unix/sysv/linux/configure: Regenerated.
77861 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77863         * manual/lang.texi (Old Varargs): Remove section.
77864         (How Variadic): Update menu.
77865         (va_start): Do not mention varargs.h.
77867 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77868             Joseph Myers  <joseph@codesourcery.com>
77870         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
77871         link test.
77872         * configure: Regenerated.
77874 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77876         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
77877         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
77878         conformtest.pl
77880 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77882         * NOTES: Remove.
77883         * Makefile (files-for-dist): Remove NOTES.
77884         (NOTES): Remove rule.
77885         * README: Don't refer to NOTES.
77886         * manual/creature.texi: Don't include macros.texi.
77887         * manual/intro.texi (creature.texi): Remove comment referring to
77888         NOTES.
77890         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
77891         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
77892         * configure: Regenerated.
77893         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
77894         LIBC_TRY_CC_OPTION.
77895         (libc_cv_as_i686): Likewise.
77896         (libc_cv_cc_avx): Likewise.
77897         (libc_cv_cc_sse2avx): Likewise.
77898         (libc_cv_cc_fma4): Likewise.
77899         (libc_cv_cc_novzeroupper): Likewise.
77900         * sysdeps/i386/configure: Regenerated.
77902         [BZ #13883]
77903         * sysdeps/i386/fpu/s_cexp.S: Remove.
77904         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77905         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77906         * math/libm-test.inc (cexp_test): Add more tests.
77907         * sysdeps/i386/fpu/libm-test-ulps: Update.
77908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77910 2012-03-21  Allan McRae  <allan@archlinux.org>
77912         * timezone/Makefile: Do not install iso3166.tab and zone.tab
77914 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77916         [BZ #13871]
77917         * math/w_exp2.c: Do not include <float.h>.
77918         (o_threshold, u_threshold): Remove.
77919         (__exp2): Calculate result before checking finiteness and calling
77920         __kernel_standard.
77921         * math/w_exp2f.c: Likewise.
77922         * math/w_exp2l.c: Likewise.
77923         * math/libm-test.inc (exp2_test): Require overflow exception for
77924         1e6 input.
77926         [BZ #3866]
77927         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
77928         range of signed 64-bit integers before using fistpll.  Remove
77929         checks for whether integers fit in mantissa bits.
77930         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
77931         the range of signed 32-bit integers before using fistpl.  Remove
77932         checks for whether integers fit in mantissa bits.
77933         * sysdeps/i386/fpu/e_powl.S (p64): New object.
77934         (__ieee754_powl): Test for y outside the range of signed 64-bit
77935         integers before using fistpll.  Reduce 64-bit values to 63-bit
77936         ones as needed.
77937         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
77938         divide-by-zero is raised for zero to large negative powers.
77939         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
77940         (__ieee754_powl): Test for y outside the range of signed 64-bit
77941         integers before using fistpll.  Reduce 64-bit values to 63-bit
77942         ones as needed.
77943         * math/libm-test.inc (pow_test): Add more tests.
77945 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77947         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
77948         <stdio-common/_itoa.h>.
77949         * debug/segfault.c: Likewise.
77950         * elf/dl-cache.c: Likewise.
77951         * elf/dl-minimal.c: Likewise.
77952         * elf/dl-misc.c: Likewise.
77953         * elf/dl-sysdep.c: Likewise.
77954         * elf/dl-version.c: Likewise.
77955         * elf/rtld.c: Likewise.
77956         * hurd/hurdsock.c: Likewise.
77957         * hurd/lookup-retry.c: Likewise.
77958         * malloc/malloc.c: Likewise.
77959         * malloc/mtrace.c: Likewise.
77960         * nscd/nscd_getgr_r.c: Likewise.
77961         * nscd/nscd_getpw_r.c: Likewise.
77962         * nscd/nscd_getserv_r.c: Likewise.
77963         * posix/getopt_init.c: Likewise.
77964         * posix/wordexp.c: Likewise.
77965         * stdio-common/_itoa.c: Likewise.
77966         * stdio-common/printf_fphex.c: Likewise.
77967         * stdio-common/vfprintf.c: Likewise.
77968         * string/_strerror.c: Likewise.
77969         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
77970         * sysdeps/i386/i686/hp-timing.h: Likewise.
77971         * sysdeps/mach/_strerror.c: Likewise.
77972         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
77973         * sysdeps/mach/hurd/sethostid.c: Likewise.
77974         * sysdeps/mach/hurd/xmknodat.c: Likewise.
77975         * sysdeps/mach/xpg-strerror.c: Likewise.
77976         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77977         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
77978         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
77979         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
77980         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
77981         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
77982         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
77983         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
77984         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
77985         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
77986         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
77987         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
77988         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
77989         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
77990         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
77991         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
77992         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
77993         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
77994         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
77995         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
77996         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
77998         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78000         * stdio-common/_itoa.h: Moved to ...
78001         * sysdeps/generic/_itoa.h: Here.
78003         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78005         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78006         instead of "_itoa.h" and "_itowa.h".
78007         * stdio-common/vfprintf.: Likewise.
78009 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78011         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78012         <bits/wordsize.h>.
78013         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78014         (__signbit): Likewise.
78015         (llrintf): Likewise.
78016         (llrint): Likewise.
78018 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78020         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78021         __WORDSIZE != 64.
78023 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78025         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78026         OVERFLOW_EXCEPTION_OK.
78027         * math/libm-test.inc ("Philosophy"): Update comment about
78028         exception testing.
78029         (OVERFLOW_EXCEPTION): Define.
78030         (OVERFLOW_EXCEPTION_OK): Likewise.
78031         (INVALID_EXCEPTION_OK): Renumber.
78032         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78033         (IGNORE_ZERO_INF_SIGN): Likewise.
78034         (test_exceptions): Handle FE_OVERFLOW.
78035         (exp10_test): Expect overflow exceptions.
78036         (exp2_test): Likewise.
78037         (expm1_test): Likewise.
78038         (nextafter_test): Likewise.
78039         (pow_test): Likewise.
78040         (scalbn_test): Likewise.
78041         (scalbln_test): Likewise.
78043 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78045         * sysdeps/x86_64/bits/atomic.h
78046         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78047         64bit integer.
78048         (atomic_exchange_acq): Likewise.
78049         (__arch_exchange_and_add_body): Likewise.
78050         (__arch_add_body): Likewise.
78051         (atomic_add_negative): Likewise.
78052         (atomic_add_zero): Likewise.
78054 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78056         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78057         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78059 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78061         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78062         Check __x86_64__ instead of __WORDSIZE.
78064 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78066         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78068 2012-03-19  David S. Miller  <davem@davemloft.net>
78070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78072         * sysdeps/sparc/fpu/fenv_private.h: New file.
78073         * sysdeps/sparc/fpu/math_private.h: Use it.
78074         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78075         Remove.
78076         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78077         (libc_feholdexcept_setroundl): Remove.
78078         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78079         Remove.
78080         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78081         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78083 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78085         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78086         int64_t instead of long int.
78087         (INSERT_WORDS64): Likewise.
78089 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78091         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78092         _Unwind_GetCFA return to _Unwind_Ptr first.
78094 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78096         [BZ #13629]
78097         * math/s_clog.c: Include <float.h>.
78098         (__clog): Scale large or subnormal inputs.
78099         * math/s_clogf.c: Likewise.
78100         * math/s_clogl.c: Likewise.
78101         * math/s_clog10.c: Include <float.h>.
78102         (M_LOG10_2): Define.
78103         (__clog10): Scale large or subnormal inputs.
78104         * math/s_clog10f.c: Likewise.
78105         * math/s_clog10l.c: Likewise.
78106         * math/libm-test.inc (clog_test): Add more tests.
78107         (clog10_test): Likewise.
78108         * sysdeps/i386/fpu/libm-test-ulps: Update.
78109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78111         [BZ #11451]
78112         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78113         x and y.
78114         * math/libm-test.inc (atan2_test): Add another test.
78116         * Makerules (common-objdir-compile): Remove.
78117         * sysdeps/unix/Makefile (config-generated): Do not add
78118         $(unix-generated) to variable.
78119         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78120         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78121         Remove rule.
78122         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78123         Likewise.
78124         [generic bits/local_lim.h] (before-compile): Do not append to
78125         variable.
78126         [generic bits/local_lim.h] (common-generated): Likewise.
78127         [generic sys/param.h] (before-compile): Do not append to variable.
78128         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78129         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78130         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78131         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78132         include.
78133         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78134         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78135         [generic sys/param.h] ($(addprefix
78136         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78137         [generic sys/param.h] (common-generated): Do not append to
78138         variable.
78139         [generic sys/param.h] (sysdep_headers): Likewise.
78140         [generic bits/errno.h] (before-compile): Do not append to
78141         variable.
78142         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78143         rule.
78144         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78145         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78146         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78147         [generic bits/errno.h] (common-generated): Do not append to
78148         variable.
78149         [generic bits/ioctls.h] (before-compile): Do not append to
78150         variable.
78151         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78152         rule.
78153         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78154         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78155         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78156         rule.
78157         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78158         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78159         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78160         [generic bits/ioctls.h] (common-generated): Do not append to
78161         variable.
78162         [generic sys/syscall.h] (syscall.h): Remove variable.
78163         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78164         rule.
78165         [generic sys/syscall.h] (before-compile): Do not append to
78166         variable.
78167         [generic sys/syscall.h] (common-generated): Likewise.
78168         * sysdeps/unix/errnos-tmpl.c: Remove file.
78169         * sysdeps/unix/errnos.awk: Likewise.
78170         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78171         * sysdeps/unix/ioctls.awk: Likewise.
78172         * sysdeps/unix/mk-local_lim.c: Likewise.
78173         * sysdeps/unix/snarf-ioctls: Likewise.
78175 2012-03-19  Richard Henderson  <rth@twiddle.net>
78177         * sysdeps/i386/fpu/fenv_private.h: New file.
78178         * sysdeps/i386/fpu/math_private.h: Use it.
78179         (math_opt_barrier, math_force_eval): Remove.
78180         (libc_feholdexcept_setround_53bit): Remove.
78181         (libc_feupdateenv_53bit): Remove.
78182         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78183         (math_opt_barrier, math_force_eval): Remove.
78184         (libc_feholdexcept): Remove.
78185         (libc_feholdexcept_setround): Remove.
78186         (libc_fetestexcept, libc_fesetenv): Remove.
78187         (libc_feupdateenv_test): Remove.
78188         (libc_feupdateenv, libc_feholdsetround): Remove.
78189         (libc_feresetround): Remove.
78191         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78192         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78194         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78195         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78196         (libc_feupdateenv_testl): New.
78197         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78198         (libc_feupdateenv_testf): New.
78199         (libc_feupdateenv): Use libc_feupdateenv_test.
78200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78201         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78203         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78204         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78205         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78206         (libc_feresetround_noex): New.
78207         (libc_feresetround_noexf): New.
78208         (libc_feresetround_noexl): New.
78209         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78210         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78211         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78212         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78213         SET_RESTORE_ROUND.
78214         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78215         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78216         (__cos): Likewise.
78217         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78218         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78219         SET_RESTORE_ROUND_NOEX.
78220         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78221         SET_RESTORE_ROUND_NOEXF.
78222         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78223         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78224         (libc_feholdsetroundf): New.
78225         (libc_feresetround, libc_feresetroundf): New.
78227         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78228         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78229         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78231         * sysdeps/generic/math_private.h: Include <fenv.h>.
78232         (default_libc_feholdexcept): New.
78233         (default_libc_feholdexcept_setround): New.
78234         (default_libc_fesetenv, default_libc_feupdateenv): New.
78235         (libc_feholdexcept): Only define if undefined.
78236         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78237         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78238         (libc_feholdexcept_setroundl): Likewise.
78239         (libc_feholdexcept_setround_53bit): Likewise.
78240         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78241         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78242         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78243         (libc_feupdateenv_53bit): Likewise.
78244         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78245         (libc_feholdexcept): Convert from macro to inline function.
78246         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78247         (libc_fesetenv, libc_feupdateenv): Likewise.
78249         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78250         not previously defined.
78251         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78252         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78253         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78254         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78255         * sysdeps/ieee754/flt-32/math_private.h: New file.
78256         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78257         math_private.h below SET_FLOAT_WORD.
78258         (__isnan, __isinf_ns, __finite): Remove.
78259         (__isnanf, __isinf_nsf, __finitef): Remove.
78261 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78265 2012-03-17  David S. Miller  <davem@davemloft.net>
78267         [BZ #6471]
78268         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78269         for 2.16.
78271 2012-03-16  David S. Miller  <davem@davemloft.net>
78273         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78274         warnings.
78276         [BZ #6471]
78277         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78278         properly.
78279         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78280         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78281         sysdep_routines when subdir is sysvipc.
78282         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78283         __getshmlba helper.
78285         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78287 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78289         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78290         [__LP64__].
78292 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78294         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78295         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78296         (__lround): Renamed to ...
78297         (__llround): This.  Replace long int with long long int.
78298         Define lround functions as aliases of llround functions.
78299         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78301 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78303         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78304         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78305         adresses to uintptr_t.  Replace "long int" and "unsigned long
78306         int" with "greg_t" on va_arg.
78308 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78310         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78311         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78313         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78314         Move e_machine check before EI_CLASS check.  Handle x32
78315         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78316         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78317         SKIP_EM_IA_64 and include
78318         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78320         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78321         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78322         (add_system_dir): New macro.
78324         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78325         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78327 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78329         [BZ #2551]
78330         [BZ #2552]
78331         [BZ #2553]
78332         [BZ #2554]
78333         [BZ #2562]
78334         [BZ #2563]
78335         [BZ #2565]
78336         [BZ #2566]
78337         [BZ #2576]
78338         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78339         (y0): Likewise.
78340         * math/w_j0f.c (j0f): Likewise.
78341         (y0f): Likewise.
78342         * math/w_j0l.c (__j0l): Likewise.
78343         (__y0l): Likewise.
78344         * math/w_j1.c (j1): Likewise.
78345         (y1): Likewise.
78346         * math/w_j1f.c (j1f): Likewise.
78347         (y1f): Likewise.
78348         * math/w_j1l.c (__j1l): Likewise.
78349         (__y1l): Likewise.
78350         * math/w_jn.c (jn): Likewise.
78351         (yn): Likewise.
78352         * math/w_jnf.c (jnf): Likewise.
78353         (ynf): Likewise.
78354         * math/w_jnl.c (__jnl): Likewise.
78355         (__ynl): Likewise.
78356         * math/libm-test.inc (j0_test): Add more tests.
78357         (j1_test): Likewise.
78358         (jn_test): Likewise.  Add trailing semicolon to existing test.
78359         (y0_test): Likewise.
78360         (y1_test): Likewise.
78361         * sysdeps/i386/fpu/libm-test-ulps: Update.
78362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78364         [BZ #13851]
78365         [BZ #13854]
78366         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78367         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78368         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78369         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78370         (__tanl): Set errno for infinite argument.
78371         * sysdeps/i386/fpu/mptan.c: Remove.
78372         * sysdeps/i386/fpu/s_tan.S: Likewise.
78373         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78374         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78375         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78376         * math/libm-test.inc (tan_test): Add more tests and enable more
78377         tests for double and long double.
78378         * sysdeps/i386/fpu/libm-test-ulps: Update.
78379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78381 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78383         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78384         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78386 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78388         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78389         * configure.in: Use it for both main tree and add-ons.
78390         * configure: Regenerated.
78392 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78394         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78396 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78398         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78399         in comment.
78401         [BZ #13851]
78402         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78403         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78404         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78405         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78406         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78407         infinite argument.
78408         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78409         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78410         != 0 for prec == 2.
78411         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78412         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78413         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78414         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78415         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78416         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78417         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78418         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78419         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78420         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78421         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78422         * math/libm-test.inc (cos_test): Add more tests and enable more
78423         tests for long double.
78424         (sin_test): Likewise.
78425         (sincos_test): Likewise.
78426         * sysdeps/i386/fpu/libm-test-ulps: Update.
78427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78429 2012-03-16  David S. Miller  <davem@davemloft.net>
78431         * sysdeps/sparc/fpu/math_private.h: New file.
78433 2012-03-15  David S. Miller  <davem@davemloft.net>
78435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78436         file.
78437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78439         file.
78440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78446         sysdep routines.
78447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78449         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78450         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78452         * sysdeps/sparc/sparc-ifunc.h: New file.
78453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78454         sparc-ifunc.h
78455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78457         Likewise.
78458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78459         Likewise.
78460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78464         Likewise.
78465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78470         Likewise.
78471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78472         Likewise.
78473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78479         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78480         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
78484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
78485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
78486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
78487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
78488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
78489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
78490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
78491         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
78492         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
78493         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
78494         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
78495         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
78496         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
78498 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78500         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
78501         scaling.
78502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78504 2012-03-15  Andreas Jaeger  <aj@suse.de>
78506         [BZ #13852]
78507         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
78508         ieee754/flt-32 implementation for sin, cos and sincos.
78509         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
78510         * sysdeps/i386/fpu/s_cosf.S: Likewise.
78511         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
78512         * sysdeps/i386/fpu/s_sinf.S: Likewise.
78513         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
78514         ieee754/flt-32 implementation for tan.
78516         * math/libm-test.inc (cos_test): Enable some large input tests for
78517         float as well
78518         (sin_test): Likewise.
78519         (sincos_test): Likewise.
78520         (tan_test): Add tests for large input.
78522         * sysdeps/i386/fpu/libm-test-ulps: Update.
78524 2012-03-15  Andreas Jaeger  <aj@suse.de>
78526         [BZ #13658]
78527         * math/libm-test.inc (cos_test): Add more test cases.
78528         (sin_test): Likewise.
78529         (sincos_test): Likewise.
78531 2012-03-15  Andreas Jaeger  <aj@suse.de>
78533         [BZ #13837]
78534         * math/libm-test.inc (cos_test): Add a test case for large input
78535         value.
78536         (sin_test): Likewise.
78537         (sincos_test): Likewise.
78539 2012-03-15  Andreas Jaeger  <aj@suse.de>
78540             Joseph Myers  <joseph@codesourcery.com>
78542         [BZ #13658]
78543         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
78544         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
78545         * sysdeps/i386/fpu/branred.c: Likewise.
78546         * sysdeps/i386/fpu/dosincos.c: Likewise.
78547         * sysdeps/i386/fpu/mpa.c: Likewise.
78548         * sysdeps/i386/fpu/s_cos.S: Likewise.
78549         * sysdeps/i386/fpu/s_sin.S: Likewise.
78550         * sysdeps/i386/fpu/s_sincos.S: Likewise.
78551         * sysdeps/i386/fpu/sincos32.c: Likewise.
78553         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
78554         Define.
78555         (libc_feupdateenv_53bit): Define.
78556         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
78557         Define.
78558         (libc_feupdateenv_53bit): Define.
78560         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
78561         53 bit (without extend i386 double precision).
78563         * math/libm-test.inc (sincos_test): Add tests for large input.
78564         (sin): Likewise.
78565         (cos): Likewise.
78567         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
78569 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78573 2012-03-15  David S. Miller  <davem@davemloft.net>
78575         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
78576         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
78577         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
78578         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
78579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
78580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
78581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
78582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
78583         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
78584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
78585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
78586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
78587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
78588         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
78589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
78590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
78591         file.
78592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
78593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
78594         file.
78595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
78596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
78597         file.
78598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
78599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
78600         file.
78601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
78602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
78603         fmin/fmax sysdep routines.
78604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78606 2012-03-14  David S. Miller  <davem@davemloft.net>
78608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
78609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
78610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
78611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
78612         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
78613         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
78614         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
78615         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
78616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
78617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
78618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
78619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
78620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
78621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
78622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
78623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
78624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
78625         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
78626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
78627         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
78628         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
78629         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
78630         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
78631         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
78632         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
78633         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
78634         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
78635         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
78636         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
78637         routines.
78638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
78639         file.
78640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
78641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
78642         file.
78643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
78644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
78645         file.
78646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
78647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
78648         file.
78649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
78650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
78651         file.
78652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
78653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
78654         file.
78655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
78656         file.
78657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
78658         file.
78659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
78660         file.
78661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
78662         New file.
78663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
78664         file.
78665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
78666         file.
78667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
78668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
78669         file.
78670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
78671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
78672         file.
78673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
78674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
78675         file.
78676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
78677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
78678         VIS3 routines.
78680         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
78681         New file.
78683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78685         * sysdeps/sparc/configure.in: New file.
78686         * sysdeps/sparc/configure: Generate.
78687         * configure.in (libc_cv_sparc_as_vis3): Substitute.
78688         * configure: Regenerate.
78689         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
78690         * config.make.in (have-as-vis3): New.
78691         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
78692         available use -Av9d instead of -Av9a.
78693         * sysdeps/sparc/sparc64/Makefile: Likewise.
78694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
78695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
78696         New file.
78697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
78698         file.
78699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
78700         New file.
78701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
78702         file.
78703         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
78704         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
78705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
78706         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
78707         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
78709         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
78710         fzeros/fnegs to load 0x80000000 into a float register instead of
78711         using the stack.
78712         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
78714 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78717         bits/syscall.h.
78718         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
78719         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
78720         ($(inst_includedir)/bits/syscall.h): Remove rule.
78721         ($(objpfx)bits/syscall.d): Include instead of
78722         $(objpfx)syscall-list.d.
78723         (generated): Change syscall-list.h and syscall-list.d to
78724         bits/syscall.h and bits/syscall.d.
78726 2012-03-14  Roland McGrath  <roland@hack.frob.com>
78728         [BZ #13846]
78729         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
78731 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78733         [BZ #13841]
78734         * math/s_csqrt.c: Include <float.h>.
78735         (__csqrt): Scale large or subnormal inputs.
78736         * math/s_csqrtf.c: Likewise.
78737         * math/s_csqrtl.c: Likewise.
78738         * math/libm-test.inc (csqrt_test): Add more tests.
78739         * sysdeps/i386/fpu/libm-test-ulps: Update.
78740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78742         [BZ #13840]
78743         * math/libm-test.inc (hypot_test): Add more tests.
78745 2012-03-13  David S. Miller  <davem@davemloft.net>
78747         [BZ #13840]
78748         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
78749         double-precision for the calculation instead of scaling.
78751 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
78753         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
78754         manipulate bits before adding and subtracting TWO52[sx].
78755         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
78756         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
78757         Likewise.
78758         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
78760 2012-03-13  David S. Miller  <davem@davemloft.net>
78762         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
78763         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
78764         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78765         rtld-global-offsets.h
78766         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78768         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78769         large parameters.
78771         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78773         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78774         'err' in the ifdef scope in which it is actually used.
78776         * nss/nss_db/db-init.c: Include string.h
78778 2012-03-12  David S. Miller  <davem@davemloft.net>
78780         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78781         masking out of the most significant byte of random value used.
78782         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78783         Fix coding style in previous change.
78785         * sysdeps/unix/sysv/linux/kernel-features.h
78786         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78787         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78788         expression.
78789         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78790         later.
78792 2012-03-11  David S. Miller  <davem@davemloft.net>
78794         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78795         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78796         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78797         for 'resultvar' otherwise things get truncated on 64-bit.
78799         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78800         Fix masking out of the most significant byte of random value used.
78802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78804 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78808 2012-03-09  David S. Miller  <davem@davemloft.net>
78810         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
78811         variables with appropriate CPP guards.
78812         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
78813         from the frame pointer, not the stack pointer.  Correct layout
78814         comments.  Fix test on resulting framesize and the management of
78815         the outregs buffer for pltexit.  Preserve floating point return
78816         values across _dl_call_pltexit call.
78817         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
78818         framesize and the management of the outregs buffer for pltexit.
78819         Preserve floating point return values across _dl_call_pltexit
78820         call.
78821         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
78822         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
78823         (la_sparc64_gnu_pltexit): New functions.
78824         (print_exit): Fix format string for return register value.
78826 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
78828         * sunrpc/Makefile (others): Add rpcgen.
78829         ($(objpfx)rpcgen): Remove special build rule and dependency on
78830         libc.
78831         * sunrpc/rpcgen.c: New file.
78833 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
78835         [BZ #13673]
78836         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
78837         * stdio-common/bug-vfprintf-nargs.c: Likewise.
78838         * sysdeps/i386/crti.S: Likewise.
78839         * sysdeps/i386/crtn.S: Likewise.
78840         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
78841         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
78842         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
78843         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
78844         * sysdeps/sh/crti.S: Likewise.
78845         * sysdeps/sh/crtn.S: Likewise.
78846         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78848         [BZ #13673]
78849         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
78850         with URL.
78851         * locale/programs/locfile-kw.gperf: Likewise.
78852         * locale/programs/charmap-kw.h: Regenerated.
78853         * locale/programs/locfile-kw.h: Likewise.
78855         [BZ #13673]
78856         * intl/plural.y: Replace FSF snail mail address with URL.
78857         * intl/plural.c: Regenerated.
78859 2012-03-09  Richard Henderson  <rth@twiddle.net>
78861         * include/math_private.h: Remove file.
78862         * math/math_private.h: Move file ...
78863         * sysdeps/generic/math_private.h: ... here.
78865         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
78866         * sysdeps/powerpc/fpu/math_private.h: Likewise.
78867         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78869         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
78870         and <math_private.h>.
78871         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78872         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78873         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78874         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78875         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78876         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
78877         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78878         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78879         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78880         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78882         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78883         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78884         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78885         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78886         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78887         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78888         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78889         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78890         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78892         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78893         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78894         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78895         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
78896         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78897         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78898         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78899         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78900         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78901         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78902         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78903         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
78904         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78905         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78906         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78907         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78908         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78909         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78910         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78911         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
78912         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78913         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78914         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
78915         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
78916         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78917         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
78918         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
78919         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78920         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78921         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
78922         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78923         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
78924         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78925         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
78926         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78927         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78928         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
78929         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
78930         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
78931         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78932         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
78933         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78934         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78935         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78936         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78937         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78938         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78939         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
78940         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
78941         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
78942         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78943         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
78944         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78945         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
78946         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
78947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
78948         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78949         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
78950         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
78951         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
78952         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
78953         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
78954         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78955         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78956         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
78957         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
78958         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
78959         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78960         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78961         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78962         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78963         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78964         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78965         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78966         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78967         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78968         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78969         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78970         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78971         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78972         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78973         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78974         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78975         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78976         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78977         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78978         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78979         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78980         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78981         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78982         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78983         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78984         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78985         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
78986         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78987         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78988         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78989         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78990         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78991         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78992         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78993         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78994         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
78995         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78996         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78997         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78998         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
78999         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79000         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79001         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79002         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79003         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79004         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79005         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79006         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79007         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79008         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79009         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79010         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79011         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79012         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79013         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79014         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79015         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79016         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79017         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79018         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79019         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79020         * sysdeps/ieee754/k_standard.c: Likewise.
79021         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79022         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79023         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79024         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79025         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79026         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79027         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79028         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79029         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79030         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79031         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79032         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79033         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79034         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79035         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79036         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79037         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79038         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79039         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79040         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79041         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79042         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79043         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79044         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79045         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79046         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79047         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79048         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79049         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79050         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79051         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79052         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79053         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79054         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79055         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79056         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79057         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79058         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79059         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79060         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79061         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79062         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79063         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79064         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79065         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79066         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79067         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79068         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79069         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79070         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79071         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79072         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79073         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79074         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79075         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79076         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79077         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79078         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79079         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79080         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79081         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79082         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79083         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79084         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79085         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79086         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79087         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79088         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79089         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79090         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79091         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79092         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79093         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79094         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79095         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79096         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79097         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79098         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79099         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79100         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79101         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79102         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79103         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79104         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79105         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79106         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79107         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79108         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79109         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79110         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79111         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79112         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79113         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79114         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79115         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79116         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79117         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79118         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79119         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79120         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79121         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79122         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79123         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79124         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79125         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79126         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79127         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79128         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79129         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79130         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79131         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79132         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79133         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79134         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79135         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79136         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79137         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79138         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79139         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79140         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79141         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79142         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79143         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79144         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79145         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79146         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79147         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79148         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79149         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79150         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79151         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79152         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79153         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79154         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79155         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79156         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79157         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79158         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79159         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79160         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79161         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79162         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79163         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79164         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79165         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79166         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79167         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79168         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79169         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79170         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79171         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79172         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79173         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79174         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79175         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79176         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79177         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79178         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79179         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79180         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79181         * sysdeps/ieee754/s_lib_version.c: Likewise.
79182         * sysdeps/ieee754/s_matherr.c: Likewise.
79183         * sysdeps/ieee754/s_signgam.c: Likewise.
79184         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79185         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79186         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79187         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79188         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79189         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79190         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79191         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79192         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79193         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79194         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79195         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79196         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79197         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79198         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79199         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79200         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79201         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79202         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79203         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79204         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79206 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79208         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79209         * sunrpc/rpc_main.c: Likewise.
79210         * sunrpc/rpc_svcout.c: Likewise.
79212 2012-03-09  David S. Miller  <davem@davemloft.net>
79214         * include/math_private.h: New file.
79216 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79218         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79219         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79220         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79221         from <bits/socket_type.h>.
79222         (enum __socket_type): Don't define here.
79223         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79225         bits/socket_type.h.
79227         [BZ #13566]
79228         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79229         checking __USE_GNU.
79231         * Makerules ($(inst_includedir)/%.h): New rule.
79232         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79233         (install-others): Remove variable setting.
79234         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79236 2012-03-08  Richard Henderson  <rth@twiddle.net>
79238         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79239         from macro to inline function; merge with the
79240         !__LIBC_INTERNAL_MATH_INLINES version.
79241         (__ieee754_sqrtf): Likewise.
79243         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79244         to inline function.
79245         (__rintf, __floor, __floorf): Likewise.
79247         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79248         macro to inline function.
79249         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79251         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79252         not <math/math_private.h>.
79254 2012-03-08  David S. Miller  <davem@davemloft.net>
79256         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79257         copyright year.
79258         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79260 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79262         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79263         normalization.
79264         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79265         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79267 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79269         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79270         be defined individually, they must be defined as a block.  Define
79271         S for printing a string instead of hidint the different by using a
79272         macro for adding the 'l'.
79273         * stdio-common/tst-fphex-wide.c: Adjust.
79275 2012-03-07  Marek Polacek  <polacek@redhat.com>
79277         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79279 2012-03-08  Marek Polacek  <polacek@redhat.com>
79281         [BZ #13806]
79282         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79283         * stdio-common/tst-fphex.c: Define a few macros to make the
79284         test reusable.  Use them.
79285         * stdio-common/tst-fphex-wide.c: New file.
79287 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79289         [BZ #6911]
79290         * manual/macros.texi (gnusystems): New macro.
79291         (nongnusystems): Likewise.
79292         (gnulinuxhurdsystems): Likewise.
79293         (gnuhurdsystems): Likewise..
79294         (gnulinuxsystems): Likewise.
79295         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79296         variants of the GNU system, not "GNU system".
79297         * manual/conf.texi: Likewise.
79298         * manual/errno.texi: Likewise.  Update example of errno macro
79299         expansion.
79300         * manual/filesys.texi: Likewise.
79301         (getumask): Document as specific to GNU/Hurd.
79302         * manual/install.texi: Likewise.  Reword some references to
79303         GNU/Linux.
79304         * manual/intro.texi: Likewise.
79305         * manual/io.texi: Likewise.
79306         (File Name Portability): Detail which constraints are inapplicable
79307         to all GNU systems and which are only inapplicable to GNU/Hurd.
79308         * manual/job.texi: Likewise.
79309         * manual/llio.texi: Likewise.
79310         (O_NOCTTY): Document as present on GNU/Linux.
79311         * manual/maint.texi: Likewise.
79312         * manual/memory.texi: Likewise.
79313         * manual/pattern.texi: Likewise.
79314         * manual/pipe.texi: Likewise.
79315         * manual/process.texi: Likewise.
79316         * manual/resource.texi: Likewise.
79317         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79318         child on GNU/Hurd.
79319         * manual/setjmp.texi: Likewise.
79320         * manual/signal.texi: Likewise.
79321         * manual/startup.texi: Likewise.
79322         * manual/stdio.texi: Likewise.
79323         * manual/terminal.texi: Likewise.
79324         (ONLCR): Document as POSIX.
79325         (OXTABS): Document availability on GNU/Linux as XTABS.
79326         (ONOEOT): Document availability separately from other bits.
79327         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79328         * manual/time.texi: Likewise.
79329         * manual/users.texi: Likewise.
79330         * INSTALL: Regenerated.
79331         * sysdeps/gnu/errlist.c: Regenerated.
79333         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79334         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79335         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79336         puts.
79337         * configure: Regenerated.
79339 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79341         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79342         default includes instead of AC_HEADER_CHECK.
79343         * sysdeps/i386/configure: Regenerated.
79345         [BZ #10716]
79346         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79347         * math/s_cacoshf.c (__cacoshf): Likewise.
79348         * math/s_cacoshl.c (__cacoshl): Likewise.
79349         * math/s_casinh.c (__casinh): Set signs of result from argument.
79350         * math/s_casinhf.c (__casinhf): Likewise.
79351         * math/s_casinhl.c (__casinhl): Likewise.
79352         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79353         (casinh_test): Add more tests.
79354         * sysdeps/i386/fpu/libm-test-ulps: Update.
79355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79357 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79359         * po/zh_TW.po: Update from translation team.
79361         * login/Makefile (distribute): Remove variable.
79362         * catgets/Makefile: Likewise.
79363         * mach/Makefile: Likewise.
79364         * malloc/Makefile: Likewise.
79365         * misc/Makefile: Likewise.
79366         * iconv/Makefile: Likewise.
79367         * nscd/Makefile: Likewise.
79368         * hurd/Makefile: Likewise.
79369         * manual/Makefile: Likewise.
79370         * locale/Makefile: Likewise.
79371         * intl/Makefile: Likewise.
79372         * conform/Makefile: Likewise.
79373         * nss/Makefile: Likewise.
79374         * time/Makefile: Likewise.
79375         * soft-fp/Makefile: Likewise.
79376         * dirent/Makefile: Likewise.
79377         * gmon/Makefile: Likewise.
79378         * po/Makefile: Likewise.
79379         * rt/Makefile: Likewise.
79380         * socket/Makefile: Likewise.
79381         * math/Makefile: Likewise.
79382         * signal/Makefile: Likewise.
79383         * debug/Makefile: Likewise.
79384         * elf/Makefile: Likewise.
79385         * timezone/Makefile: Likewise.
79386         * stdlib/Makefile: Likewise.
79387         * iconvdata/Makefile: Likewise.
79388         * sunrpc/Makefile: Likewise.
79389         * io/Makefile: Likewise.
79390         * argp/Makefile: Likewise.
79391         * inet/Makefile: Likewise.
79392         * hesiod/Makefile: Likewise.
79393         * grp/Makefile: Likewise.
79394         * csu/Makefile: Likewise.
79395         * wctype/Makefile: Likewise.
79396         * crypt/Makefile: Likewise.
79397         * libio/Makefile: Likewise.
79398         * string/Makefile: Likewise.
79399         * nis/Makefile: Likewise.
79400         * resolv/Makefile: Likewise.
79401         * stdio-common/Makefile: Likewise.
79402         * wcsmbs/Makefile: Likewise.
79403         * dlfcn/Makefile: Likewise.
79404         * posix/Makefile: Likewise.
79406         [BZ #6959]
79407         * timezone/Makefile: Don't install timezone files, just the programs
79408         and scripts.
79410 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79412         * nss/databases.def: Add missing gshadow entry.
79414         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79416 2012-03-06  Marek Polacek  <polacek@redhat.com>
79418         [BZ #13726]
79419         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79420         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79421         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79422         * stdio-common/tst-long-dbl-fphex.c: New file.
79424 2012-03-06  David S. Miller  <davem@davemloft.net>
79426         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79427         (set_obp_int): New function.
79428         (get_obp_int): New function.
79429         (__get_clockfreq_via_dev_openprom): Likewise.
79430         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79431         Avoid unused variable warnings on 'val' and use builtin_expect.
79432         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79433         __builtin_expect.
79434         (INLINE_CLONE_SYSCALL): Likewise.
79436 2012-03-05  David S. Miller  <davem@davemloft.net>
79438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79440 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79444         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79445         only for |x| >= 40.
79446         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79448 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79450         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79451         Replace gettimeofday with __vdso_gettimeofday.
79453         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79454         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79455         __vdso_clock_gettime and __vdso_getcpu.
79457         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79458         time with __vdso_time.
79460 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79462         * manual/lang.texi (size_t): Note types to which size_t may be
79463         equivalent with the GNU C Library, but do not describe when
79464         differences between them are significant.
79466 2012-03-05  Andreas Jaeger  <aj@suse.de>
79468         * sysdeps/i386/fpu/libm-test-ulps: Update.
79470 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79472         [BZ #3976]
79473         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79474         (__ieee754_pow): Save and restore rounding mode and use
79475         round-to-nearest for main computations.
79476         * math/libm-test.inc (pow_test_tonearest): New function.
79477         (pow_test_towardzero): Likewise.
79478         (pow_test_downward): Likewise.
79479         (pow_test_upward): Likewise.
79480         (main): Call the new functions.
79481         * sysdeps/i386/fpu/libm-test-ulps: Update.
79482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79484         [BZ #3976]
79485         * math/libm-test.inc (cosh_test_tonearest): New function.
79486         (cosh_test_towardzero): Likewise.
79487         (cosh_test_downward): Likewise.
79488         (cosh_test_upward): Likewise.
79489         (sinh_test_tonearest): Likewise.
79490         (sinh_test_towardzero): Likewise.
79491         (sinh_test_downward): Likewise.
79492         (sinh_test_upward): Likewise.
79493         (main): Call the new functions.
79494         * sysdeps/i386/fpu/libm-test-ulps: Update.
79495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79497 2012-03-05  Tom de Vries  <tom@codesourcery.com>
79499         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
79500         default stack guard is set in last bytes.
79501         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
79503 2012-03-05  Kees Cook  <keescook@chromium.org>
79505         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
79507         [BZ #13656]
79508         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
79509         possibly allocate from heap instead of stack.
79510         * stdio-common/bug-vfprintf-nargs.c: New file.
79511         * stdio-common/Makefile (tests): Add nargs overflow test.
79513 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
79515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79517 2012-03-03  Marek Polacek  <polacek@redhat.com>
79519         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
79520         * math/math_private.h: Likewise.
79521         * stdlib/tst-strtod.c: Likewise.
79522         * sysdeps/i386/i486/bits/atomic.h: Likewise.
79523         * sysdeps/x86_64/bits/atomic.h: Likewise.
79525 2012-03-02  David S. Miller  <davem@davemloft.net>
79527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
79528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
79529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
79530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
79531         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
79532         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
79533         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
79534         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
79536 2012-03-02  Roland McGrath  <roland@hack.frob.com>
79538         [BZ #13792]
79539         * manual/examples/README: New file, says the example source files
79540         can be used under GPL>=2.
79541         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
79542         line containing just "*/".
79543         * manual/examples/add.c: Add copyright header (GPL>=2).
79544         * manual/examples/argp-ex1.c: Likewise.
79545         * manual/examples/argp-ex2.c: Likewise.
79546         * manual/examples/argp-ex3.c: Likewise.
79547         * manual/examples/argp-ex4.c: Likewise.
79548         * manual/examples/atexit.c: Likewise.
79549         * manual/examples/db.c: Likewise.
79550         * manual/examples/dir.c: Likewise.
79551         * manual/examples/dir2.c: Likewise.
79552         * manual/examples/execinfo.c: Likewise.
79553         * manual/examples/filecli.c: Likewise.
79554         * manual/examples/filesrv.c: Likewise.
79555         * manual/examples/fmtmsgexpl.c: Likewise.
79556         * manual/examples/genpass.c: Likewise.
79557         * manual/examples/inetcli.c: Likewise.
79558         * manual/examples/inetsrv.c: Likewise.
79559         * manual/examples/isockad.c: Likewise.
79560         * manual/examples/longopt.c: Likewise.
79561         * manual/examples/memopen.c: Likewise.
79562         * manual/examples/memstrm.c: Likewise.
79563         * manual/examples/mkfsock.c: Likewise.
79564         * manual/examples/mkisock.c: Likewise.
79565         * manual/examples/mygetpass.c: Likewise.
79566         * manual/examples/pipe.c: Likewise.
79567         * manual/examples/popen.c: Likewise.
79568         * manual/examples/rprintf.c: Likewise.
79569         * manual/examples/search.c: Likewise.
79570         * manual/examples/select.c: Likewise.
79571         * manual/examples/setjmp.c: Likewise.
79572         * manual/examples/sigh1.c: Likewise.
79573         * manual/examples/sigusr.c: Likewise.
79574         * manual/examples/stpcpy.c: Likewise.
79575         * manual/examples/strdupa.c: Likewise.
79576         * manual/examples/strftim.c: Likewise.
79577         * manual/examples/strncat.c: Likewise.
79578         * manual/examples/subopt.c: Likewise.
79579         * manual/examples/swapcontext.c: Likewise.
79580         * manual/examples/termios.c: Likewise.
79581         * manual/examples/testopt.c: Likewise.
79582         * manual/examples/testpass.c: Likewise.
79583         * manual/examples/timeval_subtract.c: Likewise.
79585         [BZ #13792]
79586         * manual/time.texi (Elapsed Time): Move timeval_subtract example
79587         function to ...
79588         * manual/timeval_subtract.c.texi: ... here, new file.
79590 2012-03-02  David S. Miller  <davem@davemloft.net>
79592         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
79594 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
79596         [BZ #3976]
79597         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
79598         (__sin): Save and restore rounding mode and use round-to-nearest
79599         for all computations.
79600         (__cos): Save and restore rounding mode and use round-to-nearest
79601         for all computations.
79602         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
79603         <fenv.h>.
79604         (tan): Save and restore rounding mode and use round-to-nearest for
79605         all computations.
79606         * math/libm-test.inc (cos_test_tonearest): New function.
79607         (cos_test_towardzero): Likewise.
79608         (cos_test_downward): Likewise.
79609         (cos_test_upward): Likewise.
79610         (sin_test_tonearest): Likewise.
79611         (sin_test_towardzero): Likewise.
79612         (sin_test_downward): Likewise.
79613         (sin_test_upward): Likewise.
79614         (tan_test_tonearest): Likewise.
79615         (tan_test_towardzero): Likewise.
79616         (tan_test_downward): Likewise.
79617         (tan_test_upward): Likewise.
79618         (main): Call the new functions.
79619         * sysdeps/i386/fpu/libm-test-ulps: Update.
79620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79622         [BZ #10135]
79623         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
79624         small n, then large n, before computing and testing k+n.
79625         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
79626         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
79627         Likewise.
79628         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
79629         Likewise.
79630         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
79631         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
79632         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
79633         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
79634         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
79635         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
79636         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
79637         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
79638         * math/libm-test.inc (scalbn_test): Add more tests.
79639         (scalbln_test): Likewise.
79641         * manual/filesys.texi (mode_t): Describe constraints on size and
79642         signedness, not exact equivalence to a particular type.
79643         (ino_t): Likewise.
79644         (ino64_t): Likewise.
79645         (dev_t): Likewise.
79646         (nlink_t): Likewise.
79647         (blkcnt_t): Likewise.
79648         (blkcnt64_t): Likewise.
79649         * manual/llio.texi (off_t): Likewise.
79651         [BZ #3976]
79652         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
79653         (__ieee754_exp): Save and restore rounding mode and use
79654         round-to-nearest for all computations.
79655         * math/libm-test.inc (exp_test_tonearest): New function.
79656         (exp_test_towardzero): Likewise.
79657         (exp_test_downward): Likewise.
79658         (exp_test_upward): Likewise.
79659         (main): Call the new functions.
79660         * sysdeps/i386/fpu/libm-test-ulps: Update.
79661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79663 2012-03-01  Chris Demetriou  <cgd@google.com>
79665         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
79666         have predictable order.
79668 2012-03-01  David S. Miller  <davem@davemloft.net>
79670         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
79672         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
79673         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
79674         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
79675         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
79677         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
79678         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
79679         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
79680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
79681         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
79682         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
79683         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
79684         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
79685         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
79687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79689         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
79690         * sysdeps/sparc/fpu/libm-test-ulps: to here.
79691         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
79693         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
79694         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79695         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79696         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
79697         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
79698         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
79699         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
79700         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79701         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79702         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
79703         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
79704         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79706         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79707         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79708         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79709         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
79710         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
79711         * sysdeps/sparc/elf/configure: Regenerated.
79713 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
79715         * configure.in (AS, LD): Require binutils 2.20 or later.
79716         * configure: Regenerated.
79717         * manual/install.texi (Tools for Compilation): Give binutils 2.20
79718         as required minimum version.
79719         * INSTALL: Regenerated.
79721         [BZ #2541]
79722         [BZ #4108]
79723         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
79724         before squaring exponent.
79725         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
79726         bottom long double and 27 bits of top long double before squaring
79727         exponent.
79728         * math/libm-test.inc (erfc_test): Add more tests.
79729         * sysdeps/i386/fpu/libm-test-ulps: Update.
79730         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79733 2012-03-01  Kai Tietz  <ktietz@redhat.com>
79735         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
79736         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
79737         containing bit-fields.
79738         * soft-fp/extended.h (_FP_UNION_E): Likewise.
79739         * soft-fp/single.h (_FP_UNION_S): Likewise.
79740         * soft-fp/double.h (_FP_UNION_D): Likewise.
79742 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79744         [BZ #13786]
79745         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
79746         not include ../strcmp.S.
79747         [USE_AS_STRNCASECMP_L]: Likewise.
79748         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
79749         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
79750         * sysdeps/i386/i686/multiarch/strncase_l-c.c
79751         (__strncasecmp_l_ia32): Define as alias to
79752         __strncasecmp_l_nonascii.
79754         [BZ #5794]
79755         * math/libm-test.inc (expm1_test): Add test for bug 5794.
79756         * sysdeps/i386/fpu/libm-test-ulps: Update.
79757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79759         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
79760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79762 2012-02-29  Jeff Law  <law@redhat.com>
79764         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79765         out of bounds read.
79767 2012-02-29  Marek Polacek  <polacek@redhat.com>
79769         [BZ #13706]
79770         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79771         * elf/Makefile: Add rules to run tst-unused-dep.out.
79773 2012-02-28  David S. Miller  <davem@davemloft.net>
79775         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79776         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79777         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79778         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79779         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79780         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79782 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79784         * math/libm-test.inc (llround_test): Move one test from
79785         lround_test.  Use TEST_f_L in moved test.
79786         (lround_test): Move misplaced test to llround_test.  Add testcase
79787         from bug 2561.
79789 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79791         * sysdeps/x86_64/fpu/e_expf.S: New file.
79792         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79794 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79796         [BZ #13637]
79797         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79798         of remain_len that may cause incomplete multi-byte character and
79799         false match.
79800         * posix/bug-regex33.c: New file.
79801         * posix/Makefile (tests): Add bug-regex33.
79803 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79805         * manual/macros.texi: New file.
79806         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
79807         * manual/libc.texinfo: Include macros.texi.
79808         * manual/creatute.texi: Likewise.
79809         * manual/install.texi: Likewise.
79810         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79811         @glibcadj{} in references to the GNU C Library.
79812         * manual/charset.texi: Likewise.
79813         * manual/conf.texi: Likewise.
79814         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
79815         when not using those macros.
79816         * manual/creature.texi: Likewise.
79817         * manual/crypt.texi: Likewise.
79818         * manual/errno.texi: Likewise.
79819         * manual/filesys.texi: Likewise.
79820         * manual/header.texi: Likewise.
79821         * manual/install.texi: Likewise.
79822         * manual/intro.texi: Likewise.
79823         * manual/io.texi: Likewise.
79824         * manual/job.texi: Likewise.
79825         * manual/lang.texi: Likewise.
79826         * manual/libc.texiinfo: Likewise.
79827         * manual/llio.texi: Likewise.
79828         * manual/locale.texi: Likewise.
79829         * manual/maint.texi: Likewise.
79830         * manual/math.texi: Likewise.
79831         * manual/memory.texi: Likewise.
79832         * manual/message.texi: Likewise.
79833         * manual/nss.texi: Likewise.
79834         * manual/pattern.texi: Likewise.
79835         * manual/process.texi: Likewise.
79836         * manual/resource.texi: Likewise.
79837         * manual/search.texi: Likewise.
79838         * manual/setjmp.texi: Likewise.
79839         * manual/signal.texi: Likewise.
79840         * manual/socket.texi: Likewise.
79841         * manual/startup.texi: Likewise.
79842         * manual/stdio.texi: Likewise.
79843         * manual/string.texi: Likewise.
79844         * manual/sysinfo.texi: Likewise.
79845         * manual/syslog.texi: Likewise.
79846         * manual/terminal.texi: Likewise.
79847         * manual/time.texi: Likewise.
79848         * manual/users.texi: Likewise.
79849         * INSTALL: Regenerated.
79850         * NOTES: Regenerated.
79851         * sysdeps/gnu/errlist.c: Regenerated.
79853 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
79855         * include/dirent.h: Include <dirstream.h> before
79856         <dirent/dirent.h>.
79858 2012-02-28  David S. Miller  <davem@davemloft.net>
79860         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
79861         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
79862         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
79863         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
79865 2012-02-27  David S. Miller  <davem@davemloft.net>
79867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
79868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
79869         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
79870         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
79872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
79873         frame pointer instead of stack pointer relative arg slot.
79874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79875         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79876         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79878 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
79880         [BZ #3992]
79881         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
79883 2012-02-27  David S. Miller  <davem@davemloft.net>
79885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
79886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
79889         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79890         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79891         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
79892         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
79894 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79896         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
79897         later.  Allow versions 5-9.
79898         * configure: Regenerated.
79899         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
79900         required minimum version and 4.6 as recommended version.  Do not
79901         mention bugs in GCC 2.7 and 2.8.
79902         * INSTALL: Regenerated.
79904 2012-02-27  David S. Miller  <davem@davemloft.net>
79906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
79907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
79908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
79909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
79910         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
79911         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
79912         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
79913         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
79915         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
79916         manipulate bits before adding and subtracting TWO112[sx].
79917         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
79919 2012-02-27  Roland McGrath  <roland@hack.frob.com>
79921         [BZ #13775]
79922         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
79923         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
79924         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
79925         being in POSIX, because they are in 1003.1-2008.
79927         * rt/tst-aio.c: Include <fcntl.h>.
79928         * rt/tst-aio7.c: Likewise.
79929         * rt/tst-aio64.c: Likewise.
79931         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
79933 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79935         * manual/install.texi (--with-headers): Describe headers as
79936         interface headers, not private headers.
79937         (Specific advice for GNU/Linux systems): Describe use of headers
79938         from "make headers_install", not private headers from older
79939         kernels.
79940         * INSTALL: Regenerated.
79941         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
79942         Change to 2.6.19.
79943         * sysdeps/unix/sysv/linux/configure: Regenerated.
79945         * manual/llio.texi (fclean): Remove documentation.
79947         * manual/Makefile (libc-texi-generated): New variable.  Include
79948         version.texi.
79949         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
79950         $(libc-texi-generated), not duplicated list of files.
79951         (version.texi, stamp-version): New rules.
79952         (realclean): Remove $(libc-texi-generated), not individual files
79953         from that list.  Do not remove dir-add.texinfo.
79954         * manual/libc.texinfo: Comment out uses of edition numbers and
79955         references to printed manual.  Remove last-updated dates.
79956         (EDITION): Comment out.
79957         (ISBN): Likewise.
79958         (VERSION, UPDATED): Remove.
79959         (version.texi): Include.
79961 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
79963         * sysdeps/posix/spawni.c: Include <signal.h>.
79964         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
79965         * sysdeps/pthread/aio_fsync.c: Likewise.
79967 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
79969         * conform/Makefile (tests): Run only when not cross-compiling and
79970         when fast-check is not defined.
79972         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
79973         * conform/data/limits.h-data: Fixes for POSIX2008.
79974         * conform/run-conformtest.sh: Run all tests.
79975         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
79976         headers.
79977         * include/bits/dlfcn.h: Likewise.
79978         * include/langinfo.h: Likewise.
79979         * include/monetary.h: Likewise.
79980         * include/sys/poll.h: Likewise.
79982         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
79983         for __USE_GNU.
79984         * posix/spawn.h: Define __need_sigset_t.
79985         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
79986         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
79987         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
79988         to get sigevent_t only.
79989         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
79990         only for __USE_GNU.
79991         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79992         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79993         process_vm_writev only for __USE_GNU.
79994         * termios/termios.h: Declare tcgetsid also for POSIX2008.
79996         * conform/Makefile: For now ignore errors from run-conformtest.
79997         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
79998         POSIX to avoid namespace pollution.  Don't prepend headers.
79999         * conform/data/aio.h-data: Fixes for POSIX testing.
80000         * conform/data/fcntl.h-data: Likewise.
80001         * conform/data/glob.h-data: Likewise.
80002         * conform/data/grp.h-data: Likewise.
80003         * conform/data/pthread.h-data: Likewise.
80004         * conform/data/pwd.h-data: Likewise.
80005         * conform/data/signal.h-data: Likewise.
80006         * conform/data/spawn.h-data: Likewise.
80007         * conform/data/stdio.h-data: Likewise.
80008         * conform/data/stdlib.h-data: Likewise.
80009         * conform/data/stropts.h-data: Likewise.
80010         * conform/data/sys/mman.h-data: Likewise.
80011         * conform/data/sys/stat.h-data: Likewise.
80012         * conform/data/sys/types.h-data: Likewise.
80013         * conform/data/sys/wait.h-data: Likewise.
80014         * conform/data/time.h-data: Likewise.
80015         * conform/data/unistd.h-data: Likewise.
80016         * conform/data/utime.h-data: Likewise.
80018         * io/sys/stat.h: fchmod was always in POSIX.
80019         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80020         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80021         * rt/aio.h: Define __need_timespec before including <time.h>.
80022         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80023         struct.  Add forward declaration of pthread_attr_t and use it in
80024         sigevent.
80025         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80026         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80027         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80028         always remove CLK_TCK definition.
80030 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80032         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80034 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80036         * conform/run-conformtest.sh: New file.
80037         * conform/Makefile: Run run-conformtest for tests.
80038         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80039         support.
80041         * conform/data/uchar.h-data: New file.
80042         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80043         * conform/data/arpa/inet.h-data: Likewise.
80044         * conform/data/assert.h-data: Likewise.
80045         * conform/data/complex.h-data: Likewise.
80046         * conform/data/cpio.h-data: Likewise.
80047         * conform/data/ctype.h-data: Likewise.
80048         * conform/data/dirent.h-data: Likewise.
80049         * conform/data/dlfcn.h-data: Likewise.
80050         * conform/data/errno.h-data: Likewise.
80051         * conform/data/fcntl.h-data: Likewise.
80052         * conform/data/float.h-data: Likewise.
80053         * conform/data/fmtmsg.h-data: Likewise.
80054         * conform/data/fnmatch.h-data: Likewise.
80055         * conform/data/ftw.h-data: Likewise.
80056         * conform/data/glob.h-data: Likewise.
80057         * conform/data/grp.h-data: Likewise.
80058         * conform/data/iconv.h-data: Likewise.
80059         * conform/data/inttypes.h-data: Likewise.
80060         * conform/data/langinfo.h-data: Likewise.
80061         * conform/data/libgen.h-data: Likewise.
80062         * conform/data/limits.h-data: Likewise.
80063         * conform/data/locale.h-data: Likewise.
80064         * conform/data/math.h-data: Likewise.
80065         * conform/data/monetary.h-data: Likewise.
80066         * conform/data/mqueue.h-data: Likewise.
80067         * conform/data/ndbm.h-data: Likewise.
80068         * conform/data/net/if.h-data: Likewise.
80069         * conform/data/netdb.h-data: Likewise.
80070         * conform/data/netinet/in.h-data: Likewise.
80071         * conform/data/nl_types.h-data: Likewise.
80072         * conform/data/poll.h-data: Likewise.
80073         * conform/data/pthread.h-data: Likewise.
80074         * conform/data/pwd.h-data: Likewise.
80075         * conform/data/regex.h-data: Likewise.
80076         * conform/data/sched.h-data: Likewise.
80077         * conform/data/search.h-data: Likewise.
80078         * conform/data/semaphore.h-data: Likewise.
80079         * conform/data/setjmp.h-data: Likewise.
80080         * conform/data/signal.h-data: Likewise.
80081         * conform/data/spawn.h-data: Likewise.
80082         * conform/data/stdarg.h-data: Likewise.
80083         * conform/data/stdio.h-data: Likewise.
80084         * conform/data/stdlib.h-data: Likewise.
80085         * conform/data/string.h-data: Likewise.
80086         * conform/data/strings.h-data: Likewise.
80087         * conform/data/stropts.h-data: Likewise.
80088         * conform/data/sys/ipc.h-data: Likewise.
80089         * conform/data/sys/mman.h-data: Likewise.
80090         * conform/data/sys/msg.h-data: Likewise.
80091         * conform/data/sys/resource.h-data: Likewise.
80092         * conform/data/sys/select.h-data: Likewise.
80093         * conform/data/sys/sem.h-data: Likewise.
80094         * conform/data/sys/shm.h-data: Likewise.
80095         * conform/data/sys/socket.h-data: Likewise.
80096         * conform/data/sys/stat.h-data: Likewise.
80097         * conform/data/sys/statvfs.h-data: Likewise.
80098         * conform/data/sys/time.h-data: Likewise.
80099         * conform/data/sys/timeb.h-data: Likewise.
80100         * conform/data/sys/times.h-data: Likewise.
80101         * conform/data/sys/types.h-data: Likewise.
80102         * conform/data/sys/uio.h-data: Likewise.
80103         * conform/data/sys/un.h-data: Likewise.
80104         * conform/data/sys/utsname.h-data: Likewise.
80105         * conform/data/sys/wait.h-data: Likewise.
80106         * conform/data/syslog.h-data: Likewise.
80107         * conform/data/tar.h-data: Likewise.
80108         * conform/data/termios.h-data: Likewise.
80109         * conform/data/utime.h-data: Likewise.
80110         * conform/data/utmpx.h-data: Likewise.
80111         * conform/data/varargs.h-data: Likewise.
80112         * conform/data/wchar.h-data: Likewise.
80113         * conform/data/wctype.h-data: Likewise.
80114         * conform/data/wordexp.h-data: Likewise.
80116         * include/stropts.h: New file.
80117         * include/uchar.h: New file.
80118         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80119         * include/assert.h: Likewise.
80120         * include/ctype.h: Likewise.
80121         * include/dirent.h: Likewise.
80122         * include/dlfcn.h: Likewise.
80123         * include/fcntl.h: Likewise.
80124         * include/fnmatch.h: Likewise.
80125         * include/glob.h: Likewise.
80126         * include/grp.h: Likewise.
80127         * include/libio.h: Likewise.
80128         * include/locale.h: Likewise.
80129         * include/math.h: Likewise.
80130         * include/net/if.h: Likewise.
80131         * include/netdb.h: Likewise.
80132         * include/netinet/in.h: Likewise.
80133         * include/pthread.h: Likewise.
80134         * include/pwd.h: Likewise.
80135         * include/regex.h: Likewise.
80136         * include/sched.h: Likewise.
80137         * include/search.h: Likewise.
80138         * include/setjmp.h: Likewise.
80139         * include/signal.h: Likewise.
80140         * include/stdio.h: Likewise.
80141         * include/stdlib.h: Likewise.
80142         * include/string.h: Likewise.
80143         * include/sys/cdefs.h: Likewise.
80144         * include/sys/mman.h: Likewise.
80145         * include/sys/msg.h: Likewise.
80146         * include/sys/resource.h: Likewise.
80147         * include/sys/select.h: Likewise.
80148         * include/sys/socket.h: Likewise.
80149         * include/sys/stat.h: Likewise.
80150         * include/sys/statvfs.h: Likewise.
80151         * include/sys/time.h: Likewise.
80152         * include/sys/times.h: Likewise.
80153         * include/sys/uio.h: Likewise.
80154         * include/sys/utsname.h: Likewise.
80155         * include/sys/wait.h: Likewise.
80156         * include/termios.h: Likewise.
80157         * include/time.h: Likewise.
80158         * include/ulimit.h: Likewise.
80159         * include/unistd.h: Likewise.
80160         * include/utime.h: Likewise.
80161         * include/wchar.h: Likewise.
80162         * include/wctype.h: Likewise.
80163         * include/wordexp.h: Likewise.
80165         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80167         * time/time.h: TIME_UTC must be a macro.
80168         Make timespec_get available for ISO C11 only as well.
80170 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80172         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80173         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80175 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80177         * configure.in: Use -o not -a in test for unsupported multi-arch.
80179 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80181         * manual/texinfo.tex: Update to version 2012-01-19.16.
80183 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80185         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80187 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80189         [BZ #13738]
80190         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80191         * manual/fdl-1.3.texi: New file.
80192         * manual/fdl-1.1.texi: File removed.
80194         [BZ #13738]
80195         * manual/libc.texinfo (FDL_VERSION): New @set.
80196         Use it for mention of FDL in cover text.
80197         (Documentation License): Use it in @include file name.
80199 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80200             Roland McGrath  <roland@hack.frob.com>
80202         [BZ #5461]
80203         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80204         (not LONG_LONG_MAX and LONG_LONG_MIN.
80205         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80206         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80207         name.
80208         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80210 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80212         [BZ #2547]
80213         [BZ #11365]
80214         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80215         manipulate bits before adding and subtracting TWO23[sx].
80216         * math/libm-test.inc (nearbyint_test): Add more tests.
80218 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80220         [BZ #2548]
80221         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80222         bits before adding and subtracting TWO23[sx].
80223         * math/libm-test.inc (rint_test): Add more tests.
80224         (rint_test_tonearest): Likewise.
80225         (rint_test_towardzero): Likewise.
80226         (rint_test_downward): Likewise.
80227         (rint_test_upward: Likewise.
80229 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80231         [BZ #10110]
80232         * include/stdc-predef.h: New file.  Extracted from features.h.
80233         * include/features.h: Include stdc-predef.h.
80234         * Makefile (headers): Add stdc-predef.h.
80235         * CONFORMANCE (Compiler limitations): Update.
80237 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80239         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80241 2012-02-21  David S. Miller  <davem@davemloft.net>
80243         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80244         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80246 2012-02-20  David S. Miller  <davem@davemloft.net>
80248         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80249         using a normal save/restore sequence, rather than allocating a
80250         dummy stack frame just to store a frame pointer and restore.
80251         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80253 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80255         * manual/install.texi: Fix stray word in line-wrapped comment.
80257 2012-02-20  David S. Miller  <davem@davemloft.net>
80259         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80260         both binutils and gcc support GOTDATA.
80262         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80263         "rd %pc" in the PIC register setup sequences.
80265         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80266         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80267         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80268         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80269         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80270         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80271         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80272         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80273         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80274         (SYSCALL_ERROR_HANDLER): Likewise.
80275         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80276         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80278         (SYSCALL_ERROR_HANDLER): Likewise.
80280         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80281         (HAVE_GCC_GOTDATA): New.
80282         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80283         relocation support in both binutils and gcc.
80284         * sysdeps/sparc/elf/configure: Regenerate.
80286         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80287         * sysdeps/sparc/sparc32/elf/configure: Delete.
80288         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80289         * sysdeps/sparc/sparc64/elf/configure: Delete.
80290         * sysdeps/sparc/elf/configure.in: New file.
80291         * sysdeps/sparc/elf/configure: Generate.
80293         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80294         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80295         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80296         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80297         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80299 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80301         * manual/install.texi: Do not mention specific glibc version
80302         numbers.
80303         * manual/libc.texinfo (VERSION, UPDATED): Update.
80304         (@copying): Use @copyright{} and range of years.
80306 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80308         [BZ #13695]
80309         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80310         [crti.S not in sysdirs] (generated): Do not append.
80311         [crti.S not in sysdirs] (omit-deps): Likewise.
80312         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80313         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80314         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80315         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80316         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80317         Likewise.
80318         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80319         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80320         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80321         * csu/defs.awk: Remove file.
80322         * sysdeps/generic/initfini.c: Likewise.
80323         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80324         variable.
80325         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80326         Likewise.
80328 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80330         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80331         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80332         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80333         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80334         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80335         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80336         <bits/epoll.h>.
80337         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80338         (__EPOLL_PACKED): Define to empty if not defined by
80339         <bits/epoll.h>.
80340         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80341         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80342         bits/epoll.h.
80344 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80346         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80347         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80348         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80349         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80350         <bits/timerfd.h>.
80351         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80353         bits/timerfd.h.
80355 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80357         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80358         in C locale.
80359         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80360         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80361         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80364 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80366         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80367         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80369 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80371         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80372         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80373         defined.
80374         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80375         Likewise.
80376         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80377         entry for 2.16.
80379 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80381         * math/w_acos.c: Use non-signaling floating-point comparisons.
80382         * math/w_acosf.c: Likewise.
80383         * math/w_acosh.c: Likewise.
80384         * math/w_acoshf.c: Likewise.
80385         * math/w_acoshl.c: Likewise.
80386         * math/w_acosl.c: Likewise.
80387         * math/w_asin.c: Likewise.
80388         * math/w_asinf.c: Likewise.
80389         * math/w_asinl.c: Likewise.
80390         * math/w_atanh.c: Likewise.
80391         * math/w_atanhf.c: Likewise.
80392         * math/w_atanhl.c: Likewise.
80393         * math/w_exp2.c: Likewise.
80394         * math/w_exp2f.c: Likewise.
80395         * math/w_exp2l.c: Likewise.
80396         * math/w_j0.c: Likewise.
80397         * math/w_j0f.c: Likewise.
80398         * math/w_j0l.c: Likewise.
80399         * math/w_j1.c: Likewise.
80400         * math/w_j1f.c: Likewise.
80401         * math/w_j1l.c: Likewise.
80402         * math/w_jn.c: Likewise.
80403         * math/w_jnf.c: Likewise.
80404         * math/w_log.c: Likewise.
80405         * math/w_log10.c: Likewise.
80406         * math/w_log10f.c: Likewise.
80407         * math/w_log10l.c: Likewise.
80408         * math/w_log2.c: Likewise.
80409         * math/w_log2f.c: Likewise.
80410         * math/w_log2l.c: Likewise.
80411         * math/w_logf.c: Likewise.
80412         * math/w_logl.c: Likewise.
80413         * math/w_sqrt.c: Likewise.
80414         * math/w_sqrtf.c: Likewise.
80415         * math/w_sqrtl.c: Likewise.
80416         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80417         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80418         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80419         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80420         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80422 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80424         [BZ #9739]
80425         * manual/string.texi (strnlen): Use correct parameter name in
80426         equivalent expression.
80428 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80430         [BZ #11174]
80431         * manual/users.texi (seteuid): Consistently use neweuid for
80432         argument name.
80434 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80436         [BZ #13704]
80437         * manual/nss.texi (Services in the NSS configuration): Correct
80438         list of services in example configuration file.
80440 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80442         [BZ #11322]
80443         * manual/arith.texi: Remove statements about negative zero
80444         behaving identically to zero.
80446 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80448         [BZ #5993]
80449         * manual/install.texi: Do not document upgrading from libc5.
80451 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80453         [BZ #4596]
80454         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80456 2012-02-18  David S. Miller  <davem@davemloft.net>
80458         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80459         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80460         %o7 across the call.
80461         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80462         instead.
80463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80464         SETUP_PIC_REG_LEAF.
80465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80466         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80467         * sysdeps/sparc/crtn.S: Likewise.
80469 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80471         * aout/Makefile: Remove.
80473 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80475         [BZ #13058]
80476         * manual/examples/argp-ex1.c (main): Format definition in GNU
80477         style.
80478         * manual/examples/argp-ex2.c (main): Likewise.
80479         * manual/examples/argp-ex3.c (main): Likewise.
80480         * manual/examples/argp-ex4.c (main): Likewise.
80481         * manual/examples/longopt.c (main): Use new-style prototype
80482         definition.
80483         * manual/examples/strncat.c (main): Specify return type and use
80484         (void) for arguments.
80485         * manual/examples/subopt.c (main): Use char **argv argument.
80487 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80489         [BZ #5077]
80490         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
80491         rounding modes.
80493 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
80495         [BZ #6907]
80496         * manual/string.texi (strchr): Change when strchrnul is
80497         recommended.
80499 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
80501         [BZ #174]
80502         * manual/locale.texi (setlocale): Document LOCPATH.
80504 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80506         [BZ #10210]
80507         * manual/process.texi (execle): Move @dots{} before last argument.
80509 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
80511         [BZ #12047]
80512         * manual/charset.texi (Generic Charset Conversion): Fix typo
80513         (LC_TYPE -> LC_CTYPE).
80515 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
80517         [BZ #5805]
80518         * manual/arith.texi (scalbn): Use @var{} on parameter names.
80519         (scalbnf): Likewise.
80520         (scalbnl): Likewise.
80521         (scalbln): Likewise.
80522         (scalblnf): Likewise.
80523         (scalblnl): Likewise.
80524         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
80525         (vwarnx): Likewise.
80526         (verr): Likewise.
80527         (verrx): Likewise.
80528         * manual/filesys.texi (telldir): Use braces around return type.
80529         * manual/llio.texi (mmap): Add space after comma.
80530         (mmap64): Likewise.
80531         * manual/math.texi (jn): Use @var{} on parameter names.
80532         (jnf): Likewise.
80533         (jnl): Likewise.
80534         (yn): Likewise.
80535         (ynf): Likewise.
80536         (ynl): Likewise.
80537         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
80538         line.
80539         * manual/resource.texi (ulimit): Use @dots{} instead of literal
80540         "...".
80541         (sched_get_priority_min): Remove semicolon on @deftypefun line.
80542         (sched_get_priority_max): Likewise.
80543         * manual/signal.texi (sigvec): Add space after comma.
80544         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
80545         names.
80546         (if_indextoname): Likewise.
80547         (if_freenameindex): Likewise.
80548         (sendto): Use ',' instead of '.' in prototype.
80549         * manual/startup.texi (syscall): Use @dots{} instead of literal
80550         "...".
80551         * manual/stdio.texi (__fpending): Separate initial words of
80552         paragraph from @deftypefun line.
80553         * manual/syslog.texi (syslog): Use @dots{} instead of literal
80554         "...".
80555         (vsyslog): Use @var{} on parameter names.
80556         * manual/terminal.texi (stty): Use @var{} on parameter names.
80557         * manual/users.texi (getutmp): Use @var{} on parameter names.
80558         (getutmpx): Likewise.
80560 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80562         [BZ #6884]
80563         * manual/stdio.texi (fopen): Fix typos in description of
80564         ",ccs=STRING".
80566 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
80568         [BZ #4026]
80569         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
80570         get clock_id definition.
80572 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
80574         [BZ #4822]
80575         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
80576         (madvise): Cast every argument to void on its own.
80578 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80580         [BZ #9902]
80581         * manual/startup.texi (Exit Status): Fix typo.
80583 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80585         [BZ #10140]
80586         * manual/examples/argp-ex1.c: Include <stdlib.h>.
80587         * manual/examples/argp-ex2.c: Likewise.
80588         * manual/examples/argp-ex3.c: Likewise.
80590 2012-02-16  Richard Henderson  <rth@redhat.com>
80592         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
80593         * sysdeps/s390/s390-32/initfini.c: Remove.
80594         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
80595         * sysdeps/s390/s390-64/initfini.c: Remove.
80597 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80599         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
80600         compiler output for sysdeps/generic/initfini.c.
80601         * sysdeps/sh/elf/initfini.c: Remove file.
80603 2012-02-16  David S. Miller  <davem@davemloft.net>
80605         [BZ #11494]
80606         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
80608         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
80609         * sysdeps/sparc/crti.S: New file.
80610         * sysdeps/sparc/crtn.S: New file.
80611         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
80612         * sysdeps/sparc/sparc64/Makefile: Likewise.
80614 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
80616         [BZ #3335]
80617         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
80619 2012-02-15  Roland McGrath  <roland@hack.frob.com>
80621         [BZ #4822]
80622         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
80624         * mach/devstream.c (cookie_io_functions_t): Macro removed.
80625         (write, read, close): Likewise.
80626         Patch by Aurelien Jarno <aurelien@aurel32.net>.
80628 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
80630         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
80631         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
80632         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
80633         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
80634         <bits/signalfd.h>.
80635         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
80636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80637         bits/signalfd.h.
80639 2012-02-14  Marek Polacek  <polacek@redhat.com>
80641         * sysdeps/x86_64/crti.S: New file.
80642         * sysdeps/x86_64/crtn.S: New file.
80643         * sysdeps/x86_64/elf/initfini.c: Remove file.
80645 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80647         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
80648         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
80649         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
80650         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
80651         <bits/inotify.h>.
80652         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
80653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80654         bits/inotify.h.
80656 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80658         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
80659         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
80660         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
80661         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
80662         <bits/eventfd.h>.
80663         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
80664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80665         bits/eventfd.h.
80667 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
80669         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
80670         __feraiseexcept instead of feraiseexcept.
80672         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
80673         nanosleep invocations.
80674         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
80675         strings, and add error checking for a nanosleep invocations.
80677 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
80679         Replace FSF snail mail address with URLs, as per GNU coding standards.
80680         Most of the snail mail addresses were wrong anyway, and omitting
80681         them makes the source code easier to maintain.  Almost all of the
80682         changes are to license notices and to locale LC_IDENTIFICATION
80683         addresses, except for this one:
80684         * manual/libc.texinfo: In "Published by", give the FSF's URL,
80685         not its snail mail address.
80687 2012-02-09  Richard Henderson  <rth@twiddle.net>
80689         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
80690         of kernel-features.h.
80692         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
80694 2012-02-08  Marek Polacek  <polacek@redhat.com>
80696         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
80697         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
80698         * sysdeps/gnu/_G_config.h: Likewise.
80699         * sysdeps/generic/_G_config.h: Likewise.
80701 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
80703         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
80704         tests.
80705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80707         * sysdeps/powerpc/powerpc32/crti.S: New file.
80708         * sysdeps/powerpc/powerpc32/crtn.S: New file.
80709         * sysdeps/powerpc/powerpc64/crti.S: New file.
80710         * sysdeps/powerpc/powerpc64/crtn.S: New file.
80712         * Makeconfig (have-initfini): Don't set.
80713         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
80714         * configure.in (nopic_initfini): Don't substitute.
80715         * config.h.in (HAVE_INITFINI): Don't #undef.
80716         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
80717         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
80719 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
80721         Support crti.S and crtn.S provided directly by architectures.
80722         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
80723         [crti.S in sysdirs] (omit-deps): Likewise.
80724         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
80725         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
80726         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
80727         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
80728         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
80729         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
80730         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
80731         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
80732         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
80733         compiler output for sysdeps/generic/initfini.c.
80734         * sysdeps/i386/elf/Makefile: Remove file.
80735         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
80737 2012-02-07  Marek Polacek  <polacek@redhat.com>
80739         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
80740         * sysdeps/gnu/_G_config.h: Likewise.
80741         * sysdeps/mach/hurd/_G_config.h: Likewise.
80743 2012-02-07  Marek Polacek  <polacek@redhat.com>
80745         * math/Makefile (tests): Add tst-CMPLX2.
80746         * math/tst-CMPLX2.c: New file.
80748 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
80750         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80752         * math/libm-test.inc (jn_test): Add missing L suffix.
80754 2012-02-06  Marek Polacek  <polacek@redhat.com>
80756         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
80757         * sysdeps/i386/fpu/e_powf.S: Likewise.
80758         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80759         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80760         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80761         * sysdeps/i386/fpu/e_pow.S: Likewise.
80762         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
80763         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80764         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80765         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80766         * sysdeps/i386/fpu/e_log2.S: Likewise.
80767         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80768         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80769         * sysdeps/i386/fpu/e_powl.S: Likewise.
80770         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80771         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80772         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80773         * sysdeps/i386/fpu/e_logl.S: Likewise.
80774         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80775         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80776         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80777         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80778         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80779         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80780         * sysdeps/i386/fpu/e_log.S: Likewise.
80781         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80782         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80783         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80784         * sysdeps/i386/fpu/e_logf.S: Likewise.
80785         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80786         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80787         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80788         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80789         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80790         * sysdeps/i386/fpu/e_log10.S: Likewise.
80791         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80792         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80793         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80794         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80795         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80796         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80797         * sysdeps/i386/asm-syntax.h: Likewise.
80798         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80799         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80800         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80801         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80802         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80803         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80804         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80805         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80806         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80807         * sysdeps/powerpc/sysdep.h: Likewise.
80808         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
80809         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
80811 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80813         [BZ #411]
80814         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
80816 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80818         * sysdeps/i386/sysdep.h: Include <features.h>.
80819         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
80820         version.
80822 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
80824         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
80825         Define.
80826         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
80827         LOAD_PIC_REG_STR.
80829 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80831         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
80832         (SETUP_PIC_REG): Use GET_PC_THUNK.
80833         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
80834         macro.
80836 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80838         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
80839         for non-PIC compilation.
80840         (SETUP_PIC_REG): Add .p2align directive.
80841         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
80842         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
80843         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
80844         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
80845         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
80846         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
80847         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
80848         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80849         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
80850         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
80851         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
80852         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
80853         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
80854         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
80855         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
80856         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
80857         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
80858         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
80859         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
80860         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
80861         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
80862         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
80863         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
80864         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
80865         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
80866         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
80867         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80868         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80869         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
80870         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
80871         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
80872         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80873         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
80874         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
80875         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
80876         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
80877         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
80878         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
80879         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
80880         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
80881         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
80883 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80885         * math/tst-CMPLX.c: Include <stdio.h>.
80887 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
80889         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
80890         float.
80891         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80892         * sysdeps/sparc/bits/mathdef.h: Likewise.
80894 2012-01-31  Marek Polacek  <polacek@redhat.com>
80896         * libio/libio.h: Don't define _PARAMS.
80897         * locale/programs/config.h: Don't define PARAMS.
80898         * stdlib/strtol_l.c: Likewise.
80899         (__strtol_l): Remove PARAMS from the prototype.
80901 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
80903         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
80904         names.  Just use the correct names.  Remove unnecessary wrapper
80905         functions.
80906         * malloc/arena.c: Likewise.
80907         * malloc/hooks.c: Likewise.
80909         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
80910         ARENA_TEST says not to.  Simplify test for creation of a new arena.
80911         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
80913 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
80915         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
80916         into tail calls.
80917         (update_get_addr): New function.
80918         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
80919         GET_ADDR_MODULE parameter.
80921 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80923         * crypt/cert.c: Remove __STDC__ conditionals.
80924         * crypt/crypt-entry.c: Likewise.
80925         * crypt/crypt_util.c: Likewise.
80926         * libio/filedoalloc.c: Likewise.
80927         * libio/fileops.c: Likewise.
80928         * libio/genops.c: Likewise.
80929         * libio/iofclose.c: Likewise.
80930         * libio/iofdopen.c: Likewise.
80931         * libio/iofopen.c: Likewise.
80932         * libio/iofopen64.c: Likewise.
80933         * libio/iogetdelim.c: Likewise.
80934         * libio/iopopen.c: Likewise.
80935         * libio/obprintf.c: Likewise.
80936         * libio/oldfileops.c: Likewise.
80937         * libio/oldiofclose.c: Likewise.
80938         * libio/oldiofdopen.c: Likewise.
80939         * libio/oldiofopen.c: Likewise.
80940         * libio/oldiopopen.c: Likewise.
80941         * libio/wfiledoalloc.c: Likewise.
80942         * libio/wgenops.c: Likewise.
80943         * locale/programs/xmalloc.c: Likewise.
80944         * misc/syslog.c: Likewise.
80945         * stdio-common/xbug.c: Likewise.
80946         * string/memchr.c: Likewise.
80947         * string/memcmp.c: Likewise.
80948         * string/memrchr.c: Likewise.
80949         * string/rawmemchr.c: Likewise.
80950         * sysdeps/posix/getcwd.c: Likewise.
80951         * time/strftime_l.c: Likewise.
80953 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80955         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
80956         * config.make.in (config-cflags-sse2avx): Define.
80957         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
80958         Fix typo.
80960 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
80962         * scripts/config.guess: Update from upstream config git repository.
80963         * scripts/config.sub: Likewise.
80965 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
80967         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
80968         (EM_NUM): Update.
80969         (R_TILEPRO_*, R_TILEGX_*): New macros.
80971         * scripts/firstversions.awk: Fix bug in version range handling.
80973         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
80975         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
80977         * include/sys/epoll.h: New file.
80978         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
80979         libc_hidden_def.
80981 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
80983         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
80984         Avoid unnecessary __WORDSIZE == 64 test.
80985         (fmaxf): Use VEX format if possible.
80986         (fmax): Likewise.
80987         (fminf): Likewise.
80988         (fmin): Likewise.
80990         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
80991         * math/math_private.h: Remove libc_fegetround* and
80992         libc_fesetround*.
80993         * sysdeps/i386/configure.in: Check for -msse2avx.
80994         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
80995         also if SSE2AVX is defined.
80996         Remove libc_fegetround* and libc_fesetround*.
80997         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
80998         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
80999         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81000         of HAS_YMM_USABLE.
81001         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81002         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81003         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81004         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81005         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81007         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81009 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81011         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81012         size is not set.
81013         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81015 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81017         [BZ #13618]
81018         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81019         relocation.
81020         * Makeconfig (libm): Define.
81021         * elf/Makefile: Add rules to build and run tst-relsort1.
81022         * elf/tst-relsort1.c: New file.
81023         * elf/tst-relsort1mod1.c: New file.
81024         * elf/tst-relsort1mod2.c: New file.
81026 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81028         * math/s_ldexp.c: Remove __STDC__ conditionals.
81029         * math/s_ldexpf.c: Likewise.
81030         * math/s_ldexpl.c: Likewise.
81031         * math/s_nextafter.c: Likewise.
81032         * math/s_nexttowardf.c: Likewise.
81033         * math/s_significand.c: Likewise.
81034         * math/s_significandf.c: Likewise.
81035         * math/s_significandl.c: Likewise.
81036         * math/w_jnl.c: Likewise.
81037         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81038         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81039         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81040         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81041         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81042         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81043         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81044         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81045         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81046         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81047         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81048         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81049         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81050         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81051         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81052         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81053         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81054         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81056         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81057         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81058         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81059         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81060         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81061         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81062         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81063         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81064         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81065         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81066         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81067         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81068         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81069         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81070         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81071         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81072         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81073         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81074         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81075         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81076         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81077         * sysdeps/ieee754/k_standard.c: Likewise.
81078         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81079         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81080         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81081         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81082         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81083         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81084         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81085         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81086         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81087         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81088         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81089         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81090         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81091         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81092         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81093         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81094         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81095         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81096         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81097         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81098         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81099         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81100         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81101         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81102         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81103         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81106         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81107         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81108         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81109         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81110         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81111         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81112         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81113         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81114         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81115         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81116         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81117         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81118         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81119         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81120         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81121         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81122         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81123         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81124         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81125         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81126         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81127         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81128         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81129         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81130         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81131         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81132         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81133         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81134         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81135         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81136         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81137         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81138         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81139         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81140         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81141         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81142         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81143         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81144         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81145         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81146         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81147         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81148         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81149         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81150         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81151         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81152         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81153         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81154         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81155         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81156         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81157         * sysdeps/ieee754/s_matherr.c: Likewise.
81158         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81159         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81160         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81161         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81163 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81165         * crypt/md5.h: Remove __STDC__ conditionals.
81166         * libio/libioP.h: Likewise.
81167         * locale/programs/config.h: Likewise.
81168         * sysdeps/generic/sysdep.h: Likewise.
81169         * sysdeps/i386/asm-syntax.h: Likewise.
81170         * sysdeps/s390/asm-syntax.h: Likewise.
81171         * sysdeps/unix/sysdep.h: Likewise.
81172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81175 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81177         * libio/libio.h: Remove __STDC__ conditionals.
81178         * malloc/obstack.h: Likewise.
81179         * math/complex.h: Likewise.
81180         * math/math.h: Likewise.
81181         * sysdeps/generic/_G_config.h: Likewise.
81182         * sysdeps/gnu/_G_config.h: Likewise.
81183         * sysdeps/mach/hurd/_G_config.h: Likewise.
81184         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81185         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81186         * sysdeps/sparc/bits/mathdef.h: Likewise.
81188 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81190         [BZ #13583]
81191         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81192         Clean up HAS_* macros.
81193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81194         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81195         possible.
81196         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81197         HAS_AVX.
81198         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81199         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81200         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81201         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81202         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81204 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81206         * elf/tst-unique3.cc (gets): Remove declaration.
81207         * elf/tst-unique3lib.cc (gets): Likewise.
81208         * elf/tst-unique3lib2.cc (gets): Likewise.
81209         * elf/tst-unique4.cc (gets): Likewise.
81211 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81213         * include/stdio.h: Add C++ protection.  Add gets declarations and
81214         definitions.
81215         * debug/tst-chk1.c: Don't declare gets here.
81216         * stdio-common/tst-gets.c: Likewise.
81218 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81220         * posix/glob: Remove directory.
81222 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81224         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81226 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81228         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81229         of the non-standard EPFNOSUPPORT.
81231 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81233         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81234         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81235         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81237 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81239         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81241 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81243         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81244         transient errors.
81245         * nscd/grpcache.c (cache_addgr): Likewise.
81246         * nscd/hstcache.c (cache_addhst): Likewise.
81247         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81248         * nscd/pwdcache.c (cache_addpw): Likewise.
81249         * nscd/servicescache.c (cache_addserv): Likewise.
81251 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81253         * malloc/malloc.c: Various cleanups.
81254         * malloc/hooks.c: Likewise.
81256         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81257         * stdlib/bug-fmtmsg1.c: New file.
81259         * stdlib/fmtmsg.c (init): Add missing unlock.
81260         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81262 2012-01-12  Marek Polacek  <polacek@redhat.com>
81264         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81265         and _GNU_SOURCE.
81267 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81269         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81270         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81271         macro to ensure uniqueness of label name.
81272         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81273         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81275 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81277         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81279         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81280         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81281         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81284 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81286         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81288         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81289         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81290         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81292         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81294         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81295         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81296         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81297         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81299         * math/bits/math-finite.h: Add ldexp support.
81301 2012-01-10  Marek Polacek  <polacek@redhat.com>
81303         * locale/programs/localedef.h (show_archive_content): Add noreturn
81304         attribute.
81306 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81308         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81310 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81312         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81314         * io/Makefile (headers): Add bits/poll2.h.
81316 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81319         typo #include statement.
81321 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81323         * include/sys/cdefs.h: Define __attribute_alloc_size.
81324         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81325         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81326         * elf/pldd.c: Likewise.
81327         * iconv/iconv_charmap.c: Likewise.
81328         * iconv/iconvconfig.c: Likewise.
81329         * iconv/strtab.c: Likewise.
81330         * locale/programs/locale.c: Likewise.
81331         * locale/programs/localedef.h: Likewise.
81332         * locale/programs/simple-hash.c: Likewise.
81333         * nscd/nscd.h: Likewise.
81334         * nss/makedb.c: Likewise.
81335         * sysdeps/generic/ldconfig.h: Likewise.
81336         * locale/programs/localedef.c: Remove xmalloc prototype.
81337         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81339 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81341         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81342         appropriate.
81344 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81346         * math/Makefile (tests): Add tst-CMPLX.
81347         * math/tst-CMPLX.c: New file.
81349         * math/complex.h (CMPLXL): Fix typo.
81351         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81352         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81353         GLIBC_2.16.
81354         * debug/tst-chk1.c: Add poll and ppoll tests.
81355         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81356         * include/sys/poll.h: Add hidden proto for ppoll.
81357         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81358         * sysdeps/mach/hurd/ppoll.c: Likewise.
81359         * io/ppoll.c: Likewise.
81360         * debug/poll_chk.c: New file.
81361         * debug/ppoll_chk.c: New file.
81362         * include/bits/poll2.h: New file.
81363         * io/bits/poll2.h: New file.
81365         [BZ #1350]
81366         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81368         * configure.in: static is always set to yes.  Remove.
81369         * config.make.in: Don't set build-static.
81370         * Makeconfig: Remove use of build-static.
81371         * dlfcn/Makefile: Likewise.
81372         * elf/Makefile: Likewise.
81373         * math/Makefile: Likewise.
81374         * misc/Makefile: Likewise.
81375         * nptl/Makefile: Likewise.
81376         * sysdeps/mach/hurd/Makefile: Likewise.
81378         * configure.in: PWD_P is not used anymore.
81379         * config.make.in: Remove PWD_P entry.
81381         * configure.in: Remove last remnants of RANLIB.
81382         No need to check for signed size_t anymore.
81383         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81384         and IA-64.
81385         Remove __builtin_expect test because we require at least gcc 3.4.
81386         * aclocal.m4: Likewise.
81388         * wcsmbs/mbrtoc16.c: Implement using towc function.
81389         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81390         * wcsmbs/wcsmbsload.c: Likewise.
81391         * iconv/gconv_simple.c: Likewise.
81392         * iconv/gconv_int.h: Likewise.
81393         * iconv/gconv_builtin.h: Likewise.
81394         * iconv/iconv_prog.c: Remove CHAR16 handling.
81396         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81398         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81400         * configure.in: Remove --with-elf and --enable-bounded options.
81401         Dont set base_machine for ia64.  More non-ELF conditions removed.
81402         Remove testing and setting of leading underscore information.
81403         * config.make.in (build-bounded): Set to no.
81404         * config.h.in: Remove NO_UNDERSCORES entry.
81405         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81406         them.
81407         * csu/start.c: Remove !NO_UNDERSCORE code.
81408         * locale/localeinfo.h: Likewise.
81409         * sysdeps/generic/machine-gmon.h: Likewise.
81410         * sysdeps/generic/sysdep.h: Likewise.
81411         * sysdeps/i386/sysdep.h: Likewise.
81412         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81413         * sysdeps/mach/sysdep.h: Likewise.
81414         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81415         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81416         * sysdeps/sh/sysdep.h: Likewise.
81417         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81418         * sysdeps/unix/i386/sysdep.S: Likewise.
81419         * sysdeps/unix/sparc/start.c: Likewise.
81420         * sysdeps/unix/sparc/sysdep.S: Likewise.
81421         * sysdeps/unix/sparc/sysdep.h: Likewise.
81422         * sysdeps/unix/start.c: Likewise.
81423         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81424         * sysdeps/x86_64/sysdep.h: Likewise.
81426 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81428         [BZ #13553]
81429         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81430         for non-gcc.
81431         * argp/argp-fmtstream.h: Use const instead __const.
81432         * argp/argp.h: Likewise.
81433         * assert/assert.h: Likewise.
81434         * bits/fenv.h: Likewise.
81435         * bits/sched.h: Likewise.
81436         * bits/sigset.h: Likewise.
81437         * bits/sigthread.h: Likewise.
81438         * catgets/nl_types.h: Likewise.
81439         * conform/data/pthread.h-data: Likewise.
81440         * crypt/crypt-private.h: Likewise.
81441         * crypt/crypt.h: Likewise.
81442         * crypt/crypt_util.c: Likewise.
81443         * ctype/ctype.h: Likewise.
81444         * debug/execinfo.h: Likewise.
81445         * debug/mbsnrtowcs_chk.c: Likewise.
81446         * debug/mbsrtowcs_chk.c: Likewise.
81447         * debug/wcsnrtombs_chk.c: Likewise.
81448         * debug/wcsrtombs_chk.c: Likewise.
81449         * debug/wcstombs_chk.c: Likewise.
81450         * dirent/dirent.h: Likewise.
81451         * dlfcn/dlfcn.h: Likewise.
81452         * elf/neededtest4.c: Likewise.
81453         * grp/grp.h: Likewise.
81454         * gshadow/gshadow.h: Likewise.
81455         * iconv/gconv.h: Likewise.
81456         * iconv/gconv_int.h: Likewise.
81457         * iconv/gconv_simple.c: Likewise.
81458         * iconv/iconv.h: Likewise.
81459         * iconv/loop.c: Likewise.
81460         * iconv/skeleton.c: Likewise.
81461         * include/aio.h: Likewise.
81462         * include/aliases.h: Likewise.
81463         * include/argz.h: Likewise.
81464         * include/arpa/inet.h: Likewise.
81465         * include/assert.h: Likewise.
81466         * include/dirent.h: Likewise.
81467         * include/dlfcn.h: Likewise.
81468         * include/execinfo.h: Likewise.
81469         * include/fcntl.h: Likewise.
81470         * include/fenv.h: Likewise.
81471         * include/glob.h: Likewise.
81472         * include/grp.h: Likewise.
81473         * include/libintl.h: Likewise.
81474         * include/mntent.h: Likewise.
81475         * include/netdb.h: Likewise.
81476         * include/pwd.h: Likewise.
81477         * include/rpc/netdb.h: Likewise.
81478         * include/sched.h: Likewise.
81479         * include/search.h: Likewise.
81480         * include/shadow.h: Likewise.
81481         * include/signal.h: Likewise.
81482         * include/stdio.h: Likewise.
81483         * include/stdlib.h: Likewise.
81484         * include/string.h: Likewise.
81485         * include/sys/socket.h: Likewise.
81486         * include/sys/stat.h: Likewise.
81487         * include/sys/statfs.h: Likewise.
81488         * include/sys/statvfs.h: Likewise.
81489         * include/sys/syslog.h: Likewise.
81490         * include/sys/time.h: Likewise.
81491         * include/sys/uio.h: Likewise.
81492         * include/time.h: Likewise.
81493         * include/unistd.h: Likewise.
81494         * include/utmp.h: Likewise.
81495         * include/wchar.h: Likewise.
81496         * include/wctype.h: Likewise.
81497         * inet/aliases.h: Likewise.
81498         * inet/arpa/inet.h: Likewise.
81499         * inet/netinet/ether.h: Likewise.
81500         * inet/netinet/in.h: Likewise.
81501         * intl/libintl.h: Likewise.
81502         * io/bits/fcntl2.h: Likewise.
81503         * io/fcntl.h: Likewise.
81504         * io/ftw.h: Likewise.
81505         * io/sys/poll.h: Likewise.
81506         * io/sys/stat.h: Likewise.
81507         * io/sys/statfs.h: Likewise.
81508         * io/sys/statvfs.h: Likewise.
81509         * io/utime.h: Likewise.
81510         * libio/bits/stdio.h: Likewise.
81511         * libio/bits/stdio2.h: Likewise.
81512         * libio/libio.h: Likewise.
81513         * libio/libioP.h: Likewise.
81514         * libio/stdio.h: Likewise.
81515         * locale/lc-ctype.c: Likewise.
81516         * locale/locale.h: Likewise.
81517         * login/utmp.h: Likewise.
81518         * malloc/arena.c: Likewise.
81519         * malloc/malloc.c: Likewise.
81520         * malloc/malloc.h: Likewise.
81521         * malloc/mcheck.c: Likewise.
81522         * malloc/mtrace.c: Likewise.
81523         * math/bits/mathcalls.h: Likewise.
81524         * math/fenv.h: Likewise.
81525         * math/math_private.h: Likewise.
81526         * misc/bits/error.h: Likewise.
81527         * misc/bits/syslog.h: Likewise.
81528         * misc/err.h: Likewise.
81529         * misc/error.h: Likewise.
81530         * misc/fstab.h: Likewise.
81531         * misc/mntent.h: Likewise.
81532         * misc/regexp.h: Likewise.
81533         * misc/search.h: Likewise.
81534         * misc/sgtty.h: Likewise.
81535         * misc/sys/mman.h: Likewise.
81536         * misc/sys/syslog.h: Likewise.
81537         * misc/sys/uio.h: Likewise.
81538         * misc/sys/xattr.h: Likewise.
81539         * misc/ttyent.h: Likewise.
81540         * nis/rpcsvc/ypclnt.h: Likewise.
81541         * nss/nss.h: Likewise.
81542         * posix/bits/unistd.h: Likewise.
81543         * posix/fnmatch.h: Likewise.
81544         * posix/glob.h: Likewise.
81545         * posix/sched.h: Likewise.
81546         * posix/spawn.h: Likewise.
81547         * posix/sys/wait.h: Likewise.
81548         * posix/unistd.h: Likewise.
81549         * posix/wordexp.h: Likewise.
81550         * pwd/pwd.h: Likewise.
81551         * resolv/netdb.h: Likewise.
81552         * resource/sys/resource.h: Likewise.
81553         * rt/aio.h: Likewise.
81554         * rt/bits/mqueue2.h: Likewise.
81555         * rt/mqueue.h: Likewise.
81556         * shadow/shadow.h: Likewise.
81557         * signal/signal.h: Likewise.
81558         * socket/send.c: Likewise.
81559         * socket/sendto.c: Likewise.
81560         * socket/sys/socket.h: Likewise.
81561         * stdio-common/printf.h: Likewise.
81562         * stdlib/bits/stdlib.h: Likewise.
81563         * stdlib/fmtmsg.h: Likewise.
81564         * stdlib/monetary.h: Likewise.
81565         * stdlib/stdlib.h: Likewise.
81566         * stdlib/ucontext.h: Likewise.
81567         * streams/stropts.h: Likewise.
81568         * string/argz.h: Likewise.
81569         * string/bits/string2.h: Likewise.
81570         * string/string.h: Likewise.
81571         * string/strings.h: Likewise.
81572         * sunrpc/rpc/auth.h: Likewise.
81573         * sunrpc/rpc/auth_des.h: Likewise.
81574         * sunrpc/rpc/clnt.h: Likewise.
81575         * sunrpc/rpc/netdb.h: Likewise.
81576         * sunrpc/rpc/pmap_clnt.h: Likewise.
81577         * sunrpc/rpc/xdr.h: Likewise.
81578         * sysdeps/generic/inttypes.h: Likewise.
81579         * sysdeps/generic/net/if.h: Likewise.
81580         * sysdeps/generic/sys/swap.h: Likewise.
81581         * sysdeps/gnu/net/if.h: Likewise.
81582         * sysdeps/gnu/utmpx.h: Likewise.
81583         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
81584         * sysdeps/i386/i486/bits/string.h: Likewise.
81585         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
81586         * sysdeps/s390/bits/string.h: Likewise.
81587         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
81588         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
81589         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
81590         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
81591         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
81592         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
81593         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
81594         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
81595         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
81596         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
81597         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
81598         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
81599         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
81600         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
81601         * sysdeps/unix/sysv/linux/readv.c: Likewise.
81602         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
81603         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
81604         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81605         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
81606         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
81607         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81608         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
81609         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
81610         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
81611         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
81612         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
81613         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
81614         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81615         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
81616         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
81617         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
81618         * sysvipc/sys/ipc.h: Likewise.
81619         * sysvipc/sys/msg.h: Likewise.
81620         * sysvipc/sys/sem.h: Likewise.
81621         * sysvipc/sys/shm.h: Likewise.
81622         * termios/termios.h: Likewise.
81623         * time/sys/time.h: Likewise.
81624         * time/time.h: Likewise.
81625         * wcsmbs/bits/wchar2.h: Likewise.
81626         * wcsmbs/uchar.h: Likewise.
81627         * wcsmbs/wchar.h: Likewise.
81628         * wctype/wctype.h: Likewise.
81630         [BZ #13551]
81631         * Makeconfig: Remove all but ELF support including AIX support.
81632         * Makerules: Likewise.
81633         * config.h.in: Likewise.
81634         * config.make.in: Likewise.
81635         * configure: Likewise.
81636         * configure.in: Likewise.
81637         * csu/Makefile: Likewise.
81638         * csu/version.c: Likewise.
81639         * debug/Makefile: Likewise.
81640         * dlfcn/Makefile: Likewise.
81641         * elf/Makefile: Likewise.
81642         * extra-lib.mk: Likewise.
81643         * iconv/Makefile: Likewise.
81644         * include/libc-symbols.h: Likewise.
81645         * include/shlib-compat.h: Likewise.
81646         * resolv/Makefile: Likewise.
81647         * resolv/res_libc.c: Likewise.
81648         * rt/Makefile: Likewise.
81649         * sysdeps/i386/asm-syntax.h: Likewise.
81650         * sysdeps/i386/sysdep.h: Likewise.
81651         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81652         * sysdeps/mach/sysdep.h: Likewise.
81653         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
81654         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
81655         * sysdeps/s390/asm-syntax.h: Likewise.
81656         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81657         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81658         * sysdeps/sh/sysdep.h: Likewise.
81659         * sysdeps/unix/sparc/sysdep.h: Likewise.
81660         * sysdeps/wordsize-32/divdi3.c: Likewise.
81661         * sysdeps/x86_64/sysdep.h: Likewise.
81663         * argp/Versions: Remove _argp_unlock_xxx.
81665         [BZ #13559]
81666         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
81667         * abilist/libBrokenLocale.abilist: Likewise.
81668         * abilist/libanl.abilist: Likewise.
81669         * abilist/libc.abilist: Likewise.
81670         * abilist/libcrypt.abilist: Likewise.
81671         * abilist/libdl.abilist: Likewise.
81672         * abilist/libm.abilist: Likewise.
81673         * abilist/libnsl.abilist: Likewise.
81674         * abilist/libpthread.abilist: Likewise.
81675         * abilist/libresolv.abilist: Likewise.
81676         * abilist/librt.abilist: Likewise.
81677         * abilist/libthread_db.abilist: Likewise.
81678         * abilist/libutil.abilist: Likewise.
81679         * abilist/libnss_db.abilist: New file.
81681         * scripts/abilist.awk: Add support for indirect functions.
81683         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
81685         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
81687         * shlib-versions: Remove entries for ports architectures.
81689         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
81690         files in ports.
81691         * elf/stackguard-macros.h: Remove support for IA-64.
81692         * elf/tst-auditmod1.c: Likewise.
81693         * sysdeps/generic/ldsodefs.h: Likewise.
81695         * sysdeps/unix/sysv/linux/configure.in: Ports should define
81696         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
81697         configure files.
81699         [BZ #13552]
81700         * configure.in: Remove --enable-omitfp support.
81701         * FAQ.in: Adjust.
81702         * config.make.in: Likewise.
81703         * Makeconfig: Likewise.
81704         * manual/install.texi: Likewise.
81706         In case anyone cares, the IA-64 architecture could move to ports.
81707         * sysdeps/ia64/*: Removed.
81708         * sysdeps/unix/sysv/linux/ia64/*: Removed.
81709         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
81711         [BZ #13555]
81712         * configure.in: Remove entries for unsupported architectures.
81714         [BZ #13533]
81715         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
81716         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
81717         routines.
81718         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
81719         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
81720         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
81721         fall back to using wcrtomb.
81722         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
81723         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
81724         renaming.
81725         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
81726         * wcsmbs/tst-c16c32-1.c: New file.
81728         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
81729         local variable.
81731         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
81733         * elf/tst-unique3.cc: Add explicit declaration of gets.
81734         * elf/tst-unique3lib.cc: Likewise.
81735         * elf/tst-unique3lib2.cc: Likewise.
81736         * elf/tst-unique4.cc: Likewise.
81738         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
81740 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
81742         [BZ #13566]
81743         * assert/assert.h (static_assert): Don't define for C++.
81744         * libio/stdio.h (gets): Do declare for C++ <= C++11.
81745         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
81747 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
81749         * iconv/loop.c (single loop): Fix assertion in storing of
81750         remaining bytes.
81752         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
81754 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
81756         * posix/getconf.c: Update copyright year.
81757         * nss/getent.c: Likewise.
81758         * nss/makedb.c: Likewise.
81759         * iconv/iconvconfig.c: Likewise.
81760         * iconv/iconv_prog.c: Likewise.
81761         * elf/ldconfig.c: Likewise.
81762         * elf/pldd.c: Likewise.
81763         * elf/sotruss.ksh: Likewise.
81764         * catgets/gencat.c: Likewise.
81765         * csu/version.c: Likewise.
81766         * elf/ldd.bash.in: Likewise.
81767         * elf/sprof.c (print_version): Likewise.
81768         * locale/programs/locale.c: Likewise.
81769         * locale/programs/localedef.c: Likewise.
81770         * login/programs/pt_chown.c: Likewise.
81771         * nscd/nscd.c (print_version): Likewise.
81772         * debug/xtrace.sh: Likewise.
81773         * malloc/memusage.sh: Likewise.
81774         * malloc/mtrace.pl: Likewise.
81775         * debug/catchsegv.sh: Likewise.
81777 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81779         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81780         pure attribute.
81782 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81784         [BZ #13533]
81785         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81786         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81787         transformations.
81788         * iconv/gconv_int.h: Likewise.
81789         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81790         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81791         from libc for GLIBC_2.16.
81792         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81793         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81794         * wcsmbs/uchar.h: Really define mbstate_t.
81795         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81796         * wcsmbs/c16rtomb.c: New file.
81797         * wcsmbs/mbrtoc16.c: New file.
81798         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81799         for C/POSIX locale.
81800         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81801         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81803         * wcsmbs/wchar.h: Add missing __restrict.
81805 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81807         [BZ #13532]
81808         * time/Makefile (routines): Add timespec_get.
81809         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
81810         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
81811         timespec for ISO C11.
81812         * time/timespec_get.c: New file.
81813         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
81814         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
81816         [BZ #13531]
81817         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
81818         * stdlib/stdlib.h: Declare aligned_alloc.
81819         * Versions.def: Add GLIBC_2.16 for libc.
81820         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
81822         [BZ 13527]
81823         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
81824         ISO C11.
81826         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
81827         code.
81829         [BZ #13528]
81830         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
81832         [BZ #13529]
81833         * assert/assert.h (static_assert): Define.
81835         * version.h: Update for 2.16 development version.
81837         [BZ #13526]
81838         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
81839         _ISOC11_SOURCE.
81841         * version.h (RELEASE): Bump for 2.15 release.
81842         * include/features.h (__GLIBC_MINOR__): Bump to 15.
81844         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
81845         Patch by Marek Polacek <mpolacek@redhat.com>.
81847         * bits/byteswap.h: Protect long long constants with __extension__.
81848         * sysdeps/i386/bits/byteswap.h: Likewise.
81849         * sysdeps/ia64/bits/byteswap.h: Likewise.
81850         * sysdeps/s390/bits/byteswap.h: Likewise.
81851         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81853 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81855         [BZ #13540]
81856         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
81857         destination buffer.
81858         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
81860 2011-12-23  Marek Polacek  <polacek@redhat.com>
81862         * elf/dl-addr.c (determine_info): Add inline keyword.
81863         * elf/tst-auditmod4b.c (check_avx): Likewise.
81864         * elf/tst-auditmod6b.c (check_avx): Likewise.
81865         * elf/tst-auditmod6c.c (check_avx): Likewise.
81866         * elf/tst-auditmod7b.c (check_avx): Likewise.
81868 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81870         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
81871         !__SSE_MATH__.
81873 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81875         [BZ #13540]
81876         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
81877         processing for last bytes.
81879 2011-08-06  Bruno Haible  <bruno@clisp.org>
81881         [BZ #13061]
81882         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
81883         U+0385, not to U+1FEE.
81885         [BZ #13062]
81886         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
81887         entry for U+00A5 U+0301.
81889 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81891         [BZ #13166]
81892         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
81893         buffer for the output is too small.
81895         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
81896         optimization.
81898         [BZ #13185]
81899         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
81900         SSE flags if possible.
81902 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81904         [BZ #13540]
81905         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
81906         processing for last bytes.
81908 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
81910         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
81911         (syscall-list-default-options, syscall-list-default-condition)
81912         (syscall-list-includes): Define.
81913         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
81914         list of ABIs and options and #if conditions for each ABI.  Do not
81915         handle common syscalls between ABIs specially.
81916         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
81917         Remove.
81918         (syscall-list-variants, syscall-list-32bit-options)
81919         (syscall-list-32bit-condition, syscall-list-64bit-options)
81920         (syscall-list-64bit-condition): Define.
81921         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
81922         (syscall-list-variants, syscall-list-32bit-options)
81923         (syscall-list-32bit-condition, syscall-list-64bit-options)
81924         (syscall-list-64bit-condition): Define.
81925         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
81926         Remove.
81927         (syscall-list-variants, syscall-list-32bit-options)
81928         (syscall-list-32bit-condition, syscall-list-64bit-options)
81929         (syscall-list-64bit-condition): Define.
81930         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
81931         Remove.
81932         (syscall-list-variants, syscall-list-32bit-options)
81933         (syscall-list-32bit-condition, syscall-list-64bit-options)
81934         (syscall-list-64bit-condition): Define.
81936 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81938         * locale/iso-639.def: Add brx entry.
81940         [BZ #13328]
81941         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
81942         Proposed by Mariusz_Cukr <marcukr@op.pl>.
81944         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
81945         __feraiseexcept_renamed.
81947 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81949         [BZ #13538]
81950         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
81951         EPOLLET with unsigned values.
81952         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81953         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81955         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
81956         to large cancellation.
81957         * math/s_cacoshf.c: Likewise.
81958         * math/s_cacoshl.c: Likewise.
81960 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
81962         [BZ #13305]
81963         [BZ #12786]
81964         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
81965         * math/s_cacoshf.c: Likewise.
81966         * math/s_cacoshl.c: Likewise.
81968 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81970         [BZ #13439]
81971         * iconv/gconv.h: Define __GCONV_SWAP.
81972         * iconvdata/unicode.c: The swap bit must be stored in __flags.
81973         * iconvdata/utf-16.c: Likewise.
81974         * iconvdata/utf-32.c: Likewise.
81976 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
81978         [BZ #13524]
81979         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
81980         numerator after shifting it by one limb.
81982 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
81984         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
81985         under [__USE_EXTERN_INLINES].
81987 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81989         [BZ #13446]
81990         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
81992 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81994         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
81995         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
81996         optimized code.
81997         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
81998         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
81999         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82000         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82001         for strncasecmp/strncasecmp_l compilation.
82002         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82003         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82005 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82007         [BZ #13484]
82008         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82009         of __asm__.
82011 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82013         [BZ #13506]
82014         * time/tzfile.c (__tzfile_read): Check values from file header.
82016 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82018         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82019         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82020         * powerpc/powerpc32/dl-start.S: Likewise.
82021         * powerpc/powerpc32/elf/start.S: Likewise.
82022         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82023         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82024         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82025         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82026         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82027         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82028         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82029         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82030         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82031         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82032         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82033         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82034         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82035         * powerpc/powerpc32/memset.S: Likewise.
82036         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82037         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82038         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82039         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82040         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82041         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82042         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82043         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82044         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82045         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82046         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82047         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82048         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82050 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82052         * math/libm-test.inc: Added more nearbyint tests.
82053         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82054         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82055         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82056         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82058 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82060         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82061         FD_CLOEXEC.
82063 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82065         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82066         Add wcscpy-ssse3 wcscpy-c.
82067         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82068         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82069         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82070         * sysdeps/x86_64/wcschr.S: New file.
82071         * sysdeps/x86_64/wcsrchr.S: New file.
82072         * string/test-strcmp.c: Remove checking of wcscmp function for
82073         wrong alignments.
82074         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82075         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82076         wcsrchr-sse2 wcsrchr-c.
82077         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82078         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82079         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82080         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82081         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82082         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82083         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82084         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82085         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82086         * wcsmbc/wcschr.c (WCSCHR): New macro.
82088 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82090         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82091         * wcsmbs/test-wcsrchr.c: New file.
82092         * string/test-strrchr.c: Add wcsrchr support.
82093         (WIDE): New macro.
82094         * wcsmbs/test-wcscpy.c: New file.
82095         * string/test-strcpy.c: Add wcscpy support.
82096         (WIDE): New macro.
82098 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82100         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82101         the inner loop.
82103 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82105         [BZ #13472]
82106         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82108 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82110         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82111         Minor optimizations.
82113         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82114         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82115         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82117 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82119         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82120         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82121         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82122         for gcc to avoid warnings.
82123         * inet/Makefile (tests): Add tst-checks.
82124         * inet/tst-checks.c: New file.
82126         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82127         warning.
82129         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82130         __wmemcmp_sse2.
82132         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82133         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82135         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82137 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82139         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82140         problem.
82142         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82144 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82146         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82147         conditional on GCC version.
82148         (__arch_compare_and_exchange_val_8_acq)
82149         (__arch_compare_and_exchange_val_16_acq)
82150         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82151         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82152         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82154 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82156         * sysdeps/sh/backtrace.c: New file.
82158 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82160         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82161         parenthesis.
82163 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82165         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82166         falling back to utime.
82168 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82170         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82171         expectations for float.
82173 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82175         * locale/weight.h (findidx): Add parameter len.
82176         * locale/weightwc.h (findidx): Likewise.
82177         * posix/fnmatch_loop.c (FCT): Adjust caller.
82178         * posix/regcomp.c (build_equiv_class): Likewise.
82179         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82180         * posix/regexec.c (check_node_accept_bytes): Likewise.
82181         * string/strcoll_l.c (STRCOLL): Likewise.
82182         * string/strxfrm_l.c (STRXFRM): Likewise.
82184 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82186         * Makefile.in: Remove CVSOPT handling.
82187         * configure.in: Remove use of AC_REVISION.
82188         * iconvdata/Makefile (distribute): No need to filter out CVS.
82189         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82190         handling.
82192 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82194         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82195         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82196         [USE_AS_STRNCASECMP_L]: Likewise.
82197         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82198         NO_TLS_DIRECT_SEG_REFS.
82199         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82200         Fix argument offsets for non-PIC.
82201         [USE_AS_STRNCASECMP_L]: Likewise.
82202         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82203         NO_TLS_DIRECT_SEG_REFS.
82205 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82207         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82208         O_CLOEXEC.
82209         * locale/loadlocale.c (_nl_load_locale): Likewise.
82211 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82213         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82214         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82215         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82216         (SYSCALL_GETTIME): Set errno on error.
82218         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82219         count references to noai6ai_cached.
82221 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82223         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82225         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82226         FD_CLOEXEC for /proc/self/maps.
82228         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82229         FD_CLOEXEC for /proc/meminfo.
82231         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82232         gai.conf.
82234         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82235         FD_CLOEXEC for given file.
82237         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82239         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82240         FD_CLOEXEC for /etc/hosts.
82241         (_gethtent): Likewise.
82243         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82245         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82246         cancellation and set FD_CLOEXEC for /etc/netgroup.
82248         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82249         reading /etc/publickey.
82251         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82252         allow cancellation when reading /etc/group.
82254         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82255         cancellation.
82256         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82258         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82259         when using data file.
82261         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82263         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82264         (write_nis_obj): Use "c" and "e" in fopen.
82266         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82268         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82270         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82272         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82274         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82275         locale.alias.
82277         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82279         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82281         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82283         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82284         file parsing and set FD_CLOEXEC.
82286 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82288         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82290 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82292         * malloc/arena.c (arena_get2): Don't call reused_arena when
82293         _int_new_arena failed.
82295 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82297         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82298         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82299         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82300         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82301         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82302         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82303         to compile strcasecmp and strncasecmp.
82304         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82305         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82307         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82309 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82311         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82312         locale-defines.sym to gen-as-const-headers.
82313         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82314         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82316         to compile strcasecmp and strncasecmp.
82317         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82318         strcasecmp_l and strncasecmp_l.
82319         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82320         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82321         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82322         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82323         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82324         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82325         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82326         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82327         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82328         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82329         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82331 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82333         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82334         result of SYSDEP_GETTIME_CPU to retval.
82335         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82336         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82338         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82339         variable.
82341         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82342         mantissa words.
82343         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82345         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82346         from unused variable.
82348         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82349         DWARF definitions.
82350         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82351         for assembling.
82353         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82354         over namespaces.
82356         * sunrpc/rpc_prot.c (rejected): Fix case value.
82358         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82359         unsigned long long int to avoid warnings in shift.
82361         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82362         of use of trans.
82363         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82364         variable tmp.
82366         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82367         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82368         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82370         * nis/nis_table.c (nis_list): Use variable of correct type for
82371         result of __follow_path call.
82373 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82375         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82376         of math functions ceil, trunc, floor, round, and sqrt, when
82377         avaliable on the platform.
82378         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82379         name clash.
82380         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82381         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82382         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82384 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82386         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82387         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82389 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82391         * include/unistd.h: Fix __readlink return type.
82392         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82394 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82396         * stdlib/ucontext.h: Undo last change for makecontext.
82398 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82400         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82402         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82403         * setjmp/setjmp.h: Mark functions as non-leaf.
82404         * setjmp/bits/setjmp2.h: Likewise.
82405         * stdlib/ucontext.h: Likewise.
82407 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82409         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82410         (reused_arena): Don't check arena limit.
82411         (arena_get2): Atomically check arena limit.
82413 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82415         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82416         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82418         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82419         instructions.
82421 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82423         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82424         handler when locking.
82426         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82427         Fix size of allocated buffer.
82429 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82431         [BZ #10103]
82432         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82433         declarations for long double functions.
82434         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82436         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82438 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82440         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82441         installed.
82443         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82444         is disabled.
82446 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82448         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82450 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82452         * include/alloca.h (stackinfo_alloca_round): Define.
82453         (extend_alloca): Use it.
82454         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82455         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82456         here.
82458         * scripts/check-local-headers.sh: Ignore libaudit.h.
82460         * nscd/Makefile (extra-objs): Make recursively expanded.
82462 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82464         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82465         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82467         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82468         * posix/tst-rfc3484-2.c: Likewise.
82469         * posix/tst-rfc3484-3.c: Likewise.
82471         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82472         process_vm_writev.
82473         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82474         process_vm_writev.
82475         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82476         process_vm_writev from libc using GLIBC_2.15 version.
82478         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82480 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82482         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82483         stack usage.
82485 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
82487         [BZ #13367]
82488         * nss/getent.c (initgroups_keys): Show error message in case no group
82489         names are given.
82491         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
82492         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
82493         __bump_nl_timestamp.
82494         * nscd/connections (nscd_init): When host database is served open
82495         netlink socket and request notification about configuration changes.
82496         (main_loop_poll): Track netlink file descriptor and bump timestamp
82497         in case data becomes available.
82498         (main_loop_epoll): Likewise.
82499         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
82500         (database_pers_head): Add extra_data fileds.
82501         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
82502         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
82503         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
82504         Adjust caller.
82505         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
82506         in6ai data, call __free_in6ai.
82507         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
82508         Add -DHAVE_NETLINK.
82509         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
82510         interface information.  Reuse previous data if netlink timestamp
82511         is not changed.
82512         (__bump_nl_timestamp): New function.
82513         (__free_in6ai): New function.
82515 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
82517         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
82518         close_not_cancel_no_status here.
82519         (__check_pf): Reorganize code a bit to not call close twice if OOM.
82521 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82523         [BZ #13276]
82524         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
82525         return value.
82527         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
82528         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
82529         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
82531 2011-07-03  Andreas Jaeger  <aj@suse.de>
82533         [BZ #10709]
82534         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
82535         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
82536         * math/libm-test.inc (sin_test): Add test case.
82538 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82540         [BZ #13337]
82541         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
82542         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82544         * elf/chroot_canon.c (chroot_canon): Cleanups.
82546         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
82548         [BZ #13335]
82549         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
82550         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82552         * string/test-strchr.c: Make usable for strchrnul testing.
82553         * string/test-strchrnul.c: New file.
82554         * string/Makefile (strop-tests): Add strchrnul.
82556         * po/it.po: Update from translation team.
82557         * po/es.po: Likewise.
82559 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
82561         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
82562         the three constants needed as parameters.  Drop the others.
82563         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
82564         __m128i_strloadu_tolower.
82565         Create and initialize variable zero and use it in all the places
82566         where _mm_setzero_si128 was used.
82568         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
82569         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
82570         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
82571         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
82572         anymore.
82573         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
82574         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
82575         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
82576         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
82577         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
82578         __mpranred, __mptan.
82579         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
82580         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
82581         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
82582         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
82583         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
82584         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
82585         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
82586         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
82587         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
82589 2011-10-28  Andreas Schwab  <schwab@redhat.com>
82591         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
82592         redefine if SHARED.
82593         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
82595         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
82596         wide char related routines to wcsmbs subdir.
82598 2011-10-27  Andreas Schwab  <schwab@redhat.com>
82600         [BZ #13344]
82601         * misc/sys/cdefs.h (__THROWNL): Define.
82602         * posix/unistd.h: Use __THREADNL instead of __THREAD
82603         for memory synchronization functions.
82605 2011-10-26  Roland McGrath  <roland@hack.frob.com>
82607         [BZ #13349]
82608         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
82609         doesn't exist.
82610         * manual/stdio.texi (Obstack Streams): Node removed.
82612 2011-10-26  Andreas Schwab  <schwab@redhat.com>
82614         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
82615         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82616         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82618         * math/math_private.h (math_force_eval): Allow non-addressable
82619         arguments.
82620         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
82622 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82624         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
82625         file is not needed.
82627         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
82628         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
82629         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82630         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82631         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82632         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82633         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82634         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
82635         Add AVX variants.
82636         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
82637         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
82638         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
82639         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
82640         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
82641         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
82642         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
82643         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
82644         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
82645         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
82646         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
82647         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
82648         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
82649         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
82650         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
82651         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
82652         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
82653         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
82654         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
82656         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
82657         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
82659         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
82660         place.  Use VEX encoding when compiling for AVX.
82662 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82664         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
82665         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
82667         * string/test-strchr.c (do_test): Don't generate NUL bytes.
82669 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82671         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
82672         useless if() expression.
82673         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82674         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82675         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82676         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82677         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82678         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82679         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82680         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82681         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82682         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82683         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82684         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82685         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82686         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82687         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82688         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82689         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82690         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82691         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82693         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
82695 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82697         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
82698         condition.
82699         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82701 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82703         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
82704         .text section.  Avoid duplicate constants.
82705         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82706         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82707         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82708         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82709         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82712         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82713         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
82714         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
82715         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
82716         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
82717         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
82718         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
82719         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
82720         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
82721         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
82722         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
82723         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82724         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82725         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82726         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82727         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82728         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
82729         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
82730         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
82731         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
82732         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
82733         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
82734         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
82735         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
82736         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
82737         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
82738         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
82739         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
82740         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
82741         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
82742         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
82743         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
82744         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
82745         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
82746         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
82747         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
82748         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
82749         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
82751 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
82753         * sysdeps/x86_64/dla.h: Move to ...
82754         * sysdeps/x86_64/fpu/dla.h: ...here.
82755         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
82756         situations.  Use __builtin_fma only for gcc 4.6 and up.
82758         * config.make.in: Add have-mfma4 entry.
82759         * configure.in: Substitute libc_cv_cc_fma4.
82760         * math/Makefile (dbl-only-routines): Add sincostab.
82761         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
82762         Use __sincostab not sincos.
82763         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
82764         name is a macro.
82765         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82766         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82767         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82768         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82769         using __copysign.
82770         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82771         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82772         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82773         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82774         and __inv.
82775         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82776         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82777         __copysign.
82778         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82779         define aliases when function name is a macro.
82780         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82781         sysdeps/ieee754/dbl-64/sincos.tbl.
82782         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82783         fma4-enabled routines.
82784         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82785         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82786         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82787         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82788         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82789         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82790         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82791         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82792         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82793         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82794         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82795         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82796         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82797         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82798         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82799         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82800         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82801         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82802         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82803         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82804         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82805         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82806         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
82807         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
82808         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
82809         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
82810         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
82811         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
82812         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
82813         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
82815         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
82816         rename.
82817         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82818         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82819         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82820         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82821         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82822         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82823         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82824         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82826 2011-10-24  Andreas Schwab  <schwab@redhat.com>
82828         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
82830 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82832         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
82834         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
82835         prediction.
82836         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
82838         * string/strnlen.c: Don't define STRNLEN, reverse logic.
82839         Remove unused variable magic_bits.
82840         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
82842         * string/strnlen.c: Define and use STRNLEN macro.
82843         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
82844         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
82845         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
82846         * wcsmbs/wcslen.c: Define and use WCSLEN.
82847         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
82848         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
82849         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
82850         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
82851         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
82852         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
82853         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82855 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82858         strnlen-sse2-no-bsf.
82859         Rename strlen-no-bsf to strlen-sse2-no-bsf.
82860         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
82861         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
82862         Add strnlen support.
82863         (USE_AS_STRNLEN): New macro.
82864         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
82865         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
82866         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
82867         * sysdeps/x86_64/wcslen.S: New file.
82869 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
82871         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82872         XMM-moves are used for copying on small sizes.
82874 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82876         * wcsmbs/Makefile (strop-tests): Add wcschr.
82877         * wcsmbs/test-wcschr.c: New file.
82878         * string/test-strchr.c: Update.
82879         Add wcschr support.
82880         (WIDE): New macro.
82882 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82884         * wcsmbs/Makefile (strop-tests): Add wcslen.
82885         * wcsmbs/test-wcslen.c: New file.
82886         * string/test-strlen.c: Update.
82887         Add wcslen support.
82888         (WIDE): New macro.
82890 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82892         * po/it.po: Update from translation team.
82894 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82896         * sysdeps/x86_64/wcscmp.S: Update.
82897         Fix wrong comparison semantics.
82898         wcscmp shall use signed comparison not unsigned.
82899         Don't use substraction to avoid overflow bug.
82900         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
82901         * wcsmbc/wcscmp.c: Likewise.
82902         * string/test-strcmp.c: Likewise.
82903         Add new tests to check cases with negative values.
82905 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82907         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
82908         * sysdeps/x86_64/dla.h: ...here.  New file.
82909         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
82910         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82912         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82914         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82915         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82916         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82919 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
82921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
82922         __ynl_finite aliases.
82924 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82928         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
82929         define DLA_FMA.
82930         [DLA_FMA] (EMULV): Use DLA_FMA.
82931         [DLA_FMA] (MUL12): Use EMULV.
82932         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
82933         that are not needed.
82934         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82935         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82936         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82937         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82938         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82939         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82940         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82942 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
82944         * math/s_nan.c: Undef __nan.
82945         * math/s_nanf.c: Undef __nanf.
82946         * math/s_nanl.c: Undef __nanl.
82947         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
82948         "math_private.h".
82950 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82952         * math/s_catan.c: Add branch predictions.
82953         * math/s_catanf.c: Likewise.
82954         * math/s_catanh.c: Likewise.
82955         * math/s_catanhf.c: Likewise.
82956         * math/s_catanhl.c: Likewise.
82957         * math/s_catanl.c: Likewise.
82958         * math/s_cexp.c: Likewise.
82959         * math/s_cexpf.c: Likewise.
82960         * math/s_cexpl.c: Likewise.
82961         * math/s_clog.c: Likewise.
82962         * math/s_clog10.c: Likewise.
82963         * math/s_clog10f.c: Likewise.
82964         * math/s_clog10l.c: Likewise.
82965         * math/s_clogf.c: Likewise.
82966         * math/s_clogl.c: Likewise.
82967         * math/s_csqrt.c: Likewise.
82968         * math/s_csqrtf.c: Likewise.
82969         * math/s_csqrtl.c: Likewise.
82970         * math/s_ctanf.c: Likewise.
82971         * math/s_ctanh.c: Likewise.
82972         * math/s_ctanhf.c: Likewise.
82973         * math/s_ctanhl.c: Likewise.
82974         * math/s_ctanl.c: Likewise.
82976         * math/math_private.h: Define __nan, __nanf, __nanl.
82977         * math/s_cacosh.c: Include <math_private.h>.
82978         * math/s_cacoshl.c: Likewise.
82979         * math/s_casinh.c: Likewise.
82980         * math/s_casinhf.c: Likewise.
82981         * math/s_casinhl.c: Likewise.
82982         * math/s_ccos.c: Rely entire on ccosh.
82983         * math/s_ccosf.c: Rely entire on ccoshf.
82984         * math/s_ccosl.c: Rely entirely on ccoshl.
82985         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
82986         Remove tests for FE_INVALID.
82987         * math/s_ccoshf.c: Likewise.
82988         * math/s_ccoshl.c: Likewise.
82989         * math/s_csin.c: Likewise.
82990         * math/s_csinf.c: Likewise.
82991         * math/s_csinh.c Likewise.
82992         * math/s_csinhf.c: Likewise.
82993         * math/s_csinhl.c: Likewise.
82994         * math/s_csinl.c: Likewise.
82995         * math/s_ctan.c: Likewise.
82996         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
82997         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
82998         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83000 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83003         compilation problems.
83005         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83006         __builtin_expect.
83008 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83010         * sysdeps/i386/configure.in: Test for -mfma4 option.
83011         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83012         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83013         COMMON_CPUID_INDEX_80000001.
83014         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83015         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83016         use it if FMA3 is not supported.
83017         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83019         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83020         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83022 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83024         [BZ #12892]
83025         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83026         it would create a cycle with a link time dependency.
83028 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83030         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83031         instruction.
83032         * string/Makefile (strop-tests): Add rawmemchr.
83033         * string/test-rawmemchr.c: New file.
83035         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83036         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83037         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83038         when compiling str{,n}casecmp and when AVX is available.  Hook up
83039         new optimized code in initializers.
83041 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83043         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83044         __feraiseexcept instead of feraiseexcept.
83046 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83048         * math/math_private.h: Define defaults for libc_fetestexcept and
83049         libc_feupdateenv.
83050         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83051         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83052         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83053         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83054         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83055         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83056         libc_fetestexcept and libc_feupdateenv.
83058         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83059         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83060         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83061         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83062         libc_feholdexcept_setround.
83064         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83065         Add s_nearbyint-c and s_nearbyintf-c.
83066         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83067         nearbyintf inlines.
83068         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83069         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83070         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83071         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83073         * math/math_private.h: Define defaults for libc_fegetround,
83074         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83075         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83076         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83077         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83078         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83079         standard functions.
83080         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83081         Remove comments and hacks for old compiler versions.
83082         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83083         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83084         libc_feholdexceptl.
83086 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83088         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83089         (__feraiseexcept_renamed): Add __NTH.
83090         (feraiseexcept): Add __NTH.  Rename local variables to fix
83091         namespace violations.
83093 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83095         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83097         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83099         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83100         recently added interfaces.
83101         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83103         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83104         about macro parameter expansion.
83106         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83107         __NO_MATH_INLINES is defined.  Cleanups.
83109         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83110         and __floorf is target has SSE4.1.
83111         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83112         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83113         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83114         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83116         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83117         name.
83118         (floorf): Likewise.
83120         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83122 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83124         * misc/sys/cdefs.h: Fix last change.
83126         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83127         database lookup.
83129 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83131         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83133         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83134         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83135         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83136         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83137         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83138         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83139         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83140         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83141         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83142         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83143         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83144         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83145         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83146         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83147         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83148         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83149         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83150         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83151         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83152         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83153         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83154         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83156         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83157         ceil, ceilf, floor, floorf.
83159         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83160         Perform IRELATIVE relocations last.
83162         * elf/do-rel.h: Add another parameter nrelative, replacing the
83163         local variable with the same name.  Change name of the function
83164         to end in Rel or Rela (uppercase).
83165         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83166         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83167         elf_dynamic_do_##reloc function.
83169 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83171         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83172         is sufficient, at least on modern CPUs.
83174         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83176         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83177         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83179         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83180         __expl_finite.
83181         * math/bits/math-finite.h: Add entries for exp.
83182         * math/e_expl.c: Add __*_finite alias.
83183         * sysdeps/i386/fpu/e_exp.S: Likewise.
83184         * sysdeps/i386/fpu/e_expf.S: Likewise.
83185         * sysdeps/i386/fpu/e_expl.c: Likewise.
83186         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83187         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83188         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83189         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83190         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83191         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83192         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83194         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83195         is sufficient, at least on modern CPUs.
83197         * ctype/ctype-info.c (__ctype_init): Define.
83198         * include/ctype.h (__ctype_init): Declare.
83199         (__ctype_b_loc): The variable is always initialized.
83200         (__ctype_toupper_loc): Likewise.
83201         (__ctype_tolower_loc): Likewise.
83202         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83203         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83205 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83207         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83209         * configure.in: Also look in $cxxmachine/include for C++ system
83210         headers.
83212 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83214         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83215         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83216         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83217         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83218         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83219         (USE_AS_WMEMCMP): New macro.
83220         Fixing indents.
83221         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83222         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83223         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83224         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83225         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83226         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83227         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83228         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83229         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83230         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83231         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83232         (USE_AS_WMEMCMP): New macro.
83233         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83234         * sysdeps/string/test-memcmp.c: Update.
83235         Fix simple_wmemcmp.
83236         Add new tests.
83237         * wcsmbs/wmemcmp.c: Update.
83238         (WMEMCMP): New macro.
83239         Fix overflow bug.
83241 2011-10-12  Andreas Jaeger  <aj@suse.de>
83243         [BZ #13268]
83244         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83246 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83248         * libio/iofwide.c (do_length): Avoid warning.
83250         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83252 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83254         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83256         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83257         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83258         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83259         * sysdeps/i386/i686/fpu/e_log.S: New file.
83260         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83261         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83263         * ctype/ctype.h: Add support for inlined isXXX functions when
83264         compiling C++ code.
83266 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83268         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83270         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83272 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83274         [BZ #13291]
83275         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83277 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83279         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83280         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83281         feraiseexcept.
83283         * sysdeps/x86_64/memrchr.S: Check for zero size.
83285         * string/stratcliff.c: Add memrchr tests.
83287 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83289         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83290         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83291         rawmemchr-sse2 rawmemchr-sse2-bsf.
83292         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83293         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83294         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83295         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83296         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83297         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83298         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83299         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83300         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83301         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83302         * string/memrchr.c (MEMRCHR): New macro.
83304 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83306         Add integration with gcc's -ffinite-math-only and optimize wrapper
83307         functions in libm.
83308         * Versions.def: Define GLIBC_2.15 version for libm.
83309         * math/Makefile (headers): Add bits/math-finite.h.
83310         * math/bits/math-finite.h: New file.
83311         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83312         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83313         * math/e_acoshl.c: Add __*_finite alias.
83314         * math/e_acosl.c: Likewise.
83315         * math/e_asinl.c: Likewise.
83316         * math/e_atan2l.c: Likewise.
83317         * math/e_atanhl.c: Likewise.
83318         * math/e_coshl.c: Likewise.
83319         * math/e_exp10.c: Likewise.
83320         * math/e_exp10f.c: Likewise.
83321         * math/e_exp10l.c: Likewise.
83322         * math/e_exp2l.c: Likewise.
83323         * math/e_fmodl.c: Likewise.
83324         * math/e_gammal_r.c: Likewise.
83325         * math/e_hypotl.c: Likewise.
83326         * math/e_j0l.c: Likewise.
83327         * math/e_j1l.c: Likewise.
83328         * math/e_jnl.c: Likewise.
83329         * math/e_lgammal_r.c: Likewise.
83330         * math/e_log10l.c: Likewise.
83331         * math/e_log2l.c: Likewise.
83332         * math/e_logl.c: Likewise.
83333         * math/e_powl.c: Likewise.
83334         * math/e_sinhl.c: Likewise.
83335         * math/e_sqrtl.c: Likewise.
83336         * math/e_scalb.c: Completely rewritten and optimized.
83337         * math/e_scalbf.c: Likewise.
83338         * math/e_scalbl.c: Likewise.
83339         * math/w_acos.c: Likewise.
83340         * math/w_acosf.c: Likewise.
83341         * math/w_acosl.c: Likewise.
83342         * math/w_acosh.c: Likewise.
83343         * math/w_acoshf.c: Likewise.
83344         * math/w_acoshl.c: Likewise.
83345         * math/w_asin.c: Likewise.
83346         * math/w_asinf.c: Likewise.
83347         * math/w_asinl.c: Likewise.
83348         * math/w_atan2.c: Likewise.
83349         * math/w_atan2f.c: Likewise.
83350         * math/w_atan2l.c: Likewise.
83351         * math/w_atanh.c: Likewise.
83352         * math/w_atanhf.c: Likewise.
83353         * math/w_atanhl.c: Likewise.
83354         * math/w_exp10.c: Likewise.
83355         * math/w_exp10f.c: Likewise.
83356         * math/w_exp10l.c: Likewise.
83357         * math/w_fmod.c: Likewise.
83358         * math/w_fmodf.c: Likewise.
83359         * math/w_fmodl.c: Likewise.
83360         * math/w_j0.c: Likewise.
83361         * math/w_j0f.c: Likewise.
83362         * math/w_j0l.c: Likewise.
83363         * math/w_j1.c: Likewise.
83364         * math/w_j1f.c: Likewise.
83365         * math/w_j1l.c: Likewise.
83366         * math/w_jn.c: Likewise.
83367         * math/w_jnf.c: Likewise.
83368         * math/w_log.c: Likewise.
83369         * math/w_logf.c: Likewise.
83370         * math/w_logl.c: Likewise.
83371         * math/w_log10.c: Likewise.
83372         * math/w_log10f.c: Likewise.
83373         * math/w_log10l.c: Likewise.
83374         * math/w_log2.c: Likewise.
83375         * math/w_log2f.c: Likewise.
83376         * math/w_log2l.c: Likewise.
83377         * math/w_pow.c: Likewise.
83378         * math/w_powf.c: Likewise.
83379         * math/w_powl.c: Likewise.
83380         * math/w_remainder.c: Likewise.
83381         * math/w_remainderf.c: Likewise.
83382         * math/w_remainderl.c: Likewise.
83383         * math/w_scalb.c: Likewise.
83384         * math/w_scalbf.c: Likewise.
83385         * math/w_scalbl.c: Likewise.
83386         * math/w_sqrt.c: Likewise.
83387         * math/w_sqrtf.c: Likewise.
83388         * math/w_sqrtl.c: Likewise.
83389         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83390         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83391         used.
83392         * math/math_private.h: Declare __kernel_standard_f.
83393         * math/w_cosh.c: Remove cruft and optimize a bit.
83394         * math/w_coshf.c: Likewise.
83395         * math/w_coshl.c: Likewise.
83396         * math/w_exp2.c: Likewise.
83397         * math/w_exp2f.c: Likewise.
83398         * math/w_exp2l.c: Likewise.
83399         * math/w_hypot.c: Likewise.
83400         * math/w_hypotf.c: Likewise.
83401         * math/w_hypotl.c: Likewise.
83402         * math/w_lgamma.c: Likewise.
83403         * math/w_lgamma_r.c: Likewise.
83404         * math/w_lgammaf.c: Likewise.
83405         * math/w_lgammaf_r.c: Likewise.
83406         * math/w_lgammal.c: Likewise.
83407         * math/w_lgammal_r.c: Likewise.
83408         * math/w_sinh.c: Likewise.
83409         * math/w_sinhf.c: Likewise.
83410         * math/w_sinhl.c: Likewise.
83411         * math/w_tgamma.c: Likewise.
83412         * math/w_tgammaf.c: Likewise.
83413         * math/w_tgammal.c: Likewise.
83414         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83415         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83416         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83417         Minor optimizations.  Pretty printing.  Remove cruft.
83418         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83419         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83420         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83421         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83422         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83423         * sysdeps/i386/fpu/e_asin.S: Likewise.
83424         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83425         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83426         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83427         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83428         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83429         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83430         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83431         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83432         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83433         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83434         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83435         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83436         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83437         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83438         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83439         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83440         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83441         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83442         * sysdeps/i386/fpu/e_log.S: Likewise.
83443         * sysdeps/i386/fpu/e_log10.S: Likewise.
83444         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83445         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83446         * sysdeps/i386/fpu/e_log2.S: Likewise.
83447         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83448         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83449         * sysdeps/i386/fpu/e_logf.S: Likewise.
83450         * sysdeps/i386/fpu/e_logl.S: Likewise.
83451         * sysdeps/i386/fpu/e_pow.S: Likewise.
83452         * sysdeps/i386/fpu/e_powf.S: Likewise.
83453         * sysdeps/i386/fpu/e_powl.S: Likewise.
83454         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83455         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83456         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83457         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83458         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83459         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83460         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83461         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83462         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83463         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83464         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83466         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83467         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83468         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83469         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83470         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83471         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83472         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83473         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83474         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83475         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83476         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83477         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83479         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83480         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83481         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83483         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83484         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83485         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83486         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83487         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83488         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83489         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83490         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83491         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
83492         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83493         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83494         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83495         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83496         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83497         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83498         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83499         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83500         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83501         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83502         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83503         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83504         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83505         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83506         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83507         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83508         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83509         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83510         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83511         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83512         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
83513         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83514         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83515         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83516         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83517         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83518         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83519         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83520         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83521         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83522         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83523         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83524         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83527         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83528         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83529         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83530         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83531         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
83532         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83533         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83534         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83535         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83536         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83537         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83538         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83539         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
83540         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83541         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83542         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83543         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83544         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83545         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
83546         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83547         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83548         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83549         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83550         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83551         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83552         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83553         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83554         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83555         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83556         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
83557         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83558         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83559         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83560         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
83561         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
83562         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
83563         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
83564         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
83565         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
83566         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
83567         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83568         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83569         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83570         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83571         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
83572         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83573         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
83574         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
83575         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
83576         (__isnanf): Likewise.
83577         (__isinf_ns): Likewise.
83578         (__isinf_nsf): Likewise.
83579         (__finite): Likewise.
83580         (__finitef): Likewise.
83581         (__ieee754_sqrt): Define as macro.
83582         (__ieee754_sqrtf): Define as macro.
83583         (__ieee754_sqrtl): Define as macro.
83584         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
83585         inlined copy.
83586         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
83587         __FINITE_MATH_ONLY__ consistent.
83588         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
83590 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
83592         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
83593         of rawmemchr.
83595         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
83597 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
83599         * po/ja.po: Update from translation team.
83601 2011-10-08  Roland McGrath  <roland@hack.frob.com>
83603         * locale/programs/locarchive.c (prepare_address_space): New function.
83604         (create_archive, enlarge_archive, open_archive): Use it.
83606         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
83607         inside [SHARED], where it is used.
83609         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
83611         * nss/getent.c (netgroup_keys): Remove unused variable.
83612         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83614 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
83616         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
83617         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
83618         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
83619         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
83620         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
83621         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
83622         * math/Makefile (libm-calls): Add s_isinf_ns.
83623         * math/divtc3.c: Use __isinf_nsl instead of isinf.
83624         * math/multc3.c: Likewise.
83625         * math/s_casin.c: Likewise.
83626         * math/s_casinf.c: Likewise.
83627         * math/s_casinl.c: Likewise.
83628         * math/s_ccos.c: Likewise.
83629         * math/s_ccosf.c: Likewise.
83630         * math/s_ccosl.c: Likewise.
83631         * math/s_ctan.c: Likewise.
83632         * math/s_ctanf.c: Likewise.
83633         * math/s_ctanh.c: Likewise.
83634         * math/s_ctanhf.c: Likewise.
83635         * math/s_ctanhl.c: Likewise.
83636         * math/s_ctanl.c: Likewise.
83637         * math/w_fmod.c: Likewise.
83638         * math/w_fmodf.c: Likewise.
83639         * math/w_fmodl.c: Likewise.
83640         * math/w_remainder.c: Likewise.
83641         * math/w_remainderf.c: Likewise.
83642         * math/w_remainderl.c: Likewise.
83643         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
83644         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
83645         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
83646         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
83647         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
83648         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
83649         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
83650         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
83652         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
83653         of the number.
83654         * stdio-common/printf_fphex.c: Likewise.
83655         * stdio-common/printf_size.c: Likewise.
83657         * math/e_exp10.c: Include math_private.h using <...> not "...".
83658         * math/e_exp10f.c: Likewise.
83659         * math/e_exp10l.c: Likewise.
83660         * math/e_exp2l.c: Likewise.
83661         * math/e_j0l.c: Likewise.
83662         * math/e_j1l.c: Likewise.
83663         * math/e_jnl.c: Likewise.
83664         * math/e_lgammal_r.c: Likewise.
83665         * math/e_rem_pio2l.c: Likewise.
83666         * math/e_scalb.c: Likewise.
83667         * math/e_scalbf.c: Likewise.
83668         * math/e_scalbl.c: Likewise.
83669         * math/k_cosl.c: Likewise.
83670         * math/k_sinl.c: Likewise.
83671         * math/k_tanl.c: Likewise.
83672         * math/s_cacoshf.c: Likewise.
83673         * math/s_catan.c: Likewise.
83674         * math/s_catanf.c: Likewise.
83675         * math/s_catanh.c: Likewise.
83676         * math/s_catanhf.c: Likewise.
83677         * math/s_catanhl.c: Likewise.
83678         * math/s_catanl.c: Likewise.
83679         * math/s_ccosh.c: Likewise.
83680         * math/s_ccoshf.c: Likewise.
83681         * math/s_ccoshl.c: Likewise.
83682         * math/s_cexp.c: Likewise.
83683         * math/s_cexpf.c: Likewise.
83684         * math/s_cexpl.c: Likewise.
83685         * math/s_clog.c: Likewise.
83686         * math/s_clog10.c: Likewise.
83687         * math/s_clog10f.c: Likewise.
83688         * math/s_clog10l.c: Likewise.
83689         * math/s_clogf.c: Likewise.
83690         * math/s_clogl.c: Likewise.
83691         * math/s_csin.c: Likewise.
83692         * math/s_csinf.c: Likewise.
83693         * math/s_csinh.c: Likewise.
83694         * math/s_csinhf.c: Likewise.
83695         * math/s_csinhl.c: Likewise.
83696         * math/s_csinl.c: Likewise.
83697         * math/s_csqrt.c: Likewise.
83698         * math/s_csqrtf.c: Likewise.
83699         * math/s_csqrtl.c: Likewise.
83700         * math/s_ctan.c: Likewise.
83701         * math/s_ctanf.c: Likewise.
83702         * math/s_ctanh.c: Likewise.
83703         * math/s_ctanhf.c: Likewise.
83704         * math/s_ctanhl.c: Likewise.
83705         * math/s_ctanl.c: Likewise.
83706         * math/s_ldexp.c: Likewise.
83707         * math/s_ldexpf.c: Likewise.
83708         * math/s_ldexpl.c: Likewise.
83709         * math/s_significand.c: Likewise.
83710         * math/s_significandf.c: Likewise.
83711         * math/s_significandl.c: Likewise.
83712         * math/w_acos.c: Likewise.
83713         * math/w_acosf.c: Likewise.
83714         * math/w_acosh.c: Likewise.
83715         * math/w_acoshf.c: Likewise.
83716         * math/w_acoshl.c: Likewise.
83717         * math/w_acosl.c: Likewise.
83718         * math/w_asin.c: Likewise.
83719         * math/w_asinf.c: Likewise.
83720         * math/w_asinl.c: Likewise.
83721         * math/w_atan2.c: Likewise.
83722         * math/w_atan2f.c: Likewise.
83723         * math/w_atan2l.c: Likewise.
83724         * math/w_atanh.c: Likewise.
83725         * math/w_atanhf.c: Likewise.
83726         * math/w_atanhl.c: Likewise.
83727         * math/w_cosh.c: Likewise.
83728         * math/w_coshf.c: Likewise.
83729         * math/w_coshl.c: Likewise.
83730         * math/w_dremf.c: Likewise.
83731         * math/w_exp10.c: Likewise.
83732         * math/w_exp10f.c: Likewise.
83733         * math/w_exp10l.c: Likewise.
83734         * math/w_exp2.c: Likewise.
83735         * math/w_exp2f.c: Likewise.
83736         * math/w_fmod.c: Likewise.
83737         * math/w_fmodf.c: Likewise.
83738         * math/w_fmodl.c: Likewise.
83739         * math/w_hypot.c: Likewise.
83740         * math/w_hypotf.c: Likewise.
83741         * math/w_hypotl.c: Likewise.
83742         * math/w_j0.c: Likewise.
83743         * math/w_j0f.c: Likewise.
83744         * math/w_j0l.c: Likewise.
83745         * math/w_j1.c: Likewise.
83746         * math/w_j1f.c: Likewise.
83747         * math/w_j1l.c: Likewise.
83748         * math/w_jn.c: Likewise.
83749         * math/w_jnf.c: Likewise.
83750         * math/w_jnl.c: Likewise.
83751         * math/w_lgamma.c: Likewise.
83752         * math/w_lgamma_r.c: Likewise.
83753         * math/w_lgammaf.c: Likewise.
83754         * math/w_lgammaf_r.c: Likewise.
83755         * math/w_lgammal.c: Likewise.
83756         * math/w_lgammal_r.c: Likewise.
83757         * math/w_log.c: Likewise.
83758         * math/w_log10.c: Likewise.
83759         * math/w_log10f.c: Likewise.
83760         * math/w_log10l.c: Likewise.
83761         * math/w_log2.c: Likewise.
83762         * math/w_log2f.c: Likewise.
83763         * math/w_log2l.c: Likewise.
83764         * math/w_logf.c: Likewise.
83765         * math/w_logl.c: Likewise.
83766         * math/w_pow.c: Likewise.
83767         * math/w_powf.c: Likewise.
83768         * math/w_powl.c: Likewise.
83769         * math/w_remainder.c: Likewise.
83770         * math/w_remainderf.c: Likewise.
83771         * math/w_remainderl.c: Likewise.
83772         * math/w_scalb.c: Likewise.
83773         * math/w_scalbf.c: Likewise.
83774         * math/w_scalbl.c: Likewise.
83775         * math/w_sinh.c: Likewise.
83776         * math/w_sinhf.c: Likewise.
83777         * math/w_sinhl.c: Likewise.
83778         * math/w_sqrt.c: Likewise.
83779         * math/w_sqrtf.c: Likewise.
83780         * math/w_sqrtl.c: Likewise.
83781         * math/w_tgamma.c: Likewise.
83782         * math/w_tgammaf.c: Likewise.
83783         * math/w_tgammal.c: Likewise.
83785         * po/ja.po: Update from translation team.
83787 2011-09-29  Andreas Jaeger  <aj@suse.de>
83789         [BZ #13179]
83790         * sunrpc/netname.c (netname2host): Fix logic.
83792         [BZ #6779]
83793         [BZ #6783]
83794         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83795         correctly.
83796         * math/w_remainder.c (__remainder): Likewise.
83797         * math/w_remainderf.c (__remainderf): Likewise.
83798         * math/libm-test.inc (remainder_test): Add test cases.
83800 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83802         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83803         sdiv_qrnnd.
83805 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83807         * string/test-memcmp.c: Avoid unncessary #defines.
83808         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83810 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83812         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
83813         Use new sse2 version for core i3 - i7 as it's faster
83814         than sse42 version.
83815         (bit_Prefer_PMINUB_for_stringop): New.
83816         * sysdeps/x86_64/rawmemchr.S: Update.
83817         Replace with faster SSE2 version.
83818         * sysdeps/x86_64/memrchr.S: New file.
83819         * sysdeps/x86_64/memchr.S: Update.
83820         Replace with faster SSE2 version.
83822 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
83824         * elf/dl-load.c (lose): Add cast to avoid warning.
83826 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83828         * po/ca.po: Update from translation team.
83830         * inet/getnetgrent_r.c: Hook up nscd.
83831         * nscd/Makefile (routines): Add nscd_netgroup.
83832         (nscd-modules): Add netgroupcache.
83833         (CFLAGS-netgroupcache.c): Define.
83834         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
83835         (cache_search): Add const to second parameter.
83836         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
83837         INNETGR.
83838         (dbs): Add netgrdb entry.
83839         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
83840         (verify_persistent_db): Handle netgrdb.
83841         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
83842         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
83843         GETFDNETGR.
83844         (netgroup_response_header): Define.
83845         (innetgroup_response_header): Define.
83846         (datahead): Add netgroup_response_header and innetgroup_response_header
83847         elements.
83848         * nscd/nscd.conf: Add entries for netgroup cache.
83849         * nscd/nscd.h (dbtype): Add netgrdb.
83850         (_PATH_NSCD_NETGROUP_DB): Define.
83851         (netgroup_iov_disabled): Declare.
83852         (xmalloc, xcalloc, xrealloc): Move declarations here.
83853         (cache_search): Adjust prototype.
83854         Add netgroup-related prototypes.
83855         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
83856         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
83857         (__nscd_innetgr): Declare.
83858         * nscd/selinux.c (perms): Use access_vector_t as element type and
83859         add netgroup-related initializers.
83860         * nscd/netgroupcache.c: New file.
83861         * nscd/nscd_netgroup.c: New file.
83862         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
83863         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
83864         For four parameters use innetgr.
83865         * nss/nss_files/files-init.c: Add definition and callback for netgr.
83866         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
83867         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
83868         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
83870         * nscd/connections.c (register_traced_file): Don't register file
83871         for disabled databases.
83873 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
83875         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
83877         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
83878         from tree and freeing node.
83880 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
83882         * nss/nsswitch.c (__nss_database_lookup): Handle
83883         nss_parse_service_list out of memory case.
83885 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
83887         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
83888         out of memory case.
83890 2011-10-04  Andreas Schwab  <schwab@redhat.com>
83892         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
83893         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
83894         pass it down.
83895         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
83896         elf_machine_rela, elf_machine_lazy_rel.
83897         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
83898         (ELF_DYNAMIC_DO_REL): Likewise.
83899         (ELF_DYNAMIC_DO_RELA): Likewise.
83900         (ELF_DYNAMIC_RELOCATE): Likewise.
83901         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
83902         to ELF_DYNAMIC_DO_REL.
83903         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
83904         (dl_main): In trace mode always set __RTLD_NOIFUNC.
83905         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
83906         elf_machine_rela.
83907         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
83908         skip_ifunc, don't call ifunc function if non-zero.
83909         (elf_machine_rela): Likewise.
83910         (elf_machine_lazy_rel): Likewise.
83911         (elf_machine_lazy_rela): Likewise.
83912         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
83913         (elf_machine_lazy_rel): Likewise.
83914         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
83915         Likewise.
83916         (elf_machine_lazy_rel): Likewise.
83917         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83918         Likewise.
83919         (elf_machine_lazy_rel): Likewise.
83920         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
83921         (elf_machine_lazy_rel): Likewise.
83922         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
83923         (elf_machine_lazy_rel): Likewise.
83924         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
83925         (elf_machine_lazy_rel): Likewise.
83926         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
83927         (elf_machine_lazy_rel): Likewise.
83928         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
83929         (elf_machine_lazy_rel): Likewise.
83930         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
83931         (elf_machine_lazy_rel): Likewise.
83933 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
83935         * nss/nss_files/files-init.c (_nss_files_init): Use static
83936         initialization for all the *_traced_file variables.
83938 2011-09-28  Andreas Schwab  <schwab@redhat.com>
83940         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83942 2011-09-27  Roland McGrath  <roland@hack.frob.com>
83944         [BZ #13226]
83945         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
83947 2011-09-27  Andreas Schwab  <schwab@redhat.com>
83949         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83950         Reread the line before reparsing it.
83952 2011-09-26  Andreas Schwab  <schwab@redhat.com>
83954         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
83956 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
83957             Maxim Kuvyrkov  <maxim@codesourcery.com>
83958             Joseph Myers  <joseph@codesourcery.com>
83960         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
83961         if needed for __stack_chk_guard.
83963 2011-09-19  Roland McGrath  <roland@hack.frob.com>
83965         * sysdeps/posix/spawni.c (script_execute): Always define it.
83966         It will be optimized away if unused.
83967         (maybe_script_execute): New function.
83968         (__spawni): Call it.
83970         * Makerules: Don't include tls.make.
83971         (config-tls): Always set to thread.
83972         * tls.make.c: File removed.
83974 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
83976         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
83977         * config.make.in (CPPFLAGS-config): New substituted variable.
83979 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83981         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
83983         [BZ #13192]
83984         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
83985         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
83987 2011-09-15  Roland McGrath  <roland@hack.frob.com>
83989         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
83990         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
83991         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83992         (CALL_FAIL): Likewise.
83993         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
83994         (CALL_FAIL): Macro removed.
83995         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
83997 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83999         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84000         for __FINITE_MATH_ONLY__ == 1.
84002 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84004         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84005         __ieee754_sqrt instead of sqrt.
84006         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84007         __ieee754_sqrtf instead of sqrtf.
84008         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84009         __floorf instead of floorf.
84010         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84011         __floorf, __truncf instead of floorf, truncf.
84013 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84015         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84017         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84018         __extern_always_inline.
84019         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84020         32-bit.
84022 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84024         * elf/rtld.c (dl_main): Also relocate in dependency order when
84025         doing symbol dependency testing.
84027 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84029         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84030         Always define `refsym'.
84032 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84034         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84035         (__FD_ELT): Renamed from __FDELT.
84036         * misc/bits/select2.h (__FD_ELT): Likewise.
84037         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84038         __FD_MASK instead of __FDELT, __FDMASK.
84039         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84040         Likewise.
84041         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84042         Likewise.
84044         * elf/Makefile (gen-ldd): Fix pattern.
84046         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84047         (init_tls): Likewise.
84049 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84051         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84053 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84055         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84056         `struct cmsghdr *' instead of `void *'.
84057         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84058         Likewise.
84060 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84062         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84063         if non-absolute.
84064         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84065         ldd_rewrite_script.
84067 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84069         * configure.in: Remove --with-tls option.
84070         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84071         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84072         out in case it is missing.
84073         * sysdeps/ia64/elf/configure.in: Likewise.
84074         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84075         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84076         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84077         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84078         * sysdeps/sh/elf/configure.in: Likewise.
84079         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84080         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84081         * sysdeps/x86_64/elf/configure.in: Likewise.
84082         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84083         * sysdeps/mach/hurd/tls.h: Likewise.
84085         [BZ #13067]
84086         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84088         [BZ #13090]
84089         * configure.in: Fix use of AC_INIT.
84091         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84093 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84095         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84096         __set_errno.
84097         * malloc/hooks.c: Likewise.
84099         [BZ #11929]
84100         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84101         variables statically.
84102         (narenas): Initialize.
84103         (list_lock): Initialize.
84104         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84105         initializtion of main_arena and list_lock.  Small cleanups.
84106         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84107         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84108         Add initializers to main_arena and mp_.
84109         (malloc_state): Remove pagesize member.  Change all users to use
84110         GLRO(dl_pagesize).
84112         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84113         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84114         is always initialized.
84116         * malloc/malloc.c: Removed unused configurations and dead code.
84117         * malloc/arena.c: Likewise.
84118         * malloc/hooks.c: Likewise.
84119         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84121         * include/tls.h: Removed.  USE___THREAD must always be defined.
84122         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84123         * elf/dl-libc.c: Likewise.
84124         * elf/dl-tsd.c: Likewise.
84125         * include/errno.h: Likewise.
84126         * include/netdb.h: Likewise.
84127         * include/resolv.h: Likewise.
84128         * inet/herrno-loc.c: Likewise.
84129         * inet/herrno.c: Likewise.
84130         * malloc/arena.c: Likewise.
84131         * malloc/hooks.c: Likewise.
84132         * malloc/malloc.c: Likewise.
84133         * resolv/res-state.c: Likewise.
84134         * resolv/res_libc.c: Likewise.
84135         * sysdeps/i386/dl-machine.h: Likewise.
84136         * sysdeps/ia64/dl-machine.h: Likewise.
84137         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84138         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84139         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84140         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84141         * sysdeps/sh/dl-machine.h: Likewise.
84142         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84143         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84144         * sysdeps/unix/i386/sysdep.S: Likewise.
84145         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84146         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84148         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84149         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84150         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84151         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84153         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84155         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84156         * sysdeps/x86_64/dl-machine.h: Likewise.
84157         * tls.make.c: Likewise.
84159         * configure.in: Remove --with-__thread option.  Make tests for
84160         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84161         tls_model attribute fail if no support is available.  Remove
84162         USE_IN_LIBIO.
84163         * Makeconfig: Adjust for dropped configure option.  All features are
84164         now mandatory.
84165         * Makerules: Likewise.
84166         * Versions.def: Likewise.
84167         * argp/argp-fmtstream.c: Likewise.
84168         * argp/argp-fmtstream.h: Likewise.
84169         * argp/argp-help.c: Likewise.
84170         * assert/assert.c: Likewise.
84171         * config.h.in: Likewise.
84172         * config.make.in: Likewise.
84173         * configure: Likewise.
84174         * configure.in: Likewise.
84175         * csu/Versions: Likewise.
84176         * csu/init.c: Likewise.
84177         * elf/tst-audit2.c: Likewise.
84178         * elf/tst-tls10.c: Likewise.
84179         * elf/tst-tls10.h: Likewise.
84180         * elf/tst-tls11.c: Likewise.
84181         * elf/tst-tls12.c: Likewise.
84182         * elf/tst-tls14.c: Likewise.
84183         * elf/tst-tlsmod11.c: Likewise.
84184         * elf/tst-tlsmod12.c: Likewise.
84185         * elf/tst-tlsmod13.c: Likewise.
84186         * elf/tst-tlsmod13a.c: Likewise.
84187         * elf/tst-tlsmod14a.c: Likewise.
84188         * elf/tst-tlsmod15b.c: Likewise.
84189         * elf/tst-tlsmod16a.c: Likewise.
84190         * elf/tst-tlsmod16b.c: Likewise.
84191         * elf/tst-tlsmod7.c: Likewise.
84192         * elf/tst-tlsmod8.c: Likewise.
84193         * elf/tst-tlsmod9.c: Likewise.
84194         * gmon/gmon.c: Likewise.
84195         * grp/fgetgrent_r.c: Likewise.
84196         * grp/putgrent.c: Likewise.
84197         * hurd/fopenport.c: Likewise.
84198         * include/libc-symbols.h: Likewise.
84199         * include/tls.h: Likewise.
84200         * intl/gettextP.h: Likewise.
84201         * intl/loadinfo.h: Likewise.
84202         * locale/global-locale.c: Likewise.
84203         * locale/localeinfo.h: Likewise.
84204         * mach/devstream.c: Likewise.
84205         * malloc/arena.c: Likewise.
84206         * malloc/set-freeres.c: Likewise.
84207         * misc/err.c: Likewise.
84208         * misc/getttyent.c: Likewise.
84209         * misc/mntent_r.c: Likewise.
84210         * posix/getopt.c: Likewise.
84211         * posix/wordexp.c: Likewise.
84212         * pwd/fgetpwent_r.c: Likewise.
84213         * resolv/Versions: Likewise.
84214         * resolv/res_hconf.c: Likewise.
84215         * shadow/fgetspent_r.c: Likewise.
84216         * shadow/putspent.c: Likewise.
84217         * stdio-common/printf_fphex.c: Likewise.
84218         * stdio-common/tmpfile.c: Likewise.
84219         * stdlib/abort.c: Likewise.
84220         * stdlib/fmtmsg.c: Likewise.
84221         * sunrpc/auth_unix.c: Likewise.
84222         * sunrpc/clnt_perr.c: Likewise.
84223         * sunrpc/clnt_tcp.c: Likewise.
84224         * sunrpc/clnt_udp.c: Likewise.
84225         * sunrpc/clnt_unix.c: Likewise.
84226         * sunrpc/openchild.c: Likewise.
84227         * sunrpc/svc_simple.c: Likewise.
84228         * sunrpc/svc_tcp.c: Likewise.
84229         * sunrpc/svc_udp.c: Likewise.
84230         * sunrpc/svc_unix.c: Likewise.
84231         * sunrpc/xdr.c: Likewise.
84232         * sunrpc/xdr_array.c: Likewise.
84233         * sunrpc/xdr_rec.c: Likewise.
84234         * sunrpc/xdr_ref.c: Likewise.
84235         * sunrpc/xdr_stdio.c: Likewise.
84237 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84239         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84241 2011-07-03  Andreas Jaeger  <aj@suse.de>
84243         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84244         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84245         regenerate with gen-libm-tests.pl.
84247 2010-05-12  Petr Baudis  <pasky@suse.cz>
84249         [BZ #11589]
84250         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84251         around j0() zero points by switching to j1().
84252         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84253         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84254         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84255         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84257 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84259         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84260         instead of 0.
84261         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84262         instead of 0.
84263         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84264         Patch in part by Pavel Roskin <proski@gnu.org>.
84266         [BZ #13138]
84267         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84268         realloc.
84269         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84270         Free memory block if necessary.
84272         [BZ #12847]
84273         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84274         be NULL.  Don't lock in this case.
84276 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84278         * elf/elf.h (ELFOSABI_GNU): New macro.
84279         (ELFOSABI_LINUX): Define to that.
84281 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84283         * string/strncat.c (strncat): Undef the symbol in case it has been
84284         defined in bits/string.h.
84286 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84288         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84290         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84291         link map.
84293 2011-08-17  Andreas Jaeger  <aj@suse.de>
84295         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84297 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84298             Ian Lance Taylor  <iant@google.com>
84300         * math/libm-test.inc (lround_test): New testcase.
84301         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84303 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84305         * Makefile: Remove support for automatic cvs check-ins.
84306         * Makerules: Likewise.
84307         * config.make.in: Likewise.
84308         * configure.in: Likewise.
84309         * intl/Makefile: Likewise.
84310         * locale/Makefile: Likewise.
84311         * po/Makefile: Likewise.
84312         * posix/Makefile: Likewise.
84313         * sysdeps/gnu/Makefile: Likewise.
84314         * sysdeps/mach/hurd/Makefile: Likewise.
84315         * sysdeps/sparc/sparc32/Makefile: Likewise.
84317         [BZ #13118]
84318         * posix/Makefile (bug-regex32-ENV): Define.
84319         Patch by John Stanley <jpsinthemix@verizon.net>.
84321         * misc/Makefile (headers): Add bits/select2.h.
84322         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84323         * misc/bits/select2.h: New file.
84324         * include/bits/select2.h: New file.
84325         * debug/Makefile (routines): Add fdelt_chk.
84326         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84327         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84328         FD_ISSET.
84329         * debug/fdelt_chk.c: New file.
84331         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84332         * wcsmbs/test-wmemcmp.c: Likewise.
84333         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84334         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84336 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84338         * string/Makefile (strop-tests): Add memcmp.
84339         * string/test-wmemcmp.c: New file.
84340         * string/test-memcmp.c: Add wmemcmp support.
84342 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84344         [BZ #13153]
84345         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84346         2011-07-19 change.
84348         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84349         garbage value in a __mach_port_mod_refs call in the cases of the
84350         task-self and thread-self ports.
84352 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84354         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84356 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84358         * elf/dl-load.c (lose): Check for non-null L.
84360 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84362         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84364         * elf/dl-libc.c (dlerror_run): Pass back error code from
84365         dl_catch_error.
84367         [BZ #13123]
84368         * elf/dl-load.c (lose): Free l_origin if it is valid.
84370         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84371         names.
84372         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84373         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84374         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84375         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84376         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84377         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84379 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84381         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84382         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84383         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84384         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84385         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84386         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84387         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84388         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84389         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84390         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84392 2011-08-15  Alan Modra  <amodra@gmail.com>
84394         [BZ #13092]
84395         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84396         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84397         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84398         ppc_mcount to static-only-routines.
84399         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84400         __mcount_internal.
84401         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84402         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84404 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84406         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84407         for finite and infinity parameters.
84409 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84411         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84412         and add nop instructions for throughput optimization.
84413         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84415 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84417         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84418         aligned copy for power7 with vector-scalar instructions.
84419         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84421 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84423         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84424         AVX check.
84426 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84428         [BZ #13144]
84429         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84430         last change.
84432 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84434         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84435         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84436         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84437         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84438         clock_gettime.
84440 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84442         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84443         Forgot to demangle the pointer.
84445         * sysdeps/i386/sysdep.h: Define atom_text_section.
84446         * sysdeps/x86_64/sysdep.h: Likewise.
84447         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84448         section with atom_text_section.
84449         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84450         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84451         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84452         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84453         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84455         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84456         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84457         already be defined.  Change to take two parameters and don't assign
84458         result to variable.  Adjust all users.
84459         Define INTERNAL_GETTIME if not already defined.
84460         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84461         call.
84462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84463         HAVE_CLOCK_GETTIME_VSYSCALL.
84464         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84467         gettimeofday vsyscall, just use time.
84469 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84471         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84472         <errno.h>.
84474 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84476         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84477         syscall on x86-64.
84478         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84479         syscall.
84480         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84481         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84482         syscall if possible.
84484 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84486         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
84487         e_ident.  Don't pass to find_mapsXX.
84488         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
84490 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84493         strchr-sse2-no-bsf strrchr-sse2-no-bsf
84494         * sysdeps/x86_64/multiarch/strchr.S: Update.
84495         Check bit_slow_BSF bit.
84496         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
84497         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
84498         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
84500 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84502         [BZ #13134]
84503         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
84504         before glibc 2.15.
84505         (tryshell): Define.
84506         (__spawni): Change last parameter to be flag.  Test
84507         SPAWN_XFLAGS_USE_PATH flag to use path or not.
84508         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84509         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
84510         * posix/spawni.c: Likewise.
84511         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
84512         * posix/spawnp.c: Likewise.  Change normal version to use
84513         SPAWN_XFLAGS_USE_PATH.
84514         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
84515         SPAWN_XFLAGS_TRY_SHELL.
84517         [BZ #13150]
84518         * posix/glob.h: Remove gcc 1.x support.
84520         [BZ #13068]
84521         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
84523 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84526         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
84527         strrchr-sse2-bsf
84528         * sysdeps/i386/i686/multiarch/strchr.S: New file.
84529         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
84530         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
84531         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
84532         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
84533         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
84535 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84537         * sysdeps/x86_64/wcscmp.S: New file.
84539         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
84540         wcscmp-c wcscmp-sse2
84541         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
84542         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
84543         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
84544         * wcsmbs/wcscmp.c: Allow renaming.
84546 2011-09-05  David S. Miller  <davem@davemloft.net>
84548         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
84549         stack slot, rather than the struct return pointer slot.
84550         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
84551         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
84552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
84553         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
84555 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84557         * po/ja.po: Update from translation team.
84559         [BZ #13144]
84560         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
84561         kernel in 64-bit binaries.
84563 2011-09-01  David S. Miller  <davem@davemloft.net>
84565         * elf/elf.h (HWCAP_SPARC_*): Move to..
84566         * sysdeps/sparc/sysdep.h: this new file and add new values.
84567         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
84568         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
84569         _DL_HWCAP_COUNT to 24.
84570         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
84571         entries.
84572         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
84573         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
84574         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
84575         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
84576         instead of magic constants.
84577         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84579 2011-08-31  David S. Miller  <davem@davemloft.net>
84581         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
84582         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
84583         Reimplement to do errno handling inline.
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/sparc64/sysdep.h: Include
84589         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
84590         (PSEUDO): Reimplement to do errno handling inline.
84591         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
84592         (SYSCALL_ERROR_HANDLER): New macro.
84593         (__SYSCALL_STRING): Do not do errno handling in asm.
84594         (__CLONE_SYSCALL_STRING): Delete.
84595         (__INTERNAL_SYSCALL_STRING): Delete.
84596         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
84597         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
84598         i386.
84599         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
84600         (inline_syscall*): Add 'err' argument.
84601         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
84602         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
84603         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
84604         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
84606         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
84607         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
84609 2011-08-30  Andreas Schwab  <schwab@redhat.com>
84611         * elf/rtld.c (dl_main): Relocate objects in dependency order.
84613 2011-08-29  Jiri Olsa <jolsa@redhat.com>
84615         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
84616         directive.
84618 2011-08-24  David S. Miller  <davem@davemloft.net>
84620         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
84622 2011-08-24  Andreas Schwab  <schwab@redhat.com>
84624         * elf/Makefile: Add rules to build and run unload8 test.
84625         * elf/unload8.c: New file.
84626         * elf/unload8mod1.c: New file.
84627         * elf/unload8mod1x.c: New file.
84628         * elf/unload8mod2.c: New file.
84629         * elf/unload8mod3.c: New file.
84631         * elf/dl-close.c (_dl_close_worker): Reset private search list if
84632         it wasn't used.
84634 2011-08-23  David S. Miller  <davem@davemloft.net>
84636         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
84637         subtract stack bias.
84638         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
84639         %sp not %fp in calculations.
84640         (_JMPBUF_UNWINDS_ADJ): Likewise.
84642         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
84643         (aio_suspend): Call it to force an exception region around the
84644         AIO_MISC_WAIT() invocation.
84646 2011-08-23  Andreas Schwab  <schwab@redhat.com>
84648         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
84649         backslash.
84651 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
84653         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
84654         protection macro.
84655         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
84656         and <dl-machine.h>.
84657         (Elf64_FuncDesc): Remove.
84659 2011-08-22  David S. Miller  <davem@davemloft.net>
84661         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
84662         sigaltstack check, add missing cfi directives.
84663         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
84664         missing cfi directives, and sigaltstack handling.
84666 2011-08-16  Andreas Schwab  <schwab@redhat.com>
84668         [BZ #11724]
84669         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
84670         object is seen twice.
84671         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84673         * elf/Makefile (distribute): Add tst-initorder2.c.
84674         (tests): Add tst-initorder2.
84675         (modules-names): Add tst-initorder2a tst-initorder2b
84676         tst-initorder2c tst-initorder2d.  Add rules to build them.
84677         ($(objpfx)tst-initorder2.out): New rule.
84678         * elf/tst-initorder2.c: New file.
84679         * elf/tst-initorder2.exp: New file.
84681 2011-08-22  Andreas Schwab  <schwab@redhat.com>
84683         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
84685         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
84686         dependencies back to end of function.
84688         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84689         $(elfobjdir)/ld.so.
84691 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
84693         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
84694         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
84695         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
84696         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
84697         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
84698         of __vdso_gettimeofday.
84699         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
84700         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
84701         attribute_hidden.
84702         (_libc_vdso_platform_setup): Remove initialization of
84703         __vdso_gettimeofday and __vdso_time.
84705 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84707         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
84708         and fgetc_unlocked.
84709         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
84710         getc_unlocked.
84712         * elf/dl-open.c (add_to_global): Report additions to the global scope
84713         for LD_DEBUG=scopes.
84714         (dl_open_worker): Also print scope of newly loaded dependencies.
84715         (_dl_show_scope): Indicate if there is no scope.
84717         [BZ #13114]
84718         * stdio-common/Makefile (tests): Add bug24.
84719         * stdio-common/bug24.c: New file.
84721 2011-08-19  Andreas Jaeger  <aj@suse.de>
84723         [BZ #13114]
84724         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
84725         non-existant file when using close-on-exec mode.
84727 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84729         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
84730         the very first instruction.
84732         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
84733         the CFI state in the end.
84734         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
84735         inclusion of dl-trampoline.h.
84736         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
84738 2011-08-19  Andreas Schwab  <schwab@redhat.com>
84740         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
84741         expectations for long double.
84743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
84744         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
84746 2011-08-14  David S. Miller  <davem@davemloft.net>
84748         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
84749         artificual limit depends upon the system page size.
84751 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84753         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
84754         * resolv/Makefile: Define CFLAGS-libresolv.
84756 2011-08-17  Andreas Schwab  <schwab@redhat.com>
84758         * nss/makedb.c (compute_tables): Make variables used in nested
84759         function static.
84761 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84763         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
84764         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84765         if buffer was too small.
84767         * elf/pldd.c (main): Attach to all threads in the process.
84768         Rewrite /proc handling to use *at functions.
84770 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84772         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84773         specifies first scope to show.
84774         (dl_open_worker): Update callers.  Move printing scope of new
84775         object to before the relocation.
84776         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84777         * sysdeps/generic/ldsodefs.h: Update declaration.
84779         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84780         string for the scope number.
84782 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84784         * nscd/servicescache.c (cache_addserv): Make sure written is always
84785         initialized.
84787 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84789         * sysdeps/i386/i486/bits/atomic.h
84790         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84791         statement expression, so as to suppress "set but not used" warning.
84792         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84794         * string/strncat.c (STRNCAT): Use prototype definition.
84796         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84797         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84798         -Iprograms here.
84799         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84800         (localedef-modules): Add localedef.
84801         (locale-modules): Add locale.
84803         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84804         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84805         to avoid a warning.
84807 2011-08-14  David S. Miller  <davem@davemloft.net>
84809         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
84810         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
84812 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
84814         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
84815         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
84816         * elf/rtld.c (dl_main): Set l_name of vDSO.
84817         Call _dl_show_scope when DL_DEBUG_SCOPES.
84818         (process_dl_debug): Recognize scopes flag and also set it for all.
84819         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
84820         Declare _dl_show_scope.
84822         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
84823         (do_dlopen): Pass caller_dlopen to dl_open.
84824         (__libc_dlopen_mode): Initialize caller_dlopen.
84826         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
84827         of libc.  Make tolower call locale-independent.  Optimize a bit by
84828         using isdigit instead of isalnum.
84829         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
84831 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
84833         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
84834         was a dependency or dynamically loaded.
84836 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
84838         * intl/l10nflist.c: Allow architecture-specific pop function.
84839         * sysdeps/x86_64/l10nflist.c: New file.
84841         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
84842         classification.
84844 2011-08-10  Andreas Schwab  <schwab@redhat.com>
84846         * include/dirent.h: Add libc_hidden_proto for scandirat and
84847         scandirat64.  Don't declare __scandirat64.
84848         * dirent/scandirat.c: Add libc_hidden_def.
84849         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
84850         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
84852 2011-08-10  David S. Miller  <davem@davemloft.net>
84854         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
84855         enum.
84856         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84857         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84858         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84860 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
84862         * Versions.def [libc]: Add GLIBC_2.15.
84863         * dirent/Makefile (routines): Add scandirat and scandirat64.
84864         * dirent/Versions [libc]: Export scandirat and scandirat64 for
84865         GLIBC_2.15.
84866         * dirent/dirent.h: Declare scandirat and scandirat64.
84867         * dirent/scandirat.c: New file.
84868         * dirent/scandirat64.c: New file.
84869         * sysdeps/wordsize-64/scandirat.c: New file.
84870         * sysdeps/wordsize-64/scandirat64.c: New file.
84871         * dirent/opendir.c: Define opendirat.
84872         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
84873         using scandirat.
84874         * dirent/scandir64.c: Adjust for scandir.c change.
84875         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
84876         __scandirat64, and __scandir_cancel_handler.
84877         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
84878         additional parameter and use openat instead of open (outside of ld.so).
84879         Add new __opendir as wrapper around __opendirat.
84880         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
84881         here without requiring old scandirat implementation.
84883 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
84885         * dirent/scandir.c (cancel_handler): Renamed to
84886         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
84887         defined.  Adjust users.
84888         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
84889         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
84891 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
84893         * string/test-string.h (IMPL): Use __STRING to expand name and then
84894         stringify it.
84896         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
84897         of cleanups.
84899 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84901         * string/Makefile: Update.
84902         (strop-tests): Append strncat.
84903         * string/test-wcscmp.c: New file.
84904         New comprehensive test for wcscmp.
84905         * string/test-strcmp.c: Update.
84906         (WIDE): New define.
84908 2011-07-22  Andreas Schwab  <schwab@redhat.com>
84910         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
84911         line.
84913 2011-07-26  Andreas Schwab  <schwab@redhat.com>
84915         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84916         encoding to ACE if AI_IDN.
84918 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
84920         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
84921         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
84923 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84925         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
84926         Fix overflow bug in strncat.
84927         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
84929         * string/test-strncat.c: Update.
84930         Add new tests for checking overflow bugs.
84932 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84934         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84935         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
84936         * sysdeps/i386/i686/multiarch/strcat.S: New file.
84937         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
84938         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
84939         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
84940         * sysdeps/i386/i686/multiarch/strncat.S: New file.
84941         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
84942         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
84944         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
84945         (USE_AS_STRCAT): Define.
84946         Add strcat and strncat support.
84947         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84949 2011-07-25  Andreas Schwab  <schwab@redhat.com>
84951         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
84952         __n bigger than INT_MAX+1.
84953         (__strncmp_g): Likewise.
84955 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
84957         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
84958         * libio/stido.h: Likewise.
84960         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
84961         (AF_NFC): Define.
84962         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
84963         (AF_NFC): Define.
84965         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
84966         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84967         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84968         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
84969         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84971         [BZ #13021]
84972         * scripts/test-installation.pl: Don't expect libnss_test1 to be
84973         installed.
84975         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
84976         typo.
84977         (_dl_x86_64_save_sse): Likewise.
84979 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
84981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
84982         OSXSAVE.
84983         (_dl_x86_64_save_sse): Likewise.
84985         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
84987         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
84989 2011-07-21  Andreas Schwab  <schwab@redhat.com>
84991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
84992         change.
84993         (_dl_x86_64_save_sse): Use correct AVX check.
84995 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84997         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
84998         bug in strncpy/strncat.
84999         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85001 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85003         * string/tester.c (test_strcat): Add tests for different alignments
85004         of source and destination.
85005         (test_strncat): Likewise.
85007 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85009         [BZ #12852]
85010         * posix/glob.c (glob): Check passed in values before using them in
85011         expressions to avoid some overflows.
85012         (glob_in_dir): Likewise.
85014         [BZ #13007]
85015         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85016         check for AVX enablement so that we don't crash with old kernels and
85017         new hardware.
85018         * elf/tst-audit4.c: Add same checks here.
85019         * elf/tst-audit6.c: Likewise.
85021         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85023 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85025         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85027 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85029         * po/cs.po: Update from translation team.
85030         * po/bg.po: Likewise.
85032 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85034         * misc/sys/cdefs.h: Add support for const attribute.
85035         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85036         to gnu_dev_{major,minor,makedev} functions.
85038 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85040         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85042 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85044         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85045         strlen results.
85047 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85049         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85050         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85051         register in order to avoid conflicts with the soft frame pointer
85052         being held in r11 when necessary.
85053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85054         (INTERNAL_VSYSCALL_NCS): Likewise.
85056 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85058         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85059         * elf/dl-fini.c (_dl_fini): Adjust caller.
85060         * elf/dl-close.c (_dl_close_worker): Likewise.
85061         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85063 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85065         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85066         "aux_cache->nlibs < 0".
85068         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85069         in the reload-count case.
85071 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85074         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85075         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85076         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85077         * sysdeps/x86_64/multiarch/strcat.S: New file.
85078         * sysdeps/x86_64/multiarch/strncat.S: New file.
85079         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85080         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85081         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85082         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85083         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85084         (USE_AS_STRCAT): Define.
85085         Add strcat and strncat support.
85086         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85087         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85088         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85089         * string/strncat.c: Update.
85090         (USE_AS_STRNCAT): Define.
85091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85092         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85093         and i7.
85094         * sysdeps/x86_64/multiarch/init-arch.h
85095         (bit_Prefer_PMINUB_for_stringop): New.
85096         (index_Prefer_PMINUB_for_stringop): Likewise.
85097         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85098         bit_Prefer_PMINUB_for_stringop.
85100 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85102         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85103         buffer64.
85104         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85105         of casting of buffer.
85106         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85107         buffer32 and buffer64.
85108         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85109         writes instead of casting of buffer.
85110         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85111         buffer32.
85112         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85113         casting of buffer.
85115 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85117         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85119 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85121         * nscd/nscd.c (termination_handler): Don't do anything for a database
85122         if it has not yet been initialized.
85124 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85126         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85128 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85130         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85132 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85134         * po/nl.po: Update from translation team.
85135         * po/sv.po: Likewise.
85137 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85139         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85140         now disallowed by GCC.
85142         * configure.in (use-default-link): Default to yes if a test -shared
85143         link meets our qualifications.
85144         * configure: Regenerated.
85146         * config.make.in (output-format): New variable.
85147         * configure.in: Check for ld --print-output-format support.
85148         * configure: Regenerated.
85149         * Makerules ($(common-objpfx)format.lds)
85150         [$(output-format) != unknown]: Just use $(output-format),
85151         instead of the linker-script munging.
85153 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85155         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85156         of $(common-objpfx)shlib.lds.
85157         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85159         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85160         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85162         * configure.in (-z relro check): Adjust test code to add a large
85163         writable data section after it.
85164         * configure: Regenerated.
85166 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85168         * configure.in (-z relro check): Fix test code to make the variable
85169         truly const.
85170         * configure: Regenerated.
85172 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85174         * nscd/nscd.h (struct traced_file): Define.
85175         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85176         elements.  Add traced_files.
85177         (inotify_fd): Declare.
85178         (register_traced_file): Declare.
85179         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85180         (inotify_fd): Export.
85181         (resolv_conf_descr): Remove.
85182         (nscd_init): Move inotify descriptor creation to main.
85183         Don't register files for notification here.
85184         (register_traced_file): New function.
85185         (invalidate_cache): Don't use reset_res to determine whether to call
85186         res_init, go through the list of registered files.
85187         (main_loop_poll): The inotify descriptors are now stored in the
85188         structures for the traced files.
85189         (main_loop_epoll): Likewise.
85190         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85191         to __nss_disable_nscd.
85192         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85193         for a database anymore.  Check the records for all the registered
85194         files instead.
85195         * nss/Makefile (libnss_files-routines): Add files-init.
85196         (libnss_db-routines): Add db-init.
85197         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85198         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85199         * nss/nss_db/db-init.c: New file.
85200         * nss/nss_files/files-init.c: New file.
85201         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85202         __nss_lookup_function.
85203         (__nss_lookup_function): Call nss_load_library.
85204         (nss_load_all_libraries): New function.
85205         (__nss_disable_nscd): Take parameter with callback function for files
85206         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85207         used for the cached services.
85208         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85209         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85210         options for features to all the files in nscd.
85212         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85214 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85216         * csu/elf-init.c (__libc_csu_init): Comment typo.
85218 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85220         * po/pl.po: Update from translation team.
85221         * po/ja.po: Likewise.
85222         * po/ru.po: Likewise.
85223         * po/ko.po: Likewise.
85224         * po/fr.po: Likewise.
85226 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85228         * configure.in (.ctors/.dtors header and trailer check):
85229         Use an empirical test on a built program.
85230         * configure: Regenerated.
85232         * configure.in (-z relro check): Use an empirical test on a built DSO.
85233         Detect, but do not require, on ia64.
85234         * configure: Regenerated.
85236         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85237         Update tests that use readelf to use $READELF instead.
85238         * configure: Regenerated.
85240 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85242         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85243         if the result is not used.
85245 2011-07-05  Andreas Jaeger  <aj@suse.de>
85247         [BZ#9696]
85248         * stdlib/tst-strtod.c: Add testcase.
85250 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85252         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85253         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85254         The latter has a higher limit.  Take additional parameter to pass to
85255         the new function.
85256         (__pathconf): Pass file to __statfs_link_max.
85257         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85258         __statfs_link_max.
85259         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85260         __statfs_link_max.
85262         [BZ #12868]
85263         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85264         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85265         Handle Lustre.
85266         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85267         (__statfs_filesize_max): Likewise.
85268         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85270 2011-07-05  Andreas Jaeger  <aj@suse.de>
85272         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85274 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85276         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85277         `status' variable.
85278         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85279         Likewise.
85281 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85283         * Makefile (strop-tests): Add strncat.
85284         * string/test-strncat.c: New file.
85286 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85288         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85290 2011-06-21  Andreas Jaeger  <aj@suse.de>
85292         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85293         Copy rule from iconvdata/Makefile.
85295 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85297         [BZ #12922]
85298         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85299         but no long options are defined, just return 'W'.
85301 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85303         [BZ #9696]
85304         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85306 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85308         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85309         netgroups to read.
85310         (innetgr): Likewise.
85312 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85314         * config.make.in (install_root): Default to $(DESTDIR).
85316 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85318         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85320 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85322         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85324         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85325         containing directory rather than embedding absolute directory names.
85327         * scripts/check-local-headers.sh: Rewritten using awk.
85328         Match by word, not by line.  Print error messages for matches.
85329         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85331         * Makerules [shlib-lds-flags empty]:
85332         ($(common-objpfx)libc_pic.opts): New target.
85333         ($(common-objpfx)libc_pic.os.clean): New target.
85334         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85336         * config.make.in (OBJCOPY): New variable.
85337         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85338         * configure: Regenerated.
85340         * config.make.in (use-default-link): New variable.
85341         * configure.in (use_default_link): Grok --with-default-link to set it.
85342         * configure: Regenerated.
85343         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85344         (shlib-lds, shlib-lds-flags): Define to empty.
85346         * Makerules (shlib-lds): New variable.
85347         (shlib-lds-flags): New variable.
85348         (build-shlib, build-moduile, build-module-asneeded): Use it.
85349         ($(common-objpfx)libc.so): Use $(shlib-lds).
85350         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85351         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85353         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85354         DT_FLAGS/DT_FLAGS_1 with zero flags.
85356         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85357         linker script munging.
85359 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85361         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85362         as 128-bit value.
85363         * crypt/sha512.c (sha512_process_block): Perform total addition using
85364         128-bit if possible.
85365         (__sha512_finish_ctx): Likewise.
85366         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85367         as 64-bit value.
85368         * crypt/sha256.c (SWAP64): Define.
85369         (sha256_process_block): Perform total addition using 64-bit if
85370         possible.
85371         (__sha256_finish_ctx): Likewise.
85373 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85375         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85376         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85377         * nscd/hstcache.c (cache_addhst): Likewise.
85378         * nscd/grpcache.c (cache_addgr): Likewise.
85379         * nscd/aicache.c (addhstaiX): Likewise.
85380         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85382 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85384         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85385         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85386         * nscd/hstcache.c (cache_addhst): Likewise.
85387         * nscd/grpcache.c (cache_addgr): Likewise.
85388         * nscd/aicache.c (addhstaiX): Likewise.
85390 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85392         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85393         domain only when needed.
85395 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85398         is always restored.
85400 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85402         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85403         are re-adding the entry.
85404         * nscd/servicescache.c (cache_addserv): Likewise.
85406 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85408         * sysdeps/generic/dl-irel.h: fix protection against multiple
85409         inclusions.
85410         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85412 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85414         [BZ #12935]
85415         * malloc/memusage.sh: Fix quoting in message.
85416         * debug/xtrace.sh: Likewise.
85418         * configure.in: Remove support for --experimental-malloc option, make
85419         it the default.
85420         * config.make.in: Likewise.
85421         * malloc/Makefile: Likewise.
85423 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85425         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85426         two-byte characters.
85428 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85430         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85431         AC_CACHE_CHECK invocation.
85432         * configure: Regenerated.
85434         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85436 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85438         [BZ #12350]
85439         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85440         bit from old_res_options.
85442         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85444         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85445         value type for setfct.
85447 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85449         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85450         __gettimeofday instead of gettimeofday.
85452 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85454         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85456 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85458         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85460         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85461         info.
85463 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85466         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85467         strcpy-sse2-unaligned strncpy-sse2-unaligned
85468         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85469         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85470         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85471         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85472         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85473         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85474         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85475         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85476         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85477         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85478         (STRCPY): Support SSE2 and SSSE3 versions.
85480 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85482         [BZ #12874]
85483         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
85484         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
85485         kernels which artificially limit size of requests.
85487 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85490         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85491         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
85492         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
85493         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
85494         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
85495         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
85496         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
85497         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
85498         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
85499         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
85500         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
85501         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
85502         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
85503         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
85504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85505         Enable unaligned load optimization for Intel Core i3, i5 and i7
85506         processors.
85507         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
85508         Define.
85509         (index_Fast_Unaligned_Load): Define.
85510         (HAS_FAST_UNALIGNED_LOAD): Define.
85512 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
85514         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
85516 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85518         [BZ #12907]
85519         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
85520         until it is clear that the information is realy needed.
85521         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
85523 2011-06-22  Andreas Schwab  <schwab@redhat.com>
85525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
85527 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85529         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85530         /sys/devices/system/cpu/online if it is usable.
85532         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
85533         reading the information from the /proc filesystem to once a second.
85535 2011-06-21  Andreas Jaeger  <aj@suse.de>
85537         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
85538         NULL after inclusion of kernel headers.
85540 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
85542         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
85543         calls to internal_setent.
85545         [BZ #12885]
85546         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
85547         addresses using gethostbyname4_r ignore IPv4 addresses.
85549         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
85550         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
85552         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
85554 2011-06-20  David S. Miller  <davem@davemloft.net>
85556         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
85557         inclusions.
85558         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
85560         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
85561         (elf_irel): Use it.
85562         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
85563         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
85564         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
85565         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
85566         * sysdeps/x86_64/dl-irel.h: Likewise.
85568         * elf/dl-runtime.c: Use elf_ifunc_invoke.
85569         * elf/dl-sym.c: Likewise.
85571 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85573         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
85574         need to dereference resplen2.
85576 2011-06-14  Andreas Schwab  <schwab@redhat.com>
85578         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
85580 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85582         * Makeconfig: Define vardbdir and inst_vardbdir.
85583         * nss/Makefile: Add rules to install db-Makefile.
85585         * nss/nss_db/db-XXX.c: Cleanup.
85587         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
85588         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
85589         GLIBC_PRIVATE.
85590         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
85591         * nss/makedb.c: Implement -g option to specify that value strings
85592         are generated and should not be added to table iterated over for
85593         get*ent calls.
85594         * nss/nss_db/db-initgroups.c: New file.
85596         * nss/getent.c: Add support for initgroups lookups through getgrouplist
85597         interface.
85599         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
85600         (internal_getgrouplist): Adjust to name change.
85601         Update use_initgroups_entry if this is not the first call.
85602         * nss/databases.def: Add initgroups entry.
85604         * nss/makedb.c (compute_tables): Check result of multiple hash table
85605         sizes to minimize maximum chain length.
85607 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
85609         * Versions.def: Add entry for libnss_db.
85610         * shlib-versions: Likewise.
85611         * nss/Makefile: Add rules to build libnss_db.
85612         * nss/Versions: Add libnss_db information.  Organize libnss_files
85613         entries better.
85614         * nss/db-Makefile: Add gshadow support.  Change rules for the new
85615         makedb progra.  Some minor improvements to generate smaller files.
85616         * nss/nss_db/nss_db.h: Move NSS database header data structures to
85617         here from...
85618         * nss/makedb.c: ...here.
85619         Improve database format to be smaller and require less memory at
85620         runtime.
85621         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
85622         db anymore.
85623         * nss/nss_db/db-netgrp.c: Likewise.
85624         * nss/nss_db/db-open.c: Likewise.
85625         * nss/nss_files/flies-XXX.x: Adjust comments.
85626         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
85627         * nss/nss_files/files-grp.c: Likewise.
85628         * nss/nss_files/files-hosts.c: Likewise.
85629         * nss/nss_files/files-network.c: Likewise.
85630         * nss/nss_files/files-proto.c: Likewise.
85631         * nss/nss_files/files-pwd.c: Likewise.
85632         * nss/nss_files/files-rpc.c: Likewise.
85633         * nss/nss_files/files-service.c: Likewise.
85634         * nss/nss_files/files-sgrp.c: Likewise.
85635         * nss/nss_files/files-spwd.c: Likewise.
85636         * nss/nss_db/db-alias.c: Removed.
85637         * nss/nss_db/dummy-db.h: Removed.
85639 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
85641         * nss/makedb.c: Rewritten to not use database library.
85642         * nss/Makefile: Update to build new makedb program.
85644 2011-06-14  Andreas Jaeger  <aj@suse.de>
85646         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
85647         memset declaration.
85649 2011-06-10  Andreas Schwab  <schwab@redhat.com>
85651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
85652         tmpbuf.
85654 2011-06-10  Roland McGrath  <roland@hack.frob.com>
85656         * Makerules (shlib.lds): Fail if the linker script comes out empty.
85657         * elf/Makefile ($(objpfx)ld.so): Likewise.
85659         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
85660         Don't list ld.so twice in dependencies.
85662         * posix/bug-regex31.c: Include <stdlib.h>.
85664         * nscd/hstcache.c (cache_addhst): Remove unused variable.
85666         * nis/nss_compat/compat-spwd.c
85667         (getspent_next_nss_netgr): Remove unused variable.
85668         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
85670         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
85671         nonmembers" output to use the right array.
85673         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
85675         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
85677         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
85678         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
85679         * catgets/gencat.c (read_input_file): Likewise.
85680         * locale/programs/locarchive.c (enlarge_archive): Likewise.
85682         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
85683         variable definition inside #if's controlling its use.
85685         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
85687         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
85689         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
85691         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
85692         unreachable code.
85694         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
85696         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
85697         * configure: Regenerated.
85699         * Makerules: Revert last change.
85700         * elf/Makefile: Likewise.
85702 2011-06-09  Roland McGrath  <roland@hack.frob.com>
85704         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
85705         * elf/Makefile ($(objpfx)librtld.os): Likewise.
85706         (reloc-link): Likewise.
85708 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
85710         * elf/Makefile: Add rules to build pldd.
85711         * elf/pldd.c: New file.
85712         * elf/pldd-xx.c: New file.
85714 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
85716         * version.h: Update for 2.15 development version.
85718 2011-06-07  David S. Miller  <davem@davemloft.net>
85720         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
85721         ifuncs.
85722         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
85723         elf_machine_lazy_rel): Likewise.
85724         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
85725         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
85726         elf_machine_lazy_rel): Likewise.
85727         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
85728         dl_hwcap via passed in argument.
85729         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
85730         Likewise.
85732 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85734         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
85736 2011-06-06  Roland McGrath  <roland@hack.frob.com>
85738         [BZ #12849]
85739         * manual/fdl-1.1.texi: New file, verbatim from:
85740         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
85741         * manual/lgpl-2.1.texi: New file, verbatim from:
85742         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
85743         * manual/Makefile (licenses): New variable, list those new file names.
85744         (texis): Use it.
85745         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
85747         * manual/fdl.texi: File removed.
85748         * manual/lesser.texi: File removed.
85749         * manual/libc.texinfo (Copying, Documentation License):
85750         Use new @include file names, put @appendix directive before @include.
85752 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
85754         [BZ #12841]
85755         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
85756         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
85757         (mq_open): Add __NTH.
85759 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
85761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85762         Assume Intel Core i3/i5/i7 processor if AVX is available.
85764 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85766         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85767         typo.
85769 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85771         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85772         memory.  Use alloca_account.  Fix memory leak when retrying.
85774 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85776         * version.h (RELEASE): Bump for 2.14 release.
85777         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85779         * config.make.in (RANLIB): Remove entry.
85781 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85783         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85784         (libc.pot): Work around missing support for .ksh extension in xgettext.
85786         [BZ #12684]
85787         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85788         if both request failed.
85789         (send_dg): In case of server errors clear resplen or *resplen2.
85791         [BZ #12454]
85792         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85793         when there are multiple maps.
85794         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85795         (_dl_fini): Remove test here.
85797         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85799 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85801         [BZ #12350]
85802         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85803         bit from old_res_options.
85804         (gaih_inet): Likewise.
85806         [BZ #11099]
85807         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
85808         as signed.
85810         * resolv/res_init.c (res_setoptions): Make the code more compact.
85812         [BZ #11558]
85813         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
85814         set RES_USEVC.
85816         [BZ #11634]
85817         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
85819         * malloc/malloc.h: Mark malloc hook variables as deprecated.
85821         [BZ #11781]
85822         * malloc/malloc.h: Declare malloc hook variables as volatile.
85824         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
85825         in last patch.
85827         [BZ #11799]
85828         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
85829         raise in the comment.
85830         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85831         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85832         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
85834 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
85836         [BZ #12811]
85837         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
85838         grow the buffers more if it already has to be sufficient.
85839         (build_wcs_upper_buffer): Likewise.
85840         * posix/regexec.c (check_matching): Likewise.
85841         (clean_state_log_if_needed): Likewise.
85842         (extend_buffers): Don't enlarge buffers beyond size of the input
85843         buffer.
85844         Patches mostly by Emil Wojak <emil@wojak.eu>.
85845         * posix/bug-regex32.c: New file.
85846         * posix/Makefile (tests): Add bug-regex32.
85848         * locale/findlocale.c (_nl_find_locale): Return right away if
85849         _nl_explode_name failed.
85850         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
85852         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
85854         * debug/xtrace.sh: Unify messages.
85855         * malloc/memusage.sh: Likewise.
85857         [BZ #12813]
85858         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
85859         time symbol from vDSO.  Substitute with vsyscall if not available.
85860         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
85861         __vdso_time.
85863         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
85864         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
85865         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
85866         Add sendmmsg and internal_sendmmsg.
85867         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
85868         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
85869         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
85871         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
85872         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
85873         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
85875 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
85877         [BZ #12813]
85878         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
85879         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
85880         available.
85881         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
85882         __vdso_getcpu.
85884         [BZ #12814]
85885         * iconvdata/Makefile (tests): Add bug-iconv9.
85886         * iconvdata/bug-iconv9.c: New file.
85888 2011-05-27  Andreas Schwab  <schwab@redhat.com>
85890         [BZ #12814]
85891         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
85893 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
85895         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85896         (struct user_regs_struct): Change intcs field back to cs.
85898 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
85900         * po/ja.po: Update from translation team.
85902 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
85904         [BZ #12795]
85905         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
85906         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
85908 2011-05-20  Andreas Schwab  <schwab@redhat.com>
85910         * stdlib/longlong.h: Update from GCC.
85912 2011-05-23  Andreas Schwab  <schwab@redhat.com>
85914         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
85915         parameter name.
85916         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
85917         Add parameter name.
85918         (__sysconf): Pass it down.
85920 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
85922         [BZ #12671]
85923         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
85924         some situations.
85925         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
85926         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
85927         add in in __libc_use_alloca calls.  Adjust callers.
85928         (glob): Use malloc in some situations.
85930         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
85931         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
85932         pltexit.
85934 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
85936         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
85937         and CLOCK_BOOTTIME_ALARM.
85939         [BZ #12782]
85940         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
85941         is returned.
85943         * string/_strerror.c (__strerror_r): Print negative errors as signed
85944         numbers.
85946         [BZ #12777]
85947         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
85948         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
85949         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
85951         * configure.in: Fix typo in redirection and correct removal of test
85952         files in two cases.
85954         [BZ #12788]
85955         * locale/setlocale.c (new_composite_name): Fix test to check for
85956         identical name of all categories.
85958         [BZ #12792]
85959         * libio/filedoalloc.c (local_isatty): New function.
85960         (_IO_file_doallocate): Use local_isatty.
85961         * stdio-common/perror.c (perror): In case a new stream is used
85962         forward the stream error.
85963         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
85964         error flag.
85966 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
85968         [BZ #11884]
85969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
85970         alloca.
85971         * include/alloca.h (extend_alloca_account): Define.
85973         [BZ #11857]
85974         * posix/regex.h: Fix comments with documentation of user-accessible
85975         fields after compilation and describe correct free'ing of pattern
85976         after re_compile_pattern.
85977         Patch by Reuben Thomas <rrt@sc3d.org>.
85979 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
85981         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
85982         and -mno-altivec to prevent the compiler from using Altivec and/or
85983         VSX instructions when the corresponding registers are not available.
85985 2011-05-19  Andreas Schwab  <schwab@redhat.com>
85987         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
85989 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
85991         * libio/freopen.c (freopen): Use __dup2, not dup2.
85992         * libio/freopen64.c (freopen64): Likewise.
85994 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
85996         [BZ #12775]
85997         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
85998         * math/Makefile (tests): Add test-powl.
85999         (CFLAGS-test-powl.c): Define.
86000         * math/test-powl.c: New file.
86002 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86004         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86006 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86008         [BZ #11837]
86009         * iconvdata/gb18030.c: Update to GB18020-2005.
86011 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86013         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86014         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86015         Patch by Aharon Robbins <arnold@skeeve.com>.
86017         [BZ #11892]
86018         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86019         on the stack.
86021         [BZ #11895]
86022         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86023         through underflows.
86025         [BZ #12766]
86026         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86027         point to strings before performing equality test for error_one_per_line
86028         mode.
86030         [BZ #11697]
86031         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86033         [BZ #11820]
86034         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86035         (struct user_fpregs_struct): Avoid __uint*_t types.
86037         [BZ #6420]
86038         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86039         symbol info.  Use it instead of calling _dl_addr locally.
86040         (lock_and_info): New function.
86041         (tr_freehook): Call lock_and_info and pass symbol info as additional
86042         parameter to tr_where.
86043         (tr_mallochook): Likewise.
86044         (tr_reallochook): Likewise.
86045         (tr_memalignhook): Likewise.
86047         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86048         used and couldn't be at all thread-safe.
86050 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86052         * libio/freopen.c (freopen): Don't close old file descriptor
86053         before the new one is opened.  Instead dup the new file descriptor
86054         to the old one after the new stream is created.
86055         * libio/freopen64.c (freopen64): Likewise.
86056         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86057         * libio/fileops.c (_IO_new_file_close_it): Handle new
86058         _IO_FLAGS2_NOCLOSE flag.
86059         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86060         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86061         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86062         _IO_FLAGS2_NOCLOSE flag.
86063         * include/unistd.h: Add hidden_proto for dup3.
86064         Define __have_dup3.
86065         * io/dup3.c: Define hidden symbol.
86066         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86068         [BZ #7101]
86069         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86070         when an incomplete long option is used.
86071         * posix/tst-getopt_long1.c: New file.
86072         * posix/Makefile (tests): Add tst-getopt_long1.
86074         [BZ #10138]
86075         * scripts/config.guess: Update from autoconf-2.68.
86076         * scripts/config.sub: Likewise.
86078         [BZ #10157]
86079         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86080         tests into ...
86081         (has_cpuclock): ...this.  New function.
86082         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86083         macro here based on has_cpuclock code.
86085         [BZ #10149]
86086         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86087         First byte (not low byte) is now always NUL.
86088         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86090         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86091         Use non-cancelable interfaces.
86093         [BZ #9809]
86094         * locale/iso-639.def: Add entry for Sorani.
86096         [BZ #11901]
86097         * include/stdlib.h: Move include protection to the right place.
86098         Define abort_msg_s.  Declare __abort_msg with it.
86099         * stdlib/abort.c (__abort_msg): Adjust type.
86100         * assert/assert.c (__assert_fail_base): New function.  Majority
86101         of code from __assert_fail.  Allocate memory for __abort_msg with
86102         mmap.
86103         (__assert_fail): Now call __assert_fail_base.
86104         * assert/assert-perr.c: Remove bulk of implementation.  Use
86105         __assert_fail_base.
86106         * include/assert.hL Declare __assert_fail_base.
86107         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86108         mmap.
86109         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86111 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86113         [BZ #11952]
86114         [BZ #12453]
86115         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86116         until all modules are registered in the DTV.
86117         * elf/Makefile: Add rules to build and run tst-tls19.
86118         * elf/tst-tls19.c: New file.
86119         * elf/tst-tls19mod1.c: New file.
86120         * elf/tst-tls19mod2.c: New file.
86121         * elf/tst-tls19mod3.c: New file.
86122         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86124         [BZ #12083]
86125         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86126         correctly.
86128         [BZ #12601]
86129         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86130         two-byte sequence errors.
86131         * iconvdata/Makefile (tests): Add bug-iconv8.
86132         * iconvdata/bug-iconv8.c: New file.
86134         [BZ #12626]
86135         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86136         buf2 definition.
86138         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86140         [BZ #12432]
86141         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86142         (dummy_getcfa): New function.
86143         (init): Get _Unwind_GetCFA address, use dummy if not found.
86144         (backtrace_helper): In recursion check, also check whether CFA changes.
86145         (__backtrace): Completely initialize arg.
86147         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86148         storing incomplete byte sequence in state object.  Avoid testing for
86149         guaranteed too small input if we know there is enough data available.
86151 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86153         * Makeconfig (+link-pie): Indent.
86154         * Rules (binaries-pie): Define if $(have-fpie) and
86155         $(build-shared).
86156         (binaries-shared): Also filter out $(binaries-pie).
86157         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86158         * nscd/Makefile (others-pie): Add nscd.
86159         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86160         ($(objpfx)nscd): Remove command override.
86161         * login/Makefile (others-pie): Add pt_chown.
86162         ($(objpfx)pt_chown): Remove command override.
86163         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86164         remove command overrides.
86166 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86168         * libio/tst_putwc.c: Fix error messages.
86170         [BZ #12724]
86171         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86172         currently writing and seek to current position when not.
86173         * libio/Makefile (tests): Add bug-fclose1.
86174         * libio/bug-fclose1.c: New file.
86176 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86178         [BZ #12511]
86179         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86180         don't set DF_1_NODELETE here.
86181         (do_lookup_x): When entering new entry test for copy relocation
86182         and if necessary set DF_1_NODELETE flag.
86183         * elf/tst-unique4.cc: New file.
86184         * elf/tst-unique4.h: New file.
86185         * elf/tst-unique4lib.cc: New file.
86186         * elf/Makefile: Add rules to build and run tst-unique4.
86187         Patch by Piotr Bury <pbury@goahead.com>.
86189 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86191         [BZ #12052]
86192         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86194         [BZ #12625]
86195         * misc/mntent_r.c (addmntent): Flush the stream after the output
86197         [BZ #12393]
86198         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86199         (is_trusted_path_normalize): Skip initial colon.  Append slash
86200         to empty buffer.  Duplicate is_trusted_path code but allow
86201         constructed patch to be prefix.
86202         (is_dst): Allow $ORIGIN followed by /.
86203         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86204         Correct testing of result of is_trusted_path_normalize
86205         (decompose_rpath): Fix warning.
86207 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86209         [BZ #11257]
86210         * grp/initgroups.c (internal_getgrouplist): When we found the service
86211         list through the initgroups entry in nsswitch.conf do not always
86212         continue on a successful lookup.  Don't always use the
86213         __nss_group_database value if it is set.
86214         * nss/nsswitch.conf (initgroups): Change action for successful db
86215         lookup to continue for compatibility.
86217 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86219         [BZ #11532]
86220         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86221         and CP774 modules.
86222         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86223         and CP774 modules.
86224         * iconvdata/tst-tables.sh: Likewise.
86225         * iconvdata/cp770.c: New file.
86226         * iconvdata/cp771.c: New file.
86227         * iconvdata/cp772.c: New file.
86228         * iconvdata/cp773.c: New file.
86229         * iconvdata/cp774.c: New file.
86230         * iconvdata/testdata/CP770: New file.
86231         * iconvdata/testdata/CP770..UTF8: New file.
86232         * iconvdata/testdata/CP771: New file.
86233         * iconvdata/testdata/CP771..UTF8: New file.
86234         * iconvdata/testdata/CP772: New file.
86235         * iconvdata/testdata/CP772..UTF8: New file.
86236         * iconvdata/testdata/CP773: New file.
86237         * iconvdata/testdata/CP773..UTF8: New file.
86238         * iconvdata/testdata/CP774: New file.
86239         * iconvdata/testdata/CP774..UTF8: New file.
86241         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86242         END CHARMAP line.
86243         * iconvdata/gen-8bit-gap.sh: Likewise.
86244         * iconvdata/gen-8bit.sh: Likewise.
86246         * locale/iso-639.def: Add ary entry.
86248         [BZ #11258]
86249         * locale/C-translit.h.in: Add U20A1 transliteration.
86251         [BZ #12178]
86252         * locale/iso-639.def: Add wae entry.
86253         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86255         [BZ #12545]
86256         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86257         for n.
86259         [BZ #12711]
86260         * locale/C-translit.h.in: Add entry for U20B9.
86261         Patch by pravin.d.s@gmail.com.
86263 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86265         [BZ #12713]
86266         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86267         ENAMETOOLONG use generic getcwd.
86268         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86269         in rtld.  Use *stat64.
86270         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86271         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86272         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86273         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86274         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86275         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86276         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86277         __fstatat64 macros.
86278         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86279         * dirent/rewinddir.c: Add libc_hidden_def.
86280         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86281         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86283         * include/dirent.h (__alloc_dir): Add flags parameter.
86284         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86285         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86286         __alloc_dir.
86287         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86288         from fdopendir if O_CLOEXEC is already set.
86290 2011-03-15  Alan Modra  <amodra@gmail.com>
86292         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86293         l_tls_firstbyte_offset non-zero.  Save padding offset in
86294         l_tls_firstbyte_offset for later use.
86295         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86296         freeing static tls block.
86298 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86300         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86301         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86302         being defined by the kernel headers.
86304 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86306         [BZ #12734]
86307         * resolv/resolv.h: Define RES_NOTLDQUERY.
86308         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86309         no-tld-query and set RES_NOTLDQUERY.
86310         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86311         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86312         modern BIND to search name as TLD unless forbidden.
86314 2011-05-07  Petr Baudis  <pasky@suse.cz>
86315             Ulrich Drepper  <drepper@gmail.com>
86317         [BZ #12393]
86318         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86319         (is_trusted_path): ...to here.
86320         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86321         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86322         using is_trusted_path_normalize() in setuid scripts.
86324 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86326         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86327         __BEGIN/__END_DECLS.
86329 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86331         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86332         NSS_STATUS_NOTFOUND if no record was found.
86334 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86336         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86337         (headers-not-in-tirpc): Remove rpc/netdb.h
86338         * resolv/netdb.h: Revert last change.
86340 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86342         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86343         circular dependency between libgcc.a and libc.a.
86345 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86347         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86348         * nis/Makefile: Don't install rpcsvc/*.
86349         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86350         instead of <rpc/types.h>.
86351         (MAXHOSTNAMELEN): Define.
86353 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86355         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86357 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86359         [BZ #12714]
86360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86361         gethostbyname4_r when IPv6 results are possible.
86363 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86365         [BZ #12723]
86366         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86367         _PC_PIPE_BUF handling.
86369 2011-04-30  Bruno Haible  <bruno@clisp.org>
86371         [BZ #12717]
86372         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86373         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86374         to 'int'.
86375         * inet/getnameinfo.c (getnameinfo): Likewise.
86377 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86379         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86380         to groups setting in database lookup.
86381         * nss/nsswitch.conf: Add initgroups entry.
86383 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86385         [BZ #12685]
86386         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86387         mode string.
86388         Patch by Eric Blake <eblake@redhat.com>.
86390 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86392         * sunrpc/Makefile (need-export-routines): Add svc_run.
86393         (routines): Remove svc_run.
86394         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86395         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86396         * sunrpc/svc_run.c (svc_run): Likewise.
86397         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86399 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86401         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86402         problem in reallocation in last patch.
86404 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86406         * sunrpc/Makefile: Move inclusion of Rules.
86408 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86410         * nss/nss_files/files-initgroups.c: New file.
86411         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86412         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86413         _nss_files_initgroups_dyn.
86415 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86417         * elf/elf.h (R_ARM_IRELATIVE): Define.
86419 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86421         * po/ru.po: Update from translation team.
86423 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86425         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86426         dependencies.
86428 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86430         [BZ #12653]
86431         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86432         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86433         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86434         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86435         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86437 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86439         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86440         differing bytes.
86441         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86442         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86445 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86447         [BZ #12420]
86448         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86449         storing it.
86450         * stdlib/bug-getcontext.c: New file.
86451         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86453 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86455         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86456         instructions into .machine "z9-109".
86457         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86458         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86460 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86462         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86463         between environment variables and auxiliary vector.
86465 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86467         * Makefile: Add rules to build linkobj/libc.so.
86468         * include/libc-symbols.h: Define libc_hidden_nolink.
86469         * include/rpc/auth.h: Mark functions which are to be hidden.
86470         * include/rpc/auth_des.h: Likewise.
86471         * include/rpc/auth_unix.h: Likewise.
86472         * include/rpc/clnt.h: Likewise.
86473         * include/rpc/des_crypt.h: Likewise.
86474         * include/rpc/key_prot.h: Likewise.
86475         * include/rpc/pmap_clnt.h: Likewise.
86476         * include/rpc/pmap_prot.h: Likewise.
86477         * include/rpc/pmap_rmt.h: Likewise.
86478         * include/rpc/rpc_msg.h: Likewise.
86479         * include/rpc/svc.h: Likewise.
86480         * include/rpc/svc_auth.h: Likewise.
86481         * include/rpc/xdr.h: Likewise.
86482         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86483         * nss/Makefile: Likewise.
86484         * sunrpc/Makefile: Don't install headers.  Build library with normal
86485         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
86486         * sunrpc/auth_des.c: Hide exported symbols by default, export some
86487         for the compat linking library.  Remove use of INTDEF/INTUSE.
86488         * sunrpc/auth_none.c: Likewise.
86489         * sunrpc/auth_unix.c: Likewise.
86490         * sunrpc/authdes_prot.c: Likewise.
86491         * sunrpc/authuxprot.c: Likewise.
86492         * sunrpc/clnt_gen.c: Likewise.
86493         * sunrpc/clnt_perr.c: Likewise.
86494         * sunrpc/clnt_raw.c: Likewise.
86495         * sunrpc/clnt_simp.c: Likewise.
86496         * sunrpc/clnt_tcp.c: Likewise.
86497         * sunrpc/clnt_udp.c: Likewise.
86498         * sunrpc/clnt_unix.c: Likewise.
86499         * sunrpc/des_crypt.c: Likewise.
86500         * sunrpc/des_soft.c: Likewise.
86501         * sunrpc/get_myaddr.c: Likewise.
86502         * sunrpc/key_call.c: Likewise.
86503         * sunrpc/key_prot.c: Likewise.
86504         * sunrpc/netname.c: Likewise.
86505         * sunrpc/pm_getmaps.c: Likewise.
86506         * sunrpc/pm_getport.c: Likewise.
86507         * sunrpc/pmap_clnt.c: Likewise.
86508         * sunrpc/pmap_prot.c: Likewise.
86509         * sunrpc/pmap_prot2.c: Likewise.
86510         * sunrpc/pmap_rmt.c: Likewise.
86511         * sunrpc/publickey.c: Likewise.
86512         * sunrpc/rpc_cmsg.c: Likewise.
86513         * sunrpc/rpc_common.c: Likewise.
86514         * sunrpc/rpc_dtable.c: Likewise.
86515         * sunrpc/rpc_prot.c: Likewise.
86516         * sunrpc/rpc_thread.c: Likewise.
86517         * sunrpc/rtime.c: Likewise.
86518         * sunrpc/svc.c: Likewise.
86519         * sunrpc/svc_auth.c: Likewise.
86520         * sunrpc/svc_authux.c: Likewise.
86521         * sunrpc/svc_raw.c: Likewise.
86522         * sunrpc/svc_run.c: Likewise.
86523         * sunrpc/svc_simple.c: Likewise.
86524         * sunrpc/svc_tcp.c: Likewise.
86525         * sunrpc/svc_udp.c: Likewise.
86526         * sunrpc/svc_unix.c: Likewise.
86527         * sunrpc/svcauth_des.c: Likewise.
86528         * sunrpc/xcrypt.c: Likewise.
86529         * sunrpc/xdr.c: Likewise.
86530         * sunrpc/xdr_array.c: Likewise.
86531         * sunrpc/xdr_float.c: Likewise.
86532         * sunrpc/xdr_intXX_t.c: Likewise.
86533         * sunrpc/xdr_mem.c: Likewise.
86534         * sunrpc/xdr_rec.c: Likewise.
86535         * sunrpc/xdr_ref.c: Likewise.
86536         * sunrpc/xdr_sizeof.c: Likewise.
86537         * sunrpc/xdr_stdio.c: Likewise.
86539 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
86541         [BZ #12650]
86542         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
86543         * sysdeps/ia64/dl-tls.h: Likewise.
86544         * sysdeps/powerpc/dl-tls.h: Likewise.
86545         * sysdeps/s390/dl-tls.h: Likewise.
86546         * sysdeps/sh/dl-tls.h: Likewise.
86547         * sysdeps/sparc/dl-tls.h: Likewise.
86548         * sysdeps/x86_64/dl-tls.h: Likewise.
86549         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
86551 2011-03-14  Andreas Schwab  <schwab@redhat.com>
86553         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
86554         rpath element also skip the following colon.
86555         (expand_dynamic_string_token): Add is_path parameter and pass
86556         down to DL_DST_REQUIRED and _dl_dst_substitute.
86557         (decompose_rpath): Call expand_dynamic_string_token with
86558         non-zero is_path.  Ignore empty rpaths.
86559         (_dl_map_object_from_fd): Call expand_dynamic_string_token
86560         with zero is_path.
86562 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
86564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
86565         Make cancelable.
86567 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
86569         [BZ #12655]
86570         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
86571         Patch by Filipe David Manana <fdmanana@apache.org>.
86573 2011-04-07  Andreas Schwab  <schwab@redhat.com>
86575         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
86576         Maintain aligned stack.
86577         (CHECK_RSP): Remove unused macro.
86579 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
86581         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
86582         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
86584 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
86586         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
86588         * include/features.h: Mention __USE_XOPEN2K8 in comment.
86590 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
86592         [BZ #12518]
86593         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
86594         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
86595         * sysdeps/x86_64/memmove.c: New file.
86596         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
86597         (memcpy): Renamed to ...
86598         (__new_memcpy): This.
86599         (memcpy): Provide GLIBC_2_14 memcpy.
86600         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
86601         (memcpy): Provide GLIBC_2_2_5 memcpy.
86603 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86605         [BZ #12631]
86606         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
86608 2011-03-30  Andreas Schwab  <schwab@redhat.com>
86610         * misc/syncfs.c: New file.
86611         * misc/Makefile (routines): Add syncfs.
86612         * posix/unistd.h: Declare syncfs.
86613         * sysdeps/unix/syscalls.list: Add syncfs.
86615 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86617         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
86618         open_by_handle_at.
86619         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
86620         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86621         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86622         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86624         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
86625         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86627 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86629         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
86630         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86631         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
86632         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86633         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86634         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86637         * io/Makefile: Compile fallocate.c, fallocate64.c, and
86638         sync_file_range.c with -fexceptions.
86639         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
86640         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
86641         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
86642         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
86643         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
86644         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
86645         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
86646         sync_file_range as cancellation point
86647         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
86648         now a wrapper around __call_sync_file_range with cancellation handling.
86649         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
86650         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
86651         function name to __call_sync_file_range.
86652         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
86653         Add call_sync_file_range.
86655 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86657         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86658         bits/timex.h.
86660 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86662         * iconv/iconv.h: Fix typo in comment.
86663         * io/fcntl.h: Likewise.
86664         * libio/stdio.h: Likewise.
86665         * posix/spawn.h: Likewise.
86666         * posix/unistd.h: Likewise.
86667         * stdlib/stdlib.h: Likewise.
86668         * time/time.h: Likewise.
86669         * wcsmbs/wchar.h: Likewise.
86671         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
86672         open_by_handle): Add.
86673         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
86674         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
86675         Augment a few comments.
86676         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86678         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86679         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86680         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86681         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
86682         open_by_handle.
86684         * io/fcntl.h (AT_EMPTY_PATH): Define.
86686 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
86688         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
86689         * sysdeps/unix/sysv/linux/bits/time.h: New file.
86690         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
86691         to...
86692         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
86693         * Versions.def: Add GLIBC_2.14.
86694         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
86695         Export.
86697 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
86699         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
86700         round counter.
86701         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86703 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86705         [BZ #12597]
86706         * string/test-strncmp.c (do_page_test): New function.
86707         (check2): Likewise.
86708         (test_main): Call check2.
86709         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
86711 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
86713         [BZ #12587]
86714         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
86715         Handle cache information in CPU leaf 4.
86716         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86718 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
86720         [BZ #12583]
86721         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
86722         character representation.
86723         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
86725 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
86727         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
86728         END(__isnan) to END(__isnanf) to match function entry point/label
86729         EALIGN(__isnanf,...).
86731 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
86733         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
86735 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
86737         [BZ #12510]
86738         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
86739         copy from the symbol referenced in the relocation to initialize the
86740         used variable.
86741         Patch by Piotr Bury <pbury@goahead.com>.
86742         * elf/Makefile: Add rules to build and tst-unique3.
86743         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
86744         * elf/tst-unique3.cc: New file.
86745         * elf/tst-unique3.h: New file.
86746         * elf/tst-unique3lib.cc: New file.
86747         * elf/tst-unique3lib2.cc: New file.
86749         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
86751 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
86753         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
86754         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
86755         to _start.
86757 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
86759         * elf/dl-load.c (_dl_map_object): If we are looking for the first
86760         to-be-loaded object along a path to loader is ld.so.
86762 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86763             Ulrich Drepper  <drepper@gmail.com>
86765         * sysdeps/x86_64/memset.S: After aligning destination, code
86766         branches to different locations depending on the value of
86767         misalignment, when multiarch is enabled. Fix this.
86769 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86771         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86772         Set _x86_64_preferred_memory_instruction for AMD processsors.
86773         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86774         Set bit_Prefer_SSE_for_memop for AMD processors.
86776 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86778         * libio/fmemopen.c (fmemopen): Optimize a bit.
86780 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86782         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86784 2011-03-03  Roland McGrath  <roland@redhat.com>
86786         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86788 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86790         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86791         __bzero_ultra1 instead of __memset_ultra1.
86793 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86794             Ulrich Drepper  <drepper@gmail.com>
86796         [BZ #12509]
86797         * include/link.h (struct link_map): Add l_orig_initfini.
86798         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86799         returning unsuccessfully.
86800         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86801         close of a file loaded at startup, restore the original l_initfini
86802         list.
86803         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86804         list, store the pointer.
86805         * elf/Makefile ($(objpfx)noload-mem): New rule.
86806         (noload-ENV): Define.
86807         (tests): Add $(objpfx)noload-mem.
86808         * elf/noload.c: Include <memcheck.h>.
86809         (main): Call mtrace.  Close all opened handles.
86811 2011-02-17  Andreas Schwab  <schwab@redhat.com>
86813         [BZ #12454]
86814         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
86815         dependencies are missing.
86817 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86819         Fix __if_freereq crash: Unlike the generic version which uses free,
86820         Hurd needs munmap.
86821         * sysdeps/mach/hurd/ifreq.h: New file.
86823 2011-01-27  Petr Baudis  <pasky@suse.cz>
86824             Ulrich Drepper  <drepper@gmail.com>
86826         [BZ 12445]#
86827         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
86828         to extend_alloca().
86829         * stdio-common/bug23.c: New file.
86830         * stdio-common/Makefile (tests): Add bug23.
86832 2010-09-28  Andreas Schwab  <schwab@redhat.com>
86833             Ulrich Drepper  <drepper@gmail.com>
86835         [BZ #12489]
86836         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
86837         before performing relro protection.  At old place add assertion
86838         to make sure nothing changed.
86840 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
86841             Glauber de Oliveira Costa  <glommer@gmail.com>
86843         * elf/elf.h: Add new ARM TLS relocs.
86845 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
86847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
86848         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
86849         cast from r3.
86850         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
86851         'tests' variable.
86852         * sysdeps/wordsize-64/tst-writev.c: New file.
86854 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
86856         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
86857         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
86858         insns in _dl_start to prevent a TOC reference before relocs are
86859         resolved.
86861 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
86863         [BZ #12469]
86864         * Makeconfig: Remove RANLIB definition.
86865         * Makerules: Don't use RANLIB.
86866         * aclocal.m4: Remove ranlib test.
86867         * configure.in: No need to check for ranlib.
86868         * elf/rtld-Rules: Don't use RANLIB.
86870 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86872         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
86873         protection macro.
86874         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
86875         inclusion protection macro.
86877         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
86878         SIGRTMIN and SIGRTMAX and print information in that case only when
86879         SIGRTMIN is defined.
86881 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
86883         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
86884         arginfo fn returning -1.
86886         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
86887         and thousands string is zero terminated.
86889 2011-02-03  Andreas Schwab  <schwab@redhat.com>
86891         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
86892         sysdeps/unix/sysv/linux/bits/socket.h.
86894 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86896         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
86897         (__CPU_COUNT): Remove old macros.
86898         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
86899         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
86900         (__CPU_ALLOC, __CPU_FREE): Add macros.
86901         (__sched_cpualloc, __sched_cpufree): Add declarations.
86903 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
86905         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
86906         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
86907         * nscd/aicache.c (addhstaiX): Return timeout of added value.
86908         (readdhstai): Return value of addhstaiX call.
86909         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
86910         (addgrbyX): Return value returned by cache_addgr.
86911         (readdgrbyname): Return value returned by addgrbyX.
86912         (readdgrbygid): Likewise.
86913         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
86914         (addpwbyX): Return value returned by cache_addpw.
86915         (readdpwbyname): Return value returned by addhstbyX.
86916         (readdpwbyuid): Likewise.
86917         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
86918         (addservbyX): Return value returned by cache_addserv.
86919         (readdservbyname): Return value returned by addservbyX:
86920         (readdservbyport): Likewise.
86921         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
86922         (addhstbyX): Return value returned by cache_addhst.
86923         (readdhstbyname): Return value returned by addhstbyX.
86924         (readdhstbyaddr): Likewise.
86925         (readdhstbynamev6): Likewise.
86926         (readdhstbyaddrv6): Likewise.
86927         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
86928         (readdinitgroups): Return value returned by addinitgroupsX.
86929         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
86930         (prune_cache): Keep track of timeout value of re-added entries.
86931         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
86932         * nscd/nscd.h: Adjust prototypes of readd* functions.
86934 2011-02-04  Roland McGrath  <roland@redhat.com>
86936         * nis/nis_server.c (nis_servstate): Use the right name for 0.
86937         (nis_stats): Likewise.
86938         * nis/nis_modify.c (nis_modify): Likewise.
86939         * nis/nis_remove.c (nis_remove): Likewise.
86940         * nis/nis_add.c (nis_add): Likewise.
86942         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
86944         * posix/fnmatch_loop.c: Add some consts.
86946         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
86948 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
86950         [BZ #12460]
86951         * config.make.in (config-cflags-novzeroupper): Define.
86952         * configure.in: Substitute libc_cv_cc_novzeroupper.
86953         * elf/Makefile (AVX-CFLAGS): Define.
86954         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
86955         (CFLAGS-tst-auditmod4a.c): Likewise.
86956         (CFLAGS-tst-auditmod4b.c): Likewise.
86957         (CFLAGS-tst-auditmod6b.c): Likewise.
86958         (CFLAGS-tst-auditmod6c.c): Likewise.
86959         (CFLAGS-tst-auditmod7b.c): Likewise.
86960         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
86962 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
86964         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
86965         function to the callback.
86966         Patch partly by Jiri Olsa <jolsa@redhat.com>.
86968 2011-02-02  Andreas Schwab  <schwab@redhat.com>
86970         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
86971         of errno.
86973 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
86975         [BZ #11724]
86976         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
86977         of constructors.
86978         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
86979         of destructors.
86980         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
86982         [BZ #11724]
86983         * elf/Makefile: Add rules to build and run new test.
86984         * elf/tst-initorder.c: New file.
86985         * elf/tst-initorder.exp: New file.
86986         * elf/tst-initordera1.c: New file.
86987         * elf/tst-initordera2.c: New file.
86988         * elf/tst-initordera3.c: New file.
86989         * elf/tst-initordera4.c: New file.
86990         * elf/tst-initorderb1.c: New file.
86991         * elf/tst-initorderb2.c: New file.
86992         * elf/tst-order-a1.c: New file.
86993         * elf/tst-order-a2.c: New file.
86994         * elf/tst-order-a3.c: New file.
86995         * elf/tst-order-a4.c: New file.
86996         * elf/tst-order-b1.c: New file.
86997         * elf/tst-order-b2.c: New file.
86998         * elf/tst-order-main.c: New file.
86999         New test case by George Gensure <werkt0@gmail.com>.
87001 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87004         decoding ACE if AI_CANONIDN.
87006 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87008         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87010 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87012         * version.h (RELEASE): Bump for 2.13 release.
87013         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87015         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87017         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87018         MADV_NOHUGEPAGE.
87019         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87020         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87021         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87022         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87023         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87024         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87026         * posix/getconf.c: Update copyright year.
87027         * catgets/gencat.c: Likewise.
87028         * csu/version.c: Likewise.
87029         * debug/catchsegv.sh: Likewise.
87030         * debug/xtrace.sh: Likewise.
87031         * elf/ldconfig.c: Likewise.
87032         * elf/ldd.bash.in: Likewise.
87033         * elf/sprof.c (print_version): Likewise.
87034         * iconv/iconv_prog.c: Likewise.
87035         * iconv/iconvconfig.c: Likewise.
87036         * locale/programs/locale.c: Likewise.
87037         * locale/programs/localedef.c: Likewise.
87038         * malloc/memusage.sh: Likewise.
87039         * malloc/mtrace.pl: Likewise.
87040         * nscd/nscd.c (print_version): Likewise.
87041         * nss/getent.c: Likewise.
87043         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87044         PF_CAIF, and PF_ALG.
87045         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87047 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87049         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87050         (modules-names): Use them.
87051         (ifunc-test-modules, ifunc-pie-tests): Define.
87052         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87053         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87054         (test-extras): Likewise.
87055         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87056         $(compile-command.c).
87057         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87058         (all-built-dso): Define.
87059         (check-textrel.out, check-execstack.out): Depend on it.
87061         * configure.in: Don't override --enable-multi-arch.
87063 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87065         [BZ #6812]
87066         * nscd/hstcache.c (tryagain): Define.
87067         (cache_addhst): Return tryagain not notfound for temporary errors.
87068         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87069         failed.
87071 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87073         [BZ #10563]
87074         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87075         to make the syscall.
87076         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87078         [BZ #12378]
87079         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87080         and fall back to matching as normal character if the string ends before
87081         the matching ']' is found.  This is what POSIX requires.
87082         * posix/testfnm.c: Adjust test result.
87083         * posix/globtest.sh: Adjust test result.  Add new test.
87084         * posix/tst-fnmatch.input: Likewise.
87085         * posix/tst-fnmatch2.c: Add new test.
87087 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87089         * elf/Makefile (check-execstack): Revert last change.  Depend on
87090         check-execstack.h.
87091         (check-execstack.h): New target.
87092         (generated): Add check-execstack.h.
87093         * elf/check-execstack.c: Include "check-execstack.h".
87094         (main): Revert last change.
87095         (handle_file): Return zero if GNU_STACK is absent and
87096         DEFAULT_STACK_PERMS doesn't include PF_X.
87098 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87100         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87101         in child fails because the descriptor is already closed.
87102         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87103         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87104         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87106         [BZ #12397]
87107         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87108         syscall.
87110         [BZ #10484]
87111         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87112         temporary buffer used to handle multi lookups locally.
87113         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87115 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87117         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87118         loader is ld.so.
87120 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87122         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87123         alignment for SSE2.
87125 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87127         [BZ #12394]
87128         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87129         characters.  When rounding increased number of integer digits recompute
87130         number of groups.
87131         * stdio-common/tst-grouping.c: New file.
87132         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87134 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87136         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87137         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87139         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87140         void.
87141         * bits/select.h: Likewise.
87143 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87145         * po/ja.po: Update from translation team.
87147 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87149         [BZ #11155]
87150         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87151         implementation just like for lxstat, fxstatat, et al.
87153 2010-12-27  Jim Meyering  <meyering@redhat.com>
87155         [BZ #12348]
87156         * posix/regexec.c (build_trtable): Return failure indication upon
87157         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87159 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87161         [BZ #12201]
87162         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87163         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87164         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87165         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87167         [BZ #12207]
87168         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87170         [BZ #12204]
87171         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87172         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87174 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87176         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87177         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87178         script has SORT_BY_INIT_PRIORITY.
87179         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87180         NO_CTORS_DTORS_SECTIONS is defined.
87181         * elf/soinit.c: Likewise.
87182         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87183         NO_CTORS_DTORS_SECTIONS is defined.
87184         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87185         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87186         * sysdeps/sh/init-first.c: Likewise.
87187         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87189 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87191         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87192         always use the slow path.
87194 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87196         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87197         similar rule which adds the sysdep directories to the header search in
87198         order to pick up the correct platform stackinfo.h.
87199         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87200         perform test if it is, otherwise return successfully without testing.
87201         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87202         DEFAULT_STACK_PERMS define in stackinfo.h.
87203         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87204         defined in stackinfo.h.
87205         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87206         DEFAULT_STACK_PERMS defined in stackinfo.h.
87207         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87208         * sysdeps/ia64/stackinfo.h: Likewise.
87209         * sysdeps/s390/stackinfo.h: Likewise.
87210         * sysdeps/sh/stackinfo.h: Likewise.
87211         * sysdeps/sparc/stackinfo.h: Likewise.
87212         * sysdeps/x86_64/stackinfo.h: Likewise.
87213         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87214         PF_X for powerpc64.  Retain PF_X for powerpc32.
87216 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87218         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87219         accurately.
87220         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87221         GETDENTS_64BIT_ALIGNED.
87223 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87225         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87227 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87229         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87230         _GNU_SOURCE.
87232         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87233         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87234         Remove __restrict.
87235         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87236         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87238 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87240         [BZ #11655]
87241         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87242         are initialized.
87244 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87246         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87248 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87250         * po/it.po: Update from translation team.
87252 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87254         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87255         unused codes.
87257 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87259         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87261 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87263         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87264         specially.
87265         (gaih_getanswer_slice): Likewise.
87267 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87271 2010-05-31  Petr Baudis  <pasky@suse.cz>
87273         [BZ #11149]
87274         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87275         silently even in the chroot mode.
87277 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87279         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87280         last patch a bit.  Pretty printing
87282 2010-05-31  Petr Baudis <pasky@suse.cz>
87284         [BZ #10085]
87285         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87286         initialization of skip_initgroups_dyn.
87288 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87290         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87291         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87293 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87295         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87297 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87299         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87300         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87301         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87302         ($(objpfx)tst-fnmatch-mem): New rule.
87303         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87304         * posix/tst-fnmatch.c (main): Call mtrace.
87306 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87309         Support Intel processor model 6 and model 0x2c.
87311 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87313         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87314           signed comparison.
87316 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87318         [BZ #12205]
87319         * string/test-strncasecmp.c (check_result): New function.
87320         (do_one_test): Use it.
87321         (check1): New function.
87322         (test_main): Use it.
87323         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87324         Support strcasecmp and strncasecmp.
87326 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87328         [BZ #12194]
87329         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87330         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87332 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87334         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87335         IFUNC support.
87336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87337         memset-x86-64.
87338         * sysdeps/x86_64/multiarch/bzero.S: New file.
87339         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87340         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87341         * sysdeps/x86_64/multiarch/memset.S: New file.
87342         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87344         Set bit_Prefer_SSE_for_memop for Intel processors.
87345         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87346         Define.
87347         (index_Prefer_SSE_for_memop): Define.
87348         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87350 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87352         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87353         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87355 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87357         [BZ #12191]
87358         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87359         (__x86_64_raw_data_cache_size_half): Likewise.
87360         (__x86_64_raw_shared_cache_size): Likewise.
87361         (__x86_64_raw_shared_cache_size_half): Likewise.
87363         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87364         (__x86_64_raw_data_cache_size_half): Likewise.
87365         (__x86_64_raw_shared_cache_size): Likewise.
87366         (__x86_64_raw_shared_cache_size_half): Likewise.
87367         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87368         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87369         and __x86_64_raw_shared_cache_size_half.  Round
87370         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87371         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87372         to multiple of 256 bytes.
87374 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87376         [BZ #12167]
87377         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87378         of inacessible symlinks.  Verify result of symlink before returning it.
87379         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87380         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87382 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87384         * math/math.h (isinf): Fix typo in comment.
87386 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87388         * po/da.po: Update from translation team.
87390 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87392         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87393         is added to the list.
87395 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87396             Ulrich Drepper  <drepper@gmail.com>
87398         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87399         the global list here.  Move code to...
87400         (_dl_add_to_namespace_list): ...here.  New function.
87401         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87402         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87403         * elf/dl-load.c (lose): Don't remove the element from the list.
87404         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87405         (_dl_map_object): Likewise.
87407 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87409         [BZ #12159]
87410         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87411         into all bytes of SSE register.
87412         Patch by Richard Li <richardpku@gmail.com>.
87414 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87416         [BZ #12140]
87417         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87418         perturbing.
87420 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87422         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87423         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87424         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87425         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87427         submachine.
87428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87430 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87432         * include/dlfcn.h (__RTLD_SECURE): Define.
87433         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87434         mode & __RTLD_SECURE instead.
87435         (open_path): Rename preloaded parameter to secure.
87436         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87437         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87438         * elf/dl-deps.c (openaux): Likewise.
87439         * elf/rtld.c (struct map_args): Remove is_preloaded.
87440         (map_doit): Don't use it.
87441         (dl_main): Likewise.
87442         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87443         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87445 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87447         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87448         (sysd-rules-targets): Remove duplicates.
87449         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87450         rtld-%.$o dependency.
87452 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87454         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87455         _dl_map_object do it.
87457 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87459         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87460         fast fma builtins, define the macros in the C99 standard.
87461         (FP_FAST_FMAF): Likewise.
87462         (FP_FAST_FMAL): Likewise.
87463         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87465         * bits/mathdef.h: Update copyright year.
87466         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87468 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87470         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87471         builtins, define the macros in the C99 standard.
87472         (FP_FAST_FMAF): Likewise.
87473         (FP_FAST_FMAL): Likewise.
87474         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87475         multiply/add.
87476         (FP_FAST_FMAF): Likewise.
87478 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87480         [BZ #3268]
87481         * math/libm-test.inc (fma_test): Some new testcases.
87482         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87483         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
87484         y and infinite z.  Do multiplication by C already in long double.
87485         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
87486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
87487         y and infinite z.  Do bitwise or of inexact bit into u.d.
87488         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
87489         * sysdeps/i386/fpu/s_fmaf.S: Removed.
87490         * sysdeps/i386/fpu/s_fma.S: Removed.
87491         * sysdeps/i386/fpu/s_fmal.S: Removed.
87493 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
87495         [BZ #3268]
87496         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
87497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
87498         computation is not scheduled after fetestexcept.  Fix value
87499         of minimum denormal long double.
87501 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
87503         [BZ #3268]
87504         * math/libm-test.inc (fma_test): Add some more tests.
87505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
87506         correctly.
87508 2010-10-15  Andreas Schwab  <schwab@redhat.com>
87510         * scripts/data/localplt-s390-linux-gnu.data: New file.
87511         * scripts/data/localplt-s390x-linux-gnu.data: New file.
87513 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
87515         [BZ #3268]
87516         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
87517         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
87518         instead of dbl-64.
87519         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
87520         inlines.
87521         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
87522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
87523         if one of x and y is very large and the other is subnormal.
87524         * sysdeps/s390/fpu/s_fmaf.c: New file.
87525         * sysdeps/s390/fpu/s_fma.c: New file.
87526         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
87527         * sysdeps/powerpc/fpu/s_fma.S: New file.
87528         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
87529         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
87530         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
87532 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
87534         [BZ #3268]
87535         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
87536         fma tests.
87537         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
87538         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
87539         * sysdeps/i386/i686/multiarch/s_fma.c: Include
87540         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
87541         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
87542         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
87543         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
87545 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
87547         [BZ #12078]
87548         * posix/regcomp.c (parse_branch): One more memory leak plugged.
87549         * posix/bug-regex31.input: Add test case.
87551 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87553         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
87554         * posix/bug-regex31.input: New file.
87556         [BZ #12078]
87557         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
87558         (parse_sub_exp): Fix last change, use postorder.
87560         * posix/bug-regex31.c: New file.
87561         * posix/Makefile: Add rules to build and run bug-regex31.
87563         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
87565         [BZ #12078]
87566         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
87568         [BZ #12108]
87569         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
87570         to have entries in sys_siglist.
87572         [BZ #12093]
87573         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
87574         be NULL.
87576 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
87578         [BZ #3268]
87579         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
87580         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
87581         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
87582         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
87583         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87584         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
87585         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
87586         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
87587         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
87588         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
87589         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
87590         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
87591         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
87592         * math/ftestexcept.c (fetestexcept): Likewise.
87593         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
87594         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
87595         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
87596         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
87597         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
87598         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
87599         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
87601 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87603         [BZ #12107]
87604         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
87605         newline.
87607 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
87609         * string/bug-strstr1.c: New file.
87610         * string/Makefile: Add rules to build and run bug-strstr1.
87612 2010-10-05  Eric Blake  <eblake@redhat.com>
87614         [BZ #12092]
87615         * string/str-two-way.h (two_way_long_needle): Always clear memory
87616         when skipping input due to the shift table.
87618 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
87620         [BZ #12005]
87621         * malloc/mcheck.c: Handle large requests.
87623         [BZ #12077]
87624         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
87625         for strncmp and strncasecmp.
87626         * string/stratcliff.c: Add tests for strcmp and strncmp.
87627         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
87629 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
87631         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
87632         __set_fpscr.
87634 2010-09-30  Andreas Jaeger  <aj@suse.de>
87636         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
87637         (CGROUP_SUPER_MAGIC): Define.
87638         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87639         Handle btrfs and cgroup file systems.
87640         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
87641         Likewise.
87643 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
87645         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
87646         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
87648 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87650         [BZ #12067]
87651         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
87652         trying to locate the ELF header.
87654 2010-09-27  Andreas Schwab  <schwab@redhat.com>
87656         [BZ #11611]
87657         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
87658         Mask out sign-bit copies when constructing f_fsid.
87660 2010-09-24  Petr Baudis <pasky@suse.cz>
87662         * debug/stack_chk_fail_local.c: Add missing licence exception.
87663         * debug/warning-nop.c: Likewise.
87665 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
87667         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
87668         implementing getdents64 using getdents syscall, set d_type if
87669         __ASSUME_GETDENTS32_D_TYPE.
87671 2010-09-16  Andreas Schwab  <schwab@redhat.com>
87673         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
87674         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
87676 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
87678         [BZ #12037]
87679         * posix/unistd.h: Undo change of feature selection for ftruncate from
87680         2010-01-11.
87682 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
87684         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
87685         detection.
87687 2010-09-20  Andreas Schwab  <schwab@redhat.com>
87689         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
87690         fanotify_mark.
87691         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87693 2010-09-14  Andreas Schwab  <schwab@redhat.com>
87695         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
87696         variables after CHECK_SP call.
87697         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
87699 2010-09-13  Andreas Schwab  <schwab@redhat.com>
87700             Ulrich Drepper  <drepper@redhat.com>
87702         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
87703         re-relocationg ld.so.
87704         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
87705         _dl_init_paths call.
87706         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
87707         here anymore.
87709 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
87711         * resolv/res_init.c (__res_vinit): Count the default server we added.
87713 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
87714             Ulrich Drepper  <drepper@redhat.com>
87716         [BZ #11968]
87717         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87718         (____longjmp_chk): Use %ebx for saving value across system call.
87719         Add unwind info.
87721 2010-09-06  Andreas Schwab  <schwab@redhat.com>
87723         * manual/Makefile: Don't mix pattern rules with normal rules.
87725 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
87727         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
87728         operation.
87729         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
87730         * libio/iofopncook.c (_IO_cookie_init): Likewise.
87731         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
87732         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
87733         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87734         Likewise.
87736 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
87738         [BZ #11979]
87739         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
87740         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
87742 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
87744         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
87745         * sysdeps/x86_64/addmul_1.S: Likewise.
87746         * sysdeps/x86_64/lshift.S: Likewise.
87747         * sysdeps/x86_64/mul_1.S: Likewise.
87748         * sysdeps/x86_64/rshift.S: Likewise.
87749         * sysdeps/x86_64/sub_n.S: Likewise.
87750         * sysdeps/x86_64/submul_1.S: Likewise.
87752 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87754         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
87755         Define __sched_param instead of SCHED_* and sched_param when
87756         <bits/sched.h> is included with __need_schedparam defined.
87757         * bits/sched.h [__need_schedparam]
87758         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
87759         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
87760         (__defined_schedparam): Define to 1.
87761         (__sched_param): New structure, identical to sched_param.
87762         (__need_schedparam): Undefine.
87764 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87766         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87767         (epoll_create1): Declare.
87769         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87771 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87773         [BZ #7066]
87774         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87775         shifting retval into place.
87777 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87779         * nis/rpcsvc/nis.h: Update copyright notice.
87780         * nis/rpcsvc/nis.x: Likewise.
87781         * nis/rpcsvc/nis_callback.h: Likewise.
87782         * nis/rpcsvc/nis_callback.x: Likewise.
87783         * nis/rpcsvc/nis_object.x: Likewise.
87784         * nis/rpcsvc/nis_tags.h: Likewise.
87785         * nis/rpcsvc/yp.h: Likewise.
87786         * nis/rpcsvc/yp.x: Likewise.
87787         * nis/rpcsvc/ypupd.h: Likewise.
87788         * nis/yp_xdr.c: Likewise.
87789         * nis/ypupdate_xdr.c: Likewise.
87791         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87792         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87793         (pmap_getport): Use __libc_rpc_getport.
87794         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87795         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87796         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87798 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87801         fanotify_mark.
87803 2010-08-27  Roland McGrath  <roland@redhat.com>
87805         * sysdeps/i386/i686/multiarch/Makefile
87806         (CFLAGS-varshift.c): New variable.
87808 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
87810         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
87811         * sysdeps/i386/i686/multiarch/varshift.c: New file.
87813         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
87815         * sysdeps/x86_64/strlen.S: Minimal code improvement.
87817 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
87819         * sysdeps/x86_64/strlen.S: Unroll the loop.
87820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87821         strlen-sse2 strlen-sse2-bsf.
87822         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
87823         __strlen_no_bsf if bit_Slow_BSF is set.
87824         (__strlen_sse42): Removed.
87825         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
87826         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
87828 2010-08-25  Roland McGrath  <roland@redhat.com>
87830         * sysdeps/x86_64/multiarch/varshift.S: File removed.
87831         * sysdeps/x86_64/multiarch/varshift.c: New file.
87832         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
87833         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
87834         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
87835         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
87837 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
87839         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87840         strlen-sse2 strlen-sse2-bsf.
87841         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
87842         __strlen_sse2_bsf if bit_Slow_BSF is unset.
87843         (__strlen_sse2): Removed.
87844         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
87845         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
87846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
87847         bit_Slow_BSF for Atom.
87848         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
87849         (index_Slow_BSF): Define.
87850         (HAS_SLOW_BSF): Define.
87852 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
87854         [BZ #10851]
87855         * resolv/res_init.c (__res_vinit): When no server address at all
87856         is given default to loopback.
87858 2010-08-24  Roland McGrath  <roland@redhat.com>
87860         * configure.in: Remove config-name.h generation.
87861         * configure: Regenerated.
87862         * config-name.in: File removed.
87863         * scripts/config-uname.sh: New file.
87864         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
87865         ($(objdir)config-name.h): New target.
87867         * sunrpc/rpc_parse.h: Avoid nested comment.
87869 2010-08-24  Richard Henderson  <rth@redhat.com>
87870             Ulrich Drepper  <drepper@redhat.com>
87871             H.J. Lu  <hongjiu.lu@intel.com>
87873         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
87874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
87875         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
87876         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
87877         _mm_alignr_epi8 with _mm_loadu_si128.
87878         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
87879         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
87880         (__m128i_shift_right): Removed.
87881         * sysdeps/i386/i686/multiarch/varshift.h: New file.
87882         * sysdeps/i386/i686/multiarch/varshift.S: New file.
87883         * sysdeps/x86_64/multiarch/varshift.h: New file.
87884         * sysdeps/x86_64/multiarch/varshift.S: New file.
87886 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
87888         * configure.in: Move assembler checks to before sysdep dir checking.
87890 2010-08-20  Petr Baudis  <pasky@suse.cz>
87892         * LICENSES: Sync the sunrpc license.
87894 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
87896         * sunrpc/auth_des.c: Update copyright notice once again.
87897         * sunrpc/auth_none.c: Likewise.
87898         * sunrpc/auth_unix.c: Likewise.
87899         * sunrpc/authdes_prot.c: Likewise.
87900         * sunrpc/authuxprot.c: Likewise.
87901         * sunrpc/bindrsvprt.c: Likewise.
87902         * sunrpc/clnt_gen.c: Likewise.
87903         * sunrpc/clnt_perr.c: Likewise.
87904         * sunrpc/clnt_raw.c: Likewise.
87905         * sunrpc/clnt_simp.c: Likewise.
87906         * sunrpc/clnt_tcp.c: Likewise.
87907         * sunrpc/clnt_udp.c: Likewise.
87908         * sunrpc/clnt_unix.c: Likewise.
87909         * sunrpc/des_crypt.c: Likewise.
87910         * sunrpc/des_soft.c: Likewise.
87911         * sunrpc/get_myaddr.c: Likewise.
87912         * sunrpc/getrpcport.c: Likewise.
87913         * sunrpc/key_call.c: Likewise.
87914         * sunrpc/key_prot.c: Likewise.
87915         * sunrpc/openchild.c: Likewise.
87916         * sunrpc/pm_getmaps.c: Likewise.
87917         * sunrpc/pm_getport.c: Likewise.
87918         * sunrpc/pmap_clnt.c: Likewise.
87919         * sunrpc/pmap_prot.c: Likewise.
87920         * sunrpc/pmap_prot2.c: Likewise.
87921         * sunrpc/pmap_rmt.c: Likewise.
87922         * sunrpc/rpc/auth.h: Likewise.
87923         * sunrpc/rpc/auth_unix.h: Likewise.
87924         * sunrpc/rpc/clnt.h: Likewise.
87925         * sunrpc/rpc/des_crypt.h: Likewise.
87926         * sunrpc/rpc/key_prot.h: Likewise.
87927         * sunrpc/rpc/netdb.h: Likewise.
87928         * sunrpc/rpc/pmap_clnt.h: Likewise.
87929         * sunrpc/rpc/pmap_prot.h: Likewise.
87930         * sunrpc/rpc/pmap_rmt.h: Likewise.
87931         * sunrpc/rpc/rpc.h: Likewise.
87932         * sunrpc/rpc/rpc_des.h: Likewise.
87933         * sunrpc/rpc/rpc_msg.h: Likewise.
87934         * sunrpc/rpc/svc.h: Likewise.
87935         * sunrpc/rpc/svc_auth.h: Likewise.
87936         * sunrpc/rpc/types.h: Likewise.
87937         * sunrpc/rpc/xdr.h: Likewise.
87938         * sunrpc/rpc_clntout.c: Likewise.
87939         * sunrpc/rpc_cmsg.c: Likewise.
87940         * sunrpc/rpc_common.c: Likewise.
87941         * sunrpc/rpc_cout.c: Likewise.
87942         * sunrpc/rpc_dtable.c: Likewise.
87943         * sunrpc/rpc_hout.c: Likewise.
87944         * sunrpc/rpc_main.c: Likewise.
87945         * sunrpc/rpc_parse.c: Likewise.
87946         * sunrpc/rpc_parse.h: Likewise.
87947         * sunrpc/rpc_prot.c: Likewise.
87948         * sunrpc/rpc_sample.c: Likewise.
87949         * sunrpc/rpc_scan.c: Likewise.
87950         * sunrpc/rpc_scan.h: Likewise.
87951         * sunrpc/rpc_svcout.c: Likewise.
87952         * sunrpc/rpc_tblout.c: Likewise.
87953         * sunrpc/rpc_util.c: Likewise.
87954         * sunrpc/rpc_util.h: Likewise.
87955         * sunrpc/rpcinfo.c: Likewise.
87956         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
87957         * sunrpc/rpcsvc/key_prot.x: Likewise.
87958         * sunrpc/rpcsvc/klm_prot.x: Likewise.
87959         * sunrpc/rpcsvc/mount.x: Likewise.
87960         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
87961         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
87962         * sunrpc/rpcsvc/rex.x: Likewise.
87963         * sunrpc/rpcsvc/rstat.x: Likewise.
87964         * sunrpc/rpcsvc/rusers.x: Likewise.
87965         * sunrpc/rpcsvc/sm_inter.x: Likewise.
87966         * sunrpc/rpcsvc/spray.x: Likewise.
87967         * sunrpc/rpcsvc/yppasswd.x: Likewise.
87968         * sunrpc/rtime.c: Likewise.
87969         * sunrpc/svc.c: Likewise.
87970         * sunrpc/svc_auth.c: Likewise.
87971         * sunrpc/svc_authux.c: Likewise.
87972         * sunrpc/svc_raw.c: Likewise.
87973         * sunrpc/svc_run.c: Likewise.
87974         * sunrpc/svc_simple.c: Likewise.
87975         * sunrpc/svc_tcp.c: Likewise.
87976         * sunrpc/svc_udp.c: Likewise.
87977         * sunrpc/svc_unix.c: Likewise.
87978         * sunrpc/svcauth_des.c: Likewise.
87979         * sunrpc/xcrypt.c: Likewise.
87980         * sunrpc/xdr.c: Likewise.
87981         * sunrpc/xdr_array.c: Likewise.
87982         * sunrpc/xdr_float.c: Likewise.
87983         * sunrpc/xdr_mem.c: Likewise.
87984         * sunrpc/xdr_rec.c: Likewise.
87985         * sunrpc/xdr_ref.c: Likewise.
87986         * sunrpc/xdr_sizeof.c: Likewise.
87987         * sunrpc/xdr_stdio.c: Likewise.
87989         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
87990         handling.
87992 2010-08-19  Andreas Schwab  <schwab@redhat.com>
87994         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
87996 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
87998         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
87999         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88000         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88001         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88002         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88003         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88004         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88005         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88006         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88007         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88008         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88009         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88010         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88011         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88013 2010-07-26  Anton Blanchard  <anton@samba.org>
88015         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88016         * malloc/arena.c (heap_trim): Likewise.
88018 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88020         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88021         here.  Not...
88022         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88023         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88025 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88027         * sysdeps/i386/elf/Makefile: New file.
88029 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88031         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88032         from fanotify_init.
88033         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88036 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88038         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88039         of strncasecmp_l.
88040         * sysdeps/multiarch/strcmp.S: Likewise.
88042 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88044         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88045         strncase_l-nonascii.
88046         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88047         Add strncase_l-ssse3.
88048         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88049         * sysdeps/x86_64/strcmp.S: Likewise.
88050         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88051         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88052         * sysdeps/x86_64/strncase.S: New file.
88053         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88054         * sysdeps/x86_64/strncase_l.S: New file.
88055         * string/Makefile (strop-tests): Add strncasecmp.
88056         * string/test-strncasecmp.c: New file.
88058         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88059         warning.
88061         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88062         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88064 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88066         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88068 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88070         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88071         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88072         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88074 2010-05-01  Alan Modra  <amodra@gmail.com>
88076         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88077         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88078         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88079         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88080         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88081         tidying.  Don't tail-call __sigjmp_save for static lib.
88082         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88083         save location.
88084         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88085         (CALL_MCOUNT): Add eh info, and nop after bl.
88086         (TAIL_CALL_SYSCALL_ERROR): New macro.
88087         (PSEUDO_RET): Use it.
88088         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88089         Correct save location of integer regs and cr.
88090         (_dl_profile_resolve): Correct cr save location.  Delete nops
88091         after bl when SHARED.  Reduce cfi size a little by better
88092         placement of cfi directives.
88093         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88094         make a stack frame.  Instead use parm save area as a temp.
88095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88096         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88098         Don't make a stack frame for parent, use parm save area.
88099         Increase child stack frame to 112 bytes.  Don't save unused reg,
88100         and adjust reg usage.  Set up cfi on error recovery and
88101         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88103         (__makecontext): Add dummy nop after jump to exit.
88104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88105         Use correct parm save area and cr save, reduce stack frame.
88106         Correct cfi for possible PSEUDO_RET frame setup.
88107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88108         Branch to local label emitted by PSEUDO_RET rather than
88109         __syscall_error.
88111 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88113         [BZ #11904]
88114         * locale/programs/locale.c (print_assignment): New function.
88115         (show_locale_vars): Use it.
88117 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88119         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88120         field.
88121         (struct statfs64): Likewise.
88122         (_STATFS_F_FLAGS): Define.
88123         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88124         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88125         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88126         (ST_VALID): Define locally.
88127         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88128         __statvfs_getflags, use the provided value.
88129         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88130         __ASSUME_STATFS_F_FLAGS.
88132         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88134         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88135         Add sys/fanotify.h.
88136         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88137         fanotify_mask for GLIBC_2.13.
88138         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88139         fanotify_init and fanotify_mark.
88140         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88141         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88143         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88144         Add prlimit.
88145         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88146         prlimit64 for GLIBC_2.13.
88147         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88148         prlimit64.
88149         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88150         syscall.
88151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88152         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88153         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88154         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88155         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88156         add prlimit alias.
88157         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88159         [BZ #11903]
88160         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88161         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88163         * nss/Makefile: Add rules to build and run tst-nss-test1.
88164         * shlib-versions: Add entry for libnss_test1.
88165         * nss/nss_test1.c: New file.
88166         * nss/tst-nss-test1.c: New file.
88168         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88169         (__nss_configure_lookup): Set appropriate entry in
88170         __nss_configure_lookup to true.
88171         * nss/nsswitch.h: Define enum with indeces of databases in
88172         databases and __nss_database_custom arrays.  Declare
88173         __nss_database_custom.
88174         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88175         to avoid using nscd when custom rules are installed.
88176         * nss/getXXbyYY_r.c: Likewise.
88177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88179         * nss/nss_files/files-parse.c: Whitespace fixes.
88181 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88183         [BZ #11883]
88184         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88185         * posix/fnmatch_loop.c: Likewise.
88187 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88189         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88190         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88191         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88192         * Versions.def [GLIBC_2.13]: Add.
88194 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88196         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88197         Also fail if tpwd after pwuid call is NULL.
88199 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88201         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88202         when converting to ms.
88204 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88206         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88207         EOPNOTSUPP errors with ENOTTY.
88208         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88209         EOPNOTSUPP errors with ENOTTY.
88211 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88213         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88214         Add strcasecmp_l-ssse3.
88215         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88216         strcasecmp.
88217         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88218         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88219         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88221 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88223         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88225         * string/Makefile (strop-tests): Add strcasecmp.
88226         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88227         strcasecmp_l-nonascii.
88228         (gen-as-const-headers): Add locale-defines.sym.
88229         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88230         * sysdeps/x86_64/strcasecmp.S: New file.
88231         * sysdeps/x86_64/strcasecmp_l.S: New file.
88232         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88233         * sysdeps/x86_64/locale-defines.sym: New file.
88234         * string/test-strcasecmp.c: New file.
88236         * string/test-strcasestr.c: Test both ends of the range of characters.
88237         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88239 2010-07-29  Roland McGrath  <roland@redhat.com>
88241         [BZ #11856]
88242         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88244 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88246         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88247         for ld.so.
88249 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88251         * manual/memory.texi (Malloc Tunable Parameters): Document
88252         M_PERTURB.
88254 2010-07-26  Roland McGrath  <roland@redhat.com>
88256         [BZ #11840]
88257         * configure.in (-fgnu89-inline check): Set and substitute
88258         gnu89_inline, not libc_cv_gnu89_inline.
88259         * configure: Regenerated.
88260         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88262 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88264         * string/test-strnlen.c: New file.
88265         * string/Makefile (strop-tests): Add strnlen.
88266         * string/tester.c (test_strnlen): Add a few more test cases.
88267         * string/tst-strlen.c: Better error reporting.
88269         * sysdeps/x86_64/strnlen.S: New file.
88271 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88273         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88274         lower-latency instructions.
88276 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88278         * string/test-strcasestr.c: New file.
88279         * string/test-strstr.c: New file.
88280         * string/Makefile (strop-tests): Add strstr and strcasestr.
88281         * string/str-two-way.h: Don't undefine MAX.
88282         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88284 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88286         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88287         strcasestr-nonascii.
88288         (CFLAGS-strcasestr-nonascii.c): Define.
88289         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88290         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88291         Remove unused attribute.
88293 2010-07-20  Roland McGrath  <roland@redhat.com>
88295         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88296         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88297         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88298         like LD_HWCAP_MASK can disable hwcaps.
88300 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88302         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88304 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88306         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88307         call in strcasestr.
88308         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88309         __strcasestr_sse42_nonascii.
88310         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88311         strcasestr-nonascii.c.
88312         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88314 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88316         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88317         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88318         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88319         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88321 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88323         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88324         fcntl.
88326 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88328         [BZ #11577]
88329         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88330         dl_signal_cerror.
88332 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88334         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88335         _PC_PIPE_BUF using F_GETPIPE_SZ.
88337 2010-07-05  Roland McGrath  <roland@redhat.com>
88339         * manual/arith.texi (Rounding Functions): Fix rint description
88340         implicit in round description.
88342 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88344         * elf/Makefile: Fix linking for a few tests to make recent linker
88345         happy.
88347 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88349         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88350         $(common-objpfx)libc_nonshared.a.
88352 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88354         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88355         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88356         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88357         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88358         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88359         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88360         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88361         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88376         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88377         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88378         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88379         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88380         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88381         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88382         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88383         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88384         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88385         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88386         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88387         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88403 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88405         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88406         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88407         * string/memmove.c (memmove): Renamed to ...
88408         (MEMMOVE): ...this.  Default to memmove.
88409         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88410         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88411         (END_CHK): Define.
88412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88413         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88414         mempcpy-ssse3-back memmove-ssse3-back.
88415         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88416         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88417         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88418         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88419         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88420         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88421         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88422         * sysdeps/x86_64/multiarch/memmove.c: New file.
88423         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88424         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88425         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88426         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88427         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88428         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88429         Define.
88430         (index_Fast_Copy_Backward): Define.
88431         (HAS_ARCH_FEATURE): Define.
88432         (HAS_FAST_REP_STRING): Define.
88433         (HAS_FAST_COPY_BACKWARD): Define.
88435 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88437         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88438         Restore proper fallback handling.
88440 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88442         [BZ #11701]
88443         * posix/group_member.c (__group_member): Correct checking loop.
88445         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88446         OOM in getpwuid_r correctly.  Return error number when the caller
88447         should return, otherwise -1.
88448         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88449         call returning > 0 value.
88450         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88452 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88454         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88455         libc_nonshared.a from targets in modules-names.
88457 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88459         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88460         requires it.
88462 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88464         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88465         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88466         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88467         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88469 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88471         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88473 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88475         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88476         and F_GETPIPE_SZ.
88477         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88478         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88479         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88480         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88481         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88482         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88484 2010-06-14  Roland McGrath  <roland@redhat.com>
88486         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
88488 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
88490         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
88491         __REDIRECT followed by __THROW.
88492         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
88493         * posix/getopt.h (getopt): Likewise.
88495 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88497         * hurd/lookup-at.c (__file_name_lookup_at): Accept
88498         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
88499         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
88500         in AT_FLAGS.
88501         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
88502         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
88504 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
88506         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
88508 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
88510         [BZ #11640]
88511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88512         Properly check family and model.
88514 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
88516         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
88518 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
88520         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
88522 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
88524         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
88525         symbol reference.
88527 2010-05-19  Andreas Schwab  <schwab@redhat.com>
88529         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
88530         symbol reference.
88532 2010-05-21  Andreas Schwab  <schwab@redhat.com>
88534         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
88535         and internal_recvmmsg.
88536         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
88537         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
88538         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
88539         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
88541         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
88542         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
88543         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
88545 2010-05-20  Andreas Schwab  <schwab@redhat.com>
88547         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
88549 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
88551         POWER7 optimizations.
88552         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
88553         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
88555 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
88557         * version.h: Update for 2.13 development version.
88559 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
88561         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
88562         exceptions.  Return 0.
88564 2010-05-07  Roland McGrath  <roland@redhat.com>
88566         * elf/ldconfig.c (main): Add a const.
88568 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
88570         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
88571         (args_options): Add no-idn option.
88572         (ahosts_keys_int): Add idn_flags to ai_flags.
88573         (parse_option): Handle 'i' option to clear idn_flags.
88575         * malloc/malloc.c (_int_free): Possible race in the most recently
88576         added check.  Only act on the data if no current modification
88577         happened.
88579 See ChangeLog.17 for earlier changes.