Fix tile SA_* conditions for POSIX.1:2008 (bug 21622).
[glibc.git] / ChangeLog
blobd2dd7d468df69bd003a6fc1299d7c8144f3ad172
1 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21622]
4         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
5         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
6         __USE_MISC].
7         (SA_NODEFER): Likewise.
8         (SA_RESETHAND): Likewise.
10 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
12         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
13         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
14         Remove security_level on all fields.
15         * manual/tunables.texi: Replace ifunc with hwcaps.
16         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
17         Renamed to ..
18         (TUNABLE_CALLBACK (set_hwcaps)): This.
19         (init_cpu_features): Updated.
20         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
21         data_cache_size, data_cache_size and non_temporal_threshold to
22         unsigned long int.
23         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
24         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
25         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
26         use DEFAULT_STRLEN.
28 2017-06-21  Florian Weimer  <fweimer@redhat.com>
30         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
31         asprintf to construct an absolute pathname.
33 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35         * misc/tst-preadvwritev2-common.c: New file.
36         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
37         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
39 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
41         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
42         annotation.
43         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
45 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
47         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
48         hidden __GI__dl_argv symbol.
50 2017-06-21  Florian Weimer  <fweimer@redhat.com>
52         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
53         to parse addresses with IPv6 scope IDs.
55 2017-06-21  Florian Weimer  <fweimer@redhat.com>
57         Add the __inet_pton_length helper function.
58         * resolv/resolv-internal.h (__inet_pton_length): Declare.
59         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
60         Add length argument.
61         (__inet_pton): New function.
62         (inet_pton4): Add length argument.
63         (hex_digit_value): New function.
64         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
65         memmove and memset to fill :: gap.
66         * resolv/Makefile (tests, tsts-static, tests-internal): Add
67         tst-inet_pton.
68         * resolv/tst-inet_pton.c: New file.
69         * support/Makefile (libsupport-routines): Add xmprotect.
70         * support/xunistd.h (xmprotect): Declare.
71         * support/xmprotect.c: New file.
73 2017-06-21  Florian Weimer  <fweimer@redhat.com>
75         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
76         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
77         (call_gai, check_ai): New functions.
78         (expect_failure, expect_success): Use them.  Add logging.
80 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
82         * sysdeps/powerpc/powerpc64/multiarch/Makefile
83         (sysdep_routines): Add memchr_power8.
84         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
85         (memchr): Add __memchr_power8 to list of memchr functions.
86         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
87         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
88         (memchr): Add __memchr_power8 to ifunc list.
89         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
91 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
93         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
94         (__llrintf): Define as strong alias of __llrint.
95         (llrintf):  Define as weak alias of __llrint.
96         (__lrintf): Define as strong alias of __llrint.
97         (lrintf):  Define as weak alias of __llrint.
98         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
99         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
100         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
103 2017-06-20  Zack Weinberg  <zackw@panix.com>
105         * bits/signum-generic.h: Renamed from bits/signum.h.
106         Add proper multiple include guard and misuse check.
107         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
108         Move definition of SIGIO to "archaic names for compatibility" section.
109         * bits/signum.h: New file which just includes bits/signum-generic.h.
110         * sysdeps/unix/bsd/bits/signum.h
111         * sysdeps/unix/sysv/linux/bits/signum.h
112         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
113         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
114         * sysdeps/unix/sysv/linux/mips/bits/signum.h
115         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
116         Just include <bits/signum-generic.h> and then add or adjust
117         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
119         * signal/Makefile: Install bits/signum-generic.h.
120         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
122         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
123         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
125         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
126         * sysdeps/unix/sysv/linux/Makefile: Run it.
128 2017-06-20  Zack Weinberg  <zackw@panix.com>
130         * locale/xlocale.h: Rename to...
131         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
132         Only define struct __locale_struct and __locale_t, not locale_t.
133         * locale/bits/types/locale_t.h: New file; define locale_t here.
134         * locale/Makefile (headers): Update to match.
136         * include/xlocale.h: Delete wrapper.
137         * include/bits/types/__locale_t.h: New wrapper.
138         * include/bits/types/locale_t.h: New wrapper.
140         * ctype/ctype.h, include/printf.h, include/time.h
141         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
142         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
143         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
144         Correct outdated comments regarding the standardization status of
145         the functions that take locale_t arguments.
147         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
148         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
149         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
150         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
151         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
152         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
153         Don't include xlocale.h. If necessary, include locale.h instead.
155         * stdlib/strtold_l.c: Unconditionally include wchar.h.
157         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
158         * include/monetary.h, include/stdlib.h, include/time.h
159         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
160         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
161         * locale/localeinfo.h, locale/newlocale.c
162         * locale/nl_langinfo_l.c, locale/uselocale.c
163         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
164         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
165         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
166         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
167         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
168         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
169         * string/strings.h, string/strncase.c, string/strxfrm_l.c
170         * sysdeps/ieee754/float128/strtof128_l.c
171         * sysdeps/ieee754/float128/wcstof128.c
172         * sysdeps/ieee754/float128/wcstof128_l.c
173         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
174         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
175         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
176         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
177         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
178         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
179         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
180         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
181         * sysdeps/x86_64/strcasecmp_l-nonascii.c
182         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
183         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
184         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
185         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
186         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
187         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
188         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
189         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
190         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
191         Change all uses of __locale_t to locale_t.
193 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
195         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
196         for !__OFF_T_MATCHES_OFF64_T.
197         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
198         implementation based on open64.
199         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
200         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
202 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
204         * elf/dl-tunables.list: Move x86 specific tunables to ...
205         * sysdeps/x86/dl-tunables.list: Here.  New file.
207 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
209         [BZ #21635]
210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
211         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
212         * conform/data/signal.h-data (uc_mcontext): XFAIL for
213         powerpc32-linux.
214         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
216         [BZ #21634]
217         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
218         (conformtest-xfail-conds): New variable.
219         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
220         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
222 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
224         * benchtests/powf-inputs: Add reduced trace from wrf.
226 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
227             Erich Elsen  <eriche@google.com>
229         * elf/dl-tunables.list (tune): Add ifunc,
230         x86_non_temporal_threshold,
231         x86_data_cache_size and x86_shared_cache_size.
232         * manual/tunables.texi: Document glibc.tune.ifunc,
233         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
234         and glibc.tune.x86_non_temporal_threshold.
235         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
236         * sysdeps/x86/cpu-tunables.c: Likewise.
237         * sysdeps/x86/cacheinfo.c
238         (init_cacheinfo): Check and get data cache size, shared cache
239         size and non temporal threshold from cpu_features.
240         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
241         New.
242         [HAVE_TUNABLES] Include <unistd.h>.
243         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
244         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
245         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
246         IFUNC selection, data cache size, shared cache size and non
247         temporal threshold.
248         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
249         shared_cache_size and non_temporal_threshold.
251 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
253         * benchtests/README: Describe workload feature.
254         * benchtests/bench-skeleton.c (main): Add support for
255         benchmarking traces from workloads.
257 2017-06-20  Zack Weinberg  <zackw@panix.com>
259         * string/string.h (__mempcpy_inline): Delete.
260         * sysdeps/x86_64/multiarch/mempcpy.c
261         * sysdeps/x86_64/multiarch/stpcpy.c:
262         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
263         before including string.h.
265 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
267         * benchtests/Makefile (bench-math): Add powf.
268         * benchtests/powf-inputs: New file.
270 2017-06-20  Zack Weinberg  <zackw@panix.com>
272         * bits/string.h, string/bits/string.h
273         * sysdeps/aarch64/bits/string.h
274         * sysdeps/m68k/m680x0/m68020/bits/string.h
275         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
276         * sysdeps/x86/bits/string.h: Delete file.
278         * string/string.h: Don't include bits/string.h.
279         * string/bits/string3.h: Rename to bits/string_fortified.h.
280         No need to undef various symbols that the removed headers
281         might have defined as macros.
282         * string/Makefile (headers): Remove bits/string.h, change
283         bits/string3.h to bits/string_fortified.h.
284         * string/string-inlines.c: Update commentary.  Remove definitions
285         of various macros that nothing looks at anymore.  Don't directly
286         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
287         compiler-predefined macros.
288         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
289         _is_ defined, provide internal hidden alias __strncat.
290         * include/string.h: Declare internal hidden alias __strncat.
291         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
292         not defined.
293         * include/bits/string3.h: Rename to bits/string_fortified.h,
294         update to match above.
296         * sysdeps/i386/string-inlines.c: Define compat symbols for
297         everything formerly defined by sysdeps/x86/bits/string.h.
298         Make existing definitions into compat symbols as well.
299         Remove some no-longer-necessary messing around with macros.
301         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
302         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
303         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
304         * sysdeps/s390/multiarch/mempcpy.c
305         No need to define _HAVE_STRING_ARCH_mempcpy.
306         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
308         * sysdeps/i386/i686/multiarch/strncat-c.c
309         * sysdeps/s390/multiarch/strncat-c.c
310         * sysdeps/x86_64/multiarch/strncat-c.c
311         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
313 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
315         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
316         (LDBL_DIG): Likewise.
317         (LDBL_MIN_EXP): Likewise.
318         (LDBL_MIN_10_EXP): Likewise.
319         (LDBL_MAX_EXP): Likewise.
320         (LDBL_MAX_10_EXP): Likewise.
321         (LDBL_MAX): Likewise.
322         (LDBL_MIN): Likewise.
323         (LDBL_EPSILON): Likewise.
324         (FLT_ROUNDS): Change standard from ISO to C90.
325         (FLT_RADIX): Likewise.
326         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
327         (FLT_DIG, DBL_DIG): Likewise.
328         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
329         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
330         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
331         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
332         (FLT_MAX, DBL_MAX): Likewise.
333         (FLT_MIN, DBL_MIN): Likewise.
334         (FLT_EPSILON, DBL_EPSILON): Likewise.
336 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
338         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
339         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
340         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
341         * sysdeps/mips/math-tests.h
342         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
343         conditional code.
345 2017-06-19  Florian Weimer  <fweimer@redhat.com>
347         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
348         It cannot change while __libc_setlocale_lock is acquired.
350 2017-06-19  Florian Weimer  <fweimer@redhat.com>
352         * elf/rtld.c (audit_list_string): New variable.
353         (audit_list): Update comment.
354         (struct audit_list_iter): Define.
355         (audit_list_iter_init, audit_list_iter_next): New function.
356         (dl_main): Use struct audit_list_iter to process audit modules.
357         (process_dl_audit): Call dso_name_valid_for_suid.
358         (process_envvars): Set audit_list_string instead of calling
359         process_dl_audit.
361 2017-06-19  Florian Weimer  <fweimer@redhat.com>
363         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
364         (dso_name_valid_for_suid): New function.
365         (handle_ld_preload): Likewise.
366         (dl_main): Call it.  Remove alloca.
368 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
370         [BZ #21625]
371         * posix/sys/wait.h (strust rusage forward declaration): Change
372         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
373         !__USE_XOPEN2K].
374         (wait3): Likewise.
376         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
377         * configure: Regenerated.
378         * manual/install.texi (Tools for Compilation): Document
379         requirement for GCC 4.9 or later.
380         * INSTALL: Regenerated.
382 2017-06-19  Florian Weimer  <fweimer@redhat.com>
384         [BZ #21624]
385         CVE-2017-1000366
386         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
387         __libc_enable_secure.
389 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
391         [BZ #21539]
392         * NEWS: Mention s390 ptrace request changes.
393         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
394         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
395         PTRACE_SETFPREGS): Remove enum constant.
396         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
397         Remove defines.
398         (PTRACE_SINGLEBLOCK): New enum constant.
399         (PT_STEPBLOCK): New define.
400         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
401         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
402         PTRACE_TE_ABORT_RAND): New enum constant and define.
403         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
404         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
405         New file.
406         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
408 2017-06-16  Florian Weimer  <fweimer@redhat.com>
410         * resolv/res_init.c (res_vinit_1): Use getline to read from the
411         configuration file.
412         (__res_vinit): Adjust.
414 2017-06-19  Florian Weimer  <fweimer@redhat.com>
416         * resolv/res_init.c (res_vinit_1): New function.
417         (__res_vinit): Call it.  Handle file open and memory allocation
418         failures.
419         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
420         erno from __res_maybe_init failure.
421         (_nss_dns_gethostbyname4_r): Likewise.
422         (_nss_dns_gethostbyaddr2_r): Likewise.
423         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
424         (_nss_dns_getnetbyaddr_r): Likewise.
426 2017-06-19  Florian Weimer  <fweimer@redhat.com>
428         * resolv/res_init.c: Reformat to GNU style.
430 2017-06-19  Florian Weimer  <fweimer@redhat.com>
432         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
433         (is_sort_mask): New function.
434         (__res_vinit): Use it.
436 2017-06-19  Florian Weimer  <fweimer@redhat.com>
438         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
439         conditionals.
441 2017-06-19  Florian Weimer  <fweimer@redhat.com>
443         * resolv/res-close.c: New file.
444         * resolv/res_init.c (__res_iclose, res_nclose)
445         (res_thread_freeres): Remove definitions.
446         * resolv/Makefile (routines): Add res-close.
448 2017-06-19  Florian Weimer  <fweimer@redhat.com>
450         * resolv/res_randomid.c: New file.
451         * resolv/res_init.c (res_randomid): Remove definition.
452         * resolv/Makefile (routines): Add res_randomid.
454 2017-06-19  Florian Weimer  <fweimer@redhat.com>
456         * include/resolv.h (__res_vinit): Declare as hidden.
457         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
458         * resolv/res_libc.c (res_init): Likewise.
460 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
462         [BZ #21457]
463         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
464         _libc_xmmreg): Use __ctx in defining field.
466         [BZ #21597]
467         * signal/signal.h (siginterrupt): Make declaration conditional on
468         [__USE_XOPEN_EXTENDED || __USE_MISC].
470         [BZ #21584]
471         * signal/signal.h: Make includes of <bits/sigstack.h> and
472         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
473         __USE_MISC].
474         (sigaltstack): Make declaration conditional on
475         [__USE_XOPEN_EXTENDED || __USE_MISC].
477         [BZ #21575]
478         * resource/bits/types/struct_rusage.h: New file.
479         * include/bits/types/struct_rusage.h: Likewise.
480         * bits/resource.h (struct rusage): Include
481         <bits/types/struct_rusage.h> instead of defining here.
482         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
483         Likewise.
484         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
485         Likewise.
486         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
487         Likewise.
488         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
489         Likewise.
490         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
491         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
492         Include <bits/types/struct_rusage.h>
494 2017-06-19  Florian Weimer  <fweimer@redhat.com>
496         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
498 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
500         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
502 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
504         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
506 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
508         [BZ #21537]
509         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
510         Check SHARED instead of PIC.
511         (SYSCALL_PIC_SETUP): Add missing semicolons.
512         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
513         Check SHARED instead of PIC.
514         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
515         (__makecontext_ret): Adjust code to jump to exit.
517 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
519         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
520         Simplify code by always using SVC 0 instead of EX.
521         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
523 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
525         * elf/Versions (ld): Remove _dl_out_of_memory.
527 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
529         * timezone/private.h: Update from tzcode 2017b.
530         * timezone/tzfile.h: Likewise.
531         * timezone/tzselect.ksh: Likewise.
532         * timezone/zdump.c: Likewise.
533         * timezone/zic.c: Likewise.
534         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
535         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
536         * time/tzset.c (SECSPERDAY): New macro.
538 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
540         * manual/string.texi (strdup): Complete header and standards
541         annotation.
542         (strncpy): Likewise.
544 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
546         * manual/arith.texi (FP_NAN): Add or complete header and standard
547         annotations.
548         (FP_INFINITE): Likewise.
549         (FP_ZERO): Likewise.
550         (FP_SUBNORMAL): Likewise.
551         (FP_NORMAL): Likewise.
552         (SNAN): Likewise.
553         (SNANL): Likewise.
554         (totalorderf): Likewise.
555         (totalorderl): Likewise.
556         (totalordermagf): Likewise.
557         (totalordermagl): Likewise.
558         (_Complex_I): Likewise.
559         (I): Likewise.
561 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
563         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
564         standard annotation.
565         (ARGP_HELP_SHORT_USAGE): Likewise.
566         (ARGP_HELP_SEE): Likewise.
567         (ARGP_HELP_LONG): Likewise.
568         (ARGP_HELP_PRE_DOC): Likewise.
569         (ARGP_HELP_POST_DOC): Likewise.
570         (ARGP_HELP_DOC): Likewise.
571         (ARGP_HELP_BUG_ADDR): Likewise.
572         (ARGP_HELP_LONG_ONLY): Likewise.
573         (ARGP_HELP_EXIT_ERR): Likewise.
574         (ARGP_HELP_EXIT_OK): Likewise.
575         (ARGP_HELP_STD_ERR): Likewise.
576         (ARGP_HELP_STD_USAGE): Likewise.
577         (ARGP_HELP_STD_HELP): Likewise.
579 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
581         * manual/Makefile: Generate summary.texi with summary.pl.  Force
582         use of the C locale.  Update Perl dependency comment.
583         * manual/header.texi: Update reference to summary.awk.
584         * manual/macros.texi: Refer authors to `summary.pl --help'.
585         * manual/summary.awk: Remove file.
586         * manual/summary.pl: New file.  Generate summary.texi, and check
587         for @standards-related syntax errors.
588         * manual/argp.texi: Convert header and standards @comments to
589         @standards.
590         * manual/arith.texi: Likewise.
591         * manual/charset.texi: Likewise.
592         * manual/conf.texi: Likewise.
593         * manual/creature.texi: Likewise.
594         * manual/crypt.texi: Likewise.
595         * manual/ctype.texi: Likewise.
596         * manual/debug.texi: Likewise.
597         * manual/errno.texi: Likewise.
598         * manual/filesys.texi: Likewise.
599         * manual/getopt.texi: Likewise.
600         * manual/job.texi: Likewise.
601         * manual/lang.texi: Likewise.
602         * manual/llio.texi: Likewise.
603         * manual/locale.texi: Likewise.
604         * manual/math.texi: Likewise.
605         * manual/memory.texi: Likewise.
606         * manual/message.texi: Likewise.
607         * manual/pattern.texi: Likewise.
608         * manual/pipe.texi: Likewise.
609         * manual/process.texi: Likewise.
610         * manual/resource.texi: Likewise.
611         * manual/search.texi: Likewise.
612         * manual/setjmp.texi: Likewise.
613         * manual/signal.texi: Likewise.
614         * manual/socket.texi: Likewise.
615         * manual/startup.texi: Likewise.
616         * manual/stdio.texi: Likewise.
617         * manual/string.texi: Likewise.
618         * manual/sysinfo.texi: Likewise.
619         * manual/syslog.texi: Likewise.
620         * manual/terminal.texi: Likewise.
621         * manual/threads.texi: Likewise.
622         * manual/time.texi: Likewise.
623         * manual/users.texi: Likewise.
625 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
627         * manual/macros.texi (@standards): New macro.  Provide placeholder
628         for header and standards annotations.
629         (@standardsx): New macro.  Likewise, for lists of @*x elements.
631 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
633         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
634         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
635         rule.
636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
637         sync_file_range.
639          * support/support_test_main.c (support_test_main):  Use optstring
640          member for option string in getopt_long.
641          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
642          (CMDLINE_OPTSTRING): New define.
643          * support/test-driver.h (test_config): Add optstring member.
645 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
648         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
649         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
650         Check USE_AS_STRPBRK instead of STRPBRK_P.
651         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
652         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
653         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
654         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
655         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
656         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
657         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
658         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
659         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
660         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
661         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
662         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
663         and "#endif".
665 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
667         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
668         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
670 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
673         strcat-sse2.
674         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
675         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
676         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
677         * sysdeps/x86_64/multiarch/strcat.S: Removed.
678         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
680 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
681             Erich Elsen  <eriche@google.com>
683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
684         memcmp-sse2.
685         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
686         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
687         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
688         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
689         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
690         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
692 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
693             Erich Elsen  <eriche@google.com>
695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
696         memset-sse2-unaligned-erms, and memset_chk-nonshared.
697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
698         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
699         Update comments.
700         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
701         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
702         * sysdeps/x86_64/multiarch/memset.c: Likewise.
703         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
704         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
705         * sysdeps/x86_64/multiarch/memset.S: Removed.
706         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
707         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
708         (__memset_chk_erms): New function.
710 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
712         * configure.ac(--enable-tunables): Enable by default.
713         * configure: Regenerate.
714         * NEWS: Mention change.
715         * manual/install.texi (enable-tunables): Adjust documentation.
716         * INSTALL: Regenerate.
718 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
720         [BZ #18988]
721         * benchtests/thread_create-inputs: New file.
722         * benchtests/thread_create-source.c: Likewise.
723         * support/xpthread_attr_setguardsize.c: Likewise.
724         * support/Makefile (libsupport-routines): Add
725         xpthread_attr_setguardsize object.
726         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
727         * benchtests/Makefile (bench-pthread): Add thread_create.
728         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
729         then mprotect the required area.
730         (guard_position): New function.
731         (setup_stack_prot): Likewise.
733 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
734             Erich Elsen  <eriche@google.com>
735             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
738         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
739         mempcpy_chk-nonshared and memmove_chk-nonshared.
740         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
741         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
742         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
743         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
744         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
745         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
746         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
747         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
748         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
749         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
750         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
751         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
752         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
753         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
754         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
755         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
756         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
757         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
758         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
759         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
760         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
761         (__mempcpy_chk_erms): New function.
762         (__memmove_chk_erms): Likewise.
763         (__memcpy_chk_erms): New alias.
765 2017-06-14  Florian Weimer  <fweimer@redhat.com>
767         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
768         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
770 2017-06-14  Zack Weinberg  <zackw@panix.com>
772         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
773         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
774         defined, don't declare anything other than the E-constants.
776         * include/errno.h: Change conditional for exposing internal
777         declarations to (not _ISOMAC and not __ASSEMBLER__).
778         * bits/errno.h: Remove logic for __need_Emath.  Document
779         requirements for a port-specific bits/errno.h.
781         * sysdeps/unix/sysv/linux/bits/errno.h
782         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
783         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
784         * sysdeps/unix/sysv/linux/mips/bits/errno.h
785         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
786         Add multiple-include guard and check against improper inclusion.
787         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
788         constants are defined as simple integer literals.  Consistent
789         formatting.
790         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
791         enum __error_t_codes if __ASSEMBLER__ is not defined.
792         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
794         * argp/argp.h, string/argz.h: Don't define __need_error_t before
795         including errno.h.
796         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
797         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
798         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
799         * sysdeps/x86_64/fpu/s_cosf.S
800         * sysdeps/x86_64/fpu/s_sincosf.S
801         * sysdeps/x86_64/fpu/s_sinf.S:
802         Just include errno.h; don't define __need_Emath or include
803         bits/errno.h directly.
805 2017-06-14  Zack Weinberg  <zackw@panix.com>
807         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
808         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
809         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
811         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
812         for IOV_MAX.
813         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
814         Don't install bits/uio.h.
815         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
816         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
817         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
819         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
820         and __need_IOV_MAX.  Don't define IOV_MAX at all.
821         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
823         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
824         Include bits/types/struct_iovec.h, not bits/uio.h.
825         Use __ssize_t, not ssize_t, in function prototypes.
826         Don't use hard TAB for double space after period in comments.
828 2017-06-14  Alan Modra  <amodra@gmail.com>
830         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
831         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
832         refsym and sym parameters.  Adjust callers.
833         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
834         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
835         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
836         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
837         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
838         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
839         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
840         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
841         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
842         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
843         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
844         Likewise.
845         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
846         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
847         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
848         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
849         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
850         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
851         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
852         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
853         (_dl_reloc_overflow): Increase buffser size.  Formatting.
854         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
855         Delete reloc param, add refsym and sym.  Check optimized plt
856         call stubs for localentry:0 functions.  Adjust callers.
857         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
858         and sym parameters.  Adjust callers.
859         (_dl_reloc_overflow): Move attribute.
860         (_dl_error_localentry): Declare.
861         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
862         refsym and sym to elf_machine_fixup_plt.
863         * elf/testobj6.c (preload): Call printf.
865 2017-06-14  Alan Modra  <amodra@gmail.com>
867         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
868         (NOPS, ENTRY_3): New macros.
869         (ENTRY): Rewrite.
870         (ENTRY_TOCLESS): Define.
871         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
872         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
873         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
874         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
875         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
876         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
877         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
878         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
879         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
880         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
881         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
882         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
883         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
884         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
885         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
886         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
887         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
888         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
889         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
890         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
891         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
892         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
893         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
894         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
895         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
896         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
897         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
898         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
899         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
900         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
901         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
902         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
903         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
904         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
905         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
906         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
907         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
908         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
909         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
910         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
911         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
912         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
913         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
914         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
915         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
916         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
917         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
918         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
919         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
920         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
921         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
922         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
923         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
924         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
925         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
926         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
927         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
928         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
929         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
930         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
931         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
932         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
933         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
934         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
935         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
936         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
937         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
938         Likewise.
939         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
940         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
941         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
942         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
943         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
944         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
945         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
946         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
947         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
948         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
949         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
950         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
951         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
952         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
953         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
954         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
955         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
956         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
957         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
958         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
959         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
960         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
961         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
962         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
963         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
964         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
965         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
966         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
967         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
968         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
969         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
970         add nop when SHARED.
971         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
972         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
973         define.
974         (ENTRY_TOCLESS): Define.
975         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
976         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
977         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
979 2017-06-14  Alan Modra  <amodra@gmail.com>
981         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
982         MEMSET_is_local.
983         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
984         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
985         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
986         Define MEMSET.
987         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
988         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
989         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
990         nop after local calls.
991         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
992         Don't add nop after local call.
993         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
994         CALL_MCOUNT.
996 2017-06-14  Alan Modra  <amodra@gmail.com>
998         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
999         (FUNC_LABEL): Rename from DOT_LABEL.
1000         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
1001         Use .p2align rather than .align.
1002         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
1003         (ABORT_TRANSACTION): Likewise.
1004         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
1005         particularly at end.  Add semicolon at invocation as necessary.
1006         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
1007         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
1008         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
1009         END): Adjust to suit.
1011 2017-06-14  Alan Modra  <amodra@gmail.com>
1013         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
1014         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
1015         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1016         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1017         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
1019         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
1021 2017-06-14  Alan Modra  <amodra@gmail.com>
1023         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
1024         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
1026 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
1028         [BZ #21548]
1029         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
1030         8 and use it when copying general purpose registers.
1031         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
1032         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
1033         mips o32.
1034         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
1035         new test for mips o32.
1036         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
1037         8 and use it when copying general purpose registers.
1038         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
1040 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1042         * configure.ac (find_cxx_header): Suppress compiler error message.
1044 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1046         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
1047         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
1048         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
1049         begin/end.
1050         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
1051         dynarray_int_end.
1052         (test_str): Test dynarray_str_begin, dynarray_str_end.
1054 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
1056         [BZ #21573]
1057         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
1058         $(common-objpfx)bits/std_abs.h.
1059         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
1060         New target.
1061         * config.make.in (c++-bits-std_abs-h): New.
1062         * configure.ac (find_cxx_header): Use "\,$1," with sed.
1063         (CXX_BITS_STD_ABS_H): New.
1064         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
1065         * configure: Regenerated.
1067 2017-06-13  Zack Weinberg  <zackw@panix.com>
1069         * posix/bits/cpu-set.h: Correct indentation of preprocessor
1070         directives.
1072 2017-06-12  Zack Weinberg  <zackw@panix.com>
1074         * bits/sched.h: Remove __need_schedparam logic and replace with a
1075         normal multiple-include guard.  Change field name in struct
1076         sched_param from __sched_priority to sched_priority.  Delete
1077         everything under #ifndef __cpu_set_t_defined.
1078         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
1079         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1081         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1082         For compatibility, #define sched_priority to itself, and #define
1083         __sched_priority as sched_priority.
1084         * posix/bits/cpu-set.h: New file containing, verbatim, the code
1085         that was under #ifndef __cpu_set_t_defined in
1086         sysdeps/unix/sysv/linux/bits/sched.h.
1087         * include/bits/cpu-set.h: New wrapper.
1088         * posix/Makefile: Install bits/cpu-set.h.
1090 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1091             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1092             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1094         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1095         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1096         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1097         * math/libm-test-isfinite.inc (finite_test): Likewise.
1098         * math/libm-test-lgamma.inc (gamma_test): Likewise.
1099         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1100         (nexttoward_test_data}: Likewise.
1101         * math/libm-test-remainder.inc (drem_test): Likewise.
1102         * math/libm-test-scalb.inc (scalb_test): Likewise.
1103         (scalb_test_data): Likewise.
1104         * math/libm-test-significand.inc (significand_test): Likewise.
1105         (significand_test_data): Likewise.
1106         * math/libm-test-support.c (check_complex): Replace __complex__
1107         FLOAT with CFLOAT to get the support for old compiler.
1108         * math/libm-test-support.h (check_complex): Likewise.
1109         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1110         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1111         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1112         * math/test-float128.h: New file.
1113         * math/test-math-floatn.h: New file.
1115 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1117         * include/float.h: Allow the definition of macros prefixed with
1118         FLT128 even if _ISOMAC is defined, but provided that
1119         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1121 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1123         * manual/math.texi (Mathematics): Add description for _FloatN and
1124         _FloatNx types and mentions that they are not support in glibc for
1125         any architecture, so far.
1126         * manual/arith.texi (wcstof, wcstold): Replace the mention to
1127         stdlib.h with wchar.h.
1128         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1129         (Printing of Floats): Add description for strfromfN.
1131 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1132             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1133             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1135         * include/gmp.h (__mpn_construct_float128): New declaration.
1136         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1137         (__strtof128_l): New declaration.
1138         (__strtof128_nan): Likewise.
1139         (__wcstof128_nan): Likewise.
1140         (__strtof128_internal): Likewise.
1141         (____strtof128_l_internal): Likewise.
1142         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1143         (__wcstof128_l): New declaration.
1144         (__wcstof128_internal): Likewise.
1146         * stdlib/Makefile (bug-strtod2): Link libm too.
1148         * stdlib/stdlib.h (strtof128): New declaration.
1149         (strtof128_l): Likewise.
1151         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
1152         tst-strtod.h macros to ensure float128 gets tested too.
1154         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
1156         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
1157         tests.
1158         (IF_FLOAT128): New macro.
1159         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
1160         the tests.
1161         (STRTOD_TEST_FOREACH): Likewise.
1163         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
1164         wcstof128 functions into libc.
1166         * sysdeps/ieee754/float128/Versions: Add exports for the above
1167         new functions.
1169         * sysdeps/ieee754/float128/mpn2float128.c: New file.
1170         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
1171         * sysdeps/ieee754/float128/strtof128.c: New file.
1172         * sysdeps/ieee754/float128/strtof128_l.c: New file.
1173         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
1174         * sysdeps/ieee754/float128/wcstof128.c: New file.
1175         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
1176         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
1177         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
1178         (CFLAGS-wcstof128_l): Likewise.
1180         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
1181         (wcstof128): New declaration.
1182         (wcstof128_l): Likewise.
1184 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
1186         [BZ #21552]
1187         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
1188         not [__USE_XOPEN].
1189         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
1191         [BZ #21550]
1192         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
1194 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1197         strcpy-sse2 and stpcpy-sse2.
1198         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
1199         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
1200         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
1201         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
1202         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
1203         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
1204         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
1205         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
1206         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1207         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1208         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1209         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
1210         (libc_hidden_def): Always defined as empty.
1211         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
1212         Always Defined as empty.
1214 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1216         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
1218 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1220         [BZ #15105]
1221         [BZ #19463]
1222         * include/string.h: Add internal redirect for __stpcpy.
1223         * string/Makefile: Remove bits/string2.h.
1224         * string/string.h: Update comment.
1225         * string/string-inlines.c: Remove bits/string2.h include and comment.
1226         * string/bits/string2.h: Remove file.
1228 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1230         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
1231         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1232         * sunrpc/des_impl.c (_des_crypt): Likewise.
1233         * sunrpc/key_call.c (key_gendes): Likewise.
1234         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1235         * sunrpc/svc_simple.c (universal): Likewise.
1236         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
1237         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1238         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
1240 2017-06-10  Zack Weinberg  <zackw@panix.com>
1242         * stdlib/errno.h: Correct an outdated comment.
1244 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
1246         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
1247         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
1248         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
1249         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
1250         New file.  Invoke newly supported sysconf values for powerpc,
1251         and report results.  If none are supported, report so.
1252         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
1253         tst-sysconf.
1255 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1257         * include/sys/auxv.h (__getauxval): Add a prototype and its
1258         libc_hidden_proto.
1259         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
1261 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
1263         [BZ #21561]
1264         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
1265         [__USE_XOPEN_EXTENDED].
1266         (id_t): Likewise.
1267         (include of <bits/types/siginfo_t.h): Likewise.
1268         (waitid): Likewise.
1269         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
1270         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
1271         (WEXITED): Likewise.
1272         (WCONTINUED): Likewise.
1273         (WNOWAIT): Likewise.
1274         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
1275         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1276         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1278         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
1279         libc.so PLT entry optional.
1280         (__gtsf2): Likewise.
1281         (__unorddf2): Likewise.
1282         (__unordsf2): Likewise.
1283         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
1284         New optional libc.so PLT entry.
1286         [BZ #21554]
1287         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
1288         not [__USE_XOPEN].
1290         [BZ #21560]
1291         * posix/sys/wait.h: Condition include of <signal.h> on
1292         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
1293         unconditionally.
1294         [!__pid_t_defined] (pid_t): Define typedef.
1296 2017-06-09  Zack Weinberg  <zackw@panix.com>
1298         * include/errno.h (__errno_location): Use __attribute_const__
1299         instead of bare __attribute__.
1301 2017-06-09  Zack Weinberg  <zackw@panix.com>
1303         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
1304         (common-generated): Add libc-modules.h and libc-modules.stmp in a
1305         more appropriate location. Also add dl-tunable-list.h and
1306         dl-tunable-list.stmp.
1308 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1310         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
1312 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1315         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
1316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1317         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
1318         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
1319         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
1320         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
1321         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
1322         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
1323         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
1324         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
1326 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1329         memrchr-sse2 and memrchr-avx2.
1330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1331         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
1332         __memrchr_sse2.
1333         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
1334         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
1335         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
1337 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1340         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
1341         wcschr-sse2 and wcschr-avx2.
1342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1343         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
1344         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
1345         __wcschr_sse2.
1346         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
1347         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
1348         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
1349         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
1350         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
1351         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
1352         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
1353         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
1354         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
1355         * sysdeps/x86_64/multiarch/strchr.S: Removed.
1357 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1360         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
1361         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
1362         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1363         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
1364         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
1365         __wcslen_sse2 and __wcsnlen_avx2.
1366         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
1367         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
1368         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
1369         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
1370         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
1371         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
1372         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1373         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1374         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1375         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1376         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1377         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1378         vzeroupper is preferred and AVX unaligned load is fast.
1380 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1382         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
1383         USE_AS_WMEMCHR is defined.
1384         (PCMPEQ): Likewise.
1385         (memchr): Renamed to ...
1386         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
1387         Replace pcmpeqb with PCMPEQ.
1388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1389         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1390         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1391         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1392         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1393         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1394         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1395         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1396         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1397         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1398         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1399         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1400         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1402         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1403         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1404         __wmemchr_sse2.
1406 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1408         * malloc/Makefile (test-srcs): Remove tst-dynarray,
1409         tst-dynarray-fail.
1411 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1413         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1414         * support/support_test_verify_impl.c
1415         (support_test_verify_exit_impl): Split from
1416         support_test_verify_impl.
1417         * support/check.h (TEST_VERIFY): Drop status argument from
1418         support_test_verify_impl call.
1419         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1420         (support_test_verify_impl): Remove status argument.
1421         (support_test_verify_exit_impl): Declare.
1423 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1425         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1426         mention of magic numbers in comments.
1427         (_dl_procinfo): Fix undefined behavior
1429 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
1431         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1432         [XPG4].
1433         (WEXITED): Likewise.
1434         (WSTOPPED): Likewise.
1435         (WCONTINUED): Likewise.
1436         (WNOHANG): Likewise.
1437         (WNOWAIT): Likewise.
1438         (idtype_t): Likewise.
1439         (P_ALL): Likewise.
1440         (P_PID): Likewise.
1441         (P_PGID): Likewise.
1442         (id_t): Likewise.
1443         (siginfo_t): Likewise.
1444         (wait3): Likewise.
1445         (waitid): Likewise.
1446         (signal.h): Do not allow header for [XPG4].
1447         (sys/resource.h): Likewise.
1448         (si_*): Do not allow for [XPG4].
1449         (W*): Likewise.
1450         (P_*): Likewise.
1451         (BUS_): Likewise.
1452         (CLD_): Likewise.
1453         (FPE_): Likewise.
1454         (ILL_): Likewise.
1455         (POLL_): Likewise.
1456         (SEGV_): Likewise.
1457         (SI_): Likewise.
1458         (TRAP_): Likewise.
1459         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1460         variable.
1462 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1464         [BZ #21528]
1465         * elf/dl-minimal.c (__strtoul_internal): Removed.
1466         (strtoul): Likewise.
1467         * elf/dl-misc.c (_dl_strtoul): New function.
1468         * elf/dl-tunables.c (tunables_strtoul): Removed.
1469         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1470         * elf/rtld.c (process_envvars): Likewise.
1471         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1472         Likewise.
1473         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1475 2017-06-08  Zack Weinberg  <zackw@panix.com>
1477         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1478         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1479         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1480         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1481         between wctype.h and wchar.h.
1483         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1484         Install them.
1486         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1487         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1488         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1489         New wrappers.
1490         * include/stdio.h, include/wchar.h, include/wctype.h:
1491         No need to handle __need macros.
1493         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1494         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1495         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1496         * wcsmbs/wchar.h, wctype/wctype.h
1497         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1498         Use the new files instead of __need macros.
1500 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1502         * string/test-memrchr.c (test_main): Add tests for len == 0
1503         and tests for positions close to the beginning, which are
1504         equivalent to positions close to the end for memchr.
1506 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1509         comments.
1510         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1511         instead of wmemset.h.
1512         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1513         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1514         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1516 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1518         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1519         spec->info.is_binary128 to zero.
1520         * stdio-common/printf.h (printf_info): Add new member is_binary128
1521         to indicate that the number being converted to string is compatible
1522         with the IEC 60559 binary128 format.
1523         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1524         _Float128 numbers.
1525         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1526         ldbl-128/printf_fphex_macros.h
1527         (__printf_fphex): Add code to deal with _Float128 numbers.
1528         * stdio-common/printf_size.c (__printf_size): Likewise.
1529         * stdio-common/vfprintf.c (process_arg): Initialize member
1530         info.is_binary128 to zero.
1531         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1532         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1533         (strfromf128): New declaration.
1534         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1535         to one.
1536         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1537         * sysdeps/ieee754/float128/Versions: Likewise.
1538         * sysdeps/ieee754/float128/strfromf128.c: New file.
1540 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1542         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1543         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1544         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1545         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1546         (PRINT_FPHEX): New function-like macro that can be used for long
1547         double, as well as for _Float128
1549 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1551         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1552         (__printf_fp_l): Use the new macro to avoid duplicating code.
1553         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1554         (__printf_fphex): Use the new macro to avoid duplicating code.
1555         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1556         (__printf_size): Use the new macro to avoid duplicating code.
1558 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1560         * include/gmp.h: Include bits/floatn.h
1561         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1562         * stdlib/gmp-impl.h: Also check if alloca is not defined before
1563         including stack-alloc.h.  It could have been defined by other header
1564         which not necessarily defines HAVE_ALLOCA.
1565         * sysdeps/ieee754/float128/Makefile: New file.
1566         * sysdeps/ieee754/float128/float1282mpn.c: New file.
1567         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1568         redefining __mpn_extract_long_double to __mpn_extract_float128, then
1569         redefine __mpn_extract_long_double to __mpn_extract_float128.
1570         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1571         _Float128 to allow float128_private.h overrides.
1573 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1575         * stdlib/fpioconst.h: Include bits/floatn.h.
1576         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1577         power of ten table should be.
1578         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1579         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1580         to include larger tables when _Float128 support is enabled.
1581         (_fpioconst_pow10): Likewise.
1583 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
1585         * include/bits/types/clock_t.h: Use #include <path> instead of
1586         #include "../../path".
1587         * include/bits/types/clockid_t.h: Likewise.
1588         * include/bits/types/struct_iovec.h: Likewise.
1589         * include/bits/types/struct_itimerspec.h: Likewise.
1590         * include/bits/types/struct_osockaddr.h: Likewise.
1591         * include/bits/types/struct_sigstack.h: Likewise.
1592         * include/bits/types/struct_timespec.h: Likewise.
1593         * include/bits/types/struct_timeval.h: Likewise.
1594         * include/bits/types/struct_tm.h: Likewise.
1595         * include/bits/types/time_t.h: Likewise.
1596         * include/bits/types/timer_t.h: Likewise.
1598         [BZ #14096]
1599         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1600         America/New_York.
1602 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1604         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1605         into ...
1606         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
1607         ifunc-sse4_1.h.
1609 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1611         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1612         Remove check for NULL 'buf'.
1613         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1615 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1617         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1618         include test-skeleton.c.
1619         Include support/check.h and support/test-driver.c.
1621 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1623         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1624         (_dl_aarch64_cap_flags): New array.
1625         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1626         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1627         functions.
1629         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1630         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1631         Likewise.
1632         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1633         up hwcap and hwcap_mask.
1635         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1636         (init_cpu_features): Use glibc.tune.hwcap_mask.
1637         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1639         * elf/dl-hwcaps.h: New file.
1640         * elf/dl-hwcaps.c: Include it.
1641         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1642         glibc.tune.hwcap_mask.
1643         * elf/dl-cache.c: Include dl-hwcaps.h.
1644         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1645         glibc.tune.hwcap_mask.
1646         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1647         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1648         _dl_hwcap_mask.
1649         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1650         _dl_hwcap_mask.
1651         (process_envvars)[HAVE_TUNABLES]: Likewise.
1652         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1653         Likewise.
1654         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1655         initialize dl_hwcap_mask when tunables are enabled.
1657         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1658         guard.
1659         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1661         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1662         * scripts/gen-tunables.awk: Include dl-procinfo.h.
1663         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1665         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1666         * elf/dl-tunables.c: Likewise.
1667         (do_tunable_update_val): New function.
1668         (__tunable_set_val): New function.
1669         (__tunable_get_val): Call CB only if the tunable was externally
1670         initialized.
1671         (tunables_strtoul): Replace strval with initialized.
1672         * elf/dl-tunables.h (strval): Replace with a bool initialized.
1673         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1674         prevent collision.
1675         (__tunable_set_val): New function.
1676         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1677         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1678         (TUNABLE_SET_VAL): Remove.
1679         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1680         * README.tunables: Document the new macros.
1681         * malloc/arena.c (ptmalloc_init): Adjust.
1683 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1686         wcsnlen-sse4_1 and wcsnlen-c.
1687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1688         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1689         __wcsnlen_sse2.
1690         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1691         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1692         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1693         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1694         * sysdeps/x86_64/wcsnlen.S: Removed.
1696 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1698         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1699         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1700         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1701         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1703 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1705         * NEWS: Mention new spinlock implementation.
1706         * include/atomic.h:
1707         (__atomic_val_bysize): Cast type to omit volatile qualifier.
1708         (atomic_exchange_acq): Likewise.
1709         (atomic_load_relaxed): Likewise.
1710         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1711         * nptl/pthread_spin_init.c (pthread_spin_init):
1712         Use atomic_store_relaxed.
1713         * nptl/pthread_spin_lock.c (pthread_spin_lock):
1714         Use C11-like atomic macros.
1715         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1716         Likewise.
1717         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1718         Use atomic_store_release.
1719         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1720         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1721         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1722         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1723         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1724         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1725         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1726         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1727         * sysdeps/alpha/atomic-machine.h: Likewise.
1728         * sysdeps/arm/atomic-machine.h: Likewise.
1729         * sysdeps/i386/atomic-machine.h: Likewise.
1730         * sysdeps/ia64/atomic-machine.h: Likewise.
1731         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1732         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1733         * sysdeps/microblaze/atomic-machine.h: Likewise.
1734         * sysdeps/mips/atomic-machine.h: Likewise.
1735         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1736         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1737         * sysdeps/s390/atomic-machine.h: Likewise.
1738         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1739         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1740         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1741         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1742         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1743         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1744         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1745         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1746         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1747         * sysdeps/x86_64/atomic-machine.h: Likewise.
1749 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1751         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1752         and use it instead of dl_x86_cpu_features.
1753         (handle_intel): Replace maxidx with cpu_features.  Pass
1754         cpu_features to intel_check_word.
1755         (__cache_sysconf): Pass cpu_features to handle_intel.
1756         (init_cacheinfo): Likewise.  Use cpu_features instead of
1757         dl_x86_cpu_features.
1759 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1761         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1763         memcmp-avx2 and wmemcmp-avx2.
1764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1765         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1766         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1767         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1768         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1769         2 machines if AVX unaligned load is fast and vzeroupper is
1770         preferred.
1771         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1772         2 machines if AVX unaligned load is fast and vzeroupper is
1773         preferred.
1775 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1777         * include/wchar.h (__wmemset_chk): New.
1778         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1779         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1780         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1781         (WMEMSET_CHK_SYMBOL): Likewise.
1782         (WMEMSET_SYMBOL): Likewise.
1783         (__wmemset): Add hidden definition.
1784         (wmemset): Add weak hidden definition.
1785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1786         wmemset_chk-nonshared.
1787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1788         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1789         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1790         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1791         and __wmemset_chk_avx512_unaligned.
1792         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
1793         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1794         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1795         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1796         (WMEMSET_SYMBOL): Likewise.
1797         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
1798         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1799         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1800         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1801         (WMEMSET_SYMBOL): Likewise.
1802         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
1803         (WMEMSET_CHK_SYMBOL): New.
1804         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
1805         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
1806         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
1807         (libc_hidden_builtin_def): Also define __GI_wmemset and
1808         __GI___wmemset.
1809         (weak_alias): New.
1810         * sysdeps/x86_64/multiarch/wmemset.c: New file.
1811         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
1812         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
1813         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1814         * sysdeps/x86_64/wmemset.c: Likewise.
1815         * sysdeps/x86_64/wmemset_chk.c: Likewise.
1817 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1818             H.J. Lu  <hongjiu.lu@intel.com>
1820         * sysdeps/x86/init-arch.h (PASTER1): New.
1821         (EVALUATOR1): Likewise.
1822         (PASTER2): Likewise.
1823         (EVALUATOR2): Likewise.
1824         (REDIRECT_NAME): Likewise.
1825         (OPTIMIZE): Likewise.
1826         (IFUNC_SELECTOR): Likewise.
1828 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1830         * sysdeps/x86_64/strlen.S (PMINU): New.
1831         (PCMPEQ): Likewise.
1832         (SHIFT_RETURN): Likewise.
1833         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
1834         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
1835         pminub with PCMPEQ and PMINU.
1836         * sysdeps/x86_64/wcsnlen.S: New file.
1838 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1840         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
1841         the lower 32 bits.  Remove redundant instructions.
1843 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
1846         0 as the high part of offset.
1847         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
1849 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
1851         [BZ #21538]
1852         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
1853         [__USE_UNIX98].
1854         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
1855         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
1856         Likewise.
1857         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
1858         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
1859         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
1860         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
1861         Likewise.
1863         [BZ #21517]
1864         * bits/types/stack_t.h (stack_t): Remove struct tag.
1865         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
1866         Likewise.
1867         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
1868         Likewise.
1869         * debug/segfault.c (install_handler): Use stack_t instead of
1870         struct sigaltstack.
1871         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
1872         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
1873         * include/signal.h (__sigaltstack): Likwise.
1874         * signal/sigaltstack.c (__sigaltstack): Likewise.
1875         * signal/signal.h (sigaltstack): Likewise.
1876         * sysdeps/mach/hurd/i386/signal-defines.sym
1877         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
1878         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
1879         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
1880         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1881         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
1882         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
1883         elf_prstatus): Likewise.
1884         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
1885         Likewise.
1886         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
1887         Likewise.
1888         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
1889         Likewise.
1890         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
1891         elf_prstatus): Likewise.
1892         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
1893         Likewise.
1894         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
1895         Likewise.
1897 2017-06-04  Zack Weinberg  <zackw@panix.com>
1899         * sysdeps/gnu/errlist.c: Regenerate.
1901 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1903         * benchtests/bench-memchr.c (do_test): Print out both length
1904         and position.
1905         (test_main): Also test the position close to the beginning for
1906         memrchr.
1908 2017-06-04  Zack Weinberg  <zackw@panix.com>
1910         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
1911         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
1912         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
1913         * nis/nis_destroygroup.c, nis/nis_domain_of.c
1914         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
1915         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
1916         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
1917         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
1918         * nis/nis_print_group_entry.c, nis/nis_remove.c
1919         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
1920         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
1921         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
1922         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
1923         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
1924         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
1925         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
1926         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
1927         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
1928         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
1929         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
1930         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
1931         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
1932         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
1933         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
1934         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
1935         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
1936         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
1937         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
1938         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
1940         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
1941         abi-versions.h as well as shlib-compat.h.
1942         * sunrpc/get_myaddr.c: Remove obsolete comment.
1943         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
1944         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
1945         * resolv/res_libc.c: Include shlib-compat.h only once.
1947 2017-06-03  Florian Weimer  <fweimer@redhat.com>
1949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
1950         of strdup.
1952 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
1954         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
1955         Set to the 3/4 of the total shared cache size.
1957 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
1959         * manual/errno.texi: Remove redundant error strings.
1960         * manual/macros.texi (@errno): Render the error string in every
1961         description.
1963 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
1965         [BZ #21543]
1966         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
1967         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
1968         [__USE_XOPEN_EXTENDED].
1970 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1972         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
1973         strdupa.
1974         (getcanonname): Use __strdup instead of strdup.
1976 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1978         * misc/Makefile (CFLAGS-preadv2.c): New rule.
1979         (CFLAGS-preadv64v2.c): Likewise.
1980         (CFLAGS-pwritev2.c): Likewise.
1981         (CFLAGS-pwritev64v2.c): Likewise.
1983 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1985         Test res_init with several configuration files.
1986         * resolv/Makefile [build-shared] (tests-internal): Add
1987         tst-resolv-res_init, tst-resolv-res_init-thread.
1988         (tst-resolv-res_init): Link against libdl, libresolv.
1989         (tst-resolv-res_init-thread): Link against libdl, libresolv,
1990         libpthread.
1991         * resolv/tst-resolv-res_init.c: New file.
1992         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
1993         * resolv/tst-resolv-res_init-thread.c: Likewise.
1994         * support/Makefile (libsupport-routines): Add support-xstat,
1995         support_can_chroot, support_capture_subprocess_check,
1996         support_isolate_in_subprocess, support_shared_allocate,
1997         support_write_file_string, xchroot, xmkdir, xopen.
1998         * support/capture_subprocess.h (enum support_capture_allow): Define.
1999         (support_capture_subprocess_check): Declare.
2000         * support/namespace.h (support_can_chroot)
2001         (support_isolate_in_subprocess): Declare.
2002         * support/support-xstat.c: New file.
2003         * support/support.h (support_shared_allocate, support_shared_free)
2004         (support_write_file_string): Declare.
2005         * support/support_can_chroot.c: New file.
2006         * support/support_capture_subprocess_check.c: Likewise.
2007         * support/support_isolate_in_subprocess.c: Likewise.
2008         * support/support_shared_allocate.c: Likewise.
2009         * support/support_write_file_string.c: Likewise.
2010         * support/xchroot.c: Likwise.
2011         * support/xmkdir.c: Likwise.
2012         * support/xopen.c: Likwise.
2013         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
2015 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2017         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
2018         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
2020 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2022         * malloc/Makefile (routines): Add dynarray_at_failure,
2023         dynarray_emplace_enlarge, dynarray_finalize.
2024         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
2025         tst-dynarray-at-fail.
2026         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
2027         (tests-special): Add tst-dynarray-mem.out,
2028         tst-dynarray-mem-fail.out.
2029         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
2030         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
2031         mtrace.
2032         * malloc/Versions (__libc_dynarray_at_failure)
2033         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
2034         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
2035         GLIBC_PRIVATE.
2036         * malloc/dynarray.h: New file.
2037         * malloc/dynarray-skeleton.c: Likewise.
2038         * malloc/dynarray_at_failure.c: Likewise.
2039         * malloc/dynarray_emplace_enlarge.c: Likewise.
2040         * malloc/dynarray_finalize.c: Likewise.
2041         * malloc/dynarray_resize.c: Likewise.
2042         * malloc/dynarray_resize_clear.c: Likewise.
2043         * malloc/tst-dynarray.c: Likewise.
2044         * malloc/tst-dynarray-fail.c: Likewise.
2045         * malloc/tst-dynarray-at-fail.c: Likewise.
2046         * malloc/tst-dynarray-shared.h: Likewise.
2047         * support/Makefile (libsupport-routines): Add
2048         support_capture_subprocess, xdup2, xpipe.
2049         (tests): Add tst-support_capture_subprocess.
2050         * support/capture_subprocess.h: New file.
2051         * support/support_capture_subprocess.c: Likewise.
2052         * support/tst-support_capture_subprocess.c: Likewise.
2053         * support/xdup2.c: Likewise.
2054         * support/xpipe.c: Likewise.
2055         * support/xunistd.h (xdup2, xpipe): Declare.
2057 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2059         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
2060         macros MAX and MIN.
2062 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2064         * conform/data/signal.h-data (sa_sigaction): Do not expect for
2065         [XPG4].
2066         (SA_SIGINFO): Likewise.
2067         (SA_ONSTACK): Likewise.
2068         (SA_RESETHAND): Likewise.
2069         (SA_RESTART): Likewise.
2070         (SA_NOCLDWAIT): Likewise.
2071         (SA_NODEFER): Likewise.
2072         (SS_ONSTACK): Likewise.
2073         (SS_DISABLE): Likewise.
2074         (MINSIGSTKSZ): Likewise.
2075         (SIGSTKSZ): Likewise.
2076         (ucontext_t): Likewise.
2077         (stack_t): Likewise.
2078         (struct sigstack): Likewise.
2079         (SI_USER): Do not expect for [XPG4 || XPG42].
2080         (SI_QUEUE): Likewise.
2081         (SI_TIMER): Likewise.
2082         (SI_ASYNCIO): Likewise.
2083         (SI_MESGQ): Likewise.
2084         (bsd_signal): Do not expect for [XPG4].
2085         (killpg): Likewise.
2086         (sigaltstack): Likewise.
2087         (sighold): Likewise.
2088         (sigignore): Likewise.
2089         (siginterrupt): Likewise.
2090         (sigpause): Likewise.
2091         (sigrelse): Likewise.
2092         (sigset): Likewise.
2093         (sigwait): Do not expect for [XPG4 || XPG42].
2095 2017-06-01  Zack Weinberg  <zackw@panix.com>
2097         [BZ #21514]
2098         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2099         pointing to the generated file in <builddir>/misc/bits/syscall.h.
2101 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2103         [BZ #21457]
2104         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2105         NGREG to __NGREG if [__USE_MISC].
2106         (gregset_t): Define using __NGREG.
2107         (__ctx): New macro.
2108         (mcontext_t): Use __ctx in defining fields.
2109         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2110         define NGREG to __NGREG if [__USE_MISC].
2111         (gregset_t): Define using __NGREG.
2112         (__ctx): New macro.
2113         (__ctxt): Likewise.
2114         (fpregset_t): Use __ctx and __ctxt in defining fields.
2115         (mcontext_t): Likewise.
2116         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2117         define NGREG to __NGREG if [__USE_MISC].
2118         (gregset_t): Define using __NGREG.
2119         (__ctx): New macro.
2120         (mcontext_t): Use __ctx in defining fields.
2121         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
2122         define NGREG to __NGREG if [__USE_MISC].
2123         (gregset_t): Define using __NGREG.
2124         (__ctx): New macro.
2125         (fpregset_t): Use __ctx in defining fields.
2126         (mcontext_t): Likewise.
2127         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2128         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2129         (gregset_t): Define using __NGREG.
2130         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2131         [__USE_MISC].
2132         (fpregset_t): Define using __NFPREG.
2133         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2134         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2135         (gregset_t): Define using __NGREG.
2136         (__ctx): New macro.
2137         (fpregset_t): Use __ctx in defining fields.
2138         (mcontext_t): Likewise.
2139         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2140         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2141         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2142         [__USE_MISC].
2143         (gregset_t): Define using __NGREG.
2144         (__ctx): New macro.
2145         (fpregset_t): Use __ctx in defining fields.
2146         (mcontext_t): Likewise.
2147         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2148         (mcontext_t): Use __ctx in defining fields.
2149         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2150         macro.
2151         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
2152         __NGREG if [__USE_MISC].
2153         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
2154         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
2155         (mcontext_t): Likewise.
2156         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
2157         __NGREG if [__USE_MISC].
2158         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
2159         to __NFPREG if [__USE_MISC].
2160         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
2161         to __NVRREG if [__USE_MISC].
2162         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
2163         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
2164         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
2165         [__WORDSIZE != 32] (vrregset_t): Likewise.
2166         [__WORDSIZE != 32] (mcontext_t): Likewise.
2167         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
2168         (__psw_t): Use __ctx in defining fields.
2169         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
2170         [__USE_MISC].
2171         (gregset_t): Define using __NGREG.
2172         (fpreg_t): Use __ctx in defining fields.
2173         (fpregset_t): Likewise.
2174         (mcontext_t): Likewise.
2175         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
2176         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2177         (gregset_t): Define using __NGREG.
2178         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2179         [__USE_MISC].
2180         (fpregset_t): Define using __NFPREG.
2181         (__ctx): New macro.
2182         (mcontext_t): Use __ctx in defining fields.
2183         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
2184         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2185         __NGREG if [__USE_MISC].
2186         [__x86_64__] (gregset_t): Define using __NGREG.
2187         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
2188         [__x86_64__] (struct _libc_fpstate): Likewise.
2189         [__x86_64__] (mcontext_t): Likewise.
2190         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2191         __NGREG if [__USE_MISC].
2192         [!__x86_64__] (gregset_t): Define using __NGREG.
2193         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
2194         [!__x86_64__] (struct _libc_fpstate): Likewise.
2195         [!__x86_64__] (mcontext_t): Likewise.
2197 2017-06-01  Zack Weinberg  <zackw@panix.com>
2199         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
2200         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
2201         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
2202         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
2203         libpthread.so no longer references __errno_location.
2205 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2207         * NEWS: Add note about pwritev2 and preadv2 inclusion.
2208         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
2209         pwritev64v2.
2210         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
2211         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
2212         pwritev64v2.
2213         * misc/preadv2.c: New file.
2214         * misc/preadv64v2.c: Likewise.
2215         * misc/pwritev2.c: Likewise.
2216         * misc/pwritev64v2.c: Likewise.
2217         * misc/tst-preadvwritev2.c: Likewise.
2218         * misc/tst-preadvwritev64v2.c: Likewise.
2219         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
2220         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
2221         prototype.
2222         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
2223         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
2224         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
2225         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
2226         (PWRITEV): Likewise.
2227         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
2228         ENOSYS.
2229         * nptl/tst-cancel4.c (tf_pwritev2): New test.
2230         (tf_preadv2): Likewise.
2231         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
2232         * sysdeps/posix/preadv2.c: Likewise.
2233         * sysdeps/posix/preadv64v2.c: Likewise.
2234         * sysdeps/posix/pwritev2.c: Likewise.
2235         * sysdeps/posix/pwritev64v2.c: Likewise.
2236         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
2237         support in kernel.
2238         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
2239         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
2240         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
2241         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
2242         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
2243         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2244         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2245         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2246         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
2247         support flags on Linux.
2248         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
2249         preadv2, preadv64v2, pwritev2, pwritev64v2.
2250         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
2251         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
2252         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
2253         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
2254         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
2255         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
2256         Likewise.
2257         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
2258         Likewise.
2259         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
2260         Likewise.
2261         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
2262         Likewise.
2263         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
2264         Likewise.
2265         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
2266         Likewise.
2267         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
2268         Likewise.
2269         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
2270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2271         (GLIBC_2.26): Likewise.
2272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2273         (GLIBC_2.26): Likewise.
2274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
2275         Likewise.
2276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2277         (GLIBC_2.26): Likewise.
2278         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
2279         Likewise.
2280         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
2281         Likewise.
2282         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
2283         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
2284         Likewise.
2285         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
2286         Likewise.
2287         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
2288         Likewise.
2289         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
2290         Likewise.
2291         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
2292         Likewise.
2293         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
2294         Likewise.
2295         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
2296         Likewise.
2298 2017-05-31  Andreas Schwab  <schwab@suse.de>
2300         * nptl/tst-fork3.c: Include <support/test-driver.c>.
2301         (main): Rename to do_test and make static.
2303 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2305         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
2306         ARCH_INIT_CPU_FEATURES.
2307         (LIBC_START_MAIN): Call it.
2308         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
2309         (__libc_start_main): Remove.
2310         (ARCH_INIT_CPU_FEATURES): New macro.
2311         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
2312         (ARCH_INIT_CPU_FEATURES): New macro.
2314 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
2315             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2317         * include/stdlib.h (__libc_reallocarray): New declaration.
2318         * malloc/Makefile (routines): Add reallocarray.
2319         (tests): Add tst-reallocarray.c.
2320         * malloc/Versions: Add reallocarray and __libc_reallocarray.
2321         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
2322         function.
2323         * malloc/malloc.h (reallocarray): New declaration.
2324         * stdlib/stdlib.h (reallocarray): Likewise.
2325         * malloc/reallocarray.c: New file.
2326         * malloc/tst-reallocarray.c: New test file.
2327         * manual/memory.texi: Document reallocarray.
2328         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
2329         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2330         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2331         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2332         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2333         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2334         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2335         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2337         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2339         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2340         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2341         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2343         Likewise.
2344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2345         Likewise.
2346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2348         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2349         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2350         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2351         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2352         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2355         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
2356         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2357         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2359 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2361         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
2362         the lower 32 bits.
2364 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
2366         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
2367         $(build-pie-default) = yes]: Define.
2369 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2371         * string/test-memchr.c (test_main): Add tests for n == 0.
2373 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2375         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2376         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2377         (tests-internal): ... here.
2379 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
2380              H.J. Lu  <hongjiu.lu@intel.com>
2382         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2383         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2384         (__tunable_set_val): Likewise.
2386 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2388         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2389         dl-tunables.list in subdirectories.
2391 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2392             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2393             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2395         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2396         (SNANF128): New macro.
2397         * math/e_sqrtf128.c: New file.
2398         * math/s_fmaxmag_template.c: Include math_private.h in order to
2399         make inline expansion of fabs128().
2400         * math/s_fminmag_template.c: Likewise.
2402         * sysdeps/ieee754/float128/e_acosf128.c: New file.
2403         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2404         * sysdeps/ieee754/float128/e_asinf128.c: New file.
2405         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2406         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2407         * sysdeps/ieee754/float128/e_coshf128.c: New file.
2408         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2409         * sysdeps/ieee754/float128/e_expf128.c: New file.
2410         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2411         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2412         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2413         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2414         * sysdeps/ieee754/float128/e_j0f128.c: New file.
2415         * sysdeps/ieee754/float128/e_j1f128.c: New file.
2416         * sysdeps/ieee754/float128/e_jnf128.c: New file.
2417         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2418         * sysdeps/ieee754/float128/e_log10f128.c: New file.
2419         * sysdeps/ieee754/float128/e_log2f128.c: New file.
2420         * sysdeps/ieee754/float128/e_logf128.c: New file.
2421         * sysdeps/ieee754/float128/e_powf128.c: New file.
2422         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2423         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2424         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2425         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2426         * sysdeps/ieee754/float128/float128_private.h: New file.
2427         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2428         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2429         * sysdeps/ieee754/float128/k_cosf128.c: New file.
2430         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2431         * sysdeps/ieee754/float128/k_sinf128.c: New file.
2432         * sysdeps/ieee754/float128/k_tanf128.c: New file.
2433         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2434         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2435         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2436         * sysdeps/ieee754/float128/s_atanf128.c: New file.
2437         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2438         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2439         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2440         * sysdeps/ieee754/float128/s_cosf128.c: New file.
2441         * sysdeps/ieee754/float128/s_erff128.c: New file.
2442         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2443         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2444         * sysdeps/ieee754/float128/s_finitef128.c: New file.
2445         * sysdeps/ieee754/float128/s_floorf128.c: New file.
2446         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2447         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2448         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2449         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2450         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2451         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2452         * sysdeps/ieee754/float128/s_isinff128.c: New file.
2453         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2454         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2455         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2456         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2457         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2458         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2459         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2460         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2461         * sysdeps/ieee754/float128/s_modff128.c: New file.
2462         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2463         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2464         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2465         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2466         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2467         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2468         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2469         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2470         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2471         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2472         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2473         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2474         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2475         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2476         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2477         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2478         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2479         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2480         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2481         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2482         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2483         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2484         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2485         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2486         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2488         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2489         (__iscanonicalf128): Define as a macro.
2491 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2493         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2494         (memmove): Use MEMMOVE for name.
2495         (memcpy): Use MEMCPY for name.  Change internal labels
2496         to external labels.
2497         * sysdeps/aarch64/multiarch/Makefile: New file.
2498         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2499         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2500         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2501         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2502         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2503         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2505 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2507         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2508         (_dl_arm_cap_flags): Fix array subscript.
2509         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2510         Fix count.
2512 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2514         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2516 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2518         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2519         (is_amd): Likewise.
2520         (max_cpuid): Likewise.
2521         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2522         (init_cacheinfo): Likewise.
2524 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2526         [BZ #21511]
2527         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2528         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2529         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2530         !__USE_XOPEN2K) || __USE_MISC].
2531         * conform/data/signal.h-data (struct sigstack): Expect type only
2532         if [!XOPEN2K8 && !POSIX2008].
2533         (sigstack): Expect function only if [XPG42 || UNIX98].
2535         [BZ #21457]
2536         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2537         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2538         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2539         <bits/types/__sigset_t.h>.
2540         (ucontext_t): Use sigset_t instead of __sigset_t.
2541         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2542         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2543         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2544         <bits/types/__sigset_t.h>.
2545         (ucontext_t): Use sigset_t instead of __sigset_t.
2546         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2547         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2548         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2549         <bits/types/__sigset_t.h>.
2550         (ucontext_t): Use sigset_t instead of __sigset_t.
2551         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2552         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2553         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2554         <bits/types/__sigset_t.h>.
2555         (ucontext_t): Use sigset_t instead of __sigset_t.
2556         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2557         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2558         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2559         <bits/types/__sigset_t.h>.
2560         (ucontext_t): Use sigset_t instead of __sigset_t.
2561         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2562         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2563         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2564         <bits/types/__sigset_t.h>.
2565         (ucontext_t): Use sigset_t instead of __sigset_t.
2566         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2567         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2568         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2569         <bits/types/__sigset_t.h>.
2570         (ucontext_t): Use sigset_t instead of __sigset_t.
2571         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2572         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2573         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2574         <bits/types/__sigset_t.h>.
2575         (ucontext_t): Use sigset_t instead of __sigset_t.
2576         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2577         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2578         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2579         <bits/types/__sigset_t.h>.
2580         (ucontext_t): Use sigset_t instead of __sigset_t.
2581         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2582         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2583         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
2584         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2585         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2586         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2587         <bits/types/__sigset_t.h>.
2588         (ucontext_t): Use sigset_t instead of __sigset_t.
2589         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2590         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2591         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2592         <bits/types/__sigset_t.h>.
2593         (ucontext_t): Use sigset_t instead of __sigset_t.
2594         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2595         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2596         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2597         <bits/types/__sigset_t.h>.
2598         (ucontext_t): Use sigset_t instead of __sigset_t.
2599         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2600         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2601         <bits/ss_flags.h>.
2602         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2603         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2604         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2605         <bits/types/__sigset_t.h>.
2606         (ucontext_t): Use sigset_t instead of __sigset_t.
2607         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2608         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2609         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2610         <bits/types/__sigset_t.h>.
2611         (ucontext_t): Use sigset_t instead of __sigset_t.
2612         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2613         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2614         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2615         <bits/types/__sigset_t.h>.
2616         (ucontext_t): Use sigset_t instead of __sigset_t.
2617         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2618         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2619         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2620         <bits/types/__sigset_t.h>.
2621         (ucontext_t): Use sigset_t instead of __sigset_t.
2622         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
2623         <bits/types.h>.
2624         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2625         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2626         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2627         <bits/types/__sigset_t.h>.
2628         (ucontext_t): Use sigset_t instead of __sigset_t.
2630 2017-05-22  Zack Weinberg  <zackw@panix.com>
2632         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2633         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2634         bits/siginfo-arch.h, only if not already defined.
2635         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2636         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2637         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2638         Likewise.
2640         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2641         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2642         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2643         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2644         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2645         Unconditionally define __SI_* macros.
2647 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2649         [BZ #21393]
2650         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2651         and add a check for dup3 failure.
2652         * libio/freopen64.c (freopen64): Likewise.
2653         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2654         libsupport.
2655         (do_test_bz21398): New test.
2656         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2658 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2660         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2661         Remove invalid comment.
2663 2017-05-21  Zack Weinberg  <zackw@panix.com>
2665         * signal/Makefile (headers): Add bits/types/sigval_t.h.
2667 2017-05-20  Zack Weinberg  <zackw@panix.com>
2669         * bits/sigevent-consts.h
2670         * bits/siginfo-consts.h
2671         * bits/types/__sigset_t.h
2672         * bits/types/sigevent_t.h
2673         * bits/types/siginfo_t.h
2674         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2675         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2676         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2677         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2678         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2679         New system-dependent bits headers.
2681         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2682         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2683         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2684         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2685         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2686         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2687         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2688         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2689         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2690         New Linux-only system-dependent bits headers.
2692         * signal/bits/types/sig_atomic_t.h
2693         * signal/bits/types/sigset_t.h
2694         * signal/bits/types/sigval_t.h:
2695         New non-system-dependent bits headers.
2697         * sysdeps/generic/sigsetops.h
2698         * sysdeps/unix/sysv/linux/sigsetops.h:
2699         New internal headers.
2701         * include/bits/types/sig_atomic_t.h
2702         * include/bits/types/sigset_t.h
2703         * include/bits/types/sigval_t.h:
2704         New wrappers.
2706         * signal/sigsetops.h
2707         * bits/siginfo.h
2708         * bits/sigset.h
2709         * sysdeps/unix/sysv/linux/bits/siginfo.h
2710         * sysdeps/unix/sysv/linux/bits/sigset.h
2711         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2712         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2713         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2714         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2715         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2716         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2717         Deleted.
2719         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2720         Update lists of installed headers.
2722         * posix/bits/types.h: Define __sig_atomic_t here.
2723         * signal/signal.h: Use the new bits headers; no need to handle
2724         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
2725         to define sigmask.
2726         * include/signal.h: No need to handle __need_sig_atomic_t
2727         nor __need_sigset_t.  Don't define __sigemptyset.
2729         * io/sys/poll.h, setjmp/setjmp.h
2730         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2731         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2732         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2733         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2734         * sysdeps/pthread/bits/sigthread.h
2735         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2736         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2737         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2738         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2739         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2740         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2741         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2742         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2743         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2744         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2745         Use bits/types/__sigset_t.h.
2747         * misc/sys/select.h, posix/spawn.h
2748         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2749         * sysdeps/unix/sysv/linux/sys/epoll.h
2750         * sysdeps/unix/sysv/linux/sys/signalfd.h:
2751         Use bits/types/sigset_t.h.
2753         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2754         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2755         * socket/sys/socket.h: Don't include bits/sigset.h.
2757         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2758         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2759         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2760         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2761         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2762         * sysdeps/unix/sysv/linux/nptl-signals.h:
2763         Include sigsetops.h.
2765         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2766         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2767         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2768         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2769         now return no value.
2771         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2772         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2773         "sigsetops.h".
2775         * signal/sigsetops.c: Explicitly define __sigismember,
2776         __sigaddset, and __sigdelset as compatibility symbols.
2778         * signal/Versions: Correct commentary on __sigpause,
2779         __sigaddset, __sigdelset, __sigismember.
2781         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
2782         __sigblock/__sigsetmask to use __sigprocmask and friends.
2784         * resolv/resolv.h: Remove __need_res_state logic.
2785         Move definition of res_state and related constants to ...
2786         * resolv/bits/types/res_state.h: ...this new file.
2787         * resolv/Makefile: Install bits/types/res_state.h.
2788         * include/bits/types/res_state.h: New wrapper.
2789         * include/list.h: Remove __need_list_t logic.
2790         Move definition of list_t to ...
2791         * include/list_t.h: ...this new file.
2793         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2794         instead of list.h and resolv.h.
2796         * resolv/resolv.h: Remove __need_res_state logic.
2797         Move definition of res_state and related constants to ...
2798         * resolv/bits/types/res_state.h: ...this new file.
2799         * resolv/Makefile: Install bits/types/res_state.h.
2800         * include/bits/types/res_state.h: New wrapper.
2801         * include/list.h: Remove __need_list_t logic.
2802         Move definition of list_t to ...
2803         * include/list_t.h: ...this new file.
2805         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2806         instead of list.h and resolv.h.
2808 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2810         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
2812 2017-05-20  Zack Weinberg  <zackw@panix.com>
2814         * sysdeps/arm/sysdep.h
2815         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
2817         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
2818         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
2819         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
2820         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
2821         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
2822         * sysdeps/arm/armv6t2/strlen.S
2823         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
2824         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
2825         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
2826         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
2827         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
2828         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
2830 2017-05-20  Zack Weinberg  <zackw@panix.com>
2832         Remove the NaCl port.
2833         * sysdeps/arm/nacl: Remove directory and contents.
2834         * sysdeps/nacl: Remove directory and contents.
2835         * abi-tags: Remove .*-.*-nacl.* entry.
2837 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
2839         * manual/errno.texi: Convert @comment-based errno documentation to
2840         @errno.
2841         * manual/macros.texi (@errno): New macro.  Consolidate errors,
2842         their values, and messages, adding the error string to the Concept
2843         Index.  Provide a warning in the comment about external (to the
2844         manual) dependencies.
2845         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
2846         * sysdeps/mach/hurd/errnos.awk: Likewise.
2848 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2850         * bits/ss_flags.h: New file.
2851         * bits/types/stack_t.h: Likewise.
2852         * include/bits/types/struct_sigstack.h: Likewise.
2853         * signal/bits/types/struct_sigstack.h: Likewise.
2854         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
2855         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
2856         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
2857         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
2858         bits/types/stack_t.h and bits/ss_flags.h.
2859         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
2860         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2861         <bits/ss_flags.h>.
2862         * bits/sigstack.h (struct sigstack): Remove.
2863         (stack_t): Likewise.
2864         (SS_ONSTACK): Likewise.
2865         (SS_DISABLE): Likewise.
2866         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2867         (struct sigstack): Likewise.
2868         (stack_t): Likewise.
2869         (SS_ONSTACK): Likewise.
2870         (SS_DISABLE): Likewise.
2871         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
2872         Likewise.
2873         (stack_t): Likewise.
2874         (SS_ONSTACK): Likewise.
2875         (SS_DISABLE): Likewise.
2876         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
2877         Likewise.
2878         (stack_t): Likewise.
2879         (SS_ONSTACK): Likewise.
2880         (SS_DISABLE): Likewise.
2881         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
2882         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
2883         Likewise.
2884         (stack_t): Likewise.
2885         (SS_ONSTACK): Likewise.
2886         (SS_DISABLE): Likewise.
2887         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2888         (struct sigstack): Likewise.
2889         (stack_t): Likewise.
2890         (SS_ONSTACK): Likewise.
2891         (SS_DISABLE): Likewise.
2892         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
2893         Likewise.
2894         (stack_t): Likewise.
2895         (SS_ONSTACK): Likewise.
2896         (SS_DISABLE): Likewise.
2897         * sysdeps/arm/sys/ucontext.h: Include
2898         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2899         <bits/ss_flags.h>.
2900         * sysdeps/generic/sys/ucontext.h: Likewise.
2901         * sysdeps/i386/sys/ucontext.h: Likewise.
2902         * sysdeps/m68k/sys/ucontext.h: Likewise.
2903         * sysdeps/mips/sys/ucontext.h: Likewise.
2904         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
2905         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
2906         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
2907         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
2908         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
2909         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
2910         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
2911         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
2912         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
2913         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2914         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
2915         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
2916         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
2917         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
2918         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
2920 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2922         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
2923         "edx + ecx - 16" to avoid possible addition overflow.
2924         * sysdeps/x86_64/memchr.S (memchr): Likewise.
2926 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2928         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
2929         (CFLAGS-splice.c): Likewise.
2930         (CFLAGS-open_by_handle_at.c): Likewise.
2931         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
2932         (CFLAGS-splice.c): Likewise.
2933         (CFLAGS-open_by_handle_at.c): Likewise.
2935 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2937         * scripts/versions.awk: Generate ldbl-compat-choose.h.
2938         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
2939         <ldbl-compat-choose.h>.
2940         (maybe_long_double_symbol): New macro.
2941         [!declare_mgen_alias] (declare_mgen_alias): Use
2942         maybe_long_double_symbol.
2943         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
2944         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2945         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2946         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
2947         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2948         * Makerules [$(build-shared) = yes && !avoid-generated]
2949         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
2950         [$(build-shared) = yes && !avoid-generated]
2951         ($(common-objpfx)ldbl-compat-choose.h): New target.
2953         * scripts/versions.awk: Generate first-versions.h.
2954         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
2955         <first-versions.h>.
2956         (LDOUBLE_cabsl_libm_version): Remove macro.
2957         (LDOUBLE_cargl_libm_version): Likewise.
2958         (LDOUBLE_cimagl_libm_version): Likewise.
2959         (LDOUBLE_conjl_libm_version): Likewise.
2960         (LDOUBLE_creall_libm_version): Likewise.
2961         (LDOUBLE_cacosl_libm_version): Likewise.
2962         (LDOUBLE_cacoshl_libm_version): Likewise.
2963         (LDOUBLE_ccosl_libm_version): Likewise.
2964         (LDOUBLE_ccoshl_libm_version): Likewise.
2965         (LDOUBLE_casinl_libm_version): Likewise.
2966         (LDOUBLE_csinl_libm_version): Likewise.
2967         (LDOUBLE_casinhl_libm_version): Likewise.
2968         (LDOUBLE_csinhl_libm_version): Likewise.
2969         (LDOUBLE_catanl_libm_version): Likewise.
2970         (LDOUBLE_catanhl_libm_version): Likewise.
2971         (LDOUBLE_ctanl_libm_version): Likewise.
2972         (LDOUBLE_ctanhl_libm_version): Likewise.
2973         (LDOUBLE_cexpl_libm_version): Likewise.
2974         (LDOUBLE_clogl_libm_version): Likewise.
2975         (LDOUBLE_cprojl_libm_version): Likewise.
2976         (LDOUBLE_csqrtl_libm_version): Likewise.
2977         (LDOUBLE_cpowl_libm_version): Likewise.
2978         (LDOUBLE_clog10l_libm_version): Likewise.
2979         (LDOUBLE___clog10l_libm_version): Likewise.
2980         (LDOUBLE_fdiml_libm_version): Likewise.
2981         (LDOUBLE_fmaxl_libm_version): Likewise.
2982         (LDOUBLE_fminl_libm_version): Likewise.
2983         (LDOUBLE_ilogbl_libm_version): Likewise.
2984         (LDOUBLE_nanl_libm_version): Likewise.
2985         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
2986         FIRST_VERSION_libm_* macros.
2987         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
2988         * Makerules [$(build-shared) = yes && !avoid-generated]
2989         (before-compile): Add $(common-objpfx)first-versions.h.
2990         [$(build-shared) = yes && !avoid-generated]
2991         ($(common-objpfx)first-versions.h): New target.
2992         ($(common-objpfx)sysd-versions): Depend on and change to rule for
2993         building $(common-objpfx)versions.stmp.
2995 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2997         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
2998         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
2999         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
3000         auto-generation list.
3002         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
3003         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
3004         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
3005         from auto-generation list.
3007         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3008         open_by_handle_at.
3009         (CFLAGS-open_by_handle_at.c): New flag.
3010         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
3011         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
3012         file.
3013         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
3015         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
3016         (CFLAGS-splice.c): New flag.
3017         * sysdeps/unix/sysv/linux/splice.c: New file.
3018         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
3019         auto-generation syscall list.
3020         * misc/Makefile (CFLAGS-splice.c): New rule.
3022         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
3023         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
3024         auto-generation syscall list.
3025         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
3026         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
3028         * misc/Makefile (CFLAGS-fsync.c): New flag.
3029         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
3030         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
3031         syscall list.
3032         * sysdeps/unix/sysv/linux/fsync.c: New file.
3033         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
3034         (__errno_location): Remove.
3036         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
3037         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
3038         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
3039         list.
3040         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
3042         * misc/Makefile (CFLAGS-msync.c): New rule.
3043         * nptl/Makefile (CFLAGS-msync.c): Likewise.
3044         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
3045         * sysdeps/unix/sysv/linux/msync.c: New file.
3047         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
3048         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
3049         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
3050         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3051         (CFLAGS-sigsuspend.c): Remove rule.
3053         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
3054         (CFLAGS-tee.c): New rule.
3055         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
3056         auto-generated list.
3057         * sysdeps/unix/sysv/linux/tee.c: New file.
3059         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
3060         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
3061         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
3062         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
3063         auto-generated list.
3065         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
3066         auto-generated list.
3067         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3068         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3069         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
3070         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3071         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3073         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
3074         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
3075         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
3076         (__NR_pause): Undefine.
3077         * sysdeps/unix/sysv/linux/pause.c: New file.
3078         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3079         auto-generation list.
3080         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3081         Remove rule.
3082         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3084 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3086         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3087         comments.
3089 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3091         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3092         LD_HWCAP_MASK.
3094 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3096         * manual/conf.texi: Convert @tables of annotated @items to
3097         @vtables.
3098         * manual/lang.texi: Likewise.
3099         * manual/pattern.texi: Likewise.
3100         * manual/resource.texi: Likewise.
3101         * manual/socket.texi: Likewise.
3103 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3105         * manual/crypt.texi: Move a comment out of an @*x list.
3106         * manual/filesys.texi: Refactor some comments, one of which looks
3107         like a standard.  Fix incorrectly separated standards.
3108         * manual/locale.texi: Invert an annotation.
3109         * manual/resource.texi: Fix incorrectly separated standards.
3110         * manual/time.texi: Refactor a @vtable that obscures an
3111         annotation.
3112         * manual/users.texi: Refactor multiple headers to occupy a single
3113         @comment.
3115 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3117         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3118         (sysdep_routines): Add memcmp-power8.
3119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3120         (memcmp): Add __memcmp_power8 to list of memcmp functions.
3121         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3122         (memcmp): Add __memcmp_power8 to ifunc list.
3123         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3124         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3126 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3127             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3129         * math/math.h (__MATH_TG): Extend the conditions to add
3130         _Float128 support.
3131         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3133 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
3135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3136         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3137         s_cosf-ppc64.
3138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3141         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3143 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3145         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3146         (gen-libm-calls): Add e_exp2F to use the template.
3147         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3148         * math/e_exp2_template.c: New file, renamed from
3149         math/e_exp2l.c, and made into a template.
3150         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
3152 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3154         * elf/dl-tunable-types.h (tunable_type_code_t): New type
3155         TUNABLE_TYPE_UINT_64.
3156         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
3157         Simplify computation of overflow.
3158         (tunable_set_val_if_valid_range_signed,
3159         tunable_set_val_if_valid_range_unsigned): Remove and replace
3160         with this...
3161         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
3162         (tunable_initialize): Adjust.  Add uint64_t support.
3163         (__tunable_set_val): Add uint64_t support.
3164         * README.tunables: Document it.
3166         * scripts/gen-tunables.awk: Recognize 'default' keyword in
3167         dl-tunables.list.
3168         * README.tunables: Document it.
3170 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3172         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
3173         * sysdeps/posix/preadv64.c: Likewise.
3174         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3175         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
3176         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
3177         * sysdeps/posix/pwritev64.c: Likewise.
3178         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3179         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
3180         * sysdeps/posix/preadv_common.c: New file.
3181         * sysdeps/posix/pwritev_common.c: Likewise.
3183 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3185         * sysdeps/generic/math-type-macros-float128.h
3186         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
3187         wrapper templates.
3189 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3190             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3192         * include/complex.h (__kernel_casinhf128): New declaration.
3193         * include/float.h: New file.
3194         * include/math.h (__finitef128): Add a hidden def.
3195         (__isinff128): Likewise.
3196         (__isnanf128): Likewise.
3197         (__fpclassify): Likewise.
3198         (__issignalling): Likewise.
3199         (__expf128): Likewise.
3200         (__expm1f128): Likewise.
3202         * sysdeps/generic/fix-fp-int-convert-overflow.h:
3203         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
3204         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
3206         * sysdeps/generic/math-type-macros-float128.h: New file.
3208         * sysdeps/generic/math_private.h: Include bits/floatn.h and
3209         math_private_calls.h for _Float128.
3210         (__isinff128): New inline implementation used when GCC < 7.0,
3211         since in this case __builtin_isinf_sign is broken.
3212         (fabsf128): New inline implementation that calls the builtin.
3213         (__EXPR_FLT128): New macro.
3214         (min_of_type): Optionally include _Float128 types too.
3216         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
3217         Declare for _Float128.
3218         (__kernel_rem_pio2): Likewise.
3220         * sysdeps/ieee754/ldbl-opt/s_sin.c:
3221         (__DECL_SIMD_sincos_disablef128): New macro.
3223 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3225         * math/math.h: Include bits/math-finite.h for float128.
3226         (__MATH_DECLARING_FLOATN): Define to control declaration of
3227         float128 functions.
3228         * math/bits/math-finite.h (pow10): Do not declare for float128.
3229         (gamma): Likewise.
3230         (scalb): Likewise.
3232 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3233             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3235         * bits/floatn.h: New file.
3236         * bits/huge_val_flt128.h: Likewise.
3238         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
3239         (__DECL_SIMD_sinf128): Likewise.
3240         (__DECL_SIMD_sincosf128): Likewise.
3241         (__DECL_SIMD_logf128): Likewise.
3242         (__DECL_SIMD_expf128): Likewise.
3243         (__DECL_SIMD_powf128): Likewise.
3245         * math/Makefile (headers): Install bits/floatn.h and
3246         bits/huge_val_flt128.h.
3248         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
3249         defined.
3251         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
3252         (isnan, gamma, nexttoward, scalb): Only define if not
3253         __MATH_DECLARING_FLOATN.
3254         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
3255         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
3256         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
3257         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
3259         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
3260         Include bits/cmathcalls.h to get the declarations of _Float128
3261         versions of complex functions.
3262         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
3263         Define macro.
3265         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
3266         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
3267         get the declarations of _Float128 versions of math functions.
3268         (__MATH_DECLARING_FLOATN): New macro to control declaration of
3269         _FloatN types.
3270         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
3271         is type-generic, so use it without __MATH_TG.
3272         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
3273         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
3274         _Float128 type and GCC < 7.0, otherwise use the builtin.
3275         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
3276         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
3277         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
3278         New _GNU_SOURCE enabled macros.
3280 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3282         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
3283         (signbitf): Likewise.
3284         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
3285         Likewise.
3286         (signbitl): Likewise.
3287         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
3288         Likewise.
3289         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
3290         (signbitl): Likewise.
3291         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
3293 2017-05-12  Florian Weimer  <fweimer@redhat.com>
3295         [BZ #21386]
3296         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
3297         parent PID.  The assertion in the child is incorrect with PID
3298         namespaces.
3300 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3302         * sysdeps/unix/sysv/linux/kernel-features.h
3303         (__ASSUME_STATFS_F_FLAGS): Remove macro.
3304         * sysdeps/unix/sysv/linux/internal_statvfs.c
3305         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
3307 2017-05-11  Zack Weinberg  <zackw@panix.com>
3309         * Makerules: New subdir configuration variables 'tests-internal'
3310         and 'test-internal-extras'.  Test files in these categories will
3311         still be compiled with MODULE_NAME=nonlib.  Test files in the
3312         existing categories (tests, xtests, test-srcs, test-extras) are
3313         now compiled with MODULE_NAME=testsuite.
3314         New subdir configuration variable 'modules-names-tests'.  Files
3315         which are in both 'modules-names' and 'modules-names-tests' will
3316         be compiled with MODULE_NAME=testsuite instead of
3317         MODULE_NAME=extramodules.
3318         (gen-as-const-headers): Move to tests-internal.
3319         (do-tests-clean, common-mostlyclean): Support tests-internal.
3320         * Makeconfig (built-modules): Add testsuite.
3321         * Makefile: Change libof-check-installed-headers-c and
3322         libof-check-installed-headers-cxx to 'testsuite'.
3323         * Rules: Likewise.  Support tests-internal.
3324         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
3325         Remove extra-modules.mk.
3327         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
3328         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
3329         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
3330         very top of the file and rationalize their order.
3331         If MODULE_NAME is not defined at all, define IS_IN to always be
3332         false, and don't define _ISOMAC.
3333         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
3334         true, define _ISOMAC and suppress everything else in this file,
3335         starting with the inclusion of config.h.
3336         Do check for inappropriate definitions of __OPTIMIZE__ and
3337         __FAST_MATH__ here, but only if _ISOMAC is not defined.
3338         Correct some out-of-date commentary.
3340         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
3341         and _Mlong_double_ before including math.h.
3342         * include/string.h: If _ISOMAC is defined, don't expose
3343         _STRING_ARCH_unaligned. Move a comment to a more appropriate
3344         location.
3346         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
3347         * include/time.h, include/unistd.h, include/wchar.h: No need to
3348         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
3350         * misc/sys/cdefs.h (__NTHNL): New macro.
3351         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
3352         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
3354         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
3355         defined, for HAVE_TUNABLES.
3356         * inet/tst-checks-posix.c: No need to define _ISOMAC.
3357         * intl/tst-gettext2.c: Provide own definition of N_.
3358         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
3359         * math/test-signgam-main.c: No need to define _ISOMAC.
3360         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
3361         * stdlib/tst-strtod1i.c: ...this new file.
3362         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
3363         Split tests of __strtod_internal to...
3364         * stdlib/tst-strtod5i.c: ...this new file.
3365         * string/test-string.h: Include stdint.h. Duplicate definition of
3366         inhibit_loop_to_libcall here (from libc-symbols.h).
3367         * string/test-strstr.c: Provide dummy definition of
3368         libc_hidden_builtin_def when including strstr.c.
3369         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
3370         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
3371         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3372         Don't include init-arch.h.
3373         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3374         Don't include init-arch.h.
3376         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3377         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3378         unload, unload2, circleload1, neededtest, neededtest2,
3379         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3380         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3381         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3382         ifunc tests to tests-internal.
3383         Don't add $(modules-names) to test-extras.
3384         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3385         Add tst-deadline to tests-static-internal.
3386         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3387         tests-internal.
3388         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3389         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3390         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3391         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3392         tst-sem12-static, and tst-stackguard1-static to tests-internal.
3393         Link tests-internal with libpthread also.
3394         Don't add $(modules-names) to test-extras.
3395         * nss/Makefile: Move tst-field to tests-internal.
3396         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3397         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3398         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3399         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3400         tests-internal.
3401         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3402         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3403         test-get_hwcap-static to tests-internal.
3404         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3405         tests-internal.
3406         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3407         modules-names-tests.
3409 2017-05-11  Zack Weinberg  <zackw@panix.com>
3411         * libio/libio.h: Condition dummy definition of _IO_lock_t on
3412         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3413         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3414         _IO_funlockfile, and _IO_ftrylockfile.  Only define
3415         _IO_cleanup_region_start and _IO_cleanup_region_end if not
3416         already defined.
3417         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3418         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3419         appropriately.
3420         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3421         Define _IO_lock_t_defined after defining _IO_lock_t.
3423 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3425         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3426         void* for argument type and use VDSO_SYMBOL macro.
3427         (is_sigtramp_address_rt): Likewise.
3428         (__backtrace): Setup expected frame pointer address for signal
3429         handling.
3430         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3431         void* for argumetn type and use VSDO_SYMBOL macro.
3432         (__backtrace): Setup expected frame pointer address for signal
3433         handling.
3435         * sysdeps/unix/sysv/linux/writev.c: New file.
3437         * sysdeps/unix/sysv/linux/readv.c: New file.
3439         * include/unistd.h (write): Add hidden proto.
3440         * io/Makefile (CFLAGS-write.c): New define.
3441         * nptl/Makefile (CFLAGS-write.c): Likewise.
3442         * sysdeps/unix/sysv/linux/write.c: New file.
3444         [BZ #21428]
3445         * include/unistd.h (read): Add hidden proto.
3446         * io/Makefile (CFLAGS-read.c): New define.
3447         * nptl/Makefile (CFLAGS-read.c): Likewise.
3448         * sysdeps/unix/sysv/linux/read.c: New file.
3450         * io/Makefile (CFLAGS-creat.c): New rule.
3451         (CFLAGS-creat64.c): Likewise.
3452         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3453         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3454         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3455         * sysdeps/unix/sysv/linux/creat.c: New file.
3456         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3457         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3458         auto-generated list.
3459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3461         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3462         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3463         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3464         * sysdeps/unix/sysv/linux/open.c: New file.
3465         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3466         iff __WORDSIZE != 64 and use __NR_openat when available.
3467         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3468         from auto-generated list.
3470         * nptl/Makefile (CFLAGS-close.c): New flag.
3471         * sysdeps/unix/sysv/linux/close.c: New file.
3473 2017-05-11  DJ Delorie  <dj@redhat.com>
3475         * MAINTAINERS: New.  Points to wiki.
3477 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3479         * scripts/gen-tunables.awk: Add attribute_relro to
3480         tunable_list.
3482 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3484         [BZ #21457]
3485         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3486         (R1): Likewise.
3487         (R2): Likewise.
3488         (R3): Likewise.
3489         (R4): Likewise.
3490         (R5): Likewise.
3491         (R6): Likewise.
3492         (R7): Likewise.
3493         (R8): Likewise.
3494         (R9): Likewise.
3495         (R10): Likewise.
3496         (R11): Likewise.
3497         (R12): Likewise.
3498         (R13): Likewise.
3499         (R14): Likewise.
3500         (R15): Likewise.
3501         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3502         (REG_FS): Likewise.
3503         (REG_ES): Likewise.
3504         (REG_DS): Likewise.
3505         (REG_EDI): Likewise.
3506         (REG_ESI): Likewise.
3507         (REG_EBP): Likewise.
3508         (REG_ESP): Likewise.
3509         (REG_EBX): Likewise.
3510         (REG_EDX): Likewise.
3511         (REG_ECX): Likewise.
3512         (REG_EAX): Likewise.
3513         (REG_TRAPNO): Likewise.
3514         (REG_ERR): Likewise.
3515         (REG_EIP): Likewise.
3516         (REG_CS): Likewise.
3517         (REG_EFL): Likewise.
3518         (REG_UESP): Likewise.
3519         (REG_SS): Likewise.
3520         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3521         (R_D1): Likewise.
3522         (R_D2): Likewise.
3523         (R_D3): Likewise.
3524         (R_D4): Likewise.
3525         (R_D5): Likewise.
3526         (R_D6): Likewise.
3527         (R_D7): Likewise.
3528         (R_A0): Likewise.
3529         (R_A1): Likewise.
3530         (R_A2): Likewise.
3531         (R_A3): Likewise.
3532         (R_A4): Likewise.
3533         (R_A5): Likewise.
3534         (R_A6): Likewise.
3535         (R_A7): Likewise.
3536         (R_SP): Likewise.
3537         (R_PC): Likewise.
3538         (R_PS): Likewise.
3539         (fpregset_t): Likewise.
3540         (MCONTEXT_VERSION): Likewise.
3541         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3542         (CTX_AT): Likewise.
3543         (CTX_V0): Likewise.
3544         (CTX_V1): Likewise.
3545         (CTX_A0): Likewise.
3546         (CTX_A1): Likewise.
3547         (CTX_A2): Likewise.
3548         (CTX_A3): Likewise.
3549         (CTX_T0): Likewise.
3550         (CTX_T1): Likewise.
3551         (CTX_T2): Likewise.
3552         (CTX_T3): Likewise.
3553         (CTX_T4): Likewise.
3554         (CTX_T5): Likewise.
3555         (CTX_T6): Likewise.
3556         (CTX_T7): Likewise.
3557         (CTX_S0): Likewise.
3558         (CTX_S1): Likewise.
3559         (CTX_S2): Likewise.
3560         (CTX_S3): Likewise.
3561         (CTX_S4): Likewise.
3562         (CTX_S5): Likewise.
3563         (CTX_S6): Likewise.
3564         (CTX_S7): Likewise.
3565         (CTX_T8): Likewise.
3566         (CTX_T9): Likewise.
3567         (CTX_K0): Likewise.
3568         (CTX_K1): Likewise.
3569         (CTX_GP): Likewise.
3570         (CTX_SP): Likewise.
3571         (CTX_S8): Likewise.
3572         (CTX_RA): Likewise.
3573         (CTX_MDLO): Likewise.
3574         (CTX_MDHI): Likewise.
3575         (CTX_CAUSE): Likewise.
3576         (CTX_EPC): Likewise.
3577         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3578         inclusion of <sys/procfs.h> on [__USE_MISC].
3579         (greg_t): Condition on [__USE_MISC].
3580         (gregset_t): Likewise.
3581         (fpregset_t): Likewise.
3582         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3583         (NGREG): Likewise.
3584         (gregset_t): Likewise.
3585         (REG_R0): Likewise.
3586         (REG_R1): Likewise.
3587         (REG_R2): Likewise.
3588         (REG_R3): Likewise.
3589         (REG_R4): Likewise.
3590         (REG_R5): Likewise.
3591         (REG_R6): Likewise.
3592         (REG_R7): Likewise.
3593         (REG_R8): Likewise.
3594         (REG_R9): Likewise.
3595         (REG_R10): Likewise.
3596         (REG_R11): Likewise.
3597         (REG_R12): Likewise.
3598         (REG_R13): Likewise.
3599         (REG_R14): Likewise.
3600         (REG_R15): Likewise.
3601         (struct _libc_fpstate): Likewise.
3602         (fpregset_t): Likewise.
3603         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3604         (NFPREG): Likewise.
3605         (gregset_t): Likewise.
3606         (fpregset_t): Likewise.
3607         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3608         (R_D1): Likewise.
3609         (R_D2): Likewise.
3610         (R_D3): Likewise.
3611         (R_D4): Likewise.
3612         (R_D5): Likewise.
3613         (R_D6): Likewise.
3614         (R_D7): Likewise.
3615         (R_A0): Likewise.
3616         (R_A1): Likewise.
3617         (R_A2): Likewise.
3618         (R_A3): Likewise.
3619         (R_A4): Likewise.
3620         (R_A5): Likewise.
3621         (R_A6): Likewise.
3622         (R_A7): Likewise.
3623         (R_SP): Likewise.
3624         (R_PC): Likewise.
3625         (R_PS): Likewise.
3626         (fpregset_t): Likewise.
3627         (MCONTEXT_VERSION): Likewise.
3628         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3629         Likewise.
3630         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3631         (REG_R1): Likewise.
3632         (REG_R2): Likewise.
3633         (REG_R3): Likewise.
3634         (REG_R4): Likewise.
3635         (REG_R5): Likewise.
3636         (REG_R6): Likewise.
3637         (REG_R7): Likewise.
3638         (REG_R8): Likewise.
3639         (REG_R9): Likewise.
3640         (REG_R10): Likewise.
3641         (REG_R11): Likewise.
3642         (REG_R12): Likewise.
3643         (REG_R13): Likewise.
3644         (REG_R14): Likewise.
3645         (REG_R15): Likewise.
3646         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3647         of <arch/abi.h> on [__USE_MISC].
3648         (greg_t): Condition on [__USE_MISC].
3649         (NGREG): Likewise.
3650         (gregset_t): Likewise.
3652 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3654         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3655         (__pthread_rwlock_arch_t): Remove __data definition.
3656         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3657         (__pthread_rwlock_arch_t): Likewise.
3659 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3661         * resolv/inet_pton.c: Reformat in GNU style.  Remove
3662         internal_function on static functions.
3664 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3666         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3667         from format_ai_flags.
3668         (format_ai_flags): New function.  Incorporate flag formatting code
3669         from format_ai_one.
3670         (format_ai_canonname): New function.
3671         (format_ai_one): Remove flags parameter.
3672         (format_ai_family): Likewise.
3673         (support_format_addrinfo): Call format_ai_flags,
3674         format_ai_canonname.
3675         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3676         check_ai.
3677         (check_ai): Call check_ai_hints.
3678         (do_test): Add AI_CANONNAME tests.
3680 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3682         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3683         (gaih_inet): Likewise.
3685 2017-05-10  Andreas Schwab  <schwab@suse.de>
3687         * nptl/tst-fork1.c: Include <support/test-driver.c>.
3688         (main): Rename to do_test and make static.
3690 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
3692         * string/rawmemchr.c: Include <libc-diag.h>.
3693         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3694         with size (size_t)-1.
3696 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3698         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3699         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3700         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3702         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3703         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3704         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3705         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3706         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3707         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3708         * sysdeps/unix/sysv/linux/kernel-features.h
3709         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3710         socket syscalls.
3711         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3712         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3713         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3714         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3715         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3717         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3718         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3719         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3720         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3721         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3722         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3723         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3724         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3725         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3727 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3729         * posix/Makefile (headers): Add pthreadtypes-arch.h and
3730         thread-shared-types.h.
3731         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3732         specific thread definition.
3733         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3734         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3735         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3736         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3737         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3738         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3739         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3740         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3741         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3742         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3743         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3744         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3745         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3746         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3747         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3748         thread definition between POSIX and C11.
3749         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3750         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3751         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3752         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3753         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3754         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3755         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3756         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3757         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3758         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3759         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3760         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3761         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3762         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3763         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3764         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3765         definitions shared across all architectures.
3767 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3769         * sysdeps/unix/sysv/linux/kernel-features.h
3770         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3771         (__ASSUME_SENDMMSG): Likewise.
3772         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3773         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3774         sendmmsg syscall if that can be assumed to be present, socketcall
3775         otherwise, with no fallback for runtime failure.
3777         * sysdeps/unix/sysv/linux/kernel-features.h
3778         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3779         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3780         (__ASSUME_RECVMMSG): Likewise.
3781         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3782         recvmmsg syscall if it can be assumed to be present, socketcall
3783         otherwise, with no fallback for runtime failure.
3785 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3786             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3788         * bits/libc-header-start.h:
3789         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3790         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3791         * manual/creature.texi: Likewise.
3793 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3794             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3796         * math/Makefile:
3797         (type-float128-suffix): New variable
3798         (type-float128-routines): Likewise
3799         (type-float128-yes): Likewise
3800         (types): Append float128 if supported
3801         (types-basic): New variable to control the use of templates for
3802         float, double, and long double, but not for float128 or newer types.
3803         (type-basic-foreach): Likewise.
3805         * sysdeps/ieee754/float128/Makeconfig: New file.
3806         * sysdeps/ieee754/float128/Versions: New file.
3808 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3810         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
3811         Remove macro.
3812         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
3813         prlimit64 is always available and does not give an ENOSYS error.
3814         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
3815         unconditional.
3816         [!__NR_prlimit64]: Remove conditional code.
3817         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
3818         prlimit64 is always available and does not give an ENOSYS error.
3819         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
3821 2017-05-09  Zack Weinberg  <zackw@panix.com>
3823         * sunrpc/tst-xdrmem2.c: Include stdint.h.
3825 2017-05-09  Florian Weimer  <fweimer@redhat.com>
3827         [BZ #21474]
3828         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
3829         (__res_maybe_init): Likewise.
3831 2017-05-09  Zack Weinberg  <zackw@panix.com>
3833         * extra-modules.mk: Delete file.
3834         * cppflags-iterator.mk: Rename to ...
3835         * libof-iterator.mk: ...this.  Adjust comments.
3837         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
3838         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
3839         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
3840         Use libof-iterator.mk instead of cppflags-iterator.mk or
3841         extra-modules.mk.
3843         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
3844         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
3846 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3848         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3850 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
3852         * stdio-common/vfprintf.c (EXTSIZ): Define.
3853         (vfprintf): Use EXTSIZ.
3854         (printf_positional): Likewise.
3856 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3858         * sysdeps/unix/sysv/linux/kernel-features.h
3859         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
3860         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
3861         <kernel-features.h>.
3862         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
3864         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3865         (__ASSUME_GETCPU_SYSCALL): Remove macro.
3867 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3869         Prevent multiple deletion of temporary files.
3870         * support/temp_file.c (struct temp_name_list): Add owner member.
3871         (add_temp_file): Record owner.
3872         (support_delete_temp_files): Delete file only if owner matches.
3873         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
3874         (do_prepare): Use create_temp_file instead of add_temp_file.
3875         Initialize temp_fd1, temp_fd2.
3876         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
3877         framework remove the temporary files.
3878         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
3879         (do_prepare): Use create_temp_file instead of add_temp_file.
3880         Initialize temp_fd1, temp_fd2, temp_fd3.
3881         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
3882         the test framework remove the temporary files.
3883         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
3884         deletion.
3885         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
3886         temporary directory.  It is removed by the test framework.
3887         * dirent/tst-scandir.c (do_test): Likewise.
3889 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3891         Delete temporary files in LIFO order.
3892         * support/temp_file.c (struct temp_name_list): Replace q member
3893         with next.
3894         (add_temp_file): Add new file to front of linked list.
3895         (support_delete_temp_files): Use next member.
3896         (support_print_temp_files): Likewise.
3898 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3900         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3901         sys/ultrasound.h.
3902         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
3904 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3906         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3907         Remove.
3908         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3909         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3910         (arch_minimum_kernel): Remove.
3911         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3912         * README: Update statement about Linux kernel requirements.
3914 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3916         * manual/llio.texi: Add preadv and pwritev documentation.
3918 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3920         [BZ #21455]
3921         * bits/stdint-intn.h: New file.
3922         * bits/stdint-uintn.h: Likewise.
3923         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
3924         bits/stdint-uintn.h.
3925         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
3926         <stdint.h>.
3927         * posix/sys/types.h: Include <bits/stdint-intn.h>.
3928         (__int8_t_defined): Do not define here.
3929         (int8_t): Likewise.
3930         (int16_t): Likewise.
3931         (int32_t): Likewise.
3932         (int64_t): Likewise.
3933         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
3934         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
3935         <stdint.h>.
3936         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
3937         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
3938         <bits/stdint-uintn.h>.
3939         (int8_t): Do not define here.
3940         (int16_t): Likewise.
3941         (int32_t): Likewise.
3942         (int64_t): Likewise.
3943         (uint8_t): Likewise.
3944         (uint16_t): Likewise.
3945         (uint32_t): Likewise.
3946         (uint64_t): Likewise.
3947         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
3948         variable.
3949         (test-xfail-XPG42/netdb.h/conform): Likewise.
3950         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
3951         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3952         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3953         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3955 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3957         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
3958         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
3959         the above.
3960         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3961         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3963 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3965         [BZ #21445]
3966         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
3968         [BZ #21457]
3969         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3970         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
3971         __glibc_reserved1.
3972         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3973         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
3974         (struct _fpxreg): Likewise.
3975         [!__x86_64__] (struct _fpstate): Rename field reserved to
3976         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
3977         [__x86_64__] (struct _fpstate): Rename field padding to
3978         __glibc_reserved1.
3979         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
3980         Rename field reserved2 to __glibc_reserved2.
3981         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
3982         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
3983         __glibc_reserved1.
3984         [__x86_64__] (struct _libc_fpstate): Rename field padding to
3985         __glibc_reserved1.
3987 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3989         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
3990         variable name.
3992 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
3994         [BZ #21391]
3995         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
3996         Only call init_cpu_features.
3997         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
3998         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3999         * sysdeps/i386/dl-procinfo.h: Removed.
4000         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
4001         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
4002         <sysdeps/x86/dl-procinfo.h>.
4003         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
4004         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
4005         Include <sysdeps/x86/dl-procinfo.h> instead of
4006          <sysdeps/generic/dl-procinfo.h>.
4007         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
4008         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
4009         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
4010         (bit_cpu_MOVBE): Likewise.
4011         (bit_cpu_BMI1): Likewise.
4012         (bit_cpu_BMI2): Likewise.
4013         (index_cpu_BMI1): Likewise.
4014         (index_cpu_BMI2): Likewise.
4015         (index_cpu_LZCNT): Likewise.
4016         (index_cpu_MOVBE): Likewise.
4017         (index_cpu_POPCNT): Likewise.
4018         (reg_BMI1): Likewise.
4019         (reg_BMI2): Likewise.
4020         (reg_LZCNT): Likewise.
4021         (reg_MOVBE): Likewise.
4022         (reg_POPCNT): Likewise.
4023         * sysdeps/x86/dl-hwcap.h: New file.
4024         * sysdeps/x86/dl-procinfo.h: Likewise.
4025         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
4026         (_dl_x86_platforms): Likewise.
4028 2017-05-03  DJ Delorie  <dj@redhat.com>
4030         [BZ #21411]
4031         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
4033 2017-05-03  Phil Blundell  <pb@pbcl.net>
4035         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
4036         comments.
4038 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
4040         [BZ #20116]
4041         * nptl/pthread_create.c: Expand comments to describe
4042         semaphore-like and mutex-like uses of PD->lock.
4044 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4046         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
4047         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
4048         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
4049         auto-generation list.
4050         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4051         epoll_wait.
4052         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
4053         Remove epoll_wait.
4055         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4056         osf_select.
4057         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
4058         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
4059         osf_select from auto-generation list.
4060         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4061         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4062         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
4063         * sysdeps/unix/sysv/linux/select.c: New file.
4065         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
4066         * sysdeps/unix/sysv/linux/poll.c: New file.
4067         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
4068         auto-generation list.
4070 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
4072         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
4073         New macro.
4075 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
4077         [BZ #21179]
4078         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4079         R_SPARC_REGISTER relocations.
4081 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4083         * include/unistd.h (__pread): Add libc_hidden_proto.
4084         (__pread64): Likewise.
4085         (__pwrite): Likewise.
4086         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4087         (__pread64): Remove.
4088         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4089         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4090         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4092 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4096 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4098         * nptl/tst-cancel4-common.c: Use libsupport.
4099         * nptl/tst-cancel4-common.h: Likewise.
4100         * nptl/tst-cancel4.c (tf_read): Likewise.
4101         (tf_readv): Likewise.
4102         (tf_write): Likewise.
4103         (tf_writev): Likewise.
4104         (tf_sleep): Likewise.
4105         (tf_usleep): Likewise.
4106         (tf_nanosleep): Likewise.
4107         (tf_select): Likewise.
4108         (tf_pselect): Likewise.
4109         (tf_poll): Likewise.
4110         (tf_ppoll): Likewise.
4111         (tf_wait): Likewise.
4112         (tf_waitpid): Likewise.
4113         (tf_waitid): Likewise.
4114         (tf_sigpause): Likewise.
4115         (tf_sigsuspend): Likewise.
4116         (tf_sigwait): Likewise.
4117         (tf_sigwaitinfo): Likewise.
4118         (tf_sigtimedwait): Likewise.
4119         (tf_pause): Likewise.
4120         (tf_accept): Likewise.
4121         (tf_send): Likewise.
4122         (tf_recv): Likewise.
4123         (tf_recvfrom): Likewise.
4124         (tf_recvmsg): Likewise.
4125         (tf_open): Likewise.
4126         (tf_close): Likewise.
4127         (tf_pread): Likewise.
4128         (tf_pwrite): Likewise.
4129         (tf_preadv): Likewise.
4130         (tf_pwritev): Likewise.
4131         (tf_fsync): Likewise.
4132         (tf_fdatasync): Likewise.
4133         (tf_msync): Likewise.
4134         (tf_sendto): Likewise.
4135         (tf_sendmsg): Likewise.
4136         (tf_creat): Likewise.
4137         (tf_connect): Likewise.
4138         (tf_tcdrain): Likewise.
4139         (tf_msgrcv): Likewise.
4140         (tf_msgsnd): Likewise.
4141         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4142         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4144         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4145         expected arguments.
4146         (do_test): Adapt to use libsupport.
4148 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
4150         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
4152         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
4153         (PF_MAX): Set to 44.
4154         (AF_SMC): New macro.
4156         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4157         kernel version to 4.11.
4159 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4161         [BZ #21280]
4162         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
4163         signal of subnormals and adjust the exponent of power of 2 down
4164         when low part has opposite sign.
4166 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4168         * sysdeps/powerpc/powerpc64le/Implies: New file.
4169         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
4170         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
4171         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
4172         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
4173         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
4174         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
4175         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
4176         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
4177         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
4178         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
4179         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
4180         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
4181         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
4182         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
4183         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
4184         * sysdeps/powerpc/preconfigure: New file.
4185         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
4186         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
4188 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
4190         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
4191         inclusion.
4192         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
4193         Remove.
4195 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
4197         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
4198         (XPG3): Rename standard to XPG4.
4199         * conform/Makefile: Likewise.
4200         * conform/list-header-symbols.pl: Likewise.
4201         * conform/data/aio.h-data: Likewise.
4202         * conform/data/arpa/inet.h-data: Likewise.
4203         * conform/data/complex.h-data: Likewise.
4204         * conform/data/ctype.h-data: Likewise.
4205         * conform/data/dlfcn.h-data: Likewise.
4206         * conform/data/fcntl.h-data: Likewise.
4207         * conform/data/fenv.h-data: Likewise.
4208         * conform/data/float.h-data: Likewise.
4209         * conform/data/fmtmsg.h-data: Likewise.
4210         * conform/data/ftw.h-data: Likewise.
4211         * conform/data/grp.h-data: Likewise.
4212         * conform/data/inttypes.h-data: Likewise.
4213         * conform/data/iso646.h-data: Likewise.
4214         * conform/data/langinfo.h-data: Likewise.
4215         * conform/data/libgen.h-data: Likewise.
4216         * conform/data/limits.h-data: Likewise.
4217         * conform/data/locale.h-data: Likewise.
4218         * conform/data/math.h-data: Likewise.
4219         * conform/data/mqueue.h-data: Likewise.
4220         * conform/data/ndbm.h-data: Likewise.
4221         * conform/data/net/if.h-data: Likewise.
4222         * conform/data/netdb.h-data: Likewise.
4223         * conform/data/netinet/in.h-data: Likewise.
4224         * conform/data/poll.h-data: Likewise.
4225         * conform/data/pthread.h-data: Likewise.
4226         * conform/data/pwd.h-data: Likewise.
4227         * conform/data/sched.h-data: Likewise.
4228         * conform/data/search.h-data: Likewise.
4229         * conform/data/semaphore.h-data: Likewise.
4230         * conform/data/signal.h-data: Likewise.
4231         * conform/data/spawn.h-data: Likewise.
4232         * conform/data/stdbool.h-data: Likewise.
4233         * conform/data/stdint.h-data: Likewise.
4234         * conform/data/stdio.h-data: Likewise.
4235         * conform/data/stdlib.h-data: Likewise.
4236         * conform/data/string.h-data: Likewise.
4237         * conform/data/strings.h-data: Likewise.
4238         * conform/data/stropts.h-data: Likewise.
4239         * conform/data/sys/mman.h-data: Likewise.
4240         * conform/data/sys/resource.h-data: Likewise.
4241         * conform/data/sys/select.h-data: Likewise.
4242         * conform/data/sys/socket.h-data: Likewise.
4243         * conform/data/sys/stat.h-data: Likewise.
4244         * conform/data/sys/statvfs.h-data: Likewise.
4245         * conform/data/sys/time.h-data: Likewise.
4246         * conform/data/sys/timeb.h-data: Likewise.
4247         * conform/data/sys/types.h-data: Likewise.
4248         * conform/data/sys/uio.h-data: Likewise.
4249         * conform/data/sys/un.h-data: Likewise.
4250         * conform/data/sys/wait.h-data: Likewise.
4251         * conform/data/syslog.h-data: Likewise.
4252         * conform/data/termios.h-data: Likewise.
4253         * conform/data/tgmath.h-data: Likewise.
4254         * conform/data/time.h-data: Likewise.
4255         * conform/data/ucontext.h-data: Likewise.
4256         * conform/data/unistd.h-data: Likewise.
4257         * conform/data/utmpx.h-data: Likewise.
4258         * conform/data/varargs.h-data: Likewise.
4259         * conform/data/wchar.h-data: Likewise.
4260         * conform/data/wctype.h-data: Likewise.
4262 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
4264         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
4265         version to 7 branch.
4267 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
4269         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4270         earlyclobber to output operand of sqrt insn.
4271         (__ieee754_sqrtf): Ditto.
4273 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
4275         [BZ #21426]
4276         * misc/bits/types/struct_iovec.h: New file.
4277         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
4278         * include/bits/types/struct_iovec.h: New file.
4279         * bits/uio.h (struct iovec): Replace by inclusion of
4280         <bits/types/struct_iovec.h>.
4281         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
4282         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
4283         of <sys/uio.h>.
4284         * nptl/tst-cancel4.c: Include <sys/uio.h>
4285         * posix/test-errno.c: Likewise.
4286         * support/resolv_test.c: Likewise.
4287         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
4288         Remove.
4289         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4290         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4291         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4293         * conform/data/sys/socket.h-data (*_t): Allow.
4295 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4297         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
4298         assignment.
4300 2017-04-24  Daurnimator  <quae@daurnimator.com>
4301             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4303         [BZ #21340]
4304         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
4305         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
4306         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
4307         valid flags.
4308         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
4309         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
4310         POSIX_SPAWN_SETSID.
4311         * sysdeps/posix/spawni.c (__spawni): Likewise.
4312         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4313         * NEWS: Add note about POSIX_SPAWN_SETSID support.
4315 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4317         * sysdeps/generic/math_private.h: Move the declaration of many
4318         functions to sysdeps/generic/math_private_calls.h.
4319         * sysdeps/generic/math_private_calls.h: New file with the
4320         declarations of the functions removed from math_private.h
4321         macroized by floating-point type.
4323 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4325         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4326         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
4327         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4328         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4329         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4330         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4332 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4334         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4335         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
4336         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
4337         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
4338         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
4339         New Define.
4341 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4343         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
4344         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
4345         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4346         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4347         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4348         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4350 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4352         * sysdeps/s390/multiarch/ifunc-resolve.h
4353         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
4354         * sysdeps/s390/multiarch/8bit-generic.c
4355         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
4356         define ifunc resolvers.
4358 2017-04-21  Florian Weimer  <fweimer@redhat.com>
4360         [BZ #20424]
4361         * manual/memory.texi (Replacing malloc): New section.
4362         (Allocating Storage For Program Data): Reference it.
4363         (The GNU Allocator): Likewise.
4365 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
4367         * stdlib/Versions (__strtod_internal): List explicitly, not as
4368         wildcard.
4369         (__strtof_internal): Likewise.
4370         (__strtold_internal): Likewise.
4371         (__strtol_internal): Likewise.
4372         (__strtoll_internal): Likewise.
4373         (__strtoul_internal): Likewise.
4374         (__strtoull_internal): Likewise.
4375         (__strtoq_internal): Likewise.
4376         (__strtouq_internal): Likewise.
4377         * wcsmbs/Versions (__wcstod_internal): Likewise.
4378         (__wcstof_internal): Likewise.
4379         (__wcstold_internal): Likewise.
4380         (__wcstol_internal): Likewise.
4381         (__wcstoll_internal): Likewise.
4382         (__wcstoul_internal): Likewise.
4383         (__wcstoull_internal): Likewise.
4385 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4387         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4388         struct timespec definition.
4390 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4392         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4394 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4396         * inet/rcmd.c (rresvport_af): Fix typo in comment.
4397         * inet/rexec.c (rexec_af): Likewise.
4399 2017-04-19  Zack Weinberg  <zackw@panix.com>
4401         * posix/tst-mmap-offset.c: Include stdint.h.
4402         * resolv/tst-ns_name_compress.c: Include string.h.
4403         * resolv/tst-resolv-edns.c: Include resolv.h.
4405 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4407         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4408         with __glibc_likely.
4409         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4410         Replace __builtin_expect with __glibc_unlikely.
4411         * resolv/res_init.c (__res_vinit): Likewise.
4412         * resolv/res_query.c (__libc_res_nquery): Likewise.
4413         * resolv/res_send.c (__libc_res_nsend): Likewise.
4415 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4417         [BZ #15722]
4418         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4419         with SOCK_CLOEXEC.
4420         * resolv/res_send.c (send_vc, reopen): Likewise.
4421         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4422         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4423         Likewise.
4424         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4425         * inet/rexec.c (rexec_af): Add comment.
4426         * inet/rcmd.c (rresvport_af): Likewise.
4428 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4430         * nscd/connections.c (have_accept4): Removed definition.
4431         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4432         accept4 works.
4433         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4434         ia64 because that was the first version with accept4 support.
4435         * support/Makefile (libsupport-routines): Add xaccept4.
4436         * support/xsocket.h (xaccept4): Declare.
4437         * support/xaccept4.c: New file.
4438         * socket/tst-accept4.c: New file.
4439         * socket/Makefile (tests): Add tst-accept4.
4440         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4441         definition.
4442         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4443         comment.
4444         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4445         implementation is available.
4446         (accept4): Use the system call if available, otherwise use the
4447         socket call.
4448         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4449         Set to 3.2.18.
4450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4451         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4452         accept4 is unconditionally available in later 3.2 stable kernels.
4453         (__ASSUME_ACCEPT4_SYSCALL): Define.
4454         * sysdeps/unix/sysv/linux/kernel-features.h
4455         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4456         definitions.
4457         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4458         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4460 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4462         * conform/Makefile (tests-special): Do not make addition of
4463         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4464         (generated): Do not make addition of $(conformtest-header-base)
4465         conditional on [$(cross-compiling) = no].
4467         [BZ #21267]
4468         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4469         if defined by <asm/socket.h> and not previously defined.
4470         (IOCSIZE_SHIFT): Likewise.
4471         (IOC_IN): Likewise.
4472         (IOC_INOUT): Likewise.
4473         (IOC_OUT): Likewise.
4475 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4477         [BZ #21396]
4478         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4479         Prefer_No_AVX512 if AVX512ER isn't available.
4480         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4481         (index_arch_Prefer_No_AVX512): Likewise.
4482         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4483         AVX512 version if Prefer_No_AVX512 is set.
4484         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4485         Likewise.
4486         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4487         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4488         Likewise.
4489         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4490         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4491         Likewise.
4492         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4493         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4494         Likewise.
4496 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4498         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4499         Prefer_No_VZEROUPPER if AVX512ER is available.
4500         * sysdeps/x86/cpu-features.h
4501         (bit_cpu_AVX512PF): New.
4502         (bit_cpu_AVX512ER): Likewise.
4503         (bit_cpu_AVX512CD): Likewise.
4504         (bit_cpu_AVX512BW): Likewise.
4505         (bit_cpu_AVX512VL): Likewise.
4506         (index_cpu_AVX512PF): Likewise.
4507         (index_cpu_AVX512ER): Likewise.
4508         (index_cpu_AVX512CD): Likewise.
4509         (index_cpu_AVX512BW): Likewise.
4510         (index_cpu_AVX512VL): Likewise.
4511         (reg_AVX512PF): Likewise.
4512         (reg_AVX512ER): Likewise.
4513         (reg_AVX512CD): Likewise.
4514         (reg_AVX512BW): Likewise.
4515         (reg_AVX512VL): Likewise.
4517 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4519         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4520         O_CLOEXEC is defined.
4521         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4522         * io/Makefile (aux): Remove.
4523         * io/have_o_cloexec.c: Remove file.
4524         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4525         defined and works.
4526         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4527         defined.
4528         * login/utmp_file.c (O_flags): Remove definition.
4529         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4530         O_CLOEXEC works.
4531         (pututline_file): Likewise.
4532         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4533         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4534         definition.
4535         (internal_setgrent): Assume that O_CLOEXEC works.
4536         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4537         Remove definition.
4538         (internal_setgrent): Assume that O_CLOEXEC works.
4539         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4540         definition.
4541         (internal_setpwent): Assume that O_CLOEXEC works.
4542         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4543         definition.
4544         (internal_setspent): Assume that O_CLOEXEC works.
4545         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4546         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4547         O_CLOEXEC is defined and works.
4548         * nss/Makefile (libnss_files-routines): Remove
4549         files-have_o_cloexec.
4550         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4551         defined.
4552         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4553         O_CLOEXEC is defined and works.
4554         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4555         * nss/nss_files/files-have_o_cloexec.c: Remove.
4556         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4557         defined.
4558         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4559         and works.
4560         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4561         definition.
4562         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4563         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4564         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4565         (__opendirat, __opendir): Adjust opendir_oflags call.
4566         (check_have_o_cloexec): Remove.
4567         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4568         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4569         defined.
4570         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4571         Remove definition.
4573 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4575         * include/unistd.h (__have_dup3): Remove declaration.
4576         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4577         dup3 is available.
4578         * libio/freopen64.c (freopen64): Likewise.
4579         * socket/Makefile (aux): Remove have_sock_cloexec.
4580         * socket/have_sock_cloexec.c: Remove file.
4581         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4582         definition.
4583         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4584         Likewise.
4585         * sysdeps/nacl/kernel-features.h: Update comment.
4587 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4589         * include/unistd.h (__have_pipe2): Remove declaration.
4590         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4591         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4592         available.
4593         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4594         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4595         Remove definition.
4597 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4599         * malloc/malloc.c (cfree): Turn into compat symbol.
4600         (__cfree): Remove alias.
4601         * stdlib/stdlib.h (cfree): Remove declaration.
4602         * malloc/malloc.h (cfree): Likewise.
4603         * manual/memory.texi (Freeing after Malloc): Remove cfree.
4604         * malloc/Versions (GLIBC_2.26): Add.
4606 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4608         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4609         (sysdep_routines): Add strrchr-power8.
4610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4611         (strrchr): Add __strrchr_power8 to list of strrchr functions.
4612         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4613         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4614         (strrchr): Add __strrchr_power8 to ifunc list.
4615         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4617 2017-04-17  Rabin Vincent  <rabinv@axis.com>
4619         [BZ #21357]
4620         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4621         Call free() outside of mutex.
4623 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4625         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4626         is defined.
4627         * elf/rtld.c (process_envvars): Likewise.
4628         * sysdeps/posix/shm_open.c (shm_open): Likewise.
4629         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
4630         O_NOFOLLOW directly.
4631         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4633 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4635         [BZ #21369]
4636         Remove EDNS fallback.
4637         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4638         handling.
4639         * resolv/res_send.c (send_dg): Likewise.
4640         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4641         "tcp." prefixes.
4642         (do_test): Send a "formerr."-prefixed query in an attempt to
4643         trigger EDNS fallback.
4645 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4647         [BZ #21361]
4648         Limit EDNS buffer size to 1200 bytes.
4649         * include/resolv.h (__res_nopt): Remove declaration.
4650         * resolv/Makefile (tests): tst-resolv-edns.
4651         (tst-resolv-edns): Link with -lresolv, -lpthread.
4652         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4653         interval [512, 1200].
4654         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4655         we can resize the buffer.
4656         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4657         (__res_nopt): Declare.
4658         * resolv/tst-resolv-edns.c: New file.
4659         * resolv/resolv_test.h (struct resolv_edns_info): Define.
4660         (struct resolv_response_context): Add edns member.
4661         * resolv/resolv_test.c (struct query_info): Add edns member.
4662         (parse_query): Extract EDNS information from the query.
4663         (server_thread_udp_process_one): Propagate EDNS data.
4664         (server_thread_tcp_client): Likewise.
4666 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4668         [BZ #21359]
4669         * resolv/ns_name.c (ns_name_pack): Do not require an additional
4670         byte in the destination buffer.  Avoid out-of-bounds pointer
4671         arithmetic.
4672         * resolv/Makefile (tests): Add tst-ns_name_compress.
4673         (tst-ns_name_compress): Link with -lresolv.
4674         * resolv/tst-ns_name_compress.c: New file.
4675         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4676         (response): Recognize LONG_NAME.
4677         (do_test): Add LONG_NAME tests.
4678         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4679         for ns_name_unpack.  Add tests for ns_name_pton and
4680         ns_name_compress.
4682 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4684         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4685         (res_nisourserver): Remove definition.
4686         (p_section, res_npquery, res_nisourserver): Remove declaration.
4687         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4688         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4689         ... here.
4690         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4691         <resolv.h>.
4692         * resolv/res_query.c: Likewise.
4693         * resolv/res_debug.c (p_section): Define as static.
4695 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4697         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4698         strncat-power8.
4699         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4700         __strncat_power8 to ifunc list.
4701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4702         (strncat): Add __strncat_power8 to list of strncat functions.
4703         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4705 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4707         [BZ #21270]
4708         * posix/tst-mmap-offset.c (do_prepare): New function.
4709         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4710         (do_test_bz21270): New function.
4711         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4712         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4713         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4714         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4715         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4716         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4717         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4718         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4719         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4720         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4721         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4722         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4723         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4724         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4725         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4726         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4727         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4728         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4729         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4730         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4731         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4732         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4733         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4734         from auto-generation list.
4735         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4736         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4737         * sysdeps/unix/sysv/linux/mmap.c: New file.
4738         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4739         offsets and support for mmap2 syscall.
4741         * posix/globtest.sh: Add cleanup routine on trap 0.
4743 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4745         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4746         implementation-specific function name and remove unneeded
4747         macros definition.
4748         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4749         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4750         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4751         name if not defined and pass as parameter to macros accordingly.
4752         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4753         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4755         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4756         implementation-specific function name and remove unneeded
4757         macros definition.
4758         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4759         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4760         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4762         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4763         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4764         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4765         name if not defined and pass as parameter to macros accordingly.
4766         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4767         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4768         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4769         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4770         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4771         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4773         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4774         implementation-specific function name and remove unneeded macros
4775         definition.
4776         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4777         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4778         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4779         function name if not defined and pass as parameter to macros
4780         accordingly.
4781         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4782         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4784         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4785         implementation-specific function name and remove unneeded macros
4786         definition.
4787         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4788         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4789         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4790         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4791         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
4792         not defined and pass as parameter to macros accordingly.
4793         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4794         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4795         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4796         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
4798         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
4799         strcasestr implementation name and remove unneeded macros definition.
4800         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
4801         strstr implementation name and remove unneeded macros definition.
4802         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
4803         name if not defined and pass as parameter to macros accordingly.
4804         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
4806         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
4807         implementation-specific function name and remove unneeded macros
4808         definition.
4809         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
4810         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
4811         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
4812         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
4813         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
4814         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
4815         function name if not defined and pass as parameter to macros
4816         accordingly.
4817         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
4818         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
4819         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
4820         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
4822         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
4823         the strlen implementation name and remove unneeded macros definition.
4824         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
4825         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4826         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
4827         the strnlen implementation name and remove unneeded macros definition.
4828         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
4829         name if not defined and pass as parameter to macros accordingly.
4830         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
4831         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
4832         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4834         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
4835         the implementation-specific function name and remove unneeded
4836         macros definition.
4837         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
4838         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
4839         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4840         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4841         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
4842         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
4843         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4844         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4845         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4846         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
4847         name if not defined and pass as parameter to macros accordingly.
4848         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
4849         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4850         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4851         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
4852         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4853         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4854         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
4855         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4857         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
4858         implementation-specific function name and remove unneeded macros
4859         definition.
4860         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
4861         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
4862         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
4863         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
4864         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
4865         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
4866         function name if not defined.
4867         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
4868         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
4870 2017-04-11  Paul Clarke  <pc@us.ibm.com>
4872         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
4873         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
4874         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
4875         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
4877 2017-04-11  Florian Weimer  <fweimer@redhat.com>
4878             Zack Weinberg  <zackw@panix.com>
4880         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
4881         readdir64 as thread-safe.  Update warning about readdir_r.
4883 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4885         * sysdeps/unix/sysv/linux/x86/Implies: New file.
4886         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
4887         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
4888         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
4889         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
4890         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
4891         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4893 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4895         * sysdeps/i386/dl-procinfo.c: Include
4896         <sysdeps/x86/dl-procinfo.c>.
4897         * sysdeps/x86_64/dl-procinfo.c: Likewise.
4898         * sysdeps/x86/dl-procinfo.c: New file.
4900 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4902         * sysdeps/generic/math_private.h: Remove declarations of
4903         many functions that are already declared in math.h.
4904         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
4905         declaration for __frexpl.
4906         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
4907         the declarations for __scalbnl and fabsl.
4909 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
4911         [BZ #20831]
4912         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
4913         of __mprotect to change protection on the excess portion
4914         to disallow all access.
4916 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
4918         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
4919         HAS_CPU_FEATURE to check for SSE.
4920         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4921         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4922         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
4923         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
4924         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
4925         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
4926         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
4927         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
4928         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4929         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
4930         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4931         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4932         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
4933         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
4934         (index_cpu_SSE): Likewise.
4935         (reg_SSE): Likewise.
4937 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
4939         * posix/getopt1.c: Include <config.h>, not "config.h".
4941 2017-04-07  Zack Weinberg  <zackw@panix.com>
4943         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
4944         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
4945         Mention in top-of-file boilerplate that these files are shared
4946         with gnulib.
4947         * posix/getopt.h, posix/bits/getopt_posix.h:
4948         Mention in top-of-file boilerplate that these files are NOT shared
4949         with gnulib, unlike the rest of the getopt implementation.
4951         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
4952         New files, intended to be shared with gnulib.
4953         * posix/bits/getopt_posix.h:
4954         New file, not intended to be shared with gnulib.
4955         * posix/getopt.h: Now just includes features.h,
4956         bits/getopt_core.h, and bits/getopt_ext.h.  Will
4957         no longer be shared with gnulib.
4958         * include/bits/getopt_core.h, include/bits/getopt_ext.h
4959         * include/bits/getopt_posix.h: New wrappers.
4960         * posix/Makefile: Install new headers.
4961         * posix/unistd.h, libio/stdio.h:
4962         Include bits/getopt_posix.h instead of getopt.h.
4964         * include/libc-symbols.h: For gnulib compatibility, define
4965         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
4966         _GL_ATTRIBUTE_CONST.
4967         * posix/getopt.c (_getopt_initialize): Mark argc and argv
4968         parameters with _GL_UNUSED.
4970         * posix/getopt.c: When used standalone, define __libc_use_alloca
4971         as always false and alloca to abort if called.
4972         (process_long_option): Rewrite handling of ambiguous long options
4973         to use a single boolean vector, not a linked list; use
4974         __libc_use_alloca to decide whether to allocate this using alloca.
4975         * posix/tst-getopt_long1.c: Adjust text of expected error message.
4977         * posix/getopt.c (process_long_option): New function split out
4978         from _getopt_internal_r.
4979         (_getopt_internal_r): Replace both copies of the long-option
4980         processing code with calls to process_long_option.
4981         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
4982         (do_test): Differentiate argv[0] in the two subtests.
4984         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
4985         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
4986         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
4988         * posix/getopt.h: Add backup definition of __nonnull for
4989         consistency with gnulib.  Define __getopt_argv_const to const
4990         if not already defined.
4991         (getopt): Update doc comment from gnulib.  Prototype
4992         unconditionally.  Add __nonnull annotation.
4993         (__posix_getopt): Add __nonnull annotation.
4994         (getopt_long, getopt_long_only): Use __getopt_argv_const in
4995         prototypes for consistency with gnulib.  Add __nonnull
4996         annotations.
4997         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
4998         (getopt_internal): Change 'argv' argument to type 'char **'.
4999         Remove now-unnecessary casts.
5000         (getopt, __posix_getopt): Eliminate repetition with a macro.
5001         Cast 'argv' to 'char **' when calling _getopt_internal.
5002         * posix/getopt1.c (getopt_long, getopt_long_only):
5003         Use __getopt_argv_const for consistency with gnulib.
5004         Cast 'argv' to 'char **' when calling _getopt_internal.
5005         (_getopt_long_r, _getopt_long_only_r):
5006         Change 'argv' argument to type 'char **'.
5007         (main): Constify 'long_options'.
5008         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
5009         (_getopt_long_r, _getopt_long_only_r):
5010         Change 'argv' argument to type 'char **'.
5012         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
5013         (locked_vfxprintf): New helper function. Handle arbitrary
5014         multibyte strings, not just ASCII.
5015         * include/stdio.h: Declare __fxprintf_nocancel.
5016         * posix/getopt.c: When _LIBC is defined, define fprintf to
5017         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
5018         to _IO_funlockfile.  When neither _LIBC nor
5019         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
5020         funlockfile as no-ops.
5021         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
5022         the standalone error-printing code can now be used for libc as
5023         well.  Add an flockfile/funlockfile pair around one case where
5024         the error message is printed in several chunks.  Don't use fputc.
5025         * posix/tst-getopt-cancel.c: New test.
5026         * posix/Makefile: Run it.
5028         * posix/getopt.c (_getopt_internal_r): Don't increment
5029         d->optind a second time when reporting ambiguous -W options.
5031         * posix/getopt_int.h: Include getopt.h.
5032         Use impl-namespace names for all arguments to _getopt_internal and
5033         _getopt_internal_r.
5034         Declare __ordering enum outside the struct.
5035         Harmonize comments with gnulib.
5036         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
5037         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
5038         #ifdef TEST block and make unconditional.  Do not define NULL.
5039         * posix/getopt.c: Partial merge from gnulib, covering the
5040         initial includes and global declarations, commentary, and
5041         a couple of semantically-neutral code changes.
5043         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
5044         Use '...' instead of `...' for quotation marks inside
5045         comments and strings.
5047         * config.h.in (USE_NONOPTION_FLAGS): Remove.
5048         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
5049         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5050         * posix/getopt_int.h: Likewise.
5051         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
5052         __libc_argc and __libc_argv externs, which were only used by
5053         #ifdef USE_NONOPTION_FLAGS blocks.
5054         * posix/getopt_init.c: Remove file.
5055         * posix/Makefile (routines): Remove getopt_init.
5056         * include/getopt.h: Don't declare __getopt_initialize_environment.
5057         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
5058         a comment.
5060 2017-04-07  Florian Weimer  <fweimer@redhat.com>
5062         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
5064 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5066         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
5067         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5068         to __wrap_.udiv.
5069         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
5070         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
5072         * sysdeps/i386/symbol-hacks.h: New file.
5073         * sysdeps/m68k/symbol-hacks.h: New file.
5074         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
5075         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
5076         * sysdeps/unix/sysv/linux/i386/Makefile
5077         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5078         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5079         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5080         * sysdeps/unix/sysv/linux/m68k/Makefile
5081         [$(subdir) = csu] (sysdep_routines): Likewise.
5082         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5083         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5085         [$(subdir) = csu] (sysdep_routines): Likewise.
5086         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5087         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5088         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5089         [$(subdir) = csu] (sysdep_routines): Likewise.
5090         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5091         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5092         * sysdeps/wordsize-32/Makefile: Remove file.
5093         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5094         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5096 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
5098         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5099         (TEST_FUNCTION_ARGV): New.
5101 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5103         * elf/next.c: Import support/test-driver.c instead of
5104         test-skeleton.c and delete TEST_FUNCTION macro definition.
5105         * elf/nodelete.c: Likewise.
5106         * elf/order2.c: Likewise.
5107         * elf/tst-_dl_addr_inside_object.c: Likewise.
5108         * elf/tst-addr1.c: Likewise.
5109         * elf/tst-align.c: Likewise.
5110         * elf/tst-align2.c: Likewise.
5111         * elf/tst-audit11.c: Likewise.
5112         * elf/tst-audit12.c: Likewise.
5113         * elf/tst-audit2.c: Likewise.
5114         * elf/tst-audit9.c: Likewise.
5115         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5116         * elf/tst-deep1.c: Likewise.
5117         * elf/tst-dl-iter-static.c: Likewise.
5118         * elf/tst-dlmodcount.c: Likewise.
5119         * elf/tst-dlmopen1.c: Likewise.
5120         * elf/tst-dlmopen2.c: Likewise.
5121         * elf/tst-dlmopen3.c: Likewise.
5122         * elf/tst-dlopen-aout.c: Likewise.
5123         * elf/tst-dlopenrpath.c: Likewise.
5124         * elf/tst-dlsym-error.c: Likewise.
5125         * elf/tst-execstack-needed.c: Likewise.
5126         * elf/tst-execstack-prog.c: Likewise.
5127         * elf/tst-execstack.c: Likewise.
5128         * elf/tst-global1.c: Likewise.
5129         * elf/tst-gnu2-tls1.c: Likewise.
5130         * elf/tst-latepthread.c: Likewise.
5131         * elf/tst-leaks1.c: Likewise.
5132         * elf/tst-linkall-static.c: Likewise.
5133         (do_test): New function.
5134         * elf/tst-nodelete-opened.c: Likewise.
5135         * elf/tst-nodelete.cc: Likewise.
5136         * elf/tst-nodelete2.c: Likewise.
5137         * elf/tst-noload.c: Likewise.
5138         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5139         * elf/tst-order-main.c: Likewise.
5140         * elf/tst-pathopt.c: Likewise.
5141         * elf/tst-pie2.c: Likewise.
5142         * elf/tst-piemod1.c: Likewise.
5143         * elf/tst-prelink.c: Likewise.
5144         * elf/tst-protected1a.c: Likewise.
5145         * elf/tst-protected1b.c: Likewise.
5146         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5147         and define _GNU_SOURCE macro.
5148         (cmdline_process_function): New function.
5149         * elf/tst-relsort1.c: Likewise.
5150         * elf/tst-stackguard1.c: Likewise, import getopt.h,
5151         and define _GNU_SOURCE macro.
5152         (cmdline_process_function): New function.
5153         * elf/tst-thrlock.c: Likewise.
5154         * elf/tst-tls-dlinfo.c: Likewise.
5155         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
5156         * elf/tst-tls1.c: Likewise.
5157         * elf/tst-tls10.c: Likewise.
5158         * elf/tst-tls11.c: Likewise.
5159         * elf/tst-tls12.c: Likewise.
5160         * elf/tst-tls13.c: Likewise.
5161         * elf/tst-tls14.c: Likewise.
5162         * elf/tst-tls15.c: Likewise.
5163         * elf/tst-tls16.c: Likewise.
5164         * elf/tst-tls17.c: Likewise.
5165         * elf/tst-tls18.c: Likewise.
5166         * elf/tst-tls19.c: Likewise.
5167         * elf/tst-tls2.c: Likewise.
5168         * elf/tst-tls3.c: Likewise.
5169         * elf/tst-tls4.c: Likewise.
5170         * elf/tst-tls5.c: Likewise.
5171         * elf/tst-tls6.c: Likewise.
5172         * elf/tst-tls7.c: Likewise.
5173         * elf/tst-tls8.c: Likewise.
5174         * elf/tst-tls9.c: Likewise.
5175         * elf/tst-tlsalign-extern.c: Likewise.
5176         * elf/tst-tlsalign.c: Likewise.
5177         * elf/tst-unique1.c: Likewise.
5178         * elf/tst-unique2.c: Likewise.
5179         * elf/vismain.c: Likewise.
5181 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5183         * string/test-strnlen.c (do_page_tests): New function
5184         to check length of strings ending at the page boundary.
5185         (test_main): Added call to the do_page_tests function.
5187 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5188             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5190         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5191         (sysdep_routines): Add strnlen-power8.
5192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5193         (strnlen): Add __strnlen_power8 to list of strnlen functions.
5194         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
5195         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
5196         (__strnlen): Add __strnlen_power8 to ifunc list.
5197         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
5199 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5201         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
5202         the TEST_FUNCTION macro definition.
5203         * wcsmbs/tst-mbrtowc2.c: Likewise.
5204         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5205         * wcsmbs/tst-wchar-h.c: Likewise.
5206         * wcsmbs/tst-wcpncpy.c: Likewise.
5207         * wcsmbs/tst-wcrtomb.c: Likewise.
5208         * wcsmbs/tst-wcsnlen.c: Likewise.
5209         * wcsmbs/tst-wcstof.c: Likewise.
5211 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5213         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
5214         CALL_THREAD_FCT macro usage.
5215         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
5216         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
5217         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
5219         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
5220         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5221         (__ASSUME_REQUEUE_PI): Likewise.
5222         * sysdeps/unix/sysv/linux/kernel-features.h
5223         (__ASSUME_REQUEUE_PI): Likewise.
5224         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5225         (__ASSUME_REQUEUE_PI): Likewise.
5226         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5227         (__ASSUME_REQUEUE_PI): Likewise.
5228         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5229         (__ASSUME_REQUEUE_PI): Likewise.
5231 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5233         * resolv/tst-resolv-canonname.c: New file.
5234         * resolv/Makefile (tests): Add tst-resolv-canonname.
5235         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
5237 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5239         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
5240         Declare.
5241         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
5242         (NS_MAXCDNAME): Remove definition.
5243         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5244         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
5245         (NS_MAXCDNAME): Remove definition.
5246         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5248 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5250         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
5251         call whose result is not used.
5253 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5255         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
5256         * resolv/Makefile (tests): Add tst-ns_name.
5257         (tst-ns_name): Link with -lresolv.
5258         (tst-ns_name.out): Depend on the input data file.
5260 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5262         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
5263         Clobber also r14.
5265 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
5267         [BZ #21253]
5268         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
5269         slack space by 32KiB.
5271 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
5273         [BZ #21338]
5274         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
5275         instead of incorrect do_set_arena_test
5277 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5279         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
5280         * math/bits/math-finite.h: Likewise.
5282 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
5284         [BZ #21289]
5285         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
5287 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5289         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
5290         non expected inotify_add_watch and quotactl return.
5292 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5294         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
5295         to int32_t.
5296         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
5297         as returning int32_t.
5299 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5301         * math/math.h: Include bits/math-finite.h once per
5302         floating-point type.
5303         * math/bits/math-finite.h: Macroize all declarations by
5304         floating-point type.
5306 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5308         [BZ #21182]
5309         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
5310         near end of a page.
5311         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
5312         overflow calculation.
5314 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5316         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
5317         (IMPL) Call with 1 instead of 0 as argument.
5319 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5321         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5322         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5323         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5324         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5325         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5326         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5327         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5328         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5329         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5330         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5331         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5332         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5333         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5334         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5335         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5336         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5337         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5338         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5339         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5340         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5341         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5342         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5343         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5344         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5345         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5346         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5347         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5348         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5349         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5350         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5351         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5352         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5353         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5354         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5355         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5356         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5357         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5358         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5359         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5360         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5361         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5362         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5363         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5364         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5365         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5366         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5367         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5368         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5369         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5370         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5371         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5372         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5373         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5374         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5375         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5376         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5377         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5378         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5379         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5380         defined.
5381         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5382         __NR_setgroups32 if defined.
5383         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5384         if defined.
5385         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5386         __NR_setresgid32 is defined.
5387         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5388         __NR_setresuid32 if defined.
5389         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5390         __NR_setreuid32 if defined.
5391         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5392         defined.
5393         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5394         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5395         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5396         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5397         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5398         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5399         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5400         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5401         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5402         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5403         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5404         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5405         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5406         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5407         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5408         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5409         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5410         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5411         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5412         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5413         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5414         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5415         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5416         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5417         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5418         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5419         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5420         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5421         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5422         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5423         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5424         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5425         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5426         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5427         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5428         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5429         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5430         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5431         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5432         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5433         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5434         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5435         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5436         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5437         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5438         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5439         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5440         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5441         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5442         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5443         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5444         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5445         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5446         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5447         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5448         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5449         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5450         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5451         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5452         defined.
5453         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5454         __NR_setgroups32 if defined.
5455         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5456         if defined.
5457         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5458         __NR_setresgid32 is defined.
5459         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5460         __NR_setresuid32 if defined.
5461         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5462         __NR_setreuid32 if defined.
5463         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5464         defined.
5466 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5468         [BZ #21277]
5469         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5470         unconditionally.
5471         (IMAXBEL): Likewise.
5472         (IUTF8): Likewise.
5474 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5476         * sysdeps/aarch64/libm-test-ulps: Update.
5478 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5480         * README.tunables: Updated descriptions.
5481         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5482         * scripts/gen-tunables.awk: Updated the code related to the
5483         commit.
5485 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5487         * benchtests/Makefile (string-benchset): Add memcpy-random.
5488         * benchtests/bench-memcpy-random.c: New file.
5490 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5492         * stdio-common/printf.h (register_printf_modifier): Change the
5493         order of __wur and __THROW.
5494         (register_printf_type): Likewise.
5496 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5498         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5499         test_main ().
5500         (CMDLINE_PROCESS): Use function instead of defined macro.
5501         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5502         <suppport/support.h> to use set_fortify_handler().
5503         * string/bug-envz1.c: Import support/test-driver.c instead of
5504         test-skeleton.c.
5505         * string/bug-strcoll2.c: Likewise.
5506         * string/bug-strtok1.c: Likewise.
5507         * string/stratcliff.c: Likewise.
5508         * string/test-ffs.c: Likewise.
5509         * string/test-memccpy.c: Likewise.
5510         * string/test-memchr.c: Likewise.
5511         * string/test-memcmp.c: Likewise.
5512         * string/test-memcpy.c: Likewise.
5513         * string/test-memmem.c: Likewise.
5514         * string/test-memmove.c: Likewise.
5515         * string/test-memrchr.c: Likewise.
5516         * string/test-memset.c: Likewise.
5517         * string/test-rawmemchr.c: Likewise.
5518         * string/test-strcasecmp.c: Likewise.
5519         * string/test-strcasestr.c: Likewise.
5520         * string/test-strcat.c: Likewise.
5521         * string/test-strchr.c: Likewise.
5522         * string/test-strcmp.c: Likewise.
5523         * string/test-strcpy.c: Likewise.
5524         * string/test-string.h: Likewise.
5525         * string/test-strlen.c: Likewise.
5526         * string/test-strncasecmp.c: Likewise.
5527         * string/test-strncat.c: Likewise.
5528         * string/test-strncmp.c: Likewise.
5529         * string/test-strncpy.c: Likewise.
5530         * string/test-strnlen.c: Likewise.
5531         * string/test-strpbrk.c: Likewise.
5532         * string/test-strrchr.c: Likewise.
5533         * string/test-strspn.c: Likewise.
5534         * string/test-strstr.c: Likewise.
5535         * string/tst-bswap.c: Likewise.
5536         * string/tst-cmp.c: Likewise.
5537         * string/tst-endian.c: Likewise.
5538         * string/tst-inlcall.c: Likewise.
5539         * string/tst-strcoll-overflow.c: Likewise.
5540         * string/tst-strfry.c: Likewise.
5541         * string/tst-strlen.c: Likewise.
5542         * string/tst-strtok.c: Likewise.
5543         * string/tst-strtok_r.c: Likewise.
5544         * string/tst-strxfrm.c: Likewise.
5545         * string/tst-strxfrm2.c: Likewise.
5546         * string/tst-svc.c: Likewise.
5547         * string/tst-svc2.c: Likewise.
5549 2017-03-22  Zack Weinberg  <zackw@panix.com>
5551         * stdio-common/bug25.c: Include stdlib.h.
5552         * support/tst-support_format_dns_packet.c: Include stdio.h,
5553         stdlib.h, and string.h.
5554         * support/tst-support_record_failure.c: Include string.h.
5555         * support/tst-support_record_failure-2.sh: Adjust line number
5556         expectations and correct a typo in an error message.
5558 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5560         [BZ #21258]
5561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5562         Define only if _dl_runtime_resolve is defined to
5563         _dl_runtime_resolve_sse_vex.
5564         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5565         Fallthrough to _dl_runtime_resolve_sse_vex.
5567 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
5569         * INSTALL: Regenerated.
5571 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
5573         * config.h.in: Add LINK_OBSOLETE_NSL.
5574         * config.make.in: Add build-obsolete-nsl.
5575         * configure.ac: Add obsolete-nsl option.
5576         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5577         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5578         * include/rpcsvc/nislib.h: Likewise.
5579         * include/rpcsvc/ypclnt.h: Likewise.
5580         * manual/install.texi: Document --enable-obsolete-nsl.
5581         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5582         * nis/nis_add.c: Replace libnsl_hidden_def with
5583         libnsl_hidden_nolink_def.
5584         * nis/nis_addmember.c: Likewise.
5585         * nis/nis_call.c: Likewise.
5586         * nis/nis_clone_obj.c: Likewise.
5587         * nis/nis_defaults.c: Likeise.
5588         * nis/nis_domain_of_r.c: Likewise.
5589         * nis/nis_error.c: Likewise.
5590         * nis/nis_file.c: Likewise.
5591         * nis/nis_free.c: Likewise.
5592         * nis_local_names.c: Likewise.
5593         * nis/nis_lookup.c: Likewise.
5594         * nis/nis_modify.c: Likewise.
5595         * nis/nis_print.c: Likewise.
5596         * nis/nis_remove.c: Likewise.
5597         * nis/nis_table.c: Likewise.
5598         * nis/nis_util.c: Likewise.
5599         * nis/nis_xdr.c: Likewise.
5600         * nis/yp_xdr.c: Likewise.
5601         * nis/ypclnt.c: Likewise.
5602         * nis/ypupdate_xdr.c: Likewise.
5603         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5604         * nis/nis_clone_dir.c: Likewise.
5605         * nis/nis_clone_res.c: Likewise.
5606         * nis/nis_creategroup.c: Likewise.
5607         * nis/nis_destroygroup.c: Likewise.
5608         * nis/nis_domain_of.c: Likewise.
5609         * nis/nis_getservlist.c: Likewise.
5610         * nis/nis_ismember.c: Likewise.
5611         * nis/nis_mkdir.c: Likewise.
5612         * nis/nis_ping.c: Likewise.
5613         * nis/nis_print_group_entry.c: Likewise.
5614         * nis/nis_removemember.c: Likewise.
5615         * nis/nis_rmdir.c: Likewise.
5616         * nis/nis_server.c: Likewise.
5617         * nis/nis_subr.c: Likewise.
5618         * nis/nis_verifygroup.c: Likewise.
5620 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5622         * malloc/tst-interpose-aux.c (check_for_allocations):
5623         Move compiler barrier before free.
5625 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
5627         [BZ #21279]
5628         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5629         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5630         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5631         x86_64-x32-linux.
5632         (mq_attr.mq_maxmsg): Likewise.
5633         (mq_attr.mq_msgsize): Likewise.
5634         (mq_attr.mq_curmsgs): Likewise.
5636         [BZ #21278]
5637         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5638         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5639         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5640         mips-o32-linux.
5642         [BZ #21268]
5643         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5644         if [__USE_MISC]
5645         (NL3): Likewise.
5647 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
5649         [BZ #21275]
5650         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5651         __stack to __stackbase.
5652         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5653         checks so we can include defined(__ia64__) first.
5655 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
5657         * sysdeps/unix/sysv/linux/ttyname.h: New file.
5658         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5659         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5660         Call is_pty when the link does not exist or does not match, fail
5661         with ENODEV when it returns true.
5662         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5663         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5664         Call is_pty when the link does not exist or does not match, fail
5665         with ENODEV when it returns true.
5667 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
5669         [BZ #16437]
5670         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5671         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5672         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5673         x86_64-x32-linux.
5674         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5675         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5676         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5678         [BZ #21261]
5679         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5680         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5681         names for all fields.
5682         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5683         for jmp_buf field renaming.
5684         (_JMPBUF_UNWINDS_ADJ): Likewise.
5686         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5687         with allow-header.
5689 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
5691         * malloc/malloc.c (unlink): Add consistency check between size and
5692         next->prev->size, to further harden against 1-byte overflows.
5694 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
5696         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5697         CPU_FEATURES_CPU_P.
5699 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
5701         [BZ #21259]
5702         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5703         unconditionally, not just for [__USE_MISC].
5705         [BZ #17786]
5706         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5707         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5708         mips-o32-linux.
5710         [BZ #21260]
5711         * sysdeps/unix/sysv/linux/alpha/Makefile
5712         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5713         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5715         * conform/conformtest.pl ($cross): New variable.
5716         (--cross): New command-line option.
5717         (runtest): Skip test execution when cross-compiling.
5718         * conform/Makefile (conformtest-cross): New variable.
5719         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5720         conformtest.pl.
5722         * conform/conformtest.pl ($xfail_str): New variable.
5723         (--xfail=): New command-line option.
5724         (top level): Handle expectations starting xfail[cond]-.
5725         * conform/Makefile (conformtest-xfail): New variable.
5726         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5727         conformtest.pl.
5729 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5731         * conform/conformtest.pl: Use compilation instead of execution
5732         tests for testing values of constants and usability in #if.
5734 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5736         * math/auto-libm-test-in: Mark some catan and catanh as
5737         xfail-rounding:ibm128-libgcc.
5738         * math/auto-libm-test-out-catan: Regenerate.
5739         * math/auto-libm-test-out-catanh: Likewise.
5741 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5743         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5744         (__END_NAMESPACE_STD): Likewise.
5745         (__USING_NAMESPACE_STD): Likewise.
5746         (__BEGIN_NAMESPACE_C99): Likewise.
5747         (__END_NAMESPACE_C99): Likewise.
5748         (__USING_NAMESPACE_C99): Likewise.
5749         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5750         undefine macro.
5751         (_Mdouble_END_NAMESPACE): Likewise.
5752         * ctype/ctype.h: Do not handle C++ namespaces.
5753         * libio/bits/stdio-ldbl.h: Likewise.
5754         * libio/stdio.h: Likewise.
5755         * locale/locale.h: Likewise.
5756         * math/bits/mathcalls.h: Likewise.
5757         * setjmp/setjmp.h: Likewise.
5758         * signal/signal.h: Likewise.
5759         * stdlib/bits/stdlib-float.h: Likewise.
5760         * stdlib/bits/stdlib-ldbl.h: Likewise.
5761         * stdlib/stdlib.h: Likewise.
5762         * string/string.h: Likewise.
5763         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5764         * time/bits/types/clock_t.h: Likewise.
5765         * time/bits/types/struct_tm.h: Likewise.
5766         * time/bits/types/time_t.h: Likewise.
5767         * time/time.h: Likewise.
5768         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5769         * wcsmbs/uchar.h: Likewise.
5770         * wcsmbs/wchar.h: Likewise.
5771         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5772         * wctype/wctype.h: Do not handle C++ namespaces.
5773         * scripts/begin-end-check.pl: Remove.
5774         * Makefile (installed-headers): Likewise.
5775         (tests-special): Do not add $(objpfx)begin-end-check.out.
5776         ($(objpfx)begin-end-check.out): Remove.
5778 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
5779             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5781         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5782         (DL_PLATFORM_INIT): New define.
5783         (dl_platform_init): New function.
5784         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5785         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5786         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5787         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5788         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5790 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
5792         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
5793         instead of PIC.
5795 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5797         [BZ #21094]
5798         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5799         24+24+24-bit pi for wider range of values around pi/2.
5800         * math/auto-libm-test-in: Add more tests of cos and tan.
5801         * math/auto-libm-test-out-cos: Regenerated.
5802         * math/auto-libm-test-out-tan: Likewise.
5804 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
5806         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
5807         (RTLD_START): Don't record stack end address in _dl_start_user.
5809 2017-03-15  Alexey Neyman  <stilor@att.net>
5811         [BZ #21088]
5812         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
5813         around definitions match those around use.
5815 2017-03-15  Alexey Neyman  <stilor@att.net>
5817         * configure.ac: Avoid empty subexpression in grep.
5818         * configure: Regenerate.
5820 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5822         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
5823         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
5824         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
5825         (test_wrp_rv): Fix format.
5826         (test_wrp_rv2): New macro.
5827         (do_test): Handle mlock return on 64 bits kernels with 32 bits
5828         binaries.
5830 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5832         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
5833         Use a union when storing pointers.
5834         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
5835         cast result when passing to INIT_VEC_PTRS_LOOP.
5836         (VECTOR_WRAPPER_fFF_3): Likewise.
5837         (VECTOR_WRAPPER_fFF_4): Likewise.
5839 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5841         * include/bits/mathcalls-helper-functions.h: New file.
5842         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
5843         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
5844         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
5845         math/bits/mathcalls-helper-functions.h.
5846         * math/bits/mathcalls-helper-functions.h: New file.
5847         * math/math.h: Include bits/mathcalls-helper-functions.h for
5848         float, double, and long double.
5850 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5852         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
5853         instead of feraiseexcept.
5855 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5857         [BZ #21243]
5858         * support/temp_file.c (support_delete_temp_files): Add comment
5859         about ignored errors.
5861 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5863         [BZ #21244]
5864         * support/xclose.c: New file.
5865         * support/Makefile (libsupport-routines): Add xclose.
5866         * support/xunistd.h (xclose): Declare.
5867         * support/resolv_test.c (server_thread_tcp_client)
5868         (server_thread_tcp, make_server_sockets, resolv_test_start)
5869         (resolv_test_end): Call xclose instead of close.
5870         * support/support_enter_network_namespace.c
5871         (support_enter_network_namespace): Likewise.
5872         * support/support_run_diff.c (write_to_temp_file): Likewise.
5874 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5876         * support/support_format_dns_packet.c (support_format_dns_packet):
5877         Handle CNAME records in the response.  Extract RDATA names from
5878         rdata, not the whole packet.  Check AAAA record length.
5879         * support/tst-support_format_dns_packet.c: New file.
5880         * support/Makefile (tests): Add tst-support_format_dns_packet.
5881         (tst-support_format_dns_packet): Link against libresolv.
5883 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5885         [BZ #21232]
5886         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
5887         posix_fadvise64 weak_alias for static build.
5889 2017-03-14  Andreas Schwab  <schwab@suse.de>
5891         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
5892         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
5893         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
5894         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
5895         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
5896         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
5897         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
5898         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
5900 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5902         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
5903         posix error code.
5904         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5906 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5908         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
5909         no_isolate usage for SH.
5911 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
5913         [BZ #15105]
5914         [BZ #19463]
5915         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
5916         * inet/rcmd.c (rcmd_af): Likewise.
5917         * inet/rexec.c   (rexec_af): Likewise.
5918         * intl/dcigettext.c (_LIBC): Likewise.
5919         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
5920         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
5921         * locale/setlocale.c (setlocale): Likewise.
5922         * posix/spawn_faction_addopen.c
5923         (posix_spawn_file_actions_addopen): Likewise.
5924         * stdlib/putenv.c (putenv): Use __strndup.
5925         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
5926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
5927         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
5928         (__Need_M_And_C) Remove define/undef.
5929         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
5930         (__malloc_and_calloc_defined): Remove define.
5931         * string/bits/string2.h (__strdup): Remove define.
5932         (strdup): Likewise.
5933         (__strndup): Likewise.
5934         (strndup): Likewise.
5936 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
5938         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
5939         macro.
5940         (IPV6_ADDR_PREFERENCES): Likewise.
5941         (IPV6_MINHOPCOUNT): Likewise.
5942         (IPV6_ORIGDSTADDR): Likewise.
5943         (IPV6_RECVORIGDSTADDR): Likewise.
5944         (IPV6_TRANSPARENT): Likewise.
5945         (IPV6_UNICAST_IF): Likewise.
5946         (IPV6_RECVFRAGSIZE): Likewise.
5948 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
5950         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
5952 2017-03-12  Alexey Neyman <stilor@att.net>
5954         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
5955         in R_SH_DIR32 case is always false when inlined from
5956         dl-conflict.c. Ifdef out to prevent GCC from insertin an
5958 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
5960         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5961         (__ASSUME_RECV_SYSCALL): Replace duplicate by
5962         __ASSUME_SEND_SYSCALL.
5964 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
5966         * sunrpc/Makefile: don't build and install rpcsvc header
5967         files, rpcgen and librpcsvc.a by default.
5969 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
5971         * math/auto-libm-test-out-catan: Regenerated.
5972         * math/auto-libm-test-out-catanh: Likewise.
5973         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5975 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
5977         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
5978         for long double with corrected test expectations.
5980 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5982         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
5983         Define.
5984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5985         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
5986         * sysdeps/unix/sysv/linux/nios2/sysdep.h
5987         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5988         * sysdeps/unix/sysv/linux/tile/sysdep.h
5989         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5990         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5991         (__ASSUME_RECV_SYSCALL): Define.
5992         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5993         (__ASSUME_RECV_SYSCALL): Likewise.
5994         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5995         (__ASSUME_RECV_SYSCALL): Likewise.
5996         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5997         (__ASSUME_RECV_SYSCALL): Likewise.
5998         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5999         (__ASSUME_RECV_SYSCALL): Likewise.
6000         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6001         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
6002         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6003         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6004         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6005         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6006         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
6007         auto-generation list.
6008         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6009         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6010         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
6011         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6012         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6013         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
6014         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
6015         __ASSUME_SENDTO_SYSCALL.
6016         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
6017         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
6018         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
6020         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
6021         auto-generation list.
6022         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6023         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6024         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6025         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6026         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6027         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6028         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6029         * sysdeps/unix/sysv/linux/kernel-features.h
6030         (__ASSUME_SENDTO_SYSCALL): Define by default.
6031         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6032         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
6033         __NR_sendto.
6034         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6035         (__ASSUME_SENDTO_SYSCALL): Likewise.
6036         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6037         (__ASSUME_SENDTO_SYSCALL): Likewise.
6038         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6039         (__ASSUME_SENDTO_SYSCALL): Remove definition.
6040         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6041         (__ASSUME_SENDTO_SYSCALL): Likewise.
6042         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
6043         (__ASSUME_SENDTO_SYSCALL): Likewise.
6044         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
6046         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
6047         auto-generation list.
6048         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6049         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6050         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6051         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6052         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6053         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6054         (__ASSUME_RECV_SYSCALL): New define.
6055         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6056         (__ASSUME_RECV_SYSCALL): Likewise.
6057         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6058         (__ASSUME_RECV_SYSCALL): Likewise.
6059         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6060         (__ASSUME_RECV_SYSCALL): Likewise.
6061         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6062         (__ASSUME_RECV_SYSCALL): Likewise.
6063         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6064         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6065         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6066         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6067         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6068         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6069         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
6070         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
6071         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
6072         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
6073         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
6074         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
6076         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
6077         auto-generation list.
6078         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6079         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6080         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6081         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6082         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6083         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6084         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6085         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6086         (__ASSUME_RECVFROM_SYSCALL): Define by default.
6087         * sysdeps/unix/sysv/linux/kernel-features.h
6088         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6089         __NR_recvfrom.
6090         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6091         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6092         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6093         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6094         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6095         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6096         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6097         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6098         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6099         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6100         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6101         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6102         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6104         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6105         auto-generation list.
6106         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6107         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6108         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6109         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6110         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6111         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6112         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6113         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6114         * sysdeps/unix/sysv/linux/kernel-features.h
6115         (__ASSUME_CONNECT_SYSCALL): Define.
6116         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6117         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6118         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6119         (__ASSUME_CONNECT_SYSCALL): Likewise.
6120         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6121         (__ASSUME_CONNECT_SYSCALL): Likewise.
6122         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6123         (__ASSUME_CONNECT_SYSCALL): Likewise.
6125         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6126         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6127         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6128         auto-generation list.
6129         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6130         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6131         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6132         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6133         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6134         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6135         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6136         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6137         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6138         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6139         * sysdeps/unix/sysv/linux/kernel-features.h
6140         (__ASSUME_ACCEPT_SYSCALL): New define.
6141         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6142         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6143         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6144         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6145         (__ASSUME_ACCEPT_SYSCALL): Define.
6146         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6147         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6148         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6149         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6150         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6151         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6152         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6153         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6154         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
6156 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
6157             Zack Weinberg  <zackw@panix.com>
6159         * posix/test-errno.c: New file.
6160         * posix/Makefile (tests): Add test-errno.
6161         * sysdeps/unix/sysv/linux/test-errno.c: New file.
6162         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
6164 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
6166         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6168 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6170         * time/tzset.c (compute_offset): Open-code min macro.
6171         (min, max, sign): Remove.
6173 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6175         [BZ #15576]
6176         Remove TZNAME_MAX limit from sysconf.
6177         * include/time.h (__tzname_cur_max, __tzname_max): Remove
6178         declaration.
6179         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
6180         compute_tzname_max.
6181         (compute_tzname_max): Remove.
6182         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
6183         (update_vars): Do not update __tzname_cur_max.
6184         (tzset_internal): Remove argument.
6185         (__tzset): Adjust call to tzset_internal.
6186         (__tz_convert): Likewise.
6188         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
6189         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6190         * manual/conf.texi (Sysconf Definition): Update comment.
6192 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6194         [BZ #21209]
6195         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
6196         AT_SECURE processes.
6197         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
6198         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
6199         (test_child): Likewise.
6200         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
6202 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6204         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
6206 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6208         * sysdeps/s390/atomic-machine.h
6209         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
6210         (__arch_compare_and_exchange_val_8_acq,
6211         __arch_compare_and_exchange_val_16_acq,
6212         __arch_compare_and_exchange_val_32_acq,
6213         __arch_compare_and_exchange_val_64_acq):
6214         Delete macro.
6215         (atomic_compare_and_exchange_val_acq,
6216         atomic_compare_and_exchange_val_rel,
6217         atomic_compare_and_exchange_bool_acq,
6218         catomic_compare_and_exchange_bool_acq,
6219         atomic_exchange_acq, atomic_exchange_rel,
6220         atomic_exchange_and_add_acq,
6221         atomic_exchange_and_add_rel,
6222         catomic_exchange_and_add, atomic_or_val,
6223         atomic_or, catomic_or, atomic_bit_test_set,
6224         atomic_and_val, atomic_and, catomic_and):
6225         Define macros with help of C11 atomic builtins.
6227 2017-03-03  Justus Winter <justus@gnupg.org>
6229         * sysdeps/mach/hurd/ftruncate64.c: New file.
6230         * sysdeps/mach/hurd/truncate64.c: Likewise.
6232 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6234         * time/tzfile.c (NOID): Do not define.
6235         * time/tzset.c (NOID): Likewise.
6237 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6239         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
6241 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6243         * elf/get-dynamic-info.h: Remove header file inclusion guard.
6245 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6247         [BZ #21015]
6248         * manual/install.texi (Configuring and compiling): Document
6249         --enable-bind-now.
6250         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
6251         (build-shlib-helper): Use $(LDFLAGS-lib.so).
6252         (format.lds): Likewise.
6253         [bind-now] (LDFLAGS-c.so): Remove.
6254         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
6255         be R_X86_64_GLOB_DAT.
6256         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
6257         relocation can be R_386_GLOB_DAT.
6258         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
6259         relocaiton can be R_ALPHA_GLOB_DAT.
6260         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
6262 2017-03-01  Zack Weinberg  <zackw@panix.com>
6264         * include/libc-pointer-arith.h: New file.  Define
6265         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
6266         PTR_ALIGN_DOWN here.
6267         * include/libc-internal.h: Definitions of above macros
6268         moved from here.  Don't include libc-diag.h anymore either.
6269         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
6270         Don't include libc-internal.h.
6272         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
6273         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
6274         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
6275         * string/strcoll_l.c, sysdeps/nacl/brk.c
6276         * sysdeps/unix/clock_settime.c
6277         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
6278         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
6279         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6280         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
6281         Don't include libc-internal.h.
6283         * elf/get-dynamic-info.h, iconv/loop.c
6284         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
6285         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
6286         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
6287         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
6288         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6289         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
6290         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6291         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
6292         * sysdeps/ieee754/ldbl-128/k_tanl.c
6293         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6294         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6295         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
6296         Include libc-diag.h instead of libc-internal.h.
6298         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
6299         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
6300         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
6301         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
6302         * sysdeps/unix/sysv/linux/spawni.c
6303         * sysdeps/x86_64/nptl/tls.h:
6304         Include libc-pointer-arith.h instead of libc-internal.h.
6306         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
6307         * sysdeps/x86_64/atomic-machine.h:
6308         Add multiple include guard.
6310         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
6311         * string/strcasestr.c: No need to include config.h.
6312         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6313         sys/auxv.h. Don't include sysdep.h.
6314         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
6316         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
6317         DL_LOOKUP_ADDRESS.
6318         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
6319         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
6320         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
6321         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
6322         of ARTIFICIAL_LIMIT.
6323         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
6324         declaration of __clone2.
6326 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6328         * scripts/backport-support.sh (latest_commit): New file.
6330 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6332         [BZ #20257]
6333         * inet/Makefile (routines): Add deadline.
6334         (tests-static): Add tst-deadline.
6335         * inet/net-internal.h (struct deadline_current_time)
6336         (__deadline_current_time, struct deadline, __deadline_is_infinite)
6337         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
6338         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
6339         * inet/deadline.c: New file.
6340         * inet/tst-deadline.c: Likewise.
6341         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
6342         tst-udp-timeout, tst-udp-garbage.
6343         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
6344         explicitly.
6345         (tst-udp-garbage): Likewise.  Also link against thread library.
6346         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
6347         struct layout is part of the ABI.
6348         (clntudp_call): Rework timeout handling.
6349         * sunrpc/tst-udp-garbage.c: New file.
6350         * sunrpc/tst-udp-nonblocking.c: Likewise.
6351         * sunrpc/tst-udp-timeout.c: Likewise.
6353 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6355         [BZ #5010]
6356         * sunrpc/svc.c (svc_is_mapped): Remove.
6357         (svc_unregister): Obtain mapped status while the service is still
6358         registered.
6359         * sunrpc/Makefile [have-thread-library] (tests): Add
6360         tst-svc_register.
6361         (tst-svc_register): Link against libc.so explicitly and the thread
6362         library.
6363         * sunrpc/tst-svc_register.c: New file.
6365 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
6367         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
6368         * sysdeps/pthread/bits/sigthread.h: Likewise.
6370 2017-02-27  Florian Weimer  <fweimer@redhat.com>
6372         [BZ #21115]
6373         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6374         * sunrpc/Makefile (tests): Add tst-udp-error.
6375         (tst-udp-error): Link against libc.so explicitly.
6376         * sunrpc/tst-udp-error: New file.
6378 2017-02-25  Zack Weinberg  <zackw@panix.com>
6380         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6381         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6383         * sysdeps/generic/math_ldbl.h
6384         * sysdeps/ia64/fpu/math_ldbl.h
6385         * sysdeps/ieee754/ldbl-128/math_ldbl.h
6386         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6387         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6388         * sysdeps/powerpc/fpu/math_ldbl.h
6389         * sysdeps/x86_64/fpu/math_ldbl.h:
6390         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
6391         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6392         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
6393         Add copyright notices.
6395         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6396         Don't use EXTRACT_WORDS64.
6398         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6399         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6400         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6401         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6402         Include math_ldbl.h, not math_private.h.
6404 2017-02-25  Zack Weinberg  <zackw@panix.com>
6406         * include/libc-diag.h: New file.  Define ignore_value,
6407         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6408         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6410         * include/libc-internal.h: Definitions of above macros moved from
6411         here.  Include libc-diag.h.  Add copyright notice.
6413         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6414         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6415         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6416         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6417         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6418         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6419         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6420         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6421         Include libc-diag.h instead of libc-internal.h.
6423         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
6424         call to unsetenv (NULL).
6425         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
6426         call to pthread_mutexattr_destroy (NULL).
6428 2017-02-25  Zack Weinberg  <zackw@panix.com>
6430         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6431         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6432         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
6433         gets was removed from C++ in C++14.
6434         * include/stdio.h: Remove redundant declaration of gets.
6435         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6436         be declared, since we are testing it.
6437         * stdio-common/Makefile (tst-gets.c): Compile with
6438         -Wno-deprecated-declarations.
6439         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6440         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6441         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6442         Compile with -Wno-deprecated-declarations.
6444 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6446         * math/libm-test-support.c (check_ulp): Use LIT() around literal
6447         numbers.
6449 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6451         * resolv/tst-resolv-qtypes.c (domain):
6452         Change type to const pointer to const char.
6454 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
6456         * math/Makefile (libm-tests-generated): Remove variable.
6457         (libm-tests-base-normal): New variable.
6458         (libm-tests-base-finite): Likewise.
6459         (libm-tests-base-inline): Likewise.
6460         (libm-tests-base): Likewise.
6461         (libm-tests-normal): Likewise.
6462         (libm-tests-finite): Likewise.
6463         (libm-tests-inline): Likewise.
6464         (libm-tests-vector): Likewise.
6465         (libm-tests): Define in terms of these new variables.
6466         (libm-tests-for-type): New variable.
6467         (libm-tests.o): Move definition.
6468         (tests): Move addition of $(libm-tests).
6469         (generated): Update for new and removed libm test files.
6470         ($(objpfx)libm-test.c): Remove target.
6471         ($(objpfx)libm-have-vector-test.h): Likewise.
6472         (CFLAGS-test-double-vlen2.c): Remove variable.
6473         (CFLAGS-test-double-vlen4.c): Likewise.
6474         (CFLAGS-test-double-vlen8.c): Likewise.
6475         (CFLAGS-test-float-vlen4.c): Likewise.
6476         (CFLAGS-test-float-vlen8.c): Likewise.
6477         (CFLAGS-test-float-vlen16.c): Likewise.
6478         (CFLAGS-test-float.c): Likewise.
6479         (CFLAGS-test-float-finite.c): Likewise.
6480         (CFLAGS-libm-test-support-float.c): Likewise.
6481         (CFLAGS-test-double.c): Likewise.
6482         (CFLAGS-test-double-finite.c): Likewise.
6483         (CFLAGS-libm-test-support-double.c): Likewise.
6484         (CFLAGS-test-ldouble.c): Likewise.
6485         (CFLAGS-test-ldouble-finite.c): Likewise.
6486         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6487         (libm-test-inline-cflags): New variable.
6488         (CFLAGS-test-ifloat.c): Remove variable.
6489         (CFLAGS-test-idouble.c): Likewise.
6490         (CFLAGS-test-ildouble.c): Likewise.
6491         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6492         dependencies.
6493         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6494         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6495         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6496         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6497         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6498         Likewise.
6499         (dependencies on libm-test-support-*.o): Remove.
6500         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6501         rules using iterators.
6502         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6503         Likewise.
6504         ($(objpfx)libm-test-support-$(o).o): Likewise.
6505         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6506         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6507         instead.
6508         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6509         define rule instead.
6510         * math/README.libm-test: Update.
6511         * math/libm-test-acos.inc: Include libm-test-driver.c.
6512         (do_test): New function.
6513         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6514         (do_test): New function.
6515         * math/libm-test-asin.inc: Include libm-test-driver.c.
6516         (do_test): New function.
6517         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6518         (do_test): New function.
6519         * math/libm-test-atan.inc: Include libm-test-driver.c.
6520         (do_test): New function.
6521         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6522         (do_test): New function.
6523         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6524         (do_test): New function.
6525         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6526         (do_test): New function.
6527         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6528         (do_test): New function.
6529         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6530         (do_test): New function.
6531         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6532         (do_test): New function.
6533         * math/libm-test-carg.inc: Include libm-test-driver.c.
6534         (do_test): New function.
6535         * math/libm-test-casin.inc: Include libm-test-driver.c.
6536         (do_test): New function.
6537         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6538         (do_test): New function.
6539         * math/libm-test-catan.inc: Include libm-test-driver.c.
6540         (do_test): New function.
6541         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6542         (do_test): New function.
6543         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6544         (do_test): New function.
6545         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6546         (do_test): New function.
6547         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6548         (do_test): New function.
6549         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6550         (do_test): New function.
6551         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6552         (do_test): New function.
6553         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6554         (do_test): New function.
6555         * math/libm-test-clog.inc: Include libm-test-driver.c.
6556         (do_test): New function.
6557         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6558         (do_test): New function.
6559         * math/libm-test-conj.inc: Include libm-test-driver.c.
6560         (do_test): New function.
6561         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6562         (do_test): New function.
6563         * math/libm-test-cos.inc: Include libm-test-driver.c.
6564         (do_test): New function.
6565         * math/libm-test-cosh.inc: Include libm-test-driver.c.
6566         (do_test): New function.
6567         * math/libm-test-cpow.inc: Include libm-test-driver.c.
6568         (do_test): New function.
6569         * math/libm-test-cproj.inc: Include libm-test-driver.c.
6570         (do_test): New function.
6571         * math/libm-test-creal.inc: Include libm-test-driver.c.
6572         (do_test): New function.
6573         * math/libm-test-csin.inc: Include libm-test-driver.c.
6574         (do_test): New function.
6575         * math/libm-test-csinh.inc: Include libm-test-driver.c.
6576         (do_test): New function.
6577         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6578         (do_test): New function.
6579         * math/libm-test-ctan.inc: Include libm-test-driver.c.
6580         (do_test): New function.
6581         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6582         (do_test): New function.
6583         * math/libm-test-erf.inc: Include libm-test-driver.c.
6584         (do_test): New function.
6585         * math/libm-test-erfc.inc: Include libm-test-driver.c.
6586         (do_test): New function.
6587         * math/libm-test-exp.inc: Include libm-test-driver.c.
6588         (do_test): New function.
6589         * math/libm-test-exp10.inc: Include libm-test-driver.c.
6590         (do_test): New function.
6591         * math/libm-test-exp2.inc: Include libm-test-driver.c.
6592         (do_test): New function.
6593         * math/libm-test-expm1.inc: Include libm-test-driver.c.
6594         (do_test): New function.
6595         * math/libm-test-fabs.inc: Include libm-test-driver.c.
6596         (do_test): New function.
6597         * math/libm-test-fdim.inc: Include libm-test-driver.c.
6598         (do_test): New function.
6599         * math/libm-test-floor.inc: Include libm-test-driver.c.
6600         (do_test): New function.
6601         * math/libm-test-fma.inc: Include libm-test-driver.c.
6602         (do_test): New function.
6603         * math/libm-test-fmax.inc: Include libm-test-driver.c.
6604         (do_test): New function.
6605         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6606         (do_test): New function.
6607         * math/libm-test-fmin.inc: Include libm-test-driver.c.
6608         (do_test): New function.
6609         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6610         (do_test): New function.
6611         * math/libm-test-fmod.inc: Include libm-test-driver.c.
6612         (do_test): New function.
6613         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6614         (do_test): New function.
6615         * math/libm-test-frexp.inc: Include libm-test-driver.c.
6616         (do_test): New function.
6617         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6618         (do_test): New function.
6619         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6620         (do_test): New function.
6621         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6622         (do_test): New function.
6623         * math/libm-test-hypot.inc: Include libm-test-driver.c.
6624         (do_test): New function.
6625         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6626         (do_test): New function.
6627         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6628         (do_test): New function.
6629         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6630         (do_test): New function.
6631         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6632         (do_test): New function.
6633         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6634         (do_test): New function.
6635         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6636         (do_test): New function.
6637         * math/libm-test-isinf.inc: Include libm-test-driver.c.
6638         (do_test): New function.
6639         * math/libm-test-isless.inc: Include libm-test-driver.c.
6640         (do_test): New function.
6641         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6642         (do_test): New function.
6643         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6644         (do_test): New function.
6645         * math/libm-test-isnan.inc: Include libm-test-driver.c.
6646         (do_test): New function.
6647         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6648         (do_test): New function.
6649         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6650         (do_test): New function.
6651         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6652         (do_test): New function.
6653         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6654         (do_test): New function.
6655         * math/libm-test-iszero.inc: Include libm-test-driver.c.
6656         (do_test): New function.
6657         * math/libm-test-j0.inc: Include libm-test-driver.c.
6658         (do_test): New function.
6659         * math/libm-test-j1.inc: Include libm-test-driver.c.
6660         (do_test): New function.
6661         * math/libm-test-jn.inc: Include libm-test-driver.c.
6662         (do_test): New function.
6663         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6664         (do_test): New function.
6665         * math/libm-test-llogb.inc: Include libm-test-driver.c.
6666         (do_test): New function.
6667         * math/libm-test-llrint.inc: Include libm-test-driver.c.
6668         (do_test): New function.
6669         * math/libm-test-llround.inc: Include libm-test-driver.c.
6670         (do_test): New function.
6671         * math/libm-test-log.inc: Include libm-test-driver.c.
6672         (do_test): New function.
6673         * math/libm-test-log10.inc: Include libm-test-driver.c.
6674         (do_test): New function.
6675         * math/libm-test-log1p.inc: Include libm-test-driver.c.
6676         (do_test): New function.
6677         * math/libm-test-log2.inc: Include libm-test-driver.c.
6678         (do_test): New function.
6679         * math/libm-test-logb.inc: Include libm-test-driver.c.
6680         (do_test): New function.
6681         * math/libm-test-lrint.inc: Include libm-test-driver.c.
6682         (do_test): New function.
6683         * math/libm-test-lround.inc: Include libm-test-driver.c.
6684         (do_test): New function.
6685         * math/libm-test-modf.inc: Include libm-test-driver.c.
6686         (do_test): New function.
6687         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6688         (do_test): New function.
6689         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6690         (do_test): New function.
6691         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6692         (do_test): New function.
6693         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6694         (do_test): New function.
6695         * math/libm-test-nextup.inc: Include libm-test-driver.c.
6696         (do_test): New function.
6697         * math/libm-test-pow.inc: Include libm-test-driver.c.
6698         (do_test): New function.
6699         * math/libm-test-remainder.inc: Include libm-test-driver.c.
6700         (do_test): New function.
6701         * math/libm-test-remquo.inc: Include libm-test-driver.c.
6702         (do_test): New function.
6703         * math/libm-test-rint.inc: Include libm-test-driver.c.
6704         (do_test): New function.
6705         * math/libm-test-round.inc: Include libm-test-driver.c.
6706         (do_test): New function.
6707         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6708         (do_test): New function.
6709         * math/libm-test-scalb.inc: Include libm-test-driver.c.
6710         (do_test): New function.
6711         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6712         (do_test): New function.
6713         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6714         (do_test): New function.
6715         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6716         (do_test): New function.
6717         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6718         (do_test): New function.
6719         * math/libm-test-signbit.inc: Include libm-test-driver.c.
6720         (do_test): New function.
6721         * math/libm-test-significand.inc: Include libm-test-driver.c.
6722         (do_test): New function.
6723         * math/libm-test-sin.inc: Include libm-test-driver.c.
6724         (do_test): New function.
6725         * math/libm-test-sincos.inc: Include libm-test-driver.c.
6726         (do_test): New function.
6727         * math/libm-test-sinh.inc: Include libm-test-driver.c.
6728         (do_test): New function.
6729         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6730         (do_test): New function.
6731         * math/libm-test-tan.inc: Include libm-test-driver.c.
6732         (do_test): New function.
6733         * math/libm-test-tanh.inc: Include libm-test-driver.c.
6734         (do_test): New function.
6735         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6736         (do_test): New function.
6737         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6738         (do_test): New function.
6739         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6740         (do_test): New function.
6741         * math/libm-test-trunc.inc: Include libm-test-driver.c.
6742         (do_test): New function.
6743         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6744         (do_test): New function.
6745         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6746         (do_test): New function.
6747         * math/libm-test-y0.inc: Include libm-test-driver.c.
6748         (do_test): New function.
6749         * math/libm-test-y1.inc: Include libm-test-driver.c.
6750         (do_test): New function.
6751         * math/libm-test-yn.inc: Include libm-test-driver.c.
6752         (do_test): New function.
6753         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6754         (HAVE_VECTOR): Remove macro.
6755         (START): Do not call HAVE_VECTOR.
6756         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6757         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6758         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6759         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6760         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6761         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6762         * math/test-math-vector.h (FUNC_TEST): New macro.
6763         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6764         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6765         (double-vlen4-funcs): Likewise.
6766         (double-vlen4-avx2-funcs): Likewise.
6767         (double-vlen8-funcs): Likewise.
6768         (float-vlen4-funcs): Likewise.
6769         (float-vlen8-funcs): Likewise.
6770         (float-vlen8-avx2-funcs): Likewise.
6771         (float-vlen16-funcs): Likewise.
6772         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6773         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6774         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6775         macro.
6776         (TEST_VECTOR_sin): Likewise.
6777         (TEST_VECTOR_sincos): Likewise.
6778         (TEST_VECTOR_log): Likewise.
6779         (TEST_VECTOR_exp): Likewise.
6780         (TEST_VECTOR_pow): Likewise.
6781         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6782         Likewise.
6783         (TEST_VECTOR_sin): Likewise.
6784         (TEST_VECTOR_sincos): Likewise.
6785         (TEST_VECTOR_log): Likewise.
6786         (TEST_VECTOR_exp): Likewise.
6787         (TEST_VECTOR_pow): Likewise.
6788         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6789         Likewise.
6790         (TEST_VECTOR_sinf): Likewise.
6791         (TEST_VECTOR_sincosf): Likewise.
6792         (TEST_VECTOR_logf): Likewise.
6793         (TEST_VECTOR_expf): Likewise.
6794         (TEST_VECTOR_powf): Likewise.
6795         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
6796         Likewise.
6797         (TEST_VECTOR_sinf): Likewise.
6798         (TEST_VECTOR_sincosf): Likewise.
6799         (TEST_VECTOR_logf): Likewise.
6800         (TEST_VECTOR_expf): Likewise.
6801         (TEST_VECTOR_powf): Likewise.
6802         * math/gen-libm-have-vector-test.sh: Remove file.
6803         * math/libm-test.inc: Likewise.
6804         * math/libm-test-support-double.c: Likewise.
6805         * math/libm-test-support-float.c: Likewise.
6806         * math/libm-test-support-ldouble.c: Likewise.
6807         * math/test-double-finite.c: Likewise.: Likewise.
6808         * math/test-double.c: Likewise.
6809         * math/test-float-finite.c: Likewise.
6810         * math/test-float.c: Likewise.
6811         * math/test-idouble.c: Likewise.
6812         * math/test-ifloat.c: Likewise.
6813         * math/test-ildouble.c: Likewise.
6814         * math/test-ldouble-finite.c: Likewise.
6815         * math/test-ldouble.c: Likewise.
6816         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6817         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
6818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6819         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6820         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6821         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6822         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6823         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
6824         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6825         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6827 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6828            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6830         * math/Makefile: Add wrappers to gen-libm-calls.
6831         * math/w_acos_template.c: New file.
6832         * math/w_acosh_template.c: Likewise.
6833         * math/w_asin_template.c: Likewise.
6834         * math/w_atan2_template.c: Likewise.
6835         * math/w_atanh_template.c: Likewise.
6836         * math/w_cosh_template.c: Likewise.
6837         * math/w_exp10_template.c: Likewise.
6838         * math/w_exp2_template.c: Likewise.
6839         * math/w_exp_template.c: Likewise.
6840         * math/w_fmod_template.c: Likewise.
6841         * math/w_hypot_template.c: Likewise.
6842         * math/w_j0_template.c: Likewise.
6843         * math/w_j1_template.c: Likewise.
6844         * math/w_jn_template.c: Likewise.
6845         * math/w_lgamma_r_template.c: Likewise.
6846         * math/w_lgamma_template.c: Likewise.
6847         * math/w_log10_template.c: Likewise.
6848         * math/w_log2_template.c: Likewise.
6849         * math/w_log_template.c: Likewise.
6850         * math/w_pow_template.c: Likewise.
6851         * math/w_remainder_template.c: Likewise.
6852         * math/w_sinh_template.c: Likewise.
6853         * math/w_sqrt_template.c: Likewise.
6854         * math/w_tgamma_template.c: Likewise.: Likewise.
6855         * sysdeps/generic/math-type-macros-double.h
6856         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
6857         the new wrappers.
6858         * sysdeps/generic/math-type-macros-float.h: Likewise.
6859         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6861 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
6863         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
6864         New enum constant and macro.
6866         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6867         kernel version to 4.10.
6869 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
6871         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
6873 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6877 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6879         * sysdeps/powerpc/tst-set_ppr.c: New file.
6880         Implement test cases for __ppc_set_ppr_* functions.
6881         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
6882         in the list of tests.
6884 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6886         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
6887         instead of test-skeleton.c.
6888         (do_test): Replaced pthread_create and pthread_join with
6889         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
6890         Removed unneeded status variable.
6891         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
6892         instead of test-skeleton.c.
6893         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
6895 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
6897         [BZ #20313]
6898         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6899         201605L, for Unicode 9.
6901 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
6903         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
6904         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6905         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6906         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6907         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6908         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6910 2017-02-19  Zack Weinberg  <zackw@panix.com>
6912         * rt/tst-mqueue4.c: Include stdint.h.
6914 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6916         * sysdeps/arm/libm-test-ulps: Update.
6917         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6918         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6919         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6921 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6923         [BZ #21029]
6924         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
6925         * sysdeps/unix/sysv/linux/i386/Makefile
6926         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
6927         (uses-6-syscall-arguments): Remove.
6928         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
6929         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
6930         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
6931         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
6932         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
6933         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
6934         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
6935         [$(subdir) = misc] (cflags-pselect.o): Likewise.
6936         [$(subdir) = misc] (cflags-pselect.os): Likewise.
6937         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
6938         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
6939         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
6940         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
6941         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
6942         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
6943         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
6944         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
6945         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
6946         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
6947         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
6948         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
6949         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
6950         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
6951         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
6952         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
6953         Likewise.
6954         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
6955         Likewise.
6956         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
6957         Likewise.
6958         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
6959         Likewise.
6960         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
6961         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
6962         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
6963         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
6964         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
6965         ebp on inline assembly.
6966         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
6967         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6968         Set if CAN_USE_REGISTER_ASM_EBP is set.
6970 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
6972         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
6973         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
6975 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6977         * math/auto-libm-test-in: Add tests of catan and catanh.
6978         * math/auto-libm-test-out-catan: New generated file.
6979         * math/auto-libm-test-out-catanh: Likewise.
6980         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
6981         Move tests with finite inputs, except divide-by-zero cases, to
6982         auto-libm-test-in.
6983         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
6984         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
6985         (libm-test-funcs-noauto): Remove catan and catanh.
6986         * sysdeps/i386/fpu/libm-test-ulps: Update.
6987         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6990         * math/auto-libm-test-in: Add tests of casin and casinh.
6991         * math/auto-libm-test-out-casin: New generated file.
6992         * math/auto-libm-test-out-casinh: Likewise.
6993         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
6994         Move tests with finite inputs to auto-libm-test-in.
6995         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
6996         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
6997         (libm-test-funcs-noauto): Remove casin and casinh.
6998         * sysdeps/i386/fpu/libm-test-ulps: Update.
6999         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7002         * math/auto-libm-test-in: Add tests of cacos and cacosh.
7003         * math/auto-libm-test-out-cacos: New generated file.
7004         * math/auto-libm-test-out-cacosh: Likewise.
7005         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
7006         Move tests with finite inputs to auto-libm-test-in.
7007         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
7008         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
7009         (libm-test-funcs-noauto): Remove cacos and cacosh.
7010         * sysdeps/i386/fpu/libm-test-ulps: Update.
7011         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7014         Revert:
7015         2017-02-16  Zack Weinberg  <zackw@panix.com>
7017         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7018         Don't include init-arch.h.
7019         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7020         Don't include init-arch.h.
7022 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7024         [BZ #21171]
7025         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
7026         +Inf and raise divide-by-zero when x is negative.
7027         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7028         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
7029         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
7030         -Inf and raise divide-by-zero when x = +-0.
7031         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7032         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7033         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7034         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7035         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7036         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7037         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7039 2017-02-16  Zack Weinberg  <zackw@panix.com>
7041         * scripts/build-many-glibcs.py (bot_build_mail): If the
7042         bot_config does not contain all of the necessary email-
7043         related settings, just print a warning and continue.
7045 2017-02-16  Zack Weinberg  <zackw@panix.com>
7047         * crypt/md5.h: Test _LIBC with #if defined, not #if.
7048         * dirent/opendir-tst1.c: Include sys/stat.h.
7049         * dirent/tst-fdopendir.c: Include sys/stat.h.
7050         * dirent/tst-fdopendir2.c: Include stdlib.h.
7051         * dirent/tst-scandir.c: Include stdbool.h.
7052         * elf/tst-auditmod1.c: Include link.h and stddef.h.
7053         * elf/tst-tls15.c: Include stdlib.h.
7054         * elf/tst-tls16.c: Include stdlib.h.
7055         * elf/tst-tls17.c: Include stdlib.h.
7056         * elf/tst-tls18.c: Include stdlib.h.
7057         * iconv/tst-iconv6.c: Include endian.h.
7058         * iconvdata/bug-iconv11.c: Include limits.h.
7059         * io/test-utime.c: Include stdint.h.
7060         * io/tst-faccessat.c: Include sys/stat.h.
7061         * io/tst-fchmodat.c: Include sys/stat.h.
7062         * io/tst-fchownat.c: Include sys/stat.h.
7063         * io/tst-fstatat.c: Include sys/stat.h.
7064         * io/tst-futimesat.c: Include sys/stat.h.
7065         * io/tst-linkat.c: Include sys/stat.h.
7066         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
7067         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
7068         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
7069         * io/tst-openat.c: Include stdbool.h.
7070         * io/tst-readlinkat.c: Include sys/stat.h.
7071         * io/tst-renameat.c: Include sys/stat.h.
7072         * io/tst-symlinkat.c: Include sys/stat.h.
7073         * io/tst-unlinkat.c: Include stdbool.h.
7074         * libio/bug-memstream1.c: Include stdlib.h.
7075         * libio/bug-wmemstream1.c: Include stdlib.h.
7076         * libio/tst-fwrite-error.c: Include stdlib.h.
7077         * libio/tst-memstream1.c: Include stdlib.h.
7078         * libio/tst-memstream2.c: Include stdlib.h.
7079         * libio/tst-memstream3.c: Include stdlib.h.
7080         * malloc/tst-interpose-aux.c: Include stdint.h.
7081         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7082         * nptl/tst-basic7.c: Include limits.h.
7083         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7084         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7085         * nptl/tst-cancel4_1.c: Include stddef.h.
7086         * nptl/tst-cancel4_2.c: Include stddef.h.
7087         * nptl/tst-cond16.c: Include limits.h.
7088         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7089         * nptl/tst-cond18.c: Include limits.h.
7090         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7091         * nptl/tst-cond4.c: Include stdint.h.
7092         * nptl/tst-cond6.c: Include stdint.h.
7093         * nptl/tst-stack2.c: Include limits.h.
7094         * nptl/tst-stackguard1.c: Include stddef.h.
7095         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7096         * nptl/tst-tls4moda.c: Include stddef.h.
7097         Don't include stdio.h, unistd.h, or tls.h.
7098         * nptl/tst-tls4modb.c: Include stddef.h.
7099         Don't include stdio.h, unistd.h, or tls.h.
7100         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7101         * posix/tst-getaddrinfo2.c: Include stdio.h.
7102         * posix/tst-getaddrinfo5.c: Include stdio.h.
7103         * posix/tst-pathconf.c: Include sys/stat.h.
7104         * posix/tst-posix_fadvise-common.c: Include stdint.h.
7105         * posix/tst-preadwrite-common.c: Include sys/stat.h.
7106         * posix/tst-regex.c: Include stdint.h.
7107         Don't include spawn.h or spawn_int.h.
7108         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7109         * posix/tst-vfork3.c: Include sys/stat.h.
7110         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7111         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7112         * resolv/tst-resolv-search.c: Include stdlib.h.
7113         * stdio-common/tst-fmemopen2.c: Include stdint.h.
7114         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7115         * stdlib/test-canon.c: Include sys/stat.h.
7116         * stdlib/tst-tls-atexit.c: Include stdbool.h.
7117         * string/test-memchr.c: Include stdint.h.
7118         * string/tst-cmp.c: Include stdint.h.
7119         * sysdeps/pthread/tst-timer.c: Include stdint.h.
7120         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7121         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7122         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7123         Don't include init-arch.h.
7124         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7125         Don't include init-arch.h.
7126         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7127         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7128         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7129         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7130         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7131         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7132         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7133         * time/clocktest.c: Include stdint.h.
7134         * time/tst-posixtz.c: Include stdint.h.
7135         * timezone/tst-timezone.c: Include stdint.h.
7137 2017-02-16  Zack Weinberg  <zackw@panix.com>
7139         * string/string.h [__USE_MISC]: Include strings.h.
7140         (__bzero, bcmp, bcopy, bzero, index, rindex)
7141         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7142         (ffs, ffsl, ffsll): Don't declare.
7143         * string/strings.h: Do not suppress the file if string.h has
7144         already been included.
7145         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7146         annotations.
7147         (index, rindex): Define inline forwarders even if
7148         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7149         (ffs): Use __attribute_const__.
7150         (ffsl, ffsll): Declare here.
7151         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
7152         have now been standardized.
7153         * include/string.h (__bzero): Declare here.
7155         * bits/types.h: Move to posix/bits.
7156         * include/bits/types.h: New wrapper.
7158 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7160         * string/bits/string2.h (strcmp): Remove define.
7161         (__strcmp_cg): Likewise.
7162         (strncmp): Likewise.
7164 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7166         * include/string.h: Add __cplusplus check.
7168 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7170         [BZ #21134]
7171         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
7172         "divide by zero" exception when the input is zero.
7173         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
7174         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
7175         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
7176         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
7177         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7179 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
7181         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
7182         and include ...
7183         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
7184         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
7185         to, and include ...
7186         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
7187         file.
7188         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
7189         and include ...
7190         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
7191         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
7192         and include ...
7193         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
7194         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
7195         and include ...
7196         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
7197         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
7198         and include ...
7199         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
7200         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
7201         to, and include ...
7202         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
7203         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
7204         and include ...
7205         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
7207 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
7209         * math/libm-test-support.h: Do not include <math-tests-arch.h>
7210         here.
7211         * math/libm-test-support.c (libm_test_init): Do not call
7212         INIT_ARCH_EXT here.
7213         * math/libm-test-driver.c: Include <math-tests-arch.h>.
7214         (main): Call INIT_ARCH_EXT.
7216 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7218         [BZ #21130]
7219         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
7220         with the "invalid" exception raised when x is -Inf.
7221         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7223 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
7225         * string/bits/string2.h (strchr): Remove define.
7227 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
7229         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
7230         tst-avx512.
7231         (test-extras): Add tst-avx-aux and tst-avx512-aux.
7232         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
7233         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
7234         ($(objpfx)tst-sse): New rule.
7235         ($(objpfx)tst-avx): Likewise.
7236         ($(objpfx)tst-avx512): Likewise.
7237         (CFLAGS-tst-avx-aux.c): New.
7238         (CFLAGS-tst-avxmod.c): Likewise.
7239         (CFLAGS-tst-avx512-aux.c): Likewise.
7240         (CFLAGS-tst-avx512mod.c): Likewise.
7241         * sysdeps/x86_64/tst-avx-aux.c: New file.
7242         * sysdeps/x86_64/tst-avx.c: Likewise.
7243         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
7244         * sysdeps/x86_64/tst-avx512.c: Likewise.
7245         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
7246         * sysdeps/x86_64/tst-avxmod.c: Likewise.
7247         * sysdeps/x86_64/tst-sse.c: Likewise.
7248         * sysdeps/x86_64/tst-ssemod.c: Likewise.
7250 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7252         * math/auto-libm-test-in: Add more tests of csin and csinh.
7253         * math/auto-libm-test-out-csin: Regenerated.
7254         * math/auto-libm-test-out-csinh: Likewise.
7255         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
7256         auto-libm-test-in.
7257         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
7259 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7261         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
7262         libm-compat-calls-auto.
7263         (libm-compat-calls): Likewise.
7264         (libm-compat-calls-auto): Rename to libm-compat-calls and add
7265         w_lgamma_compatF and k_standardF (merged from the items above).
7266         (libm-routines): Use libm-compat-calls, instead of
7267         libm-compat-calls-auto, with type-foreach.
7269 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7271         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
7272         macro.
7273         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
7274         (CFLAGS-test-ifloat.c): ... this.  Remove
7275         -U__LIBC_INTERNAL_MATH_INLINES.
7276         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
7277         (CFLAGS-test-idouble.c): ... this.  Remove
7278         -U__LIBC_INTERNAL_MATH_INLINES.
7279         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
7280         (CFLAGS-test-ildouble.c): ... this.  Remove
7281         -U__LIBC_INTERNAL_MATH_INLINES.
7283 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
7285         * math/libm-test-support.c: New file.  Content from
7286         math/libm-test-driver.c.
7287         * math/libm-test-support.h: Likewise.
7288         * math/libm-test-support-double.c: New file.
7289         * math/libm-test-support-float.c: Likewise.
7290         * math/libm-test-support-ldouble.c: Likewise.
7291         * math/libm-test-driver.c: Remove main comment and header
7292         includes.  Include libm-test-support.h.
7293         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
7294         (flag_test_errno): Remove static.
7295         (flag_test_exceptions): Likewise.
7296         (flag_test_finite): Likewise.
7297         (flag_test_inline): Likewise.
7298         (flag_test_mathvec): Likewise.
7299         (test_msg): Likewise.
7300         (NO_EXCEPTION): Remove.
7301         (INVALID_EXCEPTION): Likewise.
7302         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7303         (OVERFLOW_EXCEPTION): Likewise.
7304         (UNDERFLOW_EXCEPTION): Likewise.
7305         (INEXACT_EXCEPTION): Likewise.
7306         (INVALID_EXCEPTION_OK): Likewise.
7307         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7308         (OVERFLOW_EXCEPTION_OK): Likewise.
7309         (UNDERFLOW_EXCEPTION_OK): Likewise.
7310         (NO_INEXACT_EXCEPTION): Likewise.
7311         (EXCEPTIONS_OK): Likewise.
7312         (IGNORE_ZERO_INF_SIGN): Likewise.
7313         (TEST_NAN_SIGN): Likewise.
7314         (TEST_NAN_PAYLOAD): Likewise.
7315         (NO_TEST_INLINE): Likewise.
7316         (XFAIL_TEST): Likewise.
7317         (ERRNO_UNCHANGED): Likewise.
7318         (ERRNO_EDOM): Likewise.
7319         (ERRNO_ERANGE): Likewise.
7320         (IGNORE_RESULT): Likewise.
7321         (NON_FINITE): Likewise.
7322         (TEST_SNAN): Likewise.
7323         (NO_TEST_MATHVEC): Likewise.
7324         (__CONCATX): Likewise.
7325         (TYPE_MIN): Likewise.
7326         (TYPE_TRUE_MIN): Likewise.
7327         (TYPE_MAX): Likewise.
7328         (MIN_EXP): Likewise.
7329         (MAX_EXP): Likewise.
7330         (MANT_DIG): Likewise.
7331         (FSTR_MAX): Likewise.
7332         (ulp_idx): Likewise.
7333         (qtype_str): Remove static.
7334         (TEST_COND_binary32): Remove.
7335         (TEST_COND_binary64): Likewise.
7336         (TEST_COND_binary128): Likewise.
7337         (TEST_COND_ibm128): Likewise.
7338         (TEST_COND_intel96): Likewise.
7339         (TEST_COND_m68k96): Likewise.
7340         (TEST_COND_ibm128_libgcc): Likewise.
7341         (XFAIL_IBM128_LIBGCC): Likewise.
7342         (PAYLOAD_DIG): Likewise.
7343         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7344         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7345         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7346         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7347         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7348         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7349         (TEST_COND_long32): Likewise.
7350         (TEST_COND_long64): Likewise.
7351         (TEST_COND_before_rounding): Likewise.
7352         (TEST_COND_after_rounding): Likewise.
7353         (ulps_file_name): Likewise.
7354         (ulps_file): Likewise.
7355         (output_ulps): Likewise.
7356         (output_dir): Likewise.
7357         (noErrors): Likewise.
7358         (noTests): Likewise.
7359         (noExcTests): Likewise.
7360         (noErrnoTests): Likewise.
7361         (verbose): Likewise.
7362         (output_max_error): Likewise.
7363         (output_points): Likewise.
7364         (ignore_max_ulp): Likewise.
7365         (max_error): Likewise.
7366         (real_max_error): Likewise.
7367         (imag_max_error): Likewise.
7368         (prev_max_error): Likewise.
7369         (prev_real_max_error): Likewise.
7370         (prev_imag_max_error): Likewise.
7371         (max_valid_error): Likewise.
7372         (TYPE_DECIMAL_DIG): Likewise.
7373         (TYPE_HEX_DIG): Likewise.
7374         (fmt_ftostr): Likewise.
7375         (compare_ulp_data): Likewise.
7376         (find_ulps): Likewise.
7377         (init_max_error): Likewise.
7378         (set_max_error): Likewise.
7379         (print_float): Likewise.
7380         (print_screen): Likewise.
7381         (print_screen_max_error): Likewise.
7382         (update_stats): Likewise.
7383         (print_function_ulps): Likewise.
7384         (print_complex_function_ulps): Likewise.
7385         (fpstack_test): Likewise.
7386         (print_max_error): Likewise.
7387         (print_complex_max_error): Likewise.
7388         (test_single_exception): Likewise.
7389         (test_exceptions): Likewise.
7390         (test_single_errno): Likewise.
7391         (test_errno): Likewise.
7392         (ULPDIFF): Likewise.
7393         (ulp): Likewise.
7394         (check_float_internal): Likewise.
7395         (check_float): Likewise.
7396         (check_complex): Likewise.
7397         (check_int): Likewise.
7398         (check_long): Likewise.
7399         (check_bool): Likewise.
7400         (check_longlong): Likewise.
7401         (check_intmax_t): Likewise.
7402         (check_uintmax_t): Likewise.
7403         (enable_test): Likewise.
7404         (matherr): Likewise.
7405         (initialize): Likewise.
7406         (options): Likewise.
7407         (doc): Remove static.
7408         (argp): Likewise.
7409         (parse_opt): Remove.
7410         (check_ulp): Likewise.
7411         (libm_test_init): Likewise.
7412         (libm_test_finish): Likewise.
7413         * math/Makefile (libm-test-support): New variable.
7414         (test-extras): Add libm-test-support files.
7415         (extra-test-objs): Likewise.
7416         (CFLAGS-libm-test-support-float.c): New variable.
7417         (CFLAGS-libm-test-support-double.c): Likewise.
7418         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7419         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7420         libm-test-support objects.
7422 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7424         * math/Makefile (libm-calls): Move w_exp...
7425         (libm-compat-calls-auto): Here.
7427         * math/w_expl.c: Add suffix "_compat" to filename.
7428         * sysdeps/ia64/fpu/w_expl.c: Likewise.
7429         * sysdeps/ia64/fpu/w_expf.c: Likewise.
7430         * sysdeps/ia64/fpu/w_exp.c: Likewise.
7431         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7432         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7433         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7434         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7435         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7437         * math/w_expl_compat.c: New file, copied from above.
7438         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7439         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7440         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7441         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7442         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7443         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7444         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7445         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7447         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7448         to filename.
7449         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7451         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7452         copied from above and adjusted for the new filenames.
7453         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7455 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7457         * math/Makefile (libm-calls): Move w_lgammaF...
7458         (libm-compat-calls-auto): Here.
7460         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7461         * math/w_lgammaf.c: Likewise.
7462         * math/w_lgammal.c: Likewise.
7464         * math/w_lgamma_compat2.c: New file, copied from above.
7465         * math/w_lgammaf_compat2.c: Likewise.
7466         * math/w_lgammal_compat2.c: Likewise.
7468 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7470         * math/Makefile (libm-calls): Move w_lgammaF_r...
7471         (libm-compat-calls-auto): Here.
7473         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7474         * math/w_lgammaf_r.c: Likewise.
7475         * math/w_lgammal_r.c: Likewise.
7476         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7477         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7478         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7480         * math/w_lgamma_r_compat.c: New file, copied from above.
7481         * math/w_lgammaf_r_compat.c: Likewise.
7482         * math/w_lgammal_r_compat.c: Likewise.
7483         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7484         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7485         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7487         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7488         to filename.
7489         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7491         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7492         copied from above and adjusted for the new filenames.
7493         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7495 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7497         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7498         calculation in SYSCALL_ERROR_HANDLER().
7500 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7502         * manual/contrib.texi: Fix typo.
7504 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7506         [BZ #21109]
7507         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7508         tunable_val_t as argument.
7509         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7510         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7511         argument.
7512         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7514 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7516         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7517         Add PTRACE_EVENT_STOP.
7518         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7519         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7520         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7521         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7522         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7523         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7525 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7527         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7528         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7529         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7530         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7531         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7532         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7533         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7534         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7535         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7536         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7538         [BZ #21112]
7539         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7540         12 bits zero.
7541         (cp_l): Update for new value of cp_h.
7542         * math/auto-libm-test-in: Add another test of pow.
7543         * math/auto-libm-test-out-pow: Regenerated.
7545 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7547         * manual/contrib.texi: Fix typo.
7549 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7551         [BZ #15998]
7552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7553         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7556 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7558         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7559         STRCHR as __strchr_power8.
7560         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7561         strlen as __strlen_power8.
7563 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7565         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7566         unaligned load for shorter strings.
7567         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7569 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7571         * math/libm-test-driver.c (flag_test_errno): New variable.
7572         (flag_test_exceptions): Likewise.
7573         (flag_test_finite): Likewise.
7574         (flag_test_inline): Likewise.
7575         (flag_test_mathvec): Likewise.
7576         (test_msg): Likewise.
7577         (ulp_idx): Likewise.
7578         (qtype_str): Likewise.
7579         (ULP_IDX): Remove macro.
7580         (QTYPE_STR): Likewise.
7581         (find_ulps): Use ulp_idx not ULP_IDX.
7582         (print_function_ulps): Use qtype_str, printed with %s, not
7583         QTYPE_STR, printed with concatentation to format string.
7584         (print_complex_function_ulps): Likewise.
7585         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7586         (test_errno): Use flag_test_errno not TEST_ERRNO.
7587         (enable_test): Use flag_test_inline, flag_test_finite and
7588         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7589         TEST_MATHVEC.
7590         (libm_test_init): New function.  Factored out of main.
7591         (libm_test_finish): Likewise.
7592         (main): Call libm_test_init and libm_test_finish and move most
7593         code to those functions.
7595         * math/libm-test-driver.c (STRX): New macro.
7596         (STR): Likewise.
7597         (STR_FLOAT): Likewise.
7598         (STR_VEC_LEN): Likewise.
7599         (TEST_MSG): Likewise.  Define here instead of expecting to be
7600         defined by including file.
7601         * math/test-double-finite.c (TEST_MSG): Remove macro.
7602         * math/test-double-vlen2.h (TEST_MSG): Likewise.
7603         * math/test-double-vlen4.h (TEST_MSG): Likewise.
7604         * math/test-double-vlen8.h (TEST_MSG): Likewise.
7605         * math/test-double.c (TEST_MSG): Likewise.
7606         * math/test-float-finite.c (TEST_MSG): Likewise.
7607         * math/test-float-vlen16.h (TEST_MSG): Likewise.
7608         * math/test-float-vlen4.h (TEST_MSG): Likewise.
7609         * math/test-float-vlen8.h (TEST_MSG): Likewise.
7610         * math/test-float.c (TEST_MSG): Likewise.
7611         * math/test-idouble.c (TEST_MSG): Likewise.
7612         * math/test-ifloat.c (TEST_MSG): Likewise.
7613         * math/test-ildouble.c (TEST_MSG): Likewise.
7614         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7615         * math/test-ldouble.c (TEST_MSG): Likewise.
7617         * math/libm-test.inc: Move all tests of individual functions to
7618         libm-test-*.inc and #include libm-test-*.c files.
7619         (acos_test_data): Remove.
7620         (acos_test): Likewise.
7621         (acosh_test_data): Likewise.
7622         (acosh_test): Likewise.
7623         (asin_test_data): Likewise.
7624         (asin_test): Likewise.
7625         (asinh_test_data): Likewise.
7626         (asinh_test): Likewise.
7627         (atan_test_data): Likewise.
7628         (atan_test): Likewise.
7629         (atanh_test_data): Likewise.
7630         (atanh_test): Likewise.
7631         (atan2_test_data): Likewise.
7632         (atan2_test): Likewise.
7633         (cabs_test_data): Likewise.
7634         (cabs_test): Likewise.
7635         (cacos_test_data): Likewise.
7636         (cacos_test): Likewise.
7637         (cacosh_test_data): Likewise.
7638         (cacosh_test): Likewise.
7639         (canonicalize_test_data): Likewise.
7640         (canonicalize_test): Likewise.
7641         (carg_test_data): Likewise.
7642         (carg_test): Likewise.
7643         (casin_test_data): Likewise.
7644         (casin_test): Likewise.
7645         (casinh_test_data): Likewise.
7646         (casinh_test): Likewise.
7647         (catan_test_data): Likewise.
7648         (catan_test): Likewise.
7649         (catanh_test_data): Likewise.
7650         (catanh_test): Likewise.
7651         (cbrt_test_data): Likewise.
7652         (cbrt_test): Likewise.
7653         (ccos_test_data): Likewise.
7654         (ccos_test): Likewise.
7655         (ccosh_test_data): Likewise.
7656         (ccosh_test): Likewise.
7657         (ceil_test_data): Likewise.
7658         (ceil_test): Likewise.
7659         (cexp_test_data): Likewise.
7660         (cexp_test): Likewise.
7661         (cimag_test_data): Likewise.
7662         (cimag_test): Likewise.
7663         (clog_test_data): Likewise.
7664         (clog_test): Likewise.
7665         (clog10_test_data): Likewise.
7666         (clog10_test): Likewise.
7667         (conj_test_data): Likewise.
7668         (conj_test): Likewise.
7669         (copysign_test_data): Likewise.
7670         (copysign_test): Likewise.
7671         (cos_test_data): Likewise.
7672         (cos_test): Likewise.
7673         (cosh_test_data): Likewise.
7674         (cosh_test): Likewise.
7675         (cpow_test_data): Likewise.
7676         (cpow_test): Likewise.
7677         (cproj_test_data): Likewise.
7678         (cproj_test): Likewise.
7679         (creal_test_data): Likewise.
7680         (creal_test): Likewise.
7681         (csin_test_data): Likewise.
7682         (csin_test): Likewise.
7683         (csinh_test_data): Likewise.
7684         (csinh_test): Likewise.
7685         (csqrt_test_data): Likewise.
7686         (csqrt_test): Likewise.
7687         (ctan_test_data): Likewise.
7688         (ctan_test): Likewise.
7689         (ctanh_test_data): Likewise.
7690         (ctanh_test): Likewise.
7691         (erf_test_data): Likewise.
7692         (erf_test): Likewise.
7693         (erfc_test_data): Likewise.
7694         (erfc_test): Likewise.
7695         (exp_test_data): Likewise.
7696         (exp_test): Likewise.
7697         (exp10_test_data): Likewise.
7698         (exp10_test): Likewise.
7699         (pow10_test): Likewise.
7700         (exp2_test_data): Likewise.
7701         (exp2_test): Likewise.
7702         (expm1_test_data): Likewise.
7703         (expm1_test): Likewise.
7704         (fabs_test_data): Likewise.
7705         (fabs_test): Likewise.
7706         (fdim_test_data): Likewise.
7707         (fdim_test): Likewise.
7708         (floor_test_data): Likewise.
7709         (floor_test): Likewise.
7710         (fma_test_data): Likewise.
7711         (fma_test): Likewise.
7712         (fmax_test_data): Likewise.
7713         (fmax_test): Likewise.
7714         (fmaxmag_test_data): Likewise.
7715         (fmaxmag_test): Likewise.
7716         (fmin_test_data): Likewise.
7717         (fmin_test): Likewise.
7718         (fminmag_test_data): Likewise.
7719         (fminmag_test): Likewise.
7720         (fmod_test_data): Likewise.
7721         (fmod_test): Likewise.
7722         (fpclassify_test_data): Likewise.
7723         (fpclassify_test): Likewise.
7724         (frexp_test_data): Likewise.
7725         (frexp_test): Likewise.
7726         (fromfp_test_data): Likewise.
7727         (fromfp_test): Likewise.
7728         (fromfpx_test_data): Likewise.
7729         (fromfpx_test): Likewise.
7730         (getpayload_test_data): Likewise.
7731         (getpayload_test): Likewise.
7732         (hypot_test_data): Likewise.
7733         (hypot_test): Likewise.
7734         (ilogb_test_data): Likewise.
7735         (ilogb_test): Likewise.
7736         (iscanonical_test_data): Likewise.
7737         (iscanonical_test): Likewise.
7738         (iseqsig_test_data): Likewise.
7739         (iseqsig_test): Likewise.
7740         (isfinite_test_data): Likewise.
7741         (isfinite_test): Likewise.
7742         (finite_test): Likewise.
7743         (isgreater_test_data): Likewise.
7744         (isgreater_test): Likewise.
7745         (isgreaterequal_test_data): Likewise.
7746         (isgreaterequal_test): Likewise.
7747         (isinf_test_data): Likewise.
7748         (isinf_test): Likewise.
7749         (isless_test_data): Likewise.
7750         (isless_test): Likewise.
7751         (islessequal_test_data): Likewise.
7752         (islessequal_test): Likewise.
7753         (islessgreater_test_data): Likewise.
7754         (islessgreater_test): Likewise.
7755         (isnan_test_data): Likewise.
7756         (isnan_test): Likewise.
7757         (isnormal_test_data): Likewise.
7758         (isnormal_test): Likewise.
7759         (issignaling_test_data): Likewise.
7760         (issignaling_test): Likewise.
7761         (issubnormal_test_data): Likewise.
7762         (issubnormal_test): Likewise.
7763         (isunordered_test_data): Likewise.
7764         (isunordered_test): Likewise.
7765         (iszero_test_data): Likewise.
7766         (iszero_test): Likewise.
7767         (j0_test_data): Likewise.
7768         (j0_test): Likewise.
7769         (j1_test_data): Likewise.
7770         (j1_test): Likewise.
7771         (jn_test_data): Likewise.
7772         (jn_test): Likewise.
7773         (lgamma_test_data): Likewise.
7774         (lgamma_test): Likewise.
7775         (gamma_test): Likewise.
7776         (llogb_test_data): Likewise.
7777         (llogb_test): Likewise.
7778         (lrint_test_data): Likewise.
7779         (lrint_test): Likewise.
7780         (llrint_test_data): Likewise.
7781         (llrint_test): Likewise.
7782         (log_test_data): Likewise.
7783         (log_test): Likewise.
7784         (log10_test_data): Likewise.
7785         (log10_test): Likewise.
7786         (log1p_test_data): Likewise.
7787         (log1p_test): Likewise.
7788         (log2_test_data): Likewise.
7789         (log2_test): Likewise.
7790         (logb_test_data): Likewise.
7791         (logb_test): Likewise.
7792         (lround_test_data): Likewise.
7793         (lround_test): Likewise.
7794         (llround_test_data): Likewise.
7795         (llround_test): Likewise.
7796         (modf_test_data): Likewise.
7797         (modf_test): Likewise.
7798         (nearbyint_test_data): Likewise.
7799         (nearbyint_test): Likewise.
7800         (nextafter_test_data): Likewise.
7801         (nextafter_test): Likewise.
7802         (nextup_test_data): Likewise.
7803         (nextup_test): Likewise.
7804         (nextdown_test_data): Likewise.
7805         (nextdown_test): Likewise.
7806         (nexttoward_test_data): Likewise.
7807         (nexttoward_test): Likewise.
7808         (pow_test_data): Likewise.
7809         (pow_test): Likewise.
7810         (remainder_test_data): Likewise.
7811         (remainder_test): Likewise.
7812         (drem_test): Likewise.
7813         (remquo_test_data): Likewise.
7814         (remquo_test): Likewise.
7815         (rint_test_data): Likewise.
7816         (rint_test): Likewise.
7817         (round_test_data): Likewise.
7818         (round_test): Likewise.
7819         (roundeven_test_data): Likewise.
7820         (roundeven_test): Likewise.
7821         (scalb_test_data): Likewise.
7822         (scalb_test): Likewise.
7823         (scalbn_test_data): Likewise.
7824         (scalbn_test): Likewise.
7825         (ldexp_test): Likewise.
7826         (scalbln_test_data): Likewise.
7827         (scalbln_test): Likewise.
7828         (setpayload_test_data): Likewise.
7829         (setpayload_test): Likewise.
7830         (setpayloadsig_test_data): Likewise.
7831         (setpayloadsig_test): Likewise.
7832         (signbit_test_data): Likewise.
7833         (signbit_test): Likewise.
7834         (sin_test_data): Likewise.
7835         (sin_test): Likewise.
7836         (sincos_test_data): Likewise.
7837         (sincos_test): Likewise.
7838         (sinh_test_data): Likewise.
7839         (sinh_test): Likewise.
7840         (sqrt_test_data): Likewise.
7841         (sqrt_test): Likewise.
7842         (tan_test_data): Likewise.
7843         (tan_test): Likewise.
7844         (tanh_test_data): Likewise.
7845         (tanh_test): Likewise.
7846         (tgamma_test_data): Likewise.
7847         (tgamma_test): Likewise.
7848         (totalorder_test_data): Likewise.
7849         (totalorder_test): Likewise.
7850         (totalordermag_test_data): Likewise.
7851         (totalordermag_test): Likewise.
7852         (trunc_test_data): Likewise.
7853         (trunc_test): Likewise.
7854         (ufromfp_test_data): Likewise.
7855         (ufromfp_test): Likewise.
7856         (ufromfpx_test_data): Likewise.
7857         (ufromfpx_test): Likewise.
7858         (y0_test_data): Likewise.
7859         (y0_test): Likewise.
7860         (y1_test_data): Likewise.
7861         (y1_test): Likewise.
7862         (yn_test_data): Likewise.
7863         (yn_test): Likewise.
7864         (significand_test_data): Likewise.
7865         (significand_test): Likewise.
7866         * math/Makefile (auto-libm-test-out-files): Remove variable.
7867         (libm-test-funcs-noauto): New variable.
7868         (libm-test-funcs-all): Likewise.
7869         (libm-test-c-auto): Likewise.
7870         (libm-test-c-noauto): Likewise.
7871         (libm-tests-generated): Add $(libm-test-c-auto) and
7872         $(libm-test-c-noauto).
7873         (generated): Do not add auto-libm-test-out.
7874         (libm-test-c-auto-obj): New variable.
7875         (libm-test-c-noauto-obj): Likewise.
7876         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
7877         ($(libm-test-c-noauto-obj)): New static pattern rule.
7878         ($(libm-test-c-auto-obj)): Likewise.
7879         (libm-test-incs): New variable.
7880         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
7881         and pass it to gen-libm-have-vector-test.sh.
7882         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
7883         be passed on command line.
7884         * math/libm-test-acos.inc: New file.  Content from
7885         math/libm-test.inc.
7886         * math/libm-test-acosh.inc: Likewise.
7887         * math/libm-test-asin.inc: Likewise.
7888         * math/libm-test-asinh.inc: Likewise.
7889         * math/libm-test-atan.inc: Likewise.
7890         * math/libm-test-atan2.inc: Likewise.
7891         * math/libm-test-atanh.inc: Likewise.
7892         * math/libm-test-cabs.inc: Likewise.
7893         * math/libm-test-cacos.inc: Likewise.
7894         * math/libm-test-cacosh.inc: Likewise.
7895         * math/libm-test-canonicalize.inc: Likewise.
7896         * math/libm-test-carg.inc: Likewise.
7897         * math/libm-test-casin.inc: Likewise.
7898         * math/libm-test-casinh.inc: Likewise.
7899         * math/libm-test-catan.inc: Likewise.
7900         * math/libm-test-catanh.inc: Likewise.
7901         * math/libm-test-cbrt.inc: Likewise.
7902         * math/libm-test-ccos.inc: Likewise.
7903         * math/libm-test-ccosh.inc: Likewise.
7904         * math/libm-test-ceil.inc: Likewise.
7905         * math/libm-test-cexp.inc: Likewise.
7906         * math/libm-test-cimag.inc: Likewise.
7907         * math/libm-test-clog.inc: Likewise.
7908         * math/libm-test-clog10.inc: Likewise.
7909         * math/libm-test-conj.inc: Likewise.
7910         * math/libm-test-copysign.inc: Likewise.
7911         * math/libm-test-cos.inc: Likewise.
7912         * math/libm-test-cosh.inc: Likewise.
7913         * math/libm-test-cpow.inc: Likewise.
7914         * math/libm-test-cproj.inc: Likewise.
7915         * math/libm-test-creal.inc: Likewise.
7916         * math/libm-test-csin.inc: Likewise.
7917         * math/libm-test-csinh.inc: Likewise.
7918         * math/libm-test-csqrt.inc: Likewise.
7919         * math/libm-test-ctan.inc: Likewise.
7920         * math/libm-test-ctanh.inc: Likewise.
7921         * math/libm-test-erf.inc: Likewise.
7922         * math/libm-test-erfc.inc: Likewise.
7923         * math/libm-test-exp.inc: Likewise.
7924         * math/libm-test-exp10.inc: Likewise.
7925         * math/libm-test-exp2.inc: Likewise.
7926         * math/libm-test-expm1.inc: Likewise.
7927         * math/libm-test-fabs.inc: Likewise.
7928         * math/libm-test-fdim.inc: Likewise.
7929         * math/libm-test-floor.inc: Likewise.
7930         * math/libm-test-fma.inc: Likewise.
7931         * math/libm-test-fmax.inc: Likewise.
7932         * math/libm-test-fmaxmag.inc: Likewise.
7933         * math/libm-test-fmin.inc: Likewise.
7934         * math/libm-test-fminmag.inc: Likewise.
7935         * math/libm-test-fmod.inc: Likewise.
7936         * math/libm-test-fpclassify.inc: Likewise.
7937         * math/libm-test-frexp.inc: Likewise.
7938         * math/libm-test-fromfp.inc: Likewise.
7939         * math/libm-test-fromfpx.inc: Likewise.
7940         * math/libm-test-getpayload.inc: Likewise.
7941         * math/libm-test-hypot.inc: Likewise.
7942         * math/libm-test-ilogb.inc: Likewise.
7943         * math/libm-test-iscanonical.inc: Likewise.
7944         * math/libm-test-iseqsig.inc: Likewise.
7945         * math/libm-test-isfinite.inc: Likewise.
7946         * math/libm-test-isgreater.inc: Likewise.
7947         * math/libm-test-isgreaterequal.inc: Likewise.
7948         * math/libm-test-isinf.inc: Likewise.
7949         * math/libm-test-isless.inc: Likewise.
7950         * math/libm-test-islessequal.inc: Likewise.
7951         * math/libm-test-islessgreater.inc: Likewise.
7952         * math/libm-test-isnan.inc: Likewise.
7953         * math/libm-test-isnormal.inc: Likewise.
7954         * math/libm-test-issignaling.inc: Likewise.
7955         * math/libm-test-issubnormal.inc: Likewise.
7956         * math/libm-test-isunordered.inc: Likewise.
7957         * math/libm-test-iszero.inc: Likewise.
7958         * math/libm-test-j0.inc: Likewise.
7959         * math/libm-test-j1.inc: Likewise.
7960         * math/libm-test-jn.inc: Likewise.
7961         * math/libm-test-lgamma.inc: Likewise.
7962         * math/libm-test-llogb.inc: Likewise.
7963         * math/libm-test-llrint.inc: Likewise.
7964         * math/libm-test-llround.inc: Likewise.
7965         * math/libm-test-log.inc: Likewise.
7966         * math/libm-test-log10.inc: Likewise.
7967         * math/libm-test-log1p.inc: Likewise.
7968         * math/libm-test-log2.inc: Likewise.
7969         * math/libm-test-logb.inc: Likewise.
7970         * math/libm-test-lrint.inc: Likewise.
7971         * math/libm-test-lround.inc: Likewise.
7972         * math/libm-test-modf.inc: Likewise.
7973         * math/libm-test-nearbyint.inc: Likewise.
7974         * math/libm-test-nextafter.inc: Likewise.
7975         * math/libm-test-nextdown.inc: Likewise.
7976         * math/libm-test-nexttoward.inc: Likewise.
7977         * math/libm-test-nextup.inc: Likewise.
7978         * math/libm-test-pow.inc: Likewise.
7979         * math/libm-test-remainder.inc: Likewise.
7980         * math/libm-test-remquo.inc: Likewise.
7981         * math/libm-test-rint.inc: Likewise.
7982         * math/libm-test-round.inc: Likewise.
7983         * math/libm-test-roundeven.inc: Likewise.
7984         * math/libm-test-scalb.inc: Likewise.
7985         * math/libm-test-scalbln.inc: Likewise.
7986         * math/libm-test-scalbn.inc: Likewise.
7987         * math/libm-test-setpayload.inc: Likewise.
7988         * math/libm-test-setpayloadsig.inc: Likewise.
7989         * math/libm-test-signbit.inc: Likewise.
7990         * math/libm-test-significand.inc: Likewise.
7991         * math/libm-test-sin.inc: Likewise.
7992         * math/libm-test-sincos.inc: Likewise.
7993         * math/libm-test-sinh.inc: Likewise.
7994         * math/libm-test-sqrt.inc: Likewise.
7995         * math/libm-test-tan.inc: Likewise.
7996         * math/libm-test-tanh.inc: Likewise.
7997         * math/libm-test-tgamma.inc: Likewise.
7998         * math/libm-test-totalorder.inc: Likewise.
7999         * math/libm-test-totalordermag.inc: Likewise.
8000         * math/libm-test-trunc.inc: Likewise.
8001         * math/libm-test-ufromfp.inc: Likewise.
8002         * math/libm-test-ufromfpx.inc: Likewise.
8003         * math/libm-test-y0.inc: Likewise.
8004         * math/libm-test-y1.inc: Likewise.
8005         * math/libm-test-yn.inc: Likewise.
8006         * math/README.libm-test: Update.
8008         * math/gen-auto-libm-tests.c: Update comment about use of program.
8009         (generate_output): Add argument FUNCTION.
8010         (main): Require extra argument.  Pass function name to
8011         generate_output.
8012         * math/Makefile (generated): Add auto-libm-test-out.
8013         (libm-test-funcs-auto): New variable.
8014         (auto-libm-test-out-files): New variable.
8015         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
8016         Concatenate those files to form $(objpfx)auto-libm-test-out and
8017         use it as input to gen-libm-test.pl.
8018         * math/README.libm-test: Update.
8019         * math/auto-libm-test-out: Remove.
8020         * math/auto-libm-test-out-acos: New generated file.
8021         * math/auto-libm-test-out-acosh: Likewise.
8022         * math/auto-libm-test-out-asin: Likewise.
8023         * math/auto-libm-test-out-asinh: Likewise.
8024         * math/auto-libm-test-out-atan: Likewise.
8025         * math/auto-libm-test-out-atan2: Likewise.
8026         * math/auto-libm-test-out-atanh: Likewise.
8027         * math/auto-libm-test-out-cabs: Likewise.
8028         * math/auto-libm-test-out-carg: Likewise.
8029         * math/auto-libm-test-out-cbrt: Likewise.
8030         * math/auto-libm-test-out-ccos: Likewise.
8031         * math/auto-libm-test-out-ccosh: Likewise.
8032         * math/auto-libm-test-out-cexp: Likewise.
8033         * math/auto-libm-test-out-clog: Likewise.
8034         * math/auto-libm-test-out-clog10: Likewise.
8035         * math/auto-libm-test-out-cos: Likewise.
8036         * math/auto-libm-test-out-cosh: Likewise.
8037         * math/auto-libm-test-out-cpow: Likewise.
8038         * math/auto-libm-test-out-csin: Likewise.
8039         * math/auto-libm-test-out-csinh: Likewise.
8040         * math/auto-libm-test-out-csqrt: Likewise.
8041         * math/auto-libm-test-out-ctan: Likewise.
8042         * math/auto-libm-test-out-ctanh: Likewise.
8043         * math/auto-libm-test-out-erf: Likewise.
8044         * math/auto-libm-test-out-erfc: Likewise.
8045         * math/auto-libm-test-out-exp: Likewise.
8046         * math/auto-libm-test-out-exp10: Likewise.
8047         * math/auto-libm-test-out-exp2: Likewise.
8048         * math/auto-libm-test-out-expm1: Likewise.
8049         * math/auto-libm-test-out-fma: Likewise.
8050         * math/auto-libm-test-out-hypot: Likewise.
8051         * math/auto-libm-test-out-j0: Likewise.
8052         * math/auto-libm-test-out-j1: Likewise.
8053         * math/auto-libm-test-out-jn: Likewise.
8054         * math/auto-libm-test-out-lgamma: Likewise.
8055         * math/auto-libm-test-out-log: Likewise.
8056         * math/auto-libm-test-out-log10: Likewise.
8057         * math/auto-libm-test-out-log1p: Likewise.
8058         * math/auto-libm-test-out-log2: Likewise.
8059         * math/auto-libm-test-out-pow: Likewise.
8060         * math/auto-libm-test-out-sin: Likewise.
8061         * math/auto-libm-test-out-sincos: Likewise.
8062         * math/auto-libm-test-out-sinh: Likewise.
8063         * math/auto-libm-test-out-sqrt: Likewise.
8064         * math/auto-libm-test-out-tan: Likewise.
8065         * math/auto-libm-test-out-tanh: Likewise.
8066         * math/auto-libm-test-out-tgamma: Likewise.
8067         * math/auto-libm-test-out-y0: Likewise.
8068         * math/auto-libm-test-out-y1: Likewise.
8069         * math/auto-libm-test-out-yn: Likewise.
8071         * math/Makefile (generated): Do not include libm-test.stmp.
8072         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
8073         on $(objpfx)libm-test.stmp.
8074         ($(objpfx)libm-test.stmp): Remove rule.
8075         ($(objpfx)libm-test-ulps.h): New rule.
8076         ($(objpfx)libm-test.c): Likewise.
8077         ($(objpfx)libm-have-vector-test.h): Likewise.
8078         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8079         individual generated files, not libm-test.stmp.
8081         * math/gen-libm-test.pl ($output_dir): Remove variable.
8082         ($srcdir): Likewise.
8083         ($opt_a): New variable.
8084         ($opt_c): Likewise.
8085         ($opt_C): Likewise.
8086         ($opt_H): Likewise.
8087         (-n): Make option take argument and use it as NewUlps output.
8088         (-a): New option.  Use its argument for auto-libm-test-out input.
8089         (-c): New option.  Use its argument for libm-test.inc input.
8090         (-C): New option.  Use its argument for libm-test.c output.
8091         (-H): New option.  Use its argument for libm-test-ulps.h output.
8092         (top level): Only process inputs needed to generate outputs
8093         specified by command-line options.  Only generate outputs
8094         specified by command-line options.
8095         * math/README.libm-test: Update example gen-libm-test.pl command.
8096         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8097         commands.
8098         (regen-ulps): Likewise.
8100 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
8102         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8103         * include/string.h (index): Remove define.
8104         (rindex): Likewise.
8105         * misc/getttyent.c (__getttyent): Rename index to strchr.
8106         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8107         * sunrpc/rpc_main.c (mkfile_output): Likewise.
8109 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8111         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
8112         * math/libm-test.inc: Move all contents, other than tests of
8113         individual functions, to libm-test-driver.c.
8114         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8115         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8116         [!FE_UPWARD] (FE_UPWARD): Likewise.
8117         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8118         (NO_EXCEPTION): Likewise.
8119         (INVALID_EXCEPTION): Likewise.
8120         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8121         (OVERFLOW_EXCEPTION): Likewise.
8122         (UNDERFLOW_EXCEPTION): Likewise.
8123         (INEXACT_EXCEPTION): Likewise.
8124         (INVALID_EXCEPTION_OK): Likewise.
8125         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8126         (OVERFLOW_EXCEPTION_OK): Likewise.
8127         (UNDERFLOW_EXCEPTION_OK): Likewise.
8128         (NO_INEXACT_EXCEPTION): Likewise.
8129         (EXCEPTIONS_OK): Likewise.
8130         (IGNORE_ZERO_INF_SIGN): Likewise.
8131         (TEST_NAN_SIGN): Likewise.
8132         (TEST_NAN_PAYLOAD): Likewise.
8133         (NO_TEST_INLINE): Likewise.
8134         (XFAIL_TEST): Likewise.
8135         (ERRNO_UNCHANGED): Likewise.
8136         (ERRNO_EDOM): Likewise.
8137         (ERRNO_ERANGE): Likewise.
8138         (IGNORE_RESULT): Likewise.
8139         (NON_FINITE): Likewise.
8140         (TEST_SNAN): Likewise.
8141         (NO_TEST_MATHVEC): Likewise.
8142         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8143         (__CONCATX): Likewise.
8144         (TYPE_MIN): Likewise.
8145         (TYPE_TRUE_MIN): Likewise.
8146         (TYPE_MAX): Likewise.
8147         (MIN_EXP): Likewise.
8148         (MAX_EXP): Likewise.
8149         (MANT_DIG): Likewise.
8150         (FSTR_MAX): Likewise.
8151         (ULP_IDX): Likewise.
8152         (QTYPE_STR): Likewise.
8153         (TEST_COND_binary32): Likewise.
8154         (TEST_COND_binary64): Likewise.
8155         (TEST_COND_binary128): Likewise.
8156         (TEST_COND_ibm128): Likewise.
8157         (TEST_COND_intel96): Likewise.
8158         (TEST_COND_m68k96): Likewise.
8159         (TEST_COND_ibm128_libgcc): Likewise.
8160         (XFAIL_IBM128_LIBGCC): Likewise.
8161         (PAYLOAD_DIG): Likewise.
8162         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8163         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8164         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8165         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8166         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8167         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8168         (TEST_COND_long32): Likewise.
8169         (TEST_COND_long64): Likewise.
8170         (TEST_COND_before_rounding): Likewise.
8171         (TEST_COND_after_rounding): Likewise.
8172         (lit_pi_3_m_4_d): Likewise.
8173         (lit_pi_3_m_4_ln10_m_d): Likewise.
8174         (lit_pi_2_ln10_m_d): Likewise.
8175         (lit_pi_4_ln10_m_d): Likewise.
8176         (lit_pi_ln10_d): Likewise.
8177         (lit_pi_2_d): Likewise.
8178         (lit_pi_4_d): Likewise.
8179         (lit_pi): Likewise.
8180         (lit_e): Likewise.
8181         (ulps_file_name): Likewise.
8182         (ulps_file): Likewise.
8183         (output_ulps): Likewise.
8184         (output_dir): Likewise.
8185         (noErrors): Likewise.
8186         (noTests): Likewise.
8187         (noExcTests): Likewise.
8188         (noErrnoTests): Likewise.
8189         (verbose): Likewise.
8190         (output_max_error): Likewise.
8191         (output_points): Likewise.
8192         (ignore_max_ulp): Likewise.
8193         (plus_zero): Likewise.
8194         (minus_zero): Likewise.
8195         (plus_infty): Likewise.
8196         (minus_infty): Likewise.
8197         (qnan_value_pl): Likewise.
8198         (qnan_value): Likewise.
8199         (snan_value_pl): Likewise.
8200         (snan_value): Likewise.
8201         (max_value): Likewise.
8202         (min_value): Likewise.
8203         (min_subnorm_value): Likewise.
8204         (snan_value_ld): Likewise.
8205         (max_error): Likewise.
8206         (real_max_error): Likewise.
8207         (imag_max_error): Likewise.
8208         (prev_max_error): Likewise.
8209         (prev_real_max_error): Likewise.
8210         (prev_imag_max_error): Likewise.
8211         (max_valid_error): Likewise.
8212         (TYPE_DECIMAL_DIG): Likewise.
8213         (TYPE_HEX_DIG): Likewise.
8214         (fmt_ftostr): Likewise.
8215         (compare_ulp_data): Likewise.
8216         (find_ulps): Likewise.
8217         (init_max_error): Likewise.
8218         (set_max_error): Likewise.
8219         (print_float): Likewise.
8220         (print_screen): Likewise.
8221         (print_screen_max_error): Likewise.
8222         (update_stats): Likewise.
8223         (print_function_ulps): Likewise.
8224         (print_complex_function_ulps): Likewise.
8225         (fpstack_test): Likewise.
8226         (print_max_error): Likewise.
8227         (print_complex_max_error): Likewise.
8228         (test_single_exception): Likewise.
8229         (test_exceptions): Likewise.
8230         (test_single_errno): Likewise.
8231         (test_errno): Likewise.
8232         (ULPDIFF): Likewise.
8233         (ulp): Likewise.
8234         (check_float_internal): Likewise.
8235         (check_float): Likewise.
8236         (check_complex): Likewise.
8237         (check_int): Likewise.
8238         (check_long): Likewise.
8239         (check_bool): Likewise.
8240         (check_longlong): Likewise.
8241         (check_intmax_t): Likewise.
8242         (check_uintmax_t): Likewise.
8243         (enable_test): Likewise.
8244         (struct test_f_f_data): Likewise.
8245         (struct test_ff_f_data): Likewise.
8246         (struct test_fj_f_data): Likewise.
8247         (struct test_fi_f_data): Likewise.
8248         (struct test_fl_f_data): Likewise.
8249         (struct test_if_f_data): Likewise.
8250         (struct test_fff_f_data): Likewise.
8251         (struct test_fiu_M_data): Likewise.
8252         (struct test_fiu_U_data): Likewise.
8253         (struct test_c_f_data): Likewise.
8254         (struct test_f_f1_data): Likewise.
8255         (struct test_fF_f1_data): Likewise.
8256         (struct test_ffI_f1_data): Likewise.
8257         (struct test_c_c_data): Likewise.
8258         (struct test_cc_c_data): Likewise.
8259         (struct test_f_i_data): Likewise.
8260         (struct test_ff_i_data): Likewise.
8261         (struct test_f_l_data): Likewise.
8262         (struct test_f_L_data): Likewise.
8263         (struct test_fFF_11_data): Likewise.
8264         (struct test_Ff_b1_data): Likewise.
8265         (IF_ROUND_INIT_): Likewise.
8266         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8267         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8268         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8269         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8270         (ROUND_RESTORE_): Likewise.
8271         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8272         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8273         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8274         (ROUND_RESTORE_FE_UPWARD): Likewise.
8275         (RM_): Likewise.
8276         (RM_FE_DOWNWARD): Likewise.
8277         (RM_FE_TONEAREST): Likewise.
8278         (RM_FE_TOWARDZERO): Likewise.
8279         (RM_FE_UPWARD): Likewise.
8280         (COMMON_TEST_SETUP): Likewise.
8281         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8282         (COMMON_TEST_CLEANUP): Likewise.
8283         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8284         (RUN_TEST_f_f): Likewise.
8285         (RUN_TEST_LOOP_f_f): Likewise.
8286         (RUN_TEST_fp_f): Likewise.
8287         (RUN_TEST_LOOP_fp_f): Likewise.
8288         (RUN_TEST_2_f): Likewise.
8289         (RUN_TEST_LOOP_2_f): Likewise.
8290         (RUN_TEST_ff_f): Likewise.
8291         (RUN_TEST_LOOP_ff_f): Likewise.
8292         (RUN_TEST_LOOP_fj_f): Likewise.
8293         (RUN_TEST_fi_f): Likewise.
8294         (RUN_TEST_LOOP_fi_f): Likewise.
8295         (RUN_TEST_fl_f): Likewise.
8296         (RUN_TEST_LOOP_fl_f): Likewise.
8297         (RUN_TEST_if_f): Likewise.
8298         (RUN_TEST_LOOP_if_f): Likewise.
8299         (RUN_TEST_fff_f): Likewise.
8300         (RUN_TEST_LOOP_fff_f): Likewise.
8301         (RUN_TEST_fiu_M): Likewise.
8302         (RUN_TEST_LOOP_fiu_M): Likewise.
8303         (RUN_TEST_fiu_U): Likewise.
8304         (RUN_TEST_LOOP_fiu_U): Likewise.
8305         (RUN_TEST_c_f): Likewise.
8306         (RUN_TEST_LOOP_c_f): Likewise.
8307         (RUN_TEST_f_f1): Likewise.
8308         (RUN_TEST_LOOP_f_f1): Likewise.
8309         (RUN_TEST_fF_f1): Likewise.
8310         (RUN_TEST_LOOP_fF_f1): Likewise.
8311         (RUN_TEST_fI_f1): Likewise.
8312         (RUN_TEST_LOOP_fI_f1): Likewise.
8313         (RUN_TEST_ffI_f1_mod8): Likewise.
8314         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
8315         (RUN_TEST_Ff_b1): Likewise.
8316         (RUN_TEST_LOOP_Ff_b1): Likewise.
8317         (RUN_TEST_Ffp_b1): Likewise.
8318         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8319         (RUN_TEST_c_c): Likewise.
8320         (RUN_TEST_LOOP_c_c): Likewise.
8321         (RUN_TEST_cc_c): Likewise.
8322         (RUN_TEST_LOOP_cc_c): Likewise.
8323         (RUN_TEST_f_i): Likewise.
8324         (RUN_TEST_LOOP_f_i): Likewise.
8325         (RUN_TEST_f_i_tg): Likewise.
8326         (RUN_TEST_LOOP_f_i_tg): Likewise.
8327         (RUN_TEST_ff_b): Likewise.
8328         (RUN_TEST_LOOP_ff_b): Likewise.
8329         (RUN_TEST_ff_i_tg): Likewise.
8330         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8331         (RUN_TEST_f_b): Likewise.
8332         (RUN_TEST_LOOP_f_b): Likewise.
8333         (RUN_TEST_f_b_tg): Likewise.
8334         (RUN_TEST_LOOP_f_b_tg): Likewise.
8335         (RUN_TEST_f_l): Likewise.
8336         (RUN_TEST_LOOP_f_l): Likewise.
8337         (RUN_TEST_f_L): Likewise.
8338         (RUN_TEST_LOOP_f_L): Likewise.
8339         (RUN_TEST_fFF_11): Likewise.
8340         (RUN_TEST_LOOP_fFF_11): Likewise.
8341         (VEC_SUFF): Likewise.
8342         (STR_CONCAT): Likewise.
8343         (STR_CON3): Likewise.
8344         (HAVE_VECTOR): Likewise.
8345         (START): Likewise.
8346         (END): Likewise.
8347         (END_COMPLEX): Likewise.
8348         (ALL_RM_TEST): Likewise.
8349         (matherr): Likewise.
8350         (initialize): Likewise.
8351         (options): Likewise.
8352         (doc): Likewise.
8353         (parse_opt): Likewise.
8354         (argp): Likewise.
8355         (check_ulp): Likewise.
8356         (main): Likewise.
8357         (do_test): New function.  Call tests of individual functions
8358         previously called from main.
8360         * math/libm-test.inc: Remove comment listing functions tested and
8361         not tested.
8363 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8365         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
8366         (allocate_stack): Remove COLORING_INCREMENT usage.
8367         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
8368         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
8370 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8372         * manual/libm-err-tab.pl (@all_functions): Change to
8373         %all_functions.  Initialize as empty.
8374         (parse_ulps): Add to %all_functions based on functions found in
8375         ulps files.  Ignore results for non-default rounding modes and
8376         vector functions.
8377         (print_platforms): Use %all_platforms.
8378         * manual/math.texi (Errors in Math Functions): Document omissions
8379         from the table.
8381         * math/Makefile (before-compile): Remove.
8383 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
8385         [BZ #21075]
8386         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8387         unused assignment.
8388         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8390 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8392         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8393         Add __glibc_unlikely hint.
8395 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8397         [BZ #16640]
8398         * sysdeps/i386/i686/strtok.S: Remove file.
8399         * sysdeps/i386/i686/strtok_r.S: Likewise.
8400         * sysdeps/i386/strtok.S: Likewise.
8401         * sysdeps/i386/strtok_r.S: Likewise.
8402         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8403         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8404         * sysdeps/x86_64/strtok.S: Likewise.
8405         * sysdeps/x86_64/strtok_r.S: Likewise.
8407         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8408         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8409         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8410         (__ASSUME_FADVISE64_AS_64_64): Define.
8411         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8412         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8413         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8414         __ALIGNMENT_ARG usage.
8415         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8416         __NR_fadvise64_64 if it is not defined.
8418 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8420         * version.h (RELEASE): Set to "development"
8421         (VERSION): Set to 2.25.90.
8422         * NEWS: Add 2.26 section.
8424         * version.h (RELEASE): Set to "stable"
8425         (VERSION): Set to 2.25.
8426         * include/features.h (__GLIBC_MINOR__): Set to 25.
8428         * manual/contrib.texi: Add more contributors from this release
8429         and past releases.
8431         * NEWS (2.25): Add list of bugs fixed.
8433         * NEWS: Add missing news items.
8435 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8437         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8438         parent if child exited in that manner.  Print WEXITSTATUS
8439         instead of the raw status.
8440         (do_test_prep): Rename to do_test.
8441         (do_test): Return the result of run_executable_sgid.
8442         (TEST_FUNCTION_ARGV): Adjust.
8444 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
8445             Florian Weimer  <fweimer@redhat.com>
8446             Carlos O'Donell  <carlos@redhat.com>
8448         [BZ #20915]
8449         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8450         Do not initialize DTV.
8451         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8453 2017-02-03  David S. Miller  <davem@davemloft.net>
8455         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8463         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8464         (libm-sysdep_routines): Update.
8465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8470         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8471         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8472         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8473         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8475         Likewise.
8476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8478         Likewise.
8479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8481         Likewise.
8482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8484         Likewise.
8485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8487         (libm-sysdep_routines): Update.
8489 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8491         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8492         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8493         against unrelocated shared library.
8494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8496 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8498         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8499         * elf/tst-env-setuid-tunables.c
8500         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8501         GLIBC_TUNABLES is removed in a setgid process.
8503         [BZ #21073]
8504         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8505         * elf/dl-tunables.c (tunables_strdup): Remove.
8506         (get_next_env): Also return the previous envp.
8507         (parse_tunables): Erase tunables of category
8508         TUNABLES_SECLEVEL_SXID_ERASE.
8509         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8510         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8511         (__tunables_init)[TUNABLES_FRONTEND ==
8512         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8513         after parsing.
8514         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8515         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8516         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8517         to security_level.
8518         * elf/dl-tunables.list: Add security_level annotations for all
8519         tunables.
8520         * scripts/gen-tunables.awk: Recognize and generate enum values
8521         for security_level.
8522         * elf/tst-env-setuid.c: New test case.
8523         * elf/tst-env-setuid-tunables: new test case.
8524         * elf/Makefile (tests-static): Add them.
8526 2017-02-01  Richard Henderson  <rth@twiddle.net>
8528         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8529         adjusting the byte count.
8531 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8533         * conform/Makefile (linknamespace-libs): Define.
8535         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8536         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8537         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8538         operands.
8540 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8542         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8544 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8546         [BZ #21081]
8547         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8548         (L(stosb)): Add VZEROUPPER before ret.
8550 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8551             Alexey Makhalov <amakhalov@vmware.com>
8552             Florian Weimer <fweimer@redhat.com>
8554         [BZ #20116]
8555         * nptl/pthread_create.c: Document concurrency notes.
8556         Enhance thread creation notes.
8557         (create_thread): Use bool *stopped_start.
8558         (START_THREAD_DEFN): Comment ownership of PD.
8559         (__pthread_create_2_1): Add local bool stopped_start and use
8560         that instead of pd->stopped_start where appropriate.
8561         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8562         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8563         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8564         * nptl/tst-create-detached.c: New file.
8565         * nptl/Makefile (tests): Add tst-create-detached.
8566         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8567         Reference the enhanced thread creation notes.
8568         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8569         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8570         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8571         (__pthread_current_priority): Likewise.
8572         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8573         xpthread_attr_init, xpthread_attr_setdetachstate, and
8574         xpthread_attr_setstacksize.
8575         * support/xpthread_attr_destroy.c: New file.
8576         * support/xpthread_attr_init.c: New file.
8577         * support/xpthread_attr_setdetachstate.c: New file.
8578         * support/xpthread_attr_setstacksize.c: New file.
8579         * support/xthread.h: Define prototypes for xpthread_attr_destroy
8580         xpthread_attr_init, xpthread_attr_setdetachstate, and
8581         xpthread_attr_setstacksize.
8583 2017-01-27  Florian Weimer  <fweimer@redhat.com>
8585         * nptl/Makefile (tests): Add tst-robust-fork.
8586         * nptl/tst-robust-fork.c: New file.
8587         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8588         xpthread_mutex_consistent, xpthread_mutex_destroy,
8589         xpthread_mutex_init, xpthread_mutexattr_destroy,
8590         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8591         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8592         xpthread_mutexattr_settype.
8593         * support/xmmap.c: New file.
8594         * support/xmunmap.c: Likewise.
8595         * support/xpthread_mutex_consistent.c: Likewise.
8596         * support/xpthread_mutex_destroy.c: Likewise.
8597         * support/xpthread_mutex_init.c: Likewise.
8598         * support/xpthread_mutexattr_destroy.c: Likewise.
8599         * support/xpthread_mutexattr_init.c: Likewise.
8600         * support/xpthread_mutexattr_setprotocol.c: Likewise.
8601         * support/xpthread_mutexattr_setpshared.c: Likewise.
8602         * support/xpthread_mutexattr_setrobust.c: Likewise.
8603         * support/xpthread_mutexattr_settype.c: Likewise.
8604         * support/xthread.h (xpthread_mutexattr_destroy)
8605         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8606         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8607         (xpthread_mutexattr_settype, xpthread_mutex_init)
8608         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8609         * support/xunistd.h (xmmap, xmunmap): Likewise.
8611 2017-01-25  Florian Weimer  <fweimer@redhat.com>
8613         * string/Makefile (xtests): Add comment.
8614         (LOCALES): Add en_GB.UTF-8.
8615         (tst-strcoll-overflow.out): Depend on generated locales.
8616         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8617         (SIZE, TIMEOUT): Update comments.
8618         (do_test): Define as static.  Fail test if setlocale fails.
8619         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
8620         messages.
8621         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8622         TIMEOUT at 300 seconds should be enough to run this test
8623         successfully.
8625 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
8627         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8628         /* FALLTHRU */ comments.
8630 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
8632         [BZ #21053]
8633         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8634         constants instead of the old R* ones.
8635         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8636         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8637         (NGREG): ... to this, to fit in with other architectures.
8638         (gpregset_t): Use new NGREG macro.
8639         [__USE_GNU]: Remove condition; all architectures other than tile
8640         are unconditional.
8641         (R*): Rename to REG_R*.
8643 2017-01-20  DJ Delorie  <dj@redhat.com>
8645         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8646         (tunable_set_val_if_valid_range_signed) ... this, and ...
8647         (tunable_set_val_if_valid_range_unsigned) ... this.
8648         (tunable_initialize): Call the correct one of the above based on type.
8650 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
8652         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8653         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8654         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8655         * sysdeps/microblaze/libm-test-ulps: Likewise.
8656         * sysdeps/sh/libm-test-ulps: Likewise.
8658         * math/README.libm-test: Update list of characters for input and
8659         output types.
8661 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8663         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8664         (__lll_unlock_elision): Fix adapt_count decrement.
8666 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
8668         * README.pretty-printers (Known issues): Warn about printers not
8669         always covering everything.
8670         * nptl/nptl-printers.py (MutexPrinter): Change output.
8671         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8673 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8675         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8676         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8677         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8678         (__lll_lock_elision): Do not test futex before starting a
8679         transaction.  Use __glibc_likely instead of __builtin_expect.
8680         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8681         (__lll_trylock_elision): Do not test futex before starting a
8682         transaction.  Use __glibc_likely instead of __builtin_expect.
8684 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8686         * po/Makefile (update-translations): New target.
8688 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8690         [BZ #21061]
8691         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8693 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8695         * elf/dl-tunables (get_next_env): Always advance envp.
8696         * stdlib/tst-empty-env.c: New test case.
8697         * stdlib/Makefile (tests): Use it.
8699 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8701         [BZ #21047]
8702         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8703         name for instruction.
8704         [!__SOFTFP__] (_FPU_SETCW): Likewise.
8706 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8708         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8709         for make install.
8711 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8713         * po/bg.po: Merge from Translation Project.
8714         * po/fr.po: Likewise.
8715         * po/ko.po: Likewise.
8716         * po/nl.po: Likewise.
8717         * po/sv.po: Likewise.
8719 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8721         * manual/install.texi (Tools for Compilation): Update GCC version
8722         known to work to build glibc.
8723         * INSTALL: Regenerated.
8725 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8727         [BZ #21006]
8728         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8730 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
8732         [BZ #21045]
8733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8734         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8735         to __sigprocmask.
8737 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
8739         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8740         wrap-around.
8741         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8743         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8745 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8747         * NEWS: Fix typo.
8749 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8751         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8752         barriers and comments.
8753         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8754         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8755         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8757 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8759         [BZ #19402]
8760         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8761         mutexes.
8763 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8765         [BZ #20985]
8766         * nptl/Makefile: Adapt.
8767         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8768         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8769         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8770         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8771         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8772         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8773         lll_robust* functions and adapt.
8774         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8775         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8776         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8777         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8778         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8779         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8780         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8781         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8782         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8783         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8784         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8785         * nptl/lowlevelrobustlock.c: Remove file.
8786         * nptl/lowlevelrobustlock.sym: Likewise.
8787         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8788         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8790 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8792         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8794 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8796         * po/cs.po: Merge translations from the Translation Project.
8797         * po/de.po: Likewise.
8798         * po/pl.po: Likewise.
8799         * po/ru.po: Likewise.
8800         * po/tr.po: Likewise.
8801         * po/uk.po: Likewise.
8802         * po/vi.po: Likewise.
8803         * po/zh_CN.po: Likewise.
8805 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
8807         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
8809         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
8810         object.
8812 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8814         [BZ #16458]
8815         * bits/uintn-identity.h: New file.
8816         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
8817         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
8818         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
8819         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
8820         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
8821         * string/endian.h: Include <bits/uintn-identity.h>.
8822         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
8823         __uint16_identity.
8824         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
8825         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
8826         __uint32_identity.
8827         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
8828         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
8829         __uint64_identity.
8830         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
8831         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
8832         __uint16_identity.
8833         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
8834         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
8835         __uint32_identity.
8836         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
8837         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
8838         __uint64_identity.
8839         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
8840         * string/Makefile (headers): Add bits/uintn-identity.h.
8841         (tests): Add test-endian-types.
8842         * string/test-endian-types.c: New file.
8843         * inet/Makefile (tests): Add test-hnto-types.
8844         * inet/test-hnto-types.c: New file.
8846 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8848         * po/be.po: Update from Translation Project.
8849         * po/bg.po: Likewise.
8850         * po/ca.po: Likewise.
8851         * po/cs.po: Likewise.
8852         * po/da.po: Likewise.
8853         * po/de.po: Likewise.
8854         * po/el.po: Likewise.
8855         * po/eo.po: Likewise.
8856         * po/es.po: Likewise.
8857         * po/fi.po: Likewise.
8858         * po/fr.po: Likewise.
8859         * po/gl.po: Likewise.
8860         * po/hr.po: Likewise.
8861         * po/hu.po: Likewise.
8862         * po/ia.po: Likewise.
8863         * po/id.po: Likewise.
8864         * po/it.po: Likewise.
8865         * po/ja.po: Likewise.
8866         * po/ko.po: Likewise.
8867         * po/lt.po: Likewise.
8868         * po/nb.po: Likewise.
8869         * po/nl.po: Likewise.
8870         * po/pl.po: Likewise.
8871         * po/pt_BR.po: Likewise.
8872         * po/ru.po: Likewise.
8873         * po/rw.po: Likewise.
8874         * po/sk.po: Likewise.
8875         * po/sl.po: Likewise.
8876         * po/sv.po: Likewise.
8877         * po/tr.po: Likewise.
8878         * po/uk.po: Likewise.
8879         * po/vi.po: Likewise.
8880         * po/zh_CN.po: Likewise.
8881         * po/zh_TW.po: Likewise.
8883 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8885         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
8886         -Wformat-truncation instead of -Wformat-length.
8887         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
8888         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
8889         GCC 7.
8890         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
8891         (do_test): Ignore -Wformat-truncation for GCC 7.
8893         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
8894         buffer used to print long int value.
8896         * elf/sotruss-lib.c (init): Increase space allocated for pid by
8897         one byte.  Print it with %ld, cast to long int.
8899 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8901         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
8902         (re.fullmatch, subprocess.run): Likewise.
8904 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8906         * po/libc.pot: Regenerate.
8908 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8910         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
8911         (min_strlen): Likewise.
8912         (disable_tunable): Likewise.
8913         (maybe_disable_malloc_check): Rename to
8914         maybe_enable_malloc_check.
8915         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
8916         if /etc/suid-debug file exists.
8917         (__tunables_init): Update caller.
8918         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
8919         secure.
8921 2016-01-10  Torvald Riegel  <triegel@redhat.com>
8923         * nptl/DESIGN-rwlock.txt: Remove.
8924         * nptl/lowlevelrwlock.sym: Remove.
8925         * nptl/Makefile: Add new tests.
8926         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
8927         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
8928         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
8929         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
8930         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
8931         PTHREAD_RWLOCK_FUTEX_USED): New.
8932         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
8933         implementation.
8934         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
8935         (__pthread_rwlock_rdlock): Adapt.
8936         * nptl/pthread_rwlock_timedrdlock.c
8937         (pthread_rwlock_timedrdlock): Adapt.
8938         * nptl/pthread_rwlock_timedwrlock.c
8939         (pthread_rwlock_timedwrlock): Adapt.
8940         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
8941         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
8942         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
8943         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
8944         (__pthread_rwlock_wrlock): Adapt.
8945         * nptl/tst-rwlock10.c: Adapt.
8946         * nptl/tst-rwlock11.c: Adapt.
8947         * nptl/tst-rwlock17.c: New file.
8948         * nptl/tst-rwlock18.c: New file.
8949         * nptl/tst-rwlock19.c: New file.
8950         * nptl/tst-rwlock2b.c: New file.
8951         * nptl/tst-rwlock8.c: Adapt.
8952         * nptl/tst-rwlock9.c: Adapt.
8953         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8954         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8955         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8956         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8957         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8958         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8959         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8960         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8961         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8962         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8963         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8964         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8965         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8966         (pthread_rwlock_t): Adapt.
8967         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8968         (pthread_rwlock_t): Adapt.
8969         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8970         * nptl/nptl-printers.py (): Adapt.
8971         * nptl/nptl_lock_constants.pysym: Adapt.
8972         * nptl/test-rwlock-printers.py: Adapt.
8973         * nptl/test-rwlockattr-printers.c: Adapt.
8974         * nptl/test-rwlockattr-printers.py: Adapt.
8976 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
8978         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
8979         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
8980         (fma_test_data): Likewise.
8981         (hypot_test_data): Likewise.
8982         (log1p_test_data): Likewise.
8983         (modf_test_data): Likewise.
8984         (pow_test_data): Likewise.
8985         (remainder_test_data): Likewise.
8986         (remquo_test_data): Likewise.
8987         (scalb_test_data): Likewise.
8988         (scalbn_test_data): Likewise.
8989         (scalbln_test_data): Likewise.
8990         * math/gen-libm-test.pl (parse_args): Transform
8991         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
8992         on the rounding mode.
8994 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
8996         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
8997         xfail-rounding:ibm128-libgcc automatically to tests overflowing
8998         and those that can underflow to zero.
8999         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
9000         add others.
9001         * math/auto-libm-test-out: Regenerated.
9003         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
9004         supported.
9005         (feholdexcept_tests): Skip tests requiring exceptions or rounding
9006         modes support if not supported.
9008         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
9009         Add libc.so PLT entry.
9010         (__tls_get_addr): Make ld.so PLT entry optional.
9012 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9014         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
9015         * string/bits/string3.h: ... here.
9017 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9019         [BZ #21028]
9020         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
9021         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
9022         if EXCEPTION_TESTS returns false.
9024 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9026         [BZ #20558]
9027         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
9028         strings_fortified.h.
9029         [__USE_MISC] (bzero): Likewise.
9030         [__USE_MISC] (explicit_bzero): Likewise.
9031         * string/strings.h: Include strings_fortified.h.
9032         * string/Makefile (headers): Add strings_fortified.h.
9033         * string/bits/strings_fortified.h: New file.
9034         * include/bits/strings_fortified.h: Likewise.
9036 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9038         * elf/tst-tls13.c (TIMEOUT): Remove.
9039         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
9040         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
9041         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
9042         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
9043         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
9045         [BZ #21026]
9046         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
9047         (readahead): New syscall entry.
9049 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9051         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
9052         around tests of strncat with large sizes.
9054         * malloc/tst-malloc.c: Include <libc-internal.h>.
9055         (do_test): Disable -Walloc-size-larger-than= around tests of
9056         malloc with negative sizes.
9057         * malloc/tst-mcheck.c: Include <libc-internal.h>.
9058         (do_test): Disable -Walloc-size-larger-than= around tests of
9059         malloc and realloc with negative sizes.
9060         * malloc/tst-realloc.c: Include <libc-internal.h>.
9061         (do_test): Disable -Walloc-size-larger-than= around tests of
9062         realloc with negative sizes.
9064         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
9065         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
9066         allowed to 16 ulps.
9067         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
9068         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
9069         * math/auto-libm-test-out: Regenerated.
9071 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9073         * math/Makefile (libm-calls): Move wrappers...
9074         (libm-compat-call-auto): Here.
9075         (libm-routines): Add items in libm-compat-calls-auto.
9076         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
9077         the filenames of the wrappers that have been renamed.
9078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9081         * math/w_acos.c: Add _compat suffix to filename.
9082         * math/w_acosf.c: Likewise.
9083         * math/w_acosh.c: Likewise.
9084         * math/w_acoshf.c: Likewise.
9085         * math/w_acoshl.c: Likewise.
9086         * math/w_acosl.c: Likewise.
9087         * math/w_asin.c: Likewise.
9088         * math/w_asinf.c: Likewise.
9089         * math/w_asinl.c: Likewise.
9090         * math/w_atan2.c: Likewise.
9091         * math/w_atan2f.c: Likewise.
9092         * math/w_atan2l.c: Likewise.
9093         * math/w_atanh.c: Likewise.
9094         * math/w_atanhf.c: Likewise.
9095         * math/w_atanhl.c: Likewise.
9096         * math/w_cosh.c: Likewise.
9097         * math/w_coshf.c: Likewise.
9098         * math/w_coshl.c: Likewise.
9099         * math/w_exp10.c: Likewise.
9100         * math/w_exp10f.c: Likewise.
9101         * math/w_exp10l.c: Likewise.
9102         * math/w_exp2.c: Likewise.
9103         * math/w_exp2f.c: Likewise.
9104         * math/w_exp2l.c: Likewise.
9105         * math/w_fmod.c: Likewise.
9106         * math/w_fmodf.c: Likewise.
9107         * math/w_fmodl.c: Likewise.
9108         * math/w_hypot.c: Likewise.
9109         * math/w_hypotf.c: Likewise.
9110         * math/w_hypotl.c: Likewise.
9111         * math/w_j0.c: Likewise.
9112         * math/w_j0f.c: Likewise.
9113         * math/w_j0l.c: Likewise.
9114         * math/w_j1.c: Likewise.
9115         * math/w_j1f.c: Likewise.
9116         * math/w_j1l.c: Likewise.
9117         * math/w_jn.c: Likewise.
9118         * math/w_jnf.c: Likewise.
9119         * math/w_jnl.c: Likewise.
9120         * math/w_log10.c: Likewise.
9121         * math/w_log10f.c: Likewise.
9122         * math/w_log10l.c: Likewise.
9123         * math/w_log2.c: Likewise.
9124         * math/w_log2f.c: Likewise.
9125         * math/w_log2l.c: Likewise.
9126         * math/w_log.c: Likewise.
9127         * math/w_logf.c: Likewise.
9128         * math/w_logl.c: Likewise.
9129         * math/w_pow.c: Likewise.
9130         * math/w_powf.c: Likewise.
9131         * math/w_powl.c: Likewise.
9132         * math/w_remainder.c: Likewise.
9133         * math/w_remainderf.c: Likewise.
9134         * math/w_remainderl.c: Likewise.
9135         * math/w_scalb.c: Likewise.
9136         * math/w_scalbf.c: Likewise.
9137         * math/w_scalbl.c: Likewise.
9138         * math/w_sinh.c: Likewise.
9139         * math/w_sinhf.c: Likewise.
9140         * math/w_sinhl.c: Likewise.
9141         * math/w_sqrt.c: Likewise.
9142         * math/w_sqrtf.c: Likewise.
9143         * math/w_sqrtl.c: Likewise.
9144         * math/w_tgamma.c: Likewise.
9145         * math/w_tgammaf.c: Likewise.
9146         * math/w_tgammal.c: Likewise.
9148         * math/w_acos_compat.c: New file copied from above and
9149         adjusted for new #includes path
9150         * math/w_acosf_compat.c: Likewise.
9151         * math/w_acosh_compat.c: Likewise.
9152         * math/w_acoshf_compat.c: Likewise.
9153         * math/w_acoshl_compat.c: Likewise.
9154         * math/w_acosl_compat.c: Likewise.
9155         * math/w_asin_compat.c: Likewise.
9156         * math/w_asinf_compat.c: Likewise.
9157         * math/w_asinl_compat.c: Likewise.
9158         * math/w_atan2_compat.c: Likewise.
9159         * math/w_atan2f_compat.c: Likewise.
9160         * math/w_atan2l_compat.c: Likewise.
9161         * math/w_atanh_compat.c: Likewise.
9162         * math/w_atanhf_compat.c: Likewise.
9163         * math/w_atanhl_compat.c: Likewise.
9164         * math/w_cosh_compat.c: Likewise.
9165         * math/w_coshf_compat.c: Likewise.
9166         * math/w_coshl_compat.c: Likewise.
9167         * math/w_exp10_compat.c: Likewise.
9168         * math/w_exp10f_compat.c: Likewise.
9169         * math/w_exp10l_compat.c: Likewise.
9170         * math/w_exp2_compat.c: Likewise.
9171         * math/w_exp2f_compat.c: Likewise.
9172         * math/w_exp2l_compat.c: Likewise.
9173         * math/w_fmod_compat.c: Likewise.
9174         * math/w_fmodf_compat.c: Likewise.
9175         * math/w_fmodl_compat.c: Likewise.
9176         * math/w_hypot_compat.c: Likewise.
9177         * math/w_hypotf_compat.c: Likewise.
9178         * math/w_hypotl_compat.c: Likewise.
9179         * math/w_j0_compat.c: Likewise.
9180         * math/w_j0f_compat.c: Likewise.
9181         * math/w_j0l_compat.c: Likewise.
9182         * math/w_j1_compat.c: Likewise.
9183         * math/w_j1f_compat.c: Likewise.
9184         * math/w_j1l_compat.c: Likewise.
9185         * math/w_jn_compat.c: Likewise.
9186         * math/w_jnf_compat.c: Likewise.
9187         * math/w_jnl_compat.c: Likewise.
9188         * math/w_log10_compat.c: Likewise.
9189         * math/w_log10f_compat.c: Likewise.
9190         * math/w_log10l_compat.c: Likewise.
9191         * math/w_log2_compat.c: Likewise.
9192         * math/w_log2f_compat.c: Likewise.
9193         * math/w_log2l_compat.c: Likewise.
9194         * math/w_log_compat.c: Likewise.
9195         * math/w_logf_compat.c: Likewise.
9196         * math/w_logl_compat.c: Likewise.
9197         * math/w_pow_compat.c: Likewise.
9198         * math/w_powf_compat.c: Likewise.
9199         * math/w_powl_compat.c: Likewise.
9200         * math/w_remainder_compat.c: Likewise.
9201         * math/w_remainderf_compat.c: Likewise.
9202         * math/w_remainderl_compat.c: Likewise.
9203         * math/w_scalb_compat.c: Likewise.
9204         * math/w_scalbf_compat.c: Likewise.
9205         * math/w_scalbl_compat.c: Likewise.
9206         * math/w_sinh_compat.c: Likewise.
9207         * math/w_sinhf_compat.c: Likewise.
9208         * math/w_sinhl_compat.c: Likewise.
9209         * math/w_sqrt_compat.c: Likewise.
9210         * math/w_sqrtf_compat.c: Likewise.
9211         * math/w_sqrtl_compat.c: Likewise.
9212         * math/w_tgamma_compat.c: Likewise.
9213         * math/w_tgammaf_compat.c: Likewise.
9214         * math/w_tgammal_compat.c: Likewise.
9216         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
9217         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9218         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9219         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9220         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9221         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9222         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9223         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9224         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9225         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
9226         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
9227         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
9228         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9229         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9230         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9231         * sysdeps/ia64/fpu/w_powl.c: Likewise.
9232         * sysdeps/ia64/fpu/w_powf.c: Likewise.
9233         * sysdeps/ia64/fpu/w_pow.c: Likewise.
9234         * sysdeps/ia64/fpu/w_logl.c: Likewise.
9235         * sysdeps/ia64/fpu/w_logf.c: Likewise.
9236         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9237         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9238         * sysdeps/ia64/fpu/w_log2.c: Likewise.
9239         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9240         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9241         * sysdeps/ia64/fpu/w_log10.c: Likewise.
9242         * sysdeps/ia64/fpu/w_log.c: Likewise.
9243         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9244         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9245         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9246         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9247         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9248         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9249         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9250         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9251         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9252         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9253         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9254         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9255         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9256         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9257         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9258         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9259         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9260         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9261         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9262         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9263         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9264         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9265         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9266         * sysdeps/ia64/fpu/w_asin.c: Likewise.
9267         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9268         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9269         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9270         * sysdeps/ia64/fpu/w_acos.c: Likewise.
9271         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9272         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9273         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9274         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
9275         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
9276         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
9277         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
9278         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
9279         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
9280         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
9281         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
9282         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
9283         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
9284         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
9285         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
9286         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
9287         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
9288         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
9289         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
9290         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
9291         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
9292         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
9293         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
9294         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
9295         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
9296         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
9297         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
9298         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
9299         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
9300         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
9301         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
9302         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
9303         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
9304         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
9305         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
9306         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
9307         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
9308         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
9309         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
9310         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
9311         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
9312         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
9313         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
9314         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
9315         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
9316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
9317         Likewise.
9318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
9319         Likewise.
9320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
9321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
9322         Likewise.
9323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
9324         Likewise.
9325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
9326         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9327         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9328         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9329         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9330         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9331         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
9333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
9335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9336         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9337         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9338         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9339         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9341         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
9342         and adjusted for new #includes path
9343         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
9344         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
9345         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
9346         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
9347         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
9348         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
9349         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
9350         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
9351         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
9352         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
9353         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
9354         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
9355         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
9356         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
9357         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
9358         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
9359         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
9360         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
9361         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
9362         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
9363         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
9364         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
9365         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
9366         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
9367         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
9368         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
9369         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
9370         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
9371         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
9372         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9373         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9374         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9375         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9376         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9377         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9378         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9379         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9380         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9381         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9382         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9383         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9384         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9385         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9386         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9387         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9388         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9389         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9390         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9391         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9392         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9393         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9394         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9395         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9396         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9397         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9398         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9399         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9400         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9401         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9402         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9403         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9404         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9405         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9406         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9407         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9408         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9409         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9410         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9411         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9412         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9413         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9414         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9415         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9416         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9417         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9418         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9419         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9420         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9421         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9422         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9423         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9424         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9425         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9426         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9427         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9428         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9429         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9430         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9431         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9432         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9433         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9434         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9435         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9436         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9437         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9438         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9439         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9440         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9441         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9443         Likewise.
9444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9445         Likewise.
9446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9447         Likewise.
9448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9449         Likewise.
9450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9451         Likewise.
9452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9453         Likewise.
9454         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9455         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9456         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9457         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9458         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9459         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9461         Likewise.
9462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9463         Likewise.
9464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9465         Likewise.
9466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9467         Likewise.
9468         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9469         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9470         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9471         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9473 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9475         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9476         __jmp_buf_internal_tag.
9478         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9479         preserve NaN payload if [__mips_nan2008].
9480         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9482         [BZ #21022]
9483         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9485 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9487         * sysdeps/i386/fpu/libm-test-ulps: Update.
9489 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9491         * sysdeps/ia64/strcat.c: Remove file.
9492         * sysdeps/powerpc/strcat.c: Likewise.
9493         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9494         C implementation.
9495         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9496         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9498 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9499             Steven Munroe  <sjmunroe@us.ibm.com>
9500             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9502         [BZ #20822]
9503         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9504         (__lll_lock_elision): Access adapt_count via C11 atomics.
9505         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9506         (__lll_trylock_elision): Likewise.
9507         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9508         (__lll_unlock_elision):  Update adapt_count variable inside the
9509         critical section using C11 atomics.
9511 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9513         * math/test-fenvinline.c (do_test): Disable tests of raised
9514         exceptions if !EXCEPTION_TESTS (FLOAT).
9516 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9518         [BZ #19390]
9519         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9520         maximum string size.
9521         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9522         in pointer addition.
9523         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9524         Likewise.
9526 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9528         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9529         passed to tst-ldconfig-X.sh.
9531 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9533         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9535 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9537         [BZ #21019]
9538         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9539         New syscall entry.
9540         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9541         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9542         lseek.
9544         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9545         power4 glibc for powerpc-linux-gnu.
9547 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9549         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9550         semctl.
9552 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9554         * math/test-nearbyint-except.c: Include <stdbool.h>.
9555         (any_supported): New variable.
9556         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9557         set any_supported.
9558         (do_test): Return 77 if no floating-point type supported
9559         exceptions.
9561         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9562         condition on [__mips_hard_float].
9564 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9566         [BZ #21014]
9567         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9568         in pointer addition.
9569         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9571 2017-01-02  Torvald Riegel  <triegel@redhat.com>
9573         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9574         new condvar.
9576 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9578         * scripts/build-many-glibcs.py (Context.checkout): Default
9579         binutils version to 2.28 branch.
9581 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9583         * support/support_format_netent.c (support_format_netent): Work
9584         around alpha struct netent definition difference.
9586 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9588         * support/xwrite.c (xwrite): Use %td for pointer difference.
9590 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9592         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9593         have-tunables only.
9594         (tests-static): Add tst-malloc-usable-static-tunables for
9595         have-tunables only.
9597 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
9599         * scripts/config.guess: Update to version 2017-01-01.
9600         * scripts/config.sub: Update to version 2017-01-01.
9602         * NEWS: Update copyright dates.
9603         * catgets/gencat.c (print_version): Likewise.
9604         * csu/version.c (banner): Likewise.
9605         * debug/catchsegv.sh: Likewise.
9606         * debug/pcprofiledump.c (print_version): Likewise.
9607         * debug/xtrace.sh (do_version): Likewise.
9608         * elf/ldconfig.c (print_version): Likewise.
9609         * elf/ldd.bash.in: Likewise.
9610         * elf/pldd.c (print_version): Likewise.
9611         * elf/sotruss.sh: Likewise.
9612         * elf/sprof.c (print_version): Likewise.
9613         * iconv/iconv_prog.c (print_version): Likewise.
9614         * iconv/iconvconfig.c (print_version): Likewise.
9615         * locale/programs/locale.c (print_version): Likewise.
9616         * locale/programs/localedef.c (print_version): Likewise.
9617         * login/programs/pt_chown.c (print_version): Likewise.
9618         * malloc/memusage.sh (do_version): Likewise.
9619         * malloc/memusagestat.c (print_version): Likewise.
9620         * malloc/mtrace.pl: Likewise.
9621         * manual/libc.texinfo: Likewise.
9622         * nptl/version.c (banner): Likewise.
9623         * nscd/nscd.c (print_version): Likewise.
9624         * nss/getent.c (print_version): Likewise.
9625         * nss/makedb.c (print_version): Likewise.
9626         * posix/getconf.c (main): Likewise.
9627         * scripts/test-installation.pl: Likewise.
9628         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9630         * All files with FSF copyright notices: Update copyright dates
9631         using scripts/update-copyrights.
9632         * intl/plural.c: Regenerated.
9633         * locale/programs/charmap-kw.h: Likewise.
9634         * locale/programs/locfile-kw.h: Likewise.
9636 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9638         [BZ #20593]
9639         Update DNS RR type definitions.
9640         * scripts/gen-rrtypes.py: New file.
9641         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9642         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
9643         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9644         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9645         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9646         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9647         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9648         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9649         ns_t_ta, ns_t_dlv.
9650         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9651         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9652         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9653         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9654         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9655         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9656         Define.
9657         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
9658         entry for ns_t_zxfr.
9660 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9662         [BZ #18784]
9663         CVE-2015-5180
9664         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9665         T_UNSPEC.  Adjust value.
9666         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9667         * resolv/res_query.c (__libc_res_nquery): Likewise.
9668         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9669         QTYPEs.
9670         * resolv/tst-resolv-qtypes.c: New file.
9671         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9672         (tst-resolv-qtypes): Link against libresolv and libpthread.
9674 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9676         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9678 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9680         * manual/tunables.texi: New chapter.
9681         * manual/Makefile (chapters): Add it.
9682         * manual/probes.texi (@node): Point to the Tunables chapter.
9684         * Makeconfig (have-tunables): Check for non-negative instead
9685         of positive.
9686         * configure.ac: Add 'valstring' as a valid value for
9687         --enable-tunables.
9688         * configure: Regenerate.
9689         * elf/Makefile (have-tunables): Check for non-negative instead
9690         of positive.
9691         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9692         dl-tunables.c.
9693         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9694         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9695         (tunables_strdup): Likewise.
9696         (disable_tunables): Likewise.
9697         (parse_tunables): Likewise.
9698         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9699         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9700         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9701         (TUNABLES_FRONTEND_yes): New macro, define as
9702         TUNABLES_FRONTEND_valstring by default.
9703         * manual/install.texi: Document new acceptable values for
9704         --enable-tunables.
9705         * INSTALL: Regenerate.
9707         * config.make.in (have-loop-to-function): Define.
9708         * elf/Makefile (CFLAGS-dl-tunables.c): Add
9709         -fno-tree-loop-distribute-patterns.
9710         * elf/dl-tunables.c: Include libc-internals.h.
9711         (GLIBC_TUNABLES): New macro.
9712         (tunables_strdup): New function.
9713         (parse_tunables): New function.
9714         (min_strlen): New function.
9715         (__tunables_init): Use the new functions and macro.
9716         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9717         * malloc/tst-malloc-usable-tunables.c: New test case.
9718         * malloc/tst-malloc-usable-static-tunables.c: New test case.
9719         * malloc/Makefile (tests, tests-static): Add tests.
9721         * manual/install.texi: Add --enable-tunables option.
9722         * INSTALL: Regenerate.
9723         * README.tunables: New file.
9724         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9725         (before-compile): Generate dl-tunable-list.h early.
9726         * config.h.in: Add HAVE_TUNABLES.
9727         * config.make.in: Add have-tunables.
9728         * configure.ac: Add --enable-tunables option.
9729         * configure: Regenerate.
9730         * csu/init-first.c (__libc_init_first): Move
9731         __libc_init_secure earlier...
9732         * csu/init-first.c (LIBC_START_MAIN):... to here.
9733         Include dl-tunables.h, libc-internal.h.
9734         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9735         binaries.
9736         * elf/Makefile (dl-routines): Add dl-tunables.
9737         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9738         namespace.
9739         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9740         only when !HAVE_TUNABLES.
9741         * elf/rtld.c (process_envvars): Likewise.
9742         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9743         (_dl_sysdep_start): Call __tunables_init.
9744         * elf/dl-tunable-types.h: New file.
9745         * elf/dl-tunables.c: New file.
9746         * elf/dl-tunables.h: New file.
9747         * elf/dl-tunables.list: New file.
9748         * malloc/tst-malloc-usable-static.c: New test case.
9749         * malloc/Makefile (tests-static): Add it.
9750         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9751         Define TUNABLE_NAMESPACE.
9752         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9753         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
9754         callback functions.
9755         (ptmalloc_init): Set tunable values.
9756         * scripts/gen-tunables.awk: New file.
9757         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9758         (_dl_sysdep_start): Call __tunables_init.
9760 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9762         * resolv/resolv.h (RES_BLAST): Deprecate.
9763         * resolv/res_debug.c (p_option): Remove RES_BLAST.
9764         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9765         to RES_BLAST.
9767 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9769         [BZ #19582]
9770         Deprecate RES_USE_INET6.
9771         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9772         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9773         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9774         RES_USE_INET6.
9775         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9776         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9777         (_nss_nisplus_gethostbyaddr_r): Likewise.
9778         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9779         of res_use_inet6.
9780         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9781         instead of RES_USE_INET6.
9782         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9783         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9784         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9785         Likewise.
9786         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9787         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9788         Likewise.
9789         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9790         (_nss_dns_gethostbyname_r): Likewise.
9791         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
9792         alternate RES_USE_INET6 handling.
9793         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
9794         instead of RES_USE_INET6.
9795         * resolv/res_init.c (res_setoptions): Likewise.
9796         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
9797         * resolv/resolv-internal.h: New file.
9798         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
9799         make the deprecation warning non-fatal.
9800         * resolv/README (Using the resolver in multi-threaded code): Drop
9801         reference to RES_USE_INET6.
9802         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
9803         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
9805 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9807         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
9808         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
9809         tst-resolv-search.
9810         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
9811         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
9812         with libresolv and libpthread.
9813         * resolv/tst-bug18665.c: New file.
9814         * resolv/tst-bug18665-tcp: Likewise.
9815         * resolv/tst-res_use_inet6: Likewise.
9816         * resolv/tst-resolv-basic: Likewise.
9817         * resolv/tst-resolv-network: Likewise.
9818         * resolv/tst-resolv-search: Likewise.
9819         * support/Makefile (libsupport-routines): Add check_addrinfo,
9820         check_dns_packet, check_hostent, check_netent, resolv_test,
9821         support_format_address_family, support_format_addrinfo,
9822         support_format_dns_packet, support_format_herrno,
9823         support_format_hostent, support_format_netent, support_run_diff,
9824         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
9825         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
9826         xstrdup, xwrite.
9827         * support/check_addrinfo.c: New file.
9828         * support/check_dns_packet.c: Likewise.
9829         * support/check_hostent.c: Likewise.
9830         * support/check_netent.c: Likewise.
9831         * support/check_nss.h: Likewise.
9832         * support/format_nss.h: Likewise.
9833         * support/resolv_test.c: Likewise.
9834         * support/resolv_test.h: Likewise.
9835         * support/run_diff.h: Likewise.
9836         * support/support_format_address_family.c: Likewise.
9837         * support/support_format_addrinfo.c: Likewise.
9838         * support/support_format_dns_packet.c: Likewise.
9839         * support/support_format_herrno.c: Likewise.
9840         * support/support_format_hostent.c: Likewise.
9841         * support/support_format_netent.c: Likewise.
9842         * support/support_run_diff.c: Likewise.
9843         * support/xaccept.c: Likewise.
9844         * support/xbind.c: Likewise.
9845         * support/xconnect.c: Likewise.
9846         * support/xfclose.c: Likewise.
9847         * support/xfopen.c: Likewise.
9848         * support/xgetsockname.c: Likewise.
9849         * support/xlisten.c: Likewise.
9850         * support/xmemstream.c: Likewise.
9851         * support/xmemstream.h: Likewise.
9852         * support/xpoll.c: Likewise.
9853         * support/xpthread_once.c: Likewise.
9854         * support/xrecvfrom.c: Likewise.
9855         * support/xsendto.c: Likewise.
9856         * support/xsetsockopt.c: Likewise.
9857         * support/xstdio.h: Likewise.
9858         * support/xstrdup.c: Likewise.
9859         * support/support.h (xstrdup): Declare.
9860         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
9861         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
9862         * support/xthread.h (xpthread_once): Likwise.
9863         * support/xunistd.h (xwrite): Declare.
9865 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9867         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
9868         (test_verbose): Declare.
9869         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
9870         * support/support_test_main.c (default_options): Likewise.
9871         (usage, support_test_main): Handle 'v'.
9872         (test_verbose): Define.
9873         * support/tst-support_record_failure.c (do_test): Use
9874         test_verbose.
9875         * support/tst-support_record_failure-2.sh (different_status): Add
9876         --verbose test.
9878 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9880         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
9881         test failures are recorded.
9882         * support/check.c (support_print_failure_impl): Call
9883         support_record_failure.
9884         (support_exit_failure_impl): Call support_record_failure if status
9885         indicates failure.
9886         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
9887         * support/xasprintf.c (xasprintf): Likewise.
9888         * support/xfork.c (xfork): Likewise.
9889         * support/xpthread_check_return.c (xpthread_check_return):
9890         Likewise.
9891         * support/xsocket.c (xsocket): Likeweise.
9892         * support/xwaitpid.c (xwaitpid): Likewise.
9893         * support/support_record_failure.c (struct test_failures): Adjust
9894         to coding style.
9895         * support/support_test_verify_impl.c (support_test_verify_impl):
9896         Adjust error messages.
9897         * support/tst-support_record_failure-2.sh (different_status):
9898         Adjust error messages.
9900 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9902         * support/namespace.h: New file.
9903         * support/support_become_root.c: Likewise.
9904         * support/support_enter_network_namespace.c: Likewise.
9905         * support/tst-support-namespace.c: Likewise.
9906         * support/xsocket.c: Likewise.
9907         * support/xsocket.h: Likewise.
9908         * support/Makefile (libsupport-routines): Add support_become_root,
9909         support_enter_network_namespace, xsocket.
9910         (tests): Add tst-support-namespace.
9912 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9914         [BZ #17252]
9915         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
9916         __USE_GNU.
9918 2016-12-31  Torvald Riegel  <triegel@redhat.com>
9920         [BZ #13165]
9921         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
9922         use new algorithm.
9923         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9924         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9925         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9926         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9927         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
9928         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
9929         __condvar_cleanup_waiting, __condvar_dec_grefs,
9930         __pthread_cond_wait_common): New.
9931         (__condvar_cleanup): Remove.
9932         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
9933         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
9934         Likewise.
9935         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
9936         Likewise.
9937         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
9938         * nptl/tst-cond1.c: Add comment.
9939         * nptl/tst-cond20.c (do_test): Adapt.
9940         * nptl/tst-cond22.c (do_test): Likewise.
9941         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
9942         structure.
9943         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9944         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9945         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9946         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
9947         Likewise.
9948         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9949         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9950         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9951         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9952         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9953         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
9954         Likewise.
9955         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
9956         Likewise.
9957         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9958         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
9959         (COND_CLOCK_BITS): Adapt.
9960         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
9961         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
9962         __PTHREAD_COND_SHARED_MASK): New.
9963         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
9964         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
9965         * nptl/nptl_lock_constants.pysym: Adapt.
9966         * nptl/test-cond-printers.py: Adapt.
9967         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
9968         cond_compat_check_and_clear): Adapt.
9969         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
9970         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9971         (__pthread_cond_timedwait): ... and move here.
9972         * nptl/DESIGN-condvar.txt: Remove file.
9973         * nptl/lowlevelcond.sym: Likewise.
9974         * nptl/pthread_cond_timedwait.c: Likewise.
9975         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
9976         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
9977         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
9978         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
9979         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
9980         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
9981         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
9982         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
9983         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
9984         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
9985         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
9986         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
9987         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
9988         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
9989         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
9990         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
9992 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
9994         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9995         (fromfp): New declaration.
9996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9999         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
10000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
10001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10004         * math/math.h: Include <bits/types.h>.
10005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
10006         constant and macro.
10007         (FP_INT_DOWNWARD): Likewise.
10008         (FP_INT_TOWARDZERO): Likewise.
10009         (FP_INT_TONEARESTFROMZERO): Likewise.
10010         (FP_INT_TONEAREST): Likewise.
10011         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
10012         (fromfpf): Likewise.
10013         (fromfpl): Likewise.
10014         (ufromfp): Likewise.
10015         (ufromfpf): Likewise.
10016         (ufromfpl): Likewise.
10017         (fromfpx): Likewise.
10018         (fromfpxf): Likewise.
10019         (fromfpxl): Likewise.
10020         (ufromfpx): Likewise.
10021         (ufromfpxf): Likewise.
10022         (ufromfpxl): Likewise.
10023         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
10024         s_fromfpxF and s_ufromfpxF.
10025         * math/gen-fromfp-tests.py: New file.
10026         * math/gen-fromfp-tests-inputs: Likewise.
10027         * math/libm-test.inc: Include <stdint.h>
10028         (check_intmax_t): New function.
10029         (check_uintmax_t): Likewise.
10030         (struct test_fiu_M_data): New type.
10031         (struct test_fiu_U_data): Likewise.
10032         (RUN_TEST_fiu_M): New macro.
10033         (RUN_TEST_LOOP_fiu_M): Likewise.
10034         (RUN_TEST_fiu_U): Likewise.
10035         (RUN_TEST_LOOP_fiu_U): Likewise.
10036         (fromfp_test_data): New array.
10037         (fromfp_test): New function.
10038         (fromfpx_test_data): New array.
10039         (fromfpx_test): New function.
10040         (ufromfp_test_data): New array.
10041         (ufromfp_test): New function.
10042         (ufromfpx_test_data): New array.
10043         (ufromfpx_test): New function.
10044         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
10045         ufromfpx_test.
10046         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
10047         characters.
10048         * math/test-tgmath-ret.c: Include <stdint.h>.
10049         (rm): New variable.
10050         (width): Likewise.
10051         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
10052         called function.
10053         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
10054         CHECK_RET_CONST_TYPE.
10055         (CHECK_RET_CONST_DOUBLE): Likewise.
10056         (CHECK_RET_CONST_LDOUBLE): Likewise.
10057         (CHECK_RET_CONST): Take extra arguments and pass them to calls
10058         macros.
10059         (fromfp): New CHECK_RET_CONST call.
10060         (ufromfp): Likewise.
10061         (fromfpx): Likewise.
10062         (ufromfpx): Likewise.
10063         (do_test): Call check_return_fromfp, check_return_ufromfp,
10064         check_return_fromfpx and check_return_ufromfpx.
10065         * math/test-tgmath.c: Include <stdint.h>
10066         (NCALLS): Increase to 138.
10067         (F(compile_test)): Initialize i.  Call fromfp functions.
10068         (F(fromfp)): New function.
10069         (F(fromfpx)): Likewise.
10070         (F(ufromfp)): Likewise.
10071         (F(ufromfpx)): Likewise.
10072         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
10073         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
10074         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
10075         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
10076         ufromfpxl.
10077         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
10078         ufromfp and ufromfpx.
10079         * math/fromfp.h: New file.
10080         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10081         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10082         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10083         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10084         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10085         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10086         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10087         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10088         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10089         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10090         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10091         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10092         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10093         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10094         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10095         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10096         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10097         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10098         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10099         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10100         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10101         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10102         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10103         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10104         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10105         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10106         ufromfp, fromfpx and ufromfpx.
10107         (CFLAGS-nldbl-fromfp.c): New variable.
10108         (CFLAGS-nldbl-fromfpx.c): Likewise.
10109         (CFLAGS-nldbl-ufromfp.c): Likewise.
10110         (CFLAGS-nldbl-ufromfpx.c): Likewise.
10111         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10112         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10113         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10114         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10115         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10116         * sysdeps/nacl/libm.abilist: Update.
10117         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10118         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10119         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10120         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10121         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10122         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10123         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10124         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10125         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10126         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10127         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10128         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10130         Likewise.
10131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10132         Likewise.
10133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10134         Likewise.
10135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10136         Likewise.
10137         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10138         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10139         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10140         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10141         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10143         Likewise.
10144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10145         Likewise.
10146         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10147         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10148         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10150 2016-12-30  Florian Weimer  <fweimer@redhat.com>
10152         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
10153         compat-gethnamaddr.
10154         (CPPFLAGS): Remove.
10155         * resolv/gethnamaddr.c: Rename ...
10156         * resolv/compat-gethnamaddr.c: ... to this file.
10157         (_endhtent): Make static.
10158         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
10159         symbol.
10160         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
10161         compat symbol.
10162         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
10163         symbol.
10164         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
10165         Turn into compat symbol.
10166         * include/resolv.h (_endhtent): Remove declaration.
10168 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
10170         * bits/types.h (__intmax_t): New typedef.
10171         (__uintmax_t): Likewise.
10172         * sysdeps/generic/stdint.h: Include <bits/types.h>.
10173         (intmax_t): Define using __intmax_t.
10174         (uintmax_t): Define using __uintmax_t.
10176         * support/Makefile (tests-special): Make definition conditional on
10177         [$(run-built-tests) = yes].
10178         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
10179         on [$(run-built-tests) = yes].
10181 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10183         * Rules (tests): Add tests-printers-programs to tests to be
10184         built.
10186 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10188         * sysvipc/Makefile (tests): Add test-sysvshm.
10189         * sysvipc/test-sysvshm.c: New file.
10191         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
10192         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
10193         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
10194         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
10195         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
10196         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
10197         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
10198         Likewise.
10199         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
10200         Likewise.
10201         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
10202         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
10203         is defined.
10205         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
10206         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
10207         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
10208         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
10209         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
10210         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
10211         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
10212         Likewise.
10213         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
10214         Likewise.
10215         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
10216         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
10217         defined.
10219         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10220         oldshmctl.
10221         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
10222         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
10223         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
10224         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
10225         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
10226         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
10227         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
10228         Likewise.
10229         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
10230         Likewise.
10231         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
10232         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
10233         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
10234         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
10235         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
10236         implementation.
10237         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
10238         if it is defined.
10240         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
10241         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
10242         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
10243         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
10244         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
10245         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
10246         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
10247         Likewise.
10248         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
10249         Likewise.
10250         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
10251         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
10252         Define to __NR_osf_shmat.
10253         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
10254         defined.
10256         * sysvipc/Makefile (tests): Add test-sysvsem.
10257         * sysvipc/test-sysvsem.c: New file.
10259         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
10260         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
10261         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
10262         Likewise.
10263         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
10264         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
10265         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
10266         Likewise.
10267         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
10268         Likewise.
10269         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
10270         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
10271         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
10272         add a comment about s390 syscall difference from default one.
10273         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
10274         syscall if it is defined.
10276         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
10277         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
10278         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
10279         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
10280         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
10281         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
10282         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10283         Likewise.
10284         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
10285         Likewise.
10286         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
10287         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
10288         defined.
10290         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
10291         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
10292         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
10293         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
10294         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
10295         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
10296         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
10297         Likewise.
10298         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
10299         Likewise.
10300         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
10301         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
10302         if it is defined.
10304         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10305         oldsemctl.
10306         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
10307         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
10308         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
10309         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
10310         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
10311         implementation.
10312         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
10313         syscall if it is defined.
10314         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
10315         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
10316         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
10317         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
10318         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
10319         Likewise.
10320         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
10322         * sysvipc/Makefile (tests): Add test-sysvmsg.
10323         * sysvipc/test-sysvmsg.c: New file.
10324         * support/check.h (FAIL_UNSUPPORTED): New define.
10326         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
10327         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
10328         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
10329         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
10330         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
10331         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
10332         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10333         Likewise.
10334         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
10335         Likewise.
10336         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
10337         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
10338         define.
10340         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
10341         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
10342         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
10343         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
10344         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
10345         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
10346         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
10347         Likewise.
10348         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
10349         Likewise.
10350         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
10351         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
10352         if defined.
10354         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
10355         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
10356         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10357         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10358         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10359         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
10360         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10361         Likewise.
10362         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
10363         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
10364         Likewise.
10365         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
10366         if defined.
10367         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
10369         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10370         oldmsgctl.
10371         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
10372         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10373         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10374         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10375         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10376         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10377         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10378         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10379         Likewise.
10380         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10381         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10382         implementation.
10383         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10384         if defined.
10386         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10387         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10388         definition and define its own.
10389         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10390         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10391         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10392         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10393         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10394         definitions to common header.
10395         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10396         operation from ipc_ops.h.
10398         * sysdeps/unix/sysv/linux/kernel-features.h
10399         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10400         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10401         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10402         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10403         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10404         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10405         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10406         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10407         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10408         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10409         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10410         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10411         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10412         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10413         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10415 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10417         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10418         overflow in pointer addition.
10420 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10422         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10423         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10425         (strchr): Add __strchr_power8 to list of strchr functions.
10426         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10427         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10428         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10429         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10430         (strchr): Add __strchr_power8 to ifunc list.
10431         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10432         (__strchrnul): Add __strchrnul_power8 to ifunc list.
10433         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10434         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10436 2016-12-28  Florian Weimer  <fweimer@redhat.com>
10438         * support/Makefile (libsupport-routines): Add
10439         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10440         (tests): Add tst-support_record_failure.
10441         (tests-special): tst-support_record_failure-2.
10442         (tst-support_record_failure-2.out): Depend on
10443         tst-support_record_failure-2.sh and tst-support_record_failure.
10444         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10445         (support_test_verify_impl, support_record_failure)
10446         (support_report_failure, support_report_failure_reset): Declare.
10447         * support/support_test_main.c (adjust_exit_status): New function.
10448         (support_test_main): Call it to incorporate record test failures.
10449         * support/support_test_verify_impl.c: New file.
10450         * support/support_record_failure.c: Likewise.
10451         * support/tst-support_record_failure.c: Likewise.
10452         * support/tst-support_record_failure-2.sh: Likewise.
10453         * support/xunistd.h: Likewise.
10454         * support/xfork.c: Likewise.
10455         * support/xwaitpid.c: Likewise.
10457 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10459         * scripts/check-c++-types.sh: Add comments.
10461 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10463         [BZ #19514]
10464         * resolv/res_send.c: Fix typo in comment.
10465         * sysdeps/i386/i386-mcount.S: Likewise.
10466         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10467         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10468         * sysdeps/sparc/sparc-mcount.S: Likewise.
10470 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10472         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10473         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10474         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10475         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10476         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10477         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10478         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10479         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10481 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10483         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10485 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10487         [BZ #17252]
10488         * posix/unistd.h (getentropy): Declare.
10490 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10492         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10493         Remove.
10494         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10495         (cmd): Remove spoof, nospoof, spoofalert.
10496         (parse_line): Ignore spoof-related lines.
10497         (do_init): Do not process RESOLV_SPOOF_CHECK.
10499 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10501         [BZ #20964]
10502         sunrpc: Always obtain AF_INET addresses from NSS.
10503         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10504         * sunrpc/rpc_gethostbyname.c: New file.
10505         * sunrpc/Makefile (routines): Add it.
10506         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10507         * sunrpc/clnt_simp.c (callrpc): Likewise.
10508         * sunrpc/getrpcport.c (getrpcport): Likewise.
10510 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10512         * sunrpc/rpcinfo.c: Remove.
10513         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10515 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10517         [BZ #19387]
10518         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10519         addition.
10520         * string/test-memchr.c (do_test): Remove alignment limitation.
10521         (test_main): Add test that trigger BZ #19387.
10523 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10525         [BZ #7065]
10526         Enable stack protectore if requested by ./configure.
10527         * Makeconfig (+stack-protector): New variable.
10528         (+cflags): Use it.
10530 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10532         [BZ #7065]
10533         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10534         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10535         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10536         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10537         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10539 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10541         [BZ #7065]
10542         * login/Makefile (pt_chown-cflags): Remove.
10543         * nscd/Makefile (CFLAGS-nscd): Likewise.
10544         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10546 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10548         [BZ #7065]
10549         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10550         non-libc-linking testcase.
10552 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10553             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10554             Florian Weimer  <fweimer@redhat.com>
10556         [BZ #7065]
10557         PLT avoidance for __stack_chk_fail*.
10558         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10559         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10560         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10561         __stack_chk_fail_local alias.
10562         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10563         (__stack_chk_fail): Turn into hidden reference to
10564         __stack_chk_fail_local.
10566 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10568         [BZ #7065]
10569         * configure.ac: Add check for unsupported stack-protection level.
10570         (libc_cv_predef_stack_protector): Remove.
10571         (no_ssp): New variable.
10572         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10573         (stack_protector): Set to -fno-stack-protector similarly.
10574         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10575         (libc_cv_asm_set_directive): Likewise.
10576         (libc_cv_protected_data): Likewise.
10577         (libc_cv_z_combreloc): Likewise.
10578         (libc_cv_hashstyle): Likewise.
10579         (libc_cv_has_glob_dat): Likewise.
10580         (libc_cv_output_format): Likewise.
10581         (libc_cv_output_format): Likewise.
10582         (libc_cv_ehdr_start): Likewise.
10583         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10584         (LIBC_LINKER_FEATURE): Likewise.
10585         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10587 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10589         [BZ #7065]
10590         * elf/Makefile (dummy-stack-chk-fail): New.
10591         (librtld.map): Use it.
10593 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10595         [BZ #7065]
10596         Compile the dynamic linker without stack protection.
10597         * elf/Makefile (elide-stack-protector): New.
10598         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10599         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10600         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10601         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10603 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10605         [BZ #7065]
10606         * config.make.in (have-ssp, no-stack-protector): New.
10607         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10608         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10609         (CFLAGS-sbrk.op): Likewise.
10610         (CFLAGS-brk.o): Likewise.
10611         (CFLAGS-brk.op): Likewise.
10612         * string/Makefile (CFLAGS-memcpy.c): Likewise.
10613         (CFLAGS-wordcopy.c): Likewise.
10615 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10617         [BZ #7065]
10618         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10619         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10620         * include/libc-symbols.h (inhibit_stack_protector): New macro.
10621         (__ifunc_resolver): Use it.
10622         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10623         inhibit_stack_protector.
10624         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10625         * elf/ifuncmain7.c (foo_ifunc): Likewise.
10626         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10627         (foo_protected_ifunc): Likewise.
10628         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10629         (foo_protected_ifunc): Likewise.
10630         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10631         * sysdeps/nacl/nacl_interface_query.c
10632         (nacl_interface_query_ifunc): Likewise.
10633         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10634         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10635         Likewise.
10636         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10637         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10638         the generated vDSO syscall resolver.
10640 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10641             Florian Weimer  <fweimer@redhat.com>
10643         [BZ #7065]
10644         Initialize the stack guard earlier when linking statically.
10645         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10646         (__pthread_initialize_minimal): Declare.
10647         * csu/libc-start.c (__pthread_initialize_minimal): Remove
10648         declaration.
10649         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
10650         stack canary and apply_irel initialization up.  Call
10651         __pthread_initialize_minimal only if linked in.
10652         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10653         constant values.
10654         (__pthread_initialize_minimal): Remove.
10655         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10656         (__pthread_initialize_minimal_internal): Do not call
10657         __libc_setup_tls.
10659 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10661         [BZ #7065]
10662         * configure.ac (libc_cv_ssp): Move up.
10663         (libc_cv_ssp_strong): Likewise.
10664         (libc_cv_ssp_all): New.
10665         (stack_protector): Augment, adding -fstack-protector-all.
10666         (no_stack_protector): New.
10667         (STACK_PROTECTOR_LEVEL): New.
10668         (AC_ARG_ENABLE(stack-protector)): New configure flag.
10669         * manual/install.texi (--enable-stack-protector): Document it.
10670         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10672 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
10674         * README.pretty-printers: Must specify CPPFLAGS-* also.
10675         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10676         (CPPFLAGS-test-mutex-printers.c): Define.
10677         (CPPFLAGS-test-condattr-printers.c): Define.
10678         (CPPFLAGS-test-cond-printers.c): Define.
10679         (CPPFLAGS-test-rwlockattr-printers.c): Define.
10680         (CPPFLAGS-test-rwlock-printers.c): Define.
10682         * nss/Makefile [ifeq (yes,$(have-thread-library))]
10683         (tests): Add tst-cancel-getpwuid_r.
10684         * nss/tst-cancel-getpwuid_r.c: New file.
10686         [BZ #11941]
10687         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10688         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10689         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10690         tst-nodelete-dlclose.
10691         (modules-names): Add tst-nodelete-dlclose-dso and
10692         tst-nodelete-dlclose-plugin.
10693         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10694         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10695         ($(objpfx)tst-nodelete-dlclose): Define.
10696         ($(objpfx)tst-nodelete-dlclose.out): Define.
10698 2016-12-23  Florian Weimer  <fweimer@redhat.com>
10700         * scripts/test_printers_common.py: Log GDB output in case of
10701         Python detection failure.
10703 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10705         * configure.ac: Check for python3 or python.
10706         * configure: Regenerated.
10707         * config.make.in (PYTHON): New variable.
10708         * benchtests/Makefile: Don't define PYTHON.
10709         (bench): Define target only if PYTHON was defined.
10710         * Rules: Don't define PYTHON.
10711         Define pretty printer targets only if PYTHON was defined.
10712         (tests-printers): Add to tests-unsupported if PYTHON is not
10713         found.
10714         (python-flags, python-invoke): Remove.
10715         (tests-printers-out): Use PYTHON instead of python-invoke.
10717 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10719         [BZ #20978]
10720         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10721         Compare name == NULL, not name != NULL.
10723         * manual/texinfo.tex: Update to version 2016-09-18.18 with
10724         trailing whitespace removed.
10725         * scripts/config.guess: Update to version 2016-10-02.
10726         * scripts/config.sub: Update to version 2016-11-19.
10727         * scripts/install-sh: Update to version 2016-01-11.22.
10728         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10729         * scripts/move-if-change: Update to version 2016-01-11 22:04.
10731 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
10733         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10734         (do_one_test) Restore original string so iteration works.
10735         * string/string-inlines.c (do_test): Create better input strings.
10736         (test_main) Reduce number of testruns.
10737         * string/string-inlines.c (__old_strsep_1c): New function.
10738         (__old_strsep_2c): Likewise.
10739         (__old_strsep_3c): Likewise.
10740         * string/strsep.c (__strsep): Remove case of small delim string.
10741         Call strcspn directly rather than strpbrk.
10742         * string/bits/string2.h (__strsep): Remove define.
10743         (__strsep_1c): Remove.
10744         (__strsep_2c): Remove.
10745         (__strsep_3c): Remove.
10746         (strsep): Remove.
10747         * sysdeps/unix/sysv/linux/internal_statvfs.c
10748         (__statvfs_getflags): Rename to __strsep.
10750 2016-12-21  Florian Weimer  <fweimer@redhat.com>
10752         * csu/libc-tls.c (_dl_tls_setup): Remove.
10753         * elf/dl-tls.c (_dl_tls_setup): Likewise.
10754         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10755         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10757 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10759         [BZ #7065]
10760         * sysdeps/x86_64/Makefile [$(subdir) = elf]
10761         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10763 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10764             Florian Weimer  <fweimer@redhat.com>
10766         [BZ #7065]
10767         * csu/Makefile (tests): Empty assignment and document it.
10768         (tests-static): Remove.
10769         * csu/tst-empty.c: Move to...
10770         * misc/tst-empty.c: ... here.  Switch to new test driver.
10771         * csu/tst-atomic.c: Move to...
10772         * misc/tst-atomic.c: ... here.  Switch to new test driver.
10773         * csu/tst-atomic-long.c: Move to...
10774         * misc/tst-atomic-long.c: ... here.
10775         * misc/Makefile (tests): Add tst-empty, tst-atomic,
10776         tst-atomic-long.
10777         (tests-static): Add tst-empty.
10779 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
10781         * manual/nss.texi: Change incorrect @vtable to @table.
10782         * manual/arith.texi: Convert @tables of variables to @vtables
10783         and remove unnecessary indexing.
10784         * manual/filesys.texi: Likewise.
10785         * manual/llio.texi: Likewise.
10786         * manual/memory.texi: Likewise.
10787         * manual/process.texi: Likewise.
10788         * manual/resource.texi: Likewise.
10789         * manual/search.texi: Likewise.
10790         * manual/signal.texi: Likewise.
10791         * manual/socket.texi: Likewise.
10792         * manual/stdio.texi: Likewise.
10793         * manual/sysinfo.texi: Likewise.
10794         * manual/syslog.texi: Likewise.
10795         * manual/terminal.texi: Likewise.
10796         * manual/time.texi: Likewise.
10797         * manual/users.texi: Likewise.
10799 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10801         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10802         (roundeven): New declaration.
10803         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
10804         macro.
10805         * math/Versions (roundeven): New libm symbol at version
10806         GLIBC_2.25.
10807         (roundevenf): Likewise.
10808         (roundevenl): Likewise.
10809         * math/Makefile (libm-calls): Add s_roundevenF.
10810         * math/libm-test.inc (roundeven_test_data): New array.
10811         (roundeven_test): New function.
10812         (main): Call roundeven_test.
10813         * math/test-tgmath.c (NCALLS): Increase to 134.
10814         (F(compile_test)): Call roundeven.
10815         (F(roundeven)): New function.
10816         * manual/arith.texi (Rounding Functions): Document roundeven,
10817         roundevenf and roundevenl.
10818         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
10819         * include/math.h (roundeven): Use libm_hidden_proto.
10820         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
10821         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
10822         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
10823         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
10824         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
10825         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
10826         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10827         roundeven.
10828         (CFLAGS-nldbl-roundeven.c): New variable.
10829         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
10830         * sysdeps/nacl/libm.abilist: Update.
10831         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10832         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10833         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10834         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10835         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10836         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10837         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10838         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10839         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10840         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10841         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10842         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10844         Likewise.
10845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10846         Likewise.
10847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10848         Likewise.
10849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10850         Likewise.
10851         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10852         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10853         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10854         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10855         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10857         Likewise.
10858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10859         Likewise.
10860         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10861         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10862         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10864 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10866         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
10867         preprocessor indentation inside #if.
10869 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10871         * math/libm-test.inc (fmt_ftostr): New function.
10872         (print_float, check_float_internal): Replace some uses of
10873         FTOSTR with uses of fmt_ftostr.
10874         (print_max_error, print_complex_max_error, print_function_ulps)
10875         (print_complex_function_ulps): Remove uses of the macros
10876         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
10877         * math/test-double.h (FTOSTR): Define to strfromd.
10878         (PRINTF_EXPR): Delete.
10879         (PRINTF_XEXPR): Likewise.
10880         (PRINTF_NEXPR): Likewise.
10881         * math/test-float.h (FTOSTR): Define to strfromf.
10882         (PRINTF_EXPR): Delete.
10883         (PRINTF_XEXPR): Likewise.
10884         (PRINTF_NEXPR): Likewise.
10885         * math/test-ldouble.h (FTOSTR): Define to strfroml.
10886         (PRINTF_EXPR): Delete.
10887         (PRINTF_XEXPR): Likewise.
10888         (PRINTF_NEXPR): Likewise.
10890 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10892         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10893         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
10894         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10895         (__lll_lock_elision): Decrement adapt_count while unlocking
10896         instead of before locking.
10897         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10898         (__lll_trylock_elision): Likewise.
10899         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
10900         (__lll_unlock_elision): Likewise.
10902 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10904         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
10905         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
10906         Use __libc_tbegin_retry macro.
10908 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10910         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
10911         Add -msoft-float.
10912         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
10913         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10914         Use __libc_t* transaction macros instead of __builtin_t*.
10915         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10916         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10918 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10920         * sysdeps/unix/sysv/linux/s390/elision-lock.c
10921         (__lll_lock_elision): Use atomics to load / store adapt_count.
10922         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10923         (__lll_trylock_elision): Likewise.
10925 2016-12-20  Florian Weimer  <fweimer@redhat.com>
10927         Do not require memset elimination in explicit_bzero test.
10928         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
10929         (enum test_expectation): Add NO_EXPECTATIONS.
10930         (subtests): NO_EXPECTATIONS for ordinary clear.
10931         (check_test_buffer): Handle NO_EXPECTATIONS.
10932         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
10934 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10936         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10937         (fmaxmag): New declaration.
10938         (fminmag): Likewise.
10939         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
10940         macro.
10941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
10942         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
10943         (fmaxmagf): Likewise.
10944         (fmaxmagl): Likewise.
10945         (fminmag): Likewise.
10946         (fminmagf): Likewise.
10947         (fminmagl): Likewise.
10948         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
10949         * math/s_fmaxmag_template.c: New file.
10950         * math/s_fminmag_template.c: Likewise.
10951         * math/libm-test.inc (fmaxmag_test_data): New array.
10952         (fmaxmag_test): New function.
10953         (fminmag_test_data): New array.
10954         (fminmag_test): New function.
10955         (main): Call fmaxmag_test and fminmag_test.
10956         * math/test-tgmath.c (NCALLS): Increase to 132.
10957         (F(compile_test)): Call fmaxmag and fminmag.
10958         (F(fminmag)): New function.
10959         (F(fmaxmag)): Likewise.
10960         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
10961         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
10962         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
10963         fminmag.
10964         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
10965         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
10966         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
10967         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
10968         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
10969         and fminmag.
10970         (CFLAGS-nldbl-fmaxmag.c): New variable.
10971         (CFLAGS-nldbl-fminmag.c): Likewise.
10972         * sysdeps/nacl/libm.abilist: Update.
10973         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10974         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10975         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10976         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10977         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10978         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10979         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10980         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10981         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10982         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10983         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10984         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10986         Likewise.
10987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10988         Likewise.
10989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10990         Likewise.
10991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10992         Likewise.
10993         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10994         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10995         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10996         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10997         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10999         Likewise.
11000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11001         Likewise.
11002         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11003         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11004         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11006 2016-12-19  Torvald Riegel  <triegel@redhat.com>
11008         [BZ #20973]
11009         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
11010         wake-up in robust mutexes.
11011         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11013 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11015         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
11016         (CFLAGS-bench-fmaxf.c): New rule.
11017         (CFLAGS-bench-fminf.c): Likewise.
11018         * benchtests/fmaxf-inputs: New file.
11019         * benchtests/fminf-inputs: Likewise.
11021         * benchtests/Makefile (bench-math): Add fmin and fmax.
11022         (CFLAGS-bench-fmax.c): New rule.
11023         (CFLAGS-bench-fmin.c): Likewise.
11024         * benchtests/fmax-inputs: New file.
11025         * benchtests/fmin-inputs: Likewise.
11027         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
11028         parenthesis.
11029         (CMDLINE_PROCESS): Define using function instead of macro.
11030         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
11031         of test-skeleton.
11032         * benchtests/bench-memchr.c: Likewise.
11033         * benchtests/bench-memcmp.c: Likewise.
11034         * benchtests/bench-memcpy-large.c: Likewise.
11035         * benchtests/bench-memcpy.c: Likewise.
11036         * benchtests/bench-memmem.c: Likewise.
11037         * benchtests/bench-memmove-large.c: Likewise.
11038         * benchtests/bench-memmove.c: Likewise.
11039         * benchtests/bench-memset-large.c: Likewise.
11040         * benchtests/bench-memset.c: Likewise.
11041         * benchtests/bench-rawmemchr.c: Likewise.
11042         * benchtests/bench-strcasecmp.c: Likewise.
11043         * benchtests/bench-strcasestr.c: Likewise.
11044         * benchtests/bench-strcat.c: Likewise.
11045         * benchtests/bench-strchr.c: Likewise.
11046         * benchtests/bench-strcmp.c: Likewise.
11047         * benchtests/bench-strcpy.c: Likewise.
11048         * benchtests/bench-strcpy_chk.c: Likewise.
11049         * benchtests/bench-strlen.c: Likewise.
11050         * benchtests/bench-strncasecmp.c: Likewise.
11051         * benchtests/bench-strncmp.c: Likewise.
11052         * benchtests/bench-strncpy.c: Likewise.
11053         * benchtests/bench-strnlen.c: Likewise.
11054         * benchtests/bench-strpbrk.c: Likewise.
11055         * benchtests/bench-strrchr.c: Likewise.
11056         * benchtests/bench-strsep.c: Likewise.
11057         * benchtests/bench-strspn.c: Likewise.
11058         * benchtests/bench-strstr.c: Likewise.
11059         * benchtests/bench-strtok.c: Likewise.
11061 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11063         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
11064         stepping identification.
11065         (init_cpu_features): Add handle of Haswell.
11067 2016-11-25  Jim Meyering  <meyering@fb.com>
11069         [BZ #20386]
11070         Let gcc detect assert(a = 1) errors.
11071         * assert/assert.h (assert): Rewrite, retaining the old definintion
11072         when required, but otherwise putting the expression as-is in an "if"
11073         expression (hence, with no added parentheses) within a statement
11074         expression.
11076 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11078         * benchtests/Makefile (binaries-benchset): Depend on libsupport
11079         DSO.
11081 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
11083         * Rules (python-flags, python-invoke): New.
11084         ($(test-printers-out)): Use $(python-flags).
11086 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11088         * manual/arith.texi (Math Error Reporting): Document that sNaN
11089         arguments are not considered domain errors.
11091 2016-12-16  Zack Weinberg <zackw@panix.com>
11092             Florian Weimer <fweimer@redhat.com>
11093             Nick Mathewson <nickm@torproject.org>
11095         * string/explicit_bzero.c: New routine.
11096         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11097         * string/Makefile (routines, strop-tests, tests): Add them.
11098         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11099         * string/string.h [__USE_MISC]: Declare explicit_bzero.
11101         * debug/explicit_bzero_chk.c: New routine.
11102         * debug/Makefile (routines): Add it.
11103         * debug/tst-chk1.c: Test fortification of explicit_bzero.
11104         * string/bits/string3.h: Fortify explicit_bzero.
11106         * manual/string.texi: Document explicit_bzero.
11107         * NEWS: Mention addition of explicit_bzero.
11109         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11110         data before returning, using explicit_bzero.
11111         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11112         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11113         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11115         * include/string.h: Redirect internal uses of explicit_bzero
11116         to __explicit_bzero_chk[_internal].
11117         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11118         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11119         * sysdeps/arm/nacl/libc.abilist
11120         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11121         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11122         * sysdeps/unix/sysv/linux/arm/libc.abilist
11123         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11124         * sysdeps/unix/sysv/linux/i386/libc.abilist
11125         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11126         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11127         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11128         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11129         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11130         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11131         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11132         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11133         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11138         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11139         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11140         * sysdeps/unix/sysv/linux/sh/libc.abilist
11141         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11142         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11145         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11146         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11147         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11148         Add entries for explicit_bzero and __explicit_bzero_chk.
11150 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11152         * math/fenv.h
11153         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
11154         (FE_SNANS_ALWAYS_SIGNAL): New macro.
11155         * math/test-fe-snans-always-signal.c: New file.
11156         * math/Makefile (tests): Add test-fe-snans-always-signal.
11157         (CFLAGS-test-fe-snans-always-signal.c): New variable.
11158         * manual/arith.texi (Infinity and NaN): Document
11159         FE_SNANS_ALWAYS_SIGNAL.
11161 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11163         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
11164         bracket.
11166 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11168         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
11169         before calling execv.
11171 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11173         [BZ #20971]
11174         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
11175         overflow in pointer addition.
11176         * string/test-memchr.c (do_test): Add an argument to pass as
11177         the size on memchr.
11178         (test_main): Add check for SIZE_MAX.
11180 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11182         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
11183         (libm-calls): Add w_scalblnF.
11184         * math/w_scalbln.c: Remove.
11185         * math/w_scalblnf.c: Likewise.
11186         * math/w_scalblnl.c: Likewise.
11187         * math/w_scalbln_template.c: New file with type-generic
11188         implementation based on math/w_scalbln.c.
11189         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
11190         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
11192 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11194         [BZ #20947]
11195         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
11196         either is a signaling NaN.
11197         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
11198         follow fmaxl more closely.
11199         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
11200         when either is a signaling NaN.
11201         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11202         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
11203         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
11204         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
11205         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
11206         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
11207         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
11208         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
11209         (fmin_test_data): Likewise.
11211 2016-12-15  Andreas Schwab  <schwab@suse.de>
11213         * support/support_test_main.c (support_test_main): Don't shadow
11214         file-local variable test_pid.
11216 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11218         [BZ #20947]
11219         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
11220         either is a signaling NaN.
11221         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
11223 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11225         [BZ #20947]
11226         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
11227         when either is a signaling NaN.
11228         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
11230         * bits/long-double.h: New file.
11231         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
11232         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11233         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
11234         * sysdeps/mips/bits/long-double.h: Likewise.
11235         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
11236         * math/Makefile (headers): Add bits/long-double.h.
11237         * misc/sys/cdefs.h: Include <bits/long-double.h>.
11238         * stdlib/strtold.c: Include <bits/long-double.h> instead of
11239         <bits/wordsize.h>.
11240         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
11241         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
11242         * math/math.h: Do not include <bits/mathdef.h>.
11243         * sysdeps/aarch64/bits/mathdef.h: Remove file.
11244         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
11245         inclusion.
11246         * sysdeps/ia64/bits/mathdef.h: Remove file.
11247         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
11248         * sysdeps/mips/bits/mathdef.h: Likewise.
11249         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11250         * sysdeps/s390/bits/mathdef.h: Likewise.
11251         * sysdeps/sparc/bits/mathdef.h: Likewise.
11252         * sysdeps/x86/bits/mathdef.h: Likewise.
11253         * sysdeps/s390/s390-32/bits/wordsize.h
11254         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
11255         conditional code.
11256         * sysdeps/s390/s390-64/bits/wordsize.h
11257         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11258         Likewise.
11259         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
11260         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11261         Likewise.
11262         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
11263         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11264         Likewise.
11265         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11266         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11267         Likewise.
11269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
11270         <linux/falloc.h>.
11271         (FALLOC_FL_KEEP_SIZE): Remove.
11272         (FALLOC_FL_PUNCH_HOLE): Likewise.
11273         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
11274         (FALLOC_FL_ZERO_RANGE): Likewise.
11276 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11278         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
11280 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11282         * sysdeps/unix/sysv/linux/renameat.c: New file.
11283         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
11285         * sysdeps/unix/sysv/linux/rename.c: New file.
11286         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
11288 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11290         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
11291         * string/strtok.c (strtok): Change to tailcall __strtok_r.
11292         * string/strtok_r.c (__strtok_r): Optimize for performance.
11293         * string/string-inlines.c (__old_strtok_r_1c): New function.
11294         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
11296 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11298         * math/Makefile (gen-libm-calls): Add w_log1pF.
11299         (libm-calls): Remove w_log1pF.
11300         * math/w_log1p.c: Remove.
11301         * math/w_log1pf.c: Likewise.
11302         * math/w_log1pl.c: Likewise.
11303         * math/w_log1p_template.c: New file with type-generic
11304         implementation based on math/w_log1p.c.
11305         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
11306         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
11308 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11310         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
11312 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11314         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11315         kernel version to 4.9.
11317 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
11319         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
11320         ($(inst_libdir)/libm.a): Fix rule to create the target only.
11322 2016-12-13  Andreas Schwab  <schwab@suse.de>
11324         * sysdeps/powerpc/dl-procinfo.c: Don't define
11325         _dl_powerpc_platforms.
11326         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
11327         constants instead of referencing _dl_powerpc_platforms.
11328         (_dl_platform_string): Remove.
11330 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11332         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
11334 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11336         * Rules (binaries-shared-tests, binaries-pie-tests)
11337         (binaries-static-tests): Link with $(link-extra-libs-tests).
11338         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
11339         Remove $(link-extra-libs-tests).
11341 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11343         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11344         (sysdep_routines): Add strncmp_power9.
11345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11346         (strncmp): Add __strncmp_power9 to list of strncmp functions.
11347         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
11348         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11349         (strncmp): Add __strncmp_power9 to ifunc list.
11350         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
11352 2016-12-12  Florian Weimer  <fweimer@redhat.com>
11354         [BZ #17252]
11355         Add getentropy, getrandom.
11356         * stdlib/sys/random.h: New file.
11357         (headers): Add it.
11358         * stdlib/Makefile (routines): Add getentropy, getrandom.
11359         (tests): Add tst-getrandom.
11360         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
11361         * stdlib/getentropy.c: New file.
11362         * stdlib/getrandom.c: Likewise.
11363         * stdlib/tst-getrandom.c: Likewise.
11364         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
11365         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
11366         * manual/crypt.texi (Unpredictable Bytes): New section.
11367         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
11368         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
11369         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11370         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11371         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11372         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11373         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11374         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11375         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11376         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11377         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11378         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11379         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11380         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11381         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11382         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11384         Likewise.
11385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11386         Likewise.
11387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11389         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11390         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11391         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11392         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11393         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11396         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11397         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11398         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11400 2016-12-10  Florian Weimer  <fweimer@redhat.com>
11402         [BZ #20956]
11403         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11404         as additional compiler barriers.
11405         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11406         (fn2, do_test): Declare with external linkage.
11407         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11408         (do_test): Declare with external linkage.
11409         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11410         (do_test): Declare with external linkage.
11411         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11412         (do_test): Declare with external linkage.
11414 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
11416         * support/support_test_main.c (support_test_main): Use correct
11417         timeout.
11419 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
11420             Florian Weimer  <fweimer@redhat.com>
11422         [BZ #16421]
11423         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11424         and __u6_addr32 members.
11425         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11426         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11427         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11428         Use __u6_addr32.
11429         * inet/tst-checks.c: Use <support/test-driver.c>
11430         * inet/tst-checks-posix.c: New file.
11431         * inet/Makefile (tests): Add it.
11432         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11434 2016-12-09  Florian Weimer  <fweimer@redhat.com>
11436         New subdirectory support for build and test infrastructure.
11437         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
11438         setting install-lib.
11439         * Makeconfig (link-extra-libs-tests): Define.
11440         (+link-pie-tests, +link-static-tests, +link-tests): Use
11441         link-extra-libs-tests.
11442         (rpath-dirs, all-subdirs): Add support.
11443         (built-modules): Add libsupport.
11444         (libsupport): Define.
11445         * support: New directory.
11446         * support/Makefile: New file.
11447         * support/check.c: Likewise.
11448         * support/check.h: Likewise.
11449         * support/delayed_exit.c: Likewise.
11450         * support/ignore_stderr.c: Likewise.
11451         * support/oom_error.c: Likewise.
11452         * support/set_fortify_handler.c: Likewise.
11453         * support/support.h: Likewise.
11454         * support/temp_file-internal.h: Likewise.
11455         * support/temp_file.c: Likewise.
11456         * support/test-driver.c: Likewise.
11457         * support/test-driver.h: Likewise.
11458         * support/test_main.c: Likewise.
11459         * support/write_message.c: Likewise.
11460         * support/xasprintf.c: Likewise.
11461         * support/xcalloc.c: Likewise.
11462         * support/xmalloc.c: Likewise.
11463         * support/xpthread_barrier_destroy.c: Likewise.
11464         * support/xpthread_barrier_init.c: Likewise.
11465         * support/xpthread_barrier_wait.c: Likewise.
11466         * support/xpthread_cancel.c: Likewise.
11467         * support/xpthread_check_return.c: Likewise.
11468         * support/xpthread_cond_wait.c: Likewise.
11469         * support/xpthread_create.c: Likewise.
11470         * support/xpthread_detach.c: Likewise.
11471         * support/xpthread_join.c: Likewise.
11472         * support/xpthread_mutex_lock.c: Likewise.
11473         * support/xpthread_mutex_unlock.c: Likewise.
11474         * support/xpthread_sigmask.c: Likewise.
11475         * support/xpthread_spin_lock.c: Likewise.
11476         * support/xpthread_spin_unlock.c: Likewise.
11477         * support/xrealloc.c: Likewise.
11478         * support/xsignal.h: Likewise.
11479         * support/xthread.h: Likewise.
11480         * support_tempfile.h: Likewise.
11481         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11482         (TEST_DATA_LIMIT): Remove unused macro.
11483         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11484         <support/check.h>.
11485         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11486         (ignore_stderr, set_fortify_handler): Remove.  Now in
11487         <support/support.h>.
11488         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11489         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11490         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11491         (xpthread_join): Remove.  Now in <support/xthread.h>.
11492         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11493         Introduce legacy wrappers.
11494         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11495         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11496         (write_message): Remove.
11497         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11498         test-skeleton.c.
11499         * io/test-open-tmpfile: Likewise.
11500         * io/tst-posix_fallocate-common.c: Likewise.
11501         * libio/tst-fseek.c: Likewise.
11502         * malloc/tst-malloc-backtrace.c: Likewise.
11503         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11504         * malloc/tst-malloc-thread-exit.c: Likewise.
11505         * nptl/tst-cancel7.c: Likewise.
11506         * nptl/tst-cleanup0.c: Likewise.
11507         * posix/tst-posix_fadvise-common.c: Likewise.
11508         * rt/tst-shm.c: Likewise.
11509         * time/bug-getdate1.c: Likewise.
11510         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11511         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11512         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11514 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11516         * Rules [$(run-built-tests) != no] (tests-expected): Add
11517         $(tests-printers).
11518         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11520 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11522         [BZ #20539]
11523         * math/Makefile (install-lib-ldscripts): Add libm.a.
11524         (install_subdir): Remove.
11525         (install-others): Add.
11526         ($(inst_libdir)/libm.a): Add rule for installation as
11527         linker script.
11528         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11530 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11532         * INSTALL: Regenerated.
11533         * Makeconfig: Add comments and whitespace to make the control flow
11534         clearer.
11535         (+link-printers-tests, +link-pie-printers-tests,
11536         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11537         built-rtld-LDFLAGS, link-libc-rpath,
11538         link-libc-tests-after-rpath-link,
11539         link-libc-printers-tests): New.
11540         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11541         link-libc-tests): Use the new variables as required.
11542         * Makerules ($(py-const)): New rule.
11543         generated: Add $(py-const).
11544         * README.pretty-printers: New file.
11545         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11546         (others): Depend on $(py-const).
11547         (tests): Depend on $(tests-printers-programs) or
11548         $(tests-printers-out),
11549         as required.  Pass $(tests-printers) to merge-test-results.sh.
11550         * manual/install.texi: Add requirements for testing the pretty
11551         printers.
11552         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11553         tests-printers, CFLAGS-test-mutexattr-printers.c
11554         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11555         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11556         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11557         * nptl/nptl-printers.py: New file.
11558         * nptl/nptl_lock_constants.pysym: Likewise.
11559         * nptl/test-cond-printers.c: Likewise.
11560         * nptl/test-cond-printers.py: Likewise.
11561         * nptl/test-condattr-printers.c: Likewise.
11562         * nptl/test-condattr-printers.py: Likewise.
11563         * nptl/test-mutex-printers.c: Likewise.
11564         * nptl/test-mutex-printers.py: Likewise.
11565         * nptl/test-mutexattr-printers.c: Likewise.
11566         * nptl/test-mutexattr-printers.py: Likewise.
11567         * nptl/test-rwlock-printers.c: Likewise.
11568         * nptl/test-rwlock-printers.py: Likewise.
11569         * nptl/test-rwlockattr-printers.c: Likewise.
11570         * nptl/test-rwlockattr-printers.py: Likewise.
11571         * scripts/gen-py-const.awk: Likewise.
11572         * scripts/test_printers_common.py: Likewise.
11573         * scripts/test_printers_exceptions.py: Likewise.
11575 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11577         * scripts/build-many-glibcs.py (Context.__init__): Take strip
11578         argument.
11579         (Glibc.build_glibc): Strip installed shared libraries if
11580         requested.
11581         (get_parser): Add --strip option.
11582         (main): Update Context call.
11584 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11585             Dominik Vogt  <vogt@linux.vnet.ibm.com>
11587         [BZ #20847]
11588         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11589         array bounds for else branch.
11590         (__execvpe): Style fixes.
11591         * posix/tst-vfork3.c (run_script): New function.
11592         (create_script): Likewise.
11593         (do_test): Use run_script internal function.
11594         (do_prepare): Use create_script internal function.
11596 2016-12-07  Andreas Schwab  <schwab@suse.de>
11598         * sysdeps/unix/sysv/linux/x86/elision-conf.h
11599         (__elision_available): Don't declare.
11600         * sysdeps/unix/sysv/linux/x86/elision-conf.c
11601         (__elision_available): Don't define.
11602         (elision_init): Don't set __elision_available.
11604 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11606         [BZ #20940]
11607         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11608         return Inf for arguments Inf and sNaN.
11609         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11610         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11611         Likewise.
11612         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11613         Likewise.
11614         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11615         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11616         for arguments Inf and sNaN.  When returning a NaN, compute it by
11617         arithmetic on the arguments.
11618         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11619         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11620         arguments.
11622 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
11624         [BZ #20916]
11625         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11626         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
11627         to compute result.
11628         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11629         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11631 2016-12-05  Torvald Riegel  <triegel@redhat.com>
11633         * include/atomic.h (__atomic_check_size_ls): New.
11634         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11635         atomic_store_release): Use it.
11636         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11637         (elision_adapt, ELIDE_LOCK): Use atomics.
11638         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11639         atomics and improve code comments.
11640         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11641         (__lll_trylock_elision): Likewise.
11643 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11645         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11646         programs.
11648 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11650         [BZ #20916]
11651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11652         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
11653         arguments to compute result.
11654         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11655         1 for arguments (sNaN, 0) or (1, sNaN).
11656         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11657         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11659         [BZ #20919]
11660         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11661         NaN first argument when raised to power 0.
11662         * math/w_pow.c (__pow): Do not check for NaN or zero results from
11663         raising to power zero.
11664         * math/w_powf.c (__powf): Likewise.
11665         * math/w_powl.c (__powl): Likewise.
11666         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11667         pow (0, 0) or pow (NaN, 0).
11669 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
11671         [BZ #20918]
11672         * configure.ac: Test for static NSS cryptographic libraries and set
11673         libc_cv_static_nss_crypt.
11674         * configure: Regenerate.
11675         * config.make.in (static-nss-crypt): Define.
11676         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11677         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11678         (CFLAGS-tst-linkall-static.c): Define.
11679         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11680         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11681         ($(objpfx)tst-linkall-static): Define.
11682         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11683         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11685 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11687         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11688         (one-hundred, tst-tls-many-dynamic-modules): Define.
11689         (modules-names): Add $(tst-tls-many-dynamic-modules).
11690         (tst-tls-manydynamic%mod.os): Build with special preprocessor
11691         macros.
11692         (tst-tls-manydynamic): Link against libdl, libpthread.
11693         (tst-tls-manydynamic.out): The test needs the test modules at run
11694         time.
11695         * elf/tst-tls-manydynamic.c: New file.
11696         * elf/tst-tls-manydynamic.h: Likewise.
11697         * elf/tst-tls-manydynamicmod.c: Likewise.
11699 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11701         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11702         (TLS_DTV_UNALLOCATED): Add.
11703         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11704         offsets.
11706 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11708         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11710 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11712         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11713         Add -fno-optimize-sibling-calls.
11715 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11717         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11718         New declaration.
11719         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11720         macro.
11721         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11722         New macro.
11723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11725         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11726         (llogbf): Likewise.
11727         (llogbl): Likewise.
11728         * math/Makefile (gen-libm-calls): Add w_llogbF.
11729         (tests): Add test-fp-llogb-constants.
11730         * math/w_llogb_template.c: New file.  Based on
11731         math/w_ilogb_template.c.
11732         * math/libm-test.inc (llogb_test_data): New array.
11733         (llogb_test): New function.
11734         (main): Call llogb_test.
11735         * math/test-fp-llogb-constants.c: New file.  Based on
11736         math/test-fp-ilogb-constants.c.
11737         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11738         (do_test): Call check_return_llogb.
11739         * math/test-tgmath.c (NCALLS): Increase to 126.
11740         (F(compile_test)): Call llogb.
11741         (F(llogb)): New function.
11742         * manual/math.texi (Exponents and Logarithms): Document llogb,
11743         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11744         * manual/libm-err-tab.pl (@all_functions): Add llogb.
11745         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11746         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11747         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11748         (CFLAGS-nldbl-llogb.c): New variable.
11749         * sysdeps/nacl/libm.abilist: Update.
11750         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11751         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11752         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11753         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11754         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11755         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11756         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11757         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11758         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11759         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11760         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11761         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11763         Likewise.
11764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11765         Likewise.
11766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11767         Likewise.
11768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11769         Likewise.
11770         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11771         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11772         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11773         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11774         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11776         Likewise.
11777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11778         Likewise.
11779         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11780         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11781         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11783 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11785         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11786         _Float128 instead of long double.
11787         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11789         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11790         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11791         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
11792         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
11793         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
11794         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
11795         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
11796         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
11797         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
11798         Likewise.
11800 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11802         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
11803         Remove redirection to __strrchr_ppc.
11805 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11807         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11808         (sysdep_routines): Add strcmp_power9.
11809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11810         (strcmp): Add __strcmp_power9 to list of strcmp functions.
11811         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
11812         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11813         (strcmp): Add __strcmp_power9 to ifunc list.
11814         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
11816 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11818         * bits/fp-logb.h: New file.
11819         * sysdeps/ia64/bits/fp-logb.h: Likewise.
11820         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
11821         * sysdeps/x86/bits/fp-logb.h: Likewise.
11822         * math/Makefile (headers): Add bits/fp-logb.h.
11823         * math/math.h: Include <bits/fp-logb.h>.
11824         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
11825         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
11826         * bits/mathdef.h (FP_ILOGB0): Remove.
11827         (FP_ILOGBNAN): Likewise.
11828         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
11829         (FP_ILOGBNAN): Likewise.
11830         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
11831         (FP_ILOGBNAN): Likewise.
11832         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
11833         (FP_ILOGBNAN): Likewise.
11834         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
11835         (FP_ILOGBNAN): Likewise.
11836         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
11837         (FP_ILOGBNAN): Likewise.
11838         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
11839         (FP_ILOGBNAN): Likewise.
11840         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
11841         (FP_ILOGBNAN): Likewise.
11842         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
11843         (FP_ILOGBNAN): Likewise.
11844         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
11845         (FP_ILOGBNAN): Likewise.
11847         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
11848         time module.
11849         (Context.__init__): Initialize self.logsdir_old.
11850         (Context.run_builds): Handle bot action.
11851         (Context.bot_cycle): Copy logs directory before running builds.
11852         (Context.bot_run_self): Take argument for whether to check
11853         subprocess result.  Flush stdout before running subprocess.
11854         (Context.bot): New function.
11855         (get_parser): Allow bot action.
11857 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
11859         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
11860         Import email.mime.text, email.utils and smtplib modules.
11861         (Context.__init__): Initialize self.bot_config_json.
11862         (Context.run_builds): Handle bot-cycle action.
11863         (Context.load_bot_config_json): New function.
11864         (Context.part_build_old): Likewise.
11865         (Context.bot_cycle): Likewise.
11866         (Context.bot_build_mail): Likewise.
11867         (Context.bot_run_self): Likewise.
11868         (get_parser): Allow bot-cycle action.
11870 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11872         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
11873         Remove redirection to __stpcpy_ppc.
11875 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11877         Remove __libc_memalign from ld.so because it is unused.
11878         * elf/dl-minimal.c: Update comment on the malloc implementation.
11879         (malloc): Renamed from __libc_memalign, replacing the original
11880         malloc implementation.  Replace the align parameter with
11881         MALLOC_ALIGNMENT.
11882         * elf/Versions (ld): Update comment and remove __libc_memalign.
11883         * sysdeps/nacl/ld.abilist: Likewise.
11884         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11885         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11886         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11887         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11888         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11889         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11890         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11891         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11892         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11893         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11894         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11895         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11896         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11900         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11901         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11902         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11903         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11904         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
11906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
11907         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
11908         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11909         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11910         * sysdeps/generic/localplt.data (ld.so): Likewise.
11911         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11912         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11913         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11914         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11915         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11916         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11917         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11918         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
11919         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11921         (ld.so): Likewise.
11922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11923         (ld.so): Likewise.
11924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11925         Likewise.
11926         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11927         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11928         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
11929         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
11930         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11932 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11934         [BZ #16628]
11935         Implement _dl_catch_error, _dl_signal_error in libc.so.
11936         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
11937         (catch_hook): Define as thread-local or regular variable,
11938         depending on DL_ERROR_BOOTSTRAP.
11939         (CATCH_HOOK): Remove.
11940         (dl_signal_error, _dl_catch_error): Use
11941         catch_hook.  Add hidden definition for libc.
11942         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
11943         for DL_ERROR_BOOTSTRAP only.
11944         * elf/dl-error.c: New file.
11945         * elf/dl-error-minimal.c: Likewise.
11946         * elf/tst-latepthread.c: Likewise.
11947         * elf/tst-latepthreadmod.c: Likewise.
11948         * elf/Makefile (routines): Add dl-error.
11949         (dl-routines): Remove dl-error.
11950         (rtld-routines): Add dl-error-minimal.
11951         [build-shared] (tests): Add tst-latepthread.
11952         (module-names): Add tst-latepthreadmod.
11953         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
11954         symbol.
11955         (tst-latepthreadmod.so): Link against libpthread.
11956         (tst-latepthread): Link against libdbl.
11957         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
11958         _dl_catch_error.
11959         [ld] (GLIBC_PRIVATE): Likewise.
11960         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
11961         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
11962         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
11963         directly.
11964         * elf/dl-tsd.c: Remove file.
11965         * elf/rtld.c (_rtld_global_ro): Remove initializers for
11966         _dl_catch_error, _dl_signal_error.
11967         (_dl_initial_error_catch_tsd): Remove definition.
11968         (do_preload): Remove initialization of dl_error_catch_tsd.
11969         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
11970         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
11971         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11972         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11973         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
11974         set dl_error_catch_tsd.
11975         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
11976         _dl_error_catch_tsd member.
11977         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
11978         members.
11979         (_dl_initial_error_catch_tsd): Remove declaration.
11980         (_dl_dprintf): Provide definition for use outside of ld.so.
11981         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
11982         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
11983         prototype for libc.
11984         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
11985         _dl_catch_error.
11986         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11987         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11988         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11989         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11990         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11991         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11992         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11993         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
11994         Likewise.
11995         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11997         (ld.so): Likewise.
11998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11999         (ld.so): Likewise.
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12001         Likewise.
12002         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12003         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12004         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12005         Likewise.
12006         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12007         Likewise.
12008         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12010 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12012         [BZ #4099]
12013         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
12014         _IO_BUFSIZ (8192).
12016 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
12018         * PROJECTS: Remove file.
12020 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12022         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
12024 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
12025             Steve Ellcey  <sellcey@caviumnetworks.com>
12027         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
12028         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
12029         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
12030         fxstatat.
12031         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
12032         lxstat.
12033         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
12034         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
12035         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
12036         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
12037         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
12038         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
12039         __xstat.
12041 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12043         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
12044         Define.
12045         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
12046         definition.
12048 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12050         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
12051         version and turn into strong alias.  Remove compat symbol.
12053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12054         (__longjmp): Remove.
12056 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
12058         * bits/fp-fast.h: New file.
12059         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
12060         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
12061         * math/Makefile (headers): Add bits/fp-fast.h.
12062         * math/math.h: Include <bits/fp-fast.h>.
12063         * bits/mathdef.h (FP_FAST_FMA): Remove.
12064         (FP_FAST_FMAF): Likewise.
12065         (FP_FAST_FMAL): Likewise.
12066         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
12067         (FP_FAST_FMAF): Likewise.
12068         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
12069         (FP_FAST_FMAF): Likewise.
12070         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
12071         (FP_FAST_FMAF): Likewise.
12072         (FP_FAST_FMAL): Likewise.
12073         * sysdeps/arm/bits/mathdef.h: Remove file.
12074         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
12075         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12076         * sysdeps/tile/bits/mathdef.h: Likewise.
12078 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12080         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
12081         * math/w_ilogb.c: Remove.
12082         * math/w_ilogbf.c: Likewise.
12083         * math/w_ilogbl.c: Likewise.
12084         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12085         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12086         * math/Makefile (gen-libm-calls): Add w_ilogbF.
12087         (libm-calls): Remove w_ilogbF.
12088         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12089         (LDOUBLE_ilogbl_libm_version): New macro.
12091         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12093         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12094         [!__STRICT_ANSI__ && !__cplusplus].
12096 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12098         [BZ #20750]
12099         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12100         of PIC.
12102 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12103             Yury Norov  <ynorov@caviumnetworks.com>
12104             Steve Ellcey  <sellcey@caviumnetworks.com>
12106         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12107         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12108         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12109         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12110         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12111         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12112         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12113         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12114         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12115         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12116         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12117         to get correct reg name for ILP32.
12118         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12119         (RELA_SIZE): New Macro.
12120         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12121         to support ILP32.
12122         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12123         cast for ILP32 mode.
12124         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12125         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12126         * sysdeps/aarch64/memset.S (__memset): Ditto.
12127         * sysdeps/aarch64/strchr.S (strchr): Ditto.
12128         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12129         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12130         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12131         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12132         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12133         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12134         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12135         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12136         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12137         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12138         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12139         change PTR_MANGLE call to use register numbers instead of names.
12140         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12141         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12142         ILP32 mode, change PTR_MANGLE calls to use register numbers.
12143         * sysdeps/aarch64/start.S (_start): Ditto.
12144         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12145         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12146         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12147         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12148         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12149         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12150         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12151         Make defined values dependent on __ILP32__.
12152         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
12153         (sem_t): Change __align type.
12154         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
12155         PTR_SIZE): New Macros.
12156         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
12157         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
12158         Set when in ILP32 mode.
12159         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
12160         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
12161         Set elf flags for ILP32.
12162         (add_system_dir): Set ILP32 library directories.
12163         * sysdeps/unix/sysv/linux/aarch64/init-first.c
12164         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
12165         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
12166         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
12167         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
12168         New Macros.
12169         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
12171 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
12173         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
12174         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
12175         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
12177 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12179         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
12180         <asm/cachectl.h>.
12182 2016-11-27  Zack Weinberg  <zackw@panix.com>
12184         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
12185         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
12187 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12189         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
12190         error_t to fix usage in C++ programs.
12192 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
12194         * scripts/build-many-glibcs.py: Import datetime module.
12195         (Context.__init__): Load JSON build state.  Initialize list of
12196         status logs.
12197         (Context.run_builds): Update saved build state.
12198         (Context.add_makefile_cmdlist): Update list of status logs.
12199         (Context.load_build_state_json): New function.
12200         (Context.store_build_state_json): Likewise.
12201         (Context.clear_last_build_state): Likewise.
12202         (Context.update_build_state): Likewise.
12203         (CommandList.status_logs): Likewise.
12205 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
12207         * scripts/build-many-glibcs.py (Context.__init__): Save text of
12208         script being executed.
12209         (Context.get_script_text): New function.
12210         (Context.exec_self): Likewise.
12211         (Context.checkout): Re-exec script if changed by checkout process.
12213 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12215         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12216         (setpayloadsig): New declaration.
12217         * math/Versions (setpayloadsig): New libm symbol at version
12218         GLIBC_2.25.
12219         (setpayloadsigf): Likewise.
12220         (setpayloadsigl): Likewise.
12221         * math/Makefile (libm-calls): Add s_setpayloadsigF.
12222         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
12223         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
12224         (setpayloadsig_test_data): New array.
12225         (setpayloadsig_test): New function.
12226         (main): Call setpayloadsig_test.
12227         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
12228         setpayloadsigf and setpayloadsigl.
12229         * manual/libm-err-tab.pl: Update comment on interfaces without
12230         ulps tabulated.
12231         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
12232         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
12233         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
12234         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
12235         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
12236         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
12237         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12238         setpayloadsig.
12239         (CFLAGS-nldbl-setpayloadsig.c): New variable.
12240         * sysdeps/nacl/libm.abilist: Update.
12241         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12242         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12243         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12244         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12245         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12246         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12247         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12248         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12249         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12250         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12251         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12252         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12254         Likewise.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12256         Likewise.
12257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12258         Likewise.
12259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12260         Likewise.
12261         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12262         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12263         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12264         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12265         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12267         Likewise.
12268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12269         Likewise.
12270         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12271         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12272         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12274         * scripts/build-many-glibcs.py: Import json module.
12275         (Context.__init__): Take replace_sources argument.  Load
12276         versions.json.
12277         (Context.load_versions_json): New function.
12278         (Context.store_json): Likewise.
12279         (Context.store_versions_json): Likewise.
12280         (Context.set_component_version): Likewise.
12281         (Context.checkout): Update versions.json.  Check for and handle
12282         changes of version.  Prefer previously explicitly specified
12283         version to default version.
12284         (Context.checkout_vcs): Return a revision identifier.
12285         (Context.git_checkout): Likewise.
12286         (Context.gcc_checkout): Likewise.
12287         (get_parser): Add --replace-sources option.
12288         (main): Pass replace_sources argument to Context call.
12290 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12292         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
12293         * nptl/allocatestack.c (allocate_stack): Likewise.
12294         (__reclaim_stacks): Likewise.
12295         (setxid_signal_thread): Obtain pid through syscall.
12296         * nptl/nptl-init.c (sigcancel_handler): Likewise.
12297         (sighandle_setxid): Likewise.
12298         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
12299         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12300         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12301         Likewise.
12302         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
12303         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
12304         comment.
12305         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
12306         * nptl/descr.h (struct pthread): Change comment about pid value.
12307         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
12308         pid assert.
12309         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
12310         Do not set pid value.
12311         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
12312         pid cache check.
12313         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
12314         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
12315         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
12316         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
12317         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
12318         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12319         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
12320         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
12321         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
12322         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
12323         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
12324         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12325         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
12326         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12327         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
12328         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
12329         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12330         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
12331         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
12332         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
12333         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
12334         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12335         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
12336         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
12337         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
12338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12340         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12341         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12342         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12343         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
12344         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
12345         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
12346         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12347         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
12348         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12349         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
12350         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12351         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
12352         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
12353         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12354         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
12355         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
12356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12358         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12359         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12360         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12361         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12362         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12363         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
12364         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12365         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
12366         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
12367         struct access.
12368         (clone_test): Remove function.
12369         (do_test): Rewrite to take in consideration pid is not cached anymore.
12371 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12373         * bits/flt-eval-method.h: New file.
12374         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12375         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12376         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12377         * math/Makefile (headers): Add bits/flt-eval-method.h.
12378         * math/math.h: Include <bits/flt-eval-method.h>.
12379         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12380         [__USE_ISOC99] (double_t): Likewise.
12381         * bits/mathdef.h (float_t): Remove.
12382         (double_t): Likewise.
12383         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12384         (double_t): Likewise.
12385         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12386         (double_t): Likewise.
12387         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12388         (double_t): Likewise.
12389         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12390         (double_t): Likewise.
12391         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12392         (double_t): Likewise.
12393         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12394         (double_t): Likewise.
12395         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12396         (double_t): Likewise.
12397         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12398         (double_t): Likewise.
12399         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12400         (double_t): Likewise.
12401         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12402         (double_t): Likewise.
12403         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12404         (double_t): Likewise.
12405         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12406         (double_t): Likewise.
12407         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12408         (double_t): Likewise.
12410 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
12412         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12413         instead of PIC.
12415 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12417         [BZ #20859]
12418         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12419         (-0x7fffffff) instead of 0x80000001.
12420         * math/test-fp-ilogb-constants.c: New file.
12421         * math/Makefile (tests): Add test-fp-ilogb-constants.
12423 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
12425         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12426         (_init): Use it in place of hardcoded R_MIPS_JALR.
12427         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12428         (_init): Use it in place of hardcoded R_MIPS_JALR.
12429         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12430         (_init): Use it in place of hardcoded R_MIPS_JALR.
12432 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12434         [BZ #20787]
12435         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12436         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12437         (double_t): Do not define to double if [__x86_64__] when
12438         __FLT_EVAL_METHOD__ is nonzero.
12439         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12440         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12441         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12442         test-flt-eval-method-387 and test-flt-eval-method-sse.
12443         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12444         variable.
12445         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12447 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
12449         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12450         use of -fno-isolate-erroneous-paths options for tilepro.
12452 2016-11-23  Florian Weimer  <fweimer@redhat.com>
12454         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12455         structure initialization is no longer needed.
12457 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12459         [BZ #20855]
12460         * bits/mathdef.h (float_t): Define to float.
12461         * math/test-flt-eval-method.c: New file.
12462         * math/Makefile (tests): Add test-flt-eval-method.
12463         (CFLAGS-test-flt-eval-method.c): New variable.
12465 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12467         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12468         and __fstatfs.  Make them aliases of __fstatfs64 if
12469         STATFS_IS_STATFS64 is set to non-zero.
12470         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12471         and __statfs64.
12472         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12473         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12474         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12475         for __statfs and statfs.
12476         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12477         to 0.
12478         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12479         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12480         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12481         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12482         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12483         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12486         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12487         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12488         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12489         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12491 2016-11-22  Andreas Schwab  <schwab@suse.de>
12493         * misc/mkstemp.c: Include <fcntl.h>.
12494         * misc/mkstemps.c: Likewise.
12495         * misc/mkostemp.c: Likewise.
12496         * misc/mkostemps.c: Likewise.
12498 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12500         [BZ #20847]
12501         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12502         array bounds.
12503         (__execvpe): Likewise.
12505 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12507         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12508         -fno-isolate-erroneous-paths options for tilepro.
12510 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12512         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12513         to 0 when in 32 bit mode.
12514         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12515         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12516         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12517         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12519         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12520         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12521         XSTAT_IS_XSTAT64 test.
12522         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12523         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12524         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12525         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12526         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12527         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12528         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12529         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12530         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12531         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12532         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12534 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12536         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12537         (setpayload): New declaration.
12538         * math/Versions (setpayload): New libm symbol at version
12539         GLIBC_2.25.
12540         (setpayloadf): Likewise.
12541         (setpayloadl): Likewise.
12542         * math/Makefile (libm-calls): Add s_setpayloadF.
12543         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12544         test_Ff_b1_data.
12545         (RUN_TEST_Ff_b1): New macro.
12546         (RUN_TEST_LOOP_Ff_b1): Likewise.
12547         (canonicalize_test_data): Update type.
12548         (setpayload_test_data): New array.
12549         (setpayload_test): New function.
12550         (main): Call setpayload_test.
12551         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12552         setpayloadf and setpayloadl.
12553         * manual/libm-err-tab.pl: Update comment on interfaces without
12554         ulps tabulated.
12555         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12556         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12557         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12558         Likewise.
12559         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12560         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12561         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12562         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12563         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12564         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12565         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12566         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12567         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12568         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12569         setpayload.
12570         (CFLAGS-nldbl-setpayload.c): New variable.
12571         * sysdeps/nacl/libm.abilist: Update.
12572         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12573         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12574         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12575         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12576         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12577         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12578         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12579         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12580         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12581         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12582         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12583         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12585         Likewise.
12586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12587         Likewise.
12588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12589         Likewise.
12590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12591         Likewise.
12592         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12593         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12594         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12595         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12596         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12598         Likewise.
12599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12600         Likewise.
12601         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12602         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12603         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12605 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12607         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12608         * include/unistd.h: Extend comment about __access_noerrno return
12609         semantics.
12610         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12611         (access_common): Correct typo for EACCES.
12613 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
12615         * sysdeps/tile/math-tests.h: New file.
12617         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12618         (__old_set_dataplane): Rename from set_dataplane and make a
12619         compatibility symbol.
12620         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12621         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12622         sys/dataplane.h.
12624 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
12626         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12627         script quote words in command output to log suitably for input to
12628         the shell.
12630 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
12631             Maciej W. Rozycki  <macro@imgtec.com>
12633         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12634         `.Lno_weak_fn' label.
12635         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12636         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12638 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12639             Yury Norov  <ynorov@caviumnetworks.com>
12641         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12642         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12643         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12644         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12645         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12646         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12647         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12648         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12649         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12650         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12651         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12652         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12653         (sysdep_routines): Remove oldgetrlimit64.
12654         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12655         (sysdep_routines): Likewise.
12656         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12657         (sysdep_routines): Likewise.
12658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12659         [$(subdir) = resource] (sysdep_routines): Likewise.
12660         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12661         [$(subdir) = resource] (sysdep_routines): Likewise.
12662         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12663         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12664         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12665         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12666         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12667         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12668         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12669         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12670         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12671         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12672         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12673         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12674         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12675         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12676         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12677         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12678         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12679         setrlimit and getrlimit.
12680         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12681         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12682         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12685         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12686         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12687         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12688         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12689         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12690         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12691         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12692         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12693         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12694         (__old_getrlimit64): Add compatibility symbol.
12695         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12697 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
12699         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12700         newly built gmp, mpfr and mpc.
12702         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12704 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12706         * conform/Makefile (linknamespace-libs): Rename to
12707         linknamespace-libs-thr.
12708         (linknamespace-libs-posix): New variable.
12709         (linknamespace-libs-xsi): Likewise.
12710         (linknamespace-libs-XPG3): Include libcrypt.a.
12711         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12712         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12713         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12714         (linknamespace-libs-XOPEN2K): Likewise.
12715         (linknamespace-libs-XOPEN2K8): Likewise.
12716         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12718         [BZ #20829]
12719         * stdio-common/Versions (__snprintf): Add to version
12720         GLIBC_PRIVATE.
12721         * include/stdio.h (__snprintf): Use libc_hidden_proto.
12722         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12723         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12724         of snprintf.
12725         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12727 2016-11-16  Zack Weinberg  <zackw@panix.com>
12729         * string/string.h: Remove obsolete comment stating that
12730         strcoll_l and strxfrm_l have not yet been standardized.
12732 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12734         * hurd/hurd.h (__hurd_fail_noerrno): New function.
12735         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12736         __access_noerrno.
12737         * io/access.c (__access_noerrno): New function.
12738         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12739         (hurd_fail_seterrno): Likewise.
12740         (access_common): Likewise.
12741         (__access_noerrno): Likewise.
12742         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12743         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12744         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12745         macro.
12747 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12749         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12750         Only declare fpregs if [__SH_FPU_ANY__].
12752 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
12754         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12755         Make code unconditional.
12756         [!(__SH4__ || __SH4A__)]: Remove conditional code.
12758 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
12760         * manual/sysinfo.texi (S_APPEND): Delete.
12761         (S_IMMUTABLE): Likewise.
12763 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
12764             Magnus Granberg  <zorry@gentoo.org>
12765             Mike Frysinger  <vapier@gentoo.org>
12767         [BZ #20662]
12768         * configure.ac (libc_cv_predef_stack_protector): Also check for
12769         __stack_chk_fail_local symbols.
12770         * configure: Regenerated.
12772 2016-11-15  Florian Weimer  <fweimer@redhat.com>
12774         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12775         (libc_hidden_def): Remove redefinition.
12776         (__sigsetjmp): Add hidden definition.
12777         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12778         (libc_hidden_def): Remove redefinition.
12779         (__sigsetjmp): Add hidden definition.
12781 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
12783         * scripts/build-many-glibcs.py (os.path): Do not import.
12784         (Context): Inherit explicitly from object.  Remove blank line
12785         between class and docstring.
12786         (Config): Likewise.
12787         (Glibc): Likewise.
12788         (Command): Likewise.
12789         (CommandList): Likewise.
12790         (Context.write_files): Store chmod mode in a variable.
12792         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
12793         LIBC_SLIBDIR_RTLDDIR for tilegx32.
12794         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
12796 2016-11-14  Zack Weinberg  <zackw@panix.com>
12798         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
12799         creating or re-creating it.
12801         * string/bits/string2.h: Fix typo in comment.
12803 2016-11-14  Zack Weinberg  <zackw@panix.com>
12805         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
12806         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
12807         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
12808         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
12809         of redirected function names.
12811         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
12812         as well.  Document that MESSAGE must be a single string literal.
12814 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
12816         * scripts/build-many-glibcs.py: New file.
12818         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
12819         (do_test): Disable -Wmaybe-uninitialized around uses of
12820         except_mask.
12822         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
12824 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
12826         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
12827         (atomic_store_release): Provide tilepro-specific implementations.
12829 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
12831         * math/math.h (__MATH_TG): New macro.
12832         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
12833         [__USE_ISOC99] (signbit): Likewise.
12834         [__USE_ISOC99] (isfinite): Likewise.
12835         [__USE_ISOC99] (isnan): Likewise.
12836         [__USE_ISOC99] (isinf): Likewise.
12837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
12838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
12839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
12840         __MATH_TG and __MATH_EVAL_FMT2.
12841         * sysdeps/generic/math_private.h (fabs_tg): Define using
12842         __MATH_TG.
12843         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12844         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
12845         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
12846         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
12847         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
12848         macro.
12849         (__iscanonical): Likewise.
12850         (iscanonical): Define using __MATH_TG.
12852 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12854         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
12855         guards.
12857         * sysdeps/unix/sysv/linux/access.c: New file.
12858         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
12860 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
12862         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
12863         and __WORDSIZE32_PTRDIFF_LONG.
12865 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12867         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12869 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12871         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
12872         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
12873         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
12874         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
12875         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
12876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
12877         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
12878         * sysdeps/unix/sysv/linux/truncate.c: New file.
12879         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
12880         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12881         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
12882         Remove.
12883         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
12884         Likewise.
12886         * posix/tst-truncate-common.c: New file.
12887         * posix/tst-truncate.c: Use tst-truncate-common.c.
12888         * posix/tst-truncate64.c: Likewise and add LFS tests.
12889         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
12890         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
12891         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
12892         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
12893         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
12894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
12895         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
12896         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
12897         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
12898         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12899         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
12900         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
12901         Remove.
12902         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
12903         Likewise.
12905 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
12907         [BZ #20790]
12908         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
12909         to MAXLINESIZE.
12910         * sunrpc/bug20790.x: New file.
12911         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
12912         variable.
12913         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
12914         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
12916         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
12918         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
12920         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
12921         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
12922         calloc, realloc, free, memalign and __libc_memalign rather than
12923         making them optional.
12925         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
12926         for libc.so.
12928 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12930         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
12931         ptw-lseek64.
12932         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
12933         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
12934         Likewise.
12935         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
12936         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
12937         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
12938         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
12939         * sysdeps/unix/sysv/linux/lseek.c: New file.
12940         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
12941         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
12942         __libc_lseek64 from auto-generation.
12943         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12944         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
12946 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12948         * nptl/tst-basic1.c (tf, do_test): Use write_message.
12949         * nptl/tst-cleanup1.c (do_test): Likewise.
12950         * nptl/tst-cleanup3.c (do_test): Likewise.
12951         * nptl/tst-key1.c (do_test): Likewise.
12952         * nptl/tst-key2.c (tf, do_test): Likewise.
12953         * nptl/tst-key3.c (tf, do_test): Likewise.
12954         * nptl/tst-stdio1.c (do_test): Likewise.
12955         * nptl/tst-stdio2.c (do_test): Likewise.
12957         * nptl/tst-kill3.c (handler): Use write_message in place of write.
12958         * nptl/tst-kill6.c (handler): Likewise.
12959         * nptl/tst-tls2.c (CB): Likewise.
12960         * nptl/tst-tls3.c (CB): Likewise.
12962 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
12964         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
12966 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
12967             Steve Ellcey  <sellcey@caviumnetworks.com>
12969         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
12970           __ASSUME_ST_INO_64_BIT as 0
12971         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
12972         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
12973           over the code where __ASSUME_ST_INO_64_BIT is used.
12974         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
12975         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
12976         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12978 2016-11-07  Florian Weimer  <fweimer@redhat.com>
12980         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12981         Document ABI exposure of the __kind offset.
12982         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12983         Mention reason for the __kind offset exposure in the ABI.
12984         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12985         Likewise.
12986         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12987         Likewise.
12988         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12989         Likewise.
12990         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
12991         (struct __pthread_mutex_s): Likewise.
12992         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12993         Likewise.
12994         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12995         Likewise.
12996         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12997         Likewise.
12998         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12999         Likewise.
13000         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13001         Likewise.
13002         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13003         Likewise.
13004         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
13005         (struct __pthread_mutex_s): Likewise.
13006         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13007         (struct __pthread_mutex_s): Likewise.
13008         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
13009         Likewise.
13011 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
13013         * test-skeleton.c: Document do_test usage.
13015 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
13017         * iconv/gconv.h (__gconv_info): Define __data element using a
13018         zero-length array.
13020 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
13022         * math/test-tgmath2.c: Split up test function.
13024 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13026         * Rules (tests-expected): New variable, depending on
13027         $(run-built-tests).
13028         (tests): Pass $(tests-expected) to merge-test-results.sh, not
13029         $(tests).
13031         * Rules [$(run-built-tests) = no] (tests): Do not depend on
13032         $(tests-unsupported).
13034 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13036         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13037         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
13039 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13041         [BZ #20768]
13042         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
13043         __fegetenv instead of fegetenv.
13045         [BZ #14139]
13046         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
13047         (find_files): Obtain platform name from libm-test-ulps-name and
13048         store in %pplatforms.
13049         (canonicalize_platform): Remove.
13050         (print_platforms): Use $pplatforms directly.
13051         (by_platforms): Do not allow for platforms missing from
13052         %pplatforms.
13053         * sysdeps/aarch64/libm-test-ulps-name: New file.
13054         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
13055         * sysdeps/arm/libm-test-ulps-name: Likewise.
13056         * sysdeps/generic/libm-test-ulps-name: Likewise.
13057         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
13058         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
13059         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
13060         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
13061         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
13062         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
13063         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
13064         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
13065         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
13066         * sysdeps/nios2/libm-test-ulps-name: Likewise.
13067         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
13068         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
13069         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
13070         * sysdeps/sh/libm-test-ulps-name: Likewise.
13071         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
13072         * sysdeps/tile/libm-test-ulps-name: Likewise.
13073         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
13075         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
13077         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
13078         (test-xfail-check-execstack): New variable.
13080         * sysdeps/mips/localplt.data: New file.
13082 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
13083             Steve Ellcey  <sellcey@caviumnetworks.com>
13085         * bits/wordsize.h: Add documentation.
13086         * sysdeps/aarch64/bits/wordsize.h : New file
13087         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13088         definitions.
13089         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13090         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13091         with #if instead of #ifdef.
13092         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13093         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13094         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13095         Add or change defines.
13096         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13097         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13098         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13099         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13100         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13101         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13102         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13103         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13104         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13105         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13106         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13107         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13108         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13109         * sysdeps/x86/bits/wordsize.h: Likewise.
13111 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
13112             Kevin Petit  <kevin.petit@arm.com>
13114         * sysdeps/aarch64/memchr.S (__memchr): New file.
13116 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13118         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13120 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
13122         [BZ #19398]
13123         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13124         $(linknamespace-symlists-tests).
13126 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
13128         * time/tst-strptime2.c: Ignore -Wformat-length warning.
13130 2016-11-02  Florian Weimer  <fweimer@redhat.com>
13131             Carlos O'Donell  <carlos@redhat.com>
13133         [Bug #20729]
13134         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13135         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
13136         for -Os related change.
13138 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
13140         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13142 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
13144         [BZ #19673]
13145         * manual/math.texi (Exponents and Logarithms): Correct description
13146         of clog10.
13148 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
13150         [Bz #20729]
13151         * locale/weight.h: Include libc-internal.h.
13152         * locale/weightwc.h: Likewise.
13153         * nptl/nptl_dbP.h: Likewise.
13155 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
13157         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
13158         when it is MACH_PORT_NULL.
13160 2016-10-31  Andreas Schwab  <schwab@suse.de>
13162         [BZ #20707]
13163         * posix/glob.c (glob): Initialize pglob before checking for
13164         GLOB_BRACE.  Don't call glob recursively if pattern contains no
13165         valid brace expression despite GLOB_BRACE.
13166         * posix/globtest.sh: Test it.
13168 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13170         [BZ #20729]
13171         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
13172         Define.
13173         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
13174         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
13175         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
13176         for seq2.back_us and seq1.back_us only for -Os compiles.
13177         * locale/weightwc.h (findix): Likewise.
13178         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
13179         DB_GET_FIELD_ADDRESS only for -Os compiles.
13180         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
13181         for slen only for -Os compiles.
13182         * string/strcoll_l.c (get_next_seq): Ignore
13183         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
13184         for -Os compiles.
13186         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
13187         * include/crypt.h: New file.
13189 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13191         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
13192         from test-skeleton.c.
13193         (statclass): Replace calls to write with calls to write_message.
13195 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13197         * math/math.h
13198         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
13199         New macro.
13200         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
13201         Likewise.
13202         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
13203         Likewise.
13204         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
13205         SNANL.
13206         * math/test-double.h (snan_value_MACRO): New macro.
13207         * math/test-float.h (snan_value_MACRO): Likewise.
13208         * math/test-ldouble.h (snan_value_MACRO): Likewise.
13209         * math/libm-test.inc (issignaling_test_data): Add tests of
13210         snan_value_MACRO.
13212 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13214         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
13215         behavior when eliding a lock not held by the current thread.
13216         * sysdeps/powerpc/nptl/elide.h: Likewise.
13218 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13220         [BZ #20728]
13221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
13222         branch to _exit() by a function call.
13224 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13226         * malloc/malloc.c: Update chunk layout comments.
13227         (chunk_main_arena): Update comment.
13229 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13231         * crypt/sha256.c, crypt/sha256-block.c,
13232         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
13233         sha256_process_block to __sha256_process_block.
13234         * crypt/sha512.c, crypt/sha512-block.c,
13235         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
13236         sha512_process_block to __sha512_process_block.
13238 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13240         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
13242         * math/test-nan-overflow.c: Include stdlib.h for malloc.
13244 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
13246         [BZ #20019]
13247         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
13248         definition in unrelocated shared library.
13249         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13251 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13253         [BZ #20729]
13254         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
13255         * sysdeps/unix/sysv/linux/i386/Makefile
13256         (uses-6-syscall-arguments): Define.
13257         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
13258         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
13259         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
13260         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
13261         Likewise.
13262         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
13263         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
13264         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
13265         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
13266         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
13267         (CFLAGS-fallocate64.os): Likewise.
13268         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
13269         (CFLAGS-pthread_rwlock_timedrdlock.os)
13270         (CFLAGS-pthread_rwlock_timedwrlock.o)
13271         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
13272         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
13273         (CFLAGS-sem_timedwait.os): Likewise.
13275 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13277         * elf/tst-linkall-static.c: New file.
13278         * elf/Makefile (tests-static): Add tst-linkall-static.
13279         (tst-linkall-static): Link against static libraries.
13281 2016-10-27  Florian Weimer  <fweimer@redhat.com>
13283         * malloc/malloc.c (sysmalloc): Initialize previous size field of
13284         mmaped chunks.
13286 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13288         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
13289         members to mchunk_prev_size, mchunk_size.
13290         (chunk_main_arena): Reverse sense and rename from
13291         chunk_non_main_arena.
13292         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
13293         mchunk_size instead of size.
13294         (set_non_main_arena): Define.
13295         (chunksize): Use chunksize_nomask instead of direct member access.
13296         (chunksize_nomask): Define.
13297         (next_chunk): Use chunksize instead of direct member access.
13298         (prev_size, set_prev_size): Define.
13299         (prev_chunk): Use prev_size instead of direct member access.
13300         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
13301         (inuse_bit_at_offset, set_inuse_bit_at_offset)
13302         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
13303         (mchunk_prev_size, mchunk_size): Poison tokens.
13304         (unlink): Use chunksize_nomask, prev_size accessors.
13305         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
13306         (do_check_free_chunk): Use prev_size accessor.
13307         (sysmalloc): Use set_prev_size, set_head accessors.
13308         (munmap_chunk, mremap_chunk): Use prev_size accessor.
13309         (__libc_free): Use chunksize_nomask accessor.
13310         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
13311         chunk_main_arena accessors.
13312         (_int_free): Use chunksize_nomask, prev_size accessors.
13313         (malloc_consolidate): Use chunksize, prev_size accessors.
13314         (_int_realloc): Use chunksize_nomask accessor.
13315         (_int_memalign): Use set_prev_size accessor.
13316         (__malloc_info): Use chunksize_nomask accessor.
13317         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
13318         accessors.
13319         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
13320         (heap_trim): Use chunksize_nomask, prev_size accessors.
13322 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13324         [BZ #19380]
13325         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
13326         for inexact results.
13327         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
13328         of inexact result where mpfr_subnormalize is the only inexact
13329         step.
13330         * stdlib/tst-strtod-round-data.h: Regenerated.
13331         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
13332         Define to 0.
13333         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
13335 2016-10-27  David S. Miller  <davem@davemloft.net>
13337         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
13339 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13341         * malloc/malloc.c (do_set_mallopt_check): New function.
13342         (do_set_mmap_threshold): Likewise.
13343         (do_set_mmaps_max): Likewise.
13344         (do_set_top_pad): Likewise.
13345         (do_set_perturb_byte): Likewise.
13346         (do_set_trim_threshold): Likewise.
13347         (do_set_arena_max): Likewise.
13348         (do_set_arena_test): Likewise.
13349         (__libc_mallopt): Use them.
13351 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
13353         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13354         (canonicalize): New declaration.
13355         * math/Versions (canonicalize): New libm symbol at version
13356         GLIBC_2.25.
13357         (canonicalizef): Likewise.
13358         (canonicalizel): Likewise.
13359         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
13360         * math/s_canonicalize_template.c: New file.
13361         * math/libm-test.inc: Update comment on functions tested and
13362         testing of NaN payloads.
13363         (TEST_NAN_PAYLOAD): New macro.
13364         (NO_TEST_INLINE): Update value.
13365         (XFAIL_TEST): Likewise.
13366         (ERRNO_UNCHANGED): Likewise.
13367         (ERRNO_EDOM): Likewise.
13368         (ERRNO_ERANGE): Likewise.
13369         (IGNORE_RESULT): Likewise.
13370         (NON_FINITE): Likewise.
13371         (TEST_SNAN): Likewise.
13372         (NO_TEST_MATHVEC): Likewise.
13373         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13374         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13375         (struct test_Ffp_b1_data): New type.
13376         (RUN_TEST_Ffp_b1): New macro.
13377         (RUN_TEST_LOOP_Ffp_b1): Likewise.
13378         (canonicalize_test_data): New array.
13379         (canonicalize_test): New function.
13380         (main): Call canonicalize_test.
13381         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13382         canonicalizef and canonicalizel.
13383         * manual/libm-err-tab.pl: Update comment on interfaces without
13384         ulps tabulated.
13385         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13386         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13387         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13388         canonicalize.
13389         (CFLAGS-nldbl-canonicalize.c): New variable.
13390         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13391         to ...
13392         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13393         ... here.
13394         (do_test): Also test canonicalizel.
13395         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13396         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13397         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13398         file.
13399         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13400         Use libm_hidden_def.
13401         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13402         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13403         (do_test): Also test canonicalizel.
13404         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13405         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13406         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13407         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13408         libm_hidden_def.
13409         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13410         macro.
13411         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13412         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13413         * sysdeps/nacl/libm.abilist: Update.
13414         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13415         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13416         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13417         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13418         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13419         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13420         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13421         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13422         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13423         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13424         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13425         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13427         Likewise.
13428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13429         Likewise.
13430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13431         Likewise.
13432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13433         Likewise.
13434         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13435         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13436         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13437         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13438         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13440         Likewise.
13441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13442         Likewise.
13443         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13444         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13445         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13447         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13448         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13449         getpayload.
13450         (CFLAGS-nldbl-getpayload.c): New variable.
13452 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13454         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13455         integer from the format string.
13457 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13459         [BZ #19473]
13460         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13461         declarations.
13462         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13463         weak aliases.
13464         * malloc/hooks.c (__malloc_get_state): Remove definition.
13465         (malloc_get_state): New stub implementation as
13466         compatibility symbol.
13467         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13468         compat symbol.
13469         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13470         malloc_set_state.
13471         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13473 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13475         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13476         (names): Turn into concatenation of strings.
13477         (gconv_init): Adapt iteration over names.
13479 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13481         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13482         make const.
13483         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13484         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13485         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13486         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13487         character in sbconv.
13488         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13489         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13490         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13492 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13494         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13496         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13497         (M_TRIM_THRESHOLD): Likewise.
13499         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13500         (M_ARENA_MAX): Likewise.
13501         * malloc/malloc.c: Remove obsolete comment.
13503         * manual/memory.texi: Add environment variable alternatives to
13504         setting mallopt parameters.
13506 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13508         * include/atomic.h
13509         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13510         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13512 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13514         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13515         * stdlib/tst-strfrom.h: New file.
13516         * stdlib/tst-strfrom.c: New file.
13517         * stdlib/tst-strfrom-locale.c: New file.
13519         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13520         * stdlib/bug-strtod2.c: Likewise.
13521         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13522         * stdlib/tst-strtod6.c: Likewise.
13523         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13525 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13527         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13528         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13529         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13530         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13531         * stdlib/stdlib.h (strfromd): New declaration.
13532         (strfromf): Likewise.
13533         (strfroml): Likewise.
13534         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13535         strfrom.
13536         * stdlib/strfromd.c: New file.
13537         * stdlib/strfromf.c: Likewise.
13538         * stdlib/strfroml.c: Likewise.
13539         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13540         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13541         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13542         * sysdeps/arm/nacl/libc.abilist: Update.
13543         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13544         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13545         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13546         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13547         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13548         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13549         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13550         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13551         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13552         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13553         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13554         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13555         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13556         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13561         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13562         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13563         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13564         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13565         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13568         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13569         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13570         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13572 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
13574         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13575         instead of cmpli.
13576         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13577         instead of cmpli.
13579 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
13581         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13582         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13583         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13584         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13585         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13586         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13588 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13590         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13591         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13592         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13593         SYSCALL_LL64_PRW.
13594         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13595         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13596         __ASSUME_PRW_DUMMY_ARG.
13597         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13598         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13599         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13600         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13601         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13602         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13604 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
13606         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13608 2016-10-22  Florian Weimer  <fweimer@redhat.com>
13610         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13611         "C++", to override a potential extern "C" directive around the
13612         header file inclusion.
13614 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
13616         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13618 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13620         * sysdeps/powerpc/fpu/fenv_private.h:
13621         (_FPU_MASK_ALL): Rename to...
13622         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13623         XE FPSCR bits.
13625         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13627         (_FPU_MASK_ROUNDING): Rename to...
13628         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13629         NI bits.
13631         (_FPU_MASK_EXCEPT_ROUND): Rename to...
13632         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13633         bits and rounding bits.
13635         (__libc_feholdbits_ppc): New inline function to mask, set,
13636         and pontentially clear FSPCR bits, and change MSR[FE] bits.
13637         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13638         (libc_feholdexcept_setround_ppc): Likewise.
13640         (__libc_femergeenv_ppc): New function to dynamically mask both
13641         old and new FP environments and merge.
13642         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13643         (libc_feresetround_ppc): Likewise.
13644         (libc_feupdateenv_test_ppc): Likewise.
13645         (libc_feupdateenv_ppc): Likewise.
13647         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13648         of ISA RN bits, and update macro names.
13649         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13650         effectively the same as the previously mentioned function.
13652         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13653         usage with fe_resetround_ppc.
13655         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13656         to be used.
13657         (libc_feholdexcept_setround_ctxf): Likewise.
13658         (libc_feholdexcept_setround_ctxl): Likewise.
13660 2016-10-21  Florian Weimer  <fweimer@redhat.com>
13662         [BZ #20715]
13663         * math/math.h [__cplusplus] (iszero): Define as function template.
13664         * math/Makefile [CXX] (tests): Add test-math-iszero.
13665         (CFLAGS-test-math-iszero.cc): Set.
13666         * math/test-math-iszero.cc: New file.
13668 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
13670         [BZ #20660]
13671         * sysdeps/arm/e_sqrt.c: New file.
13672         * sysdeps/arm/e_sqrtf.c: Likewise.
13674 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
13676         [BZ #20718]
13677         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13678         not use floating-point comparisons to test sign.
13679         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13680         Likewise.
13682         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13683         (getpayload): New declaration.
13684         * math/Versions (getpayload): New libm symbol at version
13685         GLIBC_2.25.
13686         (getpayloadf): Likewise.
13687         (getpayloadl): Likewise.
13688         * math/Makefile (libm-calls): Add s_getpayloadF.
13689         * math/libm-test.inc: Include <nan-high-order-bit.h>.
13690         (struct test_f_f_data): Add comment.
13691         (RUN_TEST_fp_f): New macro.
13692         (RUN_TEST_LOOP_fp_f): Likewise.
13693         (getpayload_test_data): New array.
13694         (getpayload_test): New function.
13695         (main): Call getpayload_test.
13696         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13697         descriptor.
13698         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13699         getpayloadf and getpayloadl.
13700         * manual/libm-err-tab.pl: Update comment on interfaces without
13701         ulps tabulated.
13702         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13703         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13704         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13705         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13706         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13707         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13708         * sysdeps/nacl/libm.abilist: Update.
13709         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13710         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13711         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13712         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13713         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13714         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13715         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13716         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13717         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13718         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13719         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13720         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13722         Likewise.
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13724         Likewise.
13725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13726         Likewise.
13727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13728         Likewise.
13729         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13730         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13731         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13732         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13733         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13735         Likewise.
13736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13737         Likewise.
13738         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13739         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13740         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13742 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13744         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13745         tst-fallocate{64}.
13746         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13747         on syscall return.
13749 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
13751         [BZ #20689]
13752         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13753         usable.
13755 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
13757         * sysdeps/generic/nan-high-order-bit.h: New file.
13758         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13759         * sysdeps/mips/nan-high-order-bit.h: Likewise.
13760         * sysdeps/hppa/math_private.h: Remove file.
13761         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13762         not define here.
13763         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13764         <nan-high-order-bit.h>.
13765         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13766         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13767         <nan-high-order-bit.h>.
13768         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13769         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13770         <nan-high-order-bit.h>.
13771         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13772         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13773         <nan-high-order-bit.h>.
13774         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13775         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13776         <nan-high-order-bit.h>.
13777         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13778         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13779         <nan-high-order-bit.h>.
13780         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13781         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13782         <nan-high-order-bit.h>.
13783         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13784         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13785         <nan-high-order-bit.h>.
13786         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13787         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13788         <nan-high-order-bit.h>.
13789         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13790         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13791         <nan-high-order-bit.h>.
13792         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13793         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13794         <nan-high-order-bit.h>.
13795         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13796         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
13797         <nan-high-order-bit.h>.
13798         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13799         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
13800         <nan-high-order-bit.h>.
13801         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13802         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
13803         <nan-high-order-bit.h>.
13804         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13805         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
13806         <nan-high-order-bit.h>.
13807         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13808         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
13809         <nan-high-order-bit.h>.
13810         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13811         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
13812         <nan-high-order-bit.h>.
13813         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13814         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
13815         <nan-high-order-bit.h>.
13816         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13818 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13820         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
13822 2016-09-22  John David Anglin  <dave.anglin@bell.net>
13824         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
13825         abort-instr.h.
13826         (EFAULT): Remove conditional define.
13827         (ENOSYS): Likewise.
13828         (atomic_compare_and_exchange_val_acq): Use instruction nullification
13829         instead of conditional branch instructions.
13831 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
13833         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13834         (totalordermag): New declaration.
13835         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
13836         New macro.
13837         * math/Versions (totalordermag): New libm symbol at version
13838         GLIBC_2.25.
13839         (totalordermagf): Likewise.
13840         (totalordermagl): Likewise.
13841         * math/Makefile (libm-calls): Add s_totalordermagF.
13842         * math/libm-test.inc (totalordermag_test_data): New array.
13843         (totalordermag_test): New function.
13844         (main): Call totalordermag_test.
13845         * math/test-tgmath.c (NCALLS): Increase to 125.
13846         (F(compile_test)): Call totalordermag.
13847         (F(totalordermag)): New function.
13848         * manual/arith.texi (FP Comparison Functions): Document
13849         totalordermag, totalordermagf and totalordermagl.
13850         * manual/libm-err-tab.pl: Update comment on interfaces without
13851         ulps tabulated.
13852         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
13853         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
13854         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
13855         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
13856         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
13857         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
13858         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
13859         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13860         totalordermag.
13861         (CFLAGS-nldbl-totalordermag.c): New variable.
13862         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
13863         (do_test): Also test totalordermagl.
13864         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
13865         Likewise.
13866         * sysdeps/nacl/libm.abilist: Update.
13867         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13868         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13869         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13870         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13871         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13872         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13873         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13874         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13875         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13876         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13877         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13878         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13880         Likewise.
13881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13882         Likewise.
13883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13884         Likewise.
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13886         Likewise.
13887         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13888         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13889         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13890         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13891         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13893         Likewise.
13894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13895         Likewise.
13896         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13897         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13898         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13900 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
13902         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
13903         boolean.
13905 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
13907         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
13908         raising FE_INVALID with feraisexcept in case where part of
13909         argument is infinite, subtract that part of argument from itself.
13910         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
13911         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
13912         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13914 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13916         * math/libm-test.inc (totalorder_test_data): Add more tests.
13918 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13920         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
13921         Undefine weak_alias and add a comment why mips64 require
13922         versioning.
13924 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13926         [BZ #20647]
13927         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
13928         maximum CPUID level is less than 2.
13930 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13932         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13933         (totalorder): New declaration.
13934         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
13935         New macro.
13936         * math/Versions (totalorder): New libm symbol at version
13937         GLIBC_2.25.
13938         (totalorderf): Likewise.
13939         (totalorderl): Likewise.
13940         * math/Makefile (libm-calls): Add s_totalorderF.
13941         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
13942         string.
13943         * math/libm-test.inc (PAYLOAD_DIG): New macro.
13944         (qnan_value_pl): Likewise.
13945         (snan_value_pl): Likewise.
13946         (qnan_value): Define using qnan_value_pl.
13947         (snan_value): Define using snan_value_pl.
13948         (struct test_ff_i_data): Add comment about which tests use this
13949         structure.
13950         (RUN_TEST_ff_b): New macro.
13951         (RUN_TEST_LOOP_ff_b): Likewise.
13952         (totalorder_test_data): New array.
13953         (totalorder_test): New function.
13954         (main): Call totalorder_test.
13955         * math/test-tgmath.c (NCALLS): Increase to 122.
13956         (F(compile_test)): Call totalorder.
13957         (F(totalorder)): New function.
13958         * manual/arith.texi (FP Comparison Functions): Document
13959         totalorder, totalorderf and totalorderl.
13960         * manual/libm-err-tab.pl: Update comment on interfaces without
13961         ulps tabulated.
13962         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
13963         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
13964         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
13965         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
13966         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
13967         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
13968         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
13969         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13970         totalorder.
13971         (CFLAGS-nldbl-totalorder.c): New variable.
13972         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
13973         file.
13974         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13975         Add test-totalorderl-ldbl-128ibm.
13976         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
13977         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
13978         test-totalorderl-ldbl-96.
13979         * sysdeps/nacl/libm.abilist: Update.
13980         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13981         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13982         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13983         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13984         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13985         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13986         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13987         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13988         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13989         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13990         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13991         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13993         Likewise.
13994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13995         Likewise.
13996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13997         Likewise.
13998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13999         Likewise.
14000         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14001         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14002         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14003         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14004         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14006         Likewise.
14007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14008         Likewise.
14009         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14010         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14011         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14013 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14015         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
14016         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
14017         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
14018         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
14019         remove ENOSYS implementation.
14020         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
14021         Consolidate all Linux implementations.
14023 2016-10-11  Florian Weimer  <fweimer@redhat.com>
14025         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
14026         * resolv/herror.c (herror): Cast away const-ness.
14027         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
14028         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
14030 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
14032         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
14033         instead of M_NAN + M_NAN.
14034         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14036 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14038         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
14039         unused variable 'p'.
14041 2016-10-09  Alan Modra  <amodra@gmail.com>
14042             Andreas Schwab  <schwab@linux-m68k.org>
14044         [BZ #20554]
14045         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
14046         [PIC && !SHARED]: Set up PIC register for PLT call.
14048 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
14050         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
14051         conditional on value of [__FLT_EVAL_METHOD__].
14052         * math/test-iseqsig-excess-precision.c: New file.
14053         * math/Makefile (tests): Add test-iseqsig-excess-precision.
14055 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14057         * math/s_iseqsig_template.c: Include math-private.h.
14059         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
14060         * posix/tst-posix_fadvise.c: New file.
14061         * posix/tst-posix_fadvise64.c: Likewise.
14062         * posix/tst-posix_fadvise-common.c: Likewise.
14063         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14064         (__ASSUME_FADVISE64_64_6ARG): Define.
14065         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14066         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
14067         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14068         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
14069         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
14070         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
14071         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
14072         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
14073         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
14074         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
14075         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
14076         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
14077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
14078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14079         Likewise.
14080         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14081         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14082         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14083         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14084         Alias to __posix_fadvise64_l32.
14085         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14086         Add compat definition to posix_fadvise64.
14087         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14088         Add versioned definition to posix_fadvise64.
14089         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14090         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14091         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14092         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14093         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14095         * io/Makefile (tests): Add tst-posix_fallocate and
14096         tst-posix_fallocate64.
14097         * io/tst-posix_fallocate-common.c: New file.
14098         * io/tst-posix_fallocate.c: Likewise.
14099         * io/tst-posix_fallocate64.c: Likewise.
14100         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14101         file.
14102         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14103         Likewise.
14104         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14105         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14106         Likewise.
14107         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14108         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14109         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14110         SYSCALL_LL to pass both offset and len arguments.
14111         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14112         Likewise.
14113         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14114         __libc_pwrite64 alias used by posix_fallocate64.
14116         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14117         tst-fallocate64.
14118         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14119         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14120         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14121         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14122         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14123         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14124         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14125         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14126         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14127         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14128         macro on offset argument.
14129         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14130         SYSCALL_LL64 on offset argument.
14132         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14133         tst-fallocate64.
14134         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14135         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14136         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14137         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14138         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14139         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14140         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14141         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14142         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14143         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14144         macro on offset argument.
14145         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14146         SYSCALL_LL64 on offset argument.
14147         * test-skeleton.c (FAIL_RET): Add macro.
14148         (FAIL_EXIT): Likewise.
14149         (FAIL_EXIT1): Likewise.
14150         (_FAIL): Likewise.
14152 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14154         [BZ #20629]
14155         resolv: Remove RES_USEBSTRING and its implementation.
14156         * resolv/resolv.h (RES_USEBSTRING): Remove.
14157         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
14158         (digitvalue, encode_bitstring, decode_bitstring): Remove.
14159         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
14160         (labellen): Remove extended label types support.
14161         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
14162         * resolv/res_init.c (res_setoptions): Likewise.
14163         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14165 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14167         resolv: Remove RES_NOIP6DOTINT and its implementation.
14168         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
14169         (RES_NOIP6DOTINT): Remove.
14170         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
14171         handling.
14172         * resolv/res_debug.c (p_option): Likewise.
14173         * resolv/res_init.c (res_setoptions): Likewise.
14174         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14176 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14178         resolv: Deprecate unimplemented flags.
14179         * misc/sys/cdefs.h (__glibc_macro_warning1)
14180         (__glibc_macro_warning): Define.
14181         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
14182         (RES_KEEPTSIG): Mark as deprecated.
14183         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
14184         RES_NOCHECKNAME, RES_KEEPTSIG.
14185         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
14187 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14189         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
14190         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
14191         Use strong_alias to create symbols for glibc verison 2.19.
14193 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14195         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
14197 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14199         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
14201 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14203         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
14205 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14207         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14208         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
14209         in header for using it as type for ifunc function because __GI_* symbols
14210         for ppc32 do not target the ifunc symbols.
14211         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14213 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14215         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
14216         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
14217         libc_ifunc_hidden_def.
14218         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
14219         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
14220         Redirect ifunced function in header for using it as type of ifunc'ed
14221         function. Redefine libc_hidden_def to use fallback non ifunc'ed
14222         function for __GI_* symbol.
14223         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
14224         * include/libc-symbols.h
14225         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
14227 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14229         [BZ #20478]
14230         * sysdeps/s390/multiarch/ifunc-resolve.h
14231         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
14232         to create ifunc symbols.
14233         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
14234         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
14235         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
14236         for using it as type for ifunc function.
14237         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14238         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14239         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14240         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14241         * sysdeps/s390/multiarch/strcat.c: Likewise.
14242         * sysdeps/s390/multiarch/strchr.c: Likewise.
14243         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14244         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14245         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14246         * sysdeps/s390/multiarch/strlen.c: Likewise.
14247         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14248         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14249         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14250         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14251         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14252         * sysdeps/s390/multiarch/strspn.c: Likewise.
14253         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14254         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14255         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14256         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14257         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14258         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14259         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14260         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
14261         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
14262         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14263         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
14264         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
14266 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14268         * include/libc-symbols.h (__ifunc_resolver):
14269         New macro is used by __ifunc* macros.
14270         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
14271         depending on HAVE_GCC_IFUNC.
14272         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
14273         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
14274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14275         Redirect ifunced function in header for using as type for ifunc function.
14276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
14280         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14282         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14283         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14284         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14285         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14286         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14287         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14288         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14289         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
14292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
14294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14295         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14296         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14297         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14298         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14299         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14300         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14301         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14302         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14303         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14304         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14305         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14306         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14307         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
14308         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
14310         Add libc_hidden_def() and use libc_ifunc_hidden() macro
14311         instead of libc_ifunc() macro.
14312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
14313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14315 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14317         * config.h.in (HAVE_GCC_IFUNC): New undef.
14318         * configure.ac: Add check if gcc supports attribute ifunc feature.
14319         * configure: Regenerated.
14320         * manual/install.texi: Add recommendation for gcc with
14321         indirect-function support.
14322         * INSTALL: Regenerated.
14324 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
14326         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
14327         macro.
14328         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14329         (__iseqsig): New declaration.
14330         * math/s_iseqsig_template.c: New file.
14331         * math/Versions (__iseqsigf): New libm symbol at version
14332         GLIBC_2.25.
14333         (__iseqsig): Likewise.
14334         (__iseqsigl): Likewise.
14335         * math/libm-test.inc (iseqsig_test_data): New array.
14336         (iseqsig_test): New function.
14337         (main): Call iseqsig_test.
14338         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
14339         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
14340         * manual/libm-err-tab.pl: Update comment on interfaces without
14341         ulps tabulated.
14342         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
14343         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
14344         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
14345         * sysdeps/nacl/libm.abilist: Update.
14346         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14347         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14348         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14349         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14350         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14351         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14352         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14353         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14354         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14355         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14356         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14357         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14359         Likewise.
14360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14361         Likewise.
14362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14363         Likewise.
14364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14365         Likewise.
14366         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14367         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14368         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14369         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14370         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14372         Likewise.
14373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14374         Likewise.
14375         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14376         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14377         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14379 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14381         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14382         do_sincos_2, sloww, sloww1): Update comments.
14384         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14385         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14387         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14388         K boolean and rename it.
14389         (__sin): Adjust.
14390         (__cos): Adjust.
14392 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14393             Siddhesh Poyarekar  <siddhesh@sourceware.org>
14395         * manual/nss.texi: Fix typos in the manual.
14397 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14399         * manual/contrib.texi: Fix typos in the manual.
14401         * manual/maint.texi: Fix typos in the manual.
14403         * manual/install.texi: Fix typos in the manual.
14404         * INSTALL: Regenerated.
14406         * manual/lang.texi: Fix typos in the manual.
14408         * manual/probes.texi: Fix typos in the manual.
14410         * manual/threads.texi: Fix typos in the manual.
14412         * manual/debug.texi: Fix typos in the manual.
14414         * manual/crypt.texi: Fix typos in the manual.
14416         * manual/conf.texi: Fix typos in the manual.
14418         * manual/sysinfo.texi: Fix typos in the manual.
14420         * manual/users.texi: Fix typos in the manual.
14422         * manual/job.texi: Fix typos in the manual.
14424         * manual/process.texi: Fix typos in the manual.
14426         * manual/argp.texi: Fix typos in the manual.
14427         * manual/getopt.texi: Likewise.
14428         * manual/startup.texi: Likewise.
14430         * manual/signal.texi: Fix typos in the manual.
14432         * manual/setjmp.texi: Fix typos in the manual.
14434         * manual/resource.texi: Fix typos in the manual.
14436         * manual/time.texi: Fix typos in the manual.
14438         * manual/arith.texi: Fix typos in the manual.
14440         * manual/math.texi: Fix typos in the manual.
14442         * manual/syslog.texi: Fix typos in the manual.
14444         * manual/terminal.texi: Fix typos in the manual.
14446         * manual/socket.texi: Fix typos in the manual.
14448         * manual/filesys.texi: Fix typos in the manual.
14450         * manual/llio.texi: Fix typos in the manual.
14452         * manual/stdio.text: Fix typos in the manual.
14454 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14456         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14457         instead of K1.
14459         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14460         SHIFT_QUADRANT and make it bool.
14461         (do_sincos_2): Likewise.
14462         (sloww): Likewise.
14463         (sloww1): Likewise.
14464         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14465         (__cos): Likewise.
14467 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14469         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14471 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14473         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14474         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14475         0x7fffffffL].
14476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14478 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14480         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14481         inline by __inline__.
14482         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14483         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14484         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14485         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14486         sigset_t from signal.h.
14487         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14488         which is already required.
14490 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14492         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14494 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14496         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14497         (struct tcp_repair_window): New type.
14499 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14501         * libio/tst-memstream3.c: Include string.h.
14503 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14505         [BZ #18241]
14506         [BZ #20181]
14507         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14508         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14509         write position is at the end the buffer.
14510         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14511         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14512         (_IO_str_seekoff): Set correct offset from negative displacement and
14513         set EINVAL for invalid ones.
14514         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14515         buffer length.
14516         (_IO_wstr_switch_to_get_mode): New function.
14517         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14518         set EINVAL for invalid ones.
14519         * libio/tst-memstream3.c: New file.
14520         * libio/tst-wmemstream3.c: Likewise.
14521         * manual/examples/memstrm.c: Remove warning when priting size_t.
14523 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14525         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14526         macro to use __builtin_fma.
14527         * sysdeps/x86_64/fpu/dla.h: Remove file.
14529         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14530         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14531         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14533 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14535         [BZ #20292]
14536         * elf/Makefile (routines): Add dl-addr-obj.
14537         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14538         tst-_dl_addr_inside_object.
14539         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14540         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14541         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14542         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14543         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14544         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14545         * elf/dl-open.c: Likewise.
14546         * elf/dl-addr-obj.c: New file.
14547         * elf/tst-_dl_addr_inside_object.c: New file.
14549 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14551         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14552         <bits/iscanonical.h>.
14553         * bits/iscanonical.h: New file.
14554         * math/s_iscanonicall.c: Likewise.
14555         * math/Versions (__iscanonicall): New libm symbol at version
14556         GLIBC_2.25.
14557         * math/libm-test.inc (iscanonical_test_data): New array.
14558         (iscanonical_test): New function.
14559         (main): Call iscanonical_test.
14560         * math/Makefile (headers): Add bits/iscanonical.h.
14561         (type-ldouble-routines): Add s_iscanonicall.
14562         * manual/arith.texi (Floating Point Classes): Document
14563         iscanonical.
14564         * manual/libm-err-tab.pl: Update comment on interfaces without
14565         ulps tabulated.
14566         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14567         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14568         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14569         Likewise.
14570         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14571         test-iscanonical-ldbl-128ibm.
14572         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14573         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14574         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14575         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14576         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14577         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14578         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14580         Likewise.
14581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14582         Likewise.
14583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14584         Likewise.
14585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14586         Likewise.
14587         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14588         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14590 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14592         * string/bits/string3.h: Remove C++ style comments.
14594 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14596         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14597         instead of ternary condition.
14598         (do_sincos_2): Likewise.
14599         (__sin): Likewise.
14600         (__cos): Likewise.
14601         (slow): Likewise.
14602         (sloww): Likewise.
14603         (sloww1): Likewise.
14604         (bsloww): Likewise.
14605         (bsloww1): Likewise.
14607         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14608         instead of ternary condition.
14609         (do_sin_slow): Likewise.
14610         (do_sincos_1): Likewise.
14611         (do_sincos_2): Likewise.
14612         (__cos): Likewise.
14613         (sloww): Likewise.
14614         (sloww1): Likewise.
14615         (sloww2): Likewise.
14616         (bsloww): Likewise.
14617         (bsloww1): Likewise.
14618         (bsloww2): Likewise.
14620         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14621         check from here...
14622         (slow2): ... and here...
14623         (__sin): ... to here.
14625 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
14627         * math/math.h
14628         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14629         Cast argument to its own type.
14630         * math/test-iszero-excess-precision.c: New file.
14631         * math/Makefile (tests): Add test-iszero-excess-precision.
14632         (CFLAGS-test-iszero-excess-precision.c): New variable.
14634 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
14636         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14637         field, add err field.
14638         (__spawni_child): Report error through err member instead of pipe.
14639         (__spawnix): Likewise.
14641 2016-09-28  Zack Weinberg  <zackw@panix.com>
14643         * scripts/check-installed-headers.sh: Generalize treatment of
14644         sys/elf.h to all target architectures.
14646         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14647         deleted typedef ucontext_t.
14649 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14651         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14652         (__INTERNAL_SYSCALL1): Likewise.
14653         (__INTERNAL_SYSCALL2): Likewise.
14654         (__INTERNAL_SYSCALL3): Likewise.
14655         (__INTERNAL_SYSCALL4): Likewise.
14656         (__INTERNAL_SYSCALL5): Likewise.
14657         (__INTERNAL_SYSCALL6): Likewise.
14658         (__INTERNAL_SYSCALL7): Likewise.
14659         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14660         (__INTERNAL_SYSCALL_NARGS): Likewise.
14661         (__INTERNAL_SYSCALL_DISP): Likewise.
14662         (INTERNAL_SYSCALL_CALL): Likewise.
14663         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14664         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14665         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14666         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14667         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14668         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14669         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14670         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14671         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14672         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14673         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14674         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14675         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14677 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
14679         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14680         macro.
14681         * math/libm-test.inc (iszero_test_data): New array.
14682         (iszero_test): New function.
14683         (main): Call iszero_test.
14684         * manual/arith.texi (Floating Point Classes): Document iszero.
14685         * manual/libm-err-tab.pl: Update comment on interfaces without
14686         ulps tabulated.
14688 2016-09-23  Zack Weinberg  <zackw@panix.com>
14690         * scripts/check-installed-headers.sh: New script.
14691         * Rules: In each directory that defines header files to be installed,
14692         run check-installed-headers.sh on them as a special test.
14693         * Makefile: Likewise for the headers installed at top level.
14695         * include/aliases.h, include/alloca.h, include/argz.h
14696         * include/arpa/nameser.h, include/arpa/nameser_compat.h
14697         * include/elf.h, include/envz.h, include/err.h
14698         * include/execinfo.h, include/fpu_control.h, include/getopt.h
14699         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14700         * include/link.h, include/malloc.h, include/mcheck.h
14701         * include/mntent.h, include/netinet/ether.h
14702         * include/nss.h, include/obstack.h, include/printf.h
14703         * include/pty.h, include/resolv.h, include/rpc/auth.h
14704         * include/rpc/auth_des.h, include/rpc/auth_unix.h
14705         * include/rpc/clnt.h, include/rpc/des_crypt.h
14706         * include/rpc/key_prot.h, include/rpc/netdb.h
14707         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14708         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14709         * include/rpc/rpc_msg.h, include/rpc/svc.h
14710         * include/rpc/svc_auth.h, include/rpc/xdr.h
14711         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14712         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14713         * include/rpcsvc/ypupd.h, include/shadow.h
14714         * include/stdio_ext.h, include/sys/epoll.h
14715         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14716         * include/sys/prctl.h, include/sys/profil.h
14717         * include/sys/statfs.h, include/sys/sysctl.h
14718         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14719         * sysdeps/arm/nacl/include/bits/setjmp.h
14720         * sysdeps/mips/include/sys/asm.h
14721         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14722         * sysdeps/unix/sysv/linux/include/sys/timex.h
14723         * sysdeps/x86/fpu/include/bits/fenv.h:
14724         Add #ifndef _ISOMAC guard around internal declarations.
14725         Add multiple-inclusion guard if not already present.
14727 2016-09-23  Zack Weinberg  <zackw@panix.com>
14729         * sysdeps/generic/sys/ucontext.h
14730         * sysdeps/arm/sys/ucontext.h
14731         * sysdeps/i386/sys/ucontext.h
14732         * sysdeps/m68k/sys/ucontext.h
14733         * sysdeps/mips/sys/ucontext.h
14734         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14735         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14736         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14737         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14738         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14739         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14740         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14741         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14742         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14743         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14744         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14745         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14746         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14747         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14748         Include both bits/sigcontext.h and bits/sigstack.h.
14749         Fix grammar error in comment, if present.
14751         * bits/sigstack.h
14752         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14753         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14754         * sysdeps/unix/sysv/linux/bits/sigstack.h
14755         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14756         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14757         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14758         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14759         * bits/sigcontext.h
14760         * sysdeps/mach/hurd/i386/bits/sigcontext.h
14761         * sysdeps/unix/sysv/linux/bits/sigcontext.h
14762         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14763         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14764         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
14765         as well as signal.h, if this was not already allowed.  Request
14766         definition of size_t if necessary.  Minimize semantically-null
14767         differences across files.
14769 2016-09-23  Zack Weinberg  <zackw@panix.com>
14771         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14772         Remove all logic conditional on __need macros.  Move all the
14773         conditionally defined types to their own headers...
14774         * time/bits/types/clock_t.h: Define clock_t here.
14775         * time/bits/types/clockid_t.h: Define clockid_t here.
14776         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14777         * time/bits/types/struct_timespec.h: Define struct timespec here.
14778         * time/bits/types/struct_timeval.h: Define struct timeval here.
14779         * time/bits/types/struct_tm.h: Define struct tm here.
14780         * time/bits/types/time_t.h: Define time_t here.
14781         * time/bits/types/timer_t.h: Define timer_t here.
14782         * time/Makefile: Install the new headers.
14784         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14785         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14786         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14787         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14788         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14789         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14790         * sysdeps/unix/sysv/linux/bits/resource.h
14791         * sysdeps/unix/sysv/linux/bits/timex.h
14792         * sysdeps/unix/sysv/linux/mips/bits/resource.h
14793         * sysdeps/unix/sysv/linux/net/ppp_defs.h
14794         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
14795         * sysdeps/unix/sysv/linux/sys/acct.h
14796         * sysdeps/unix/sysv/linux/sys/timerfd.h
14797         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
14798         * time/sys/time.h, time/sys/timeb.h
14799         Use the new bits/types headers.
14801         * include/time.h: Remove __need logic.
14802         * include/bits/time.h
14803         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
14804         * include/bits/types/time_t.h, include/bits/types/timer_t.h
14805         * include/bits/types/struct_itimerspec.h
14806         * include/bits/types/struct_timespec.h
14807         * include/bits/types/struct_timeval.h
14808         * include/bits/types/struct_tm.h:
14809         New wrapper headers.
14811 2016-09-23  Zack Weinberg  <zackw@panix.com>
14813         * sysdeps/mach/hurd/net/if_ppp.h
14814         * sysdeps/unix/sysv/linux/net/if_ppp.h:
14815         Only define struct ifpppstatsreq and struct ifpppcstatsreq
14816         if __USE_MISC is defined, to ensure struct ifreq is declared.
14818         * inet/netinet/ether.h: Condition all function prototypes
14819         on __USE_MISC, to ensure struct ether_addr is declared.
14821         * socket/bits/types/struct_osockaddr.h: New header.
14822         * include/bits/types/struct_osockaddr.h: New wrapper.
14823         * socket/Makefile: Install the new header.
14824         * socket/sys/socket.h, inet/protocols/talkd.h:
14825         Refer to bits/types/struct_osockaddr.h for the definition of
14826         struct osockaddr.
14828 2016-09-23  Zack Weinberg  <zackw@panix.com>
14830         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
14831         * inet/protocols/routed.h, inet/protocols/talkd.h
14832         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
14833         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
14834         * sysdeps/generic/netinet/if_ether.h
14835         * sysdeps/generic/netinet/in_systm.h
14836         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
14837         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14838         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
14839         * sysdeps/mach/hurd/net/if_arp.h
14840         * sysdeps/mach/hurd/net/if_ppp.h
14841         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
14842         * sysdeps/unix/sysv/linux/bits/in.h
14843         * sysdeps/unix/sysv/linux/net/ethernet.h
14844         * sysdeps/unix/sysv/linux/net/if_arp.h
14845         * sysdeps/unix/sysv/linux/net/if_ppp.h
14846         * sysdeps/unix/sysv/linux/net/if_shaper.h
14847         * sysdeps/unix/sysv/linux/net/route.h
14848         * sysdeps/unix/sysv/linux/netinet/if_ether.h
14849         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14850         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14851         * sysdeps/unix/sysv/linux/netipx/ipx.h
14852         * sysdeps/unix/sysv/linux/sys/acct.h
14853         * include/arpa/nameser.h, include/resolv.h:
14854         Change all uses of u_char to unsigned char,
14855         u_short and ushort to unsigned short, u_int and uint to unsigned int,
14856         u_long and ulong to unsigned long, u_int8_t to uint8_t,
14857         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
14858         and u_int64_t and u_quad_t to uint64_t.
14860         * mach/sys/reboot.h: Remove two casts of integer literals
14861         to the types they already have.
14863         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
14864         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
14865         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
14866         from referring to 'unsigned char' to 'uint8_t' for consistency with
14867         the macro definition below.
14869         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
14870         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
14871         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
14872         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
14873         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
14874         * sysdeps/unix/sysv/linux/sys/acct.h
14875         * include/arpa/nameser.h, include/resolv.h:
14876         Fix indentation disrupted by mechanical edits.
14878         * inet/protocols/talkd.h, resolv/arpa/nameser.h
14879         * sysdeps/generic/netinet/in_systm.h
14880         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14881         * sysdeps/gnu/netinet/udp.h
14882         * sysdeps/unix/sysv/linux/net/ethernet.h
14883         * sysdeps/unix/sysv/linux/net/if_arp.h
14884         * sysdeps/unix/sysv/linux/net/if_ppp.h
14885         * sysdeps/unix/sysv/linux/net/if_shaper.h
14886         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14887         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14888         * sysdeps/unix/sysv/linux/netipx/ipx.h
14889         * sysdeps/unix/sysv/linux/sys/acct.h
14890         Include stdint.h for uintNN_t definitions.
14891         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
14893 2016-09-23  Zack Weinberg  <zackw@panix.com>
14895         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
14896         * sysdeps/unix/sysv/linux/netrose/rose.h:
14897         Include sys/socket.h and netax25/ax25.h.
14899         * inet/netinet/icmp6.h, inet/netinet/ip6.h
14900         * resolv/arpa/nameser_compat.h:
14901         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
14903         * sysdeps/unix/sysv/linux/sys/quota.h:
14904         Use __caddr_t instead of caddr_t.
14905         * sysdeps/unix/sysv/linux/sys/timerfd.h:
14906         Use __clockid_t instead of clockid_t.
14908         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
14910         * argp/argp.h: Check whether _LIBC is defined before expanding it.
14911         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
14912         expanding it.
14914         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
14915         Define __glibc_c99_flexarr_available to 1 when the compiler
14916         supports C99-compatible flexible array members, 0 otherwise.
14917         * sysdeps/unix/sysv/linux/bits/socket.h
14918         * sysdeps/mach/hurd/bits/socket.h
14919         * bits/socket.h: Use __glibc_c99_flexarr_available in
14920         definitions of struct cmsghdr and CMSG_DATA.
14922 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14924         * manual/nss.texi (NSS Modules Interface): Adjust function return
14925         type to enum nss_status.  Document errnop argument.  Clarify
14926         h_errnop semantics.  Fix cross-reference formatting.
14927         (NSS Module Function Internals): Mention that *errnop needs to be
14928         set on failure, but not to zero.
14930 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14932         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
14933         (get_random_name): New functions.
14934         (check_wrapper_flags_mode): Use linkat to give the new file a name
14935         determined by get_random_name.
14936         (do_test): Add calls to test open64 and openat64.
14938 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14940         * test-skeleton.c: Remove #include <stdarg.h>.
14942 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
14944         [BZ #19826]
14945         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
14946         initialization of static TLS entries.
14947         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
14948         * nptl/allocatestack.c (init_one_static_tls): Likewise.
14950 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14952         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
14953         _hurd_malloc_fork_prepare.
14954         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
14955         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
14956         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
14957         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
14958         (_hurd_fork_child_hook): Drop malloc_fork_child.
14959         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
14960         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
14961         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
14962         after locking locks (notably hurd_dtable_lock). Call
14963         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
14964         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
14965         __malloc_fork_unlock_child.
14966         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
14968 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
14970         * soft-fp/extendhftf2.c: New.
14971         * soft-fp/fixhfti.c: Likewise.
14972         * soft-fp/fixunshfti.c: Likewise.
14973         * soft-fp/floattihf.c: Likewise.
14974         * soft-fp/floatuntihf.c: Likewise.
14975         * soft-fp/half.h: Likewise.
14976         * soft-fp/trunctfhf2.c: Likewise.
14978 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
14980         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
14981         macro.
14982         * math/libm-test.inc (issubnormal_test_data): New array.
14983         (issubnormal_test): New function.
14984         * manual/arith.texi (Floating Point Classes): Document
14985         issubnormal.
14986         * manual/libm-err-tab.pl: Update comment on interfaces without
14987         ulps tabulated.
14989         * sysdeps/generic/stdint.h: Define
14990         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14991         <bits/libc-header-start.h> instead of including <features.h>.
14992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
14993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
14994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
14995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
14996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
14997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
14998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
14999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
15000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
15001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
15002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
15003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
15004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
15005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
15006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
15007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
15008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
15009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
15010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
15011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
15012         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
15013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
15014         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
15015         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
15016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
15017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
15018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
15019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
15020         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
15021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
15022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
15023         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
15024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
15025         * manual/arith.texi (Integers): Document these macros for types
15026         specified by width properties.
15027         * manual/lang.texi (Width of Type): Document these macros for
15028         other standard typedefs.
15029         * stdlib/tst-width-stdint.c: New file.
15030         * stdlib/Makefile (tests): Add tst-width-stdint.
15032 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15034         [BZ #20016]
15035         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
15036         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
15037         Move ...
15038         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
15039         ... here, as compatibility symbols in a new file.
15040         * resolv/Makefile (libresolv-routines): Add compat-hooks.
15041         * resolv/res_init.c (__res_vinit): Adjust member names.
15042         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
15043         * resolv/resolv.h (res_sendhookact, res_send_qhook)
15044         (res_send_rhook): Remove.
15045         (struct __res_state): Rename qhook, rhook members.
15047 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15049         malloc: Use __libc_lock wrappers.
15050         * malloc/arena.c (list_lock, free_list_lock): Define using
15051         __libc_lock_define_initialized.
15052         (arena_lock): Adjust formatting.
15053         * malloc/malloc.c (struct malloc_state): Define mutex using
15054         __libc_lock_define.
15055         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
15056         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
15057         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
15058         (mutex_unlock, mutex_trylock): Remove.
15059         (__pthread_initialize): Remove unused macro.
15060         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
15061         (mutex_unlock, mutex_trylock): Remove.
15063 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15065         [BZ #20592]
15066         Remove RR type classification macros.
15067         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
15068         (ns_t_udp_p, ns_t_xfr_p): Remove.
15070 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15072         Remove misleading version information.
15073         * resolv/arpa/nameser.h (__NAMESER): Remove.
15074         * resolv/arpa/nameser_compat.h (__BIND): Remove.
15076 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15078         Remove the always-defined BIND_4_COMPAT macro.
15079         * resolv/arpa/nameser.h: Unconditionally include
15080         <arpa/nameser_compat.h>.
15081         (BIND_4_COMPAT): Remove.
15082         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15084 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15086         [BZ #20591]
15087         Remove obsolete DNSSEC support.
15088         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15089         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15090         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15091         (ns_verify_tcp, ns_verify_tcp_init): Remove.
15092         (ns_cert_types): Add comment.
15093         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15094         separately.
15095         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15096         (dst_s_dns_key_id): Remove.
15097         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15098         variables.
15100 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15102         [BZ #20524]
15103         * manual/string.texi (String/Array Comparison): Clarify the
15104         strverscmp behavior.
15106 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15108         * test-skeleton.c (xasprintf): Add function.
15109         * io/tst-open-tmpfile.c: New test.
15110         * io/Makefile (tests): Add it.
15112 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15114         Avoid running $(CXX) during build to obtain header file paths.
15115         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15116         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15117         * Makerules (cstdlib, cmath): Remove variables.  Use
15118         $(c++-cstdlib-header), $(c++-cmath-header) instead.
15119         * configure: Regenerate.
15121 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15123         * Makeconfig (all-object-suffixes): Include .op only if
15124         $(build-profile).
15126 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15128         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15129         conditionals.  Do not define PATH_MAX.
15131 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15133         * posix/Makefile (tests): Add tst-spawn3.
15134         * posix/tst-spawn3.c: New file.
15135         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15136         if it is already opened for open action.
15138         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15139         all signals when executing the clone vfork child.
15140         (SIGALL_SET): Remove macro.
15142         * nptl/Makefile (tests): Add tst-exec5.
15143         * nptl/tst-exec5.c: New file.
15144         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15145         asynchronous cancellation.
15147 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15149         * hurd/exc2signal.c: #include <hurd/signal.h>
15150         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15151         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
15152         accordingly.
15153         * mach/mach_error.c (mach_error): Fix old-style function definition.
15154         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
15156 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15158         * math/Makefile (libm-calls): Remove s_nanF.
15159         (gen-libm-calls): Add s_nanF.
15161         * math/s_nan.c: Refactor into ...
15162         * math/s_nan_template.c: New file.
15164         * math/s_nanf.c: Removed.
15165         * math/s_nanl.c: Removed.
15166         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
15167         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
15169         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15170         (LDOUBLE_nanl_libm_version): New macro.
15172         * sysdeps/generic/math-type-macros-double.h:
15173         (M_STRTO_NAN): New macro.
15174         * sysdeps/generic/math-type-macros-float.h: Likewise.
15175         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15177         * sysdeps/generic/math-type-macros.h: Document
15178         M_STRTO_NAN.
15180 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15182         * math/s_nanf.c: Remove __nanf undef.
15183         * math/s_nan.c: Remove __nan undef.
15184         * math/s_nanl.c: Remove __nanl undef.
15186         * sysdeps/generic/math_private.h (__nan): Remove macro
15187         override.
15188         (__nanf): Likewise.
15189         (__nanl): Likewise.
15191 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15193         * math/Makefile (gen-all-calls): New variable.
15194         (generated): Replace gen-libm-calls with gen-all-calls.
15195         (gen-libm-templates.stmp): Likewise.  Also, ensure
15196         the output directory exists or is created and add
15197         dependency on the Makefile.
15198         (calls): Move s_ldexpF into gen-calls.
15199         (gen-calls): New variable.
15201         * math/s_ldexpf.c: Removed.
15202         * math/s_ldexpl.c: Removed.
15203         * math/s_ldexp.c: Refactored into ...
15204         * math/s_ldexp_template.c: New file.
15206         * sysdeps/generic/math-type-macros-double.h: Remove
15207         redundant fall-through definition of declare_mgen_alias.
15208         (declare_mgen_alias_2): New macro.
15210         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
15211         New macro for function aliased to two exported symbols.
15213         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
15214         new template file.
15215         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15217 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15219         * Makeconfig (all-object-suffixes): Remove .og.
15220         * Makerules (elide-routines.og): Remove.
15221         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
15222         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
15223         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
15225 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15227         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
15228         .os objects.
15230 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15232         [BZ #20615]
15233         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
15234         fpu directory by non-fpu.
15235         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
15236         on non-fpu directory from a fpu directory.
15238 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
15240         * include/limits.h: Define
15241         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15242         <bits/libc-header-start.h> instead of including <features.h>.
15243         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
15244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
15245         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
15246         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
15247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
15248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
15249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
15250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
15251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
15253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
15254         * manual/lang.texi (Width of Type): Document these macros.
15255         * stdlib/tst-width.c: New file.
15256         * stdlib/Makefile (tests): Add tst-width.
15258 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15260         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
15261         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
15263 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15265         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
15266         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15267         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15269 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15271         [BZ #18243]
15272         * rt/Makefile (test): Add tst-shm-cancel.
15273         * rt/tst-shm-cancel.c: New file.
15274         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
15276         [BZ #18243]
15277         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
15278         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
15279         definition.
15280         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
15281         uncontended case.
15282         * nptl/sem_wait.c (__new_sem_wait): Likewise.
15283         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
15284         (tf): Fix check for uncontended case.
15285         (do_test): Likewise.
15286         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
15287         (tf): Fix check for uncontended case.
15288         (do_test): Likewise.
15289         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
15290         (tf): Fix check for uncontended case.
15291         (do_test): Likewise.
15292         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
15293         (tf): Fix check for uncontended case.
15294         (do_test): Likewise.
15296         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
15297         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
15299         [BZ #15765]
15300         * nptl/Makefile (tests): Add tst-sem16.
15301         * nptl/tst-sem16.c: New file.
15302         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
15304         * nptl/sem_open.c (sem_open): Init pad value to 0.
15305         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15306         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15308 2016-09-15  Florian Weimer  <fweimer@redhat.com>
15310         [BZ #20611]
15311         * inet/Makefile (routines): Add inet6_scopeid_pton.
15312         (tests): Add tst-inet6_scopeid_pton.
15313         * inet/inet6_scopeid_pton.c: New file.
15314         * inet/net-internal.h: Likewise.
15315         * inet/tst-inet6_scopeid_pton.c: New test.
15316         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
15317         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
15318         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15320 2016-09-14  Florian Weimer  <fweimer@redhat.com>
15322         Remove support for compiling wrappers with PTW.
15323         * sysdeps/nptl/Makeconfig: Drop ptw- support.
15324         * nptl/Makefile (pthread-compat-wrappers): Define.
15325         (libpthread-routines): Use pthread-compat-wrappers.
15326         * sysdeps/unix/sysv/linux/alpha/Makefile
15327         (libpthread-routines, libpthread-shared-only-routines): Remove
15328         ptw- prefix.
15329         * sysdeps/s390/nptl/Makefile
15330         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15331         * sysdeps/ia64/nptl/Makefile
15332         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15333         * sysdeps/nacl/Makefile (libpthread-routines): Use
15334         pthread-compat-wrappers to filter the routines list instead of the
15335         ptw- prefix.
15337 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15339         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
15340         with L() and remove explicit suffix, convert real literals
15341         which can be equivalentally substituted with integers, and
15342         transform -L(x) to L(-x).
15344         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15345         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15346         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15347         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15348         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15349         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15350         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15351         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15352         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15353         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15354         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15355         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15356         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15357         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15358         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15359         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15360         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15361         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15362         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15363         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15364         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15365         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15366         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15367         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15368         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15369         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15370         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15371         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15372         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15373         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15374         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15375         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15376         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15377         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15378         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15379         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15380         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15381         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15382         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15383         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15384         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15385         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15386         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15387         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15388         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15389         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15390         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15391         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15392         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15393         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15395 2016-09-13  Florian Weimer  <fweimer@redhat.com>
15397         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15399 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15401         * malloc/Makefile (tests): Remove individual static test names
15402         and just add all of tests-static.
15404         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15406 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
15408         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15409         file.
15411         * sysdeps/sparc/fpu/fegetmode.c: New file.
15412         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15414         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15415         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15417         * sysdeps/s390/fpu/fegetmode.c: New file.
15418         * sysdeps/s390/fpu/fesetmode.c: Likewise.
15420         * sysdeps/powerpc/fpu/fegetmode.c: New file.
15421         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15422         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15423         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15424         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15425         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15427         * sysdeps/mips/fpu/fegetmode.c: New file.
15428         * sysdeps/mips/fpu/fesetmode.c: Likewise.
15430         * sysdeps/m68k/fpu/fegetmode.c: New file.
15431         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15433         * sysdeps/ia64/fpu/fegetmode.c: New file.
15434         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15436         * sysdeps/hppa/fpu/fegetmode.c: New file.
15437         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15439         * sysdeps/arm/fegetmode.c: New file.
15440         * sysdeps/arm/fesetmode.c: Likewise.
15442         * sysdeps/alpha/fpu/fegetmode.c: New file.
15443         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15445         * sysdeps/aarch64/fpu/fegetmode.c: New file.
15446         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15448         * math/fegetmode.c: New file.
15449         * math/fesetmode.c: Likewise.
15450         * sysdeps/i386/fpu/fegetmode.c: Likewise.
15451         * sysdeps/i386/fpu/fesetmode.c: Likewise.
15452         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15453         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15454         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15456         declaration.
15457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15458         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15459         typedef.
15460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15461         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15462         (femode_t): New typedef.
15463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15464         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15465         (femode_t): New typedef.
15466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15467         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15468         (femode_t): New typedef.
15469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15470         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15471         (femode_t): New typedef.
15472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15473         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15474         (femode_t): New typedef.
15475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15476         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15477         (femode_t): New typedef.
15478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15479         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15480         (femode_t): New typedef.
15481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15482         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15483         (femode_t): New typedef.
15484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15485         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15486         (femode_t): New typedef.
15487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15488         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15489         (femode_t): New typedef.
15490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15491         declaration.
15492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15493         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15494         (femode_t): New typedef.
15495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15496         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15497         (femode_t): New typedef.
15498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15499         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15500         (femode_t): New typedef.
15501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15502         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15503         (femode_t): New typedef.
15504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15505         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15506         (femode_t): New typedef.
15507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15508         * manual/arith.texi (FE_DFL_MODE): Document macro.
15509         (fegetmode): Document function.
15510         (fesetmode): Likewise.
15511         * math/Versions (fegetmode): New libm symbol at version
15512         GLIBC_2.25.
15513         (fesetmode): Likewise.
15514         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15515         (tests): Add test-femode and test-femode-traps.
15516         * math/test-femode-traps.c: New file.
15517         * math/test-femode.c: Likewise.
15518         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15519         alias for __fe_dfl_env.
15520         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15521         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15522         (__fe_dfl_mode): Likewise.
15523         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15524         version GLIBC_2.25.
15525         * sysdeps/nacl/libm.abilist: Update.
15526         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15527         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15528         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15529         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15530         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15531         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15532         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15533         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15534         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15535         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15536         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15537         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15539         Likewise.
15540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15541         Likewise.
15542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15543         Likewise.
15544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15545         Likewise.
15546         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15547         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15548         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15549         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15550         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15552         Likewise.
15553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15554         Likewise.
15555         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15556         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15557         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15559 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15561         [BZ #20495]
15562         [BZ #20508]
15563         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15564         processors, set Use_dl_runtime_resolve_slow and set
15565         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15566         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15567         New.
15568         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15569         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15570         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15571         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15572         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15573         if Use_dl_runtime_resolve_opt is set.  Use
15574         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15575         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15576         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
15577         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15578         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15579         New.
15580         (_dl_runtime_resolve_opt): Likewise.
15581         (_dl_runtime_profile): Define only if _dl_runtime_profile is
15582         defined.
15584 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15586         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15587         __libc_memalign with "+ RELA R_390_GLOB_DAT".
15589 2016-09-06  Florian Weimer  <fweimer@redhat.com>
15591         Convert malloc to __libc_lock.  Automated part, using this Perl
15592         s/// command:
15593           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15594             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15595         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15596         conversion.
15598 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
15600         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15601         (linknamespace-symlists-tests): Likewise.
15602         (linknamespace-header-tests): Likewise.
15604 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
15606         [BZ #19810]
15607         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15608         * elf/tst-noload.c: New test case.
15609         * elf/Makefile (tests): Add tst-noload.
15611 2016-09-02  Roland McGrath  <roland@hack.frob.com>
15613         * sysdeps/nacl/dup.c: Add libc_hidden_def.
15615         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15616         not any more.
15618         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15620 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15622         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15623         (do_cos_slow): Likewise.
15624         (do_sin): Likewise.
15625         (do_sin_slow): Likewise.
15626         (slow): Likewise.
15627         (slow1): Likewise.
15628         (slow2): Likewise.
15629         (sloww): Likewise.
15630         (sloww1): Likewise.
15631         (sloww2): Likewise.
15632         (bsloww): Likewise.
15633         (bsloww1): Likewise.
15634         (bsloww2): Likewise.
15635         (cslow2): Likewise.
15637         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15639         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15640         arguments.  Consolidate input partitioning from callers here.
15641         (do_cos_slow): Likewise.
15642         (do_sin): Likewise.
15643         (do_sin_slow): Likewise.
15644         (do_sincos_1): Remove the no longer necessary input partitioning.
15645         (do_sincos_2): Likewise.
15646         (__sin): Likewise.
15647         (__cos): Likewise.
15648         (slow1): Likewise.
15649         (slow2): Likewise.
15650         (sloww1): Likewise.
15651         (sloww2): Likewise.
15652         (bsloww1): Likewise.
15653         (bsloww2): Likewise.
15654         (cslow2): Likewise.
15656 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15658         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15659         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
15660         outside of allocated array.
15662 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15664         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15665         instead of MB_CUR_MAX to avoid variable-length array.
15667 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15669         * math/Makefile (libm-calls): Remove k_rem_pio2F.
15670         (type-double-routines): Add k_rem_pio2.
15671         (type-float-routines): Add k_rem_pio2f.
15673         * sysdeps/generic/math_private.h:
15674         (__kernel_rem_pio2l): Removed.
15676         * math/k_rem_pio2l.c: Removed.
15677         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15678         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15679         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15680         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15682 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15684         * math/Makefile (gen-libm-calls): Add s_fmin
15685         (libm-calls): Remove above.
15687         * math/s_fmin.c: Refactor into ...
15688         * math/s_fmin_template.c: New file.
15690         * math/s_fminf.c: Removed.
15691         * math/s_fminl.c: Removed.
15692         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15693         (LDOUBLE_fmin_libm_version): New macro.
15695         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15696         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15698 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15700         * math/Makefile: (gen-libm-calls): Add s_fmax.
15701         (libm-calls): Remove above.
15703         * math/s_fmax.c: Refactor into ...
15704         * math/s_fmax_template.c: New file.
15705         * math/s_fmaxf.c: Removed.
15706         * math/s_fmaxl.c: Removed.
15708         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15709         (LDOUBLE_fmaxl_libm_version): New macro.
15711         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15712         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15714         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15715         s_fmin.c to pick the aarch64 version of the file.
15716         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15717         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15719 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15721         * math/Makefile: (gen-libm-calls): Add s_nextdown.
15722         (libm-calls): Remove above.
15724         * math/s_nextdown.c: Refactor into ...
15725         * math/s_nextdown_template.c: New file.
15726         * math/s_nextdownf.c: Removed.
15727         * math/s_nextdownl.c: Removed.
15729         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15731 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15733         * math/Makefile (gen-libm-calls): Add s_fdim.
15734         (libm-calls): Move to above.
15736         * math/s_fdim.c: Renamed and refactored into to ...
15737         * math/s_fdim_template.c: New file.
15738         * math/s_fdiml.c: Removed.
15739         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15740         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15742         * sysdeps/generic/math-type-macros-double.h:
15743         (declare_mgen_alias): Don't declare if already declared.
15744         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15745         Likewise.
15747         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15748         (declare_mgen_alias): Don't declare if already declared.
15749         (M_LIBM_NEED_COMPAT): Likewise.
15750         (declare_mgen_libm_compat): Likewise.
15751         (LDOUBLE_fdiml_libm_version): New macro.
15753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15754         Include math/s_fdim.c now that ldbl-opt version is not needed.
15755         (declare_mgen_alias): New macro to disable aliasing.
15757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15758         (declare_mgen_alias): Likewise.
15759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15760         (declare_mgen_alias): Likewise.
15761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15762         (declare_mgen_alias): Likewise.
15763         (M_LIBM_NEED_COMPAT): Likewise.
15765 2016-09-01  Florian Weimer  <fweimer@redhat.com>
15767         [BZ #20525]
15768         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15769         Include <linux/quota.h>.
15770         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15771         and btodb.
15772         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15773         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15774         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15775         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15776         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15777         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15778         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15779         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15780         types.
15781         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15782         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15784 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15786         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15787         (gammal_positive): Fix spacing.
15788         (__ieee754_gammal_r): Likewise.
15790 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15792         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
15793         (_Float128): Define as long double, always.
15794         (L): Apply long double type suffix, always.
15796         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
15797         _Float128, excepting comments.
15799         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15800         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15801         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15802         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15803         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15804         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15805         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15806         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15807         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15808         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
15809         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15810         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15811         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15812         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15813         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15814         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15815         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15816         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15817         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15818         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15819         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15820         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15821         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15822         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15823         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15824         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15825         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15826         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15827         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15828         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15829         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15830         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15831         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15832         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15833         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15834         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15835         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15836         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15837         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15838         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15839         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15840         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15841         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15842         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15843         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15844         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15845         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15846         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15847         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15848         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15849         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15850         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15851         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15852         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15853         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15854         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15855         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15856         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15857         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15858         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15859         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15860         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15861         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15862         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15863         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15864         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15865         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15866         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15868         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
15869         _Float128, and include math_private.h.
15870         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15872         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
15873         long double semantics.
15874         (_Float128): Likewise.
15875         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
15876         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15877         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
15878         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
15880 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15882         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
15883         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
15884         * sysdeps/s390/configure: Regenerated.
15885         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
15886         instruction for raising over-/underflow if z196 zarch is supported
15887         by default.
15888         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
15890 2016-08-30  Svante Signell  <svante.signell@gmail.com>
15892         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
15893         it point to a dumb buffer for RPC to fill it.
15895 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15897         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
15898         instead of if/else.
15899         (do_sin_slow): Likewise.
15900         (do_sincos_1): Use fabs instead of if/else.
15901         (do_sincos_2): Likewise.
15902         (__sin): Likewise.
15903         (__cos): Likewise.
15904         (slow2): Likewise.
15905         (sloww): Likewise.
15906         (sloww1): Likewise.  Drop argument M.
15907         (sloww2): Use fabs instead of if/else.
15908         (bsloww): Likewise.
15909         (bsloww1): Likewise.
15910         (bsloww2): Likewise.
15912         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
15913         fall through comment.
15914         (do_sincos_1): Likewise.
15916         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
15917         Consolidate switch cases 0 and 2.
15919 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15921         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
15922         (libm-calls): Remove the above.
15924         * math/s_cexp_template.c: Update using type-generic macros.
15925         * math/s_clog10_template.c: Likewise.
15926         * math/s_cpow_template.c: Likewise.
15927         * math/s_clog_template.c: Likewise.
15928         * math/s_cproj_template.c: Likewise.
15929         * math/s_csqrt_template.c: Likewise.
15931         * math/s_cexp.c: Removed.
15932         * math/s_cexpf.c: Removed.
15933         * math/s_cexpl.c: Removed.
15934         * math/s_clog10.c: Removed.
15935         * math/s_clog10f.c: Removed.
15936         * math/s_clog10l.c: Removed.
15937         * math/s_cpow.c: Removed.
15938         * math/s_cpowf.c: Removed.
15939         * math/s_cpowl.c: Removed.
15940         * math/s_clog.c: Removed.
15941         * math/s_clogf.c: Removed.
15942         * math/s_clogl.c: Removed.
15943         * math/s_cproj.c: Removed.
15944         * math/s_cprojf.c: Removed.
15945         * math/s_cprojl.c: Removed.
15946         * math/s_csqrt.c: Removed.
15947         * math/s_csqrtf.c: Removed.
15948         * math/s_csqrtl.c: Removed.
15950         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
15951         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
15952         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
15953         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
15954         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
15955         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
15957         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
15958         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
15959         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
15960         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
15961         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
15962         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
15963         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
15964         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
15965         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
15966         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
15967         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
15969         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
15970         version.
15972         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
15973         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
15974         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
15975         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
15977 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15979         * s_cexp_template.c: Copy of s_cexp.c.
15980         * s_clog_template.c: Copy of s_clog.c.
15981         * s_clog10_template.c: Copy of s_clog10.c.
15982         * s_cpow_template.c: Copy of s_cpow.c.
15983         * s_cproj_template.c: Copy of s_cproj.c.
15984         * s_csqrt_template.c: Copy of s_csqrt.c.
15986 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15988         [BZ #20517]
15989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15990         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
15991         exported.
15993 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
15995         * math/fetestexceptflag.c: New file.
15996         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
15997         Stefan Liebler.
15998         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15999         (fetestexceptflag): New function declaration.
16000         * manual/arith.texi (fetestexceptflag): Document function.
16001         * math/Versions (fetestexceptflag): New libm symbol at version
16002         GLIBC_2.25.
16003         * math/Makefile (libm-support): Add fetestexceptflag.
16004         (tests): Add test-fetestexceptflag.
16005         * math/test-fetestexceptflag.c: New file.
16006         * sysdeps/nacl/libm.abilist: Update.
16007         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16008         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16009         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16010         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16011         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16012         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16013         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16014         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16015         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16016         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16017         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16018         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16020         Likewise.
16021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16022         Likewise.
16023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16024         Likewise.
16025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16026         Likewise.
16027         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16028         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16029         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16030         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16031         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16033         Likewise.
16034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16035         Likewise.
16036         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16037         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16038         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16040 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16042         [BZ #20432]
16043         Avoid strong references to malloc-internal symbols when linking
16044         statically, to support statically interposed mallocs.
16045         * include/libc-symbols.h (call_function_static_weak): New macro.
16046         * malloc/Makefile (tests): Add tst-interpose-nothread,
16047         tst-interpose-thread, tst-interpose-static-nothread,
16048         tst-interpose-static-thread.
16049         (tests-static): Add tst-interpose-static-nothread,
16050         tst-interpose-static-thread.
16051         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
16052         tst-interpose-aux-thread.o.
16053         (test-extras): Add tst-interpose-aux-nothread,
16054         tst-interpose-aux-thread.
16055         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
16056         tst-interpose-aux-nothread.o.
16057         (tst-interpose-thread, tst-interpose-static-thread): Link with
16058         tst-interpose-aux-thread.o and libthread.
16059         * malloc/tst-interpose-aux-nothread.c: New file.
16060         * malloc/tst-interpose-aux-thread.c: Likewise.
16061         * malloc/tst-interpose-aux.c: Likewise.
16062         * malloc/tst-interpose-aux.h: Likewise.
16063         * malloc/tst-interpose-nothread.c: Likewise.
16064         * malloc/tst-interpose-skeleton.c: Likewise.
16065         * malloc/tst-interpose-static-nothread.c: Likewise.
16066         * malloc/tst-interpose-static-thread.c: Likewise.
16067         * malloc/tst-interpose-thread.c: Likewise.
16068         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
16069         * sysdeps/mach/hurd/fork.c (__fork): Only call
16070         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16071         __malloc_fork_unlock_child if defined.
16072         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16074 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16076         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
16077         timespec C99 designated initialization.
16079 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16081         [BZ #19946]
16082         Avoid expected SIGALRM signals.
16083         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16084         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16085         (xpthread_create, xpthread_detach, xpthread_join)
16086         (delayed_exit_thread, delayed_exit): New functions.
16087         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16088         (tf): Use xpthread_cond_wait.
16089         (do_test): Likewise.  Replace alarm with delayed_exit.
16090         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16091         (do_test): Call delayed_exit.  Report failure.
16092         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16093         (do_test): Call delayed_exit.
16094         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16095         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
16096         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16097         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
16098         error.
16099         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16100         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
16101         error.
16102         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16103         (do_test): Call delayed_exit.
16104         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16105         (do_test): Call delayed_exit.
16106         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16107         (do_test): Call delayed_exit instead of alarm.  Use
16108         xpthread_mutex_lock.
16109         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16110         (do_test): Call delayed_exit instead of alarm.  Use
16111         xpthread_mutex_lock.
16112         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16113         (do_test): Call delayed_exit instead of alarm.
16114         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16115         (do_test): Call delayed_exit instead of alarm.  Use
16116         xpthread_spin_lock.
16117         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16118         (do_test): Call delayed_exit instead of alarm.  Use
16119         xpthread_join.
16121 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16123         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16124         adjust CFA when allocating register save area on re-aligned
16125         stack.
16127 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16129         * string/tst-cmp.c: New test.
16130         * string/Makefile (tests): Add it.
16132 2016-08-25  Mark Wielaard  <mark@klomp.org>
16134         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16135         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
16136         (check_tree_recurse): Use newly defined accessors.
16137         (check_tree): Likewise.
16138         (maybe_split_for_insert): Likewise.
16139         (__tfind): Likewise.
16140         (__tdelete): Likewise.
16141         (trecurse): Likewise.
16142         (tdestroy_recurse): Likewise.
16143         (__tsearch): Likewise. And add asserts for malloc alignment.
16144         (__twalk): Cast root to node in case CHECK_TREE is defined.
16146 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16148         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16150 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16152         * math/Makefile (libm-gen-calls): Add
16153         catan, catanh, ctan, ctanh.
16154         (libm-calls): Remove the above.
16156         * math/s_catan_template.c: Update using type-generic macros.
16157         * math/s_catanh_template.c: Likewise.
16158         * math/s_ctan_template.c: Likewise.
16159         * math/s_ctanh_template.c: Likewise.
16161         * math/s_catanf.c: Removed.
16162         * math/s_catan.c: Removed.
16163         * math/s_catanl.c: Removed.
16164         * math/s_catanhf.c: Removed.
16165         * math/s_catanh.c: Removed.
16166         * math/s_catanhl.c: Removed.
16167         * math/s_ctanf.c: Removed.
16168         * math/s_ctan.c: Removed.
16169         * math/s_ctanl.c: Removed.
16170         * math/s_ctanhf.c: Removed.
16171         * math/s_ctanh.c: Removed.
16172         * math/s_ctanhl.c: Removed.
16174         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
16175         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
16176         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
16177         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
16178         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
16179         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
16181         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
16182         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
16183         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
16184         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
16186 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16188         * s_catan_template.c: Copy of s_catan.c.
16189         * s_catanh_template.c: Copy of s_catanh.c.
16190         * s_ctan_template.c: Copy of s_ctan.c.
16191         * s_ctanh_template.c: Copy of s_ctanh.c.
16193 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16195         * math/Makefile (gen-libm-calls): Move
16196         casin, casinh, csin, csinh here.
16197         (libm-calls): Remove the above.
16199         * math/s_casin_template.c: Update using type-generic macros.
16200         * math/s_casinh_template.c: Likewise.
16201         * math/s_csin_template.c: Likewise.
16202         * math/s_csinh_template.c: Likewise.
16203         * math/k_casinh_template.c: Likewise.
16205         * math/s_casinf.c: Removed.
16206         * math/s_casin.c: Removed.
16207         * math/s_casinl.c: Removed.
16208         * math/s_casinh.c: Removed.
16209         * math/s_casinhf.c: Removed.
16210         * math/s_casinhl.c: Removed.
16211         * math/s_csin.c: Removed.
16212         * math/s_csinf.c: Removed.
16213         * math/s_csinl.c: Removed.
16214         * math/s_csinh.c: Removed.
16215         * math/s_csinhf.c: Removed.
16216         * math/s_csinhl.c: Removed.
16217         * math/k_casinh.c: Removed.
16218         * math/k_casinhf.c: Removed.
16219         * math/k_casinhl.c: Removed.
16221         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
16222         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
16223         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
16224         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
16226         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
16227         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
16228         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
16229         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
16230         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
16231         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
16232         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
16233         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
16235         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
16236         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
16237         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
16238         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
16240         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
16241         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
16242         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
16243         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
16245 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16247         * s_casin_template.c: Copy of s_casin.c.
16248         * s_casinh_template.c: Copy of s_casinh.c.
16249         * s_csin_template.c: Copy of s_csin.c.
16250         * s_csinh_template.c: Copy of s_csinh.c.
16251         * k_casinh_template.c: Copy of k_casinh.c.
16253 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16255         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
16257 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16259         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
16260         (mul_split) Remove, rename as mul_splitl, remove
16261         redundant float.h include, and include via mul_splitl.h
16263         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16264         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16265         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16266         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16267         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16269         * math/mul_splitl.h: New file.
16271         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16272         Move into mul_split.h, and remove redundant float.h include.
16274         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16275         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
16276         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16277         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
16279         * math/mul_split.h: New file.
16281 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16283         * math/Makefile (libm-gen-calls): Move
16284         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
16285         (libm-calls): Remove above.
16287         * math/s_cacos_template.c: Update using type-generic macros.
16288         * math/s_cacosh_template.c: Likewise.
16289         * math/s_ccos_template.c: Likewise.
16290         * math/s_ccosh_template.c: Likewise.
16292         * math/s_cacosf.c: Removed.
16293         * math/s_cacos.c: Removed.
16294         * math/s_cacosl.c: Removed.
16295         * math/s_cacoshf.c: Removed.
16296         * math/s_cacosh.c: Removed.
16297         * math/s_cacoshl.c: Removed.
16298         * math/s_ccosf.c: Removed.
16299         * math/s_ccos.c: Removed.
16300         * math/s_ccosl.c: Removed.
16301         * math/s_ccoshf.c: Removed.
16302         * math/s_ccosh.c: Removed.
16303         * math/s_ccoshl.c: Removed.
16305         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
16306         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
16307         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
16308         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
16309         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
16310         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
16312         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
16313         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
16314         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
16315         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
16317         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
16318         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
16319         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
16320         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
16322 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16324         * s_cacos_template.c: Copy of s_cacos.c.
16325         * s_cacosh_template.c: Copy of s_cacosh.c.
16326         * s_ccos_template.c: Copy of s_ccos.c.
16327         * s_ccosh_template.c: Copy of s_ccosh.c.
16329 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16331         * stdlib/tst-strtod-round-skeleton.c:
16332         Refactored from tst-strtod-round.c.
16334         (L_): New macro to apply literal modifier.
16335         (FNPFX): New macro to select str or wcs prefix.
16336         (CHAR): New macro to choose wchar_t or char.
16337         (STRM): New macro to choose printf for tested character type.
16339         (STRTO): New macro to choose appropriate string -> real function.
16340         (FNPFXS): Stringitized version of FNPFX.
16341         (STR): Support for above macro.
16342         (STRX): Likewise.
16344         (TEST): Update with above macros.
16345         (test): Likewise.
16346         (GEN_ONE_TEST): Likewise.
16347         (test_in_one_mode): Likewise.
16349         * stdlib/tst-strtod-round.c: New file.
16350         * wcsmbs/tst-wcstod-round.c: New file.
16352         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
16353         (tst-wcstod-round): Add libm depencency for fesetround.
16355 2016-08-19  Zack Weinberg  <zackw@panix.com>
16357         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
16359 2016-08-18  Torvald Riegel  <triegel@redhat.com>
16361         [BZ #20477]
16362         * resolv/res_hconf.c (do_init): Use atomic access.
16363         * resolv/res_hconf.h: Add comments.
16364         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
16365         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
16366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16368 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16370         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16371         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
16372         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16373         Likewise.
16375 2016-08-18  Florian Weimer  <fweimer@redhat.com>
16377         [BZ #16907]
16378         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16379         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16380         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16381         (__attribute__): Remove definition.
16383 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16385         * sysdeps/ieee754/ldbl-128/e_asinl.c:
16386         Remove unused sqrtl declaration.
16388 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16390         * math/Makefile: (gen-libm-templates.stmp): New rule.
16391         (libm-calls): Move carg conj cimag and cabs into ...
16392         (gen-libm-calls): New variable.
16393         (generated): Inform Make objects from gen-libm-calls
16394         may be generated.
16396         * sysdeps/generic/math-type-macros.h: New file.
16397         * sysdeps/generic/math-type-macros-float.h: Likewise.
16398         * sysdeps/generic/math-type-macros-double.h: Likewise.
16399         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16400         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16401         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16403         * math/cabs.c: Refactor into
16404         * math/cabs_template.c: new file.
16405         * math/cabsf.c: Removed.
16406         * math/cabsl.c: Removed.
16407         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16408         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16410         * math/carg.c: Refactor into
16411         * math/carg_template.c: new file.
16412         * math/cargf.c: Removed.
16413         * math/cargl.c: Removed.
16414         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16415         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16417         * math/conj.c: Refactor into
16418         * math/conj_template.c: new file.
16419         * math/conjf.c: Removed.
16420         * math/conjl.c: Removed.
16421         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16422         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16424         * math/cimag.c: Refactor into
16425         * math/cimag_template.c: new file.
16426         * math/cimagf.c: Removed.
16427         * math/cimagl.c: Removed.
16428         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16429         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16431         * math/cimag.c: Refactor into
16432         * math/cimag_template.c: new file.
16433         * math/cimagf.c: Removed.
16434         * math/cimagl.c: Removed.
16435         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16436         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16438 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16440         Reduce time to expected nptl/tst-once5 failure.
16441         * nptl/tst-once5.cc (TIMEOUT): Define.
16443 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16445         [BZ #20452]
16446         Avoid additional copies of objects in libc.a in static libraries.
16447         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16448         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16449         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16450         rt-sysdep.
16451         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16452         Add nptl-sysdep.
16453         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16454         Add ptw-sysdep.
16455         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16456         rt-sysdep.
16457         * sysdeps/unix/sysv/linux/alpha/Makefile
16458         (libpthread-shared-only-routines): Add ptw-sysdep,
16459         ptw-sigprocmask, ptw-rt_sigaction.
16460         * sysdeps/unix/sysv/linux/ia64/Makefile
16461         (librt-shared-only-routines): Add rt-sysdep.
16462         * sysdeps/unix/sysv/linux/i386/Makefile
16463         (libpthread-shared-only-routines): Add libc-do-syscall.
16464         * sysdeps/unix/sysv/linux/microblaze/Makefile
16465         (libpthread-shared-only-routines): Add sysdep.
16466         * sysdeps/unix/sysv/linux/powerpc/Makefile
16467         (librt-shared-only-routines): Add rt-sysdep.
16468         (libpthread-shared-only-routines): Add sysdep.
16469         * sysdeps/unix/sysv/linux/s390/Makefile
16470         (librt-shared-only-routines): Add rt-sysdep.
16471         * sysdeps/unix/sysv/linux/sparc/Makefile
16472         (librt-shared-only-routines): Add rt-sysdep.
16473         (libpthread-shared-only-routines): Add sysdep.
16474         * sysdeps/unix/sysv/linux/tile/Makefile
16475         (libpthread-shared-only-routines): Likewise.
16477 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16479         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16480         Mask implicit bit out of unpacked value.
16481         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16482         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16483         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16485         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16487         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16489         * sysdeps/s390/fpu/fesetexcept.c: New file.
16491         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16492         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16493         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16495         * sysdeps/mips/fpu/fesetexcept.c: New file.
16497         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16499         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16501         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16503         * sysdeps/arm/fesetexcept.c: New file.
16505         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16507         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16509         * math/fesetexcept.c: New file.
16510         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16511         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16512         * math/fenv.h: Define
16513         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16514         <bits/libc-header-start.h> instead of including <features.h>.
16515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16516         declaration.
16517         * manual/arith.texi (fesetexcept): Document function.
16518         * math/Versions (fesetexcept): New libm symbol at version
16519         GLIBC_2.25.
16520         * math/Makefile (libm-support): Add fesetexcept.
16521         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16522         * math/test-fesetexcept.c: New file.
16523         * math/test-fesetexcept-traps.c: Likewise.
16524         * sysdeps/nacl/libm.abilist: Update.
16525         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16526         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16527         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16528         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16529         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16530         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16531         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16532         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16533         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16534         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16535         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16536         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16538         Likewise.
16539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16540         Likewise.
16541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16542         Likewise.
16543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16544         Likewise.
16545         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16546         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16547         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16548         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16549         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16551         Likewise.
16552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16553         Likewise.
16554         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16555         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16556         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16558 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16560         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16561         New.
16562         (do_test): Apply default_stack_size_in_mb if not set.
16563         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16565 2016-08-15  Andreas Schwab  <schwab@suse.de>
16567         [BZ #20435]
16568         CVE-2016-6323
16569         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16570         as .cantunwind.
16572 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
16574         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16575         comment from fraiseexcpt.c.
16577         * math/test-fexcept.c (feraiseexcept_exact): New function.
16578         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16579         (test_except): Likewise.
16581 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
16583         [BZ #20455]
16584         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16585         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16586         to be restored.
16588         * math/test-fexcept-traps.c: New file.
16589         * math/test-fexcept.c: Likewise.
16590         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16591         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16592         macro.
16593         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16594         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16596 2016-08-09  Torvald Riegel  <triegel@redhat.com>
16598         * include/atomic.h (atomic_fetch_and_relaxed,
16599         atomic_fetch_and_release, atomic_fetch_or_release,
16600         atomic_fetch_xor_release): New.
16602 2016-08-06  Christian Seiler  <christian@iwakd.de>
16604         [BZ #20444]
16605         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16606         MACH_PORT_NULL.
16608 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16610         * math/s_fdim.c: Avoid alias renamed.
16611         * math/s_fdimf.c: Likewise.
16612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16613         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16614         Add s_fdimf-vis3, s_fdim-vis3.
16615         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16616         (CFLAGS-s_fdim-vis3.c): Likewise.
16617         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16618         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16620 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16623         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16624         Remove s_fdimf-vis3, s_fdim-vis3.
16625         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16626         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16633         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16634         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16636 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16638         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16639         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16640         -Wa,-Av9a -mvis.
16642 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16644         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16645         LIT() to individual constants in simple expressions
16646         after splitting on spaces.
16647         (_apply_lit): Rename replaced version, and use it to
16648         apply to what appears to be a token.
16650         * math/libm-test.inc: Fix many, many issues with
16651         spacing.
16653 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
16655         * math/math.h: Move comment about <bits/mathdef.h> definitions
16656         above inclusion of <bits/mathdef.h>.  Do not mention
16657         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16659 2016-08-05  Torvald Riegel  <triegel@redhat.com>
16661         * include/atomic.h (atomic_exchange_relaxed): New.
16663 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
16665         * math/e_scalb.c: Do not include <fenv.h>.
16666         (invalid_fn): Do calculation resulting in NaN instead of raising
16667         FE_INVALID and returning a NaN explicitly.
16668         * math/e_scalbf.c: Do not include <fenv.h>.
16669         (invalid_fn): Do calculation resulting in NaN instead of raising
16670         FE_INVALID and returning a NaN explicitly.
16671         * math/e_scalbl.c: Do not include <fenv.h>.
16672         (invalid_fn): Do calculation resulting in NaN instead of raising
16673         FE_INVALID and returning a NaN explicitly.
16675 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
16677         * po/de.po: Updated from Translation Project.
16678         * po/fi.po: Likewise.
16679         * po/sv.po: Likewise.
16681 2016-08-04  Florian Weimer  <fweimer@redhat.com>
16683         [BZ #20452]
16684         Use sysdep.o from libc.a in static libraries.
16685         * sysdeps/unix/sysv/linux/i386/Makefile
16686         (libpthread-shared-only-routines): Add sysdep.
16687         (librt-shared-only-routines): Likewise.
16689 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16691         * math/tgmath.h (nextdown): Define if
16692         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16693         (nextup): Likewise.
16695         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16696         macro.
16697         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16698         Document.
16699         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16700         Document macro.
16701         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16702         (exp10f): Likewise.
16703         (exp10l): Likewise.
16704         * math/bits/mathcalls.h (exp10): Declare if
16705         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16707         * manual/arith.texi (nextup): Fix typo in last change.
16709 2016-08-03  Zack Weinberg  <zackw@panix.com>
16711         [BZ #19239]
16712         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16713         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16714         define major, minor, and makedev to issue deprecation warnings on use.
16715         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16716         previously-activated deprecation warnings for these macros and prevent
16717         subsequent inclusions of this header from having any effect.
16718         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16719         including <sys/sysmacros.h>, and undefine it again afterward.
16721 2016-08-03  Zack Weinberg  <zackw@panix.com>
16723         * sysdeps/generic/sys/sysmacros.h: Delete file.
16724         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16725         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16726         * bits/sysmacros.h: ... here; this encoding is now the generic
16727         encoding.  Now defines only the following macros:
16728         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16729         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16730         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16732         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16733         bits/sysmacros.h and the above new macros to generate the
16734         public implementations of major, minor, and makedev.
16735         * misc/tst-makedev.c: New test.
16736         * include/sys/sysmacros.h: New wrapper.
16738         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16739         (routines): Add makedev.
16740         (tests): Add tst-makedev.
16741         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16742         gnu_dev_makedev.
16743         * posix/Makefile (headers): Remove sys/sysmacros.h.
16744         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16746         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16747         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16748         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16749         * sysdeps/unix/sysv/linux/alpha/libc.abilist
16750         * sysdeps/unix/sysv/linux/arm/libc.abilist
16751         * sysdeps/unix/sysv/linux/hppa/libc.abilist
16752         * sysdeps/unix/sysv/linux/i386/libc.abilist
16753         * sysdeps/unix/sysv/linux/ia64/libc.abilist
16754         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16755         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16756         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16757         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16758         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16759         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16760         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16761         * sysdeps/unix/sysv/linux/nios2/libc.abilist
16762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16766         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16767         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16768         * sysdeps/unix/sysv/linux/sh/libc.abilist
16769         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16770         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16773         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16774         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16775         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16776         Add GLIBC_2.25.
16778         * include/features.h (__glibc_clang_prereq): New macro.
16779         * misc/sys/cdefs.h (__glibc_clang_has_extension)
16780         (__attribute_deprecated_msg__): New macros.
16782 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16784         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16785         macro.
16786         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16787         * manual/arith.texi (issignaling): Document as ISO from TS
16788         18661-1:2014.
16789         (nextup): Likewise.
16790         (nextupf): Likewise.
16791         (nextupl): Likewise.
16792         (nextdown): Likewise.
16793         (nextdownf): Likewise.
16794         (nextdownl): Likewise.
16795         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
16796         macro.
16797         * math/math.h: Define
16798         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16799         <bits/libc-header-start.h> instead of including <features.h>.
16800         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
16801         [__USE_GNU].
16802         * math/bits/mathcalls.h (nextdown): Declare if
16803         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
16804         (nextup): Likewise.
16805         (__issignaling): Likewise.
16807 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16809         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
16810         check, and remove __glibc_likely hint
16811         from FP_INFINITE check.
16812         * s_csinhf.c (__csinhf): Likewise.
16814         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
16815         hint from FP_INFINITE check.
16816         * s_csinhl.c (__csinhl): Likewise.
16818 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16820         * math/Makefile (libm-calls): Insert F placeholder into
16821         object names.  Move w_lgamma_compat* routines into
16822         (libm-compat-calls): New variable.
16823         (libm-compat-calls-ldouble-yes): New variable.
16824         (calls): Insert F placeholder.
16825         (generated): Redefine using new type-foreach macro call.
16826         (routines): Likewise.
16828         (types): New variable to hold a list of symbolic names
16829         for each type supported by the target machine.
16830         (libm-routines): Redefine using new types variable.
16831         (type-foreach): macro to replace fooF with the
16832         appropriately suffixed foo for each types.
16834         (type-ldouble-suffix): New variable.
16835         (type-ldouble-routines): Likewise.
16836         (type-ldouble-yes): Likewise.
16837         (type-double-suffix): Likewise.
16838         (type-double-routines): Likewise.
16839         (type-float-suffix): Likewise.
16840         (type-float-routines): Likewise.
16842         (dbl-only-routines): Remove.
16843         (long-c-yes): Likewise.
16844         (long-m-routines): Likewise.
16845         (long-m-support): Likewise.
16846         (long-m-yes): Likewise.
16847         (test-longdouble-yes): Likewise.
16849         (test-float.o): Simplify by increasing the scope of the
16850         recipe which adds libm-test.stmp to the vector types.
16851         (test-ifloat.o): Likewise.
16852         (test-float-finite.o): Likewise.
16853         (test-double.o): Likewise
16854         (test-idouble.o): Likewise.
16855         (test-double-finite.o): Likewise.
16856         (test-ldouble.o): Likewise
16857         (test-ildoubl.o): Likewise.
16858         (test-ldouble-finite.o): Likewise.
16860         (libm-tests): Redefine type tests using foreach and the
16861         list of types in types.
16863         (CPPFLAGS-test-ildoubl.c): Rename to
16864         (CPPFLAGS-test-ildouble.c): New variable
16866         * math/test-ildoubl.c: Rename to
16867         * math/test-ildouble.c: New file.
16869 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16871         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
16872         Use fabsl instead of fabs.
16873         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
16874         Likewise.
16875         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
16876         Add long double suffix to constant to ensure proper
16877         promotion to long double.
16879 2016-08-03  Tom Tromey  <tom@tromey.com>
16881         [BZ #20311]
16882         * nptl_db/Makefile (headers): Add proc_service.h.
16883         * nptl_db/proc_service.h: Add include guard.  Use
16884         __BEGIN/__END_DECLS.
16885         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
16886         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
16887         arguments.
16890 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16892         [BZ #17730]
16893         Avoid using memalign for TCB allocations.
16894         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
16895         (_dl_allocate_tls_storage): Use malloc and manual alignment.
16896         Avoid alignment gap in the TLS_DTV_AT_TP case.
16897         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
16898         determine the pointer to free.
16899         * nptl/tst-tls3-malloc.c: New test.
16900         * nptl/Makefile (tests): Add it.
16901         (tst-tls3-malloc): Link with libdl, libpthread.
16902         (LDFLAGS-tst-tls3-malloc): Set.
16903         (tst-tls3-malloc.out): Depend on DSO used in test.
16905 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16907         [BZ #17730]
16908         Avoid using memalign for TLS allocations.
16909         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
16910         is_static member with to_free member.
16911         (union dtv): Use struct dtv_pointer.
16912         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
16913         dtv_pointer instead of is_static.
16914         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
16915         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
16916         instead of val.
16917         (allocate_dtv_entry): New function.
16918         (allocate_and_init): Return struct dtv_pointer.  Call
16919         allocate_dtv_entry instead of __libc_memalign.
16920         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
16921         instead of val.
16922         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
16923         instead of is_static.  Adjust call to allocate_and_init.
16924         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
16925         struct dtv_pointer instead of val.
16927 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16929         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
16930         (MALLOC_ALIGN_MASK): Move ...
16931         * malloc/malloc-internal.h: ... to here.
16932         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
16934 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16936         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
16937         (UDP_ENCAP_GTP1U): Likewise.
16939         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
16940         (PF_MAX): Update value.
16941         (AF_QIPCRTR): New macro.
16943 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16945         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
16946         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16947         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16948         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16949         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16950         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16951         s_truncf-vis3, s_trunc-vis3.
16952         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16953         (CFLAGS-s_ceil-vis3.c): Likewise.
16954         (CFLAGS-s_floorf-vis3.c): Likewise.
16955         (CFLAGS-s_floor-vis3.c): Likewise.
16956         (CFLAGS-s_truncf-vis3.c): Likewise.
16957         (CFLAGS-s_trunc-vis3.c): Likewise.
16958         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
16959         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
16960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
16961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
16962         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
16963         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
16964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
16965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
16966         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
16967         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
16968         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
16969         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
16971 2016-08-02  David S. Miller  <davem@davemloft.net>
16973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16974         (__nearbyint_vis3): Don't check for sNaN before float register is
16975         loaded with the incoming argument.
16976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16977         (__nearbyintf_vis3): Likewise.
16978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
16979         Likewise.
16980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
16981         Likewise.
16983         * string/test-strncmp.c (do_test_limit): Make sure the test data
16984         stream is aligned as required for the type "CHAR".
16985         (do_test): Likewise.
16987 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16989         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
16990         by beq instructions jumping to the end of the function.
16991         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
16992         clobber list. Use "i" constraint instead of "X".
16993         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
16994         of "X".
16996 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
16998         * bits/libc-header-start.h: New file.
16999         * Makefile (headers): Add bits/libc-header-start.h.
17000         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
17001         (__GLIBC_USE): New macro.
17002         * libio/stdio.h: Define
17003         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17004         <bits/libc-header-start.h> instead of including <features.h>.
17005         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
17006         (open_memstream): Likewise.
17007         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
17008         (__asprintf): Likewise.
17009         (asprintf): Likewise.
17010         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
17011         (getdelim): Likewise.
17012         (getline): Likewise.
17013         * string/string.h: Define
17014         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17015         <bits/libc-header-start.h> instead of including <features.h>.
17016         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
17017         (strndup): Likewise.
17018         * wcsmbs/wchar.h: Define
17019         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17020         <bits/libc-header-start.h> instead of including <features.h>.
17021         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
17022         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
17024 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17026         Support linking against compatibility symbols, for use in tests.
17027         * include/libc-symbols.h (symbol_version_reference): New macro.
17028         (symbol_version): Use it.
17029         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
17030         (compat_symbol): Use compat_symbol_reference.
17031         (compat_symbol_1, compat_symbol_2): Remove.
17032         (compat_symbol_reference, compat_symbol_reference_1)
17033         (compat_symbol_reference_2): New macro.  Use
17034         symbol_version_reference.
17036 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17038         [BZ #19469]
17039         * malloc/Makefile (CPPFLAGS): Compile tests with
17040         -DTEST_NO_MALLOPT.
17041         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
17043 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
17045         [BZ #20033]
17046         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
17047         finite version.
17048         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
17049         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
17050         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
17051         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
17052         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
17053         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
17054         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
17055         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
17056         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
17057         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
17058         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
17059         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
17060         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
17061         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
17062         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
17063         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
17064         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
17065         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
17066         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
17067         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
17068         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
17069         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
17070         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
17071         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
17072         in zero power.
17074 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17076         [BZ #20370]
17077         * malloc/arena.c (get_free_list): Update comment.  Assert that
17078         arenas on the free list have no attached threads.
17079         (remove_from_free_list): New function.
17080         (reused_arena): Call it.
17082 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
17084         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17085         when it is a NaN.
17086         [_IEEE_FP_INEXACT] Remove.
17087         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17088         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17089         when it is a NaN.
17090         [_IEEE_FP_INEXACT] Remove.
17091         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17092         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17093         when it is a NaN.
17094         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17095         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17096         when its absolute value is greater than 0x1.0p52.
17097         [_IEEE_FP_INEXACT] Remove.
17098         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17099         when its absolute value is greater than 0x1.0p23.
17100         [_IEEE_FP_INEXACT] Remove.
17102 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
17104         * version.h (RELEASE): Set to "development"
17105         (VERSION): Set to 2.24.90.
17106         * NEWS: Add 2.25 section.
17108         * version.h (RELEASE): Set to "stable"
17109         (VERSION): Set to 2.24.
17110         * include/features.h (__GLIBC_MINOR__): Set to 24.
17112         * NEWS: Add 2.24 fixed bugs.
17113         * po/libc.pot: Regenerate.
17115 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
17117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17118         [$(subdir) = math] (libm-sysdep_routines): Remove.
17119         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17120         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17121         s_truncf-vis3, s_trunc-vis3.
17122         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17124         file.
17125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
17153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
17156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17157         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17158         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
17159         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
17160         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
17161         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
17162         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17163         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17164         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
17165         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
17166         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
17167         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
17169 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
17171         [BZ #20384]
17172         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
17173         test-double-libmvec-sincos-avx-main.o,
17174         test-double-libmvec-sincos-avx2-main.o,
17175         test-double-libmvec-sincos-main.o,
17176         test-float-libmvec-sincosf-avx-main.o,
17177         test-float-libmvec-sincosf-avx2-main.o and
17178         test-float-libmvec-sincosf-main.o.
17179         test-float-libmvec-sincosf-avx512-main.o.
17180         ($(objpfx)test-double-libmvec-sincos): Also link with
17181         $(objpfx)test-double-libmvec-sincos-main.o.
17182         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
17183         $(objpfx)test-double-libmvec-sincos-avx-main.o.
17184         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
17185         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
17186         ($(objpfx)test-float-libmvec-sincosf): Also link with
17187         $(objpfx)test-float-libmvec-sincosf-main.o.
17188         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
17189         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
17190         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
17191         test-double-libmvec-sincos-avx512-main.o and
17192         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
17193         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
17194         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
17195         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
17196         (CFLAGS-test-double-libmvec-sincos.c): Removed.
17197         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
17198         (CFLAGS-test-double-libmvec-sincos-main.c): New.
17199         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
17200         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
17201         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
17202         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
17203         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
17204         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
17205         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
17206         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
17207         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
17208         -DREQUIRE_AVX2.
17209         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
17210         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
17211         -DREQUIRE_AVX512F.
17212         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
17213         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
17214         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17215         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
17216         file.
17217         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
17218         Likewise.
17219         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
17220         Likewise.
17221         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
17222         Likewise.
17223         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
17224         Likewise.
17225         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
17226         Likewise.
17227         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
17228         Likewise.
17229         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
17230         Likewise.
17232 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
17234         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
17236 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
17238         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
17239         and typo in a comment about AT_HWCAP entry.
17241 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17243         * sysdeps/aarch64/libm-test-ulps: Updated.
17245 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17247         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
17248         of r13 as it is not restored in mvcle case.
17250 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
17252         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
17253         Rename "ret" to "__ret".
17254         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
17255         inline_syscall5, inline_syscall6): Likewise.
17257 2016-07-19   Will Newton  <will.newton@gmail.com>
17259         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
17260         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17261         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
17262         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
17263         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
17265 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
17267         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
17268         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
17269         -mfpmath=387 with $(rtld-CFLAGS).
17270         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
17271         $(rtld-CFLAGS).
17273 2016-07-18   Ross Burton  <ross.burton@intel.com>
17274              Khem Raj  <raj.khem@gmail.com>
17276         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
17277         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
17278         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
17279         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
17280         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
17281         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
17282         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
17283         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
17284         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
17285         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
17286         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
17287         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
17288         R_METAG_TLS_DTPOFF): New.
17290 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17291             Matt Clay  <mclay@lycos.com>
17293         [BZ #20357]
17294         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
17295         to call __mpsin/__mpcos and to negate values.
17296         * math/auto-libm-test-in: Add test.
17297         * math/auto-libm-test-out: Regenerate.
17299 2016-07-18  Zack Weinberg  <zackw@panix.com>
17301         * grp/Makefile: Don't install the internal header grp-merge.h.
17303 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17305         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17307 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17309         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
17311 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17313         [BZ #15368]
17314         * sysdeps/unix/sysv/linux/nptl-signals.h
17315         (__nptl_clear_internal_signals): New function.
17316         (__libc_signal_block_all): Likewise.
17317         (__libc_signal_block_app): Likewise.
17318         (__libc_signal_restore_set): Likewise.
17319         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
17320         implementation.
17321         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
17322         the cached pid/tid value in pthread structure.
17324 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
17326         [BZ #20347]
17327         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17329 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17331         [BZ #20348]
17332         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
17333         preadv64, pwrite64 and pwritev64.
17335 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17337         [BZ #20350]
17338         * posix/tst-preadwrite.c: Renamed to ...
17339         * posix/tst-preadwrite-common.c: This.
17340         (PREAD): Removed.
17341         (PWRITE): Likewise.
17342         (STRINGIFY): Likewise.
17343         (STRINGIFY2): Likewise.
17344         (do_prepare): Make it static and remove function arguments.
17345         (do_test): Likewise.
17346         (PREPARE): Updated.
17347         (TEST_FUNCTION): New.
17348         (name): Make it static.
17349         (fd): Likewise.
17350         (do_prepare): Use create_temp_file.
17351         (do_test): Renamed to ...
17352         (do_test_with_offset): This.  Make it static and accept offset.
17353         Properly check return value of PWRITE and PREAD.  Return bytes
17354         read.  Don't close fd nor unlink name.
17355         * posix/tst-preadwrite.c: Rewrite.
17356         * posix/tst-preadwrite64.c: Likewise.
17358 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17360         [BZ #20309]
17361         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
17362         -mtls-dialect=gnu2 works.
17363         * configure: Regenerated.
17364         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
17365         (tests): Add tst-gnu2-tls1.
17366         (modules-names): Add tst-gnu2-tls1mod.
17367         ($(objpfx)tst-gnu2-tls1): New.
17368         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
17369         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
17370         * elf/tst-gnu2-tls1.c: New file.
17371         * elf/tst-gnu2-tls1mod.c: Likewise.
17372         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17373         bytes for push in the PLT entry to align the stack.
17375 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17377         [BZ #20349]
17378         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17380 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17382         [BZ #18707]
17383         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17384         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17386 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17388         * sysdeps/unix/sysv/linux/sysdep.h
17389         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17390         guards.
17391         * misc/tst-preadvwritev-common.c: New file.
17392         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17393         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17394         a check for files larger than 2GB.
17396         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17397         (__ASSUME_OFF_DIFF_OFF64): Remove define.
17398         * sysdeps/unix/sysv/linux/pread.c
17399         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17400         __OFF_T_MATCHES_OFF64_T.
17401         * sysdeps/unix/sysv/linux/pread64.c
17402         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17403         * sysdeps/unix/sysv/linux/preadv.c
17404         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17405         * sysdeps/unix/sysv/linux/preadv64.c
17406         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17407         * sysdeps/unix/sysv/linux/pwrite.c
17408         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17409         * sysdeps/unix/sysv/linux/pwrite64.c
17410         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17411         * sysdeps/unix/sysv/linux/pwritev.c
17412         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17413         * sysdeps/unix/sysv/linux/pwritev64.c
17414         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17416 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
17418         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17419         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17421 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17423         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17425 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17427         [BZ #20240]
17428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17429         (CFLAGS-s_modf-ppc32.c): New variable.
17430         (CFLAGS-s_modff-ppc32.c): Likewise.
17431         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17432         (CFLAGS-s_modf-ppc64.c): Likewise.
17433         (CFLAGS-s_modff-ppc64.c): Likewise.
17435 2016-07-07  Andreas Schwab  <schwab@suse.de>
17437         [BZ #20263]
17438         * nptl/tst-robust10.c: New test.
17439         * nptl/Makefile (tests): Add tst-robust10.
17441 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
17443         [BZ #20263]
17444         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17446 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17448         * sysdeps/s390/linkmap.h (struct link_map_machine):
17449         Remove member gotplt and add member jmprel.
17450         * sysdeps/s390/s390-32/dl-machine.h
17451         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17452         instead of gotplt with &got[3].
17453         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17454         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17456 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
17458         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17460 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17462         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17463         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17464         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17465         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17466         * libio/vtables.c (_IO_vtable_check)
17467         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17468         * libio/libioP.h (IO_set_accept_foreign_vtables)
17469         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17471 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17473         [BZ #20314]
17474         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17475         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17476         $(common-objpfx)cmath.
17477         ($(common-objpfx)cstdlib): New target.
17478         ($(common-objpfx)cmath): Likewise.
17480 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17482         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17484 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17486         [BZ #20327]
17487         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17488         are not part of the string.
17490 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17492         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17493         * nptl/tst-cancel4-common.h (fifoname): New variable.
17494         (fifofd): Likewise.
17495         (cl_fifo): New function.
17496         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17497         SIGINT.
17498         (tf_open): Add early cancel test.
17500 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17502         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17504 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17506         * sysdeps/generic/ldsodefs.h
17507         (dl_symbol_visibility_binds_local_p): New inline function.
17508         * elf/dl-addr.c (determine_info): Treat hidden and internal
17509         symbols as local.
17510         * elf/dl-lookup.c (do_lookup_x): Likewise.
17511         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17513 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17515         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17516         invalid exception for a sNaN input.
17517         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17518         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17519         (__nearbyint_vis3): Likewise
17520         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17521         (__nearbyintf_vis3): Likewise
17522         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17523         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17524         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17525         Likewise.
17526         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17527         Likewise.
17529 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17531         [BZ #20139]
17532         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17533         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17534         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17535         2.24 or above.
17536         (HAVE_AVX512_ASM_SUPPORT): Removed.
17537         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17538         * sysdeps/x86_64/configure: Regenerated.
17539         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17540         check unconditional.
17541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17542         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17543         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17544         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17545         Likewise.
17546         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17547         Likewise.
17548         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17549         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17550         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17551         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17552         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17553         Likewise.
17554         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17555         Likewise.
17556         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17557         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17558         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17559         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17560         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17561         Likewise.
17562         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17563         Likewise.
17564         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17565         Likewise.
17566         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17567         Likewise.
17568         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17569         Likewise.
17570         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17571         Likewise.
17572         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17573         Likewise.
17574         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17575         Likewise.
17576         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17577         Likewise.
17578         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17579         Likewise.
17580         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17581         Likewise.
17583 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
17585         [BZ #20024]
17586         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17587         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17588         of this implementation of vector function.
17589         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17590         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17591         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17592         Likewise.
17593         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17595         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17596         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17597         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17598         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17599         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17600         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17601         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17602         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17603         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17604         for testing vector sincos with fixed ABI.
17605         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17606         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17607         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17608         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17609         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17610         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17611         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17612         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17613         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17614         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17615         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17616         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17617         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17618         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17619         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17620         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17622 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17624         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17626 2016-06-30  Anton Blanchard  <anton@samba.org>
17628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17629         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17630         s_sinf-ppc64.
17631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17634         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17636 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17639         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17640         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17641         e_expf-ppc64.
17642         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17643         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17644         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17645         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17647 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
17649         [BZ #20277]
17650         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17651         when SHARED is defined.
17653 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
17655         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17656         (index_arch_Prefer_ERMS): Likewise.
17657         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17658         __memcpy_erms for Prefer_ERMS.
17659         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17660         (__memmove_erms): Enabled for libc.a.
17661         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17662         __memmove_erms or Prefer_ERMS.
17663         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17664         __mempcpy_erms for Prefer_ERMS.
17665         * sysdeps/x86_64/multiarch/memset.S (memset): Return
17666         __memset_erms for Prefer_ERMS.
17668 2016-06-30  Andreas Schwab  <schwab@suse.de>
17670         [BZ #20262]
17671         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17672         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
17673         of memory.
17675 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
17677         [BZ #18645]
17678         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17679         (test-extras): Add tst-cleanupx4aux.
17680         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
17681         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17682         tst-cleanupx4aux.o.
17683         * nptl/tst-cleanupx4aux.c: New file.
17685 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17687         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17689 2016-06-29  Andreas Schwab  <schwab@suse.de>
17691         [BZ #20260]
17692         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17693         address before the beginning of the string as an integer to avoid
17694         array-bounds warning.
17696 2016-06-28  Richard Henderson  <rth@redhat.com>
17698         * elf/elf.h (EM_BPF): New.
17699         (EM_NUM): Update.
17700         (R_BPF_NONE, R_BPF_MAP_FD): New.
17702         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17703         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17704         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17705         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17706         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17707         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17708         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17709         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17710         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17711         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17712         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17713         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17714         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17715         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17716         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17717         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17718         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17719         (EM_NUM): Update.
17721 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
17723         [BZ #18960]
17724         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17725         Set _nl_current_LC_CATEGORY_used to two instead of one.
17727 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
17729         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17730         (do_test): ... this.
17731         (TEST_FUNCTION): New macro.
17732          Include test-skeleton.c.
17733         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17734         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17736 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
17738         [BZ #15479]
17739         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17740         floating-point environment rather than just control word.
17741         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17742         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17743         floating-point environment, with "invalid" exceptions merged in,
17744         rather than just control word.
17745         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17746         * math/libm-test.inc (trunc_test_data): Do not allow spurious
17747         "inexact" exceptions.
17749         [BZ #15479]
17750         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17751         floating-point environment rather than just control word.
17752         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17753         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17754         floating-point environment, with "invalid" exceptions merged in,
17755         rather than just control word.
17756         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17757         * math/libm-test.inc (floor_test_data): Do not allow spurious
17758         "inexact" exceptions.
17760         [BZ #15479]
17761         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17762         floating-point environment rather than just control word.
17763         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17764         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17765         floating-point environment, with "invalid" exceptions merged in,
17766         rather than just control word.
17767         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17768         * math/libm-test.inc (ceil_test_data): Do not allow spurious
17769         "inexact" exceptions.
17771 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
17773         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17774         __libc_vfork.
17775         (__vfork) [IS_IN (libc)]: Remove alias.
17776         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17777         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17778         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17780 2016-06-24  Torvald Riegel  <triegel@redhat.com>
17782         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17783         of atomic_compare_and_exchange_bool_rel.
17784         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17785         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17786         catomic_compare_and_exchange_bool_rel): Remove.
17787         * sysdeps/aarch64/atomic-machine.h
17788         (atomic_compare_and_exchange_bool_rel): Likewise.
17789         * sysdeps/alpha/atomic-machine.h
17790         (atomic_compare_and_exchange_bool_rel): Likewise.
17791         * sysdeps/arm/atomic-machine.h
17792         (atomic_compare_and_exchange_bool_rel): Likewise.
17793         * sysdeps/mips/atomic-machine.h
17794         (atomic_compare_and_exchange_bool_rel): Likewise.
17795         * sysdeps/microblaze/atomic-machine.h
17796         ( __arch_compare_and_exchange_bool_8_rel,
17797         __arch_compare_and_exchange_bool_16_rel): Likewise.
17798         * sysdeps/powerpc/atomic-machine.h
17799         ( __arch_compare_and_exchange_bool_8_rel,
17800         __arch_compare_and_exchange_bool_16_rel): Likewise.
17801         * sysdeps/powerpc/powerpc32/atomic-machine.h
17802         ( __arch_compare_and_exchange_bool_32_rel,
17803         __arch_compare_and_exchange_bool_64_rel): Likewise.
17804         * sysdeps/powerpc/powerpc64/atomic-machine.h
17805         ( __arch_compare_and_exchange_bool_32_rel,
17806         __arch_compare_and_exchange_bool_64_rel): Likewise.
17807         * sysdeps/tile/atomic-machine.h
17808         (atomic_compare_and_exchange_bool_rel): Likewise.
17810 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
17812         [BZ #20296]
17813         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
17814         when either argument is a NaN.
17815         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17816         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
17818         * math/libm-test.inc (snan_value_ld): New macro.
17819         (isgreater_test_data): Add sNaN tests.
17820         (isgreaterequal_test_data): Likewise.
17821         (isless_test_data): Likewise.
17822         (islessequal_test_data): Likewise.
17823         (islessgreater_test_data): Likewise.
17824         (isunordered_test_data): Likewise.
17825         (nextafter_test_data): Likewise.
17826         (nexttoward_test_data): Likewise.
17827         (remainder_test_data): Likewise.
17828         (remquo_test_data): Likewise.
17829         (significand_test_data): Likewise.
17830         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
17832 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17834         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
17835         environment macros are defined.
17836         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
17838 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17840         [BZ #20191]
17841         Implement vtable verification in libio.
17842         * Makerules (shlib.lds): Place __libc_IO_vtables section.
17843         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
17844         * debug/vdprintf_chk.c (__vdprintf_chk): Call
17845         _IO_new_file_init_internal instead of _IO_file_init.
17846         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
17847         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
17848         * libio/Makefile (routines): Add vtables.
17849         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
17850         (_IO_init): Remove, not for internal use.
17851         (_IO_init_internal): Declare, internal replacement for _IO_init.
17852         (_IO_file_init): Remove, not for internal use.
17853         (_IO_new_file_init): Remove, not for internal use.
17854         (_IO_new_file_init_internal): Declare, internal replacement for
17855         _IO_new_file_init.
17856         (_IO_old_file_init): Remove, not for internal use.
17857         (_IO_old_file_init_internal): Declare, internal replacement for
17858         _IO_old_file_init.
17859         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
17860         internal use.
17861         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
17862         Declare.
17863         (libio_vtable): New macro.
17864         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
17865         functions.
17866         * libio/fileops.c (_IO_new_file_init_internal): Rename from
17867         _IO_new_file_init.
17868         (_IO_new_file_init): New externally visible wrapper which disables
17869         vtable verification.
17870         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
17871         Define as vtables.
17872         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
17873         (_IO_init): New externally visible wrapper which disables
17874         vtable verification.
17875         * libio/iofdopen.c (_IO_new_fdopen): Call
17876         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
17877         comment.
17878         * libio/iofopen.c (__fopen_internal): Call
17879         _IO_new_file_init_internal instead of _IO_file_init.
17880         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
17881         Define as vtables.
17882         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
17883         _IO_new_file_init_internal instead of _IO_file_init.
17884         * libio/iopopen.c (_IO_new_popen): Likewise.
17885         (_IO_proc_jumps): Define as vtable.
17886         * libio/iovdprintf.c (_IO_vdprintf): Call
17887         _IO_new_file_init_internal instead of _IO_file_init.
17888         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
17889         (__open_memstream): Call _IO_init_internal instead of _IO_init.
17890         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
17891         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
17892         _IO_old_file_init.
17893         (_IO_old_file_init): New externally visible wrapper which disables
17894         vtable verification.
17895         (_IO_old_file_jumps): Define as vtable.
17896         * libio/oldiofdopen.c (_IO_old_fdopen): Call
17897         _IO_old_file_init_internal instead of _IO_old_file_init.
17898         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17899         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17900         (_IO_old_proc_jumps): Define as vtable.
17901         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
17902         Define as vtables.
17903         * libio/vtables.c: New file.
17904         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
17905         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
17906         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
17907         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
17908         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
17909         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
17910         instead of _IO_init.
17912 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17914         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
17916 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17918         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
17919         potentially unused.
17921 2016-06-22  Florian Weimer  <fweimer@redhat.com>
17923         * test-skeleton.c (write_message): New function.
17924         * malloc/tst-mallocfork2.c (write_message): Remove.
17925         * debug/tst-longjmp_chk2.c (write_indented): New function.
17926         (write_message): Remove.
17927         (stackoverflow_handler): Call write_indented.
17929 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
17931         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
17932         "inexact" exceptions after fnstenv.
17933         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17934         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17935         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17937 2015-06-22  Zack Weinberg  <zackw@panix.com>
17939         * sysdeps/generic/bits/hwcap.h: Moved to ...
17940         * bits/hwcap.h: Here.
17942 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
17944         * sysdeps/aarch64/memcpy.S (memcpy):
17945         Further tuning for performance.
17947 2016-06-21  Florian Weimer  <fweimer@redhat.com>
17949         [BZ #20284]
17950         * malloc/arena.c (reused_arena): Do not return NULL if we start
17951         out with a non-corrupted arena.
17953 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17955         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
17956         * misc/tst-preadvwritev.c: New file.
17957         * misc/tst-preadvwritev64.c: Likewise.
17958         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
17959         usage.
17960         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
17961         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
17962         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
17963         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
17965 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
17967         [BZ #19654]
17968         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17969         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
17970         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
17971         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
17972         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
17973         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
17974         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
17975         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
17976         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
17977         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
17978         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
17979         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
17980         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
17981         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
17982         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
17983         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
17984         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
17985         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
17986         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
17987         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
17988         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
17989         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
17990         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
17991         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
17992         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
17993         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
17995 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
17997         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
17998         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
18000 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18002         * sysdeps/aarch64/memcpy.S (memcpy):
18003         Rewrite of optimized memcpy and memmove.
18004         * sysdeps/aarch64/memmove.S (memmove): Remove
18005         memmove code (merged into memcpy.S).
18007 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18009         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
18010         * sysdeps/generic/dl-dtv.h: New file.
18011         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18012         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
18013         (dtv_t): Remove.
18014         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18015         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
18016         (dtv_t): Remove.
18017         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18018         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
18019         (dtv_t): Remove.
18020         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18021         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
18022         (dtv_t): Remove.
18023         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18024         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
18025         (dtv_t): Remove.
18026         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18027         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
18028         (dtv_t): Remove.
18029         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18030         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
18031         (dtv_t): Remove.
18032         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
18033         (dtv_t): Remove.
18034         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18035         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
18036         (dtv_t): Remove.
18037         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18038         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
18039         (dtv_t): Remove.
18040         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18041         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
18042         (dtv_t): Remove.
18043         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18044         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
18045         (dtv_t): Remove.
18046         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18047         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
18048         (dtv_t): Remove.
18049         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18050         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
18051         (dtv_t): Remove.
18052         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18053         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
18054         (dtv_t): Remove.
18055         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18056         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
18057         (dtv_t): Remove.
18059 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18061         Revert symbol poisoning of  __malloc_initialize_hook.
18062         * include/stdc-predef.h (__malloc_initialize_hook): Remove
18063         poisoning.
18064         * malloc/Makefile: Remove un-poisoning.
18065         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
18066         instead of old__malloc_initialize_hook.
18067         * malloc/malloc-hooks.h: Likewise.
18068         * malloc/malloc.c: Likewise.
18069         * malloc/mcheck-init.c: Likewise.
18071 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
18073         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
18075 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
18077         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
18078         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18079         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18080         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18082 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18084         * NEWS: Mention addition of nextup and nextdown.
18085         * manual/arith.texi: Document nextup and nextdown.
18086         * manual/libm-err-tab.pl: Add nextup and nextdown.
18087         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18088         * math/Versions (libm): Add GLIBC_2.24.
18089         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18090         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18091         Add new test.
18092         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18093         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18094         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18095         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18096         (nextup_test_data): Likewise.
18097         (nextdown_test_data): Likewise.
18098         * math/s_nextdown.c: New file.
18099         * math/s_nextdownf.c: Likewise.
18100         * math/s_nextdownl.c: Likewise.
18101         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18102         F(nextup): New function.
18103         F(nextdown): Likewise.
18104         * math/tgmath.h: Add nextup and nextdown.
18105         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18106         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18107         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18108         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18109         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18110         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18111         Add nextup and nextdown.
18112         (CFLAGS-nldbl-nextup.c): New variable.
18113         (CFLAGS-nldbl-nextdown.c): Likewise.
18114         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18115         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18116         * sysdeps/nacl/libm.abilist: Update.
18117         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18118         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18119         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18120         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18121         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18122         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18123         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18124         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18125         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18126         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18127         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18128         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18131         Likewise.
18132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18134         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18135         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18136         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18137         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18138         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18141         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18142         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18143         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18144         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18146 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18148         * manual/pattern.texi: Fix typos & grammar errors.
18150 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18152         * manual/search.texi: Fix typos & grammar errors.
18154 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18156         * manual/message.texi: Fix typos & grammar errors.
18158 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
18160         * manual/contrib.texi: Fix spelling typos.
18161         * manual/crypt.texi: Likewise.
18162         * manual/filesys.texi: Likewise.
18163         * manual/locale.texi: Likewise.
18164         * manual/message.texi: Likewise.
18165         * manual/nss.texi: Likewise.
18166         * manual/string.texi: Likewise.
18168 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18170         * manual/locale.texi: Fix typos & grammar errors.
18172 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18174         * manual/charset.texi: Fix typos & grammar errors.
18176 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18178         * manual/string.texi: Fix typos.
18180 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18182         * manual/ctype.texi: Fix typos.
18184 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18186         * manual/memory.texi: Fix various typos & grammar errors.
18188 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
18190         [BZ #20255]
18191         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
18192         * math/libm-test.inc (fdim_test_data): Add another test.
18194         [BZ #6796]
18195         [BZ #20255]
18196         [BZ #20256]
18197         * math/s_fdim.c: Include <math_private.h>.
18198         (__fdim): Use math_narrow_eval on result.
18199         * math/s_fdimf.c: Include <math_private.h>.
18200         (__fdimf): Use math_narrow_eval on result.
18201         * sysdeps/i386/fpu/s_fdim.S: Remove file.
18202         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
18203         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
18204         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18205         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
18206         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
18207         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
18208         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
18209         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
18210         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
18211         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
18212         * math/libm-test.inc (fdim_test_data): Expect errno setting on
18213         overflow.  Add sNaN tests.
18215         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
18216         fpclassify.
18217         * math/s_fdimf.c (__fdimf): Likewise.
18218         * math/s_fdiml.c (__fdiml): Likewise.
18220 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18222         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18223         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
18224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18225         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18226         ifunc'ed strcasecmp/strncasecmp.
18227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
18228         [EALIGN]: Removed.
18229         [END]: Likewise.
18230         [__strcasecmp]: Define instead of the above to control symbol name.
18231         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
18232         for __strcasecmp_power8.
18233         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
18234         for __strncasecmp_power8.
18235         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
18236         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
18237         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
18238         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
18239         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
18240         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
18242 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
18244         [BZ #20252]
18245         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
18246         arguments when second argument is a NaN.
18247         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
18248         qNaN tests.
18250         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
18251         (conj_test_data): Likewise.
18252         (copysign_test_data): Likewise.
18253         (creal_test_data): Likewise.
18254         (fma_test_data): Likewise.
18255         (fmod_test_data): Likewise.
18257         [BZ #20250]
18258         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18259         itself.
18260         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
18261         zero input to itself.
18262         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
18263         Likewise.
18264         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18265         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18266         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18267         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18268         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
18270 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18272         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
18273         * nptl/tst-cancel4-common.c: New file.
18274         * nptl/tst-cancel4-common.h: Likewise.
18275         * nptl/tst-cancel4.c: Move common definitions to
18276         tst-cancel4-common.{c,h} file.
18277         * nptl/tst-cancel4_1.c: New test.
18278         * nptl/tst-cancel4_2.c: New test.
18280 2016-06-13  Florian Weimer  <fweimer@redhat.com>
18282         [BZ #20248]
18283         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
18284         (write_message): New function.
18285         (stackoverflow_handler): Call it instead of printf, to avoid
18286         excessive stack usage by printf.
18287         (do_test): Restore SIGSEGV, SIGBUS default handlers.
18289 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18291         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
18292         (prio_inherit_missing): Remove define.
18293         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18294         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18295         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
18296         Likewise.
18297         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18298         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18299         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18300         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18301         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18302         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18304 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18306         [BZ #19670]
18307         [BZ #19672]
18309         * io/test-lfs.c (do_prepare): Use xmalloc.
18310         * io/tst-fcntl.c (do_prepare): Likewise.
18311         * libio/tst-fopenloc.c (do_bz17916): Likewise.
18312         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
18313         * login/tst-utmp.c (do_prepare): Likewise.
18314         * posix/tst-exec.c (do_prepare): Likewise.
18315         * posix/tst-pathconf.c (prepare): Likewise.
18316         * posix/tst-spawn.c (do_prepare): Likewise.
18317         * posix/tst-truncate.c (do_prepare): Likewise.
18318         * rt/tst-aio.c (do_prepare): Likewise.
18319         * rt/tst-aio64.c (do_prepare): Likewise.
18321 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18323         [BZ #20237]
18324         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
18325         (get*ent): Set entidx to NULL during initialization.  If entidx is
18326         NULL, start iteration from the beginning.
18328 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18330         * malloc/malloc.c (musable): Return correct size for dumped fake
18331         mmapped chunk.
18333 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18335         [BZ #20222]
18336         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
18337         (_IO_cookie_write): Likewise.
18338         (_IO_cookie_seek): Likewise.
18339         (_IO_cookie_close): Likewise.
18340         (_IO_old_cookie_seek): Likewise.
18341         (set_callbacks): New function.
18342         (_IO_cookie_init): Call set_callbacks to copy callbacks.
18344 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
18346         * locale/programs/localedef.c (oldstyle_tables): Remove.
18347         * locale/programs/localedef.h (oldstyle_tables): Likewise.
18349 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
18351         [BZ #20240]
18352         * math/Makefile (CFLAGS-s_modf.c): New variable.
18353         (CFLAGS-s_modff.c): Likewise.
18354         (CFLAGS-s_modfl.c): Likewise.
18355         * math/libm-test.inc (modf_test_data): Add sNaN tests.
18357 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
18359         [BZ #20215]
18360         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
18361         [!__GNUC_PREREQ (3,2)]: Likewise.
18363 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
18365         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18366         (msghdr.msg_controllen): Likewise.
18367         (cmsghdr.cmsg_len): Likewise.
18368         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
18369         ptw-oldsendmsg.
18370         (CFLAGS-oldrecvmsg.c): Remove rule.
18371         (CFLAGS-oldsendmsg.c): Likewise.
18372         (CFLAGS-recvmsg.c): Add rule.
18373         (CFLAGS-sendmsg.c): Likewise.
18374         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18375         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18376         (CFLAGS-recvmsg.c): Remove rule.
18377         (CFLAGS-sendmsg.c): Likewise.
18378         (CFLAGS-oldrecvmsg.c): Likewise.
18379         (CFLAGS-oldsendmsg.c): Likewise.
18380         (CFLAGS-recvmmsg.c): Likewise.
18381         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18382         to kernel defined interfaces.
18383         (msghdr.msg_controllen): Likewise.
18384         (cmsghdr.cmsg_len): Likewise.
18385         (msghdr.__glibc_reserved1): Remove member.
18386         (msghdr.__glibc_reserved2): Likewise.
18387         (cmsghdr.__glibc_reserved1): Likewise.
18388         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18389         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18390         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18391         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18392         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18393         version.
18394         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18395         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18396         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18397         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18398         Remove recvmsg and sendmsg.
18399         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18400         Likewise.
18401         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18402         Likewise.
18403         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18404         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18405         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18406         Likewise.
18407         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18408         Likewise.
18409         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18410         [libc] (GLIBC_2.24): Likewise.
18411         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18412         Likewise.
18413         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18414         Likewise.
18415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18416         [libc] (GLIBC_2.24): Likewise.
18417         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18418         Likewise.
18419         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18420         Likewise.
18421         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18422         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18423         Likewise.
18424         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18425         Likewise.
18426         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18427         Likewise.
18428         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18429         Likewise.
18430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18431         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18432         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18433         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18434         version for {recv,send,recm,sendm}msg.
18435         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18436         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18437         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18438         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18439         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18440         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18441         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18442         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18443         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18444         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18445         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18446         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18448         Likewise.
18449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18450         Likewise.
18451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18453         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18454         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18455         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18456         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18457         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18458         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18461         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18462         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18463         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18465 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18467         [BZ #19564]
18468         Remove __malloc_initialize_hook from the API.
18469         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18470         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18471         #pragma GCC poison.
18472         * malloc/malloc-hooks.h: New file.
18473         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18474         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18475         (old__malloc_initialize_hook): Rename from
18476         __malloc_initialize_hook to evade poisoning.  Turn into compat
18477         symbol.
18478         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18479         __malloc_initialize_hook.
18480         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18481         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18482         * manual/memory.texi (Hooks for Malloc): Remove
18483         __malloc_initialize_hook.  Adjust hook example.
18485 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18487         [BZ #20235]
18488         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18489         itself.
18490         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18491         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18493         [BZ #20234]
18494         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18495         infinity or NaN input to itself.
18497         [BZ #20233]
18498         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18499         to itself.
18501         [BZ #20232]
18502         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18503         itself.
18505 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18507         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18508         __libc_start_main via GOT.
18510 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18512         * sysdeps/x86_64/memcopy.h: New file.
18513         * sysdeps/x86_64/wordcopy.c: Likewise.
18515 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18517         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18518         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18519         <cstdlib>.
18520         (optimization_barrier): New.
18521         (do_test): Use it.  Call quick_exit in the global namespace.
18522         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18523         instead of <cstdlib>, <thread>.
18524         (optimization_barrier): New.
18525         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18526         Call quick_exit in the global namespace.
18527         (do_test): Call optimization_barrier.  Use pthread_create,
18528         pthread_join instead of std::thread.
18530 2016-06-09  Andreas Schwab  <schwab@suse.de>
18532         [BZ #19755]
18533         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18534         new entries in auto-propagate mode.
18535         * nscd/grpcache.c (cache_addgr): Likewise.
18537 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18539         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18540         New functions.
18541         (add_temp_file): Use them.
18543 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18545         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18547 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18549         [BZ #20229]
18550         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18551         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18552         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18554         [BZ #20228]
18555         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18556         itself.
18557         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18558         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18560         [BZ #20227]
18561         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18562         itself.
18563         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18564         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18565         * math/libm-test.inc (log_test_data): Add sNaN tests.
18567         [BZ #20226]
18568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18569         itself.
18570         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18571         * math/libm-test.inc (exp_test_data): Add sNaN tests.
18572         (exp10_test_data): Likewise.
18573         (expm1_test_data): Likewise.
18575         [BZ #20225]
18576         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18577         itself.
18578         * math/s_ldexpf.c (__ldexpf): Likewise.
18579         * math/s_ldexpl.c (__ldexpl): Likewise.
18580         * math/w_scalbln.c (__w_scalbln): Likewise.
18581         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18582         * math/w_scalblnl.c (__w_scalblnl): Likewise.
18583         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18584         (scalbln_test_data): Likewise.
18586         [BZ #20224]
18587         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18588         argument to itself.
18589         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18591 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18593         [BZ #19776]
18594         * sysdeps/x86_64/memcpy.S: Make it dummy.
18595         * sysdeps/x86_64/mempcpy.S: Likewise.
18596         * sysdeps/x86_64/memmove.S: New file.
18597         * sysdeps/x86_64/memmove_chk.S: Likewise.
18598         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18599         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18600         * sysdeps/x86_64/memmove.c: Removed.
18601         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18602         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18603         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18604         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18605         Likewise.
18606         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18607         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18608         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18609         memcpy-sse2-unaligned, memmove-avx-unaligned,
18610         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18612         (__libc_ifunc_impl_list): Replace
18613         __memmove_chk_avx512_unaligned_2 with
18614         __memmove_chk_avx512_unaligned.  Remove
18615         __memmove_chk_avx_unaligned_2.  Replace
18616         __memmove_chk_sse2_unaligned_2 with
18617         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
18618         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
18619         with __memmove_avx512_unaligned.  Replace
18620         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18621         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
18622         with __memcpy_chk_avx512_unaligned.  Remove
18623         __memcpy_chk_avx_unaligned_2.  Replace
18624         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18625         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
18626         Replace __memcpy_avx512_unaligned_2 with
18627         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
18628         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
18629         with __mempcpy_chk_avx512_unaligned.  Remove
18630         __mempcpy_chk_avx_unaligned_2.  Replace
18631         __mempcpy_chk_sse2_unaligned_2 with
18632         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
18633         Replace __mempcpy_avx512_unaligned_2 with
18634         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
18635         Replace __mempcpy_sse2_unaligned_2 with
18636         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
18637         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18638         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18639         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18640         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
18641         (ENTRY): Removed.
18642         (END): Likewise.
18643         (ENTRY_CHK): Likewise.
18644         (libc_hidden_builtin_def): Likewise.
18645         Don't include ../memcpy.S.
18646         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18647         __memcpy_chk_avx512_unaligned_erms and
18648         __memcpy_chk_avx512_unaligned.  Use
18649         __memcpy_chk_avx_unaligned_erms and
18650         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18651         Default to __memcpy_chk_sse2_unaligned.
18652         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18653         Change function suffix from unaligned_2 to unaligned.
18654         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18655         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18656         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18657         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
18658         (ENTRY): Removed.
18659         (END): Likewise.
18660         (ENTRY_CHK): Likewise.
18661         (libc_hidden_builtin_def): Likewise.
18662         Don't include ../mempcpy.S.
18663         (mempcpy): New.  Add a weak alias.
18664         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18665         __mempcpy_chk_avx512_unaligned_erms and
18666         __mempcpy_chk_avx512_unaligned.  Use
18667         __mempcpy_chk_avx_unaligned_erms and
18668         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18669         Default to __mempcpy_chk_sse2_unaligned.
18671 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18673         [BZ #19881]
18674         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18675         into ...
18676         * sysdeps/x86_64/memset.S: This.
18677         (__bzero): Removed.
18678         (__memset_tail): Likewise.
18679         (__memset_chk): Likewise.
18680         (memset): Likewise.
18681         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18682         defined.
18683         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18684         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18685         (__memset_zero_constant_len_parameter): Check SHARED instead of
18686         PIC.
18687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18688         memset-avx2 and memset-sse2-unaligned-erms.
18689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18690         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18691         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18692         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18693         (__bzero): Enabled.
18694         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18695         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18696         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
18697         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
18698         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18699         (memset): Removed.
18700         (__memset_chk): Likewise.
18701         (MEMSET_SYMBOL): New.
18702         (libc_hidden_builtin_def): Replace __memset_sse2 with
18703         __memset_sse2_unaligned.
18704         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18705         __memset_chk_sse2 and __memset_chk_avx2 with
18706         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18707         Use __memset_chk_sse2_unaligned_erms or
18708         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
18709         __memset_chk_avx512_unaligned_erms and
18710         __memset_chk_avx512_unaligned.
18712 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18714         * math/gen-auto-libm-test.c (fp_format_desc): remove
18715         suffix member.
18716         (output_generic_value): Remove usage of suffix member,
18717         and the resulting unuse of the fp_format argument.
18718         (output_for_one_input_case): Remove unused fp_format
18719         parameter.
18721         * math/auto-libm-test-out: Regenerate.
18723         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18724         usage with TEST_COND_ibm128.
18725         (TEST_COND_flt_32): Remove.
18726         (TEST_COND_dbl_64): Remove.
18727         (TEST_COND_ldbl_96_intel): Remove.
18728         (TEST_COND_ldbl_96_m68k): Remove.
18729         (TEST_COND_ldbl_128): Remove.
18731 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18733         * auto-libm-test-in:
18734         Replace flt-32 usage with binary32.
18735         Replace dbl-64 usage with binary64.
18736         Replace ldbl-intel-96 usage with intel96.
18737         Replace ldbl-m68k-96 usage with m68k96.
18738         Replace ldbl-128ibm usage with ibm128.
18739         Replace ldbl-128 usage with binary128.
18741         * auto-libm-test-out: Regenerate.
18743 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18745         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18746         (parse_ulps): Dynamically generate type name matching
18747         string from all_floats.
18748         (get_ulps): Generate the ulps as an array instead.
18749         (output_ulps): Dynamically compose the type based
18750         on the number of supported formats, and print
18751         the indices as type specific helper macros.
18753         * math/libm-test.inc: Remove comment about CHOOSE.
18754         (ulp_data): Generate the type in libm-test-ulps.h.
18755         (ULP_IDX): New macro.
18756         (find_ulps): Update usage of max_ulp.
18758         * math/test-double-vlen2.h (CHOOSE): Remove.
18759         * math/test-double-vlen4.h (CHOOSE): Likewise.
18760         * math/test-double-vlen8.h (CHOOSE): Likewise.
18761         * math/test-float.c (CHOOSE): Likewise.
18762         * math/test-float-finite.c (CHOOSE): Likewise.
18763         * math/test-double.c (CHOOSE): Likewise.
18764         * math/test-double-finite.c (CHOOSE): Likewise.
18765         * math/test-idouble.c (CHOOSE): Likewise.
18766         * math/test-ifloat.c (CHOOSE): Likewise.
18767         * math/test-ildoubl.c (CHOOSE): Likewise.
18768         * math/test-ldouble-finite.c (CHOOSE): Likewise.
18769         * math/test-ldouble.c (CHOOSE): Likewise.
18771         * math/test-float.h (TEST_FLOAT): Remove.
18772         * math/test-double.h (TEST_DOUBLE): Likewise.
18773         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18775 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18777         * math/gen-libm-test.pl: (apply_lit): New subroutine.
18778         (parse_args): Strip C suffix from floating point literals
18779         typed with 'f' and wrap them with LIT().
18781         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18782         (test_ff_f_data_nexttoward): Rename to
18783         (test_fj_f_data): New struct.
18784         (nexttoward_test_data): Relabel tests as
18785         TEST_fj_f instead of TEST_ff_f.
18787 2016-06-08  Florian Weimer  <fweimer@redhat.com>
18789         Emacs bug 23726.
18790         * malloc/malloc.c (dumped_main_arena_start): Update comment.
18791         (__libc_realloc): Correct size computation for dumped fake mmapped
18792         chunks.
18794 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
18796         [BZ #20219]
18797         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
18798         to itself.
18799         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
18801         [BZ #20218]
18802         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
18803         to itself.
18804         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
18806 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
18808         [BZ #20195]
18809         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
18810         check to ...
18811         (init_cpu_features): Here.
18813 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
18815         [BZ #20214]
18816         * sysdeps/unix/sysv/linux/bits/in.h
18817         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18818          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
18819         Define to 1.
18820         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18821          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
18822         Define to 0.
18823         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
18824         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
18826 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
18828         [BZ #20198]
18829         * stdlib/Makefile (tests): Add tst-quick_exit, and
18830         tst-thread-quick_exit.
18831         [ifeq ($(have-cxx-thread_local),yes)]
18832         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
18833         (CFLAGS-tst-thread-quick_exit.o): Likewise.
18834         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
18835         (LDLIBS-tst-thread-quick_exit): Likewise.
18836         [ifneq ($(have-cxx-thread_local),yes)]
18837         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
18838         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
18839         If run_dtors is true call __call_tls_dtors.
18840         (exit): Call __run_exit_handlers with run_dtors set to true.
18841         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
18842         definition.
18843         * stdlib/quick_exit.c (quick_exit): Remove function.
18844         (__new_quick_exit): New function.
18845         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
18846         function.
18847         * stdlib/tst-quick_exit.cc: New file.
18848         * stdlib/tst-thread-quick_exit.cc: New file.
18849         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
18850         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
18851         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
18852         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
18853         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
18854         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
18855         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
18856         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
18857         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
18858         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
18859         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
18860         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
18861         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
18862         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
18863         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
18864         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
18866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
18867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
18868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
18869         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
18870         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
18871         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
18872         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
18873         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
18874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
18875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
18876         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
18877         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
18878         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
18880 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18882         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
18883         a typo in comments.
18885 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18887         [BZ #20213]
18888         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
18889         argument to itself.
18890         * math/libm-test.inc (asin_test_data): Add sNaN tests.
18892 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18894         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
18895         required flags.
18896         (CFLAGS-pwritev64.c): Likewise.
18897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
18898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18899         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
18900         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18901         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
18902         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
18903         syscall from auto-generation.
18904         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
18905         [WORDSIZE == 64] (pwritev64): Remove macro.
18906         [!PWRITEV] (PWRITEV): Likewise.
18907         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18908         [!PWRITEV] (PWRITE): Likewise.
18909         [!PWRITEV] (OFF_T): Likewise.
18910         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18911         (LO_HI_LONG): Remove macro.
18912         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
18913         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
18914         (PWRITEV): Remove macro.
18915         (PWRITEV_REPLACEMENTE): Likewise.
18916         (PWRITE): Likewise.
18917         (OFF_T): Likewise.
18918         (pwritev64): New function.
18919         * nptl/tst-cancel4.c (tf_writev): Add test.
18921         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
18922         required flags.
18923         (CFLAGS-preadv64.c): Likewise.
18924         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
18925         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18926         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
18927         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
18928         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
18929         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
18930         syscall from auto-generation.
18931         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
18932         [WORDSIZE == 64] (preadv64): Remove macro.
18933         [!PREADV] (PREADV): Likewise.
18934         [!PREADV] (PREADV_REPLACEMENT): Likewise.
18935         [!PREADV] (PREAD): Likewise.
18936         [!PREADV] (OFF_T): Likewise.
18937         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
18938         (LO_HI_LONG): Remove macro.
18939         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
18940         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
18941         (PREADV): Remove macro.
18942         (PREADV_REPLACEMENTE): Likewise.
18943         (PREAD): Likewise.
18944         (OFF_T): Likewise.
18945         (preadv64): New function.
18946         * nptl/tst-cancel4.c (tf_preadv): Add test.
18948 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18950         [BZ #20212]
18951         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
18952         argument to itself.
18953         * math/libm-test.inc (acos_test_data): Add sNaN tests.
18955 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18957         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
18958         New symbol defined as libc_hidden_def.
18959         (strcasestr): Became a weak alias to __strcasestr.
18960         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
18961         according to multi-arch support.  Move __stpncpy hidden
18962         definition from here to...
18963         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
18964         symbol stpncpy.
18965         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
18966         libc_hidden_builtin_def.
18967         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
18968         memset symbol to use when multi-arch support is available.
18970 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
18972         * dlfcn/tst-rec-dlopen.c: Include string.h.
18974 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18976         * manual/install.texi: Remove mention of --without-tls
18977         * INSTALL: Regenerate.
18979 2016-06-05  Florian Weimer  <fweimer@redhat.com>
18981         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
18982         Remove.
18983         (call_function, interposed_malloc_called): New variables.
18984         (malloc): New function.
18985         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
18986         and clear call_function as needed.
18988 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
18990         * include/wchar.h (__wmemset): Use __typeof.
18992 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
18994         * include/wchar.h (__wmemset): Declare function without typeof.
18996 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
18998         [BZ #20205]
18999         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
19000         exponent when incrementing negative subnormal with low mantissa
19001         word zero.
19002         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19003         Add another test.
19005 2016-06-03  Florian Weimer  <fweimer@redhat.com>
19007         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
19008         __wmemset instead of wmemset.
19010 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
19012         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
19013         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
19014         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
19015         __USE_KERNEL_IPV6_DEFS to 0.
19016         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
19017         Update comment.
19019 2016-06-01  Florian Weimer  <fweimer@redhat.com>
19021         [BZ #19861]
19022         Do not use IFUNC resolver with potentially unrelocated symbol.
19023         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
19024         (DEFINE_FORK): Remove macro and inline definition.
19025         (fork_alias): Renamed from fork_ifunc.
19026         (__fork_alias): Renamed from __fork_ifunc.
19028 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
19030         [BZ 19653]
19031         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
19032         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
19034 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19036         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
19037         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
19038         i386-linux-gnu).
19039         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
19040         Set to no.
19041         * sysdeps/mach/hurd/configure: Refresh.
19043 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19045         [BZ #20178]
19046         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
19047         on failure instead of exit.
19049 2016-05-30  Roland McGrath  <roland@hack.frob.com>
19051         [BZ #3629]
19052         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
19053         of POSIX.1-2008.
19055 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19057         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
19058           Use PLT entry for calling _hurd_self_sigstate.
19060 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
19062         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
19063         available logical processors with SMT level type sharing L2
19064         cache for Intel processors.
19066 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19068         [BZ #20160]
19069         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
19070         argument to itself before returning the result.
19071         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19072         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19073         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19074         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19075         Likewise.
19076         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19077         Likewise.
19078         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19079         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19080         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19081         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19082         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19083         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19085         [BZ #20160]
19086         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19087         argument to itself before returning the result.
19088         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19089         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19090         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19091         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19092         Likewise.
19093         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19094         Likewise.
19095         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19096         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19097         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19098         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19099         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19100         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19102 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19104         * libm-test.inc: Replace usage of M_El with
19105         (lit_e): New macro.
19107 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19109         * libm-test.inc: Replace usage of M_PI_4l with
19110         (lit_pi_4_d): New macro.
19112 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19114         * libm-test.inc: Replace usage of M_PIl with
19115         (lit_pi): New macro.
19117 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19119         * libm-test.inc: Replace usage of M_PI2l with
19120         (lit_pi_2_d): New macro.
19122         * math/test-double.h (LITM): New macro.
19123         * math/test-float.h (LITM): Likewise.
19124         * math/test-ldouble.h (LITM): Likewise.
19126 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19128         * libm-test.inc (M_PI_34l): Rename to
19129         (lit_pi_3_m_4_d): New Macro.
19130         (M_PI_34_LOG10El): Rename to
19131         (lit_pi_3_m_4_ln10_m_d): New Macro.
19132         (M_PI2_LOG10El): Rename to
19133         (lit_pi_2_ln10_m_d):  New Macro.
19134         (M_PI4_LOG10El): Rename to
19135         (lit_pi_4_ln10_m_d):  New Macro.
19136         (M_PI_LOG10El): Rename to
19137         (lit_pi_ln10_d):  New Macro.
19139 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19141         [BZ #20157]
19142         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19143         determine whether to negate low half if [_ARCH_PPCGR], and integer
19144         comparison otherwise.
19145         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19146         determine whether to negate low half.
19148         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19149         (NO_TEST_INLINE_DOUBLE): Likewise.
19150         (TEST_COND_x86_64): Likewise.
19151         (TEST_COND_x86): Likewise.
19152         (M_PI_6l): Likewise.
19154 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19156         * math/libm-test.inc:
19157         (TEST_FLOAT): Change usage to TEST_COND_binary32.
19158         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
19159         (TEST_LDOUBLE): Update usage to evaluate as true if
19160         the guarded tests match the property being tested.
19161         (LDBL_MAX_EXP): Change to MAX_EXP.
19162         (LDBL_MIN_EXP): Change to MIN_EXP.
19163         (LDBL_MANT_DIG): Change to MANT_DIG, except for
19164         nexttoward tests.
19166 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19168         * math/libm-test.inc:
19169         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
19170         (TYPE_MIN): Likewise.
19171         (TYPE_TRUE_MIN): Likewise.
19172         (TYPE_MAX): Likewise.
19173         (MIN_EXP): Likewise.
19174         (MAX_EXP): Likewise.
19175         (MANT_DIG): Likewise.
19177         (FSTR_MAX): New macro.
19178         (__CONCATX): Likewise.
19179         (QTYPE_STR): Likewise.
19180         (TEST_COND_binary32): Likewise.
19181         (TEST_COND_binary64): Likewise.
19182         (TEST_COND_binary128): Likewise.
19183         (TEST_COND_ibm128): Likewise.
19184         (TEST_COND_intel96): Likewise.
19185         (TEST_COND_m68k96): Likewise.
19187         (TEST_COND_flt_32): Redefine as equivalent format test macro.
19188         (TEST_COND_dbl_64): Likewise.
19189         (TEST_COND_ldbl_96_intel): Likewise.
19190         (TEST_COND_ldbl_96_m68k): Likewise.
19191         (TEST_COND_ldbl_128): Likewise.
19192         (TEST_COND_ldbl_128ibm): Likewise.
19194         (plus_zero): Redefine using LIT macro.
19195         (minus_zero): Likewise.
19196         (plus_infty): Redefine as (INF).
19197         (minux_infty): Redefine as (-INF).
19198         (max_value): Redefine as TYPE_MAX.
19199         (min_value): Redefine as TYPE_MIN.
19200         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
19202         (print_float): Refactor to use snprintf to convert FLOAT values
19203         to string. This brings it closer to dropin replacement of strtof
19204         for the TS 18661 defined types.
19205         (update_stats): Likewise.
19206         (print_complex_function_ulps): Likewise.
19207         (print_max_error): Likewise.
19208         (print_complex_max_error): Likewise.
19209         (check_float_internal): Likewise.
19211         * math/test-float.h (PREFIX): New macro.
19212         (LIT): Likewise.
19213         (TYPE_STR): Likewise.
19214         (FTOSTR): Likewise.
19216         * math/test-double.h (PREFIX): New macro.
19217         (LIT): Likewise.
19218         (TYPE_STR): Likewise.
19219         (FTOSTR): Likewise.
19221         * math/test-ldouble.h (PREFIX): New macro.
19222         (LIT): Likewise.
19223         (TYPE_STR): Likewise.
19224         (FTOSTR): Likewise.
19226 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19228         [BZ #20156]
19229         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
19230         to itself when zero or not finite.
19231         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
19232         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19233         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
19234         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
19236 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
19238         [BZ #20153]
19239         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
19240         x * x + x for infinities and NaNs.
19242         [BZ #20151]
19243         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
19244         argument to itself before returning result.
19245         (__ieee754_y0l): Likewise.
19246         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19247         (__ieee754_y1l).
19249         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
19250         (atan_test_data): Likewise.
19251         (ceil_test_data): Likewise.
19252         (cos_test_data): Likewise.
19253         (cosh_test_data): Likewise.
19254         (erf_test_data): Likewise.
19255         (exp2_test_data): Likewise.
19256         (fabs_test_data): Likewise.
19257         (floor_test_data): Likewise.
19258         (ilogb_test_data): Likewise.
19259         (j0_test_data): Likewise.
19260         (j1_test_data): Likewise.
19261         (jn_test_data): Likewise.
19262         (lgamma_test_data): Likewise.
19263         (lrint_test_data): Likewise.
19264         (llrint_test_data): Likewise.
19265         (logb_test_data): Likewise.
19266         (lround_test_data): Likewise.
19267         (llround_test_data): Likewise.
19268         (nearbyint_test_data): Likewise.
19269         (rint_test_data): Likewise.
19270         (round_test_data): Likewise.
19271         (sin_test_data): Likewise.
19272         (sincos_test_data): Likewise.
19273         (sinh_test_data): Likewise.
19274         (sqrt_test_data): Likewise.
19275         (tan_test_data): Likewise.
19276         (tanh_test_data): Likewise.
19277         (tgamma_test_data): Likewise.
19278         (trunc_test_data): Likewise.
19279         (y0_test_data): Likewise.
19280         (y1_test_data): Likewise.
19281         (yn_test_data): Likewise.
19283         * math/libm-test.inc: Update comment about NaN testing.
19284         (TEST_SNAN): New macro.
19285         (snan_value): Likewise.
19286         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
19287         (fpclassify_test_data): Add sNaN tests.
19288         (isfinite_test_data): Likewise.
19289         (isinf_test_data): Likewise.
19290         (isnan_test_data): Likewise.
19291         (isnormal_test_data): Likewise.
19292         (issignaling_test_data): Likewise.
19293         (signbit_test_data): Likewise.
19294         * math/gen-libm-test.pl (%beautify): Add snan_value.
19295         (show_exceptions): Add argument $test_snan.
19296         (parse_args): Handle snan_value as non-finite.  Update call to
19297         show_exceptions.
19298         * math/Makefile (libm-test-no-inline-cflags): Add
19299         -fsignaling-nans.
19301 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19303         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
19304         (CFLAGS-oldsendmsg.c): Add rule.
19305         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19306         Correct recvmsg symbol name.
19307         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
19308         Likewise.
19310 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19312         * sysdeps/unix/sysv/linux/Makefile
19313         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
19314         oldsendmmsg.
19315         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
19316         sendmmsg.
19317         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19318         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19319         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19320         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19322         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19323         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19325         Likewise.
19326         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19327         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
19328         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19329         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
19330         iovlen and controllen fields to adjust to POSIX specification.
19331         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19333         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
19334         and change to correct expected type.
19335         (msghdr.msg_controllen): Likewise.
19336         (cmsghdr.cmsg_len): Likewise.
19337         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
19338         expected POSIX assumption about the size.
19339         (msghdr.msg_controllen): Likewise.
19340         (msghdr.__glibc_reserved1): Likewise.
19341         (msghdr.__glibc_reserved2): Likewise.
19342         (cmsghdr.cmsg_len): Likewise.
19343         (cmsghdr.__glibc_reserved1): Likewise.
19344         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
19345         Add ptw-oldrecvmsg and ptw-oldsendmsg.
19346         (CFLAGS-sendmsg.c): Remove rule.
19347         (CFLAGS-recvmsg.c): Likewise.
19348         (CFLAGS-oldsendmsg.c): Add rule.
19349         (CFLAGS-oldrecvmsg.c): Likewise.
19350         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
19351         recvmsg and sendmsg.
19352         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
19353         Likewise.
19354         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
19355         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
19356         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19357         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
19358         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19359         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19360         Likewise.
19361         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19362         Likewise.
19363         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
19364         Likewise.
19365         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
19366         Likewise.
19367         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19368         Likewise.
19369         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19370         Likewise.
19371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
19372         (GLIBC_2.24): Likewise.
19373         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19374         Likewise.
19375         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19376         Likewise.
19377         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19378         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19379         Likewise.
19380         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19381         Likewise.
19382         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19383         Likewise.
19384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19385         (GLIBC_2.24): Likewise.
19386         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19387         Likewise.
19388         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19389         Likewise.
19390         * sysdeps/unix/sysv/linux/Makefile
19391         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19392         (CFLAGS-sendmsg.c): Add rule.
19393         (CFLAGS-recvmsg.c): Likewise.
19394         (CFLAGS-oldsendmsg.c): Likewise.
19395         (CFLAGS-oldrecvmsg.c): Likewise.
19396         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19397         initialization.
19398         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19399         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19400         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19401         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19402         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19403         iovlen and controllen fields to adjust to POSIX specification.
19404         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19405         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19406         added recvmsg and sendmsg.
19407         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19408         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19409         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19410         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19411         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19412         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19413         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19414         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19415         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19416         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19417         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19418         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19420         Likewise.
19421         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19423         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19424         Likewise.
19425         Likewise.
19426         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19427         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19428         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19429         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19430         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19431         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19433         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19435         Likewise.
19436         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19437         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19439         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19440         from auto-generation.
19441         (sendmsg): Likewise.
19442         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19443         (sendmsg): Likewise.
19444         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19445         (sendmsg): Likewise.
19446         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19447         (sendmsg): Likewise.
19448         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19449         (sendmsg): Likewise.
19450         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19451         (sendmsg): Likewise.
19452         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19453         Likewise.
19454         (sendmsg): Likewise.
19455         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19456         (sendmsg): Likewise.
19457         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19458         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19459         Remove.
19460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19461         Likewise.
19462         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19463         Undefine.
19464         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19465         Likewise.
19466         * sysdeps/unix/sysv/linux/kernel-features.h
19467         (__ASSUME_SENDMSG_SYSCALL): Define.
19468         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19469         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19470         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19471         Remove.
19472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19473         Likewise.
19474         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19475         Undefine.
19476         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19477         Likewise.
19478         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19479         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19480         Remove.
19481         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19482         Likewise.
19483         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19484         Undefine.
19485         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19486         Likewise.
19487         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19488         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19489         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19490         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19491         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19492         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19493         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19494         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19495         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19497 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19499         * stdlib/gen-tst-strtod-round.c: Add backslash to
19500         compile command in comment.
19501         (printfp): Remove the literal suffix, and define an infinite
19502         value as INF to avoid expansion clash with INFINITY.
19503         (round_str): Remove the literal suffix.
19504         (round_for_all): Likewise, remove the now duplicate ldbl-64
19505         entry, and remove some magic constants.
19507         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19508         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19509         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19510         (_CONCAT): New macro.
19511         (CONCAT): Likewise.
19512         (CHOOSE_ld): Likewise.
19513         (CHOOSE_f): Likewise.
19514         (CHOOSE_d): Likewise.
19515         (FTYPE_MEMBER): Likewise.
19516         (BOOL_MEMBER): Likewise.
19517         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19518         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19519         (_XNTRY): Likewise.
19520         (XNTRY): Likewise.
19521         (_ENTRY): Likewise.
19522         (ENTRY): Likewise.
19523         (test_exactness): Generate members via macro.
19524         (test_results): Likewise.
19525         (test): Update members.
19526         (TEST): Redefine using new macros.
19527         (INF): New macro.
19528         (fetestmodes): New structure.
19529         (do_test): Refactor to be type generic.
19530         (test_in_one_mode): Refactor duplicate code into
19531         (GEN_ONE_TEST): New macro.
19533         * stdlib/tst-strtod-round-data.h: Regenerate.
19535         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19536         Extend to pass additional arbitrary parameters to
19537         generators.
19539 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19541         [BZ #15479]
19542         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19543         floating-point state after first floating-point operation on
19544         input.  Restore full floating-point state instead of just rounding
19545         mode.
19546         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19547         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19548         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19549         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19550         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19552         [BZ #15479]
19553         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19554         floating-point state after first floating-point operation on
19555         input.  Restore full floating-point state instead of just rounding
19556         mode.
19557         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19558         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19559         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19560         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19561         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19563 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19565         [BZ #19727]
19566         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19567         valid high surrogate.
19568         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19569         of an utf16 surrogate.
19570         * iconv/gconv_simple.c (BODY): Likewise.
19571         * iconvdata/bug-iconv12.c: New file.
19572         * iconvdata/Makefile (tests): Add bug-iconv12.
19574 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19576         [BZ #19726]
19577         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19578         outptrp in case of an illegal input.
19579         * iconv/tst-iconv6.c: New file.
19580         * iconv/Makefile (tests): Add tst-iconv6.
19582 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19584         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19585         an error in case of a value in range of an utf16 low surrogate.
19587 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19589         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
19590         an error in case of a value in range of an utf16 low surrogate.
19592 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19594         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
19595         Move to ...
19596         * sysdeps/s390/Makefile: ... here.
19597         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19598         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19599         (BRANCH_ON_COUNT): New define.
19600         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19601         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19602         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19603         run on s390-32, too.
19604         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19605         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19606         run on s390-32, too.
19607         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19608         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19609         run on s390-32, too.
19611 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19613         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19614         etf3eh or new vector loop-variant.
19616 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19618         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
19619         etf3eh or new vector loop-variant.
19621 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19623         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
19624         or new vector loop-variant.
19626 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19628         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19629         Rename to TR_LOOP and usage of tr instead of troo instruction.
19631 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19633         * sysdeps/s390/multiarch/gconv_simple.c: New File.
19634         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19636 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19638         * sysdeps/s390/multiarch/8bit-generic.c: New File.
19639         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19640         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19641         New override define.
19642         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19644 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19646         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19647         * sysdeps/s390/configure.ac: Add test for S390 vector register
19648         support in gcc.
19649         * sysdeps/s390/configure: Regenerated.
19651 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19653         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19654         Install file from $(objpfx)gconv-modules.
19655         ($(objpfx)gconv-modules): Concatenate architecture specific file
19656         in variable sysdeps-gconv-modules and gconv-modules in src dir.
19657         * sysdeps/s390/gconv-modules: New file.
19658         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19659         Deleted.
19660         ($(objpfx)gconv-modules-s390): Deleted.
19661         (sysdeps-gconv-modules): New variable.
19663 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19665         [BZ #15479]
19666         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19667         of immediate operand to rounding instruction.
19668         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19669         Likewise.
19670         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19671         Likewise.
19672         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19673         Likewise.
19675 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19677         * math/libm-test.inc (MIN_EXP): Directly define as
19678         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19680 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19682         * math/libm-test.inc (MANT_DIG): Directly define as
19683         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19685 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19687         * stdlib/gen-tst-strtod-round.c (main):
19688           Change usage to more closely match the generated
19689           output.  Add usage and compilation instructions.
19690           (string_to_fp): Add and use FILE* parameter as
19691           output target.
19692           (print_fp): Likewise.
19693           (round_str): Likewise.
19694           (round_for_all): Likewise.
19695         * stdlib/tst-strtod-round.c (tests): Move into
19696         * stdlib/tst-strtod-round-data.h: New file.
19698 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19700         [BZ #15479]
19701         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19702         (__round): Do not force "inexact" exception.
19703         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19704         variable.
19705         (__round): Do not force "inexact" exception.
19706         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19707         (__roundf): Do not force "inexact" exception.
19708         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19709         (__roundl): Do not force "inexact" exception.
19710         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19711         (__roundl): Do not force "inexact" exception.
19712         * math/libm-test.inc (round_test_data): Do not allow spurious
19713         "inexact" exceptions.
19715         [BZ #15479]
19716         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19717         exception in comment.
19718         (huge): Remove variable.
19719         (__floor): Do not force "inexact" exception.
19720         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19721         "inexact" exception in comment.
19722         (huge): Remove variable.
19723         (__floor): Do not force "inexact" exception.
19724         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19725         exception in comment.
19726         (huge): Remove variable.
19727         (__floorf): Do not force "inexact" exception.
19728         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19729         exception in comment.
19730         (huge): Remove variable.
19731         (__floorl): Do not force "inexact" exception.
19733         [BZ #15479]
19734         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19735         exception in comment.
19736         (huge): Remove variable.
19737         (__ceil): Do not force "inexact" exception.
19738         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19739         "inexact" exception in comment.
19740         (huge): Remove variable.
19741         (__ceil): Do not force "inexact" exception.
19742         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19743         (__ceilf): Do not force "inexact" exception.
19744         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19745         exception in comment.
19746         (huge): Remove variable.
19747         (__ceill): Do not force "inexact" exception.
19749 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19751         * config.h.in (BIND_NOW): New.
19752         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
19753         * configure: Regenerated.
19754         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19755         indirect branch via the GOT slot.
19757 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19759         [BZ #19765]
19760         * sysdeps/s390/mempcpy.S: New File.
19761         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19762         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19763         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19764         Add mempcpy variants.
19765         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19766         (memcpy): Adjust to be usable from mempcpy entry point.
19767         (__memcpy_mvcle): Likewise.
19768         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19769         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19770         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19771         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19772         (__memcpy_z10): Likewise.
19773         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19775 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19777         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19778         Remove __GI_ symbol.
19779         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19780         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19781         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19782         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19783         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19784         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19786 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19788         * sysdeps/s390/s390-64/memcpy.S (memcpy):
19789         Use cghi instead of chi to compare 64bit value.
19791 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19793         * sysdeps/s390/s390-32/memcpy.S (memcpy):
19794         Jump to 1MB check before executing mvc-loop.
19796 2016-05-24  Florian Weimer  <fweimer@redhat.com>
19798         [BZ #6527]
19799         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
19800         unconditionally.
19801         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
19803 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19805         * stdlib/tst-strtod6.c (do_test): Use new type generic
19806         invocation of the test function.
19807         (test): Refactor into ...
19808         (TEST_STRTOD): New macro base function.
19810 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19812         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
19813         (TEST_STRTOD): New macro.
19814         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
19816 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19818         * stdlib/tst-strtod6.c (do_test): Use new type generic
19819         invocation of the test function.
19820         (test): Refactor into ...
19821         (TEST_STRTOD): New macro base function.
19823 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19825         CVE-2016-4429
19826         [BZ #20112]
19827         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
19828         payload.
19830 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19832         [BZ #20111]
19833         * bits/sockaddr.h (_SS_SIZE): Define.
19834         * bits/socket.h (_SS_SIZE): Remove.
19835         (_SS_PADSIZE): Adjust to account for all padding.
19836         (struct sockaddr_storage): Update comment.  Avoid implicit
19837         padding.
19838         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
19839         (_SS_PADSIZE): Adjust to account for all padding.
19840         (struct sockaddr_storage): Update comment.  Avoid implicit
19841         padding.
19842         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
19843         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
19844         (_SS_PADSIZE): Adjust to account for all padding.
19845         (struct sockaddr_storage): Update comment.  Avoid implicit
19846         padding.
19847         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
19848         __SS_SIZE is 126 in this version.
19849         * inet/tst-sockaddr.c: New file.
19850         * inet/Makefile (tests): Add tst-sockaddr.c
19851         (tst-sockaddr.c): Compile with non-strict aliasing.
19853 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
19855         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
19856         [XPG3 || XPG4].
19857         (NL_ARGMAX): Also expect for [XPG3].
19858         (NL_LANGMAX): Likewise.
19859         (NL_MSGMAX): Likewise.
19860         (NL_NMAX): Likewise.
19861         (NL_SETMAX): Likewise.
19862         (NL_TEXTMAX): Likewise.
19863         (NZERO): Likewise.
19864         (TMP_MAX): Likewise.
19865         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
19866         variable.
19868         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
19869         (PF_MAX): Update value.
19870         (AF_KCM): New macro.
19871         (SOL_NETBEUI): Likewise.
19872         (SOL_LLC): Likewise.
19873         (SOL_DCCP): Likewise.
19874         (SOL_NETLINK): Likewise.
19875         (SOL_TIPC): Likewise.
19876         (SOL_RXRPC): Likewise.
19877         (SOL_PPPOL2TP): Likewise.
19878         (SOL_BLUETOOTH): Likewise.
19879         (SOL_PNPIPE): Likewise.
19880         (SOL_RDS): Likewise.
19881         (SOL_IUCV): Likewise.
19882         (SOL_CAIF): Likewise.
19883         (SOL_ALG): Likewise.
19884         (SOL_NFC): Likewise.
19885         (SOL_KCM): Likewise.
19886         (MSG_BATCH): New enum value and macro.
19888 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
19890         [BZ #18185]
19891         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
19892         sharing L2 cache to 2 for Knights Landing.
19894 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
19896         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
19897         (FTW_DP): Do not expect for [XPG3 || XPG4].
19898         (FTW_SL): Do not expect for [XPG3].
19899         (FTW_SLN): Likewise.
19900         (FTW_PHYS): Likewise.
19901         (FTW_MOUNT): Likewise.
19902         (FTW_DEPTH): Likewise.
19903         (FTW_CHDIR): Likewise.
19904         (nftw): Likewise.
19905         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
19906         variable.
19908 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19910         * manual/errno.texi: Fix various typos & grammar errors.
19912 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19914         * manual/intro.texi: Fix duplicated typo.
19916 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19918         [BZ #13304]
19919         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
19920         <float.h>, <math_private.h> and <stdlib.h>.
19921         (add_split): New function.
19922         (mul_split): Likewise.
19923         (ext_val): New typedef.
19924         (store_ext_val): New function.
19925         (mul_ext_val): New function.
19926         (compare): New function.
19927         (add_split_ext): New function.
19928         (__fmal): After checking for Inf, NaN and zero, compute result as
19929         an exact sum of scaled double values in round-to-nearest before
19930         adding those up and adjusting for other rounding modes.
19931         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
19932         tests of fma.
19933         * math/auto-libm-test-out: Regenerated.
19935 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19937         [BZ #20119]
19938         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
19939         processor level type mask for CPUID with EAX == 11.
19941 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19943         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
19944         logical threads if the HTT bit is 0.
19945         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
19946         (index_cpu_HTT): Likewise.
19947         (reg_HTT): Likewise.
19949 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19951         [BZ #20115]
19952         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
19953         Remove alignments on jump targets.
19955 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19957         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
19958         (getpwent): Likewise.
19959         (setpwent): Likewise.
19960         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
19961         variable.
19963         * conform/data/search.h-data (insque): Do not expect for [XPG3].
19964         (remque): Likewise.
19965         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
19966         variable.
19968 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19970         * math/libm-test.inc: Update comment not to refer to signs of NaNs
19971         not being tested.
19973 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19975         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19976         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
19977         call.
19978         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19979         (__condvar_cleanup1): Likewise.
19981 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19983         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
19984         New
19985         (__pthread_unwind): Renamed to ...
19986         (PTHREAD_UNWIND): This.
19987         (__pthread_enable_asynccancel): Replace
19988         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
19990 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19992         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
19993         (CLONE_NEWCGROUP): New macro.
19995         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
19996         (Q_GETNEXTQUOTA): New macro.
19998 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20000         [BZ #19907]
20001         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
20002         buffer updated by the previous run.
20003         * string/test-memcpy.c (do_one_test): Likewise.
20004         * benchtests/bench-memmove.c (do_one_test): Add a comment.
20005         * string/test-memmove.c (do_one_test): Likewise.
20007 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
20009         [BZ #20094]
20010         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
20011         not [__USE_XOPEN].
20012         (unlockpt): Likewise.
20013         (ptsname): Likewise.
20014         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
20015         variable.
20017         [BZ #20076]
20018         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
20019         instead of [__USE_UNIX98].
20020         (S_ISSOCK): Likewise.
20021         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
20022         variable.
20024         [BZ #20074]
20025         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
20026         [__USE_POSIX].
20027         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
20028         variable.
20030         [BZ #20051]
20031         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
20032         (ttyslot): Do not declare.
20033         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
20034         (ttyslot): New prototype.
20035         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
20036         variable.
20037         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20039 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20041         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
20043 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20045         Fix race condition in tst-mallocfork2, use fewer resources.
20046         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
20047         to current process group.
20048         (signal_sender): Yield in the non-sleeping case.
20050 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
20052         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
20053         (ecvt): Likewise.
20054         (fcvt): Likewise.
20055         (gcvt): Likewise.
20056         (getsubopt): Likewise.
20057         (grantpt): Likewise.
20058         (initstate): Likewise.
20059         (l64a): Likewise.
20060         (mktemp): Likewise.
20061         (mkstemp): Likewise.
20062         (ptsname): Likewise.
20063         (random): Likewise.
20064         (realpath): Likewise.
20065         (setstate): Likewise.
20066         (srandom): Likewise.
20067         (ttyslot): Likewise.
20068         (unlockpt): Likewise.
20069         (valloc): Likewise.
20071         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
20072         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
20073         variable.
20075 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20077         [BZ #20072]
20078         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20079         init_cpu_features only if SHARED is defined.
20080         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20082 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20084         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20085         non-inclusive caches on Intel processors.
20087 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20089         * malloc/malloc.c (dumped_main_arena_start)
20090         (dumped_main_arena_end): New variables.
20091         (DUMPED_MAIN_ARENA_CHUNK): New macro.
20092         (do_check_chunk): Skip dumped fake mmapped chunks.
20093         (munmap_chunk): Likewise.
20094         (__libc_free): Do not adjust statistics for fake mmapped chunks.
20095         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
20096         mmapped chunks.
20097         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20098         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
20099         and dumped_main_arena_end to cover the dumped heap.
20101 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
20103         * conform/data/time.h-data (getdate_err): Do not expect for
20104         [XPG3].
20105         (getdate): Likewise.
20106         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20107         variable.
20109         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20110         (F_ULOCK): Likewise.
20111         (F_TEST): Likewise.
20112         (F_TLOCK): Likewise.
20113         (useconds_t): Likewise.
20114         (intptr_t): Do not expect for [XPG3] or [XPG4].
20115         (brk): Do not expect for [XPG3]
20116         (fchown): Likewise.
20117         (fchdir): Likewise.
20118         (ftruncate): Likewise.
20119         (getdtablesize): Likewise.
20120         (gethostid): Likewise.
20121         (getpagesize): Likewise.
20122         (getpgid): Likewise.
20123         (getsid): Likewise.
20124         (getwd): Likewise.
20125         (lchown): Likewise.
20126         (lockf): Likewise.
20127         (readlink): Likewise.
20128         (sbrk): Likewise.
20129         (setpgrp): Likewise.
20130         (setregid): Likewise.
20131         (setreuid): Likewise.
20132         (symlink): Likewise.
20133         (sync): Likewise.
20134         (truncate): Likewise.
20135         (ualarm): Likewise.
20136         (usleep): Likewise.
20137         (vfork): Likewise.
20138         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20139         variable.
20141         [BZ #20054]
20142         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20143         not [__USE_UNIX98].
20144         * conform/data/unistd.h-data (gethostname): Do not expect for
20145         [XPG3].
20147         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20148         [!POSIX] (S_IFBLK): Likewise.
20149         [!POSIX] (S_IFCHR): Likewise.
20150         [!POSIX] (S_IFIFO): Likewise.
20151         [!POSIX] (S_IFREG): Likewise.
20152         [!POSIX] (S_IFDIR): Likewise.
20153         [!POSIX] (S_IFLNK): Likewise.
20154         [!POSIX] (S_IFSOCK): Likewise.
20155         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
20156         variable.
20157         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20159 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
20161         * sysdeps/aarch64/memset.S (__memset):
20162         Rewrite of optimized memset.
20164 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20166         [BZ #19703]
20167         Partially async-signal-safe fork for single-threaded processes.
20168         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
20169         variable.  Do not acquire and reset/release malloc and libio locks
20170         in single-threaded processes.
20171         * malloc/tst-mallocfork2.c: New file.
20172         * malloc/Makefile (tests): Add it.
20174 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20176         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
20177         argument.  Use scratch buffer instead of extend_alloca.
20178         (gethosts): Use scratch buffer instead of extend_alloca.
20179         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
20180         extend_alloca.
20181         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
20183 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
20185         [BZ #20055]
20186         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
20187         instead of [__USE_UNIX98].
20188         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
20189         [__USE_UNIX98].
20190         * conform/data/termios.h-data (tcgetsid): Do not expect for
20191         [XPG3].
20192         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
20193         variable.
20194         (test-xfail-XPG4/termios.h/conform): Likewise.
20196 2016-05-11  Florian Weimer  <fweimer@redhat.com>
20198         Do not use mcheck in localedef.
20199         * locale/programs/localedef.c (turn_on_mcheck)
20200         (__malloc_initialize_hook): Remove.
20202 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20204         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
20205         * sysdeps/s390/s390-64/Makefile: Likewise.
20207 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20209         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
20210         Remove ifunc-defines.sym.
20211         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
20212         Likewise.
20213         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
20214         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20215         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
20216         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
20217         rtld-global-offsets.sym.
20218         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
20219         * sysdeps/x86/cpu-features-offsets.sym: This.
20220         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
20221         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
20223 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
20225         [BZ #20073]
20226         * io/sys/stat.h (fchmod): Declare for
20227         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
20228         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
20229         variable.
20231         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
20232         [XPG3] (S_IFSOCK): Likewise.
20233         [XPG3] (S_ISVTX): Likewise.
20234         [XPG3] (S_ISLNK): Likewise.
20235         [XPG3] (S_ISSOCK): Likewise.
20236         [XPG3] (fchmod): Likewise.
20237         [XPG3] (lstat): Likewise.
20238         [XPG3] (mknod): Likewise.
20240         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
20241         [XPG3].  Expect type long and XFAIL for [XPG4].
20242         (st_blocks): Likewise.
20244         [BZ #20044]
20245         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
20246         (pthread_atfork): New prototype.
20247         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20248         variable.
20250         [BZ #20043]
20251         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
20252         prototype.
20254 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20256         [BZ #20017]
20257         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
20258         gmtime.
20260 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20262         [BZ #19994]
20263         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
20264         flag in _res.options.
20266 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
20268         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
20269         [XPG3 || XPG4].
20270         (blksize_t): Likewise.
20271         (clockid_t): Likewise.
20272         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
20273         variable.
20274         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20276 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20278         * sysdeps/unix/sysv/linux/s390/init-first.c:
20279         Add VDSO_SYMBOL(getcpu).
20280         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
20281         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
20282         Add VDSO_SYMBOL(getcpu).
20283         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
20284         New define HAVE_GETCPU_VSYSCALL.
20285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20287 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20289         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
20290         instead of <sysdeps/x86_64/cacheinfo.c>.
20291         * sysdeps/x86_64/cacheinfo.c: Moved to ...
20292         * sysdeps/x86/cacheinfo.c: Here.
20294 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20296         * malloc/malloc-internal.h: Adjust header file guard.
20298 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20300         [BZ #19787]
20301         * inet/getnameinfo.c (check_sprintf_result): New function.
20302         (CHECKED_SNPRINTF): New macro.
20303         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
20304         to the host buffer.
20305         (gni_host_local): Use checked_copy to copy the host name.
20306         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
20307         (gni_serv_local): Use checked_copy to copy the service name.
20308         (getnameinfo): Remove unnecessary truncation of result buffers.
20310 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20312         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
20313         in case of inet_ntop failure.
20315 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20317         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
20318         avoid long lines.
20319         (gni_host_inet_numeric): Likewise.  Reduce scope of local
20320         variables.
20321         (gni_host_inet, gni_host_local): Add comment.
20322         (gni_host): Add comment.  Use temporary to avoid long lines.
20324 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20326         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
20327         registers specifiers where general purpose registers specifiers should
20328         have been used.
20330 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20332         [BZ #19779]
20333         CVE-2016-1234
20334         Avoid copying names of directory entries.
20335         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
20336         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
20337         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
20338         (struct readdir_result): New type.
20339         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
20340         (GL_READDIR): New macros.
20341         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
20342         (convert_dirent, convert_dirent64): New functions.
20343         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
20344         convert_dirent64.  Adjust references to the readdir result.
20345         * sysdeps/unix/sysv/linux/i386/glob64.c:
20346         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
20347         * posix/bug-glob2.c (LONG_NAME): Define.
20348         (filesystem): Add LONG_NAME.
20349         (my_DIR): Increase the size of room_for_dirent.
20351 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
20353         [BZ #20041]
20354         * misc/sys/select.h (__need_timespec): Only define if
20355         [__USE_XOPEN2K].
20356         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
20357         variable.
20358         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20359         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20360         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20362 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20363             Segher Boessenkool  <segher@gcc.gnu.org>
20365         [BZ #20004]
20366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
20367         (__novec_swapcontext): Add missing load.
20369 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
20371         [BZ #20023]
20372         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20373         <time.h>.
20374         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20375         variable.
20376         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20378 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20381         flags CLONE_VM compare.
20383 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20385         [BZ #20031]
20386         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20387         completely empty.
20389 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20391         [BZ #19573]
20392         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20393         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20394         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20395         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20396         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20397         (hesiod_free_list): Mark as hidden.
20398         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20399         res_set, res_get.
20400         * hesiod/hesiod.c: Remove unnecessary forward declarations.
20401         (init, __hesiod_res_get, __hesiod_res_set): Remove.
20402         (hesiod_init): Remove obsolete res_ninit call.
20403         (hesiod_end): Do not free resolver state.  Do not invoke callback.
20404         (hesiod_bind): Do not call init.
20405         (get_txt_records): Use res_mkquery, res_send instead of
20406         res_nmkquery, res_nsend.
20407         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20408         instead of _nss_hesiod_init.
20409         (_nss_hesiod_initgroups_dyn): Likewise.
20410         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20411         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20412         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20414 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20416         * hesiod/hesiod_p.h (DEF_RHS): Remove.
20417         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20419 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20421         * hesiod/hesiod.h: Remove RCS keyword.
20422         * hesiod/hesiod_p.h: Likewise.
20424         * hesiod/hesiod.c: Likewise.
20426 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
20428         [BZ #12450]
20429         * locale/iso-639.def: Add Samogitian/sgs.
20431 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20433         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20435         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20437 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
20438             Carlos O'Donell  <carlos@redhat.com>
20440         [BZ #19072]
20441         * grp/Makefile (headers): Add grp-merge.h
20442         (routines): Add grp-merge.
20443         * grp/getgrgid_r.c: Include grp-merge.h.
20444         (DEEPCOPY_FN): Define.
20445         (MERGE_FN): Define.
20446         * grp/getgrname_r.c: Include grp-merge.h.
20447         (DEEPCOPY_FN): Define.
20448         (MERGE_FN): Define.
20449         * grp/grp-merge.c: New file.
20450         * grp/grp-merge.h: New file.
20451         * include/grp-merge.h: New file.
20452         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20453         __copy_grp@GLIBC_PRIVATE.
20454         * manual/nss.texi (Actions in the NSS configuration): Describe
20455         return, continue, and merge.
20456         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20457         (DEEPCOPY_FN): Define.
20458         (MERGE_FN): Define.
20459         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20460         (DEEPCOPY_FN): Define.
20461         (MERGE_FN): Define.
20462         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20463         [!MERGE_FN]: Define __merge_einval.
20464         (CHECK_MERGE): Define.
20465         (REENTRANT_NAME): Process merge if do_merge is true.
20466         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20467         (__nss_getent_r): Likewise.
20468         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20469         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20471 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20473         [BZ #20012]
20474         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20475         length to calculate the buffer to read.
20476         (fmemopen_write): Set the buffer position based on bytes written.
20477         (fmemopen_seek): Return EINVAL for invalid whence modes.
20479         [BZ #19957]
20480         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20481         tst-getpid2.
20482         (test): Add tst-clone2.
20483         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20484         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20485         pid/tid fields for CLONE_VM.
20486         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20487         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20488         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20489         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20490         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20491         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20492         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20493         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20495         Likewise.
20496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20497         Likewise.
20498         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20499         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20500         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20501         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20502         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20503         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20504         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20505         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20507 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20509         [BZ #19642]
20510         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20511         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20512         (gni_serv_local, gni_serv): New functions extracted from
20513         getnameinfo.
20514         (getnameinfo): Call gni_host and gni_serv to perform the
20515         processing.  Always free scratch buffer.
20517 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20519         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20520         remaining bytes in the dest string, with zeros.
20522 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20524         [BZ #20010]
20525         CVE-2016-3706
20526         * sysdeps/posix/getaddrinfo.c
20527         (convert_hostent_to_gaih_addrtuple): New function.
20528         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20529         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20530         AF_INET data.
20532 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20534         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20535         callback function gl_readdir.
20536         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20537         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20538         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20539         memcpy to copy the name.
20540         * manual/pattern.texi (Calling Glob): Document requirements for
20541         implementations of the gl_readdir callback function.
20542         * manual/examples/mkdirent.c: New example.
20543         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20544         per the manual guidance.
20545         * posix/tst-gnuglob.c (my_readdir): Likewise.
20547 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20549         [BZ #20014]
20550         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20551         not [__USE_POSIX].
20552         (getchar_unlocked): Likewise.
20553         (putc_unlocked): Likewise.
20554         (putchar_unlocked): Likewise.
20555         (flockfile): Likewise.
20556         (ftrylockfile): Likewise.
20557         (funlockfile): Likewise.
20558         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20559         variable.
20560         (test-xfail-XPG4/stdio.h/conform): Likewise.
20562         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20563         Expect constant.
20564         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20565         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20566         variable.
20567         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20568         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20570         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20571         [__USE_LARGEFILE64] (off64_t): Likewise.
20572         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20573         variable.
20575 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20577         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20579 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20581         * resolv/inet_addr.c: Reindent preprocessor conditionals.
20582         * resolv/res_init.c: Likewise.
20583         * resolv/res_mkquery.c: Likewise.
20585 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20587         * resolv/res_init.c (isascii): Do not define.  Use definition in
20588         <ctype.h>.
20589         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20590         (LOG_AUTH): Remove.
20591         (SPRINTF): Remove, adjust caller.
20592         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20594 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20596         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20597         SUNSECURITY conditional.
20598         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20600 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20602         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20603         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20604         Remove BSD-related preprocessor conditionals.
20605         * conf/portability.h: Remove.
20607 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20609         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20610         * resolv/res_data.c: Likewise.
20612 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20614         * resolv/res_comp.c: Remove code conditional on __ultrix__.
20615         * resolv/res_data.c: Remove code conditional on ultrix.
20617 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20619         * resolv/res_init.c (RFC1535): Do not define.  Remove
20620         RFC1535 preprocessor conditionals.
20621         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
20622         because there configuration options which make the resolver
20623         behavior different.
20625 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20627         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
20628         RESOLVSORT preprocessor conditionals.
20629         * resolv/nss_dns/dns-host.c: Likewise.
20630         * resolv/res_init.c: Likewise.
20632 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20634         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
20635         is never defined.
20637 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20639         * inet/inet_lnaof.c: Remove SCSS keyword.
20640         * inet/inet_mkadr.c: Likewise.
20641         * inet/inet_net.c: Likewise.
20642         * inet/inet_netof.c: Likewise.
20643         * inet/rcmd.c: Likewise.
20644         * inet/rexec.c: Likewise.
20645         * inet/ruserpass.c: Likewise.
20647 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20649         * resolv/inet_addr.c: Remove _LIBC conditionals.
20650         * resolv/res_data.c: Likewise.
20651         * resolv/res_init.c: Likewise.
20652         * resolv/res_mkquery.c: Likewise.
20653         * resolv/res_libc.c: Update comment.
20654         * resolv/README: Update.
20656 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20658         * resolv/gethnamaddr.c: Remove SCSS keyword.
20659         * resolv/herror.c: Likewise.
20660         * resolv/inet_addr.c: Likewise.
20661         * resolv/inet_net_ntop.c: Likewise.
20662         * resolv/inet_net_pton.c: Likewise.
20663         * resolv/inet_neta.c: Likewise.
20664         * resolv/inet_ntop.c: Likewise.
20665         * resolv/inet_pton.c: Likewise.
20666         * resolv/ns_date.c: Remove RCS keyword.
20667         * resolv/ns_name.c: Likewise.
20668         * resolv/ns_netint.c: Likewise.
20669         * resolv/ns_parse.c: Likewise.
20670         * resolv/ns_print.c: Likewise.
20671         * resolv/ns_samedomain.c: Likewise.
20672         * resolv/ns_ttl.c: Likewise.
20673         * resolv/nsap_addr.c: Likewise.
20674         * resolv/res_comp.c: Remove SCSS and RCS keyword.
20675         * resolv/res_data.c: Remove RCS keyword.
20676         * resolv/res_debug.c: Remove SCSS and RCS keyword.
20677         * resolv/res_init.c: Likewise.
20678         * resolv/res_mkquery.c: Likewise.
20679         * resolv/res_query.c: Likewise.
20680         * resolv/res_send.c: Likewise.
20682 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20684         * conform/data/stdio.h-data (fdopen): Expect also for
20685         [XPG3 || XPG4].
20687         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20688         (fseeko): Likewise.
20689         (ftello): Likewise.
20690         (ftrylockfile): Likewise.
20691         (funlockfile): Likewise.
20692         (getc_unlocked): Likewise.
20693         (getchar_unlocked): Likewise.
20694         (putc_unlocked): Likewise.
20695         (putchar_unlocked): Likewise.
20697 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20699         [BZ #19868]
20700         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20701         DNS packet syntax checks (which were not needed before).  Skip
20702         over non-PTR records.
20704 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20706         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20707         definition.  Include <stddef.h> instead.
20709 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20711         [BZ #19831]
20712         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20713         function.
20714         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20715         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20717 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20719         [BZ #19862]
20720         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20721         (getanswer_r): Do not call syslog.
20722         (gaih_getanswer_slice): Likewise.
20723         * resolv/gethnamaddr.c (AskedForGot): Remove.
20724         (getanswer): Do not call syslog.
20725         (gethostbyaddr): Likewise.
20727 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20729         * conform/data/signal.h-data (union sigval): Expect also if
20730         [XOPEN2K].
20731         (struct sigevent): Likewise.
20732         (SIGEV_NONE): Likewise.
20733         (SIGEV_SIGNAL): Likewise.
20734         (SIGEV_THREAD): Likewise.
20735         (SIGRTMIN): Likewise.
20736         (SIGRTMAX): Likewise.
20737         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20738         variable.
20739         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20741 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20743         [BZ #19830]
20744         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20745         (gaih_getanswer_slice): Likewise.
20746         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20747         Also check for availability of RR metadata.
20749 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20751         [BZ #19825]
20752         * resolv/res_send.c (send_vc): Remove early *resplen2
20753         initialization.  Set *resplen2 on socket error.  Call
20754         close_and_return_error for other errors.
20756 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20758         * sysdeps/unix/sysv/linux/netiucv/iucv.h
20759         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20760         (SCM_IUCV_TRGCLS): New define.
20762 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20764         [BZ #20005]
20765         * libio/fmemopen.c (fmemopen_write): Update internal position after
20766         write.
20767         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20768         * stdio-common/tst-fmemopen4.c: New file..
20770 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
20772         [BZ #19996]
20773         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20774         not [__USE_XOPEN2K].
20775         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20776         variable.
20778         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20779         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20780         variable.
20782         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20783         [__USE_XOPEN2K8].
20784         [__USE_LARGEFILE64] (off64_t): Likewise.
20785         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20786         variable.
20788 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
20790         [BZ #19989]
20791         * libio/stdio.h (cuserid): Do not declare if
20792         [__USE_XOPEN2K && !__USE_GNU].
20793         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
20794         variable.
20796 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20798         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20799         (sysdep_routines): Add P8 and PPC64 strcspn targets.
20800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20801         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20802         ifunc'ed strcspn.
20803         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20804         [EALIGN]: Removed.
20805         [END]: Likewise
20806         [STRSPN]: Define instead of the above to control symbol name.
20807         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
20808         New file.
20809         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
20810         Likewise.
20811         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
20812         Likewise.
20813         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
20814         Likewise.
20815         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20816         [INITIAL_MASK]: New macro.
20817         [STRCSPN]: Likewise.
20818         [UPDATE_MASK]: Likewise.
20819         [USE_AS_STRCSPN]: Likewise.
20821 2016-04-25  Florian Weimer  <fweimer@redhat.com>
20823         [BZ #19931]
20824         * stdio-common/tst-vfprintf-width-prec.c: New file.
20825         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
20826         (tests-special): Add tst-vfprintf-width-prec-mem.out.
20827         (generated): Add mtrace-related files.
20828         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
20829         (tst-%-mem.out): New pattern rule, replaces
20830         tst-printf-bz18872-mem.out.
20831         * stdio-common/vfprintf.c (vfprintf): When handling a precision
20832         specifier, deallocate any previously allocated work buffer.
20834 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20836         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
20837         Add nop before __startcontext, add explaining comments.
20839 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
20841         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
20842         any more. Notably since IPV6_PKTINFO has been reintroduced with a
20843         completely different API.
20845         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
20846         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
20847         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
20848         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
20849         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
20850         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
20851         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
20852         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
20853         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
20854         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
20856 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
20858         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
20860 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
20862         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
20863         when it is the default of 0.
20865 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20867         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
20868         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20869         (sysdep_routines): Add new strcasestr targets.
20870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20871         (__libc_ifunc_impl_list): Likewise.
20872         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
20873         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
20874         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
20875         * sysdeps/powerpc/powerpc64/power8/Makefile:
20876         New file to add strcasestr-ppc64 to sysdep_routines.
20877         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
20878         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
20880 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
20882         * benchtests/Makefile (wcsmbs-benchset): Include only for
20883         native builds and runs.
20884         (LOCALES): Likewise.
20885         (bench-build): Build timing-type here instead of the bench
20886         target.  Generate locale only for native builds.
20887         * benchtests/README: Add note for cross-building.
20889         * benchtests/Makefile (bench-clean): Clean up extra-objs.
20891         * benchtests/README: Update README to include instructions on
20892         using bench-build.
20894         * Makefile.in (bench-build): New target.
20895         * Rules (PHONY): Add bench-build target.
20896         * benchtests/Makefile (bench): Depend on bench-build.
20897         (bench-build): New target.
20899 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20901         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
20902         profil_reply_port.
20903         (profile_waiter): Do not initialize profil_reply_port.
20904         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
20905         frequency instead of tick length in us.
20907 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
20909         [BZ #18712]
20910         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
20911         (__old_mempcpy_small): Likewise.
20912         (__old_strcpy_small): Likewise.
20913         (__old_stpcpy_small): Likewise.
20914         (__old_strpbrk_c2): Fix compat symbol name.
20915         (__old_strpbrk_c3): Likewise.
20916         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
20917         (__mempcpy_small): Remove.
20918         (__strcpy_small): Remove.
20919         (__stpcpy_small): Remove.
20921 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
20923         [BZ #19400]
20924         * locale/iso-639.def: Add the Talossan/tzl language.
20926 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20928         [BZ #16983]
20929         * locale/programs/ld-address.c (address_finish): Update postal_fmt
20930         comment.  Add "ln" to strchr check on postal_fmt.
20932 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20934         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
20935         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
20936         tel_dom_fmt.
20938 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20940         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20941         (sysdep_routines): Added __strlen_power8.
20942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
20943         __strlen_power8 entry.
20944         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
20945         Implementation for POWER8.
20946         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
20947         for __strlen_power8.
20948         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
20949         Implementation for POWER8.
20951 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
20953         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
20955 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
20957         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
20958         Goldmont and Airmont processors.
20960 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
20962         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
20963         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
20964         (__STRING2_SMALL_GET32): Remove.
20965         (memset): Remove.
20966         (__memset_1): Remove.
20967         (__memset_gc): Remove.
20968         (__mempcpy): Remove.
20969         (mempcpy): Remove.
20970         (__mempcpy_args): Remove.
20971         (strchr): Remove.
20972         (strcpy): Remove.
20973         (strcpy_args): Remove.
20974         (__stpcpy_args): Remove.
20975         (__strcmp_cc): Remove.
20976         (__strcmp_gc): Remove.
20977         (strstr): Remove.
20979 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
20981         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
20982         * nis/nis_call.c (nis_server_cache_add): Likewise.
20984 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20986         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
20988 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20990         * malloc/arena.c (__malloc_fork_lock_parent)
20991         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
20992         internal_function attribute.
20994 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
20996         * stdio-common/printf_fp.c (__printf_fp_l):
20997         Rename ___printf_fp_l to __printf_fp_l and
20998         remove strong alias. Use libc_hidden_def instead
20999         of ldbl_hidden_def macro.
21001 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21003         Remove malloc hooks from fork handler.  They are no longer needed
21004         because malloc runs right before fork, and no malloc calls from
21005         other fork handlers are not possible anymore.
21006         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
21007         declarations.
21008         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
21009         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
21010         (atfork_recursive_cntr): Remove.
21011         (__malloc_fork_lock_parent): Do not override malloc hooks and
21012         thread_arena.
21013         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
21014         thread_arena.
21015         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
21016         thread_arena instead of save_arena.
21018 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21020         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
21021         (thread_atfork, thread_atfork_static): Remove.
21022         * sysdeps/mach/hurd/malloc-machine.h:
21023         (thread_atfork, thread_atfork_static): Remove.
21025 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21027         [BZ #19431]
21028         Run the malloc fork handler as late as possible to avoid deadlocks.
21029         * malloc/malloc-internal.h: New file.
21030         * malloc/malloc.c: Include it.
21031         * malloc/arena.c (ATFORK_MEM): Remove.
21032         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
21033         Update comment.
21034         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
21035         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
21036         Remove outdated comment.
21037         (ptmalloc_init): Do not call thread_atfork.  Remove
21038         thread_atfork_static.
21039         * malloc/tst-malloc-fork-deadlock.c: New file.
21040         * Makefile (tests): Add tst-malloc-fork-deadlock.
21041         (tst-malloc-fork-deadlock): Link against libpthread.
21042         * manual/memory.texi (Aligned Memory Blocks): Update safety
21043         annotation comments.
21044         * sysdeps/nptl/fork.c (__libc_fork): Call
21045         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
21046         __malloc_fork_unlock_child.
21047         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
21049 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21051         [BZ #19613]
21052         Remove union wait.
21053         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
21054         (w_stopsig, w_stopval): Remove.
21055         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
21056         stat_loc argument.
21057         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
21058         (__WAIT_STATUS_DEFN): Remove.
21059         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21060         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
21061         (wait, wait3, wait4): Use int * for the stat_loc argument.
21062         * posix/wait.c (__wait): Likewise.
21063         * posix/wait3.c (__wait3): Likewise.
21064         * posix/wait4.c (__wait4): Likewise.
21065         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
21066         (__WAIT_STATUS_DEFN): Remove.
21067         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21068         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
21069         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
21070         argument.
21071         * sysdeps/posix/wait.c (__libc_wait): Likewise.
21072         * sysdeps/posix/wait3.c (__wait3): Likewise.
21073         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
21074         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21075         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
21076         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
21077         stat_loc argument.
21078         * manual/process.texi (BSD Wait Functions): Remove union wait.
21080 2016-04-13  Andreas Schwab  <schwab@suse.de>
21082         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21083         (test-extras): Add tst-tlsalign-vars.
21084         * math/Makefile: Wrap long lines.
21085         (libm-vec-test-wrappers): Define.
21086         (test-extras): Add $(libm-vec-test-wrappers).
21087         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21088         * nss/Makefile (extra-test-objs): Add nss_test1.os.
21089         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21090         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21091         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21092         (extra-test-objs): Add corresponding objects.
21094 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
21096         [BZ #19928]
21097         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21098         New.
21099         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21100         times of shared cache size.
21101         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21102         (VMOVNT): New.
21103         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21104         (VMOVNT): Likewise.
21105         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21106         (VMOVNT): Likewise.
21107         (VMOVU): Changed to movups for smaller code sizes.
21108         (VMOVA): Changed to movaps for smaller code sizes.
21109         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21110         comments.
21111         (PREFETCH): New.
21112         (PREFETCH_SIZE): Likewise.
21113         (PREFETCHED_LOAD_SIZE): Likewise.
21114         (PREFETCH_ONE_SET): Likewise.
21115         Rewrite to use forward and backward loops, which move 4 vector
21116         registers at a time, to support overlapping addresses and use
21117         non temporal store if size is above the threshold and there is
21118         no overlap between destination and source.
21120 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
21122         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21123         Include dl-vdso.
21124         * sysdeps/unix/sysv/linux/mips/Versions: Add
21125         __vdso_clock_gettime.
21126         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21127         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21128         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21129         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21130         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21131         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21132         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21133         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21134         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21136 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21138         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21139         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21140         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21141         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21142         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21143         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21146         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21147         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21148         syscalls generation.
21149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21150         [__NR_pwrite64] (__NR_write): Remove define.
21151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21152         [__NR_pwrite64] (__NR_write): Remove define.
21153         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
21154         Remove define.
21155         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
21156         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
21157         Remove define.
21158         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
21159         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
21160         Linux implementation as base.
21161         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21163         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
21164         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
21165         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
21168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21169         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
21170         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
21171         syscall generation.
21172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21173         [__NR_pread64] (__NR_pread): Remove define.
21174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21175         [__NR_pread64] (__NR_pread): Likewise.
21176         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
21177         define.
21178         (__libc_pread): Use SYSCALL_LL macro on offset argument.
21179         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
21180         Remove define.
21181         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
21182         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
21183         Linux implementation as base.
21184         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21185         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21186         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21188         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
21189         definition.
21190         (__ALIGNMENT_COUNT): Likewise.
21191         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
21192         (__ALIGNMENT_COUNT): Likewise.
21193         (SYSCALL_LL): New define.
21194         (SYSCALL_LL64): Likewise.
21195         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
21196         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
21197         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
21198         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
21200         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21201         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
21202         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21203         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21204         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21205         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21207 2016-04-11  Florian Weimer  <fweimer@redhat.com>
21209         [BZ #19865]
21210         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
21211         original buffer before retry.
21213 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21215         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
21216         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
21217         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
21218         GLRO(dl_auxv) list.
21219         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
21220         including <ldsodefs.h>.
21221         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
21223 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
21225         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
21226         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
21227         $(CPPFLAGS).
21229 2016-04-09  Khem Raj  <raj.khem@gmail.com>
21231         [BZ #17950]
21232         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
21233         Add -mfpmath=387.
21235 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
21237         * sysdeps/i386/configure.ac: Change == to = when calling test.
21238         * sysdeps/x86_64/configure.ac: Likewise.
21239         * sysdeps/i386/configure: Regenerated.
21240         * sysdeps/x86_64/configure: Likewise.
21242 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
21244         [BZ #16137]
21245         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
21246         * benchtests/bench-strcoll.c (input_files): Likewise.
21247         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21248         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
21249         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
21251 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
21253         [BZ #19929]
21254         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
21255         [__USE_XOPEN2K8 && !__USE_GNU].
21256         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
21257         variable.
21259         [BZ #19925]
21260         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
21261         define if [!__USE_MISC && __USE_XOPEN2K].
21262         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
21263         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
21264         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
21265         Likewise.
21266         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
21267         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
21268         variable.
21269         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21271 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21273         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21274         (sysdep_routines): Add new strspn targets.
21275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21276         (__libc_ifunc_impl_list): Add strspn.
21277         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21278         New file.
21279         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
21280         Likewise.
21281         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
21282         Likewise.
21283         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21284         Likewise.
21286 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21288         * misc/hsearch_r.c: Include <limits.h>.
21290 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21292         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
21294 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21296         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
21297         (MEMCPY_SYMBOL): New.
21298         (MEMPCPY_SYMBOL): Likewise.
21299         (MEMMOVE_CHK_SYMBOL): Likewise.
21300         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
21301         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
21302         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
21303         Provide alias for memcpy in libc.a and ld.so.
21305 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21307         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
21308         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
21309         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
21310         Disabled fro now.
21311         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
21312         symbols.  Properly check USE_MULTIARCH on __memset symbols.
21314 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21316         * benchtests/Makefile (string-benchset): Add memcpy-large,
21317         memmove-large and memset-large.
21318         * benchtests/bench-memcpy-large.c: New file.
21319         * benchtests/bench-memmove-large.c: Likewise.
21320         * benchtests/bench-memmove-large.c: Likewise.
21321         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
21323 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21325         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
21326         32-bit displacement to avoid long nop between instructions.
21328 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21330         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
21331         a comment on VMOVU and VMOVA.
21333 2016-04-04  Florian Weimer  <fweimer@redhat.com>
21335         [BZ #19633]
21336         Use specified locale for number formatting in strfmon_l.
21337         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
21338         (__nl_lookup_word): New inline functions.
21339         * include/printf.h (__print_fp_l): Declare.
21340         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
21341         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
21342         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21343         (___printf_fp): New function.
21344         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
21345         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
21346         * stdlib/tst-strfmon_l.c (do_test): New test.
21347         * stdlib/Makefile (tests): Add kt.
21348         (LOCALES): Build additional locales.
21349         (tst-strfmon_l.out): Require locales.
21351 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21353         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
21354         if not in libc.
21355         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21356         Likewise.
21357         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
21358         Likewise.
21359         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21360         Likewise.
21362 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21364         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21365         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
21366         with unaligned_erms.
21367         (__memmove_erms): Skip if source == destination.
21368         (__memmove_unaligned_erms): Don't check source == destination
21369         first.
21371 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21373         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21374         bit_arch_Fast_Copy_Backward for Intel Core proessors.
21376 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21378         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21379         * string/strspn.c (strspn): Likewise.
21381 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21383         * benchtests/bench-memset.c (do_test): Support 64-byte
21384         alignment.
21385         (test_main): Test 64-byte alignment.
21387 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21389         * benchtests/bench-memmove.c (test_main): Test 64-byte
21390         alignment.
21392 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21394         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21396 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21398         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21399         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21400         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21402         * string/strpbrk.c (strpbrk): Rewrite function.
21403         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21404         (__strpbrk_c2): Likewise.
21405         (__strpbrk_c3): Likewise.
21406         * string/string-inlines.c
21407         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21408         Likewise.
21409         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21410         Likewise.
21412         * string/strspn.c (strcspn): Rewrite function.
21413         * string/bits/string2.h (strspn): Use __builtin_strcspn.
21414         (__strspn_c1): Remove inline function.
21415         (__strspn_c2): Likewise.
21416         (__strspn_c3): Likewise.
21417         * string/string-inlines.c
21418         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21419         compatibility symbol.
21420         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21421         Likewise.
21422         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21423         Likewise.
21424         * string/string-inlines.c: Include generic version.
21426 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
21427             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21429         * string/Version (libc): Add GLIBC_2.24.
21430         * string/strcspn.c (strcspn): Rewrite function.
21431         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21432         (__strcspn_c1): Remove inline function.
21433         (__strcspn_c2): Likewise.
21434         (__strcspn_c3): Likewise.
21435         * string/string-inline.c
21436         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21437         compatibility symbol.
21438         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21439         Likewise.
21440         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21441         Likewise.
21442         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21444 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21446         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21447         Use ahi instead of aghi to adjust stack pointer.
21449 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21451         [BZ #19853]
21452         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21453         TEST to take significant digits as second parameter.
21454         [TEST]: Redefine in terms of TEST_N taking 30
21455         significant digits.
21456         (do_test): Add test case to demonstrate precision
21457         failure in the ldbl-128ibm printf.
21458         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21459         (__mpn_extract_long_double): Carry 7 extra intermediate
21460         bits of precision to aide computing difference when
21461         signs differ.
21463 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21465         [BZ #19881]
21466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21467         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21468         memset-avx512-unaligned-erms.
21469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21470         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21471         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21472         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21473         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21474         __memset_sse2_unaligned_erms, __memset_erms,
21475         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21476         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21477         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21478         file.
21479         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21480         Likewise.
21481         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21482         Likewise.
21483         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21484         Likewise.
21486 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21488         [BZ #19776]
21489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21490         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21491         memmove-avx512-unaligned-erms.
21492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21493         (__libc_ifunc_impl_list): Test
21494         __memmove_chk_avx512_unaligned_2,
21495         __memmove_chk_avx512_unaligned_erms,
21496         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21497         __memmove_chk_sse2_unaligned_2,
21498         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21499         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21500         __memmove_avx512_unaligned_erms, __memmove_erms,
21501         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21502         __memcpy_chk_avx512_unaligned_2,
21503         __memcpy_chk_avx512_unaligned_erms,
21504         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21505         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21506         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21507         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21508         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21509         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21510         __mempcpy_chk_avx512_unaligned_erms,
21511         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21512         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21513         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21514         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21515         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21516         __mempcpy_erms.
21517         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21518         file.
21519         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21520         Likewise.
21521         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21522         Likewise.
21523         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21524         Likewise.
21526 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21528         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21529         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21530         (La_s390_64_regs): Likewise.
21531         (La_s390_32_retval): Append vector register lrv_v24.
21532         (La_s390_64_retval): Likeweise.
21533         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21534         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21535         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21536         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21538 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21540         [BZ #19916]
21541         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21542         to create a non-vector/vector version for _dl_runtime_resolve and
21543         _dl_runtime_profile. Move implementation to ...
21544         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21545         (_dl_runtime_resolve) Save and restore fpr/vrs.
21546         (_dl_runtime_profile) Save and restore vrs and fix some issues
21547         if _dl_call_pltexit is called.
21548         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21549         Choose the correct resolver function if running on a machine with vx.
21550         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21551         to create a non-vector/vector version for _dl_runtime_resolve and
21552         _dl_runtime_profile. Move implementation to ...
21553         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21554         (_dl_runtime_resolve) Save and restore fpr/vrs.
21555         (_dl_runtime_profile) Save and restore vrs and fix some issues
21556         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21557         Choose the correct resolver function if running on a machine with vx.
21559 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21561         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21563 2016-03-31  Florian Weimer  <fweimer@redhat.com>
21565         [BZ #19509]
21566         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21567         skip_map != NULL.
21568         * elf/tst-dlsym-error.c: New file.
21569         * elf/Makefile (tests): Add tst-dlsym-error.
21570         (tst-dlsym-error): Link against libdl.
21572 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
21574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21575         (__ASSUME_FUTIMESAT): Remove macro.
21576         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21578 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21580         [BZ #19879]
21581         CVE-2016-3075
21582         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21583         copy name.
21585 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21587         [BZ #19837]
21588         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21589         error if parse_line fails.
21591 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21593         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21594         (index_cpu_ERMS): Likewise.
21595         (reg_ERMS): Likewise.
21597 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
21599         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21600         PER_LINUX_FDPIC): Add.
21602 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21605         memcpy-avx512-no-vzeroupper.
21606         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21607         to ...
21608         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21609         (MEMCPY): Don't define.
21610         (MEMCPY_CHK): Likewise.
21611         (MEMPCPY): Likewise.
21612         (MEMPCPY_CHK): Likewise.
21613         (MEMPCPY_CHK): Renamed to ...
21614         (__mempcpy_chk_avx512_no_vzeroupper): This.
21615         (MEMPCPY_CHK): Renamed to ...
21616         (__mempcpy_chk_avx512_no_vzeroupper): This.
21617         (MEMCPY_CHK): Renamed to ...
21618         (__memmove_chk_avx512_no_vzeroupper): This.
21619         (MEMCPY): Renamed to ...
21620         (__memmove_avx512_no_vzeroupper): This.
21621         (__memcpy_avx512_no_vzeroupper): New alias.
21622         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21624 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21626         [BZ #18858]
21627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21628         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21629         and mempcpy-avx512-no-vzeroupper.
21630         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21631         New.
21632         (MEMPCPY): Likewise.
21633         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21634         (MEMPCPY_CHK): New.
21635         (MEMPCPY): Likewise.
21636         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21637         (MEMPCPY): Likewise.
21638         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21639         (MEMPCPY): Likewise.
21640         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21641         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21642         Likewise.
21643         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21644         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21646 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21647              Amit Pawar  <Amit.Pawar@amd.com>
21649         [BZ #19583]
21650         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21651         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21652         processors.  Set Fast_Copy_Backward for AMD Excavator
21653         processors.
21654         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21655         New.
21656         (index_arch_Fast_Unaligned_Copy): Likewise.
21657         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21658         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21660 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21662         [BZ #19791]
21663         * resolv/res_send.c (close_and_return_error): New function.
21664         (send_dg): Initialize *resplen2 after reopen failure.  Call
21665         close_and_return_error for error returns.  On error paths without
21666         __res_iclose, initialze *resplen2 explicitly.  Update comment for
21667         successful return.
21669 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21671         [BZ #19860]
21672         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21673         zero if the compiler does not provide the AVX512F bit.
21675 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
21677         [BZ #19848]
21678         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21679         from 8 to 4.
21680         (__ieee754_powl): Compare integer exponent against 4 not 8.
21681         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21682         from 8 to 4.
21683         (__ieee754_powl): Compare integer exponent against 4 not 8.
21684         * math/auto-libm-test-in: Add more tests of pow.
21685         * math/auto-libm-test-out: Regenerated.
21686         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21689 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21691         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21692         Make code unconditional.
21693         [!__NR_utimensat]: Remove conditional code.
21694         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21695         Make code unconditional.
21696         [!__NR_utimensat]: Remove conditional code.
21697         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21698         Make code unconditional.
21699         [!__NR_utimensat]: Remove conditional code.
21701 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21703         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21704         Make code unconditional.
21706 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
21708         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21709         call-clobbered %eax on retry path.
21710         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21712 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21714         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21715         Don't set %rcx twice before "rep movsb".
21717 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21719         [BZ #19583]
21720         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21721         inline.  Check family before setting family, model and
21722         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
21723         bits here.
21724         (init_cpu_features): Replace HAS_CPU_FEATURE and
21725         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21726         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
21727         for Intel processors with usable AVX2.  Call get_common_indeces
21728         for other processors with family == NULL.
21729         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21730         (CPU_FEATURES_ARCH_P): Likewise.
21731         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21732         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21734 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21736         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21737         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21738         $(shared-thread-library) instead of hardcoding the path to libpthread.
21740 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
21742         * sysdeps/unix/sysv/linux/kernel-features.h
21743         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21744         * sysdeps/unix/sysv/linux/getdents.c
21745         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21746         [!have_no_getdents64_defined]: Likewise.
21747         (__GETDENTS): Remove __have_no_getdents64 conditional.
21749 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
21751         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21752         Remove macro.
21753         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21754         <kernel-features.h>.
21755         (signalfd) [__NR_signalfd4]: Make code unconditional.
21756         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21758 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21760         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21761         style.
21763 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21765         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21766         (__pthread_enable_asynccancel): Use JUMPTARGET to call
21767         __pthread_unwind.
21768         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21769         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21770         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21771         (__condvar_cleanup1): Likewise.
21773 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
21775         [BZ #19822]
21776         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21777         move it to the final $@ location.
21779 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21781         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21782         access where posix_spawn success and pid argument is null.
21783         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21784         success case.
21786 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
21788         * sysdeps/mach/hurd/i386/c++-types.data: New file.
21790         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
21792         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
21793         and __fcntl.
21794         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
21795         __fcntl only.
21796         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
21797         adding attribute_hidden to __open and __fcntl.
21799         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
21800         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
21801         depend on libc-modules.h,
21802         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
21804 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
21806         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
21807         Remove macro.
21808         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
21809         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
21810         entry.
21812         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
21813         Remove macro.
21814         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
21815         include <kernel-features.h>.
21816         [!__ASSUME_FALLOCATE]: Remove conditional code.
21817         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
21819 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21821         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
21822         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
21823         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
21824         (_ZGVdN4v_cos_avx2): Likewise.
21825         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
21826         (_ZGVdN4v_cos): Likewise.
21827         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
21828         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
21829         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
21830         (_ZGVdN4v_exp_avx2): Likewise.
21831         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
21832         (_ZGVdN4v_exp): Likewise.
21833         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
21834         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
21835         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
21836         (_ZGVdN4v_log_avx2): Likewise.
21837         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
21838         (_ZGVdN4v_log): Likewise.
21839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
21840         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
21841         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
21842         (_ZGVdN4vv_pow_avx2): Likewise.
21843         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
21844         (_ZGVdN4vv_pow): Likewise.
21845         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
21846         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
21847         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
21848         (_ZGVdN4v_sin_avx2): Likewise.
21849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
21850         (_ZGVdN4v_sin): Likewise.
21851         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
21852         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
21853         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
21854         (_ZGVdN4vvv_sincos_avx2): Likewise.
21855         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
21856         (_ZGVdN4vvv_sincos): Likewise.
21857         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
21858         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
21859         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
21860         (_ZGVbN4v_cosf_sse4): Likewise.
21861         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
21862         (_ZGVdN8v_cosf_avx2): Likewise.
21863         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
21864         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
21865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
21866         (_ZGVbN4v_expf_sse4): Likewise.
21867         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
21868         (_ZGVdN8v_expf_avx2): Likewise.
21869         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
21870         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
21871         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
21872         (_ZGVbN4v_logf_sse4): Likewise.
21873         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
21874         (_ZGVdN8v_logf_avx2): Likewise.
21875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
21876         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
21877         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
21878         (_ZGVbN4vv_powf_sse4): Likewise.
21879         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
21880         (_ZGVdN8vv_powf_avx2): Likewise.
21881         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21882         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
21883         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21884         (_ZGVbN4vvv_sincosf_sse4): Likewise.
21885         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21886         (_ZGVdN8vvv_sincosf_avx2): Likewise.
21887         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
21888         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
21889         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
21890         (_ZGVbN4v_sinf_sse4): Likewise.
21891         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
21892         (_ZGVdN8v_sinf_avx2): Likewise.
21893         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21894         Use JUMPTARGET to call callee.
21895         (WRAPPER_IMPL_SSE2_ff): Likewise.
21896         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21897         (WRAPPER_IMPL_AVX): Likewise.
21898         (WRAPPER_IMPL_AVX_ff): Likewise.
21899         (WRAPPER_IMPL_AVX_fFF): Likewise.
21900         (WRAPPER_IMPL_AVX512): Likewise.
21901         (WRAPPER_IMPL_AVX512_ff): Likewise.
21902         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21903         Likewise.
21904         (WRAPPER_IMPL_SSE2_ff): Likewise.
21905         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21906         (WRAPPER_IMPL_AVX): Likewise.
21907         (WRAPPER_IMPL_AVX_ff): Likewise.
21908         (WRAPPER_IMPL_AVX_fFF): Likewise.
21909         (WRAPPER_IMPL_AVX512): Likewise.
21910         (WRAPPER_IMPL_AVX512_ff): Likewise.
21911         (WRAPPER_IMPL_AVX512_fFF): Likewise.
21913 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21915         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
21916         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
21917         qualifier.
21918         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
21919         internal_function qualifiers.
21921 2016-03-15  Carlos O'Donell <carlos@redhat.com>
21923         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
21924         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
21925         * math/atest-exp.c (exp_mpn): Mark chk unused.
21926         * math/atest-exp2.c (exp_mpn): Likewise.
21927         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
21928         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
21930 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
21932         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
21933         Remove macro.
21934         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
21935         <kernel-features.h>.
21936         [__NR_ppoll]: Make code unconditional.
21937         [!__ASSUME_PPOLL]: Remove conditional code.
21939         * sysdeps/unix/sysv/linux/kernel-features.h
21940         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
21941         (__ASSUME_ACCEPT4): Likewise.
21942         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21943         Define.
21944         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
21945         Likewise.
21946         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21947         Likewise.
21948         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
21949         Likewise.
21950         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
21951         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
21952         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21953         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21954         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21955         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21956         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21957         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21958         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21959         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21960         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21961         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21962         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21963         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21964         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21965         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21966         Likewise.
21967         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21968         Likewise.
21969         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21970         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21971         0x040300].
21972         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21973         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21974         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21975         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21976         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21977         0x030300].
21978         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
21979         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21980         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21981         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21982         0x040300].
21983         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21984         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21985         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21986         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21987         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21988         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21989         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21990         0x030300].
21991         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21992         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21993         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21994         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21995         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21996         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21997         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21998         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21999         * sysdeps/unix/sysv/linux/s390/kernel-features.h
22000         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22001         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22002         0x040300].
22003         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22004         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22005         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22006         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22007         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22008         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22009         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22010         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22011         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22012         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22013         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22014         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22015         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22016         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22017         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
22018         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22019         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22020         Likewise.
22021         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22022         Likewise.
22024 2016-03-15  Andreas Schwab  <schwab@suse.de>
22026         [BZ #19257]
22027         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
22028         statp->_u._ext.nscount as loop count.
22030 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22032         * math/test-signgam-finite-c99.c: Also #undef
22033         __LIBC_INTERNAL_MATH_INLINES.
22034         * math/test-signgam-main.c: Likewise.
22036 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
22038         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
22039         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22040         (MADV_FREE): Likewise.
22041         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
22042         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
22043         EPOLLEXCLUSIVE.
22045 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
22047         * timezone/README: Remove mention of checktab.awk. Mention wiki
22048         SharedSourceFiles.
22050 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
22052         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
22053         WUNTRACED.
22055 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22057         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
22058         order to match the type of p when calling atomic_exchange_acq().
22060 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22062         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
22063         cfi_offset calls.
22064         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22065         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
22066         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
22067         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
22068         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
22070 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
22072         * timezone/checktab.awk: Removed.
22074 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
22076         * manual/math.texi (Errors in Math Functions): Document relaxed
22077         accuracy goals for IBM long double.
22078         * math/libm-test.inc (test_exceptions): Always allow spurious
22079         "underflow" and "inexact" exceptions for IBM long double.
22081 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
22083         [BZ #19762]
22084         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22085         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22086         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22087         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22088         (bit_arch_*): This for feature array.
22089         (bit_*): Renamed to ...
22090         (bit_cpu_*): This for cpu array.
22091         (index_*): Renamed to ...
22092         (index_arch_*): This for feature array.
22093         (index_*): Renamed to ...
22094         (index_cpu_*): This for cpu array.
22095         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22096         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22097         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22098         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22099         bit_##name with index_cpu_##name and bit_cpu_##name.
22100         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22101         bit_##name with index_arch_##name and bit_arch_##name.
22103 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
22105         [BZ #19792]
22106         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22107         Terminate FDE before return label.
22109 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
22111         [BZ #19790]
22112         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22113         (rintl): Define as macro.
22114         [USE_AS_NEARBYINTL] (__rintl): Likewise.
22115         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22116         of fesetround.  Ensure results are evaluated before end of scope.
22117         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22118         USE_AS_NEARBYINTL and include s_rintl.c.
22119         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22120         Disable exception traps in new environment.
22121         (libc_feholdsetround_ppc_ctx): Likewise.
22123 2016-03-08  Roland McGrath  <roland@hack.frob.com>
22125         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22126         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22127         (tst_audit10_aux) [__AVX512F__]: ... here.
22129 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
22131         * include/sys/auxv.h: New file.
22133 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22135         [BZ #19759]
22136         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22138 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22140         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22141         operand modifier.
22142         (feclearexcept): Likewise.
22144 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22146         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22147         to reflect the entire 32-bit HWCAP.
22148         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22149         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
22151 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22153         [BZ #19783]
22154         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
22155         $(test-via-rtld-prefix).
22156         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
22158 2016-03-08  Florian Weimer  <fweimer@redhat.com>
22160         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
22161         union wait.  Report any non-zero exit status as error.
22163 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22165         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
22166         configured with --enable-hardcoded-path-in-tests.
22168 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
22170         [BZ #19677]
22171         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22172         (__ieee754_remainderl): Put zero low parts in canonical form.
22173         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
22174         file.  Based on
22175         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
22176         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
22177         with wrapper round test-fmodrem-ldbl-128ibm.c.
22178         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
22179         file.
22180         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
22181         Likewise.
22182         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
22183         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
22185 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22187         [BZ #19610]
22188         * elf/ldconfig.c (opt_link): Update comment.
22189         (options): Update help string for option -X.
22190         (search_dir): Unlink stale symbolic link only if updating symbolic
22191         links.
22192         * elf/tst-ldconfig-X.sh: New file.
22193         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
22194         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
22196 2016-03-07  Andreas Schwab  <schwab@suse.de>
22198         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
22199         needed arguments.
22201 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
22203         [BZ #15333]
22204         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
22205         to lstat64.
22207 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22209         * libio/filedoalloc.c (isatty): Remove.
22210         (local_isatty): Add comment.  Call __isatty directly.
22211         (_IO_file_doallocate): Update comment.  Assume _LIBC.
22212         * libio/wfiledoalloc.c (isatty): Remove.
22213         (_IO_wfile_doallocate): Update comment.
22215 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22217         [BZ #19269]
22218         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
22219         tst-audit4-aux.o.
22220         (tst-audit10): Depend on tst-audit10-aux.o.
22221         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
22222         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
22223         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
22224         instead of inline AVX code.
22225         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
22226         instead of inline AVX512 code.
22227         * sysdeps/x86_64/tst-audit4-aux.c: New file
22228         * sysdeps/x86_64/tst-audit10-aux.c: New file
22230         [BZ #19648]
22231         * test-skeleton.c (main): Do not set RLIMIT_DATA.
22233 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22235         [BZ #14750]
22236         [BZ #10354]
22237         [BZ #18433]
22238         * include/sched.h (__clone): Add hidden prototype.
22239         (__clone2): Likewise.
22240         * include/unistd.h (__dup): Likewise.
22241         * posix/Makefile (tests): Add tst-spawn2.
22242         * posix/tst-spawn2.c: New file.
22243         * sysdeps/posix/dup.c (__dup): Add hidden definition.
22244         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
22245         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22246         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22247         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22248         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22249         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
22250         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22251         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
22252         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22253         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22255         Likewise.
22256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22257         Likewise.
22258         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22259         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22260         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22261         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22262         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22263         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22264         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22265         * sysdeps/unix/sysv/linux/nptl-signals.h
22266         (____nptl_is_internal_signal): New function.
22267         * sysdeps/unix/sysv/linux/spawni.c: New file.
22269         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
22270         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
22271         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
22272         * posix/tst-execvp2.c (do_test): Likewise.
22273         * posix/tst-execvp3.c (do_test): Likewise.
22274         * posix/tst-execvp4.c (do_test): Likewise.
22275         * posix/tst-execvpe1.c: New file.
22276         * posix/tst-execvpe2.c: Likewise.
22277         * posix/tst-execvpe3.c: Likewise.
22278         * posix/tst-execvpe4.c: Likewise.
22279         * posix/tst-execvpe5.c: Likewise.
22280         * posix/tst-execvpe6.c: Likewise.
22282         [BZ #19534]
22283         * posix/execl.c (execl): Remove dynamic memory allocation.
22284         * posix/execle.c (execle): Likewise.
22285         * posix/execlp.c (execlp): Likewise.
22287 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22289         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
22290         Replace .text with .text.avx512.
22291         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
22292         Likewise.
22294 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
22296         * sysdeps/generic/libnsl.abilist: New file.
22297         * sysdeps/generic/libutil.abilist: New file.
22299 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22301         [BZ #19762]
22302         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
22303         HAS_ARCH_FEATURE with Fast_Rep_String.
22304         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
22305         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
22306         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
22307         Likewise.
22308         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
22309         Likewise.
22310         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
22311         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
22312         Likewise.
22313         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
22314         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
22315         Likewise.
22317 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22319         [BZ #19745]
22320         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
22321         with *%rax in call.
22323 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22325         [BZ #19745]
22326         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
22327         with *__libc_start_main@GOTPCREL(%rip) in call.
22329 2016-03-04  Roland McGrath  <roland@hack.frob.com>
22331         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
22332         inside conditional for nonempty $(CXX).
22334         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
22335         nonempty.
22337         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
22338         to test for empty $(CXX) rather than $(CXX) of "no".
22340 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22342         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
22344 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
22345             H.J. Lu  <hongjiu.lu@intel.com>
22347         [BZ #18880]
22348         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
22349         instead of Slow_BSF, and also check for Fast_Copy_Backward to
22350         enable __memcpy_ssse3_back.
22352 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22354         [BZ #19758]
22355         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22356         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
22358 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22360         [BZ #19490]
22361         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
22362         (__fentry__): Likewise.
22364 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22366         * gmon/Makefile (noprof): Add $(sysdep_noprof).
22367         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
22369 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22371         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
22372         __mcount_internal directly.
22373         (C_LABEL(__fentry__)): Likewise.
22374         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22375         directly.
22377 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22379         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22380         (__start_context): Call __setcontext directly.
22382 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
22384         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22385         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22386         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22387         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22388         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22389         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22390         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22391         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22392         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22393         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22394         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22395         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22396         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22397         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22398         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22399         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22400         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22401         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22402         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22403         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22404         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22405         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22406         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22407         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22408         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22409         Remove conditional code.
22410         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22411         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22412         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22413         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22414         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22415         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22416         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22417         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22418         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22419         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22420         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22421         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22423 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
22425         * NEWS (2.23): Fix typo in bug 19048 text.
22427 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
22429         [BZ #14259]
22430         * Makeconfig: Rename msgcatdir to localedir.
22431         Rename inst_msgcatdir to inst_localedir.
22432         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22433         * config.make.in: Add localedir.
22434         * elf/Makefile ($(objpfx)sotruss): Use localedir.
22435         (ldd-rewrite): Likewise.
22436         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22437         (install-others): Use inst_localedir.
22438         (CPPFLAGS): Use localedir.
22439         * locale/Makefile (locale-CPPFLAGS): Likewise.
22440         * po/Makefile (mo-installed): Use inst_localedir.
22442         [BZ #19575]
22443         * localedata/charmaps/GB18030: Update comments regarding PAU to
22444         non-PUA mappings.
22446 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
22448         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22449         test for header.
22450         * sysdeps/unix/sysv/linux/configure: Regenerated.
22451         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22452         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22453         Remove conditional code.
22454         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22456         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22457         Define to 3.2.0.
22458         (arch_minimum_kernel): Likewise.
22459         * sysdeps/unix/sysv/linux/configure: Regenerated.
22460         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22461         Define to 2.6.32.
22462         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22463         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22464         (arch_minimum_kernel): Define to 2.6.32.
22465         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22466         * README: Document Linux 3.2 requirement.
22467         * manual/install.texi (Linux): Document Linux 3.2 headers
22468         requirement.
22469         * INSTALL: Regenerated.
22471 2016-02-24  Andreas Schwab  <schwab@suse.de>
22473         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22474         if !NO_LONG_DOUBLE.
22476 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22478         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22479         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22481 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22483         [BZ #19512]
22484         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22486 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22488         * posix/tst-dir.c: Include libc-internal.h.
22490 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22492         [BZ #19056]
22493         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22494         * manual/filesys.texi (Reading/Closing Directory): Mention
22495         deprecaion.
22496         * posix/tst-dir.c (main): Disable deprecation warning in test.
22498 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22500         [BZ #19679]
22501         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22502         Renamed to ...
22503         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22504         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22505         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22506         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22507         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22508         * sysdeps/x86_64/dl-trampoline.h
22509         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22510         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22512 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22514         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22516 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22518         * elf/elf.h (R_386_GOT32X): New.
22519         (R_386_NUM): Update.
22520         (R_X86_64_GOTPCRELX: New.
22521         (R_X86_64_REX_GOTPCRELX): New.
22522         (R_X86_64_NUM): Update.
22524 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22526         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22528 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22530         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22531         assign attr->stackaddr to it, and adjust it down when
22532         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22533         [_STACK_GROWS_UP]: Delete assert.
22534         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22535         Implement stack grows up logic.
22536         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22537         stack grows up logic.
22539 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22541         * NEWS: Update with 2.24 template.
22543 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22545         [BZ #19678]
22546         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22547         Ensure +0.0 is returned when taking the next value below the least
22548         positive value.
22550 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22552         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22553         available.  Do not define NO_THREADS.
22554         * malloc/malloc.c: Do not check NO_THREADS.
22555         * malloc/arena.c: Likewise.
22557 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22559         * malloc/malloc.c (__libc_mallinfo): Update comment.
22560         (struct malloc_par): Remove max_total_mem member, it was always 0.
22561         (int_mallinfo): Store 0 into usmblks (no functional change).
22562         * malloc/hooks.c (struct malloc_state): Document that
22563         max_total_mem is always 0.
22564         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22565         always 0.
22566         * manual/memory.texi (Statistics of Malloc): Likewise.
22568 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22570         * malloc/malloc.c (sysmalloc): Do not update arena_max.
22571         * malloc/arena.c (arena_max): Remove.
22572         (heap_trim, _int_new_arena): Do not update arena_max.
22574 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22576         * resolv/res_init.c (res_ninit): Update comment.
22578 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22580         [BZ #19505]
22581         * posix/spawn_int.h: Add headers and include guard.
22582         (__spawn_valid_fd): New function.
22583         * posix/spawn_faction_addopen.c
22584         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22585         * posix/spawn_faction_addclose.c
22586         (posix_spawn_file_actions_addclose): Likewise.
22587         * posix/spawn_faction_adddup2.c
22588         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
22589         second file descriptor.
22590         * posix/spawn_valid_fd.c: New file.
22591         * posix/tst-posix_spawn-fd.c: New file.
22592         * posix/Makefile (routines): Add spawn_valid_fd.
22593         (tests): Add tst-posix_spawn-fd.
22595 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22597         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22598         (do_test): Limit the number of arenas, so that we can use fewer
22599         outer threads.  Limit timeout to 3 seconds, in preparation for a
22600         larger TIMEOUT value.
22602 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22604         [BZ #19674]
22605         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22606         sign in overflowing and underflowing results when overflow or
22607         underflow is detected early.  Include sign in result before rather
22608         than after scaling.
22610         [BZ #19603]
22611         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22612         (__ieee754_remainderl): Adjust sign of integer version of low part
22613         when taking absolute value of high part.
22614         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22615         * math/libm-test.inc (remainder_test_data): Add another test.
22616         (remquo_test_data): Likewise.
22618 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
22620         [BZ #19602]
22621         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22622         equal high parts and both low parts zero specially.
22623         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22624         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22625         Add test-fmodl-ldbl-128ibm.
22627         [BZ #19595]
22628         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22629         common logic for all cases of shifting subnormal results.  Do not
22630         insert sign bit in shifted mantissa.  Always pass -1023 as biased
22631         exponent to ldbl_insert_mantissa in subnormal case.
22633         [BZ #19594]
22634         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22635         on high and low parts then adjust result and use
22636         ldbl_canonicalize_int if needed.
22638         [BZ #19593]
22639         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22640         on high part and __floor or __ceil on low part then use
22641         ldbl_canonicalize_int if needed.
22643         [BZ #19592]
22644         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22645         high and low parts then use ldbl_canonicalize_int if needed.
22647         [BZ #17899]
22648         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22649         New function.
22650         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22651         on high and low parts then use ldbl_canonicalize_int if needed.
22653 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22655         * configure: Regenerated.
22657         * po/libc.pot: Regenerated.
22659         * po/be.po: Updated translation.
22660         * po/bg.po: Likewise.
22661         * po/ca.po: Likewise.
22662         * po/cs.po: Likewise.
22663         * po/da.po: Likewise.
22664         * po/el.po: Likewise.
22665         * po/eo.po: Likewise.
22666         * po/es.po: Likewise.
22667         * po/fi.po: Likewise.
22668         * po/fr.po: Likewise.
22669         * po/gl.po: Likewise.
22670         * po/hr.po: Likewise.
22671         * po/hu.po: Likewise.
22672         * po/ia.po: Likewise.
22673         * po/id.po: Likewise.
22674         * po/it.po: Likewise.
22675         * po/ja.po: Likewise.
22676         * po/lt.po: Likewise.
22677         * po/nb.po: Likewise.
22678         * po/nl.po: Likewise.
22679         * po/pt_BR.po: Likewise.
22680         * po/rw.po: Likewise.
22681         * po/sk.po: Likewise.
22682         * po/sl.po: Likewise.
22683         * po/sv.po: Likewise.
22684         * po/tr.po: Likewise.
22685         * po/zh_CN.po: Likewise.
22686         * po/zh_TW.po: Likewise.
22688         * version.h (RELEAES): Set to "development".
22689         (VERSION): Set to 2.23.90.
22691         * version.h (RELEASE): Set to "stable".
22692         (VERSION): Set to 2.23.
22693         * include/feature.h (__GLIBC_MINOR__): Set to 23.
22695         * NEWS: Updated fixed bugs.
22697 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
22698             Wilco Dijkstra  <wdijkstr@arm.com>
22700         [BZ #19462]
22701         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22702         (_STRING_INLINE_unaligned): This.
22703         * include/string.h: Include <string_private.h>.
22704         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22705         _STRING_INLINE_unaligned.
22706         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22707         (_STRING_INLINE_unaligned): New.
22708         * sysdeps/aarch64/string_private.h: New file.
22709         * sysdeps/generic/string_private.h: Likewise.
22710         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22711         * sysdeps/s390/string_private.h: Likewise.
22712         * sysdeps/x86/string_private.h: Likewise.
22713         * sysdeps/m68k/m680x0/m68020/bits/string.h
22714         (_STRING_ARCH_unaligned): Renamed to ...
22715         (_STRING_INLINE_unaligned): This.
22716         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22717         to ...
22718         (_STRING_INLINE_unaligned): This.
22719         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22720         to ...
22721         (_STRING_INLINE_unaligned): This.
22722         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22723         to ...
22724         (_STRING_INLINE_unaligned): This.
22726 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22727             H.J. Lu  <hongjiu.lu@intel.com>
22729         [BZ #19590]
22730         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22731         relocation.
22733 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
22735         [BZ #18665]
22736         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22737         *herrno_p.
22738         (gaih_getanswer): Document functional behviour. Return tryagain
22739         if any result is tryagain.
22740         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22741         when freed.
22742         * resolv/res_send.c: Add copyright text.
22743         (__libc_res_nsend): Document that MAXPACKET is expected.
22744         (send_vc): Document. Remove buffer reuse.
22745         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22746         size of the buffer. Add Dprint for truncated UDP buffer.
22748 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
22750         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22751         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22752         * INSTALL: Regenerate.
22754 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
22755             Jonathan Wakely  <jwakely@redhat.com>
22756             Carlos O'Donell  <carlos@redhat.com>
22758         [BZ 19439]
22759         * math/Makefile (tests): Add test-math-isinff.
22760         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22761         * math/bits/mathcalls.h [__USE_MISC]: Use
22762         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22763         functions not in C++11 and which don't conflict e.g. isinff,
22764         isinfl etc.
22765         * math/test-math-isinff.cc: New file.
22767 2016-02-12  Florian Weimer  <fweimer@redhat.com>
22769         * misc/bug18240.c (do_test): Set RLIMIT_AS.
22771 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22773         [BZ #19529]
22774         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22776 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22778         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22780 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
22782         [BZ #19550]
22783         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22784         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22785         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22786         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22787         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22788         New syscall entry.
22789         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22790         New syscall entry.
22791         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
22792         syscall entry.
22794 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
22796         [BZ #18240]
22797         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
22798         unsigned int wraparound.
22800 2016-01-27  Florian Weimer  <fweimer@redhat.com>
22802         [BZ #18240]
22803         * misc/bug18240.c: New test.
22804         * misc/Makefile (tests): Add it.
22806 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
22807             Joseph Myers  <joseph@codesourcery.com>
22809         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
22810         load in branch delay slot when less than a word of input left.
22812 2016-01-27  Andreas Schwab  <schwab@suse.de>
22814         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
22815         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
22816         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
22817         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
22819 2016-01-26  David S. Miller  <davem@davemloft.net>
22821         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
22823 2016-01-25  David S. Miller  <davem@davemloft.net>
22825         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
22826         __sqrtl_finite.
22827         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
22828         instead using versioned_symbol.
22829         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
22830         of entries.
22832         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
22833         __sqrtl_finite to GLIBC_2.23
22835 2016-01-25  Ricchard Henderson  <rth@redhat.com>
22837         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22839 2016-01-25  Andreas Schwab  <schwab@suse.de>
22841         [BZ #17514]
22842         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
22843         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
22844         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
22845         * nptl/tst-mutex-errorcheck.c: New file.
22847 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22849         [BZ #18560]
22850         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
22851         (IPCOP_semop): Likewise.
22852         (IPCOP_semget): Likewise.
22853         (IPCOP_semctl): Likewise.
22854         (IPCOP_msgsnd): Likewise.
22855         (IPCOP_msgrcv): Likewise.
22856         (IPCOP_msgget): Likewise.
22857         (IPCOP_msgctl): Likewise.
22858         (IPCOP_shmat): Likewise.
22859         (IPCOP_shmdt): Likewise.
22860         (IPCOP_shmget): Likewise.
22861         (IPCOP_shmctl): Likewise.
22863 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22865         * string/tst-endian.c: Include <libc-internal.h>.
22866         (do_test): Ignore tautological-compare warnings around
22867         "htobeXX (beXXtoh (i)) != i" and
22868         "htoleXX (leXXtoh (i)) != i" if-statements.
22870 2016-01-24  David S. Miller  <davem@davemloft.net>
22872         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
22873         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
22874         alias.
22875         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22876         __sqrtl_finite.
22878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22880 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
22882         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
22883         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
22884         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22886 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22888         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
22889         (thread_func): Use new function to simplify barrier check.
22890         (do_test): Use new function to simplify checking barrier exit
22891         code, and actually join the child thread.
22893 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22895         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
22896         semicolon.
22897         (__libc_tend): Likewise.
22898         (__libc_tabort): Likewise.
22900 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
22902         * sysdeps/nios2/libm-test-ulps: Update.
22903         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
22904         (__gtsf2): Likewise.
22905         (__unorddf2): Likewise.
22906         (__unordsf2): Likewise.
22907         (__ledf2): Likewise.
22909 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
22911         * nis/nis_table.c (__follow_path): Disable diagnostic for
22912         uninitialized variable that is a false positive for gcc 4.7.
22913         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
22915 2016-01-20  Roland McGrath  <roland@hack.frob.com>
22917         * sysdeps/nacl/lowlevellock-futex.h
22918         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
22919         Always evaluate PRIVATE argument.
22921 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
22923         [BZ #19490]
22924         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
22925         (pthread_cond_broadcast): Use ENTRY/END
22926         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
22927         (pthread_cond_signal): Likewise.
22928         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
22929         Likewise.
22930         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
22931         Likewise.
22932         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
22933         Likewise.
22935 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
22937         * sysdeps/ieee754/dbl-64/s_finite.c
22938         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
22939         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
22940         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
22941         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
22942         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
22944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
22945         (__gtsf2): Add as optional for libc.so.
22946         (__unordsf2): Likewise.
22947         (__signbit): Remove for libc.so.
22948         (__signbitl): Likewise.
22950 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22952         * iconvdata/bug-iconv11.c (test_ibm93x):
22953         Use %zu printf format specifier for size_t argument.
22955 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
22957         * math/gen-libm-test.pl (parse_ulps): Do not reduce
22958         already-recorded ulps.
22959         * sysdeps/arm/libm-test-ulps: Regenerated.
22960         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22961         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22962         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22964 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22965             Paul Pluzhnikov  <ppluzhnikov@google.com>
22967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
22968         assembler not supporting AVX-512.
22970 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
22972         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22974 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
22976         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22977         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22979         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22981         * sysdeps/arm/libm-test-ulps: Regenerated.
22983 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22985         [BZ #19451]
22986         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
22988 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22990         [BZ #19486]
22991         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
22992         * sysdeps/generic/fix-fp-int-convert-overflow.h
22993         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
22994         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
22995         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
22996         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
22997         Likewise.
22998         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
22999         Avoid conversions to long int where inexact exceptions
23000         could be raised.
23001         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
23002         Likewise.
23003         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
23004         Avoid conversions to long long int where inexact exceptions
23005         could be raised.
23006         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
23007         Likewise.
23009 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
23011         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
23012         * configure: Regenerated.
23014 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23016         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
23018 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
23020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
23021         outside of comment.
23023 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23025         * nptl/tst-barrier1.c: Add description on first line.
23026         * nptl/tst-barrier2.c: Likewise.
23027         * nptl/tst-barrier3.c: Likewise.
23028         * nptl/tst-barrier4.c: Likewise.
23029         * nptl/tst-barrier5.c: Likewise.
23031 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23033         [BZ #18868]
23034         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
23036 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
23039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23040         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
23041         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
23042         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
23043         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
23044         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23045         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23046         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23047         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23048         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23050 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23052         [BZ #13065]
23053         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
23054         new implementation.
23055         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
23056         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
23057         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
23058         (BARRIER_IN_THRESHOLD): New macro.
23059         * nptl/pthread_barrierattr_setpshared.c
23060         (pthread_barrierattr_setpshared): Clean up.
23061         * nptl/tst-barrier4.c: Correct comment.
23062         * nptl/tst-barrier5.c: New file.
23063         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
23064         (gen-as-const-headers): Remove lowlevelbarrier.sym.
23065         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
23066         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
23067         * nptl/lowlevelbarrier.sym: Remove.
23068         * nptl/DESIGN-barrier.txt: Remove.
23069         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
23070         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
23071         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
23072         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
23073         error.
23074         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
23075         implementation.
23077 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23079         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23080         (do_child): Mask SIGRTMIN while thr is running.
23082 2016-01-15  Martin Sebor  <msebor@redhat.com>
23084         [BZ #19432]
23085         * iconvdata/Makefile: Add bug-iconv11.
23086         * iconvdata/bug-iconv11.c: New test.
23087         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23088         * iconvdata/ibm933.c: Same.
23089         * iconvdata/ibm935.c: Same.
23090         * iconvdata/ibm937.c: Same.
23091         * iconvdata/ibm939.c: Same.
23093 2016-01-15  Martin Sebor  <msebor@redhat.com>
23095         [BZ #19443]
23096         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23097         [DEBUG] (_ufc_set_bits): Declare used.
23098         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23099         [DEBUG] (print_all): Declare used.
23100         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23101         operands of the ternary ?: expression to target type.
23102         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23103         calling the undeclared abort.
23104         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23106 2016-01-15  Martin Sebor  <msebor@redhat.com>
23108         [BZ #18755]
23109         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23110         warnings.
23111         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23112         (__gai_create_helper_thread): Same.
23113         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23114         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23115         to suppress -Wmaybe-uninitialized warnings.
23117 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
23119         [BZ #19465]
23120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23121         inside if.
23122         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23123         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23124         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23126 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
23128         [BZ #19466]
23129         * time/tst-mktime2.c (time_t_max): Removed.
23130         (time_t_min): Likewise.
23131         (TYPE_SIGNED): New.
23132         (TYPE_MINIMUM): Likewise.
23133         (TYPE_MAXIMUM): Likewise.
23134         (TIME_T_MIN): Likewise.
23135         (TIME_T_MAX): Likewise.
23136         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23137         and TIME_T_MIN.
23138         (do_test): Likewise.
23140 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
23142         [BZ #19467]
23143         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23144         index_Fast_Unaligned_Load flag for Excavator family CPUs.
23146 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
23148         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23150 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
23152         * benchtests/Makefile (PYTHON): Define.
23153         (bench-func): Use $(PYTHON) to run python scripts.
23154         ($(objpfx)bench-%.c): Likewise.
23156 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
23158         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
23159         leading slash when `file_name' is "/".
23161 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
23163         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
23164         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
23165         Likewise.
23166         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
23167         Likewise.
23168         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
23169         Likewise.
23170         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
23171         enum constant and macro.
23172         (PTRACE_SETSIGMASK): Likewise.
23173         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23174         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23175         (PTRACE_GETSIGMASK): Likewise.
23176         (PTRACE_SETSIGMASK): Likewise.
23177         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23178         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
23179         Likewise.
23180         (PTRACE_SETSIGMASK): Likewise.
23181         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23182         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23183         (PTRACE_GETSIGMASK): Likewise.
23184         (PTRACE_SETSIGMASK): Likewise.
23185         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23186         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
23187         Likewise.
23188         (PTRACE_SETSIGMASK): Likewise.
23189         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23190         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
23191         Likewise.
23192         (PTRACE_SETSIGMASK): Likewise.
23193         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23194         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
23195         Likewise.
23196         (PTRACE_SETSIGMASK): Likewise.
23197         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23199 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
23200             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23202         [BZ #19439]
23203         * math/bits/mathcalls.h
23204         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
23205         prototype.
23206         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
23208 2016-01-11  Andreas Schwab  <schwab@suse.de>
23210         [BZ #19253]
23211         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
23212         cache when TZDEFRULES was used.
23213         * time/tst-tzname.c: New file.
23214         * time/Makefile (test): Add tst-tzname.
23215         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
23216         * timezone/Makefile (test-zones): Add $(posixrules-file).
23217         ($(testdata)/$(posixrules-file)): New rule.
23219 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
23221         Fix doc quoting problems with Texinfo 5
23222         Without this change, in the info file output, Texinfo 5 quotes code
23223         in text with undirected single quotes 'like this' and generates
23224         code examples that with many PDF readers cannot be cut out of PDFs
23225         and pasted into code.
23226         * manual/libc.texinfo: Configure the libc manual like the GNU
23227         Emacs manual, by using @documentencoding and setting
23228         txicodequoteundirected and txicodequotebacktick.  This way,
23229         Texinfo 5 quotes code in text with directed single quotes ‘like
23230         this’ and produces examples that can be cut out of PDFs.  This
23231         change causes Texinfo 5 to generate info files that contain UTF-8
23232         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
23233         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
23235 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23237         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
23238         __libc_tabort, __libc_tend): New wrappers that enforce compiler
23239         barriers to their respective compiler built-ins.
23240         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
23241         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
23242         * sysdeps/powerpc/sysdep.h: Likewise.
23243         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
23244         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
23245         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
23247 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
23249         * scripts/config.guess: Revert previous shebang change.
23250         * scripts/config.sub: Likewise.
23251         * scripts/mkinstalldirs: Likewise.
23253 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23255         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
23256         PPC_FEATURE2_HAS_IEEE128.
23257         * sysdeps/powerpc/dl-procinfo.c:
23258         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
23260 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
23262         [BZ #19415]
23263         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
23264         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
23265         (_dl_lookup_address): Rewrite using function resolver trampoline.
23266         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
23267         two bits in address.
23269 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23271         * longlong.h: Change !__SHMEDIA__ to
23272         (!defined (__SHMEDIA__) || !__SHMEDIA__).
23273         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23275 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
23276             Joseph Myers  <joseph@codesourcery.com>
23277             Mark Shinwell  <shinwell@codesourcery.com>
23278             Andrew Stubbs  <ams@codesourcery.com>
23279             Rich Felker <dalias@libc.org>
23281         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
23283 2016-01-07  Richard Henderson  <rth@redhat.com>
23285         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
23287 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23289         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
23290         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
23291         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23292         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23293         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
23295 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
23296             Joseph Myers  <joseph@codesourcery.com>
23298         * timezone/private.h: Update from tzcode 2015g.
23299         * timezone/tzfile.h: Likewise.
23300         * timezone/tzselect.ksh: Likewise.
23301         * timezone/zdump.c: Likewise.
23302         * timezone/zic.c: Likewise.
23303         * timezone/ialloc.c: Remove file.
23304         * timezone/scheck.c: Likewise.
23305         * timezone/Makefile (extra-objs): Remove variable.
23306         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
23307         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
23308         -Wno-maybe-uninitialized.
23309         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
23310         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
23311         (CFLAGS-ialloc.c): Remove variable.
23312         (CFLAGS-scheck.c): Likewise.
23313         * timezone/README: Update list of files from tzcode.
23315 2016-01-07  Khem Raj  <raj.khem@gmail.com>
23317         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
23318         instead of __fxprintf when _LIBC is undefined.
23320 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
23322         * catgets/test-gencat.sh: Remove space after shebang.
23323         * conform/GlibcConform.pm: Likewise.
23324         * conform/check-header-lists.sh: Likewise.
23325         * conform/conformtest.pl: Likewise.
23326         * conform/linknamespace.pl: Likewise.
23327         * conform/list-header-symbols.pl: Likewise.
23328         * debug/catchsegv.sh: Likewise.
23329         * elf/genrtldtbl.awk: Likewise.
23330         * elf/tst-pathopt.sh: Likewise.
23331         * elf/tst-rtld-load-self.sh: Likewise.
23332         * grp/tst_fgetgrent.sh: Likewise.
23333         * iconvdata/gen-8bit-gap-1.sh: Likewise.
23334         * iconvdata/gen-8bit-gap.sh: Likewise.
23335         * iconvdata/gen-8bit.sh: Likewise.
23336         * iconvdata/run-iconv-test.sh: Likewise.
23337         * intl/tst-gettext.sh: Likewise.
23338         * intl/tst-gettext2.sh: Likewise.
23339         * intl/tst-gettext4.sh: Likewise.
23340         * intl/tst-gettext6.sh: Likewise.
23341         * intl/tst-translit.sh: Likewise.
23342         * io/ftwtest-sh: Likewise.
23343         * libio/test-freopen.sh: Likewise.
23344         * locale/gen-translit.pl: Likewise.
23345         * malloc/tst-mtrace.sh: Likewise.
23346         * manual/check-safety.sh: Likewise.
23347         * manual/libc-texinfo.sh: Likewise.
23348         * manual/tsort.awk: Likewise.
23349         * manual/xtract-typefun.awk: Likewise.
23350         * nptl/tst-cancel-wrappers.sh: Likewise.
23351         * nptl/tst-tls6.sh: Likewise.
23352         * posix/globtest.sh: Likewise.
23353         * posix/tst-getconf.sh: Likewise.
23354         * posix/wordexp-tst.sh: Likewise.
23355         * scripts/check-c++-types.sh: Likewise.
23356         * scripts/check-local-headers.sh: Likewise.
23357         * scripts/config.guess: Likewise.
23358         * scripts/config.sub: Likewise.
23359         * scripts/cpp: Likewise.
23360         * scripts/cross-test-ssh.sh: Likewise.
23361         * scripts/documented.sh: Likewise.
23362         * scripts/evaluate-test.sh: Likewise.
23363         * scripts/gen-libc-abis: Likewise.
23364         * scripts/gen-sorted.awk: Likewise.
23365         * scripts/list-fixed-bugs.py: Likewise.
23366         * scripts/merge-test-results.sh: Likewise.
23367         * scripts/mkinstalldirs: Likewise.
23368         * scripts/rellns-sh: Likewise.
23369         * scripts/test-installation.pl: Likewise.
23370         * scripts/update-copyrights: Likewise.
23371         * stdio-common/tst-printf.sh: Likewise.
23372         * stdio-common/tst-unbputc.sh: Likewise.
23373         * stdlib/tst-fmtmsg.sh: Likewise.
23374         * stdlib/tst-setcontext3.sh: Likewise.
23375         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23376         * sysdeps/unix/make-syscalls.sh: Likewise.
23378 2016-01-06  John David Anglin  <dave.anglin@bell.net>
23380         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23381         asm stw with atomic_exchange_rel.  Add explanatory comment.
23382         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23383         Likewise.
23385 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23387         [BZ #19122]
23388         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23389         * sysdeps/generic/dl-unistd.h: New file.
23390         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23392 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23394          [BZ #19122]
23395          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23396          * sysdeps/generic/dl-mman.h: New file.
23397          * sysdeps/mach/hurd/dl-mman.h: Likewise.
23399 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
23401         * manual/texinfo.tex: Update to version 2016-01-04.21 with
23402         trailing whitespace removed.
23403         * scripts/config.guess: Update to version 2016-01-01.
23404         * scripts/config.sub: Update to version 2016-01-01.
23405         * scripts/move-if-change: Update from gnulib.
23407 2016-01-04  Anton Blanchard  <anton@samba.org>
23409         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23410         for array indices.
23411         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23413 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
23415         * NEWS: Update copyright dates.
23416         * catgets/gencat.c (print_version): Likewise.
23417         * csu/version.c (banner): Likewise.
23418         * debug/catchsegv.sh: Likewise.
23419         * debug/pcprofiledump.c (print_version): Likewise.
23420         * debug/xtrace.sh (do_version): Likewise.
23421         * elf/ldconfig.c (print_version): Likewise.
23422         * elf/ldd.bash.in: Likewise.
23423         * elf/pldd.c (print_version): Likewise.
23424         * elf/sotruss.sh: Likewise.
23425         * elf/sprof.c (print_version): Likewise.
23426         * iconv/iconv_prog.c (print_version): Likewise.
23427         * iconv/iconvconfig.c (print_version): Likewise.
23428         * locale/programs/locale.c (print_version): Likewise.
23429         * locale/programs/localedef.c (print_version): Likewise.
23430         * login/programs/pt_chown.c (print_version): Likewise.
23431         * malloc/memusage.sh (do_version): Likewise.
23432         * malloc/memusagestat.c (print_version): Likewise.
23433         * malloc/mtrace.pl: Likewise.
23434         * manual/libc.texinfo: Likewise.
23435         * nptl/version.c (banner): Likewise.
23436         * nscd/nscd.c (print_version): Likewise.
23437         * nss/getent.c (print_version): Likewise.
23438         * nss/makedb.c (print_version): Likewise.
23439         * posix/getconf.c (main): Likewise.
23440         * scripts/test-installation.pl: Likewise.
23441         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23443         * All files with FSF copyright notices: Update copyright dates
23444         using scripts/update-copyrights.
23445         * intl/plural.c: Regenerated.
23446         * locale/programs/charmap-kw.h: Likewise.
23447         * locale/programs/locfile-kw.h: Likewise.
23449 2016-01-02  Helge Deller  <deller@gmx.de>
23451         [BZ #19285]
23452         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23453         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23454         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23455         (MADV_xxK_PAGES): Remove.
23457 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23459         [BZ #15421]
23460         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23461         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23462         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23463         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23465 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23467         [BZ #19408]
23468         * sysdeps/unix/sysv/linux/personality.c: New file.
23469         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23470         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23471         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23472         (sysdep_routines): Add personality.
23473         (tests): Add tst-personality.
23474         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23475         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23476         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23477         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23478         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23479         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23480         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23481         Likewise.
23482         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23483         Likewise.
23484         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23485         Likewise.
23486         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23487         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23488         Likewise.
23490 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23492         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23493         (PATH_ARM_SYSTYPE): Remove.
23494         (PATH_CPUINFO): Likewise.
23495         (IO_BASE_FOOTBRIDGE): Likewise.
23496         (IO_SHIFT_FOOTBRIDGE): Likewise.
23497         (struct platform): Likewise.
23498         (init_iosys): Remove compatibility code for 2.4 kernels.
23499         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23501 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23503         * malloc/tst-malloc-thread-fail.c: New file.
23504         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23505         (tst-malloc-thread-fail): Link against libpthread.
23507 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23509         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23510         (get_parser): New function.
23511         (main): New function.
23513 2015-12-29  Rob Wu  <rob@robwu.nl>
23515         [BZ #19369]
23516         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23518 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23520         [BZ #19270]
23521         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23523 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23525         [BZ #15421]
23526         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23528 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23530         [BZ #13690]
23531         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23532         after releasing it.
23533         (__lll_robust_unlock): Likewise.
23534         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23535         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23536         (lll_robust_unlock): Likewise.
23537         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23538         Prevent warnings in callers.
23540 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23542         * malloc/arena.c (list_lock): Update comment.
23544 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23546         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23547         __parse_hwcap_and_convert_at_platform to libc.a.
23549 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23551         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23552         platform and feature support for POWER9.
23553         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23554         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23555         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23556         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23557         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23558         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23559         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23560         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23562 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23564         Harmonize generic stdio-lock support with nptl
23566         This fixes build when _IO_funlockfile is a macro, fixes build where
23567         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23568         stack unwind.
23570         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23571         _IO_release_lock ): Use cleanup attribute on new
23572         _IO_acquire_lock_file variable instead of assuming that
23573         _IO_release_lock will be called.
23574         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23575         _IO_acquire_lock_needs_exceptions_enabled.
23576         (_IO_acquire_lock_clear_flags2): New macro.
23578 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23580         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23582 2015-12-21  Florian Weimer  <fweimer@redhat.com>
23584         [BZ #19182]
23585         * malloc/arena.c (list_lock): Document lock ordering requirements.
23586         (free_list_lock): New lock.
23587         (ptmalloc_lock_all): Comment on free_list_lock.
23588         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23589         (detach_arena): Update comment.  free_list_lock is now needed.
23590         (_int_new_arena): Use free_list_lock around detach_arena call.
23591         Acquire arena lock after list_lock.  Add comment, including FIXME
23592         about incorrect synchronization.
23593         (get_free_list): Switch to free_list_lock.
23594         (reused_arena): Acquire free_list_lock around detach_arena call
23595         and attached threads counter update.  Add two FIXMEs about
23596         incorrect synchronization.
23597         (arena_thread_freeres): Switch to free_list_lock.
23598         * malloc/malloc.c (struct malloc_state): Update comments to
23599         mention free_list_lock.
23601 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23603         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23604         Remove functions.
23605         (sloww, sloww1): Accept argument to offset quadrant.
23606         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23607         quadrant.
23608         (__sin, __cos): Consolidate common code into new functions.
23609         (reduce_sincos_1, do_sincos_1): New functions.
23610         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23612         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23613         code to new functions.
23614         (reduce_sincos_2, do_sincos_2): New functions.
23615         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23617         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23618         common code for sincos.
23619         (__cos) [!IN_SINCOS]: Likewise.
23620         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23621         New function.
23622         (__sincos): Use it.
23624 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
23626         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23627         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23628         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23630 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23632         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23635         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23636         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23637         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23638         index_Prefer_No_VZEROUPPER): New feature.
23639         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23640         Prefer_No_VZEROUPPER for Knights Landing.
23642 015-12-18  Torvald Riegel  <triegel@redhat.com>
23644         * math/atest-exp2.c (mp_exp_m1): Remove.
23646 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23648         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23649         syscalls.
23650         (__SYSCALL0): New macro.
23651         (__SYSCALL1): Likewise.
23652         (__SYSCALL2): Likewise.
23653         (__SYSCALL3): Likewise.
23654         (__SYSCALL4): Likewise.
23655         (__SYSCALL5): Likewise.
23656         (__SYSCALL6): Likewise.
23657         (__SYSCALL_CONCAT_X): Likewise.
23658         (__SYSCALL_CONCAT): Likewise.
23659         (__SYSCALL_DIST): Likewise.
23660         (__SYSCALL_CALL): Likewise.
23662 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
23664         [BZ #19363]
23665         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23667 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23669         [BZ #19375]
23670         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23671         negative subnormals.
23673 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
23675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23676         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23677         (INTERNAL_SYSCALL_NCS): Use it.
23678         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23680 2015-12-16  Florian Weimer  <fweimer@redhat.com>
23682         [BZ #19243]
23683         * malloc/arena.c (get_free_list): Remove assert and adjust
23684         reference count handling.  Add comment about reused_arena
23685         interaction.
23686         (reused_arena): Add comments abount get_free_list interaction.
23687         * malloc/tst-malloc-thread-exit.c: New file.
23688         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23689         (tst-malloc-thread-exit): Link against libpthread.
23691 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23693         [BZ #19367]
23694         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23695         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23696         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23697         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23698         (index_Prefer_MAP_32BIT_EXEC): Likewise.
23700 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23702         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23703         Silvermont optimizations for Knights Landing.
23705 2015-12-15  Andreas Schwab  <schwab@suse.de>
23707         [BZ #17197]
23708         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23709         immediately after emitting SI.
23710         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23711         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23712         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23713         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23714         * iconvdata/bug-iconv10.c: New file.
23715         * iconvdata/Makefile (tests): Add bug-iconv10.
23716         ($(objpfx)bug-iconv10.out): New rule.
23718 2015-12-15  Florian Weimer  <fweimer@redhat.com>
23720         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23721         aliasing violation.
23723 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
23725         [BZ #18472]
23726         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23727         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23728         conditionals for them.
23729         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23730         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23732         sys/kdaemon.h.
23733         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23734         compat-only syscall, obsoleted in glibc 2.23.
23735         (create_module): Likewise.
23736         (get_kernel_syms): Likewise.
23737         (query_module): Likewise.
23738         (uselib): Likewise.
23739         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23741 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
23743         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23744         <linux/version.h>.
23745         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23746         conditional code.
23747         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23748         and ioshift_name initialization.
23750 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23752         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23753         Fix indentation.
23755 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23757         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23759 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23761         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23763 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
23764             Jakub Wilk  <jwilk@debian.org>
23766         [BZ #19347]
23767         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23768         to change the group of the device to the tty group.
23770 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23772         Split large string section; add truncation advice
23773         * manual/examples/strncat.c: Remove.
23774         This example was misleading, as the code would have undefined
23775         behavior if "hello" was longer than SIZE.  Anyway, the manual
23776         shouldn't encourage strncpy+strncat for this sort of thing.
23777         * manual/string.texi (Copying Strings and Arrays): Split into
23778         three sections Copying Strings and Arrays, Concatenating Strings,
23779         and Truncating Strings, as this section was way too long.  All
23780         cross-referenced changed.  Add advice about string-truncation
23781         functions.  Remove misleading strncat example.
23783 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
23785         * manual/nss.texi (NSS Modules Interface): Document
23786         NSS_STATUS_NOTFOUND and SUCCESS.
23788 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23790         [BZ 18568]
23791         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23792         201505L, for Unicode 8.
23794 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
23796         * locale/C-translit.h: Regenerate.
23798 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23800         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
23801         and U+0153.
23803 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
23805         [BZ #19351]
23806         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
23807         expanding log(1+z), compare z rather than its square with epsilon
23808         to determine when to avoid evaluating the expansion.
23810         [BZ #19350]
23811         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23812         Increase overflow threshold.
23814         [BZ #19349]
23815         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
23816         when small.
23818         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23819         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23820         New macro.
23821         [__LINUX_KERNEL_VERSION >= 0x040300]
23822         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23823         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23824         Likewise.
23825         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23826         Likewise.
23827         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23828         Likewise.
23829         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23830         Likewise.
23831         [__LINUX_KERNEL_VERSION >= 0x040300]
23832         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23833         [__LINUX_KERNEL_VERSION >= 0x040300]
23834         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23835         [__LINUX_KERNEL_VERSION >= 0x040300]
23836         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23837         [__LINUX_KERNEL_VERSION >= 0x040300]
23838         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23839         [__LINUX_KERNEL_VERSION >= 0x040300]
23840         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23842         Likewise.
23843         [__LINUX_KERNEL_VERSION >= 0x040300]
23844         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23845         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23846         Likewise.
23847         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23848         Likewise.
23849         [__LINUX_KERNEL_VERSION >= 0x040300]
23850         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23851         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23852         Likewise.
23853         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23854         Likewise.
23855         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23856         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
23857         Likewise.
23858         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
23859         Likewise.
23860         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23861         Likewise.
23862         [__LINUX_KERNEL_VERSION >= 0x040300]
23863         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23864         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23865         Likewise.
23866         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23867         Likewise.
23868         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23869         Likewise.
23870         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23871         Likewise.
23872         [__LINUX_KERNEL_VERSION >= 0x040300]
23873         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23874         [__LINUX_KERNEL_VERSION >= 0x040300]
23875         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23876         [__LINUX_KERNEL_VERSION >= 0x040300]
23877         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23878         [__LINUX_KERNEL_VERSION >= 0x040300]
23879         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23880         [__LINUX_KERNEL_VERSION >= 0x040300]
23881         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23882         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23883         Likewise.
23884         [__LINUX_KERNEL_VERSION >= 0x040300]
23885         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23886         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23887         Likewise.
23888         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23889         Likewise.
23890         [__LINUX_KERNEL_VERSION >= 0x040300]
23891         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23892         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23893         Likewise.
23894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23895         Likewise.
23896         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23897         (__ASSUME_SOCKET_SYSCALL): Likewise.
23898         (__ASSUME_BIND_SYSCALL): Likewise.
23899         (__ASSUME_CONNECT_SYSCALL): Likewise.
23900         (__ASSUME_LISTEN_SYSCALL): Likewise.
23901         (__ASSUME_ACCEPT_SYSCALL): Likewise.
23902         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23903         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23904         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23905         (__ASSUME_SEND_SYSCALL): Likewise.
23906         (__ASSUME_SENDTO_SYSCALL): Likewise.
23907         (__ASSUME_RECV_SYSCALL): Likewise.
23908         (__ASSUME_RECVFROM_SYSCALL): Likewise.
23909         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
23910         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23911         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23912         (__ASSUME_SENDMSG_SYSCALL): Likewise.
23913         (__ASSUME_RECVMSG_SYSCALL): Likewise.
23914         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23915         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
23916         Likewise.
23917         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
23918         Likewise.
23919         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
23920         Likewise.
23921         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
23922         Likewise.
23923         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
23924         Likewise.
23925         [__LINUX_KERNEL_VERSION >= 0x020625]
23926         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23927         [__LINUX_KERNEL_VERSION >= 0x020625]
23928         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23929         [__LINUX_KERNEL_VERSION >= 0x020625]
23930         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23931         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
23932         Likewise.
23933         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
23934         Likewise.
23935         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
23936         Likewise.
23937         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
23938         Likewise.
23939         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
23940         Likewise.
23941         [__LINUX_KERNEL_VERSION >= 0x020625]
23942         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23943         [__LINUX_KERNEL_VERSION >= 0x020625]
23944         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23945         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
23946         Likewise.
23947         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
23948         Likewise.
23950 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23952         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
23953         record the current if the current ABI and CPU support the FP64
23954         extension.
23955         (has-modd-spreg): Define to record the current if the current ABI and
23956         CPU support 32-bit floating point values in odd FPU registers.
23957         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23958         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
23959         $(has-modd-spreg) equals yes.
23960         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
23961         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
23962         $(has-modd-spreg) equal yes.
23964 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23966         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
23967         basename.
23969 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
23971         * benchtests/Makefile (bench-math): Move ffs and ffsll...
23972         (bench-string): ... here.
23973         (bench): Add bench-string.
23974         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
23975         to *-benchset to reflect what they are.
23976         (benchset): Adjust.
23978         * benchtests/sincos-inputs: Add inputs from sin-inputs and
23979         cos-inputs.
23981 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
23983         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
23984         __attribute__ ((__simd__)) for vector math function declarations.
23986 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23988         Fix typo in strncat, wcsncat manual entries
23989         * manual/string.texi (Copying and Concatenation): Fix typos in
23990         sample implementations of strncat and wcsncat, by having them use
23991         the old value of the destination length, not the new one.
23993 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
23995         [BZ #16961]
23996         [BZ #16962]
23997         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
23998         string on the stack for strtod.
23999         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
24000         a string on the stack for strtof.
24001         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
24002         constructing a string on the stack for strtold.
24003         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
24004         __strtold_nan to GLIBC_PRIVATE.
24005         * math/test-nan-overflow.c: New file.
24006         * math/test-nan-payload.c: Likewise.
24007         * math/Makefile (tests): Add test-nan-overflow and
24008         test-nan-payload.
24010 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24012         Consistency about byte vs character in string.texi
24013         * manual/string.texi (String and Array Utilities):
24014         Distinguish more carefully among bytes, multibyte characters,
24015         and wide characters.  Use "byte" when talking about C 'char',
24016         to distinguish it more clearly from multibyte characters.
24017         Say "wide character" or "multibyte character" instead of
24018         "character", when a wide or multibyte character is intended.
24019         Similarly for "multibyte string" versus "string".
24020         Define these terms more carefully.
24022 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
24024         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
24025         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
24026         Likewise.
24027         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24028         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24029         * sysdeps/sh/math_private.h: New file.
24030         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
24031         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
24032         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
24033         long double function name.
24034         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24035         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24036         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24037         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24040         Remove __finitel, __isinfl, and __isnanl.
24041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24042         Likewise.
24043         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24045         Remove __finitel.
24046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24047         Likewise.
24048         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24050 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
24052         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
24053         installed libmvec_nonshared.a.
24055 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24057         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
24058         (sysdep_routines): Likewise.
24059         (sysdep-rtld-routines): Likewise.
24060         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
24061         [$(subdir) = nptl](tests-static): test-get_hwcap-static
24062         * sysdeps/powerpc/Versions: Added new
24063         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
24064         * sysdeps/powerpc/hwcapinfo.c: New file.
24065         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
24066         and parse hwcap, hwcap2 and platform number information.
24067         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
24068         to store HWCAP+HWCAP2 and platform number.
24069         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
24070         for HWCAP+HWCAP2 and platform number in the TCB.
24071         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
24072         the HWCAP, HWCAP2 and platform number in the TCB.
24073         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
24074         (TLS_INIT_TP): Included calls to add the hwcap and
24075         at_platform values in the TCB in TP initialization.
24076         (TLS_DEFINE_INIT_TP): Likewise.
24077         (THREAD_GET_HWCAP): New macro.
24078         (THREAD_SET_HWCAP): Likewise.
24079         (THREAD_GET_AT_PLATFORM): Likewise.
24080         (THREAD_SET_AT_PLATFORM): Likewise.
24081         * sysdeps/powerpc/powerpc32/dl-machine.h:
24082         (dl_platform_init): New function that calls
24083         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24084         powerpc32.
24085         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24086         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
24087         this functionality, static linking case.
24088         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
24089         linking case.
24090         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24091         __parse_hwcap_and_convert_at_platform for the static linking case.
24092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24093         Included the new __parse_hwcap_and_convert_at_platform symbol in the
24094         ABI list for GLIBC 2.23.
24095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24096         Likewise.
24097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24098         Likewise.
24100 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
24102         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24103         * configure: Regenerate.
24104         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24105         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
24107 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
24109         * iconvdata/ibm930.c: Add comment explaining encoding uses.
24110         * iconvdata/ibm933.c: Likewise.
24111         * iconvdata/ibm935.c: Likewise.
24112         * iconvdata/ibm937.c: Likewise.
24113         * iconvdata/ibm939.c: Likewise.
24115 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24117         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24118         pthread_join.
24119         * nptl/tst-cancel21.c (tf): Likewise.
24121 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24123         [BZ #19313]
24124         * bits/typesizes.h (__CPU_MASK_TYPE): New.
24125         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24126         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24127         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24128         Likewise.
24129         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24130         Likewise.
24131         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24132         Likewise.
24133         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24134         Likewise.
24135         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24136         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24137         unsigned long int with __CPU_MASK_TYPE.
24139 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24141         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24143 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
24145         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24146         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24147         t512.x.
24148         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24150 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
24152         [BZ #19214]
24153         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
24154         argument to return extended model.  Update family and model
24155         with extended family and model when family == 0x0f.
24156         (init_cpu_features): Updated.
24158 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24160         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
24161         signed off_t, so 32bit bigger than 2GiB values are fine actually.
24163         * sysdeps/mach/hurd/mmap64.c: New file.
24165 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
24167         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
24168         rights for its main user thread in NEWTASK.
24170 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
24172         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
24173         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
24175 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
24177         [BZ #14259]
24178         * Makeconfig: Rename localedir to complocaledir.
24179         Rename inst_localedir to inst_complocaledir.
24180         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24181         * config.make.in: Use complocaledir and libc_cv_complocaledir.
24182         * configure.ac: Use libc_cv_complocaledir.
24183         * configure: Regenerate.
24184         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
24185         -DCOMPLOCALEDIR.
24186         * locale/findlocale.c: Use COMPLOCALEDIR.
24187         * locale/loadarchive.c: Likewise.
24188         * locale/programs/locale.c: Likewise.
24189         * locale/programs/localedef.c: Likewise.
24190         * locale/programs/locarchive.c: Likewise.
24191         * localedata/Makefile: Use inst_complocaledir.
24192         * sysdeps/gnu/configure: Regenerate.
24193         * sysdeps/hppa/configure: Regenerate.
24194         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
24195         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24197         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
24198         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
24199         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
24200         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
24202 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
24204         [BZ #19058]
24205         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
24206         AS_NEEDED.
24207         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
24208         workaround.
24209         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
24210         libmvec-static-only-routines): Added new file.
24211         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
24213 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24215         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
24216         of interrupted RPC instead of restoring it.
24218         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
24219         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
24220         libc_hidden_def.
24221         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
24222         into initialized data instead of common. Define rtld_hidden_data_def.
24223         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
24224         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
24225         libc_hidden_def.
24226         (if_freenameindex): Add libc_hidden_weak.
24227         (if_nameindex): Add libc_hidden_weak.
24228         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
24229         __open64.
24230         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
24231         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
24232         * sysdeps/mach/nanosleep.c: Include <time.h>
24233         (__nanosleep): Rename to __libc_nanosleep.
24234         (__nanosleep): Add weak_alias.
24235         (nanosleep): Update alias.
24237 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
24239         * stdlib/strtod_nan.c: New file.
24240         * stdlib/strtod_nan_double.h: Likewise.
24241         * stdlib/strtod_nan_float.h: Likewise.
24242         * stdlib/strtod_nan_main.c: Likewise.
24243         * stdlib/strtod_nan_narrow.h: Likewise.
24244         * stdlib/strtod_nan_wide.h: Likewise.
24245         * stdlib/strtof_nan.c: Likewise.
24246         * stdlib/strtold_nan.c: Likewise.
24247         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
24248         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
24249         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
24250         * wcsmbs/wcstod_nan.c: Likewise.
24251         * wcsmbs/wcstof_nan.c: Likewise.
24252         * wcsmbs/wcstold_nan.c: Likewise.
24253         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
24254         strtold_nan.
24255         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
24256         wcstof_nan.
24257         * include/stdlib.h (__strtof_nan): Declare and use
24258         libc_hidden_proto.
24259         (__strtod_nan): Likewise.
24260         (__strtold_nan): Likewise.
24261         (__wcstof_nan): Likewise.
24262         (__wcstod_nan): Likewise.
24263         (__wcstold_nan): Likewise.
24264         * include/wchar.h (____wcstoull_l_internal): Declare.
24265         * stdlib/strtod_l.c: Do not include <ieee754.h>.
24266         (____strtoull_l_internal): Remove declaration.
24267         (STRTOF_NAN): Define macro.
24268         (SET_MANTISSA): Remove macro.
24269         (STRTOULL): Likewise.
24270         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
24271         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
24272         (STRTOF_NAN): Define macro.
24273         (SET_MANTISSA): Remove macro.
24274         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
24275         (SET_MANTISSA): Remove macro.
24276         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
24277         macro.
24278         (SET_MANTISSA): Remove macro.
24279         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
24280         macro.
24281         (SET_MANTISSA): Remove macro.
24282         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
24283         (SET_MANTISSA): Remove macro.
24284         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
24285         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
24286         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
24288         [BZ #19266]
24289         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
24290         upper case and lower case letters inside NAN(), not using TOLOWER.
24291         * stdlib/tst-strtod-nan-locale-main.c: New file.
24292         * stdlib/tst-strtod-nan-locale.c: Likewise.
24293         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
24294         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
24295         Depend on $(gen-locales).
24296         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
24297         * wcsmbs/tst-wcstod-nan-locale.c: New file.
24298         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
24299         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
24300         Depend on $(gen-locales).
24301         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
24303 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
24305         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
24307         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24309         __finitel, __isinfl, and __isnanl.
24310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24311         Likewise.
24312         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
24314         __finitel.
24315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24316         Likewise.
24317         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24319 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24321         * malloc/memusage.c (me): Remove redundant getenv call.
24323 2015-10-24  Florian Weimer  <fweimer@redhat.com>
24325         [BZ #19143]
24326         [BZ #19164]
24327         * nptl/check-cpuset.h: Remove.
24328         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24329         Remove CPU set size check.
24330         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24331         Likewise.
24332         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
24333         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24334         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
24335         (__pthread_setaffinity_new): Remove CPU set size check.
24336         * sysdeps/unix/sysv/linux/sched_setaffinity.c
24337         (__kernel_cpumask_size): Remove.
24338         (__sched_setaffinity_new): Remove CPU set size check.
24339         * manual/threads.texi (Default Thread Attributes): Remove stale
24340         reference to check_cpuset_attr, determine_cpumask_size in comment.
24341         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
24342         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
24343         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
24344         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
24345         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
24346         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
24347         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
24348         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
24349         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
24350         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
24351         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
24352         skeleton test file.
24353         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
24354         tst-affinity-pid.
24356 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24358         * scripts/update-abilist.sh: New file.
24359         * Makefile (+subdir_targets): Add subdir_update-all-abi.
24360         * Makerules (update-all-abi-%, update-all-abi)
24361         (subdir_update-all-abi): New targets.
24362         * elf/Makefile (update-all-abi): New target.
24364 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24366         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
24367         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
24368         (__libc_lock_define_initialized): Use it.
24369         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
24370         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
24371         * malloc/malloc.c (main_arena): Likewise.
24372         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24373         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24375 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
24377         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24378         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24379         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24380         (PTRACE_O_MASK): Update value.
24381         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24382         New value in enum __ptrace_setoptions.
24383         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24384         (PTRACE_O_MASK): Update value.
24385         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24386         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24387         (PTRACE_O_MASK): Update value.
24388         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24389         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24390         (PTRACE_O_MASK): Update value.
24391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24392         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24393         (PTRACE_O_MASK): Update value.
24394         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24395         New value in enum __ptrace_setoptions.
24396         (PTRACE_O_MASK): Update value.
24397         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24398         New value in enum __ptrace_setoptions.
24399         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24400         (PTRACE_O_MASK): Update value.
24402         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24403         New macro.
24404         (PACKET_AUXDATA): Likewise.
24405         (PACKET_ORIGDEV): Likewise.
24406         (PACKET_VERSION): Likewise.
24407         (PACKET_HDRLEN): Likewise.
24408         (PACKET_RESERVE): Likewise.
24409         (PACKET_TX_RING): Likewise.
24410         (PACKET_LOSS): Likewise.
24411         (PACKET_VNET_HDR): Likewise.
24412         (PACKET_TX_TIMESTAMP): Likewise.
24413         (PACKET_TIMESTAMP): Likewise.
24414         (PACKET_FANOUT): Likewise.
24415         (PACKET_TX_HAS_OFF): Likewise.
24416         (PACKET_QDISC_BYPASS): Likewise.
24417         (PACKET_ROLLOVER_STATS): Likewise.
24418         (PACKET_FANOUT_DATA): Likewise.
24419         (PACKET_MR_UNICAST): Likewise.
24421         [BZ #19242]
24422         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24423         (TOUPPER): Likewise.
24424         * stdlib/tst-strtol-locale-main.c: New file.
24425         * stdlib/tst-strtol-locale.c: Likewise.
24426         * stdlib/Makefile (tests): Add tst-strtol-locale.
24427         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24428         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24429         Depend on $(gen-locales).
24430         * wcsmbs/tst-wcstol-locale.c: New file.
24431         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24432         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24433         tr_TR.ISO-8859-9.
24434         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24435         Depend on $(gen-locales).
24437 2015-11-20  Roland McGrath  <roland@hack.frob.com>
24439         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24440         __glibc_likely instead of __builtin_expect.  After falling back to
24441         dyncode_create in a non-ET_DYN case, use the allocate_code_data
24442         system interface to register the code pages as occupied.
24444 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
24446         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24447         [!ARM_MATH_PRIVATE_H].
24448         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24449         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24450         [!HPPA_MATH_PRIVATE_H].
24451         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24452         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24453         to [!I386_MATH_PRIVATE_H].
24454         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24455         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24456         Change guard to [!M68K_MATH_PRIVATE_H].
24457         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24458         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24459         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24460         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24461         macro.
24462         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24463         [!MIPS_MATH_PRIVATE_H].
24464         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24465         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24466         [!NIO2_MATH_PRIVATE_H].
24467         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24468         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24469         [!TILE_MATH_PRIVATE_H].
24470         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24472         [BZ #15421]
24473         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24474         initialize with 0 and define as weak alias of __signgam.
24475         * include/math.h [!_ISOMAC] (__signgam): Declare.
24476         * math/Makefile (libm-calls): Add w_lgamma_compat.
24477         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24478         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24479         test-signgam-ullong-init.
24480         (tests-static): Add test-signgam-uchar-static,
24481         test-signgam-uchar-init-static, test-signgam-uint-static,
24482         test-signgam-uint-init-static, test-signgam-ullong-static and
24483         test-signgam-ullong-init-static.
24484         (CFLAGS-test-signgam-uchar.c): New variable.
24485         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24486         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24487         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24488         (CFLAGS-test-signgam-uint.c): Likewise.
24489         (CFLAGS-test-signgam-uint-init.c): Likewise.
24490         (CFLAGS-test-signgam-uint-static.c): Likewise.
24491         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24492         (CFLAGS-test-signgam-ullong.c): Likewise.
24493         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24494         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24495         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24496         * math/Versions (libm): Add GLIBC_2.23.
24497         * math/lgamma-compat.h: New file.
24498         * math/test-signgam-main.c: Likewise.
24499         * math/test-signgam-uchar-init-static.c: Likewise.
24500         * math/test-signgam-uchar-init.c: Likewise.
24501         * math/test-signgam-uchar-static.c: Likewise.
24502         * math/test-signgam-uchar.c: Likewise.
24503         * math/test-signgam-uint-init-static.c: Likewise.
24504         * math/test-signgam-uint-init.c: Likewise.
24505         * math/test-signgam-uint-static.c: Likewise.
24506         * math/test-signgam-uint.c: Likewise.
24507         * math/test-signgam-ullong-init-static.c: Likewise.
24508         * math/test-signgam-ullong-init.c: Likewise.
24509         * math/test-signgam-ullong-static.c: Likewise.
24510         * math/test-signgam-ullong.c: Likewise.
24511         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24512         wrapper of w_lgamma_main.c.
24513         * math/w_lgamma_compat.c: New file.
24514         * math/w_lgamma_compatf.c: Likewise.
24515         * math/w_lgamma_compatl.c: Likewise.
24516         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24517         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24518         defining compatibility symbols.
24519         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24520         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24521         wrapper of w_lgammaf_main.c.
24522         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24523         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24524         defining compatibility symbols.
24525         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24526         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24527         wrapper of w_lgammal_main.c.
24528         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24529         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24530         defining compatibility symbols.
24531         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24532         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24533         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24534         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24535         <lgamma-compat.h>.
24536         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24537         (__ieee754_gamma): Define as alias.
24538         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24539         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24540         <lgamma-compat.h>.
24541         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24542         (__ieee754_gammaf): Define as alias.
24543         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24544         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24545         <lgamma-compat.h>.
24546         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24547         (__ieee754_gammal): Define as alias.
24548         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24549         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24550         <math/w_lgamma_compat.c>.
24551         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24552         Define as alias of __lgamma_compat and use in defining lgammal.
24553         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24554         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24555         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24556         (USE_AS_COMPAT): New macro.
24557         (LGAMMA_OLD_VER): Undefine and redefine.
24558         (lgammal): Do not define here.
24559         (gammal): Only define here if [GAMMA_ALIAS].
24560         * conform/linknamespace.pl (@whitelist): Remove signgam.
24561         * sysdeps/nacl/libm.abilist: Update.
24562         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24563         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24564         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24565         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24566         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24567         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24568         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24569         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24570         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24571         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24572         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24573         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24575         Likewise.
24576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24577         Likewise.
24578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24579         Likewise.
24580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24581         Likewise.
24582         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24583         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24584         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24585         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24586         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24588         Likewise.
24589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24590         Likewise.
24591         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24592         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24593         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24595 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24597         [BZ #16364]
24598         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24599         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24601 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24603         * sysdeps/s390/fpu/bits/mathinline.h:
24604         Use __asm__ [__volatile__] instead of asm [volatile].
24605         * sysdeps/s390/abort-instr.h: Likewise.
24606         * sysdeps/s390/atomic-machine.h: Likewise.
24607         * sysdeps/s390/bits/string.h: Likewise.
24608         * sysdeps/s390/dl-tls.h: Likewise.
24609         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24610         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24611         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24612         * sysdeps/s390/fpu/fesetround.c: Likewise.
24613         * sysdeps/s390/fpu/fpu_control.h: Likewise.
24614         * sysdeps/s390/fpu/s_fma.c: Likewise.
24615         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24616         * sysdeps/s390/memusage.h: Likewise.
24617         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24618         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24619         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24620         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24621         * sysdeps/s390/nptl/tls.h: Likewise.
24622         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24623         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24624         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24625         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24626         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24627         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24628         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24629         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24630         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24631         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24632         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24633         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24634         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24635         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24636         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24637         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24638         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24639         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24640         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24641         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24642         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24643         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24644         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24646 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24647             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24649         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24650         Add lwarx hint, and use macro for acquire instruction.
24651         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24652         Likewise.
24653         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24654         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24655         update to use new atomic macros.
24657 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24659         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24660         (__lll_trylock_elision): Fix setting of adapt_count.
24661         * sysdeps/unix/sysv/linux/powerpc/htm.h
24662         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24663         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24664         (_ABORT_SYSCALL): Renumber, and clarify definition.
24665         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24667 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24669         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24670         after system headers to prevent MIN/MAX redefinition.  Define
24671         HAVE_ALLOCA to preserve builtin alloca usage.
24673 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24675         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24676         static and don't set or restore rounding.
24677         (__cos)[IN_SINCOS]: Likewise.
24678         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24679         (__sincos): Set and restore rounding mode.  Remove check for infinite
24680         or NaN input.
24682         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24684         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24685         as used.
24687 2015-11-16  Florian Weimer  <fweimer@redhat.com>
24689         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24691 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24693         * config.make.in (have-glob-dat-reloc): New.
24694         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
24695         target supports GLOB_DAT relocaton. AC_SUBST.
24696         * configure: Regenerated.
24697         * elf/Makefile (tests): Add tst-prelink.
24698         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24699         (tst-prelink-ENV): New.
24700         ($(objpfx)tst-prelink-conflict.out): Likewise.
24701         ($(objpfx)tst-prelink-cmp.out): Likewise.
24702         * sysdeps/x86/tst-prelink.c: Moved to ...
24703         * elf/tst-prelink.c: Here.
24704         * sysdeps/x86/tst-prelink.exp: Moved to ...
24705         * elf/tst-prelink.exp: Here.
24706         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24707         (tst-prelink-ENV): Removed.
24708         ($(objpfx)tst-prelink-conflict.out): Likewise.
24709         ($(objpfx)tst-prelink-cmp.out): Likewise.
24710         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24712 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
24714         [BZ #14551]
24715         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24716         (__mpn_construct_long_double): If high part overflows to infinity,
24717         set errno and recompute overflowed result of the correct sign.
24718         * sysdeps/ieee754/ldbl-128ibm/Makefile
24719         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24720         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24721         $(libm).
24722         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24724 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
24726         [BZ #15479]
24727         [BZ #19238]
24728         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24729         floating-point state after first operation on input.  Restore full
24730         state rather than just rounding mode.
24731         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24732         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24733         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24735         [BZ #19235]
24736         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24737         add 0.5 to integer arguments.
24738         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24739         Likewise.
24740         (.LC2): New object.
24742 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
24744         * scripts/pylintrc (reports): Set to no.
24746 2015-11-10  Roland McGrath  <roland@hack.frob.com>
24748         * elf/dl-load.c (open_verify): Take new argument FD.
24749         Skip __open call if passed FD is not -1.
24750         (_dl_map_object, open_path): Update callers.
24751         * elf/dl-sysdep-open.h: New file.
24752         * elf/dl-load.c: Include it.
24753         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24754         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24755         * sysdeps/nacl/dl-sysdep-open.h: New file.
24756         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24757         from libc to rtld.
24759 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24761         [BZ #19228]
24762         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24763         and restore full floating-point state.
24764         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24765         Likewise.
24766         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24767         Likewise.
24768         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24769         Likewise.
24770         * math/test-nearbyint-except-2.c: New file.
24771         * math/Makefile (tests): Add test-nearbyint-except-2.
24773 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
24775         [BZ #19178]
24776         * sysdeps/x86/Makefile (tests): Add tst-prelink.
24777         (tst-prelink-ENV): New.
24778         ($(objpfx)tst-prelink-conflict.out): Likewise.
24779         ($(objpfx)tst-prelink-cmp.out): Likewise.
24780         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24781         * sysdeps/x86/tst-prelink.c: New file.
24782         * sysdeps/x86/tst-prelink.exp: Likewise.
24784 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24786         * math/auto-libm-test-in: Add another test of pow.
24787         * math/auto-libm-test-out: Regenerated.
24788         * math/libm-test.inc (pow_test_data): Add another test.
24790 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24792         [BZ #19219]
24793         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
24794         weak_alias to nearbyintl.
24796 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24798         * sysdeps/aarch64/bits/string.h: New file.
24799         (_STRING_ARCH_unaligned): Define.
24801 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24803         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
24804         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24805         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24806         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
24807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
24809 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
24811         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
24812         for original name of the DSO.  Add it to the name list of the DSO
24813         if it is actually given.
24814         (_dl_map_object): Keep track of whether an audit module rewrote
24815         the file name.  If yes, pass the original name to
24816         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
24817         debugging is enabled, log the change of the file name.
24818         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
24819         _dl_map_object_from_fd.
24820         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
24821         * elf/tst-audit11.c: New file
24822         * elf/tst-auditmod11.c: New file.
24823         * elf/tst-audit11mod1.c: New file.
24824         * elf/tst-audit11mod2.c: New file.
24825         * elf/tst-audit11mod2.map: New file.
24826         * elf/tst-audit12.c: New file
24827         * elf/tst-auditmod12.c: New file.
24828         * elf/tst-audit12mod1.c: New file.
24829         * elf/tst-audit12mod2.c: New file.
24830         * elf/tst-audit12mod2.map: New file.
24831         * elf/tst-audit12mod3.c: New file.
24833 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24835         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
24836         Don't create weak aliases,
24837         because versioned symbols are created later.
24838         * sysdeps/s390/s390-32/setjmp.S
24839         (setjmp, _setjmp): Remove weak and rename to an unique name
24840         in SHARED case due to existing versioned symbols.
24841         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24842         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
24843         (getcontext): Create weak alias only in non SHARED case.
24844         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24846 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24848         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
24849         (__ASSUME_*_SYSCALL) Define new macros.
24850         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
24851         Remove socketcall syscalls.
24852         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
24853         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
24854         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
24855         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
24856         * sysdeps/unix/sysv/linux/send.c (__libc_send):
24857         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
24859 2015-11-09  Florian Weimer  <fweimer@redhat.com>
24861         [BZ #12926]
24862         Terminate process on invalid netlink response.
24863         * sysdeps/unix/sysv/linux/netlinkaccess.h
24864         (__netlink_assert_response): Declare.
24865         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
24866         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
24867         (sysdep_routines): Add netlink_assert_response.
24868         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
24869         __netlink_assert_response.
24870         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
24871         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
24872         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
24873         __netlink_assert_response.
24875 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24877         [BZ #19178]
24878         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
24879         (RTYPE_CLASS_PLT): Likewise.
24880         (RTYPE_CLASS_COPY): Likewise.
24881         (RTYPE_CLASS_TLS): Likewise.
24882         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
24883         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
24884         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
24885         DL_DEBUG_PRELINK.
24887 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
24889         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
24890         calls with argument -0.5.
24891         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
24893         * configure.ac (libc_cv_z_nodelete): Remove configure test.
24894         (libc_cv_z_nodlopen): Likewise.
24895         (libc_cv_z_initfirst): Likewise.
24896         * configure: Regenerated.
24898 2015-11-06  Florian Weimer  <fweimer@redhat.com>
24900         Simplify abilist format to be line-based.
24901         * scripts/abilist.awk: Collect descriptors in the descs variable.
24902         (emit): Write descs variable and sort it
24903         externally, with sort.
24904         * sysdeps/**/*.abilist: Convert to new format.
24906 2015-11-06  Mark Wielaard  <mjw@redhat.com>
24908         [BZ #11460]
24909         * io/Makefile (routines): Add fts64.
24910         (tests): Add tst-fts and tst-fts-lfs.
24911         (CFLAGS-fts64.c): New.
24912         * io/Versions (GLIBC_2.23): New.
24913         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
24914         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
24915         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
24916         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
24917         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
24918         (FTSENT64): Likewise.
24919         (fts64_children): Likewise.
24920         (fts64_close): Likewise.
24921         (fts64_open): Likewise.
24922         (fts64_read): Likewise.
24923         (fts64_set): Likewise.
24924         * io/fts64.c: New file.
24925         * io/tst-fts.c: New test.
24926         * io/tst-fts-lfs.c: Likewise.
24927         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
24928         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
24929         fts64_set.
24930         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24931         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24932         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24933         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24934         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24935         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24936         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24937         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24938         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24939         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24940         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24941         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24942         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24944         Likewise.
24945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24946         Likewise.
24947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
24949         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24950         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24951         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24952         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24953         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24956         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24957         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24958         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24959         * sysdeps/wordsize-64/fts.c: New file.
24960         * sysdeps/wordsize-64/fts64.c: Likewise.
24961         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
24962         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
24963         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
24964         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
24966 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
24968         * math/libm-test.inc (NON_FINITE): New macro.
24969         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
24970         * math/gen-libm-test.pl (show_exceptions): Add argument
24971         $non_finite.
24972         (parse_args): Update call to show_exceptions.
24973         * math/test-math-finite.h: New file.
24974         * math/test-math-no-finite.h: Likewise.
24975         * math/test-double-finite.c: Likewise.
24976         * math/test-float-finite.c: Likewise.
24977         * math/test-ldouble-finite.c: Likewise.
24978         * math/test-double.c: Include "test-math-no-finite.h".
24979         * math/test-float.c: Include "test-math-no-finite.h".
24980         * math/test-ldouble.c: Include "test-math-no-finite.h".
24981         * math/test-math-inline.h (TEST_FINITE): New macro.
24982         * math/test-math-vector.h (TEST_FINITE): Likewise.
24983         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
24984         (libm-tests): Add test-float-finite and test-double-finite.
24985         ($(objpfx)test-float-finite.o): New dependency on
24986         $(objpfx)libm-test.stmp.
24987         ($(objpfx)test-double-finite.o): Likewise.
24988         ($(objpfx)test-ldouble-finite.o): Likewise.
24989         (libm-test-no-inline-cflags): New variable.
24990         (libm-test-finite-cflags): Likewise.
24991         (CFLAGS-test-float-finite.c): Likewise.
24992         (CFLAGS-test-double-finite.c): Likewise.
24993         (CFLAGS-test-ldouble-finite.c): Likewise.
24994         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
24995         (CFLAGS-test-double.c): Likewise.
24996         (CFLAGS-test-ldouble.c): Likewise.
24998 2015-11-05  Roland McGrath  <roland@hack.frob.com>
25000         * io/fcntl.c (__fcntl): Add ... to prototype.
25001         * misc/ioctl.c (__ioctl): Likewise.
25002         * misc/syscall.c (syscall): Likewise.
25004 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25006         * scripts/list-fixed-bugs.py: New file.
25008         [BZ #19213]
25009         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
25010         returned for argument 1.
25011         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
25012         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
25013         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
25014         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
25015         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
25016         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
25018         [BZ #19211]
25019         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
25020         __USE_XOPEN], not if [!__USE_ISOC99].
25021         (lgammaf): Likewise.
25022         (lgammal): Likewise.
25023         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
25024         (gammaf): Likewise.
25025         (gammal): Likewise.
25026         * math/test-signgam-finite-c11.c: New file.
25027         * math/test-signgam-finite-c99.c: Likewise.
25028         * math/test-signgam-finite.c: Likewise.
25029         * math/Makefile (tests): Add test-signgam-finite,
25030         test-signgam-finite-c99 and test-signgam-finite-c11.
25031         (CFLAGS-test-signgam-finite.c): New variable.
25032         (CFLAGS-test-signgam-finite-c99.c): Likewise.
25033         (CFLAGS-test-signgam-finite-c11.c): Likewise.
25035         [BZ #19212]
25036         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
25037         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
25038         500].
25039         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
25040         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
25041         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
25042         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
25043         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
25044         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
25045         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
25046         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
25047         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
25048         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
25050         [BZ #19209]
25051         * math/bits/math-finite.h (ldexp): Remove declaration.
25052         (ldexpf): Likewise.
25053         (ldexpl): Likewise.
25055         [BZ #19205]
25056         * math/bits/math-finite.h (acosf): Condition declaration on
25057         [__USE_ISOC99].
25058         (acosl): Likewise.
25059         (acoshf): Likewise.
25060         (acoshl): Likewise.
25061         (asinf): Likewise.
25062         (asinl): Likewise.
25063         (atan2f): Likewise.
25064         (atan2l): Likewise.
25065         (atanhf): Likewise.
25066         (atanhl): Likewise.
25067         (coshf): Likewise.
25068         (coshl): Likewise.
25069         (expf): Likewise.
25070         (expl): Likewise.
25071         (fmodf): Likewise.
25072         (fmodl): Likewise.
25073         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
25074         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
25075         (j0l): Likewise.
25076         (y0f): Likewise.
25077         (y0l): Likewise.
25078         (j1f): Likewise.
25079         (j1l): Likewise.
25080         (y1f): Likewise.
25081         (y1l): Likewise.
25082         (jnf): Likewise.
25083         (jnl): Likewise.
25084         (ynf): Likewise.
25085         (ynl): Likewise.
25086         (lgammaf_r): Condition declaration on [__USE_ISOC99].
25087         (lgammal_r): Likewise.
25088         (__lgamma_r_finite): New declaration.
25089         (__lgammaf_r_finite): Likewise.
25090         (__lgammal_r_finite): Likewise.
25091         (lgamma): Use __lgamma_r_finite.
25092         (lgammaf): Condition definition on [__USE_ISOC99].  Use
25093         __lgammaf_r_finite.
25094         (lgammal): Condition definition on [__USE_ISOC99].  Use
25095         __lgammal_r_finite.
25096         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
25097         __lgamma_r_finite.
25098         (gammaf): Condition definition on [__USE_ISOC99].  Use
25099         __lgammaf_r_finite.
25100         (gammal): Condition definition on [__USE_ISOC99].  Use
25101         __lgammal_r_finite.
25102         (logf): Condition declaration on [__USE_ISOC99].
25103         (logl): Likewise.
25104         (log10f): Likewise.
25105         (log10l): Likewise.
25106         (ldexpf): Likewise.
25107         (ldexpl): Likewise.
25108         (powf): Likewise.
25109         (powl): Likewise.
25110         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25111         __USE_ISOC99].
25112         (remainderf): Condition declaration on [__USE_ISOC99].
25113         (remainderl): Likewise.
25114         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25115         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25116         (scalbl): Likewise.
25117         (sinhf): Condition declaration on [__USE_ISOC99].
25118         (sinhl): Likewise.
25119         (sqrtf): Likewise.
25120         (sqrtl): Likewise.
25122 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25124         * sysdeps/arm/atomic-machine.h
25125         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25126         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25127         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25128         Remove conditional code.
25129         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25130         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25131         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25132         Change conditional to [__ASSEMBLER__].
25133         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25134         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25135         [!__ASSEMBLER__].
25136         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25137         code.
25138         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25139         conditional macro definitions.
25140         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25141         (__arch_compare_and_exchange_val_16_acq): Likewise.
25142         (__arch_compare_and_exchange_val_32_acq): Likewise.
25143         (atomic_exchange_and_add): Likewise.
25144         (atomic_add): Likewise.
25145         (atomic_add_negative): Likewise.
25146         (atomic_add_zero): Likewise.
25147         (atomic_bit_set): Likewise.
25148         (atomic_bit_test_set): Likewise.
25149         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25150         code unconditional.
25151         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25153         * math/test-math-errno.h: New file.
25154         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
25155         empty.
25156         (TEST_ERRNO): New macro.
25157         (TEST_EXCEPTIONS): Likewise.
25158         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
25159         (TEST_EXCEPTIONS): Likewise.
25160         * math/test-math-vector.h (TEST_ERRNO): Likewise.
25161         * math/test-double.c: Include "test-math-errno.h".
25162         * math/test-float.c: Likewise.
25163         * math/test-ldouble.c: Likewise.
25164         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
25165         code unconditional.
25166         (test_exceptions): Only run code if TEST_EXCEPTIONS.
25167         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
25168         unconditional.
25169         (test_errno): Only run code if TEST_ERRNO.
25170         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
25172 2015-11-04  Florian Weimer  <fweimer@redhat.com>
25174         * nptl/tst-once5.cc: Remove attribution.
25176 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25178         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
25179         sqrt, tan, tanh, y0, y1 and yn.
25180         * math/auto-libm-test-out: Regenerated.
25181         * math/libm-test.inc (scalb_test_data): Add more tests.
25182         (scalbn_test_data): Likewise.
25183         (scalbln_test_data): Likewise.
25184         (signbit_test_data): Likewise.
25185         (sin_test_data): Likewise.
25186         (sincos_test_data): Likewise.
25187         (sinh_test_data): Likewise.
25188         (sqrt_test_data): Likewise.
25189         (tan_test_data): Likewise.
25190         (tanh_test_data): Likewise.
25191         (tgamma_test_data): Likewise.
25192         (y0_test_data): Likewise.
25193         (y1_test_data): Likewise.
25194         (yn_test_data): Likewise.
25195         (significand_test_data): Likewise.
25196         * sysdeps/i386/fpu/libm-test-ulps: Update.
25198 2015-11-03  David Kastrup  <dak@gnu.org>
25200         [BZ #18604]
25201         * assert/assert.h (assert): Don't macro-expand failed assertion
25202         expression in error message.
25203         * malloc/malloc.c (assert): Likewise.
25205 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
25207         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
25208         test.
25209         * configure: Regenerated.
25211 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
25213         * math/libm-test.inc (modf_test_data): Add more tests.
25214         (nearbyint_test_data): Likewise.
25215         (nextafter_test_data): Likewise.
25216         (nexttoward_test_data): Likewise.
25217         (pow_test_data): Likewise.
25218         (remainder_test_data): Likewise.
25219         (remquo_test_data): Likewise.
25220         (rint_test_data): Likewise.
25222         [BZ #19201]
25223         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25224         Check for zero remainder in case of large exponents and ensure
25225         correct sign of result in that case.
25226         * math/libm-test.inc (remainder_test_data): Add more tests.
25228         [BZ #6799]
25229         * math/s_nextafter.c: Include <errno.h>.
25230         (__nextafter): Set errno on overflow and underflow.
25231         * math/s_nexttowardf.c: Include <errno.h>.
25232         (__nexttowardf): Set errno on overflow and underflow.
25233         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
25234         (__nextafterl): Set errno on overflow and underflow.
25235         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
25236         (__nexttoward): Set errno on overflow and underflow.
25237         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
25238         (__nexttowardf): Set errno on overflow and underflow.
25239         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
25240         (__nextafterf): Set errno on overflow and underflow.
25241         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
25242         (__nextafterl): Set errno on overflow and underflow.
25243         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
25244         (__nexttoward): Set errno on overflow and underflow.
25245         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
25246         (__nexttowardf): Set errno on overflow and underflow.
25247         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
25248         (__nextafterl): Set errno on overflow and underflow.
25249         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
25250         (__nexttoward): Set errno on overflow and underflow.
25251         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
25252         (__nexttowardf): Set errno on overflow and underflow.
25253         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
25254         (__nexttoward): Set errno on overflow and underflow.
25255         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
25256         (__nexttowardf): Set errno on overflow and underflow.
25257         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
25258         (__nldbl_nexttowardf): Set errno on overflow and underflow.
25259         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
25260         (__nextafterl): Set errno on overflow and underflow.
25261         * math/libm-test.inc (nextafter_test_data): Do not allow errno
25262         setting to be missing on overflow.  Add more tests.
25263         (nexttoward_test_data): Likewise.
25265         * configure.ac (libc_cv_initfini_array): Remove configure test.
25266         * configure: Regenerated.
25268 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
25270         [BZ #19189]
25271         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
25272         non-finite argument handle arguments with negative sign.
25274         * math/libm-test.inc (j0_test_data): Do not test sign of zero
25275         result from infinite argument.
25276         (j1_test_data): Likewise.
25277         (jn_test_data): Likewise.
25278         (y0_test_data): Likewise.
25279         (y1_test_data): Likewise.
25280         (yn_test_data): Likewise.
25282         [BZ #16171]
25283         * math/w_remainder.c (drem): Define as weak alias of __remainder.
25284         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
25285         * math/w_remainderf.c (dremf): Define as weak alias of
25286         __remainderf.
25287         * math/w_remainderl.c (dreml): Define as weak alias of
25288         __remainderl.
25289         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
25290         __remainder.
25291         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
25292         __remainderf.
25293         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
25294         __remainderl.
25295         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
25296         weak alias of remainderl.
25297         * sysdeps/ieee754/ldbl-opt/w_remainder.c
25298         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
25299         alias of __remainder.
25300         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
25301         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
25302         strong alias of __remainderl.
25303         (dreml): Use long_double_symbol.
25304         * math/Makefile (libm-calls): Remove w_drem.
25305         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
25306         (CFLAGS-nldbl-drem.c): Remove variable.
25307         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
25308         * math/w_drem.c: Remove file.
25309         * math/w_dremf.c: Likewise.
25310         * math/w_dreml.c: Likewise.
25311         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
25312         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
25313         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
25315         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
25316         * sysdeps/i386/configure: Regenerated.
25317         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
25318         * sysdeps/x86_64/configure: Regenerated.
25320         * configure.ac (libc_cv_asm_protected_directive): Remove configure
25321         test.
25322         (libc_cv_visibility_attribute): Likewise.
25323         (libc_cv_protected_data): Test unconditionally.
25324         (libc_cv_broken_visibility_attribute): Remove configure test.
25325         (libc_cv_have_sdata_section): Test unconditionally.
25326         * configure: Regenerated.
25328         * include/libc-internal.h (libc_max_align_t): Remove typedef.
25329         * include/scratch_buffer.h: Include <stddef.h> instead of
25330         <libc-internal.h>.
25331         (struct scratch_buffer): Use max_align_t instead of
25332         libc_max_align_t.
25334 2015-10-29  Florian Weimer  <fweimer@redhat.com>
25336         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
25337         instead of extend_alloca.  Change control flow to avoid a goto.
25338         Remove assert which is trivially always true.
25340 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25342         [BZ #16068]
25343         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
25344         (FE_ALL_EXCEPT_X86): New macro.
25345         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25346         FE_ALL_EXCEPT.  Ensure precision control is included in
25347         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25348         handle "denormal operand exception" and clear FZ and DAZ bits.
25349         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
25350         (FE_ALL_EXCEPT_X86): New macro.
25351         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25352         FE_ALL_EXCEPT.  Ensure precision control is included in
25353         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25354         handle "denormal operand exception" and clear FZ and DAZ bits.
25355         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
25356         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
25357         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25358         test-fenv-x87 and test-fenv-sse-2.
25359         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
25361         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
25362         * math/test-double.h (BUILD_COMPLEX): New macro.
25363         * math/test-float.h (BUILD_COMPLEX): Likewise.
25364         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
25366         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
25367         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
25368         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
25369         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
25370         instead of DBL_DENORM_MIN in comment.
25371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
25372         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25373         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25374         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25376         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25378 2015-10-28  Florian Weimer  <fweimer@redhat.com>
25380         [BZ #19048]
25381         * malloc/malloc.c (struct malloc_state): Update comment.  Add
25382         attached_threads member.
25383         (main_arena): Initialize attached_threads.
25384         * malloc/arena.c (list_lock): Update comment.
25385         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25386         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25387         (deattach_arena): New function.
25388         (_int_new_arena): Initialize arena reference count and deattach
25389         replaced arena.
25390         (get_free_list, reused_arena): Update reference count and deattach
25391         replaced arena.
25392         (arena_thread_freeres): Update arena reference count and only put
25393         unreferenced arenas on the free list.
25395 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25397         [BZ #19181]
25398         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25399         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25400         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25401         * math/test-fenv-clear-main.c: New file.
25402         * math/test-fenv-clear.c: Likewise.
25403         * math/Makefile (tests): Add test-fenv-clear.
25404         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25405         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25406         test-fenv-clear-sse.
25407         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25409         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25410         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25411         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25413 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25415         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25416         static libc.
25418 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25420         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25421         test.
25422         * sysdeps/i386/configure: Regenerated.
25423         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25424         test.
25425         * sysdeps/x86_64/configure: Regenerated.
25426         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25428         memset-avx2 unconditionally instead of conditionally on
25429         [$(config-cflags-avx2) = yes].
25430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25431         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25432         unconditional.
25433         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25434         * sysdeps/x86_64/multiarch/memset_chk.S
25435         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25436         to [IS_IN (libc) && SHARED].
25438 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25440         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25441         configure test.
25442         * sysdeps/arm/configure: Regenerated.
25443         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25444         Define variable if not already defined.
25446         [BZ #17404]
25447         * sysdeps/mips/atomic-machine.h
25448         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25449         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25450         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25452         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25453         unconditional.
25454         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25455         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25456         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25457         unconditional.
25458         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25459         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25460         unconditional.
25461         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25462         * stdlib/setenv.c
25463         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25464         code unconditional.
25465         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25466         Remove conditional code.
25467         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25468         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25469         unconditional.
25470         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25471         code.
25472         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25473         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25474         unconditional.
25475         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25476         code.
25477         * sysdeps/ieee754/ldbl-128/k_tanl.c
25478         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25479         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25480         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25481         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25482         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25483         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25484         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25485         unconditional.
25486         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25487         code.
25488         * sysdeps/ieee754/ldbl-96/k_tanl.c
25489         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25490         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25492         * nptl/tst-initializers1-c11.c: New file.
25493         * nptl/tst-initializers1-gnu11.c: Likewise.
25494         * nptl/Makefile (tests): Add these new tests.
25495         (CFLAGS-tst-initializers1-c11.c): New variable.
25496         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25498         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25499         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25500         instead of -std=gnu99.
25501         * configure.ac (systemtap): Test with -std=gnu11 instead of
25502         -std=gnu99.
25503         * configure: Regenerated.
25504         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25505         in compilation command in comment.
25507         * sysdeps/nptl/configure.ac: Remove file.
25508         * sysdeps/nptl/configure: Remove generated file.
25509         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25510         * configure: Regenerated.
25511         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25512         * config.make.in (have-forced-unwind): Remove variable.
25513         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25514         unconditional.
25515         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25516         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25517         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25518         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25519         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25520         unconditional.
25522 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25524         [BZ #19174]
25525         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25526         .skip_lock_out_of_tbegin_retries.
25527         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25528         (__lll_lock_elision): Likewise, and respect a value of
25529         try_tbegin <= 0.
25531 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25533         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25534         statement.
25536 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25538         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25539         variable.
25540         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25541         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25543         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25544         of -std=c1x -D_ISOC11_SOURCE.
25546         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25547         * configure: Regenerated.
25548         * manual/install.texi (Tools for Compilation): Document
25549         requirement for GCC 4.7 or later.
25550         * INSTALL: Regenerated.
25552 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25554         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25555         on CNT to a conditional jump to 'puntdata'.
25557 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25559         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25560         (libc_cv_gcc_tls_model_attr): Likewise.
25561         * configure: Regenerated.
25563         * configure.ac (libc_cv_need_minus_P): Remove configure test.
25564         * configure: Regenerated.
25565         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25567 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
25569         * configure.ac (old_glibc_headers): Remove configure test.
25570         * configure: Regenerated.
25571         * config.make.in (old-glibc-headers): Remove variable.
25572         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25573         (install): Remove dependency on remove-old-headers.
25574         (headers2_0): Remove variable.
25575         (remove-old-headers): Remove rule.
25577         * configure.ac (libc_cv_dot_text): Remove configure test.
25578         (libc_cv_asm_set_directive): Use .text instead of
25579         ${libc_cv_dot_text} in configure test.
25580         * configure: Regenerated.
25582 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25584         [BZ #19168]
25585         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25587 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25589         * configure.ac (CXX): Clear the variable if the C++ toolchain does
25590         not support static linking.
25591         * configure: Regenerate.
25593 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
25595         * math/libm-test.inc (check_float_internal): Do not special-case
25596         errors up to 0.5 ulp.
25598         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25599         log2.
25600         * math/auto-libm-test-out: Regenerated.
25601         * math/libm-test.inc (MAX_EXP): New macro.
25602         (ilogb_test_data): Add more tests.
25603         (isfinite_test_data): Likewise.
25604         (isgreater_test_data): Likewise.
25605         (isgreaterequal_test_data): Likewise.
25606         (isinf_test_data): Likewise.
25607         (isless_test_data): Likewise.
25608         (islessequal_test_data): Likewise.
25609         (islessgreater_test_data): Likewise.
25610         (isnan_test_data): Likewise.
25611         (isnormal_test_data): Likewise.
25612         (issignaling_test_data): Likewise.
25613         (isunordered_test_data): Likewise.
25614         (j0_test_data): Likewise.
25615         (j1_test_data): Likewise.
25616         (jn_test_data): Likewise.
25617         (lgamma_test_data): Likewise.
25618         (log_test_data): Likewise.
25619         (log10_test_data): Likewise.
25620         (log1p_test_data): Likewise.
25621         (log2_test_data): Likewise.
25622         (logb_test_data): Likewise.
25623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25625         [BZ #18611]
25626         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25627         avoid excess range and precision on underflow.
25628         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25629         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25630         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25631         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25632         underflow.
25633         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25635         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25636         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25637         * math/auto-libm-test-in: Do not allow missing errno setting for
25638         tests of j1 and jn.
25639         * math/auto-libm-test-out: Regenerated.
25641 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
25643         [BZ #15491]
25644         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25645         floating-point environment instead of clearing all exceptions.
25646         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25647         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25648         merging in "invalid" exceptions from frndint.
25649         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25650         * math/test-nearbyint-except.c: New file.
25651         * math/Makefile (tests): Add test-nearbyint-except.
25653 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
25655         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25657         * sysdeps/tile/libm-test-ulps: Regenerated.
25659 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25662         (__NR_sync_file_range2): Assume it is always defined.
25663         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25664         (__NR_sync_file_range): Assume it is always defined.
25666 2015-10-22  Andreas Schwab  <schwab@suse.de>
25668         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25669         INTERNAL_SYSCALL_ERRNO.
25670         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25671         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25672         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25673         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25674         Likewise.
25675         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25677 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25679         * io/tst-fcntl.c (fd): New static variable.
25680         (do_prepare): Open temporary file here....
25681         (do_test): ...not here.
25683         * io/ftwtest-sh: Also trap on exit to remove temporary files.
25685 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25687         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25688         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25689         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25690         Moved before "#ifdef __ASSEMBLER__".
25692 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25694         [BZ #19156]
25695         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25696         arguments very close to 0.
25698 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
25700         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25701         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25703 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25705         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25706         New.  Defined for GCC 5 and above when not compiling for
25707         profiling.
25708         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25710         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25711         Renamed to ...
25712         (CFLAGS-epoll_pwait.o): This.
25713         (CFLAGS-mmap.c): Renamed to ...
25714         (CFLAGS-mmap.o): This.
25715         (CFLAGS-mmap64.c): Renamed to ...
25716         (CFLAGS-mmap64.o): This.
25717         (CFLAGS-epoll_pwait.os): New.
25718         (CFLAGS-mmap.os): Likewise.
25719         (CFLAGS-mmap64.os): Likewise.
25720         (CFLAGS-semtimedop.os): Likewise.
25721         (CFLAGS-semtimedop.c): Renamed to ...
25722         (CFLAGS-semtimedop.o): This.
25724 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25726         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25727         warning message.
25729 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25731         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25732         * Makefile ($(objpfx)c++-types-check.out): Filter out
25733         $(+gccwarn-c) instead of -Wstrict-prototypes.
25735         * io/fts.c (fts_open): Convert to prototype-style function
25736         definition.
25737         * malloc/mcheck.c (mcheck): Likewise.
25738         (mcheck_pedantic): Likewise.
25739         * posix/regexec.c (re_search_2_stub): Likewise.  Use
25740         internal_function.
25741         (re_search_internal): Likewise.
25742         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25743         prototype-style function definition.
25744         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25745         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25746         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25747         (xdr_utmpptr): Likewise.
25748         (xdr_utmparr): Likewise.
25749         (xdr_utmpidle): Likewise.
25750         (xdr_utmpidleptr): Likewise.
25751         (xdr_utmpidlearr): Likewise.
25753         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25754         log, log10 and log2.
25755         * math/auto-libm-test-out: Regenerated.
25756         * math/libm-test.inc (fmod_test_data): Add more tests.
25757         (fpclassify_test_data): Likewise.
25758         (frexp_test_data): Likewise.
25759         (hypot_test_data): Likewise.
25760         (ilogb_test_data): Likewise.
25762 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
25764         * debug/fortify_fail.c (__fortify_fail): Convert to
25765         prototype-style function definition.  Use internal_function.
25766         * libio/genops.c (save_for_backup): Convert to prototype-style
25767         function definition.
25768         * libio/wgenops.c (save_for_wbackup): Likewise.
25769         * login/grantpt.c (grantpt): Likewise.
25770         * login/ptsname.c (ptsname): Likewise.
25771         (__ptsname_r): Likewise.
25772         * login/unlockpt.c (unlockpt): Likewise.
25773         * mach/msgserver.c (__mach_msg_server): Likewise.
25774         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25775         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25776         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25777         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25778         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25779         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25780         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25781         Likewise.
25782         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
25783         internal_function.
25784         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25785         prototype-style function definition.
25786         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25787         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25788         (__pthread_create_2_0): Likewise.
25789         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25790         * nptl/register-atfork.c (__register_atfork): Likewise.
25791         * posix/glob.c (glob): Likewise.
25792         * posix/regcomp.c (re_comp): Likewise.
25793         * posix/regexec.c (re_exec): Likewise.
25794         * stdlib/add_n.c [__STDC__]: Make code unconditional.
25795         [!__STDC__]: Remove conditional code.
25796         * stdlib/cmp.c [__STDC__]: Make code unconditional.
25797         [!__STDC__]: Remove conditional code.
25798         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
25799         [!__STDC__]: Remove conditional code.
25800         * stdlib/divrem.c [__STDC__]: Make code unconditional.
25801         [!__STDC__]: Remove conditional code.
25802         * stdlib/lshift.c [__STDC__]: Make code unconditional.
25803         [!__STDC__]: Remove conditional code.
25804         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
25805         [!__STDC__]: Remove conditional code.
25806         * stdlib/mul.c [__STDC__]: Make code unconditional.
25807         [!__STDC__]: Remove conditional code.
25808         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
25809         [!__STDC__]: Remove conditional code.
25810         * stdlib/rshift.c [__STDC__]: Make code unconditional.
25811         [!__STDC__]: Remove conditional code.
25812         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
25813         function definition.
25814         (STRTOF): Likewise.
25815         * stdlib/strtod_l.c (__STRTOF): Likewise.
25816         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
25817         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
25818         (__strtol_l): Likewise.
25819         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
25820         [!__STDC__]: Remove conditional code.
25821         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
25822         definition.
25823         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25824         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25825         type.
25826         (__strcasecmp): Convert to prototype-style function definition.
25827         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
25828         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25829         type.
25830         (__strncasecmp): Convert to prototype-style function definition.
25831         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
25832         * sunrpc/xdr.c (xdr_union): Likewise.
25833         * sunrpc/xdr_array.c (xdr_array): Likewise.
25834         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
25835         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
25836         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
25837         Likewise.
25838         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
25839         Likewise.
25840         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
25841         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25842         Likewise.
25843         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
25844         (LOCALE_PARAM_PROTO): Likewise.
25845         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
25846         argument type.
25847         (ut_argument_spec): Remove macro.
25848         (ut_argument_spec_iso): Rename to ut_argument_spec.
25849         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
25850         prototype-style function definition.
25851         (memcpy_uppcase): Likewise.
25852         (__strftime_internal): Likewise.
25853         (my_strftime): Likewise.
25854         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
25855         (LOCALE_PARAM_DECL): Likewise.
25856         [_LIBC] (LOCALE_PARAM): Include argument type.
25857         (__strptime_internal): Convert to prototype-style function
25858         definition.
25859         (strptime): Likewise.
25860         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25861         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25862         type.
25863         (__wcscasecmp): Convert to prototype-style function definition.
25864         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
25865         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25866         type.
25867         (__wcsncasecmp): Convert to prototype-style function definition.
25869         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
25870         function definition.
25871         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25872         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25873         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
25874         * elf/dl-minimal.c (_itoa): Likewise.
25875         * hurd/hurdmalloc.c (malloc): Likewise.
25876         (free): Likewise.
25877         (realloc): Likewise.
25878         * inet/inet6_option.c (inet6_option_space): Likewise.
25879         (inet6_option_init): Likewise.
25880         (inet6_option_append): Likewise.
25881         (inet6_option_alloc): Likewise.
25882         (inet6_option_next): Likewise.
25883         (inet6_option_find): Likewise.
25884         * io/ftw.c (FTW_NAME): Likewise.
25885         (NFTW_NAME): Likewise.
25886         (NFTW_NEW_NAME): Likewise.
25887         (NFTW_OLD_NAME): Likewise.
25888         * libio/iofwide.c (_IO_fwide): Likewise.
25889         * libio/strops.c (_IO_str_init_static_internal): Likewise.
25890         (_IO_str_init_static): Likewise.
25891         (_IO_str_init_readonly): Likewise.
25892         (_IO_str_overflow): Likewise.
25893         (_IO_str_underflow): Likewise.
25894         (_IO_str_count): Likewise.
25895         (_IO_str_seekoff): Likewise.
25896         (_IO_str_pbackfail): Likewise.
25897         (_IO_str_finish): Likewise.
25898         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
25899         (_IO_wstr_overflow): Likewise.
25900         (_IO_wstr_underflow): Likewise.
25901         (_IO_wstr_count): Likewise.
25902         (_IO_wstr_seekoff): Likewise.
25903         (_IO_wstr_pbackfail): Likewise.
25904         (_IO_wstr_finish): Likewise.
25905         * locale/programs/localedef.c (normalize_codeset): Likewise.
25906         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25907         (add_locales_to_archive): Likewise.
25908         (delete_locales_from_archive): Likewise.
25909         * malloc/malloc.c (__libc_mallinfo): Likewise.
25910         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
25911         * misc/tsearch.c (__tfind): Likewise.
25912         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
25913         * nptl/pthread_attr_getdetachstate.c
25914         (__pthread_attr_getdetachstate): Likewise.
25915         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25916         Likewise.
25917         * nptl/pthread_attr_getinheritsched.c
25918         (__pthread_attr_getinheritsched): Likewise.
25919         * nptl/pthread_attr_getschedparam.c
25920         (__pthread_attr_getschedparam): Likewise.
25921         * nptl/pthread_attr_getschedpolicy.c
25922         (__pthread_attr_getschedpolicy): Likewise.
25923         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
25924         Likewise.
25925         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
25926         Likewise.
25927         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25928         Likewise.
25929         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25930         Likewise.
25931         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
25932         (__pthread_attr_init_2_0): Likewise.
25933         * nptl/pthread_attr_setdetachstate.c
25934         (__pthread_attr_setdetachstate): Likewise.
25935         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25936         Likewise.
25937         * nptl/pthread_attr_setinheritsched.c
25938         (__pthread_attr_setinheritsched): Likewise.
25939         * nptl/pthread_attr_setschedparam.c
25940         (__pthread_attr_setschedparam): Likewise.
25941         * nptl/pthread_attr_setschedpolicy.c
25942         (__pthread_attr_setschedpolicy): Likewise.
25943         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
25944         Likewise.
25945         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
25946         Likewise.
25947         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25948         Likewise.
25949         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25950         Likewise.
25951         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
25952         Likewise.
25953         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
25954         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
25955         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
25956         use internal_function.
25957         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
25958         prototype-style function definition.
25959         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25960         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
25961         internal_function.
25962         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
25963         Convert to prototype-style function definition.
25964         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25965         Likewise.
25966         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
25967         Likewise.
25968         (__pthread_mutex_unlock): Likewise.
25969         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
25970         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
25971         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
25972         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
25973         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
25974         * nss/makedb.c (process_input): Likewise.
25975         * posix/fnmatch.c (__strchrnul): Likewise.
25976         (__wcschrnul): Likewise.
25977         (fnmatch): Likewise.
25978         * posix/fnmatch_loop.c (FCT): Likewise.
25979         * posix/glob.c (globfree): Likewise.
25980         (__glob_pattern_type): Likewise.
25981         (__glob_pattern_p): Likewise.
25982         * posix/regcomp.c (re_compile_pattern): Likewise.
25983         (re_set_syntax): Likewise.
25984         (re_compile_fastmap): Likewise.
25985         (regcomp): Likewise.
25986         (regerror): Likewise.
25987         (regfree): Likewise.
25988         * posix/regexec.c (regexec): Likewise.
25989         (re_match): Likewise.
25990         (re_search): Likewise.
25991         (re_match_2): Likewise.
25992         (re_search_2): Likewise.
25993         (re_search_stub): Likewise.  Use internal_function
25994         (re_copy_regs): Likewise.
25995         (re_set_registers): Convert to prototype-style function
25996         definition.
25997         (prune_impossible_nodes): Likewise.  Use internal_function.
25998         * resolv/inet_net_pton.c (inet_net_pton): Convert to
25999         prototype-style function definition.
26000         (inet_net_pton_ipv4): Likewise.
26001         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26002         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
26003         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
26004         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
26005         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26006         Make variadic.
26007         * time/strptime_l.c (localtime_r): Convert to prototype-style
26008         function definition.
26009         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26010         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26011         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26012         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26014         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
26015         definition.
26016         (_ufc_doit_r): Likewise.
26017         * crypt/crypt_util.c (_ufc_copymem): Likewise.
26018         (_ufc_output_conversion_r): Likewise.
26019         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
26020         * inet/rcmd.c (rcmd_af): Likewise.
26021         (rcmd): Likewise.
26022         (ruserok_af): Likewise.
26023         (ruserok): Likewise.
26024         (ruserok2_sa): Likewise.
26025         (ruserok_sa): Likewise.
26026         (iruserok_af): Likewise.
26027         (iruserok): Likewise.
26028         (__ivaliduser): Likewise.
26029         (__validuser2_sa): Likewise.
26030         * inet/rexec.c (rexec_af): Likewise.
26031         (rexec): Likewise.
26032         * inet/ruserpass.c (ruserpass): Likewise.
26033         * locale/programs/xmalloc.c (xcalloc): Likewise.
26034         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
26035         * math/w_drem.c (__drem): Likewise.
26036         * math/w_dremf.c (__dremf): Likewise.
26037         * math/w_dreml.c (__dreml): Likewise.
26038         * misc/daemon.c (daemon): Likewise.
26039         * resolv/res_debug.c (p_fqnname): Likewise.
26040         * stdlib/div.c (div): Likewise.
26041         * string/memcmp.c (memcmp_bytes): Likewise.
26042         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
26043         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
26045         * crypt/cert.c (main): Convert to prototype-style function
26046         definition.
26047         * io/pipe.c (__pipe): Likewise.
26048         * io/pipe2.c (__pipe2): Likewise.
26049         * misc/futimesat.c (futimesat): Likewise.
26050         * misc/utimes.c (__utimes): Likewise.
26051         * posix/execve.c (__execve): Likewise.
26052         * posix/execvp.c (execvp): Likewise.
26053         * posix/execvpe.c (__execvpe): Likewise.
26054         * posix/fexecve.c (fexecve): Likewise.
26055         * socket/socketpair.c (socketpair): Likewise.
26056         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26057         * stdlib/erand48.c (erand48): Likewise.
26058         * stdlib/erand48_r.c (__erand48_r): Likewise.
26059         * stdlib/jrand48.c (jrand48): Likewise.
26060         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
26061         * stdlib/lcong48.c (lcong48): Likewise.
26062         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
26063         * stdlib/nrand48.c (nrand48): Likewise.
26064         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
26065         * stdlib/seed48.c (seed48): Likewise.
26066         * stdlib/seed48_r.c (__seed48_r): Likewise.
26067         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26068         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
26069         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
26071 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26073         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
26074         * configure: Regenerated.
26075         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
26076         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
26077         unconditional.
26078         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26079         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26080         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26081         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26082         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26083         unconditional.
26084         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26086         * posix/Makefile (CFLAGS-regex.c): Remove variable.
26087         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26089         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26090         function definition.
26091         * crypt/crypt_util.c (__encrypt_r): Likewise.
26092         * libio/genops.c (_IO_no_init): Likewise.
26093         * libio/iofopncook.c (_IO_fopencookie): Likewise.
26094         (_IO_old_fopencookie): Likewise.
26095         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26096         * libio/iogetline.c (_IO_getline): Likewise.
26097         (_IO_getline_info): Likewise.
26098         * libio/iogetwline.c (_IO_getwline): Likewise.
26099         (_IO_getwline_info): Likewise.
26100         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26101         * libio/vswprintf.c (_IO_vswprintf): Likewise.
26102         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26103         (find_entry): Likewise.
26104         (iterate_table): Likewise.
26105         (lookup): Likewise.
26106         * login/forkpty.c (forkpty): Likewise.
26107         * misc/hsearch_r.c (__hsearch_r): Likewise.
26108         * misc/select.c (__select): Likewise.
26109         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26110         Likewise.
26111         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26112         Likewise.
26113         * nptl/old_pthread_cond_timedwait.c
26114         (__pthread_cond_timedwait_2_0): Likewise.
26115         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26116         * nptl/pthread_barrierattr_getpshared.c
26117         (pthread_barrierattr_getpshared): Likewise.
26118         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26119         Likewise.
26120         * nptl/pthread_mutex_setprioceiling.c
26121         (pthread_mutex_setprioceiling): Likewise.
26122         * nptl/pthread_mutexattr_getprioceiling.c
26123         (pthread_mutexattr_getprioceiling): Likewise.
26124         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26125         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26126         Likewise.
26127         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26128         Likewise.
26129         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26130         Likewise.
26131         * socket/recvfrom.c (__recvfrom): Likewise.
26132         * socket/sendto.c (__sendto): Likewise.
26133         * socket/setsockopt.c (__setsockopt): Likewise.
26134         * stdio-common/_itoa.c (_itoa): Likewise.
26135         * stdio-common/_itowa.c (_itowa): Likewise.
26136         * stdio-common/reg-printf.c (__register_printf_specifier):
26137         Likewise.
26138         (__register_printf_function): Likewise.
26139         * stdio-common/tempname.c (__path_search): Likewise.
26140         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26141         * stdlib/mul_1.c (mpn_mul_1): Likewise.
26142         * stdlib/random_r.c (__initstate_r): Likewise.
26143         * stdlib/setenv.c (__add_to_environ): Likewise.
26144         * stdlib/submul_1.c (mpn_submul_1): Likewise.
26145         * streams/getpmsg.c (getpmsg): Likewise.
26146         * streams/putmsg.c (putmsg): Likewise.
26147         * streams/putpmsg.c (putpmsg): Likewise.
26148         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26149         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26150         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26151         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
26152         * sunrpc/pm_getport.c (pmap_getport): Likewise.
26153         * sunrpc/svc_udp.c (cache_get): Likewise.
26154         * sunrpc/xdr_array.c (xdr_vector): Likewise.
26155         * sysdeps/mach/hurd/getcwd.c
26156         (__canonicalize_directory_name_internal): Likewise.
26157         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
26158         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
26159         * sysdeps/mach/hurd/select.c (__select): Likewise.
26160         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26161         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
26162         * sysdeps/sparc/nptl/pthread_barrier_init.c
26163         (__pthread_barrier_init): Likewise.
26164         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
26165         (__pthread_cond_timedwait): Likewise.
26166         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
26167         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
26168         Likewise.
26169         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
26170         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
26171         Likewise.
26172         * sysvipc/semtimedop.c (semtimedop): Likewise.
26173         * time/setitimer.c (__setitimer): Likewise.
26174         * time/strftime_l.c (emacs_strftime): Likewise.
26176 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26178         * config.make.in (have-ssp): Delete.
26179         (stack-protector): New variable.
26180         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
26181         cache test for -fstack-protector-strong.  Export stack_protector to
26182         the best ssp flag.
26183         * configure: Regenerated.
26184         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
26185         * nscd/Makefile (CFLAGS-nscd): Likewise.
26186         * resolv/Makefile (CFLAGS-libresolv): Likewise.
26188 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
26190         [BZ #19122]
26191         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
26192         attribute_hidden.
26194 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26196         [BZ #18743]
26197         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
26198         code to...
26199         (ELIDE_LOCK): ...here.
26200         (__get_new_count): New function with part of the code from
26201         __elide_lock that updates the value of adapt_count after a
26202         transaction abort.
26203         (__elided_trylock): Moved this code to...
26204         (ELIDE_TRYLOCK): ...here.
26206 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26208         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
26209         * configure: Regenerate.
26210         * INSTALL: Regenerate.
26211         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
26212         and tweak grammar.
26214 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
26216         * login/programs/pt_chown.c: Include signal.h
26217         (main): Clear any signal mask from the parent process.
26219 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26221         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
26222         * configure: Regenerated.
26223         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
26224         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
26225         $(gnu89-inline-CFLAGS).
26227         * configure.ac (libc_cv_asm_weak_directive): Remove configure
26228         test.
26229         (libc_cv_asm_weakext_directive): Likewise.
26230         * configure: Regenerated.
26231         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
26232         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
26233         * include/libc-symbols.h
26234         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
26235         #error.
26236         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
26237         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
26239         * sysdeps/arm/backtrace.c (__backtrace): Convert to
26240         prototype-style function definition.
26241         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26242         * sysdeps/i386/ffs.c (__ffs): Likewise.
26243         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26244         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
26245         Likewise.
26246         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26247         Likewise.
26248         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26249         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26250         Likewise.
26251         * sysdeps/m68k/ffs.c (__ffs): Likewise.
26252         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
26253         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
26254         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
26255         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
26256         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
26257         * sysdeps/mach/hurd/access.c (__access): Likewise.
26258         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
26259         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
26260         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26261         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
26262         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
26263         (cthread_getspecific): Likewise.
26264         (cthread_setspecific): Likewise.
26265         (__libc_getspecific): Likewise.
26266         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
26267         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
26268         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
26269         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
26270         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
26271         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
26272         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
26273         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
26274         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
26275         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
26276         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
26277         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
26278         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
26279         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
26280         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
26281         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
26282         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
26283         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
26284         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
26285         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
26286         * sysdeps/mach/hurd/link.c (__link): Likewise.
26287         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
26288         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
26289         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26290         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
26291         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26292         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
26293         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
26294         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
26295         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26296         * sysdeps/mach/hurd/rename.c (rename): Likewise.
26297         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
26298         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26299         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
26300         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
26301         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
26302         * sysdeps/mach/hurd/send.c (__send): Likewise.
26303         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
26304         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
26305         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
26306         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
26307         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
26308         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
26309         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
26310         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
26311         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
26312         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
26313         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
26314         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
26315         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
26316         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
26317         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
26318         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26319         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
26320         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26321         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
26322         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26323         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
26324         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
26325         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
26326         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
26327         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
26328         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
26329         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
26330         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
26331         * sysdeps/posix/alarm.c (alarm): Likewise.
26332         * sysdeps/posix/cuserid.c (cuserid): Likewise.
26333         * sysdeps/posix/dirfd.c (dirfd): Likewise.
26334         * sysdeps/posix/dup.c (__dup): Likewise.
26335         * sysdeps/posix/dup2.c (__dup2): Likewise.
26336         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
26337         (main): Likewise.
26338         * sysdeps/posix/flock.c (__flock): Likewise.
26339         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
26340         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26341         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
26342         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
26343         * sysdeps/posix/isatty.c (__isatty): Likewise.
26344         * sysdeps/posix/killpg.c (killpg): Likewise.
26345         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26346         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
26347         * sysdeps/posix/raise.c (raise): Likewise.
26348         * sysdeps/posix/remove.c (remove): Likewise.
26349         * sysdeps/posix/rename.c (rename): Likewise.
26350         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
26351         * sysdeps/posix/seekdir.c (seekdir): Likewise.
26352         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26353         * sysdeps/posix/sigignore.c (sigignore): Likewise.
26354         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
26355         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
26356         * sysdeps/posix/sigset.c (sigset): Likewise.
26357         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
26358         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
26359         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
26360         * sysdeps/posix/time.c (time): Likewise.
26361         * sysdeps/posix/ttyname.c (getttyname): Likewise.
26362         (ttyname): Likewise.
26363         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
26364         * sysdeps/posix/utime.c (utime): Likewise.
26365         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
26366         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26367         Likewise.
26368         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
26369         (pthread_spin_trylock): Likewise.
26370         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
26371         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
26372         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26373         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26374         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26375         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26376         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26377         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26378         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26379         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26380         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26381         * sysdeps/s390/ffs.c (__ffs): Likewise.
26382         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26383         Likewise.
26384         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26385         Likewise.
26386         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26387         Likewise.
26388         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26389         (pthread_barrier_destroy): Likewise.
26390         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26391         (__pthread_barrier_wait): Likewise.
26392         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26393         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26394         (__pthread_barrier_wait): Likewise.
26395         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26396         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26397         (memcmp_not_common_alignment): Likewise.
26398         (MEMCMP): Likewise.
26399         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26400         (_wordcopy_fwd_dest_aligned): Likewise.
26401         (_wordcopy_bwd_aligned): Likewise.
26402         (_wordcopy_bwd_dest_aligned): Likewise.
26403         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26404         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26405         * sysdeps/unix/bsd/stty.c (stty): Likewise.
26406         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26407         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26408         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26409         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26410         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26411         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26412         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26413         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26414         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26415         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26416         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26417         * sysdeps/unix/stime.c (stime): Likewise.
26418         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26419         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26420         Likewise.  Use internal_function.
26421         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26422         Convert to prototype-style function definition.
26423         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26424         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26425         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26426         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26427         Likewise.  Use internal_function.
26428         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26429         prototype-style function definition
26430         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26431         Likewise.
26432         (__getlogin_r): Likewise.
26433         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26434         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26435         (__pthread_cond_broadcast): Likewise.
26436         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26437         (__pthread_cond_destroy): Likewise.
26438         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26439         (__pthread_cond_init): Likewise.
26440         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26441         (__pthread_cond_signal): Likewise.
26442         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26443         (__pthread_cond_wait): Likewise.
26444         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26445         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26446         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26447         Likewise.
26448         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26449         Likewise.
26450         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26451         Likewise.
26452         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26453         Likewise.
26454         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26456         (__ftruncate64): Likewise.
26457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26458         (truncate64): Likewise.
26459         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26460         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26461         (pthread_getcpuclockid): Likewise.
26462         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26463         Likewise.
26464         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26465         Likewise.
26466         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26467         Likewise.
26468         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26469         Likewise.
26470         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26471         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26472         (__libc_sigaction): Likewise.
26473         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26474         Likewise.
26475         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26476         (__sigprocmask): Likewise.
26477         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26478         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26479         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26480         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26481         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26482         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26483         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26484         Likewise.
26485         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26486         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26487         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26488         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26489         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26490         Likewise.
26491         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26492         (__sigprocmask): Likewise.
26493         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26494         (cfgetispeed): Likewise.
26495         (cfsetospeed): Likewise.
26496         (cfsetispeed): Likewise.
26497         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26498         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26499         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26500         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26501         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26502         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26503         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26504         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26505         Likewise.
26506         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26507         Likewise.
26508         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26509         Likewise.
26510         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26511         Likewise.
26512         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26514 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26516         sunrpc: Rewrite with explicit TLS access using __thread.
26517         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26518         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26519         directly.
26520         (__rpc_thread_variables): Access thread_rpc_vars directly.
26521         Eliminate redundant assignment of the tvp variable.
26523 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26525         malloc: Rewrite with explicit TLS access using __thread.
26526         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26527         (tsd_setspecific, tsd_getspecific): Remove.
26528         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26529         (tsd_setspecific, tsd_getspecific): Likewise.
26530         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26531         (tsd_setspecific, tsd_getspecific): Likewise.
26532         * malloc/arena.c (thread_arena): New TLS variable.
26533         (arena_key): Remove variable.
26534         (arena_get): Use thread_arena.
26535         (arena_lookup): Remove macro.
26536         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26537         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26538         (_int_new_arena, get_free_list, reused_arena)
26539         (arena_thread_freeres): Use thread_arena.
26540         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26541         tsd_getspecific, tsd_setspecific from safety annotations.
26542         (Allocating Cleared Space): Remove arena_lookup from safety
26543         annotations.
26545 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26547         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26548         struct scratch_buffer instead of extend_alloca.
26550 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26552         * sysdeps/unix/sysv/linux/kernel-features.h
26553         (__ASSUME_SOCK_CLOEXEC): Remove.
26554         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26555         (__have_paccept): Remove unused macro.
26556         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26557         * misc/syslog.c (openlog_internal): Remove fallback code for
26558         !__ASSUME_SOCK_CLOEXEC.
26559         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26560         missing SOCK_CLOEXEC.
26561         * nscd/connections.c (have_sock_cloexec): Remove definition.
26562         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26563         * nscd/nscd_helper.c (open_socket): Remove fallback code for
26564         !__ASSUME_SOCK_CLOEXEC.
26565         * resolv/res_send.c (__have_o_nonblock): Remove definition.
26566         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26567         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26568         definition.
26569         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26570         code for !__ASSUME_SOCK_CLOEXEC.
26572 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26574         [BZ #18982]
26575         * manual/stdio.texi (Variable Arguments Output): Add portability
26576         note, explaining that vfprintf clobbers the va_list pointer.
26578 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26580         * math/libm-test.inc (fabs_test_data): Add more tests.
26581         (fdim_test_data): Likewise.
26582         (fma_test_data): Likewise.
26583         (fmax_test_data): Likewise.
26584         (fmin_test_data): Likewise.
26585         (fmod_test_data): Likewise.
26587 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
26589         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
26590         data.
26592 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26594         * math/libm-test.inc (ceil_test_data): Add more tests and more
26595         expectations for "inexact".
26596         (floor_test_data): Add more tests.
26597         (round_test_data): Likewise.
26598         (trunc_test_data): Likewise.
26600         * crypt/cert.c (good_bye): Convert to prototype-style function
26601         definition.
26602         (get8): Likewise.
26603         (put8): Likewise.
26604         * crypt/crypt-entry.c (crypt): Likewise.
26605         (__fcrypt): Likewise.
26606         * crypt/crypt_util.c (_ufc_prbits): Likewise.
26607         (_ufc_set_bits): Likewise.
26608         (_ufc_clearmem): Likewise.
26609         (__init_des_r): Likewise.
26610         (shuffle_sb): Likewise.
26611         (shuffle_sb): Likewise.
26612         (_ufc_setup_salt_r): Likewise.
26613         (_ufc_mk_keytab_r): Likewise.
26614         (_ufc_dofinalperm_r): Likewise.
26615         (encrypt): Likewise.
26616         (__setkey_r): Likewise.
26617         (setkey): Likewise.
26618         * crypt/md5.c (md5_init_ctx): Likewise.
26619         (md5_read_ctx): Likewise.
26620         (md5_finish_ctx): Likewise.
26621         (md5_stream): Likewise.
26622         (md5_buffer): Likewise.
26623         (md5_process_bytes): Likewise.
26624         * crypt/sha256.c (__sha256_init_ctx): Likewise.
26625         (__sha256_finish_ctx): Likewise.
26626         (__sha256_process_bytes): Likewise.
26627         * crypt/sha512.c (__sha512_init_ctx): Likewise.
26628         (__sha512_finish_ctx): Likewise.
26629         (__sha512_process_bytes): Likewise.
26630         * ctype/isctype.c (__isctype): Likewise.
26631         * debug/backtrace.c (__backtrace): Likewise.
26632         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26633         * debug/fgets_chk.c (__fgets_chk): Likewise.
26634         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26635         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26636         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26637         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26638         * debug/memset_chk.c (__memset_chk): Likewise.
26639         * debug/strcat_chk.c (__strcat_chk): Likewise.
26640         * debug/strncat_chk.c (__strncat_chk): Likewise.
26641         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26642         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26643         * dirent/dirfd.c (dirfd): Likewise.
26644         * dirent/getdents.c (__getdirentries): Likewise.
26645         * dirent/getdents64.c (getdirentries64): Likewise.
26646         * dirent/rewinddir.c (__rewinddir): Likewise.
26647         * dirent/seekdir.c (seekdir): Likewise.
26648         * dirent/telldir.c (telldir): Likewise.
26649         * elf/sln.c (makesymlinks): Likewise.
26650         (makesymlink): Likewise.
26651         * gmon/gmon.c (__moncontrol): Likewise.
26652         (__monstartup): Likewise.
26653         (write_hist): Likewise.
26654         (write_call_graph): Likewise.
26655         (write_bb_counts): Likewise.
26656         * grp/setgroups.c (setgroups): Likewise.
26657         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26658         * inet/inet_net.c (inet_network): Likewise.
26659         * inet/inet_netof.c (inet_netof): Likewise.
26660         * inet/rcmd.c (rresvport_af): Likewise.
26661         (rresvport): Likewise.
26662         * io/access.c (__access): Likewise.
26663         * io/chdir.c (__chdir): Likewise.
26664         * io/chmod.c (__chmod): Likewise.
26665         * io/chown.c (__chown): Likewise.
26666         * io/close.c (__close): Likewise.
26667         * io/creat.c (creat): Likewise.
26668         * io/creat64.c (creat64): Likewise.
26669         * io/dup.c (__dup): Likewise.
26670         * io/dup2.c (__dup2): Likewise.
26671         * io/dup3.c (__dup3): Likewise.
26672         * io/euidaccess.c (__euidaccess): Likewise.
26673         * io/faccessat.c (faccessat): Likewise.
26674         * io/fchmod.c (__fchmod): Likewise.
26675         * io/fchmodat.c (fchmodat): Likewise.
26676         * io/fchown.c (__fchown): Likewise.
26677         * io/fchownat.c (fchownat): Likewise.
26678         * io/fcntl.c (__fcntl): Likewise.
26679         * io/flock.c (__flock): Likewise.
26680         * io/fts.c (fts_load): Likewise.
26681         (fts_close): Likewise.
26682         (fts_read): Likewise.
26683         (fts_set): Likewise.
26684         (fts_children): Likewise.
26685         (fts_build): Likewise.
26686         (fts_stat): Likewise.
26687         (fts_sort): Likewise.
26688         (fts_alloc): Likewise.
26689         (fts_lfree): Likewise.
26690         (fts_palloc): Likewise.
26691         (fts_padjust): Likewise.
26692         (fts_maxarglen): Likewise.
26693         (fts_safe_changedir): Likewise.
26694         * io/getwd.c (getwd): Likewise.
26695         * io/isatty.c (__isatty): Likewise.
26696         * io/lchown.c (__lchown): Likewise.
26697         * io/link.c (__link): Likewise.
26698         * io/linkat.c (linkat): Likewise.
26699         * io/lseek.c (__libc_lseek): Likewise.
26700         * io/mkdir.c (__mkdir): Likewise.
26701         * io/mkdirat.c (mkdirat): Likewise.
26702         * io/mkfifo.c (mkfifo): Likewise.
26703         * io/mkfifoat.c (mkfifoat): Likewise.
26704         * io/open.c (__libc_open): Likewise.
26705         * io/open64.c (__libc_open64): Likewise.
26706         * io/readlink.c (__readlink): Likewise.
26707         * io/readlinkat.c (readlinkat): Likewise.
26708         * io/rmdir.c (__rmdir): Likewise.
26709         * io/symlink.c (__symlink): Likewise.
26710         * io/symlinkat.c (symlinkat): Likewise.
26711         * io/ttyname.c (ttyname): Likewise.
26712         * io/ttyname_r.c (__ttyname_r): Likewise.
26713         * io/umask.c (__umask): Likewise.
26714         * io/unlink.c (__unlink): Likewise.
26715         * io/unlinkat.c (unlinkat): Likewise.
26716         * io/utime.c (utime): Likewise.
26717         * libio/clearerr.c (clearerr): Likewise.
26718         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26719         * libio/feof.c (_IO_feof): Likewise.
26720         * libio/feof_u.c (feof_unlocked): Likewise.
26721         * libio/ferror.c (_IO_ferror): Likewise.
26722         * libio/ferror_u.c (ferror_unlocked): Likewise.
26723         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26724         * libio/fileno.c (__fileno): Likewise.
26725         * libio/fputc.c (fputc): Likewise.
26726         * libio/fputc_u.c (fputc_unlocked): Likewise.
26727         * libio/fputwc.c (fputwc): Likewise.
26728         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26729         * libio/freopen.c (freopen): Likewise.
26730         * libio/freopen64.c (freopen64): Likewise.
26731         * libio/fseek.c (fseek): Likewise.
26732         * libio/fseeko.c (fseeko): Likewise.
26733         * libio/fseeko64.c (fseeko64): Likewise.
26734         * libio/ftello.c (__ftello): Likewise.
26735         * libio/ftello64.c (ftello64): Likewise.
26736         * libio/fwide.c (fwide): Likewise.
26737         * libio/genops.c (_IO_un_link): Likewise.
26738         (_IO_link_in): Likewise.
26739         (_IO_least_marker): Likewise.
26740         (_IO_switch_to_main_get_area): Likewise.
26741         (_IO_switch_to_backup_area): Likewise.
26742         (_IO_switch_to_get_mode): Likewise.
26743         (_IO_free_backup_area): Likewise.
26744         (_IO_switch_to_put_mode): Likewise.
26745         (__overflow): Likewise.
26746         (__underflow): Likewise.
26747         (__uflow): Likewise.
26748         (_IO_setb): Likewise.
26749         (_IO_doallocbuf): Likewise.
26750         (_IO_default_underflow): Likewise.
26751         (_IO_default_uflow): Likewise.
26752         (_IO_default_xsputn): Likewise.
26753         (_IO_sgetn): Likewise.
26754         (_IO_default_xsgetn): Likewise.
26755         (_IO_sync): Likewise.
26756         (_IO_default_setbuf): Likewise.
26757         (_IO_default_seekpos): Likewise.
26758         (_IO_default_doallocate): Likewise.
26759         (_IO_init): Likewise.
26760         (_IO_old_init): Likewise.
26761         (_IO_default_sync): Likewise.
26762         (_IO_default_finish): Likewise.
26763         (_IO_default_seekoff): Likewise.
26764         (_IO_sputbackc): Likewise.
26765         (_IO_sungetc): Likewise.
26766         (_IO_set_column): Likewise.
26767         (_IO_set_column): Likewise.
26768         (_IO_adjust_column): Likewise.
26769         (_IO_get_column): Likewise.
26770         (_IO_init_marker): Likewise.
26771         (_IO_remove_marker): Likewise.
26772         (_IO_marker_difference): Likewise.
26773         (_IO_marker_delta): Likewise.
26774         (_IO_seekmark): Likewise.
26775         (_IO_unsave_markers): Likewise.
26776         (_IO_nobackup_pbackfail): Likewise.
26777         (_IO_default_pbackfail): Likewise.
26778         (_IO_default_seek): Likewise.
26779         (_IO_default_stat): Likewise.
26780         (_IO_default_read): Likewise.
26781         (_IO_default_write): Likewise.
26782         (_IO_default_showmanyc): Likewise.
26783         (_IO_default_imbue): Likewise.
26784         (_IO_iter_next): Likewise.
26785         (_IO_iter_file): Likewise.
26786         * libio/getc.c (_IO_getc): Likewise.
26787         * libio/getwc.c (_IO_getwc): Likewise.
26788         * libio/iofclose.c (_IO_new_fclose): Likewise.
26789         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26790         * libio/iofflush.c (_IO_fflush): Likewise.
26791         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
26792         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
26793         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
26794         * libio/iofgets.c (_IO_fgets): Likewise.
26795         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
26796         * libio/iofgetws.c (fgetws): Likewise.
26797         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26798         * libio/iofopen64.c (_IO_fopen64): Likewise.
26799         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26800         (_IO_cookie_write): Likewise.
26801         (_IO_cookie_seek): Likewise.
26802         (_IO_cookie_close): Likewise.
26803         (_IO_cookie_seekoff): Likewise.
26804         (_IO_old_cookie_seek): Likewise.
26805         * libio/iofputs.c (_IO_fputs): Likewise.
26806         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
26807         * libio/iofputws.c (fputws): Likewise.
26808         * libio/iofputws_u.c (fputws_unlocked): Likewise.
26809         * libio/iofread.c (_IO_fread): Likewise.
26810         * libio/iofread_u.c (__fread_unlocked): Likewise.
26811         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
26812         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26813         * libio/ioftell.c (_IO_ftell): Likewise.
26814         * libio/iofwrite.c (_IO_fwrite): Likewise.
26815         * libio/iogetdelim.c (_IO_getdelim): Likewise.
26816         * libio/iogets.c (_IO_gets): Likewise.
26817         * libio/iopadn.c (_IO_padn): Likewise.
26818         * libio/iopopen.c (_IO_new_proc_open): Likewise.
26819         (_IO_new_popen): Likewise.
26820         (_IO_new_proc_close): Likewise.
26821         * libio/ioputs.c (_IO_puts): Likewise.
26822         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
26823         (_IO_seekoff): Likewise.
26824         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
26825         (_IO_seekpos): Likewise.
26826         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
26827         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
26828         * libio/ioungetc.c (_IO_ungetc): Likewise.
26829         * libio/ioungetwc.c (ungetwc): Likewise.
26830         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26831         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
26832         * libio/iowpadn.c (_IO_wpadn): Likewise.
26833         * libio/libc_fatal.c (__libc_fatal): Likewise.
26834         * libio/memstream.c (__open_memstream): Likewise.
26835         (_IO_mem_sync): Likewise.
26836         (_IO_mem_finish): Likewise.
26837         * libio/oldfileops.c (_IO_old_file_init): Likewise.
26838         (_IO_old_file_close_it): Likewise.
26839         (_IO_old_file_finish): Likewise.
26840         (_IO_old_file_fopen): Likewise.
26841         (_IO_old_file_attach): Likewise.
26842         (_IO_old_file_setbuf): Likewise.
26843         (_IO_old_do_write): Likewise.
26844         (old_do_write): Likewise.
26845         (_IO_old_file_underflow): Likewise.
26846         (_IO_old_file_overflow): Likewise.
26847         (_IO_old_file_sync): Likewise.
26848         (_IO_old_file_seekoff): Likewise.
26849         (_IO_old_file_write): Likewise.
26850         (_IO_old_file_xsputn): Likewise.
26851         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
26852         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26853         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
26854         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
26855         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26856         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
26857         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
26858         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
26859         (_IO_old_popen): Likewise.
26860         (_IO_old_proc_close): Likewise.
26861         * libio/oldpclose.c (__old_pclose): Likewise.
26862         * libio/pclose.c (__new_pclose): Likewise.
26863         * libio/peekc.c (_IO_peekc_locked): Likewise.
26864         * libio/putc.c (_IO_putc): Likewise.
26865         * libio/putc_u.c (putc_unlocked): Likewise.
26866         * libio/putchar.c (putchar): Likewise.
26867         * libio/putchar_u.c (putchar_unlocked): Likewise.
26868         * libio/putwc.c (putwc): Likewise.
26869         * libio/putwc_u.c (putwc_unlocked): Likewise.
26870         * libio/putwchar.c (putwchar): Likewise.
26871         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
26872         * libio/rewind.c (rewind): Likewise.
26873         * libio/setbuf.c (setbuf): Likewise.
26874         * libio/setlinebuf.c (setlinebuf): Likewise.
26875         * libio/vasprintf.c (_IO_vasprintf): Likewise.
26876         * libio/vscanf.c (_IO_vscanf): Likewise.
26877         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
26878         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
26879         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26880         * libio/wgenops.c (_IO_least_wmarker): Likewise.
26881         (_IO_switch_to_main_wget_area): Likewise.
26882         (_IO_switch_to_wbackup_area): Likewise.
26883         (_IO_wsetb): Likewise.
26884         (_IO_wdefault_pbackfail): Likewise.
26885         (_IO_wdefault_finish): Likewise.
26886         (_IO_wdefault_uflow): Likewise.
26887         (__woverflow): Likewise.
26888         (__wuflow): Likewise.
26889         (__wunderflow): Likewise.
26890         (_IO_wdefault_xsputn): Likewise.
26891         (_IO_wdefault_xsgetn): Likewise.
26892         (_IO_wdoallocbuf): Likewise.
26893         (_IO_wdefault_doallocate): Likewise.
26894         (_IO_switch_to_wget_mode): Likewise.
26895         (_IO_free_wbackup_area): Likewise.
26896         (_IO_switch_to_wput_mode): Likewise.
26897         (_IO_sputbackwc): Likewise.
26898         (_IO_sungetwc): Likewise.
26899         (_IO_adjust_wcolumn): Likewise.
26900         (_IO_init_wmarker): Likewise.
26901         (_IO_wmarker_delta): Likewise.
26902         (_IO_seekwmark): Likewise.
26903         (_IO_unsave_wmarkers): Likewise.
26904         * libio/wmemstream.c (open_wmemstream): Likewise.
26905         (_IO_wmem_sync): Likewise.
26906         (_IO_wmem_finish): Likewise.
26907         * locale/nl_langinfo.c (nl_langinfo): Likewise.
26908         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
26909         * locale/programs/simple-hash.c (init_hash): Likewise.
26910         (delete_hash): Likewise.
26911         (insert_entry): Likewise.
26912         (set_entry): Likewise.
26913         (next_prime): Likewise.
26914         (is_prime): Likewise.
26915         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
26916         (xmalloc): Likewise.
26917         (xrealloc): Likewise.
26918         * locale/programs/xstrdup.c (xstrdup): Likewise.
26919         * localedata/collate-test.c (xstrcoll): Likewise.
26920         * localedata/xfrm-test.c (xstrcmp): Likewise.
26921         * login/getlogin_r.c (__getlogin_r): Likewise.
26922         * login/getpt.c (__posix_openpt): Likewise.
26923         * login/login_tty.c (login_tty): Likewise.
26924         * login/setlogin.c (setlogin): Likewise.
26925         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
26926         (mach_msg_destroy_port): Likewise.
26927         (mach_msg_destroy_memory): Likewise.
26928         * malloc/mcheck.c (flood): Likewise.
26929         * misc/acct.c (acct): Likewise.
26930         * misc/brk.c (__brk): Likewise.
26931         * misc/chflags.c (chflags): Likewise.
26932         * misc/chroot.c (chroot): Likewise.
26933         * misc/fchflags.c (fchflags): Likewise.
26934         * misc/fstab.c (getfsspec): Likewise.
26935         (getfsfile): Likewise.
26936         * misc/fsync.c (fsync): Likewise.
26937         * misc/ftruncate.c (__ftruncate): Likewise.
26938         * misc/ftruncate64.c (__ftruncate64): Likewise.
26939         * misc/getdomain.c (getdomainname): Likewise.
26940         (getdomainname): Likewise.
26941         * misc/gethostname.c (__gethostname): Likewise.
26942         * misc/getpass.c (getpass): Likewise.
26943         * misc/getttyent.c (skip): Likewise.
26944         (value): Likewise.
26945         * misc/gtty.c (gtty): Likewise.
26946         * misc/hsearch.c (hsearch): Likewise.
26947         (hcreate): Likewise.
26948         * misc/hsearch_r.c (__hcreate_r): Likewise.
26949         (__hdestroy_r): Likewise.
26950         * misc/ioctl.c (__ioctl): Likewise.
26951         * misc/mkdtemp.c (mkdtemp): Likewise.
26952         * misc/mkostemp.c (mkostemp): Likewise.
26953         * misc/mkostemp64.c (mkostemp64): Likewise.
26954         * misc/mkostemps.c (mkostemps): Likewise.
26955         * misc/mkostemps64.c (mkostemps64): Likewise.
26956         * misc/mkstemp.c (mkstemp): Likewise.
26957         * misc/mkstemp64.c (mkstemp64): Likewise.
26958         * misc/mkstemps.c (mkstemps): Likewise.
26959         * misc/mkstemps64.c (mkstemps64): Likewise.
26960         * misc/mktemp.c (__mktemp): Likewise.
26961         * misc/preadv.c (preadv): Likewise.
26962         * misc/preadv64.c (preadv64): Likewise.
26963         * misc/pwritev.c (pwritev): Likewise.
26964         * misc/pwritev64.c (pwritev64): Likewise.
26965         * misc/readv.c (__readv): Likewise.
26966         * misc/revoke.c (revoke): Likewise.
26967         * misc/setdomain.c (setdomainname): Likewise.
26968         * misc/setegid.c (setegid): Likewise.
26969         * misc/seteuid.c (seteuid): Likewise.
26970         * misc/sethostid.c (sethostid): Likewise.
26971         * misc/sethostname.c (sethostname): Likewise.
26972         * misc/setregid.c (__setregid): Likewise.
26973         * misc/setreuid.c (__setreuid): Likewise.
26974         * misc/sstk.c (sstk): Likewise.
26975         * misc/stty.c (stty): Likewise.
26976         * misc/syscall.c (syscall): Likewise.
26977         * misc/syslog.c (setlogmask): Likewise.
26978         * misc/truncate.c (__truncate): Likewise.
26979         * misc/truncate64.c (truncate64): Likewise.
26980         * misc/ualarm.c (ualarm): Likewise.
26981         * misc/usleep.c (usleep): Likewise.
26982         * misc/ustat.c (ustat): Likewise.
26983         * misc/writev.c (__writev): Likewise.
26984         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
26985         * nptl/old_pthread_cond_broadcast.c
26986         (__pthread_cond_broadcast_2_0): Likewise.
26987         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
26988         Likewise.
26989         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
26990         Likewise.
26991         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
26992         Likewise.
26993         * nptl/pt-raise.c (raise): Likewise.
26994         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
26995         Likewise.
26996         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
26997         * nptl/pthread_barrierattr_destroy.c
26998         (pthread_barrierattr_destroy): Likewise.
26999         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27000         Likewise.
27001         * nptl/pthread_barrierattr_setpshared.c
27002         (pthread_barrierattr_setpshared): Likewise.
27003         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27004         Likewise.
27005         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
27006         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27007         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
27008         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
27009         Likewise.
27010         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
27011         Likewise.
27012         * nptl/pthread_condattr_getpshared.c
27013         (pthread_condattr_getpshared): Likewise.
27014         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
27015         Likewise.
27016         * nptl/pthread_condattr_setpshared.c
27017         (pthread_condattr_setpshared): Likewise.
27018         * nptl/pthread_detach.c (pthread_detach): Likewise.
27019         * nptl/pthread_equal.c (__pthread_equal): Likewise.
27020         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
27021         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
27022         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
27023         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
27024         Likewise.
27025         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
27026         Likewise.
27027         * nptl/pthread_mutex_getprioceiling.c
27028         (pthread_mutex_getprioceiling): Likewise.
27029         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
27030         Likewise.
27031         * nptl/pthread_mutexattr_getprotocol.c
27032         (pthread_mutexattr_getprotocol): Likewise.
27033         * nptl/pthread_mutexattr_getpshared.c
27034         (pthread_mutexattr_getpshared): Likewise.
27035         * nptl/pthread_mutexattr_getrobust.c
27036         (pthread_mutexattr_getrobust): Likewise.
27037         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27038         Likewise.
27039         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
27040         Likewise.
27041         * nptl/pthread_mutexattr_setprioceiling.c
27042         (pthread_mutexattr_setprioceiling): Likewise.
27043         * nptl/pthread_mutexattr_setprotocol.c
27044         (pthread_mutexattr_setprotocol): Likewise.
27045         * nptl/pthread_mutexattr_setpshared.c
27046         (pthread_mutexattr_setpshared): Likewise.
27047         * nptl/pthread_mutexattr_setrobust.c
27048         (pthread_mutexattr_setrobust): Likewise.
27049         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
27050         Likewise.
27051         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
27052         Likewise.
27053         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
27054         Likewise.
27055         * nptl/pthread_rwlockattr_getkind_np.c
27056         (pthread_rwlockattr_getkind_np): Likewise.
27057         * nptl/pthread_rwlockattr_getpshared.c
27058         (pthread_rwlockattr_getpshared): Likewise.
27059         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
27060         Likewise.
27061         * nptl/pthread_rwlockattr_setkind_np.c
27062         (pthread_rwlockattr_setkind_np): Likewise.
27063         * nptl/pthread_rwlockattr_setpshared.c
27064         (pthread_rwlockattr_setpshared): Likewise.
27065         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
27066         Likewise.
27067         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
27068         Likewise.
27069         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
27070         Likewise.
27071         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
27072         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
27073         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
27074         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
27075         * nptl/sem_close.c (sem_close): Likewise.
27076         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
27077         * nptl/sem_init.c (__old_sem_init): Likewise.
27078         * nptl/sigaction.c (__sigaction): Likewise.
27079         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27080         * posix/_exit.c (_exit): Likewise.
27081         * posix/alarm.c (alarm): Likewise.
27082         * posix/confstr.c (confstr): Likewise.
27083         * posix/fpathconf.c (__fpathconf): Likewise.
27084         * posix/getgroups.c (__getgroups): Likewise.
27085         * posix/getpgid.c (__getpgid): Likewise.
27086         * posix/group_member.c (__group_member): Likewise.
27087         * posix/pathconf.c (__pathconf): Likewise.
27088         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27089         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27090         * posix/setgid.c (__setgid): Likewise.
27091         * posix/setpgid.c (__setpgid): Likewise.
27092         * posix/setuid.c (__setuid): Likewise.
27093         * posix/sleep.c (__sleep): Likewise.
27094         * posix/sysconf.c (__sysconf): Likewise.
27095         * posix/times.c (__times): Likewise.
27096         * posix/uname.c (__uname): Likewise.
27097         * posix/waitid.c (__waitid): Likewise.
27098         * pwd/getpw.c (__getpw): Likewise.
27099         * resolv/base64.c (b64_pton): Likewise.
27100         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27101         * resolv/gethnamaddr.c (Dprintf): Likewise.
27102         (gethostbyname): Likewise.
27103         (gethostbyname2): Likewise.
27104         (gethostbyaddr): Likewise.
27105         (_sethtent): Likewise.
27106         (_gethtbyname): Likewise.
27107         (_gethtbyname2): Likewise.
27108         (_gethtbyaddr): Likewise.
27109         (map_v4v6_address): Likewise.
27110         (map_v4v6_hostent): Likewise.
27111         (addrsort): Likewise.
27112         (ht_sethostent): Likewise.
27113         (ht_gethostbyname): Likewise.
27114         (ht_gethostbyaddr): Likewise.
27115         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27116         (inet_net_ntop_ipv4): Likewise.
27117         * resolv/inet_neta.c (inet_neta): Likewise.
27118         * resolv/inet_ntop.c (inet_ntop): Likewise.
27119         (inet_ntop4): Likewise.
27120         (inet_ntop6): Likewise.
27121         * resolv/inet_pton.c (__inet_pton): Likewise.
27122         (inet_pton4): Likewise.
27123         (inet_pton6): Likewise.
27124         * resolv/res_debug.c (loc_aton): Likewise.
27125         (loc_ntoa): Likewise.
27126         * resource/getpriority.c (__getpriority): Likewise.
27127         * resource/getrusage.c (__getrusage): Likewise.
27128         * resource/nice.c (nice): Likewise.
27129         * resource/setpriority.c (__setpriority): Likewise.
27130         * resource/setrlimit64.c (setrlimit64): Likewise.
27131         * resource/vlimit.c (vlimit): Likewise.
27132         * resource/vtimes.c (vtimes): Likewise.
27133         * rt/aio_error.c (aio_error): Likewise.
27134         * rt/aio_return.c (aio_return): Likewise.
27135         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27136         * signal/kill.c (__kill): Likewise.
27137         * signal/killpg.c (killpg): Likewise.
27138         * signal/raise.c (raise): Likewise.
27139         * signal/sigaction.c (__sigaction): Likewise.
27140         * signal/sigaddset.c (sigaddset): Likewise.
27141         * signal/sigaltstack.c (sigaltstack): Likewise.
27142         * signal/sigandset.c (sigandset): Likewise.
27143         * signal/sigblock.c (__sigblock): Likewise.
27144         * signal/sigdelset.c (sigdelset): Likewise.
27145         * signal/sigempty.c (sigemptyset): Likewise.
27146         * signal/sigfillset.c (sigfillset): Likewise.
27147         * signal/sighold.c (sighold): Likewise.
27148         * signal/sigignore.c (sigignore): Likewise.
27149         * signal/sigintr.c (siginterrupt): Likewise.
27150         * signal/sigisempty.c (sigisemptyset): Likewise.
27151         * signal/sigismem.c (sigismember): Likewise.
27152         * signal/signal.c (signal): Likewise.
27153         * signal/sigorset.c (sigorset): Likewise.
27154         * signal/sigpause.c (__sigpause): Likewise.
27155         * signal/sigpending.c (sigpending): Likewise.
27156         * signal/sigprocmask.c (__sigprocmask): Likewise.
27157         * signal/sigrelse.c (sigrelse): Likewise.
27158         * signal/sigreturn.c (__sigreturn): Likewise.
27159         * signal/sigset.c (sigset): Likewise.
27160         * signal/sigsetmask.c (__sigsetmask): Likewise.
27161         * signal/sigstack.c (sigstack): Likewise.
27162         * signal/sigsuspend.c (__sigsuspend): Likewise.
27163         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
27164         * signal/sysv_signal.c (__sysv_signal): Likewise.
27165         * socket/accept.c (accept): Likewise.
27166         * socket/accept4.c (__libc_accept4): Likewise.
27167         * socket/bind.c (__bind): Likewise.
27168         * socket/connect.c (__connect): Likewise.
27169         * socket/getpeername.c (getpeername): Likewise.
27170         * socket/getsockname.c (__getsockname): Likewise.
27171         * socket/getsockopt.c (getsockopt): Likewise.
27172         * socket/listen.c (__listen): Likewise.
27173         * socket/recv.c (__recv): Likewise.
27174         * socket/recvmsg.c (__recvmsg): Likewise.
27175         * socket/send.c (__send): Likewise.
27176         * socket/sendmsg.c (__sendmsg): Likewise.
27177         * socket/shutdown.c (shutdown): Likewise.
27178         * socket/sockatmark.c (sockatmark): Likewise.
27179         * socket/socket.c (__socket): Likewise.
27180         * stdio-common/ctermid.c (ctermid): Likewise.
27181         * stdio-common/cuserid.c (cuserid): Likewise.
27182         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
27183         * stdio-common/remove.c (remove): Likewise.
27184         * stdio-common/rename.c (rename): Likewise.
27185         * stdio-common/renameat.c (renameat): Likewise.
27186         * stdio-common/tempname.c (__gen_tempname): Likewise.
27187         * stdio-common/xbug.c (InitBuffer): Likewise.
27188         (AppendToBuffer): Likewise.
27189         (ReadFile): Likewise.
27190         * stdlib/a64l.c (a64l): Likewise.
27191         * stdlib/drand48_r.c (drand48_r): Likewise.
27192         * stdlib/getcontext.c (getcontext): Likewise.
27193         * stdlib/getenv.c (getenv): Likewise.
27194         * stdlib/l64a.c (l64a): Likewise.
27195         * stdlib/llabs.c (llabs): Likewise.
27196         * stdlib/lldiv.c (lldiv): Likewise.
27197         * stdlib/lrand48_r.c (lrand48_r): Likewise.
27198         * stdlib/mrand48_r.c (mrand48_r): Likewise.
27199         * stdlib/putenv.c (putenv): Likewise.
27200         * stdlib/random.c (__srandom): Likewise.
27201         (__initstate): Likewise.
27202         (__setstate): Likewise.
27203         * stdlib/random_r.c (__srandom_r): Likewise.
27204         (__setstate_r): Likewise.
27205         (__random_r): Likewise.
27206         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
27207         * stdlib/setcontext.c (setcontext): Likewise.
27208         * stdlib/setenv.c (setenv): Likewise.
27209         (unsetenv): Likewise.
27210         * stdlib/srand48.c (srand48): Likewise.
27211         * stdlib/srand48_r.c (__srand48_r): Likewise.
27212         * stdlib/swapcontext.c (swapcontext): Likewise.
27213         * stdlib/system.c (__libc_system): Likewise.
27214         * stdlib/tst-strtod.c (expand): Likewise.
27215         * stdlib/tst-strtol.c (expand): Likewise.
27216         * stdlib/tst-strtoll.c (expand): Likewise.
27217         * streams/fattach.c (fattach): Likewise.
27218         * streams/fdetach.c (fdetach): Likewise.
27219         * streams/getmsg.c (getmsg): Likewise.
27220         * streams/isastream.c (isastream): Likewise.
27221         * string/ffs.c (__ffs): Likewise.
27222         * string/ffsll.c (ffsll): Likewise.
27223         * string/memcmp.c (memcmp_common_alignment): Likewise.
27224         (memcmp_not_common_alignment): Likewise.
27225         (MEMCMP): Likewise.
27226         * string/memcpy.c (memcpy): Likewise.
27227         * string/memmove.c (MEMMOVE): Likewise.
27228         * string/memset.c (memset): Likewise.
27229         * string/rawmemchr.c (RAWMEMCHR): Likewise.
27230         * string/strchrnul.c (STRCHRNUL): Likewise.
27231         * string/strerror.c (strerror): Likewise.
27232         * string/strndup.c (__strndup): Likewise.
27233         * string/strverscmp.c (__strverscmp): Likewise.
27234         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
27235         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
27236         (clnttcp_freeres): Likewise.
27237         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
27238         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
27239         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
27240         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
27241         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
27242         (xdr_callhdr): Likewise.
27243         * sunrpc/rpcinfo.c (udpping): Likewise.
27244         (tcpping): Likewise.
27245         (pstatus): Likewise.
27246         (pmapdump): Likewise.
27247         (brdcst): Likewise.
27248         (deletereg): Likewise.
27249         (getprognum): Likewise.
27250         (getvers): Likewise.
27251         (get_inet_address): Likewise.
27252         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
27253         * sunrpc/svc_udp.c (svcudp_create): Likewise.
27254         (svcudp_stat): Likewise.
27255         (svcudp_recv): Likewise.
27256         (svcudp_reply): Likewise.
27257         (svcudp_getargs): Likewise.
27258         (svcudp_freeargs): Likewise.
27259         (svcudp_destroy): Likewise.
27260         * sunrpc/xdr.c (xdr_bytes): Likewise.
27261         (xdr_netobj): Likewise.
27262         (xdr_string): Likewise.
27263         (xdr_wrapstring): Likewise.
27264         * sunrpc/xdr_float.c (xdr_float): Likewise.
27265         (xdr_double): Likewise.
27266         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
27267         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
27268         * sysvipc/ftok.c (ftok): Likewise.
27269         * sysvipc/msgctl.c (msgctl): Likewise.
27270         * sysvipc/msgget.c (msgget): Likewise.
27271         * sysvipc/msgrcv.c (msgrcv): Likewise.
27272         * sysvipc/msgsnd.c (msgsnd): Likewise.
27273         * sysvipc/semget.c (semget): Likewise.
27274         * sysvipc/semop.c (semop): Likewise.
27275         * sysvipc/shmat.c (shmat): Likewise.
27276         * sysvipc/shmctl.c (shmctl): Likewise.
27277         * sysvipc/shmdt.c (shmdt): Likewise.
27278         * sysvipc/shmget.c (shmget): Likewise.
27279         * termios/cfmakeraw.c (cfmakeraw): Likewise.
27280         * termios/speed.c (cfgetospeed): Likewise.
27281         (cfgetispeed): Likewise.
27282         (cfsetospeed): Likewise.
27283         (cfsetispeed): Likewise.
27284         * termios/tcflow.c (tcflow): Likewise.
27285         * termios/tcflush.c (tcflush): Likewise.
27286         * termios/tcgetattr.c (__tcgetattr): Likewise.
27287         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
27288         * termios/tcgetsid.c (tcgetsid): Likewise.
27289         * termios/tcsendbrk.c (tcsendbreak): Likewise.
27290         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
27291         * time/adjtime.c (__adjtime): Likewise.
27292         * time/dysize.c (dysize): Likewise.
27293         * time/ftime.c (ftime): Likewise.
27294         * time/getitimer.c (__getitimer): Likewise.
27295         * time/gettimeofday.c (__gettimeofday): Likewise.
27296         * time/gmtime.c (__gmtime_r): Likewise.
27297         (gmtime): Likewise.
27298         * time/localtime.c (__localtime_r): Likewise.
27299         (localtime): Likewise.
27300         * time/offtime.c (__offtime): Likewise.
27301         * time/settimeofday.c (__settimeofday): Likewise.
27302         * time/stime.c (stime): Likewise.
27303         * time/strftime_l.c (tm_diff): Likewise.
27304         (iso_week_days): Likewise.
27305         * time/strptime.c (strptime): Likewise.
27306         * time/time.c (time): Likewise.
27307         * time/timespec_get.c (timespec_get): Likewise.
27308         * time/tzset.c (tzset_internal): Likewise.
27309         (compute_change): Likewise.
27310         (__tz_compute): Likewise.
27311         * wcsmbs/btowc.c (__btowc): Likewise.
27312         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
27313         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
27314         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
27315         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
27316         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
27317         * wcsmbs/wcscat.c (__wcscat): Likewise.
27318         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27319         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
27320         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
27321         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27322         * wcsmbs/wcsdup.c (wcsdup): Likewise.
27323         * wcsmbs/wcslen.c (__wcslen): Likewise.
27324         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
27325         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
27326         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
27327         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
27328         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27329         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
27330         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27331         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27332         * wcsmbs/wcstok.c (wcstok): Likewise.
27333         * wcsmbs/wctob.c (wctob): Likewise.
27334         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
27335         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27336         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
27337         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
27338         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
27339         * wcsmbs/wmemset.c (__wmemset): Likewise.
27340         * wctype/wcfuncs.c (__towlower): Likewise.
27341         (__towupper): Likewise.
27343         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
27344         (lll_unlock_elision): Add adapt_count parameter.
27346 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27348         * sysdeps/nptl/configure.ac: Do not give errors based on the
27349         results of top-level configure tests.
27350         * sysdeps/nptl/configure: Regenerated.
27352         * configure.ac (libc_cv_Bgroup): Remove configure test.
27353         * configure: Regenerated.
27354         * config.make.in (have-Bgroup): Remove variable.
27356         * configure.ac (sizeof_long_double): Remove configure test.
27357         * configure: Regenerated.
27358         * config.make.in (sizeof-long-double): Remove variable.
27360         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
27361         * configure: Regenerated.
27362         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
27363         variable.
27364         (exceptions): Likewise.
27365         * sysdeps/arm/configure: Regenerated.
27366         * config.make.in (exceptions): Remove variable.
27367         * Makeconfig (uses-callbacks): Use -fexceptions instead of
27368         $(exceptions).
27369         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
27370         (CFLAGS-vdprintf_chk.c): Likewise.
27371         (CFLAGS-printf_chk.c): Likewise.
27372         (CFLAGS-fprintf_chk.c): Likewise.
27373         (CFLAGS-vprintf_chk.c): Likewise.
27374         (CFLAGS-vfprintf_chk.c): Likewise.
27375         (CFLAGS-gets_chk.c): Likewise.
27376         (CFLAGS-fgets_chk.c): Likewise.
27377         (CFLAGS-fgets_u_chk.c): Likewise.
27378         (CFLAGS-fread_chk.c): Likewise.
27379         (CFLAGS-fread_u_chk.c): Likewise.
27380         (CFLAGS-wprintf_chk.c): Likewise.
27381         (CFLAGS-fwprintf_chk.c): Likewise.
27382         (CFLAGS-vwprintf_chk.c): Likewise.
27383         (CFLAGS-vfwprintf_chk.c): Likewise.
27384         (CFLAGS-fgetws_chk.c): Likewise.
27385         (CFLAGS-fgetws_u_chk.c): Likewise.
27386         * libio/Makefile (CFLAGS-fileops.c): Likewise.
27387         (CFLAGS-fputc.c): Likewise.
27388         (CFLAGS-fputwc.c): Likewise.
27389         (CFLAGS-freopen64.c): Likewise.
27390         (CFLAGS-freopen.c): Likewise.
27391         (CFLAGS-fseek.c): Likewise.
27392         (CFLAGS-fseeko64.c): Likewise.
27393         (CFLAGS-fseeko.c): Likewise.
27394         (CFLAGS-ftello64.c): Likewise.
27395         (CFLAGS-ftello.c): Likewise.
27396         (CFLAGS-fwide.c): Likewise.
27397         (CFLAGS-genops.c): Likewise.
27398         (CFLAGS-getc.c): Likewise.
27399         (CFLAGS-getchar.c): Likewise.
27400         (CFLAGS-getwc.c): Likewise.
27401         (CFLAGS-getwchar.c): Likewise.
27402         (CFLAGS-iofclose.c): Likewise.
27403         (CFLAGS-iofflush.c): Likewise.
27404         (CFLAGS-iofgetpos64.c): Likewise.
27405         (CFLAGS-iofgetpos.c): Likewise.
27406         (CFLAGS-iofgets.c): Likewise.
27407         (CFLAGS-iofgetws.c): Likewise.
27408         (CFLAGS-iofputs.c): Likewise.
27409         (CFLAGS-iofputws.c): Likewise.
27410         (CFLAGS-iofread.c): Likewise.
27411         (CFLAGS-iofsetpos64.c): Likewise.
27412         (CFLAGS-iofsetpos.c): Likewise.
27413         (CFLAGS-ioftell.c): Likewise.
27414         (CFLAGS-iofwrite.c): Likewise.
27415         (CFLAGS-iogetdelim.c): Likewise.
27416         (CFLAGS-iogetline.c): Likewise.
27417         (CFLAGS-iogets.c): Likewise.
27418         (CFLAGS-iogetwline.c): Likewise.
27419         (CFLAGS-ioputs.c): Likewise.
27420         (CFLAGS-ioseekoff.c): Likewise.
27421         (CFLAGS-ioseekpos.c): Likewise.
27422         (CFLAGS-iosetbuffer.c): Likewise.
27423         (CFLAGS-iosetvbuf.c): Likewise.
27424         (CFLAGS-ioungetc.c): Likewise.
27425         (CFLAGS-ioungetwc.c): Likewise.
27426         (CFLAGS-oldfileops.c): Likewise.
27427         (CFLAGS-oldiofclose.c): Likewise.
27428         (CFLAGS-oldiofgetpos64.c): Likewise.
27429         (CFLAGS-oldiofgetpos.c): Likewise.
27430         (CFLAGS-oldiofsetpos64.c): Likewise.
27431         (CFLAGS-oldiofsetpos.c): Likewise.
27432         (CFLAGS-peekc.c): Likewise.
27433         (CFLAGS-putc.c): Likewise.
27434         (CFLAGS-putchar.c): Likewise.
27435         (CFLAGS-putwc.c): Likewise.
27436         (CFLAGS-putwchar.c): Likewise.
27437         (CFLAGS-rewind.c): Likewise.
27438         (CFLAGS-wfileops.c): Likewise.
27439         (CFLAGS-wgenops.c): Likewise.
27440         (CFLAGS-oldiofopen.c): Likewise.
27441         (CFLAGS-iofopen.c): Likewise.
27442         (CFLAGS-iofopen64.c): Likewise.
27443         (CFLAGS-oldtmpfile.c): Likewise.
27444         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27445         (CFLAGS-fprintf.c): Likewise.
27446         (CFLAGS-printf.c): Likewise.
27447         (CFLAGS-vfwprintf.c): Likewise.
27448         (CFLAGS-vfscanf.c): Likewise.
27449         (CFLAGS-vfwscanf.c): Likewise.
27450         (CFLAGS-fscanf.c): Likewise.
27451         (CFLAGS-scanf.c): Likewise.
27452         (CFLAGS-isoc99_vfscanf.c): Likewise.
27453         (CFLAGS-isoc99_vscanf.c): Likewise.
27454         (CFLAGS-isoc99_fscanf.c): Likewise.
27455         (CFLAGS-isoc99_scanf.c): Likewise.
27456         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27457         (CFLAGS-isoc99_fwscanf.c): Likewise.
27458         (CFLAGS-isoc99_vwscanf.c): Likewise.
27459         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27461         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27462         after mkstemp64.
27463         * login/tst-utmp.c (do_prepare): Likewise.
27464         * rt/tst-aio.c (do_prepare): Likewise.
27465         * rt/tst-aio64.c (do_prepare): Likewise.
27467 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27469         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27470         (__lll_lock_elision): Remove adapt_count decrement...
27471         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27472         (__lll_trylock_elision): Likewise.
27473         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27474         (__lll_unlock_elision): ... to here. And utilize
27475         new adapt_count parameter.
27476         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27477         (__lll_unlock_elision): Update to include adapt_count
27478         parameter.
27479         (lll_unlock_elision): Pass pointer to adapt_count
27480         variable.
27482 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27484         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27485         Add elision adapt_count parameter to list of arguments.
27486         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27487         (lll_unlock_elision): Update with new parameter list
27488         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27489         (lll_unlock_elision): Likewise.
27490         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27491         (lll_unlock_elision): Likewise.
27493 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27495         [BZ #19122]
27496         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27497         attribute_hidden.
27499         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27500         attribute_hidden.
27501         [IS_IN (rtld)] (__strdup): Likewise.
27502         [IS_IN (rtld)] (__strerror_r): Likewise.
27503         [IS_IN (rtld)] (__strsep_g): Likewise.
27504         [IS_IN (rtld)] (memchr): Likewise.
27505         [IS_IN (rtld)] (memcmp): Likewise.
27506         [IS_IN (rtld)] (memcpy): Likewise.
27507         [IS_IN (rtld)] (memmove): Likewise.
27508         [IS_IN (rtld)] (memset): Likewise.
27509         [IS_IN (rtld)] (rawmemchr): Likewise.
27510         [IS_IN (rtld)] (stpcpy): Likewise.
27511         [IS_IN (rtld)] (strchr): Likewise.
27512         [IS_IN (rtld)] (strcmp): Likewise.
27513         [IS_IN (rtld)] (strlen): Likewise.
27514         [IS_IN (rtld)] (strnlen): Likewise.
27515         [IS_IN (rtld)] (strsep): Likewise.
27517         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27518         attribute_hidden.
27519         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27521         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27522         attribute_hidden.
27523         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27525         * include/setjmp.h (__longjmp): Add attribute_hidden.
27526         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27528         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27529         Add attribute_hidden.
27531         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27532         [IS_IN (rtld)] (__open): Likewise.
27533         [IS_IN (rtld)] (__fcntl): Likewise.
27535         * include/dirent.h (__opendirat): Add attribute_hidden.
27536         (__getdents): Likewise.
27537         (__getdents64): Likewise.
27538         (__alloc_dir): Likewise.
27539         [IS_IN (rtld)] (__closedir): Likewise.
27540         [IS_IN (rtld)] (__fdopendir): Likewise.
27541         [IS_IN (rtld)] (__readdir): Likewise.
27542         [IS_IN (rtld)] (__readdir64): Likewise.
27543         [IS_IN (rtld)] (__rewinddir): Likewise.
27545         * include/dlfcn.h (_dl_catch_error): Moved to ...
27546         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27547         attribute_hidden.
27549         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27550         (_itoa_word): Likewise.
27552         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27553         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27554         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27555         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27556         (_dl_higher_prime_number): Likewise.
27557         (_dl_debug_printf_c): Likewise.
27558         (_dl_signal_cerror): Likewise.
27559         (_dl_receive_error): Likewise.
27560         (_dl_reloc_bad_type): Likewise.
27561         (_dl_resolve_conflicts): Likewise.
27562         (_dl_check_all_versions): Likewise.
27563         (_dl_check_map_versions): Likewise.
27564         (_dl_sort_fini): Likewise.
27565         (_dl_debug_initialize): Likewise.
27566         (_dl_init_paths): Likewise.
27567         (_dl_show_auxv): Likewise.
27568         (_dl_next_ld_env_entry): Likewise.
27569         (_dl_important_hwcaps): Likewise.
27570         (_dl_load_cache_lookup): Likewise.
27571         (_dl_update_slotinfo): Likewise.
27572         (_dl_show_scope): Likewise.
27574         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27575         attribute_hidden.
27576         (_wordcopy_fwd_dest_aligned): Likewise.
27577         (_wordcopy_bwd_aligned): Likewise.
27578         (_wordcopy_bwd_dest_aligned): Likewise.
27580         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27581         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27582         Likewise.
27583         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27584         Likewise.
27585         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27587 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27589         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27590         GCC 5 requirement.
27592 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27594         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27595         test.
27596         * sysdeps/i386/configure: Regenerated.
27597         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27598         code unconditional.
27600         * configure.ac (libc_cv_asm_previous_directive): Remove configure
27601         test.
27602         (libc_cv_asm_popsection_directive): Likewise.
27603         * configure: Regenerated.
27604         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27605         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27606         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27607         (__make_section_unallocated): Make definition unconditional.
27608         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27609         Remove conditional definition.
27610         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27611         (__make_section_unallocated): Likewise.
27613         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27614         * configure: Regenerated.
27615         * config.make.in (static-libgcc): Remove variable.
27616         * Makerules (build-shlib-helper): Use -static-libgcc instead of
27617         $(static-libgcc).
27618         (build-module-helper): Likewise.
27620         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27621         * configure: Regenerated.
27623 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27625         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27626         (struct char_buffer): New type.
27627         (char_buffer_start, char_buffer_size, char_buffer_error)
27628         (char_buffer_rewind, char_buffer_add): New functions.
27629         (ADDW): Remove macro, replaced by the char_buffer_add function.
27630         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27631         of extend_alloca.  Make control flow more explicit.
27633 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27635         [BZ #19137]
27636         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27637         Add -fomit-frame-pointer.
27638         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27640 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27642         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27643         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27644         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27645         only if !__GNUC_PREREQ (5,0).
27646         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27647         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27648         (INTERNAL_SYSCALL_NCS): Likewise.
27649         (LOADREGS_0): New macro for GCC 5.
27650         (ASMARGS_0): Likewise.
27651         (LOADREGS_1): Likewise.
27652         (ASMARGS_1): Likewise.
27653         (LOADREGS_2): Likewise.
27654         (ASMARGS_2): Likewise.
27655         (LOADREGS_3): Likewise.
27656         (ASMARGS_3): Likewise.
27657         (LOADREGS_4): Likewise.
27658         (ASMARGS_4): Likewise.
27659         (LOADREGS_5): Likewise.
27660         (ASMARGS_5): Likewise.
27661         (LOADREGS_6): Likewise.
27662         (ASMARGS_6): Likewise.
27664 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27666         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27667         -fomit-frame-pointer.
27668         (CFLAGS-mmap64.c): Likewise.
27669         (CFLAGS-semtimedop.c): Likewise.
27670         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27671         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27672         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27673         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27675 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27677         [BZ #18928]
27678         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27679         _dl_pointer_guard member.
27680         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27681         initializer.
27682         (security_init): Always set up pointer guard.
27683         (process_envvars): Do not process LD_POINTER_GUARD.
27685 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
27687         [BZ #19134]
27688         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27689         (.LC2): Likewise.
27690         (.LC3): Likewise.
27691         (__lround): Do not add 0.5 to integer or out-of-range arguments.
27693 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27695         [BZ #19129]
27696         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27697         r0 and r1.
27699 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
27701         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27703 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
27705         * include/stap-probe.h: Fix macro definition formatting.
27707 2015-10-14  Florian Weimer  <fweimer@redhat.com>
27709         [BZ #19074]
27710         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27711         load and store num_ifs.
27713 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27715         [BZ #18822]
27716         * sysdeps/unix/sysv/linux/sched_getaffinity.c
27717         (__sched_getaffinity_new): Add libc_hidden_proto and
27718         libc_hidden_def.
27720 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27722         [BZ #19007]
27723         * scripts/localplt.awk: Also allow GOT references.
27724         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27725         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27726         with "+ REL R_386_GLOB_DAT".
27727         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27728         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27730 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27732         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27733         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27734         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27735         Likewise.
27736         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27737         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27738         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27739         INTERNAL_SYSCALLINTERNAL_SYSCALL and
27740         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27741         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27742         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27743         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27744         Likewise.
27745         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27747 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27749         [BZ #19125]
27750         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27751         <math_private.h> and <stdint.h>.
27752         (__llround): Avoid conversions to and from long long int, and
27753         subtractions, where those might raise spurious exceptions.
27754         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27755         <math_private.h> and <stdint.h>.
27756         (__llroundf): Avoid conversions to and from long long int, and
27757         subtractions, where those might raise spurious exceptions.
27759 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27761         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27762         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27763         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27764         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27765         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27766         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27767         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27768         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27769         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27770         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27771         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27772         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27773         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27774         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27775         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27776         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27777         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27778         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27779         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27780         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27781         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27782         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27783         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27784         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27785         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27786         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27787         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27788         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27789         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27790         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27791         (__xstat64_conv): Likewise.
27792         (__xstat32_conv): Likewise.
27794 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27796         * sysdeps/unix/sysv/linux/sysdep.h: New file.
27797         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
27798         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
27799         <sysdeps/unix/sysv/linux/sysdep.h>.
27800         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27801         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
27802         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
27803         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27804         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27805         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
27806         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
27807         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
27808         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
27809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27811         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27812         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27813         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27814         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27816         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
27817         (sysdep-dl-routines): Add sysdep.
27818         [$(subdir) == nptl] (libpthread-routines): Likewise.
27819         [$(subdir) == rt] (librt-routines): Likewise.
27820         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
27821         PIC when branching to SYSCALL_ERROR_LABEL.
27822         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
27823         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
27824         <sysdeps/unix/sysv/linux/sysdep.h>.
27825         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
27826         (SYSCALL_ERROR_ERRNO): Removed.
27827         (SYSCALL_ERROR_HANDLER): Changed to empty.
27828         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
27829         (__syscall_error): New prototype.
27830         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
27831         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
27833 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27835         [BZ #19124]
27836         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
27837         (_dl_runtime_resolve_avx512): Make it a hidden alias of
27838         _dl_runtime_resolve_avx.
27839         (_dl_runtime_profile_avx512): Make it a hidden alias of
27840         _dl_runtime_profile_avx.
27842 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27844         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
27845         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
27846         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
27847         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
27849         [BZ #16422]
27850         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
27851         New configure test.
27852         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
27853         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
27854         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
27855         <math_private.h> and <stdint.h>.
27856         (__llrint): Avoid conversions to long long int where those might
27857         raise spurious exceptions.
27858         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
27859         <math_private.h> and <stdint.h>.
27860         (__llrintf): Avoid conversions to long long int where those might
27861         raise spurious exceptions.
27863 2015-10-12  Andreas Schwab  <schwab@suse.de>
27865         [BZ #18969]
27866         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
27867         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
27868         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
27869         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
27870         $(gen-locales).
27871         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
27872         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
27873         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
27874         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
27875         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
27876         $(gen-locales).
27877         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
27878         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
27879         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
27880         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
27881         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
27882         ($(objpfx)tst-ftell-active-handler.out)
27883         ($(objpfx)tst-ftell-append.out)
27884         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
27885         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
27886         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
27887         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
27888         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
27889         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
27890         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
27891         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
27892         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
27893         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
27894         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
27895         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
27896         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
27897         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
27898         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
27899         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
27900         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
27901         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
27902         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
27903         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
27904         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
27905         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
27906         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
27907         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
27908         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
27909         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
27910         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
27911         $(gen-locales).
27912         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
27913         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
27914         $(gen-locales).
27915         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
27916         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
27917         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
27918         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
27919         $(gen-locales).
27920         * libio/tst_wprintf2.c (main): Use explicit locale.
27921         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
27923 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27925         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
27926         __msg_sig_post.
27927         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
27929 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
27931         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27932         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27934         * sysdeps/arm/libm-test-ulps: Regenerated.
27936         [BZ #15470]
27937         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
27939         [BZ #16399]
27940         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
27941         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
27942         and <fix-fp-int-convert-overflow.h>.
27943         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27944         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27945         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
27946         and <fix-fp-int-convert-overflow.h>.
27947         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
27948         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27949         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
27950         <fix-fp-int-convert-overflow.h>.
27951         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27952         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27953         * sysdeps/ieee754/dbl-64/s_lround.c: Include
27954         <fix-fp-int-convert-overflow.h>.
27955         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
27956         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27957         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
27958         and <fix-fp-int-convert-overflow.h>.
27959         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27960         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27961         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
27962         <limits.h> and <fix-fp-int-convert-overflow.h>.
27963         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27964         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27965         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
27966         and <fix-fp-int-convert-overflow.h>.
27967         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27968         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27969         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
27970         and <fix-fp-int-convert-overflow.h>.
27971         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27972         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27973         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
27975 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
27977         [BZ #18589]
27978         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
27979         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
27980         $(gen-locales).
27982 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27983             Phil Blundell <pb@pbcl.net>
27985         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
27986         * nptl/tst-cancel26.c: New file.
27987         * nptl/tst-cancel27.c: Likewise.
27989 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
27991         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
27992         __ILP32__ isn't defined.
27993         (lrint): Likewise.
27994         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
27995         (lrintf): Likewise.
27996         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
27997         (lrintl): Likewise.
27998         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
27999         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
28000         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
28002 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28004         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
28005         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
28007         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
28008         file.
28009         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
28010         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
28012 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28014         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
28015         configure test.
28016         * sysdeps/i386/configure: Regenerated.
28017         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
28018         configure test.
28019         * sysdeps/x86_64/configure: Regenerated.
28020         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
28021         Make code unconditional.
28023         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
28024         test.
28025         * sysdeps/i386/configure: Regenerated.
28026         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
28027         test.
28028         * sysdeps/x86_64/configure: Regenerated.
28029         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
28030         Make code unconditional.
28031         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28032         Likewise.
28033         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
28034         Likewise.
28035         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28036         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
28037         code unconditional.
28038         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28039         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
28040         code unconditional.
28041         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28042         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
28043         code unconditional.
28044         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
28045         code unconditional.
28046         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28047         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
28048         code unconditional.
28049         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28050         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
28051         code unconditional.
28052         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28053         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
28054         code unconditional.
28055         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28056         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
28057         code unconditional.
28058         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28059         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
28061         [BZ #19095]
28062         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
28063         mantissa to long int before shifting left.
28065 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28067         [BZ #19094]
28068         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
28069         <limits.h>.
28070         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28071         when result overflows but exception would not result from cast.
28072         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
28073         <limits.h>.
28074         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28075         when result overflows but exception would not result from cast.
28076         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
28077         <limits.h>.
28078         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28079         when result overflows but exception would not result from cast.
28080         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28081         <limits.h>.
28082         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28083         when result overflows but exception would not result from cast.
28084         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28085         <limits.h>.
28086         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28087         when result overflows but exception would not result from cast.
28088         * math/libm-test.inc (lrint_test_data): Add more tests.
28089         (llrint_test_data): Likewise.
28091 2015-10-08  Roland McGrath  <roland@hack.frob.com>
28093         [BZ #18872]
28094         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28095         Move out from under [$(run-built-tests) = yes] conditional.
28096         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28097         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28099 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
28101         [BZ #18589]
28102         * string/Makefile (tests): Add bug-strcoll2.
28103         (LOCALES): Add cs_CZ.UTF-8.
28104         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28106         [BZ #18589]
28107         * string/bug-strcoll2.c: New file.
28108         * locale/categories.def: Revert commit
28109         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28110         * locale/langinfo.h: Likewise.
28111         * locale/localeinfo.h: Likewise.
28112         * locale/C-collate.c: Likewise.
28113         * locale/programs/ld-collate.c (collate_output): Likewise.
28114         * string/strcoll_l.c (STRDIFF): Likewise.
28115         (STRCOLL): Likewise.
28116         * wcsmbs/wcscoll_l.c: Likewise.
28118 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28120         * math/libm-test.inc (lround_test_data): Do not expect the absence
28121         of "inexact" for some tests with non-integer arguments.
28122         (llround_test_data): Likewise.
28124         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28125         test.
28126         (libc_cv_cc_sse2avx): Likewise.
28127         * sysdeps/i386/configure: Regenerated.
28128         * sysdeps/i386/i686/multiarch/Makefile
28129         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28130         [$(subdir) = math].
28131         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28132         code unconditional.
28133         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28134         Likewise.
28135         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28136         Likewise.
28137         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28138         Likewise.
28139         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28140         test.
28141         (libc_cv_cc_sse2avx): Likewise.
28142         * sysdeps/x86_64/configure: Regenerated.
28143         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28144         unconditional.
28145         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28146         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28147         unconditional.
28148         (_dl_runtime_profile)
28149         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28150         conditional code.
28151         * sysdeps/x86_64/fpu/multiarch/Makefile
28152         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
28153         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28154         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28155         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28156         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28157         * sysdeps/x86_64/fpu/multiarch/e_log.c
28158         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28159         * sysdeps/x86_64/fpu/multiarch/s_atan.c
28160         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28161         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28162         Likewise.
28163         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28164         Likewise.
28165         * sysdeps/x86_64/fpu/multiarch/s_sin.c
28166         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28167         * sysdeps/x86_64/fpu/multiarch/s_tan.c
28168         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28169         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
28170         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
28171         (HAVE_SSE2AVX_SUPPORT): Likewise.
28173 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
28175         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
28176         instead of #pragma optimize.
28178 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28180         [BZ #17195]
28181         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
28182         as is similarly done in systrim and _int_free already.
28184 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28186         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
28188 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28190         [BZ #19088]
28191         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
28192         <limits.h>.
28193         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28194         overflows but exception would not result from cast.
28195         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
28196         and <limits.h>.
28197         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28198         overflows but exception would not result from cast.
28199         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
28200         <limits.h>.
28201         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28202         overflows but exception would not result from cast.
28203         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
28204         <limits.h>.
28205         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28206         overflows but exception would not result from cast.
28207         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
28208         <limits.h>.
28209         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28210         overflows but exception would not result from cast.
28211         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
28212         <limits.h>.
28213         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28214         overflows but exception would not result from cast.
28215         * math/libm-test.inc (lround_test_data): Add more tests.
28216         (llround_test_data): Likewise.
28218 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
28220         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
28221         (CFLAGS-ialloc.c): Ditto.
28222         (CFLAGS-scheck.c): Ditto.
28224 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28226         [BZ #19086]
28227         * manual/filesys.texi (Storage Allocation): Fix argument order for
28228         posix_fallocate64.
28230 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28232         [BZ #19085]
28233         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
28234         exponent below 48 inside case for non-overflowing exponent.
28235         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28237 2015-10-07  Florian Weimer  <fweimer@redhat.com>
28239         * iconvdata/cp737.h (from_idx): Add const.
28240         * iconvdata/cp775.h (from_idx): Likewise.
28242 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28244         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28245         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28246         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
28248         [BZ #19079]
28249         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
28250         file, conditioned on [!_LP64].
28251         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
28252         [!_LP64] (__lround): Do not define as function or alias.
28253         [!_LP64] (lround): Likewise.
28254         [!_LP64] (__lroundl): Likewise.
28255         [!_LP64] (lroundl): Likewise.
28256         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
28257         macro.
28258         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28259         Likewise.
28261 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28263         * math/libm-test.inc (lrint_test_data): Add more tests.
28264         (llrint_test_data): Likewise.
28265         (lround_test_data): Likewise.
28266         (llround_test_data): Likewise.
28268         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28269         (llrint_test_data): Add tests used for lrint.
28271         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
28272         test.
28273         * sysdeps/i386/configure: Regenerated.
28274         * sysdeps/i386/i686/multiarch/Makefile
28275         [$(config-cflags-sse4) = yes]: Make code unconditional.
28276         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28277         Likewise.
28278         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
28279         Likewise.
28280         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
28281         test.
28282         * sysdeps/x86_64/configure: Regenerated.
28283         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
28284         Make code unconditional.
28285         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28286         Likewise.
28287         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
28288         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
28290         * scripts/rpm2dynsym.sh: Remove file.
28292 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28294         * configure.ac (libc_cv_cxx_thread_local): Define.
28295         * configure: Regenerate.
28296         * config.make.in (have-cxx-thread_local): Define.
28297         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
28298         (LDLIBS-tst-thread_local1): Define.
28299         (tests): Add tst-thread_local1.
28300         [have-cxx-thread_local != yes] (tests-unsupported): Add
28301         tst-thread_local1.
28302         * nptl/tst-thread_local1.cc: New file.
28304 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28306         [BZ #19078]
28307         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
28308         (u_thres): Likewise.
28309         (__expl): Determine whether to call __kernel_standard_l based on
28310         value of result, not argument.
28312         * math/libm-test.inc (scalb_test_data): Add more expectations for
28313         the "inexact" exception.
28315         [BZ #19077]
28316         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
28317         0.0L for argument 1.0L.
28319         [BZ #19076]
28320         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
28321         constant 0.0L when computing infinite result.
28323 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28325         [BZ #10432]
28326         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
28327         malloc_usable_size.
28329 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28331         [BZ #19018]
28332         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28333         Mangle function pointer before storing it.
28334         (__call_tls_dtors): Demangle function pointer before calling it.
28336 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28338         [BZ #19012]
28339         * iconv/gconv_db.c (gen_steps): Check for additional errors.
28340         Clean up on failure.
28342 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
28344         [BZ #19071]
28345         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
28346         long int variable to store possibly incremented high part of
28347         mantissa.
28348         * math/libm-test.inc (lround_test_data): Add tests used for
28349         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
28350         for tests requiring 64-bit long.  Do not condition tests on
28351         [TEST_FLOAT] unnecessarily.
28352         (llround_test_data): Add tests used for lround.  Add another
28353         expectation for the "inexact" exception.  Do not condition tests
28354         on [TEST_FLOAT] unnecessarily.
28356         [BZ #887]
28357         [BZ #19049]
28358         [BZ #19050]
28359         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
28360         * sysdeps/ieee754/dbl-64/e_log10.c: Include
28361         <fix-int-fp-convert-zero.h>.
28362         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28363         * sysdeps/ieee754/dbl-64/e_log2.c: Include
28364         <fix-int-fp-convert-zero.h>.
28365         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28366         * sysdeps/ieee754/dbl-64/s_erf.c: Include
28367         <fix-int-fp-convert-zero.h>.
28368         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28369         * sysdeps/ieee754/dbl-64/s_logb.c: Include
28370         <fix-int-fp-convert-zero.h>.
28371         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28372         * sysdeps/ieee754/flt-32/e_log10f.c: Include
28373         <fix-int-fp-convert-zero.h>.
28374         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28375         * sysdeps/ieee754/flt-32/e_log2f.c: Include
28376         <fix-int-fp-convert-zero.h>.
28377         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28378         * sysdeps/ieee754/flt-32/s_erff.c: Include
28379         <fix-int-fp-convert-zero.h>.
28380         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28381         * sysdeps/ieee754/flt-32/s_logbf.c: Include
28382         <fix-int-fp-convert-zero.h>.
28383         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28384         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28385         <fix-int-fp-convert-zero.h>.
28386         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28387         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28388         <fix-int-fp-convert-zero.h>.
28389         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28390         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28391         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28392         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28393         file.
28394         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28396 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
28398         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28400 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
28402         [BZ #19059]
28403         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28404         overflowing computation.
28405         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28406         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28407         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28408         Likewise.
28409         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28410         Likewise.
28411         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28412         Likewise.
28413         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28414         Likewise.
28415         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28416         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28417         Likewise.
28418         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28419         Likewise.
28420         * math/libm-test.inc (nexttoward_test_data): Add more tests.
28422         * nss/rewrite_field.c (__nss_rewrite_field): Use
28423         internal_function.
28424         * nss/valid_field.c (__nss_valid_field): Likewise.
28425         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28427 2015-10-02  Florian Weimer  <fweimer@redhat.com>
28429         [BZ #18724]
28430         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28431         (__nss_invalid_field_characters, __nss_valid_field)
28432         (__nss_valid_list_field, __nss_rewrite_field): Declare.
28433         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28434         tst-field.c: New file.
28435         * nss/Makefile (routines): Add valid_field, rewrite_field.
28436         (tests-static): Define unconditionally.
28437         (tests): Include tests-static.
28438         [build-static-nss] (tests-static): Use append.
28439         [build-static-nss] (tests): Remove modification.
28440         * nss/getent.c (print_group): Call putgrent.  Report error.
28441         (print_gshadow): Call putsgent.  Report error.
28442         (print_passwd): Call putpwent.  Report error.
28443         (print_shadow): Call putspent.  Report error.
28444         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28445         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28446         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
28447         name, password, directory, shell fields for valid syntax.  Rewrite
28448         GECOS field to match syntax.
28449         * pwd/Makefile (tests): Add tst-putpwent.
28450         * pwd/tst-putpwent.c: New file.
28451         * grp/putgrent.c (putgrent): Convert to ISO function definition.
28452         Check grName, grpasswd, gr_mem fields for valid syntax.
28453         Change loop variable i to size_t.
28454         * grp/Makefile (tests): Add tst-putgrent.
28455         * grp/tst-putgrent.c: New file.
28456         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28457         valid syntax.
28458         * shadow/Makefile (tests): Add tst-putspent.
28459         * shadow/tst-putspent.c: New file.
28460         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28461         sg_mem fields for valid syntax.
28462         * gshadow/Makefile (tests): Add tst-putsgent.
28463         * gshadow/tst-putsgent.c: New file.
28465 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28467         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28468         assembly instructions.
28470 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28472         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28473         prefix from operands.
28475 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28477         [BZ #16347]
28478         [BZ #19046]
28479         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28480         <libc-internal.h>.
28481         (MAXLGM): Do not use diagnostic control macros.
28482         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28483         threshold for ldbl-128ibm.
28484         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28485         instead of multiplying by log then subtracting.
28486         * math/auto-libm-test-in: Add more tests of lgamma.
28487         * math/auto-libm-test-out: Regenerated.
28489         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28490         (TYPE_HEX_DIG): Likewise.
28491         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28492         precisions when printing floating-point numbers.
28493         (check_float_internal): Likewise.
28495 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28497         [BZ #16620]
28498         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28499         of log (10) rounded downward to 48 bits.
28500         (log10_low): Use corresponding low part of log (10).
28502         [BZ #19032]
28503         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28504         compute result as (x - x) / (x - x) not as 0 / 0.
28505         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28506         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28508         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28509         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28510         and expm1.
28511         * math/auto-libm-test-out: Regenerated.
28512         * math/libm-test.inc (acos_test_data): Add more tests.
28513         (asin_test_data): Likewise.
28514         (asinh_test_data): Likewise.
28515         (atan_test_data): Likewise.
28516         (atanh_test_data): Likewise.
28517         (atan2_test_data): Likewise.
28518         (cbrt_test_data): Likewise.
28519         (ceil_test_data): Likewise.
28520         (copysign_test_data): Likewise.
28521         (cos_test_data): Likewise.
28522         (cosh_test_data): Likewise.
28523         (erf_test_data): Likewise.
28524         (erfc_test_data): Likewise.
28525         (exp_test_data): Likewise.
28526         (exp10_test_data): Likewise.
28527         (exp2_test_data): Likewise.
28528         (expm1_test_data): Likewise.
28529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28531 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28533         [BZ #19006]
28534         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28535         to ...
28536         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28537         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28538         to ...
28539         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28540         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28541         to ...
28542         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28543         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28544         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28545         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28546         to ...
28547         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28548         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28549         Moved to ...
28550         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28551         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28552         Moved to ...
28553         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28554         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28555         to ...
28556         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28557         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28558         Moved to ...
28559         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28560         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28561         to ...
28562         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28563         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28564         Removed.
28565         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28566         Likewise.
28567         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28568         Likewise.
28569         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28570         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28571         Likewise.
28572         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28573         Likewise.
28574         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28575         Likewise.
28576         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28577         Likewise.
28578         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28579         Likewise.
28580         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28581         Likewise.
28582         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28583         Likewise.
28584         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28585         Likewise.
28586         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28587         Likewise.
28588         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28589         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28590         Likewise.
28591         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28592         Likewise.
28593         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28594         Likewise.
28595         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28596         Likewise.
28597         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28598         Likewise.
28599         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28600         Replace ../i486/pthread_cond_timedwait.S with
28601         ../pthread_cond_timedwait.S.
28603 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28605         * math/libm-test.inc (acos_test_data): Refine expectations for
28606         errno and "inexact" exceptions.
28607         (acosh_test_data): Likewise.
28608         (asin_test_data): Likewise.
28609         (asinh_test_data): Likewise.
28610         (atan_test_data): Likewise.
28611         (atanh_test_data): Likewise.
28612         (atan2_test_data): Likewise.
28613         (cbrt_test_data): Likewise.
28614         (ceil_test_data): Likewise.
28615         (copysign_test_data): Likewise.
28616         (cosh_test_data): Likewise.
28617         (erf_test_data): Likewise.
28618         (erfc_test_data): Likewise.
28619         (exp_test_data): Likewise.
28620         (exp10_test_data): Likewise.
28621         (exp2_test_data): Likewise.
28622         (expm1_test_data): Likewise.
28623         (fabs_test_data): Likewise.
28624         (floor_test_data): Likewise.
28625         (fma_test_data): Likewise.
28626         (fmax_test_data): Likewise.
28627         (fmin_test_data): Likewise.
28628         (fmod_test_data): Likewise.
28629         (fpclassify_test_data): Likewise.
28630         (frexp_test_data): Likewise.
28631         (hypot_test_data): Likewise.
28632         (ilogb_test_data): Likewise.
28633         (isgreater_test_data): Likewise.
28634         (isgreaterequal_test_data): Likewise.
28635         (isinf_test_data): Likewise.
28636         (isless_test_data): Likewise.
28637         (islessequal_test_data): Likewise.
28638         (islessgreater_test_data): Likewise.
28639         (isnan_test_data): Likewise.
28640         (isnormal_test_data): Likewise.
28641         (issignaling_test_data): Likewise.
28642         (isunordered_test_data): Likewise.
28643         (j0_test_data): Likewise.
28644         (j1_test_data): Likewise.
28645         (jn_test_data): Likewise.
28646         (lgamma_test_data): Likewise.
28647         (lrint_test_data): Likewise.
28648         (llrint_test_data): Likewise.
28649         (log_test_data): Likewise.
28650         (log10_test_data): Likewise.
28651         (log1p_test_data): Likewise.
28652         (log2_test_data): Likewise.
28653         (logb_test_data): Likewise.
28654         (lround_test_data): Likewise.
28655         (llround_test_data): Likewise.
28656         (modf_test_data): Likewise.
28657         (nearbyint_test_data): Likewise.
28658         (nextafter_test_data): Likewise.
28659         (nexttoward_test_data): Likewise.
28660         (pow_test_data): Likewise.
28661         (remainder_test_data): Likewise.
28662         (remquo_test_data): Likewise.
28663         (rint_test_data): Likewise.
28664         (round_test_data): Likewise.
28665         (signbit_test_data): Likewise.
28666         (sinh_test_data): Likewise.
28667         (sqrt_test_data): Likewise.
28668         (tanh_test_data): Likewise.
28669         (tgamma_test_data): Likewise.
28670         (trunc_test_data): Likewise.
28671         (y0_test_data): Likewise.
28672         (y1_test_data): Likewise.
28673         (yn_test_data): Likewise.
28674         (significand_test_data): Likewise.
28676 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
28678         * manual/filesys.texi (Storage Allocation): Document that
28679         posix_fallocate emulation fails when fd is open with O_WRONLY.
28681 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
28683         [BZ #19016]
28684         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28685         allow more cases with X^2 + Y^2 >= 0.5.
28686         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
28687         normal element in sum instead of special-casing based on values of
28688         arguments.
28689         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28690         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
28691         -1 as normal element in sum instead of special-casing based on
28692         values of arguments.
28693         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28694         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28695         (__x2y2m1): Update comment.
28696         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
28697         as normal element in sum instead of special-casing based on values
28698         of arguments.
28699         * math/s_clog.c (__clog): Handle more cases using log1p without
28700         hypot.
28701         * math/s_clog10.c (__clog10): Likewise.
28702         * math/s_clog10f.c (__clog10f): Likewise.
28703         * math/s_clog10l.c (__clog10l): Likewise.
28704         * math/s_clogf.c (__clogf): Likewise.
28705         * math/s_clogl.c (__clogl): Likewise.
28706         * math/auto-libm-test-in: Add more tests of clog and clog10.
28707         * math/auto-libm-test-out: Regenerated.
28708         * sysdeps/i386/fpu/libm-test-ulps: Update.
28709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28711 2015-09-28  Martin Sebor  <msebor@redhat.com>
28713         [BZ #18969]
28714         * string/Makefile (LOCALES): Define.
28715         (gen-locales.mk): Include.
28716         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28717         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28718         * string/tst-strxfrm2.c (do_test): Print the name of the locale
28719         on setlocale failure.
28721 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28723         [BZ #18985]
28724         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28725         (__strftime_internal): Likewise.
28726         * time/tst-strftime.c (do_bz18985): New test.
28727         (do_test): Call it.
28729 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
28731         [BZ #18956]
28732         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28733         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
28734         extracting high part.
28735         * math/auto-libm-test-in: Add another test of pow.
28736         * math/auto-libm-test-out: Regenerated.
28737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28739 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28741         [BZ #18825]
28742         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28743         New macro.
28744         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28745         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28746         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28747         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28748         DBL_NARROW_EVAL, reloading the PIC register as needed.
28749         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28750         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28751         FLT_NARROW_EVAL.  Use separate return path for case when first
28752         argument is NaN.
28753         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
28754         DEFINE_LDBL_MIN.
28755         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28756         PIC register.
28757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28758         math_check_force_underflow_nonneg.
28759         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28760         underflow for subnormal result.
28761         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28762         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28763         math_check_force_underflow_nonneg.
28764         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28765         math_check_force_underflow.
28766         * sysdeps/x86_64/fpu/x86_64-math-asm.h
28767         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28768         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
28769         DEFINE_LDBL_MIN.
28770         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28771         * math/auto-libm-test-in: Add more tests of pow.
28772         * math/auto-libm-test-out: Regenerated.
28774 2015-09-25  Florian Weimer  <fweimer@redhat.com>
28776         * nss/bug17079.c (init_test_items): Add diagnostic for
28777         inconsistent entries.
28778         (test_buffer_size): Skip inconsistent entries.
28780 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28782         [BZ #13304]
28783         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28784         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28785         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28787         [BZ #13304]
28788         * sysdeps/microblaze/s_fma.c: New file.
28789         * sysdeps/microblaze/s_fmaf.c: Likewise.
28790         * sysdeps/microblaze/sfp-machine.h: Likewise.
28792 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
28794         [BZ #17250]
28795         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
28796         member.
28798 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28800         [BZ #18803]
28801         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
28802         (MO): New macro.
28803         (__ieee754_hypot) [PIC]: Load PIC register.
28804         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
28805         DBL_NARROW_EVAL.
28806         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
28807         math_check_force_underflow_nonneg in case where result might be
28808         tiny.
28809         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28810         Likewise.
28811         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28812         Likewise.
28813         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28814         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
28815         * math/auto-libm-test-in: Add more tests of hypot.
28816         * math/auto-libm-test-out: Regenerated.
28818 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
28820         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
28822 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28824         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
28825         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
28826         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28827         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28828         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
28829         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28830         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28832         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
28833         LOAD_PIC_REG.
28835         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
28836         (FLT_CHECK_FORCE_UFLOW): Likewise.
28837         (DBL_CHECK_FORCE_UFLOW): Likewise.
28838         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
28839         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
28840         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
28841         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28842         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28843         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28844         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28845         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28846         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
28847         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28848         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
28849         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
28850         (flt_min): Replace with use of DEFINE_FLT_MIN.
28851         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
28852         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
28853         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28854         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
28855         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
28856         (flt_min): Replace with use of DEFINE_FLT_MIN.
28857         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
28858         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
28859         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28860         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
28861         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
28862         (flt_min): Replace with use of DEFINE_FLT_MIN.
28863         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
28864         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
28865         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28866         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28867         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
28868         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28869         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28870         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
28871         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28872         (__atan): Use DBL_CHECK_FORCE_UFLOW.
28873         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
28874         (flt_min): Replace with use of DEFINE_FLT_MIN.
28875         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
28876         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
28877         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28878         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
28879         main computation.
28880         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
28881         (flt_min): Replace with use of DEFINE_FLT_MIN.
28882         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
28883         main computation.
28884         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
28885         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28886         (MO): New macro.
28887         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
28888         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
28889         (flt_min): Replace with use of DEFINE_FLT_MIN.
28890         (MO): New macro.
28891         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
28892         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
28893         (__log1pl): Use MO.
28895         [BZ #19003]
28896         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
28897         $(config-cflags-nofma).
28899 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28901         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28903 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
28905         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
28906         (TWO127): Likewise.
28908         * sysdeps/generic/math_private.h (fabs_tg): New macro.
28909         (min_of_type): Likewise.
28910         (math_check_force_underflow): Likewise.
28911         (math_check_force_underflow_nonneg): Likewise.
28912         (math_check_force_underflow_complex): Likewise.
28913         * math/e_exp2l.c (__ieee754_exp2l): Use
28914         math_check_force_underflow_nonneg.
28915         * math/k_casinh.c (__kernel_casinh): Likewise.
28916         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28917         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28918         * math/s_catan.c (__catan): Use
28919         math_check_force_underflow_complex.
28920         * math/s_catanf.c (__catanf): Likewise.
28921         * math/s_catanh.c (__catanh): Likewise.
28922         * math/s_catanhf.c (__catanhf): Likewise.
28923         * math/s_catanhl.c (__catanhl): Likewise.
28924         * math/s_catanl.c (__catanl): Likewise.
28925         * math/s_ccosh.c (__ccosh): Likewise.
28926         * math/s_ccoshf.c (__ccoshf): Likewise.
28927         * math/s_ccoshl.c (__ccoshl): Likewise.
28928         * math/s_cexp.c (__cexp): Likewise.
28929         * math/s_cexpf.c (__cexpf): Likewise.
28930         * math/s_cexpl.c (__cexpl): Likewise.
28931         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
28932         * math/s_clog10.c (__clog10): Likewise.
28933         * math/s_clog10f.c (__clog10f): Likewise.
28934         * math/s_clog10l.c (__clog10l): Likewise.
28935         * math/s_clogf.c (__clogf): Likewise.
28936         * math/s_clogl.c (__clogl): Likewise.
28937         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
28938         * math/s_csinf.c (__csinf): Likewise.
28939         * math/s_csinh.c (__csinh): Likewise.
28940         * math/s_csinhf.c (__csinhf): Likewise.
28941         * math/s_csinhl.c (__csinhl): Likewise.
28942         * math/s_csinl.c (__csinl): Likewise.
28943         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
28944         * math/s_csqrtf.c (__csqrtf): Likewise.
28945         * math/s_csqrtl.c (__csqrtl): Likewise.
28946         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
28947         * math/s_ctanf.c (__ctanf): Likewise.
28948         * math/s_ctanh.c (__ctanh): Likewise.
28949         * math/s_ctanhf.c (__ctanhf): Likewise.
28950         * math/s_ctanhl.c (__ctanhl): Likewise.
28951         * math/s_ctanl.c (__ctanl): Likewise.
28952         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
28953         instead of volatile.
28954         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
28955         math_check_force_underflow.
28956         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28957         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
28958         volatile when forcing underflow.
28959         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28960         math_check_force_underflow_nonneg.
28961         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28962         Likewise.
28963         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
28964         math_check_force_underflow.
28965         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28966         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28967         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28968         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
28969         math_check_force_underflow_nonneg.
28970         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
28971         math_check_force_underflow.
28972         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
28974         instead of volatile.
28975         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
28976         math_check_force_underflow.
28977         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28978         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28979         math_check_force_underflow_nonneg.
28980         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
28981         math_check_force_underflow.
28982         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
28983         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28984         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
28985         math_check_force_underflow_nonneg.
28986         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28987         Likewise.
28988         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
28989         math_check_force_underflow.
28990         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28991         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28992         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
28993         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
28994         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
28995         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
28996         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28997         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28998         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28999         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
29000         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
29001         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29002         Likewise.
29003         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
29004         math_check_force_underflow_nonneg.
29005         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29006         Likewise.
29007         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
29008         math_check_force_underflow.
29009         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29010         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29011         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29012         Likewise.
29013         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29014         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
29015         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
29016         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
29017         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
29018         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
29019         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
29020         instead of volatile.
29021         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
29022         math_check_force_underflow.
29023         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29024         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
29025         math_check_force_underflow.
29026         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
29027         Likewise.
29028         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29029         Use math_check_force_underflow_nonneg.
29030         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
29031         math_check_force_underflow.
29032         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
29033         Likewise.
29034         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29035         Likewise.
29036         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29037         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29038         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29039         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
29041         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29042         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29043         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29044         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
29045         math_check_force_underflow_nonneg.
29046         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
29047         math_check_force_underflow.
29048         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29049         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29050         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
29051         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
29052         math_check_force_underflow_nonneg.
29053         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
29054         math_check_force_underflow.
29055         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29056         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
29057         instead of volatile.
29058         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
29059         math_check_force_underflow.
29061         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
29062         * stdlib/strtod_l.c: Include <math_private.h>.
29063         (overflow_value): Use math_narrow_eval.
29064         (underflow_value): Likewise.
29065         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29066         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29067         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
29068         (__ieee754_gamma_r): Likewise.
29069         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
29070         Likewise.
29071         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
29072         Likewise.
29073         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
29074         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
29075         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29076         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29077         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
29078         (__ieee754_gammaf_r): Likewise.
29079         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29080         Likewise.
29081         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29082         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29083         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29084         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29085         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29086         volatile.
29087         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29088         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29089         math_narrow_eval.
29090         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29091         Likewise.
29092         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29093         Likewise.
29094         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29095         Likewise.
29096         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29097         volatile.
29098         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29099         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29100         math_narrow_eval.
29101         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29102         Likewise.
29103         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29104         Likewise.
29106 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
29108         * nptl/Versions: Remove ignored symbols.
29110 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29112         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
29113         * nss/Makefile (tests): Update.
29115 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29117         * nss/bug18287.c: New file.
29118         * nss/Makefile (tests): Add bug18287.
29120 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29122         * mach/Versions (__mach_host_self_): Add symbol.
29124 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29126         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29127         vm_page_size.
29129 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29131         Really fix sysdeps/i386/fpu/s_scalbn.S build
29133         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29134         (libc: GLIBC_2_22): Remove unused version set.
29136 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29138         * config.make.in (enable-timezone-tools): New variable.
29139         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29140         (enable_timezone_tools): Export to generated files.
29141         * configure: Regenerate.
29142         * INSTALL: Regenerate.
29143         * manual/install.texi (--disable-timezone-tools): Document new flag.
29144         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29145         ifeq ($(enable-timezone-tools),yes) check.
29147 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29149         * timezone/Makefile: Revert previous change.
29151         [BZ #18980]
29152         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
29153         (DEFINE_DBL_MIN): Likewise.
29154         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29155         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29156         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29157         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29158         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
29159         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29160         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29161         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
29162         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
29163         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29164         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29165         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
29166         (flt_min): Replace with use of DEFINE_FLT_MIN.
29167         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29168         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
29169         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29170         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29171         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
29172         (flt_min): Replace with use of DEFINE_FLT_MIN.
29173         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29174         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
29175         (flt_min): Replace with use of DEFINE_FLT_MIN.
29176         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29177         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
29178         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
29179         (__ieee754_hypot): Use DBL_NARROW_EVAL.
29180         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
29181         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
29182         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
29183         (__ieee754_pow): Use DBL_NARROW_EVAL.
29184         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
29185         (__ieee754_powf): Use FLT_NARROW_EVAL.
29186         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
29187         (__ieee754_expf_sse2): Convert double-precision result to single
29188         precision.
29189         * sysdeps/i386/fpu/libm-test-ulps: Update.
29191 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29193         * timezone/Makefile: Ignore unused variable errors due to private.h
29194         (time_t_min) and (time_t_max).
29195         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
29196         Likewise.
29198 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29200         [BZ #18981]
29201         * sysdeps/i386/fpu/i386-math-asm.h: New file.
29202         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
29203         (__ieee754_scalb): Use DBL_NARROW_EVAL.
29204         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
29205         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
29206         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
29207         (__scalbn): Use DBL_NARROW_EVAL.
29208         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
29209         (__scalbnf): Use FLT_NARROW_EVAL.
29211 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29213         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
29214         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
29215         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
29216         * stdio-common/printf_fp.c (___printf_fp):
29217         Use signbit to get the sign. Use isinf macro to allow inlining.
29218         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
29219         * stdio-common/printf_size.c (__printf_size): Likewise.
29221 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29223         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
29225 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29227         [BZ #18980]
29228         * sysdeps/generic/math_private.h: Include <float.h>.
29229         (math_narrow_eval): New macro.
29230         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
29231         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
29232         math_narrow_eval on overflowing return value.
29233         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
29234         Likewise.
29235         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29236         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
29237         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
29238         Likewise.
29239         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29241 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29243         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
29244         * math/Makefile: Remove isinf_ns.c.
29245         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
29246         * math/multc3.c (__multc3): Likewise.
29247         * math/s_casin.c (__casin): Likewise.
29248         * math/s_casinf.c (__casinf): Likewise.
29249         * math/s_casinl.c (__casinl): Likewise.
29250         * math/s_cproj.c (__cproj): Likewise.
29251         * math/s_cprojf.c (__cprojf): Likewise.
29252         * math/s_cprojl.c (__cprofl): Likewise.
29253         * math/s_ctan.c (__ctan): Likewise.
29254         * math/s_ctanf.c (__ctanf): Likewise.
29255         * math/s_ctanh.c (__ctanh): Likewise.
29256         * math/s_ctanhf.c (__ctanhf): Likewise.
29257         * math/s_ctanhl.c (__ctanhl): Likewise.
29258         * math/s_ctanl.c (__ctanl): Likewise.
29259         * math/w_fmod.c (__fmod): Likewise.
29260         * math/w_fmodf.c (__fmodf): Likewise.
29261         * math/w_fmodl.c (_fmodl): Likewise.
29262         * math/w_remainder.c (__remainder): Likewise.
29263         * math/w_remainderf.c (__remainderf): Likewise.
29264         * math/w_remainderl.c (__remainderl): Likewise.
29265         * math/w_scalb.c (__scalb): Likewise.
29266         * math/w_scalbf.c (__scalbf): Likewise.
29267         * math/w_scalbl.c (__scalbl): Likewise.
29268         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29269         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
29270         with isinf.
29271         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
29272         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
29273         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
29274         __isinf_nsf with isinf.
29275         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
29276         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
29277         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
29278         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
29279         with isinf.
29280         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
29281         __isinf_nsl with isinf.
29282         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
29283         with isinf.
29284         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
29285         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
29286         __isinf_nsl with isinf.
29287         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
29288         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
29289         with isinf.
29291 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29293         * resolv/base64.c (rcsid): Remove unused static.
29294         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
29295         static.  (tqpi1): Likewise.
29296         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
29297         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
29298         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
29299         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
29300         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
29301         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
29302         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
29303         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
29304         Likewise.
29306 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
29308         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
29309         <nptl/pthreadP.h>.
29310         (_longjmp_unwind): Use __libc_ptf_call.
29311         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
29313 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
29315         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
29316         * sysdeps/arm/__longjmp.S: Likewise.
29318 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29320         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
29321         Use __builtin_signbit.
29322         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
29323         Use __builtin_signbitf.
29324         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
29325         Use __builtin_signbitl.
29326         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29327         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
29329 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29331         [BZ #15367]
29332         [BZ #17441]
29334         * math/Makefile: Build test-snan.c with -fsignaling-nans.
29335         * math/math.h (fpclassify): Use __builtin_fpclassify when
29336         available.  (signbit): Use __builtin_signbit(f/l).
29337         (isfinite): Use__builtin_isfinite.  (isnormal): Use
29338         __builtin_isnormal.  (isnan): Use __builtin_isnan.
29339         (isinf): Use __builtin_isinf_sign.
29341 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29343         * benchtests/Makefile: Add bench-math-inlines, link with libm.
29344         * benchtests/bench-math-inlines.c: New benchmark.
29345         * benchtests/bench-util.h: New file.
29346         * benchtests/bench-util.c: New file.
29347         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
29349 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
29351         * elf/tst-dlmopen1.c: Define TEST_SO.
29352         (do_test): Use TEST_SO.
29354         * elf/dl-load.c: Include libc-internal.h.
29355         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
29357 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29359         [BZ #17887]
29360         * time/strptime_l.c (__strptime_internal): Make %z accept
29361         [+-]HH:MM time zones.
29363 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29365         [BZ #17886]
29366         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
29367         valid time zone.
29369 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
29371         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
29372         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29373         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29374         (__ASSUME_FDATASYNC): Delete.
29376 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29378         * conform/linknamespace.pl: Require weak undefined symbols to be
29379         in the standard namespace.
29380         (%strong_syms): Rename to %seen_syms.
29381         (%strong_seen): Rename to %seen_where.
29383 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
29385         [BZ #18970]
29386         * misc/error.c (error): Replace pthread_setcancelstate with
29387         __pthread_setcancelstate.
29388         (error_at_line): Likewise.
29389         * posix/wordexp.c (parse_comm): Likewise.
29390         * stdlib/fmtmsg.c (fmtmsg): Likewise.
29391         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29392         (__pthread_setcancelstate): This.
29393         (pthread_setcancelstate): Add an alias.
29394         * nptl/nptl-init.c (pthread_functions): Replace
29395         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29396         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29397         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29398         hidden_proto.
29399         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29400         it with hidden_def.
29401         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29402         (pthread_setcancelstate): Renamed to ...
29403         (__pthread_setcancelstate): This.
29404         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29405         __libc_ptf_call with __pthread_setcancelstate.
29407 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29408             Andreas Schwab  <schwab@suse.de>
29410         [BZ #17118]
29411         * math/s_ctan.c (__ctan): Determine sign of zero real part of
29412         result when imaginary part of argument is infinite using sine and
29413         cosine.
29414         * math/s_ctanf.c (__ctanf): Likewise.
29415         * math/s_ctanl.c (__ctanl): Likewise.
29416         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29417         of result when real part of argument is infinite using sine and
29418         cosine.
29419         * math/s_ctanhf.c (__ctanhf): Likewise.
29420         * math/s_ctanhl.c (__ctanhl): Likewise.
29421         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29422         (ctanh_test_data): Add more tests of ctanh.
29424 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29426         [BZ #15384]
29427         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29428         bit-mask as in subtraction.
29429         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29430         Likewise.
29431         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29432         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29433         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29435         [BZ #18951]
29436         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29437         underflow exception for small results.
29438         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29439         Likewise.
29440         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29441         Likewise.
29442         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29443         Likewise.
29444         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29445         Likewise.
29446         * math/auto-libm-test-in: Add more tests of tgamma.
29447         * math/auto-libm-test-out: Regenerated.
29449 2015-09-17  Andreas Schwab  <schwab@suse.de>
29451         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29453 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29455         [BZ #18977]
29456         * math/bits/mathcalls.h
29457         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29458         not declare.
29459         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29460         Likewise.
29461         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29462         Likewise.
29463         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29464         Likewise.
29465         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29466         Likewise.
29467         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29468         Likewise.
29469         * conform/data/math.h-data
29470         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29471         function.
29472         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29473         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29474         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29475         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29476         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29477         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29478         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29479         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29480         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29481         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29482         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29484         [BZ #6803]
29485         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29486         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29487         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29488         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29489         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29490         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29491         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29492         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29493         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29494         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29495         Likewise.
29496         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29497         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29498         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29499         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29500         long_double_symbol calls.
29501         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29502         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29503         strong alias of __ldexpl.
29504         (scalbnl): Define using long_double_symbol.
29505         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29506         Remove alias.
29507         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29508         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29509         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29510         (scalbln_test_data): Add more errno expectations.
29512 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29514         Cache the host port like we cache the task port.  This way we do not
29515         need to call the kernel just to get the port.  Furthermore, we no
29516         longer increase the reference count on every invocation of
29517         `mach_host_self'.
29519         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29520         Protect declarations against the macro expansion.
29521         * mach/mach_init.c (__mach_host_self_): New variable.
29522         (mach_init): Initialize `__mach_host_self_'.
29523         * mach/mach_init.h (__mach_host_self_): New declaration.
29524         (__mach_host_self, mach_host_self): New macros.
29525         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29526         Release reference.
29528 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29530         [BZ #4404]
29531         * po/de.po: Update from Translation Project.
29533         [BZ #16415]
29534         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29535         (__expm1l): Remove code to handle positive infinity and overflow.
29536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29537         variable.
29538         (__expm1l): Remove code to handle positive infinity and overflow.
29540 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29541             Paul Pluzhnikov  <ppluzhnikov@google.com>
29543         [BZ #18872]
29544         * stdio-common/Makefile (tst-printf-bz18872): New test.
29545         (tst-printf-bz18872-mem.out): Likewise.
29546         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29547         * stdio-common/vfprintf.c: Fix memory leaks.
29549 2015-09-16  Andreas Schwab  <schwab@suse.de>
29551         [BZ #17244]
29552         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29553         Remove extra va_start/va_end calls.
29555         [BZ #17243]
29556         * posix/execl.c (execl): Add missing va_end.
29557         * posix/execle.c (execle): Likewise.
29558         * posix/execlp.c (execlp): Likewise.
29560 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29562         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29563         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29565 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
29567         [BZ #18967]
29568         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
29569         undefine around includes of <bits/mathcalls.h>.
29570         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29571         not declare function.
29572         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29573         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29574         (scalb): Likewise.
29575         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29576         not define macro.
29577         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29578         variable.
29579         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29580         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29581         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29583         [BZ #18857]
29584         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29585         return non-finite argument without doing ordered comparisons on
29586         it.
29588         [BZ #16296]
29589         * math/fenv.h (fegetround): Use __attribute_pure__.
29590         * include/fenv.h (__fegetround): Likewise.
29592         [BZ #18595]
29593         * math/s_ctan.c (__ctan): Force underflow exception for results
29594         whose real or imaginary part has small absolute value.
29595         * math/s_ctanf.c (__ctanf): Likewise.
29596         * math/s_ctanh.c (__ctanh): Likewise.
29597         * math/s_ctanhf.c (__ctanhf): Likewise.
29598         * math/s_ctanhl.c (__ctanhl): Likewise.
29599         * math/s_ctanl.c (__ctanl): Likewise.
29600         * math/auto-libm-test-in: Do not allow missing underflow for ctan
29601         and ctanh.  Add more tests of ctan and ctanh.
29603         [BZ #15918]
29604         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29605         handling of cases where one argument is an infinity.
29607         [BZ #18875]
29608         [BZ #18966]
29609         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29610         (MO): New macro.
29611         (__ieee754_exp10): For small results, force underflow exception
29612         and remove excess range and precision from return value.
29613         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29614         (MO): New macro.
29615         (__ieee754_exp10f): For small results, force underflow exception
29616         and remove excess range and precision from return value.
29617         * math/auto-libm-test-in: Add more tests of exp10.
29618         * math/auto-libm-test-out: Regenerated.
29620 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
29622         [BZ #18875]
29623         [BZ #18961]
29624         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29625         (MO): New macro.
29626         (__ieee754_exp): For small results, force underflow exception and
29627         remove excess range and precision from return value.
29628         (__exp_finite): Likewise.
29629         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29630         (MO): New macro.
29631         (__ieee754_expf): For small results, force underflow exception and
29632         remove excess range and precision from return value.
29633         (__expf_finite): Likewise.
29634         * math/auto-libm-test-in: Add more tests of exp.
29635         * math/auto-libm-test-out: Regenerated.
29637         [BZ #16521]
29638         [BZ #18875]
29639         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29640         small results.
29641         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29642         (MO): New macro.
29643         (__ieee754_exp2): For small results, force underflow exception and
29644         remove excess range and precision from return value.
29645         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29646         (MO): New macro.
29647         (__ieee754_exp2f): For small results, force underflow exception
29648         and remove excess range and precision from return value.
29649         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29650         (MO): New macro.
29651         (__ieee754_exp2l): Force underflow exception for small results.
29652         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29653         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29654         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29655         (MO): New macro.
29656         (__ieee754_exp2l): Force underflow exception for small results.
29657         * math/auto-libm-test-in: Add more tests or exp2.
29658         * math/auto-libm-test-out: Regenerated.
29660 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
29662         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29664         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29665         /dev/null.
29667 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29669         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29670         io fs process)): Drop spurious backslash.
29672 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29674         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29675         Use sysinfo system call instead of parsing /proc/meminfo.
29676         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29677         Likewise.
29679 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
29681         [BZ #16985]
29682         * programs/localedef.c (main): Display argv[remaining] when
29683         output_path is NULL.
29685 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29687         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29688         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29689         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29690         tanh.
29691         * math/auto-libm-test-out: Regenerated.
29692         * sysdeps/i386/fpu/libm-test-ulps: Update.
29693         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29694         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29697 2015-09-11  Roland McGrath  <roland@hack.frob.com>
29699         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29700         Use 'override' keyword to freeze the value here, preventing
29701         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29703 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29705         [BZ #14912]
29706         * sysdeps/aarch64/bits/atomic.h: Move to ...
29707         * sysdeps/aarch64/atomic-machine.h: ...here.
29708         (_AARCH64_BITS_ATOMIC_H): Rename macro to
29709         _AARCH64_ATOMIC_MACHINE_H.
29710         * sysdeps/alpha/bits/atomic.h: Move to ...
29711         * sysdeps/alpha/atomic-machine.h: ...here.
29712         * sysdeps/arm/bits/atomic.h: Move to ...
29713         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
29714         * bits/atomic.h: Move to ...
29715         * sysdeps/generic/atomic-machine.h: ...here.
29716         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29717         * sysdeps/i386/bits/atomic.h: Move to ...
29718         * sysdeps/i386/atomic-machine.h: ...here.
29719         * sysdeps/ia64/bits/atomic.h: Move to ...
29720         * sysdeps/ia64/atomic-machine.h: ...here.
29721         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29722         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29723         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29724         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29725         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29726         * sysdeps/microblaze/bits/atomic.h: Move to ...
29727         * sysdeps/microblaze/atomic-machine.h: ...here.
29728         * sysdeps/mips/bits/atomic.h: Move to ...
29729         * sysdeps/mips/atomic-machine.h: ...here.
29730         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29731         * sysdeps/powerpc/bits/atomic.h: Move to ...
29732         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
29733         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29734         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
29735         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
29736         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29737         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
29738         <atomic-machine.h> instead of <bits/atomic.h>.
29739         * sysdeps/s390/bits/atomic.h: Move to ...
29740         * sysdeps/s390/atomic-machine.h: ...here.
29741         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29742         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29743         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29744         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29745         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29746         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29747         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29748         * sysdeps/tile/bits/atomic.h: Move to ...
29749         * sysdeps/tile/atomic-machine.h: ...here.
29750         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29751         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
29752         <sysdeps/tile/atomic-machine.h> instead of
29753         <sysdeps/tile/bits/atomic.h>.
29754         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29755         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29756         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
29757         <sysdeps/tile/atomic-machine.h> instead of
29758         <sysdeps/tile/bits/atomic.h>.
29759         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29760         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29761         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
29762         <sysdeps/arm/atomic-machine.h> instead of
29763         <sysdeps/arm/bits/atomic.h>.
29764         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29765         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29766         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29767         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29768         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29769         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29770         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29771         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29772         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29773         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29774         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29775         * sysdeps/x86_64/bits/atomic.h: Move to ...
29776         * sysdeps/x86_64/atomic-machine.h: ...here.
29777         * include/atomic.h: Include <atomic-machine.h> instead of
29778         <bits/atomic.h>.
29780         * sysdeps/mips/mips32/libm-test-ulps: Update.
29781         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29783         [BZ #18952]
29784         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29785         not convert non-integer negative arguments to int to determine the
29786         value of signgam.
29787         * math/auto-libm-test-in: Add more tests of lgamma.
29788         * math/auto-libm-test-out: Regenerated.
29790         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29791         cosh, csqrt, erfc, expm1 and lgamma.
29792         * math/auto-libm-test-out: Regenerated.
29793         * sysdeps/i386/fpu/libm-test-ulps: Update.
29794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29796 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
29798         [BZ #2542]
29799         [BZ #2543]
29800         [BZ #2558]
29801         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
29802         __lgamma_neg for arguments from -28.0 to -2.0.
29803         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
29804         __lgamma_negf for arguments from -15.0 to -2.0.
29805         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29806         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
29807         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
29808         Call __lgamma_negl for arguments from -33.0 to -2.0.
29809         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
29810         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
29811         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
29812         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
29813         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
29814         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
29815         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
29816         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
29817         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
29818         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
29819         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
29820         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
29821         (__lgamma_neg): Likewise.
29822         (__lgamma_negl): Likewise.
29823         (__lgamma_product): Likewise.
29824         (__lgamma_productl): Likewise.
29825         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
29826         * math/auto-libm-test-in: Add more tests of lgamma.
29827         * math/auto-libm-test-out: Regenerated.
29828         * sysdeps/i386/fpu/libm-test-ulps: Update.
29829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29831 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
29833         [BZ #18675]
29834         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
29836 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
29838         [BZ #14912]
29839         * bits/libc-lock.h: Move to ...
29840         * sysdeps/generic/libc-lock.h: ...here.
29841         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29842         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
29843         * sysdeps/mach/hurd/libc-lock.h: ...here.
29844         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29845         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
29846         * sysdeps/mach/bits/libc-lock.h: Move to ...
29847         * sysdeps/mach/libc-lock.h: ...here.
29848         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29849         * sysdeps/nptl/bits/libc-lock.h: Move to ...
29850         * sysdeps/nptl/libc-lock.h: ...here.
29851         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29852         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
29853         * sysdeps/nptl/libc-lockP.h: ...here.
29854         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
29855         * crypt/crypt_util.c: Include <libc-lock.h> instead of
29856         <bits/libc-lock.h>.
29857         * dirent/scandir-tail.c: Likewise.
29858         * dlfcn/dlerror.c: Likewise.
29859         * elf/dl-close.c: Likewise.
29860         * elf/dl-iteratephdr.c: Likewise.
29861         * elf/dl-lookup.c: Likewise.
29862         * elf/dl-open.c: Likewise.
29863         * elf/dl-support.c: Likewise.
29864         * elf/dl-writev.h: Likewise.
29865         * elf/rtld.c: Likewise.
29866         * grp/fgetgrent.c: Likewise.
29867         * gshadow/fgetsgent.c: Likewise.
29868         * gshadow/sgetsgent.c: Likewise.
29869         * iconv/gconv_conf.c: Likewise.
29870         * iconv/gconv_db.c: Likewise.
29871         * iconv/gconv_dl.c: Likewise.
29872         * iconv/gconv_int.h: Likewise.
29873         * iconv/gconv_trans.c: Likewise.
29874         * include/link.h: Likewise.
29875         * inet/getnameinfo.c: Likewise.
29876         * inet/getnetgrent.c: Likewise.
29877         * inet/getnetgrent_r.c: Likewise.
29878         * intl/bindtextdom.c: Likewise.
29879         * intl/dcigettext.c: Likewise.
29880         * intl/finddomain.c: Likewise.
29881         * intl/gettextP.h: Likewise.
29882         * intl/loadmsgcat.c: Likewise.
29883         * intl/localealias.c: Likewise.
29884         * intl/textdomain.c: Likewise.
29885         * libidn/idn-stub.c: Likewise.
29886         * libio/libioP.h: Likewise.
29887         * locale/duplocale.c: Likewise.
29888         * locale/freelocale.c: Likewise.
29889         * locale/newlocale.c: Likewise.
29890         * locale/setlocale.c: Likewise.
29891         * login/getutent_r.c: Likewise.
29892         * login/getutid_r.c: Likewise.
29893         * login/getutline_r.c: Likewise.
29894         * login/utmp-private.h: Likewise.
29895         * login/utmpname.c: Likewise.
29896         * malloc/mtrace.c: Likewise.
29897         * misc/efgcvt.c: Likewise.
29898         * misc/error.c: Likewise.
29899         * misc/fstab.c: Likewise.
29900         * misc/getpass.c: Likewise.
29901         * misc/mntent.c: Likewise.
29902         * misc/syslog.c: Likewise.
29903         * nis/nis_call.c: Likewise.
29904         * nis/nis_callback.c: Likewise.
29905         * nis/nss-default.c: Likewise.
29906         * nis/nss_compat/compat-grp.c: Likewise.
29907         * nis/nss_compat/compat-initgroups.c: Likewise.
29908         * nis/nss_compat/compat-pwd.c: Likewise.
29909         * nis/nss_compat/compat-spwd.c: Likewise.
29910         * nis/nss_nis/nis-alias.c: Likewise.
29911         * nis/nss_nis/nis-ethers.c: Likewise.
29912         * nis/nss_nis/nis-grp.c: Likewise.
29913         * nis/nss_nis/nis-hosts.c: Likewise.
29914         * nis/nss_nis/nis-network.c: Likewise.
29915         * nis/nss_nis/nis-proto.c: Likewise.
29916         * nis/nss_nis/nis-pwd.c: Likewise.
29917         * nis/nss_nis/nis-rpc.c: Likewise.
29918         * nis/nss_nis/nis-service.c: Likewise.
29919         * nis/nss_nis/nis-spwd.c: Likewise.
29920         * nis/nss_nisplus/nisplus-alias.c: Likewise.
29921         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
29922         * nis/nss_nisplus/nisplus-grp.c: Likewise.
29923         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
29924         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
29925         * nis/nss_nisplus/nisplus-network.c: Likewise.
29926         * nis/nss_nisplus/nisplus-proto.c: Likewise.
29927         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
29928         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
29929         * nis/nss_nisplus/nisplus-service.c: Likewise.
29930         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
29931         * nis/ypclnt.c: Likewise.
29932         * nptl/libc_pthread_init.c: Likewise.
29933         * nss/getXXbyYY.c: Likewise.
29934         * nss/getXXent.c: Likewise.
29935         * nss/getXXent_r.c: Likewise.
29936         * nss/nss_db/db-XXX.c: Likewise.
29937         * nss/nss_db/db-netgrp.c: Likewise.
29938         * nss/nss_db/nss_db.h: Likewise.
29939         * nss/nss_files/files-XXX.c: Likewise.
29940         * nss/nss_files/files-alias.c: Likewise.
29941         * nss/nsswitch.c: Likewise.
29942         * posix/regex_internal.h: Likewise.
29943         * posix/wordexp.c: Likewise.
29944         * pwd/fgetpwent.c: Likewise.
29945         * resolv/res_hconf.c: Likewise.
29946         * resolv/res_libc.c: Likewise.
29947         * shadow/fgetspent.c: Likewise.
29948         * shadow/lckpwdf.c: Likewise.
29949         * shadow/sgetspent.c: Likewise.
29950         * socket/opensock.c: Likewise.
29951         * stdio-common/reg-modifier.c: Likewise.
29952         * stdio-common/reg-printf.c: Likewise.
29953         * stdio-common/reg-type.c: Likewise.
29954         * stdio-common/vfprintf.c: Likewise.
29955         * stdio-common/vfscanf.c: Likewise.
29956         * stdlib/abort.c: Likewise.
29957         * stdlib/cxa_atexit.c: Likewise.
29958         * stdlib/fmtmsg.c: Likewise.
29959         * stdlib/random.c: Likewise.
29960         * stdlib/setenv.c: Likewise.
29961         * string/strsignal.c: Likewise.
29962         * sunrpc/auth_none.c: Likewise.
29963         * sunrpc/bindrsvprt.c: Likewise.
29964         * sunrpc/create_xid.c: Likewise.
29965         * sunrpc/key_call.c: Likewise.
29966         * sunrpc/rpc_thread.c: Likewise.
29967         * sysdeps/arm/backtrace.c: Likewise.
29968         * sysdeps/generic/ldsodefs.h: Likewise.
29969         * sysdeps/generic/stdio-lock.h: Likewise.
29970         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
29971         * sysdeps/i386/backtrace.c: Likewise.
29972         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29973         * sysdeps/m68k/backtrace.c: Likewise.
29974         * sysdeps/mach/hurd/cthreads.c: Likewise.
29975         * sysdeps/mach/hurd/dirstream.h: Likewise.
29976         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29977         * sysdeps/nptl/malloc-machine.h: Likewise.
29978         * sysdeps/nptl/stdio-lock.h: Likewise.
29979         * sysdeps/posix/dirstream.h: Likewise.
29980         * sysdeps/posix/getaddrinfo.c: Likewise.
29981         * sysdeps/posix/system.c: Likewise.
29982         * sysdeps/pthread/aio_suspend.c: Likewise.
29983         * sysdeps/s390/s390-32/backtrace.c: Likewise.
29984         * sysdeps/s390/s390-64/backtrace.c: Likewise.
29985         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29986         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29987         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
29988         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
29989         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
29990         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29991         * sysdeps/unix/sysv/linux/system.c: Likewise.
29992         * sysdeps/x86_64/backtrace.c: Likewise.
29993         * time/alt_digit.c: Likewise.
29994         * time/era.c: Likewise.
29995         * time/tzset.c: Likewise.
29996         * wcsmbs/wcsmbsload.c: Likewise.
29997         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
29998         instead of <bits/libc-lock.h> in comment.
30000 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
30002         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
30003         Only use .set mips2 if the current ISA is below mips2.
30004         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
30005         Likewise.
30006         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
30007         mips32r2 if the current ISA is below mips32r2.
30008         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
30009         (TLS_IE): Updated to use the TLD_RDHWR macro.
30010         (TLS_LE): Likewise.
30011         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
30012         __ASSEMBLER__ condition.
30014 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30016         Fix parallel build of before-compile targets.
30018         * sysdeps/mach/Makefile ($(patsubst
30019         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
30020         mach-before-compile target.
30021         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30022         io fs process)): Move rule to dedicated hurd-before-compile target.
30024 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30026         Fix rules generating headers in hurd/ and mach/ when initial make call
30027         has subdir= explicitly set.
30029         * sysdeps/mach/Makefile ($(patsubst
30030         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
30031         calling $(MAKE).
30032         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30033         io fs process)): Force subdir to hurd when calling $(MAKE).
30034         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
30035         subdir to mach when calling $(MAKE).
30037 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
30039         Check sysheaders when looking for Mach and Hurd headers
30041         * sysdeps/mach/configure.ac: Add sysheaders check.
30042         * sysdeps/mach/configure: Regenerate.
30043         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
30044         * sysdeps/mach/hurd/configure: Regenerate.
30046 2015-09-04  Roland McGrath  <roland@hack.frob.com>
30048         [BZ #18921]
30049         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
30050         Fix inverted sense of test of 'o_directory_works' value.
30051         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
30052         Bernhard Voelker <mail@bernhard-voelker.de>.
30054 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30056         [BZ #14912]
30057         * bits/linkmap.h: Move to ...
30058         * sysdeps/generic/linkmap.h: ...here.
30059         * sysdeps/aarch64/bits/linkmap.h: Move to ...
30060         * sysdeps/aarch64/linkmap.h: ...here.
30061         * sysdeps/arm/bits/linkmap.h: Move to ...
30062         * sysdeps/arm/linkmap.h: ...here.
30063         * sysdeps/hppa/bits/linkmap.h: Move to ...
30064         * sysdeps/hppa/linkmap.h: ...here.
30065         * sysdeps/ia64/bits/linkmap.h: Move to ...
30066         * sysdeps/ia64/linkmap.h: ...here.
30067         * sysdeps/mips/bits/linkmap.h: Move to ...
30068         * sysdeps/mips/linkmap.h: ...here.
30069         * sysdeps/s390/bits/linkmap.h: Move to ...
30070         * sysdeps/s390/linkmap.h: ...here.
30071         * sysdeps/sh/bits/linkmap.h: Move to ...
30072         * sysdeps/sh/linkmap.h: ...here.
30073         * sysdeps/x86/bits/linkmap.h: Move to ...
30074         * sysdeps/x86/linkmap.h: ...here.
30075         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
30077 2015-09-04  Andreas Schwab  <schwab@suse.de>
30079         [BZ #18635]
30080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30081         (__makecontext): Terminate FDE before return label.
30082         (__novec_makecontext): Likewise.
30084 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30086         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30087         first member of struct sv in syscall macro.
30089 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30091         [BZ #14912]
30092         * bits/stdio-lock.h: Move to ...
30093         * sysdeps/generic/stdio-lock.h: ...here.
30094         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30095         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30096         * sysdeps/nptl/stdio-lock.h: ...here.
30097         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30098         * include/libio.h: Include <stdio-lock.h> instead of
30099         <bits/stdio-lock.h>.
30100         * sysdeps/nptl/fork.c: Likewise.
30101         * sysdeps/pthread/flockfile.c: Likewise.
30102         * sysdeps/pthread/ftrylockfile.c: Likewise.
30103         * sysdeps/pthread/funlockfile.c: Likewise.
30105         [BZ #14912]
30106         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30107         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30108         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30109         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30110         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30111         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30112         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30114 2015-09-03  Roland McGrath  <roland@hack.frob.com>
30116         * elf/Makefile (test-xfail-tst-protected1a): New variable.
30117         (test-xfail-tst-protected1b): New variable.
30119 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
30121         [BZ #14912]
30122         * bits/libc-tsd.h: Move to ...
30123         * sysdeps/generic/libc-tsd.h: ...here.
30124         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30125         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30126         * sysdeps/mach/hurd/libc-tsd.h: ...here.
30127         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30128         * include/ctype.h: Include <libc-tsd.h> instead of
30129         <bits/libc-tsd.h>.
30130         * include/rpc/rpc.h: Likewise.
30131         * locale/localeinfo.h: Likewise.
30132         * sunrpc/rpc_thread.c: Likewise.
30133         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30134         * sysdeps/nptl/malloc-machine.h: Likewise.
30136         * Makefile (headers): Remove bits/libc-lock.h.
30137         * libio/Makefile (headers): Remove bits/stdio-lock.h.
30139         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30140         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30141         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30142         <bits/stdio-lock.h>.
30143         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30144         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30146 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30148         [BZ #18757]
30149         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30150         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30151         BZ #18757.
30153 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30155         * malloc/mtrace.pl: Filter out NULL entries.
30157 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
30159         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
30160         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
30161         macro.
30163         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
30164         (TCP_CC_INFO): Likewise.
30165         (TCP_SAVE_SYN): Likewise.
30166         (TCP_SAVED_SYN): Likewise.
30168 2015-08-31  Brett Neumeier <brett@neumeier.us>
30170         [BZ #18870]
30171         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
30173 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
30175         [BZ #18873]
30176         Fix broken overflow check in posix_fallocate
30177         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
30178         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30179         Fix parenthesization typo.
30181 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
30183         [BZ #18887]
30184         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
30185         tst-mntent-blank-passno.
30186         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
30187         * misc/tst-mntent-blank-corrupt.c: New test.
30188         * misc/tst-mntent-blank-passno.c: New test ripped from ...
30189         * misc/tst-mntent.c (do_test): ... here.
30191 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
30193         [BZ #4404]
30194         * po/de.po: Fix SIGALRM typo.
30196 2015-08-28  James Perkins  <james@loowit.net>
30198         * time/tst-strptime2.c (tests): Replace short list of test
30199         strings for strptime %z specifier with code which exhaustively
30200         tests every combination of sign and 0 to 5 digits. Tests for
30201         rejection of invalid strings.
30203 2015-08-28  James Perkins  <james@loowit.net>
30205         [BZ #16141]
30206         * time/strptime_l.c (__strptime_internal): Fix %z minutes
30207         calculation, removing incorrect decimal time rounding, so that
30208         all minute values result in a valid seconds value.
30209         * time/strptime_l.c (__strptime_internal): Extend %z time zone
30210         offset range limits to UTC-99:59 through UTC+99:59 to parse
30211         current and historical use cases.
30212         * time/tst-strptime2.c (tests): Modify and add tests for the
30213         strptime %z input field descriptor, specifically conversion of
30214         minutes to seconds and validating an offset range of -9959 to
30215         +9959.
30217 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30218             Dmitry V. Levin  <ldv@altlinux.org>
30220         [BZ #18877]
30221         * posix/Makefile (tests): Add tst-mmap-offset.
30222         * posix/tst-mmap.c: New file.
30223         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
30224         offset calculation for negative values.
30226 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30228         * sysdeps/i386/init-arch.h: New file.
30229         * sysdeps/i386/i586/init-arch.h: Likewise.
30230         * sysdeps/i386/i686/init-arch.h: Likewise.
30231         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
30232         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
30233         * sysdeps/x86/cpu-features.h (bit_I586): New.
30234         (bit_I686): Likewise.
30235         (bit_CX8): Likewise.
30236         (bit_CMOV): Likewise.
30237         (index_CX8): Likewise.
30238         (index_CMOV): Likewise.
30239         (index_I586): Likewise.
30240         (index_I686): Likewise.
30241         (reg_CX8): Likewise.
30242         (reg_CMOV): Likewise.
30243         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
30244         available at compile-time.
30245         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30246         available at compile-time.
30247         * sysdeps/x86/init-arch.h (USE_I586): New macro.
30248         (USE_I686): Likewise.
30250 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30252         * sysdeps/i386/bcopy.S: New file.
30253         * sysdeps/i386/bzero.S: Likewise.
30254         * sysdeps/i386/memcpy.S: Likewise.
30255         * sysdeps/i386/memmove.S: Likewise.
30256         * sysdeps/i386/mempcpy.S: Likewise.
30257         * sysdeps/i386/memset.S: Likewise.
30258         * sysdeps/i386/bzero.c: Removed.
30259         * sysdeps/i386/memset.c: Likewise.
30260         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
30261         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
30262         * sysdeps/i386/i586/memset_chk.S: Likewise.
30263         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
30264         * sysdeps/i386/memcpy_chk.S: Here.
30265         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
30266         * sysdeps/i386/memmove_chk.S: Here.
30267         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
30268         * sysdeps/i386/mempcpy_chk.S: Likewise.
30269         * sysdeps/i386/i686/memset_chk.S: Moved to ...
30270         * sysdeps/i386/memset_chk.S: Likewise.
30272 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
30274         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
30275         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
30276         file, move DIAG_POP_NEEDS_COMMENT to end of file.
30277         * soft-fp/fmadf4.c: Ditto.
30278         * soft-fp/fmatf4.c: Ditto.
30280 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30282         * sysdeps/i386/i586/Implies: Removed.
30283         * sysdeps/i386/i686/Implies: Likewise.
30285 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30287         * sysdeps/i386/i486/strlen.S: Moved to ...
30288         * sysdeps/i386/strlen.S: Here.
30290 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30292         * sysdeps/i386/i486/strcat.S: Moved to ...
30293         * sysdeps/i386/strcat.S: Here.
30295 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30297         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
30298         * sysdeps/i386/pthread_spin_trylock.S: Here.
30299         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
30300         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
30302 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30304         * sysdeps/i386/i486/string-inlines.c: Moved to ...
30305         * sysdeps/i386/string-inlines.c: Here.
30307 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30309         * sysdeps/i386/i486/htonl.S: Moved ...
30310         * sysdeps/i386/htonl.S: here.
30312 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30314         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
30315         * sysdeps/i386/bits/atomic.h: Here.
30317 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30319         * sysdeps/i386/i486/Versions: Removed.
30321 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30323         [BZ #2898]
30324         * misc/mktemp.c: Add mkdtemp to the link_warning message.
30325         Based on patch by Aurelien Jarno.
30327 2015-08-26  Stan Shebs  <stanshebs@google.com>
30329         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
30330         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30332 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30334         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
30335         * sysdeps/powerpc/dl-procinfo.c:
30336         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
30337         feature so it shows when LD_SHOW_AUXV=1.
30339 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30341         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
30342         (__arch_compare_and_exchange_val_32_acq): Remove and use common
30343         definition.  ISA 2.07B no longer requires full sync.
30345 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
30347         [BZ #18863]
30348         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
30349         (si_call_addr): Define.
30350         (si_syscall): Define.
30351         (si_arch): Define.
30353 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30355         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
30356         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
30357         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
30358         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30359         (__memset_zero_constant_len_parameter): New.
30360         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
30361         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30362         (__memset_zero_constant_len_parameter): Don't define if
30363         __memset_chk or USE_AS_BZERO are defined.
30365         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
30366         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
30367         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
30369         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30370         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
30371         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
30372         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
30373         comments.
30374         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30375         -mno-mmx for $(all-rtld-routines).
30376         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30377         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
30378         i386.
30380 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30382         * sysdeps/generic/unwind.h
30383         (_Unwind_Word): Use __mode__(__unwind_word__)
30384         instead of __mode__(__word__).
30385         (_Unwind_Sword): Likewise.
30387         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30388         (MAX_NEEDED_INPUT): New define.
30389         (MAX_NEEDED_OUTPUT): New define.
30391         * NEWS: New item for IBM z13 string optimizations.
30393         * sysdeps/s390/multiarch/memrchr-c.c: New File.
30394         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30395         * sysdeps/s390/multiarch/memrchr.c: Likewise.
30396         * sysdeps/s390/multiarch/Makefile
30397         (sysdep_routines): Add memrchr functions.
30398         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30399         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30401         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30402         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30403         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30404         * sysdeps/s390/multiarch/Makefile
30405         (sysdep_routines): Add wmemcmp functions.
30406         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30407         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30408         * benchtests/bench-wmemcmp.c: New File.
30409         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30411         * sysdeps/s390/multiarch/wmemset-c.c: New File.
30412         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30413         * sysdeps/s390/multiarch/wmemset.c: Likewise.
30414         * sysdeps/s390/multiarch/Makefile
30415         (sysdep_routines): Add wmemset functions.
30416         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30417         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30418         * wcsmbs/wmemset.c: Use WMEMSET if defined.
30419         * string/test-memset.c: Add wmemset support.
30420         * wcsmbs/test-wmemset.c: New File.
30421         * wcsmbs/Makefile (strop-tests): Add wmemset.
30422         * benchtests/bench-memset.c: Add wmemset support.
30423         * benchtests/bench-wmemset.c: New File.
30424         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30426         * sysdeps/s390/multiarch/memccpy-c.c: New File.
30427         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30428         * sysdeps/s390/multiarch/memccpy.c: Likewise.
30429         * sysdeps/s390/multiarch/Makefile
30430         (sysdep_routines): Add memccpy functions.
30431         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30432         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30433         * string/memccpy.c: Use MEMCCPY if defined.
30435         * sysdeps/s390/multiarch/memchr-vx.S: New File.
30436         * sysdeps/s390/multiarch/memchr.c: Likewise.
30437         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30438         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30439         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30440         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30441         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30442         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30443         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30444         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30445         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30446         and rawmemchr functions.
30447         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30448         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30449         and wmemchr.
30450         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30451         * string/test-memchr.c: Add wmemchr support.
30452         * wcsmbs/test-wmemchr.c: New File.
30453         * wcsmbs/Makefile (strop-tests): Add wmemchr.
30454         * benchtests/bench-memchr.c: Add wmemchr support.
30455         * benchtests/bench-wmemchr.c: New File.
30456         * benchtests/Makefile (wcsmbs-bench): wmemchr.
30458         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30459         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30460         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30461         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30462         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30463         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30464         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30465         wcscspn functions.
30466         * sysdeps/s390/multiarch/ifunc-impl-list.c
30467         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30468         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30469         * string/test-strcspn.c: Add wcscspn support.
30470         * wcsmbs/test-wcscspn.c: New File.
30471         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30472         * benchtests/bench-strcspn.c: Add wcscspn support.
30473         * benchtests/bench-wcscspn.c: New File.
30474         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30476         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30477         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30478         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30479         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30480         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30481         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30483         wcspbrk functions.
30484         * sysdeps/s390/multiarch/ifunc-impl-list.c
30485         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30486         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30487         * string/test-strpbrk.c: Add wcspbrk support.
30488         * wcsmbs/test-wcspbrk.c: New File.
30489         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30490         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30491         * benchtests/bench-wcspbrk.c: New File.
30492         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30494         * sysdeps/s390/multiarch/strspn-c.c: New File.
30495         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30496         * sysdeps/s390/multiarch/strspn.c: Likewise.
30497         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30498         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30499         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30500         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30501         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30502         wcsspn functions.
30503         * sysdeps/s390/multiarch/ifunc-impl-list.c
30504         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30505         * string/test-strspn.c: Add wcsspn support.
30506         * wcsmbs/test-wcsspn.c: New File.
30507         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30508         * benchtests/bench-strspn.c: Add wcsspn support.
30509         * benchtests/bench-wcsspn.c: New File.
30510         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30512         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30513         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30514         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30515         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30516         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30517         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30518         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30519         wcsrchr functions.
30520         * sysdeps/s390/multiarch/ifunc-impl-list.c
30521         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30522         * benchtests/bench-wcsrchr.c: New File.
30523         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30525         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30526         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30527         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30528         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30529         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30530         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30531         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30532         wcschrnul functions.
30533         * sysdeps/s390/multiarch/ifunc-impl-list.c
30534         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30535         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30536         * string/test-strchr.c: Add wcschrnul support.
30537         * wcsmbs/test-wcschrnul.c: New File.
30538         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30539         * benchtests/bench-strchr.c: Add wcschrnul support.
30540         * benchtests/bench-wcschrnul.c: New File.
30541         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30543         * sysdeps/s390/multiarch/strchr-c.c: New File.
30544         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30545         * sysdeps/s390/multiarch/strchr.c: Likewise.
30546         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30547         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30548         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30549         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30550         wcschr functions.
30551         * sysdeps/s390/multiarch/ifunc-impl-list.c
30552         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30553         * string/strchr.c (STRCHR): Define and use macro.
30554         * benchtests/bench-wcschr.c: New File.
30555         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30557         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30558         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30559         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30560         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30561         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30562         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30563         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30564         wcsncmp functions.
30565         * sysdeps/s390/multiarch/ifunc-impl-list.c
30566         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30567         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30568         * benchtests/bench-strncmp.c: Add wcsncmp support.
30569         * benchtests/bench-wcsncmp.c: New File.
30570         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30572         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30573         * sysdeps/s390/multiarch/strcmp.c: Likewise.
30574         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30575         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30576         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30577         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30578         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30579         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30580         wcscmp functions.
30581         * sysdeps/s390/multiarch/ifunc-impl-list.c
30582         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30583         * string/strcmp.c (STRCMP): Define and use macro.
30584         * benchtests/bench-wcscmp.c: New File.
30585         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30586         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30587         instead of _HAVE_STRING_ARCH_memchr.
30589         * sysdeps/s390/multiarch/strncat-c.c: New File.
30590         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30591         * sysdeps/s390/multiarch/strncat.c: Likewise.
30592         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30593         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30594         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30595         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30596         wcsncat functions.
30597         * sysdeps/s390/multiarch/ifunc-impl-list.c
30598         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30599         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30600         * string/test-strncat.c: Add wcsncat support.
30601         * wcsmbs/test-wcsncat.c: New File.
30602         * wcsmbs/Makefile (strop-tests): Add wcsncat.
30603         * benchtests/bench-strncat.c: Add wcsncat support.
30604         * benchtests/bench-wcsncat.c: New File.
30605         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30607         * sysdeps/s390/multiarch/strcat-c.c: New File.
30608         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30609         * sysdeps/s390/multiarch/strcat.c: Likewise.
30610         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30611         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30612         * sysdeps/s390/multiarch/wcscat.c: Likewise.
30613         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30614         wcscat functions.
30615         * sysdeps/s390/multiarch/ifunc-impl-list.c
30616         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30617         * string/strcat.c (STRCAT): Define and use macro.
30618         * wcsmbs/wcscat.c: Use WCSCAT if defined.
30619         * string/test-strcat.c: Add wcscat support.
30620         * wcsmbs/test-wcscat.c: New File.
30621         * wcsmbs/Makefile (strop-tests): Add wcscat.
30622         * benchtests/bench-strcat.c: Add wcscat support.
30623         * benchtests/bench-wcscat.c: New File.
30624         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30626         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30627         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30628         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30629         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30630         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30631         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30632         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30633         wcpncpy functions.
30634         * sysdeps/s390/multiarch/ifunc-impl-list.c
30635         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30636         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30637         * string/test-stpncpy.c: Add wcpncpy support.
30638         * wcsmbs/test-wcpncpy.c: New File.
30639         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30640         * benchtests/bench-stpncpy.c: Add wcpncpy support.
30641         * benchtests/bench-wcpncpy.c: New File.
30642         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30644         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30645         * sysdeps/s390/multiarch/strncpy.c: Likewise.
30646         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30647         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30648         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30649         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30650         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30651         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30652         wcsncpy functions.
30653         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30654         * sysdeps/s390/multiarch/ifunc-impl-list.c
30655         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30656         * string/test-strncpy.c: Add wcsncpy support.
30657         * wcsmbs/test-wcsncpy.c: New File.
30658         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30659         * benchtests/bench-strncpy.c: Add wcsncpy support.
30660         * benchtests/bench-wcsncpy.c: New File.
30661         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30663         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30664         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30665         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30666         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30667         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30668         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30669         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30670         wcpcpy functions.
30671         * string/stpcpy.c: Use STPCPY if defined.
30672         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30673         * sysdeps/s390/multiarch/ifunc-impl-list.c
30674         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30675         * string/test-stpcpy.c: Add wcpcpy support.
30676         * wcsmbs/test-wcpcpy.c: New File.
30677         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30678         * benchtests/bench-stpcpy.c: Add wcpcpy support.
30679         * benchtests/bench-wcpcpy.c: New File.
30680         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30682         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30683         * sysdeps/s390/multiarch/strcpy.c: Likewise.
30684         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30685         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30686         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30687         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30688         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30689         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30690         wcscpy functions.
30691         * sysdeps/s390/multiarch/ifunc-impl-list.c
30692         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30693         * benchtests/bench-wcscpy.c: New File.
30694         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30696         * sysdeps/s390/multiarch/strnlen-c.c: New File.
30697         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30698         * sysdeps/s390/multiarch/strnlen.c: Likewise.
30699         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30700         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30701         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30702         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30703         wcsnlen functions.
30704         * sysdeps/s390/multiarch/ifunc-impl-list.c
30705         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30706         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30707         * string/test-strnlen.c: Add wcsnlen support.
30708         * wcsmbs/test-wcsnlen.c: New File.
30709         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30710         * benchtests/bench-strnlen.c: Add wcsnlen support.
30711         * benchtests/bench-wcsnlen.c: New File.
30712         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30714         * sysdeps/s390/multiarch/Makefile: New File.
30715         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30716         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30717         * sysdeps/s390/multiarch/strlen.c: Likewise.
30718         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30719         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30720         * sysdeps/s390/multiarch/wcslen.c: Likewise.
30721         * string/strlen.c (STRLEN): Define and use macro.
30722         * sysdeps/s390/multiarch/ifunc-impl-list.c
30723         (IFUNC_VX_IMPL): New macro function.
30724         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30725         * benchtests/Makefile (wcsmbs-bench): New variable.
30726         (string-bench-all): Added wcsmbs-bench.
30727         * benchtests/bench-wcslen.c: New File.
30729         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30730         s390_vx_libc_ifunc2): New macro function.
30732         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30733         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30734         assembler support.
30735         * sysdeps/s390/configure: Regenerated.
30737         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30738         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30740         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30741         * sysdeps/s390/dl-procinfo.h: Add vector capability.
30742         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30744         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30745         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30746         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30747         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30748         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30749         (memcmp, bcmp): Use __memcmp_default as alias source.
30750         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30751         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30752         Rename to __memcmp_default.
30753         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30754         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30755         (memcpy): Use __memcpy_default as alias source.
30756         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30757         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30758         Rename to __memcpy_default.
30759         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30760         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30761         (memset): Use __memset_default as alias source.
30762         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30763         * sysdeps/s390/s390-32/memset.S (__memset_g5):
30764         Rename to __memset_default.
30765         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30766         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30767         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30768         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30769         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30770         (memcmp, bcmp): Use __memcmp_default as alias source.
30771         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30772         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30773         Rename to __memcmp_default.
30774         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30775         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30776         (memcpy): Use __memcpy_default as alias source.
30777         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30778         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30779         Rename to __memcpy_default.
30780         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30781         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30782         (memset): Use __memset_default as alias source.
30783         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30784         * sysdeps/s390/s390-64/memset.S (__memset_z900):
30785         Rename to __memset_default.
30786         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30787         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30789         [BZ #18610]
30790         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30791         __ieee_instruction_pointer to __unused.
30792         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
30793         __ieee_instruction_pointer.
30794         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
30795         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
30796         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30797         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30798         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
30799         Mark dxc-field as reserved.
30801 2015-08-25  Roland McGrath  <roland@hack.frob.com>
30803         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
30804         if the weak reference is not null.
30806 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30808         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
30810         [BZ #11214]
30811         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
30813 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30815         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
30816         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
30817         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
30818         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
30819         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
30820         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
30821         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
30822         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
30823         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
30824         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
30825         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
30826         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
30827         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
30828         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
30829         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
30830         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
30831         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
30832         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
30834 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30836         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
30837         register other than r0 for tabort, it has special meaning.
30838         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
30839         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
30840         transaction before starting syscall.
30842 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30844         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
30846 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30848         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
30850         * sysdeps/x86_64/rtld-memcmp.c: Removed.
30851         * sysdeps/x86_64/rtld-memset.S: Likewise.
30852         * sysdeps/x86_64/rtld-strchr.S: Likewise.
30853         * sysdeps/x86_64/rtld-strlen.S: Likewise.
30854         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
30855         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30857         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
30859 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
30861         * debug/strcpy_chk.c: Improve performance.
30862         * debug/stpcpy_chk.c: Likewise.
30863         * sysdeps/x86_64/strcpy_chk.S: Remove.
30864         * sysdeps/x86_64/stpcpy_chk.S: Remove.
30866         [BZ #18240]
30867         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
30869 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30871         [BZ #15128]
30872         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
30873         ifuncmain8.
30874         (modules-names): Add ifuncmod8.
30875         ($(objpfx)ifuncmain8): New rule.
30876         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
30877         <cpuid.h>.
30878         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
30879         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
30880         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
30881         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
30882         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
30883         * sysdeps/x86_64/dl-trampoline.h: Likewise.
30884         * sysdeps/x86_64/ifuncmain8.c: New file.
30885         * sysdeps/x86_64/ifuncmod8.c: Likewise.
30886         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
30887         Removed.
30888         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
30889         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
30890         Change rtld_savespace_sse to __glibc_unused2.
30891         (RTLD_CHECK_FOREIGN_CALL): Removed.
30892         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
30893         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
30894         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
30896 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30898         * sysdeps/aarch64/bzero.S (__bzero): Remove.
30900 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30902         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
30903         Unconditionally set __fpcr to avoid uninialized warning.
30904         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
30906 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30908         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
30909         is corrupt.
30911         * malloc/arena.c (arena_get2): Drop unused argument.
30912         (arena_lock): Adjust.
30913         (arena_get_retry): Likewise.
30915 2015-08-24  Andreas Schwab  <schwab@suse.de>
30917         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
30918         Don't define.
30919         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
30920         (__ASSUME_IPC64): Don't undef.
30921         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
30922         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30923         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30924         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
30925         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
30926         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
30927         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
30928         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
30929         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
30930         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
30931         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
30932         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
30933         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
30934         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
30935         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
30936         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
30937         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
30938         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
30939         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
30940         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
30941         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
30943 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
30945         * manual/Makefile (install): Only build manual when perl is available.
30947 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30949         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
30950         '#undef memcpy' by '#undef memchr'.
30952 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30954         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
30955         memchr not point to the internal __GI_memchr implementation.
30957 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30959         * timezone/Makefile (CFLAGS-zdump.c): Remove
30960         -Wno-strict-prototypes.
30961         (CFLAGS-zic.c): Likewise.
30962         (CFLAGS-ialloc.c): Likewise.
30963         (CFLAGS-scheck.c): Likewise.
30965         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
30966         -Wno-error=undef.
30968 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30970         * i386/i686/multiarch/strcasestr-c.c: Removed.
30971         * x86_64/multiarch/strcasestr.c: Likewise.
30972         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30973         Remove strcasestr.
30975 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30977         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
30979         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
30980         variables for high and low parts before possibly modifying them.
30982 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30984         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
30985         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
30986         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
30987         of "multiarch/init-arch.h".
30988         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
30989         * sysdeps/x86/init-arch.h: This.
30991 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30993         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
30994         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
30996 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
30998         [BZ #17787]
30999         * manual/macros.texi: Add twoexp macro.
31000         * manual/filesys.texi: Fix exponents.
31001         * manual/llio.texi: Likewise.
31002         * manual/stdio.texi: Likewise.
31004 2015-08-20  Florian Weimer  <fweimer@redhat.com>
31006         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
31007         incorrect use.
31009 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31011         [BZ #18370]
31012         * math/s_csqrt.c (__csqrt): Force underflow exception for results
31013         whose real or imaginary part has small absolute value.
31014         * math/s_csqrtf.c (__csqrtf): Likewise.
31015         * math/s_csqrtl.c (__csqrtl): Likewise.
31016         * math/auto-libm-test-in: Add more tests of csqrt.
31017         * math/auto-libm-test-out: Regenerated.
31018         * sysdeps/i386/fpu/libm-test-ulps: Update.
31020 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
31022         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
31023         __ppc_set_ppr_very_low): New functions.
31024         * manual/platform.texi: Add documentation about
31025         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
31027 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
31029         * string/stpncpy.c (stpncpy): Improve performance using
31030         __strnlen/memcpy/memset.
31032 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31034         [BZ #18796]
31035         * scripts/test-installation.pl: Don't add -lmvec to build options if
31036         libmvec wasn't built.
31038 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31040         [BZ #14341]
31041         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
31042         case when there is a gap between DT_REL and DT_JMPREL sections.
31043         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
31044         (LDFLAGS-tst-split-dynreloc): New.
31045         (tst-split-dynreloc-ENV): Likewise.
31046         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
31047         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
31049 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31051         [BZ #18822]
31052         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
31053         attribute_hidden.
31054         (__xstat64_conv): Likewise.
31055         (__xstat32_conv): Likewise.
31057 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31059         [BZ #18822]
31060         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
31061         Don't load %ebx when calling __setcontext.  Call __setcontext
31062         with HIDDEN_JUMPTARGET.
31063         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
31064         libc_hidden_def.
31066 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31068         * sysdeps/i386/i686/Makefile
31069         [$(subdir) == string] (sysdep_routines): Moved to ...
31070         * sysdeps/i386/Makefile: Here.
31071         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
31072         * sysdeps/i386/cacheinfo.c: Here.
31073         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
31074         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
31075         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
31076         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
31078 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31080         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31081         __i586__ is defined.
31082         (HAS_I686): Defined to 1 if __i686__ is defined.
31084 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31086         * elf/Makefile [$(have-z-execstack) = yes]
31087         (CPPFLAGS-tst-execstack.c): New variable.
31089         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31090         conditional to [defined UTMPX || _HAVE_UT_TYPE].
31091         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31092         UTMPX || _HAVE_UT_TV].
31093         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31094         UTMPX || _HAVE_UT_TV - 0].
31096 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
31098         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31099         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31100         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31102 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31104         * sysdeps/powerpc/dl-procinfo.c:
31105         (_dl_powerpc_cap_flags): Added missing strings for some
31106         hwcap features.
31107         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31109 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
31111         Port the 0x7efe...feff pattern to GCC 6.
31112         See Steve Ellcey's bug report in:
31113         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31114         * string/memrchr.c (MEMRCHR):
31115         * string/rawmemchr.c (RAWMEMCHR):
31116         * string/strchr.c (strchr):
31117         * string/strchrnul.c (STRCHRNUL):
31118         Rewrite code to avoid issues with signed shift overflow.
31120 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
31122         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31123         whether cpuid is available only if HAS_CPUID is 0.
31124         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31125         (HAS_I586): Likewise.
31126         (HAS_I686): Likewise.
31128 2015-08-18  Zack Weinberg  <zackw@panix.com>
31130         * misc/Versions (libc): Add GLIBC_2.23.
31132 2015-08-18  Alan Modra  <amodra@gmail.com>
31134         [BZ #18421]
31135         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31136         .Lp__global.
31137         (_start): Load %dp via .Lp__global.
31138         [!SHARED]: Use .section .rodata.
31140 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31142         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31143         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31145 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31147         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31148         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31150 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31152         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
31153         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
31155 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31157         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
31158         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
31160 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31162         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
31163         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
31165 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31167         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
31168         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
31170 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31172         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
31174 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31176         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
31177         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
31178         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31179         (__ASSUME_LWS_CAS): Delete.
31181 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31183         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
31184         * sysdeps/hppa/configure: Regenerated.
31185         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
31186         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
31187         * sysdeps/hppa/nptl/tls.h: Likewise.
31189 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
31191         [BZ #18823]
31192         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
31193         for scaling up small arguments.
31194         * math/s_csqrtf.c (__csqrtf): Likewise.
31195         * math/s_csqrtl.c (__csqrtl): Likewise.
31196         * math/auto-libm-test-in: Add more tests of csqrt.
31197         * math/auto-libm-test-out: Regenerated.
31199 2015-08-17  Andreas Schwab  <schwab@suse.de>
31201         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
31202         version set GLIBC_2.19.
31204 2015-08-16  Zack Weinberg  <zackw@panix.com>
31206         [BZ #18681]
31207         * misc/regexp.h: This interface is no longer supported.
31208         Remove all contents, leaving only an #error directive.
31209         * misc/regexp.c (loc1, loc2, locs, step, advance):
31210         Demote to compatibility symbols.
31212 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
31214         [BZ #18084]
31215         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
31216         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
31217         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
31218         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
31219         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
31220         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
31221         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
31222         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
31223         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
31225 2015-08-15  Zack Weinberg  <zackw@panix.com>
31227         [BZ #18795]
31228         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31229         buffer length is known to be too large, not if it's known to be
31230         small enough.
31231         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
31232         overflow at runtime, involving a length parameter, twice: once
31233         with a compile-time constant length parameter, once without.
31235 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
31237         [BZ #18824]
31238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
31239         scaling x * y up instead of down.
31240         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31241         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31242         * math/auto-libm-test-in: Add more tests of fma.
31243         * math/auto-libm-test-out: Regenerated.
31245 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31247         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31249 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31251         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
31252         unnecessary movq.
31253         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
31254         Likewise.
31256 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
31258         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31259         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
31260         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
31261         and tgamma.
31262         * math/auto-libm-test-out: Regenerated.
31263         * sysdeps/i386/fpu/libm-test-ulps: Update.
31264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31266         [BZ #16520]
31267         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
31268         (__tanh): Force underflow exception for arguments with small
31269         absolute value.
31270         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
31271         (__tanhf): Force underflow exception for arguments with small
31272         absolute value.
31273         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
31274         (__tanhl): Force underflow exception for arguments with small
31275         absolute value.
31276         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
31277         (__tanhl): Force underflow exception for arguments with small
31278         absolute value.
31279         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
31280         (__tanhl): Force underflow exception for arguments with small
31281         absolute value.
31282         * math/auto-libm-test-in: Add more tests of tanh.
31283         * math/auto-libm-test-out: Regenerated.
31284         * sysdeps/i386/fpu/libm-test-ulps: Update.
31286 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31288         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
31289         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
31291 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31293         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
31294         <cpuid.h>.
31296 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31298         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
31299         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
31301 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31303         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
31304         Remove $(objpfx)init-arch.o.
31305         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
31306         init-arch.
31307         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
31308         (INIT_ARCH_EXT): Defined as empty.
31309         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
31310         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
31311         __init_cpu_features call.  Replace HAS_XXX with
31312         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31313         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
31314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
31315         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
31316         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
31317         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31318         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
31319         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
31320         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31321         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
31322         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
31323         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31324         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
31325         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
31326         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31327         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
31328         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
31329         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31330         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31331         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
31332         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
31333         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31334         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
31335         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
31336         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31337         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
31338         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
31339         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31340         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
31341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
31342         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31343         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
31344         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
31345         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31346         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
31347         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
31349 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31351         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
31352         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31353         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31354         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31355         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
31356         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
31357         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
31358         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
31359         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
31360         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
31361         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
31362         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
31363         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31364         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31365         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31366         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31367         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31368         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31369         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31370         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31371         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31372         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31373         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31374         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31375         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31376         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31377         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31378         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31379         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31380         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31381         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31382         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31383         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31384         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31385         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31386         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31387         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31388         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31389         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31390         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31391         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31392         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31393         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31395 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31397         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31398         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31399         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31400         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31401         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31402         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31403         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31404         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31405         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31406         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31407         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31408         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31409         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31410         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31411         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31412         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31413         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31414         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31415         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31416         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31418         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31419         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31420         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31421         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31422         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31423         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31424         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
31425         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31426         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31427         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31428         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31429         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31430         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31431         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31432         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31433         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31434         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31435         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31436         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31437         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31438         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31439         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31441 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31443         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31444         (dl_platform_init): Call init_cpu_features.
31445         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31446         * sysdeps/i386/i686/cacheinfo.c
31447         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31448         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31449         * sysdeps/i386/i686/multiarch/Versions: Removed.
31450         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31451         Removed.
31452         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31453         * sysdeps/unix/sysv/linux/x86/Makefile
31454         (libpthread-sysdep_routines): Remove init-arch.
31455         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31456         <sysdeps/x86_64/dl-procinfo.c> instead of
31457         sysdeps/generic/dl-procinfo.c>.
31458         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31459         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31460         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31461         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31462         [$(subdir) == elf] (tests-static): Add
31463         tst-get-cpu-features-static.
31464         * sysdeps/x86/Versions: New file.
31465         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31466         * sysdeps/x86/cpu-features.c: Likewise.
31467         * sysdeps/x86/cpu-features.h: Likewise.
31468         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31469         * sysdeps/x86/libc-start.c: Likewise.
31470         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31471         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31472         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31473         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31474         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31475         Assume USE_MULTIARCH is defined and don't check it.
31476         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31477         (is_amd): Likewise.
31478         (max_cpuid): Likewise.
31479         (intel_check_word): Likewise.
31480         (__cache_sysconf): Don't call __init_cpu_features.
31481         (__x86_preferred_memory_instruction): Removed.
31482         (init_cacheinfo): Don't call __init_cpu_features. Replace
31483         __cpu_features with GLRO(dl_x86_cpu_features).
31484         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31485         (dl_platform_init): Call init_cpu_features.
31486         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31487         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31488         * sysdeps/x86_64/multiarch/Versions: Removed.
31489         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31490         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31491         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31492         Removed.
31493         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31495 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31497         [BZ #18820]
31498         * libio/Makefile (test-fmemopen-mem): New test.
31499         * libio/test-fmemopen.c (do_bz18820): New test.
31500         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31501         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31503 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31505         [BZ #16734]
31506         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31507         (FREE_BUF): Delete.
31508         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31509         * libio/genops.c (_IO_setb): Use malloc and free directly.
31510         (_IO_default_doallocate, _IO_default_finish): Likewise.
31511         ( _IO_unbuffer_all): Likewise.
31512         ( libc_freeres_fn): Likewise.
31513         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31514         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31515         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31516         (_IO_wdefault_doallocate): Likewise.
31518 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31520         [BZ #18086]
31521         * sysdeps/posix/nice.c (nice): Restore old errno.
31522         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31524 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31526         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31528 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31530         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31531         __bcopy and add a weak_alias to bcopy.
31532         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31533         for static build.
31535         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31536         cleanup macro usage.
31537         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31538         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31539         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31540         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31541         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31542         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31543         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31544         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31545         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31546         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31547         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31548         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31549         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31550         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31551         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31552         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31553         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31554         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31555         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31557         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31558         libc_hidden_def.
31559         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31561         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31562         (sysdep_routines): Add strstr-ppc64.
31563         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31565 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31567         [BZ #18778]
31568         * elf/Makefile (tests): Add Add tst-nodelete2.
31569         (modules-names): Add tst-nodelete2mod.
31570         (tst-nodelete2mod.so-no-z-defs): New.
31571         ($(objpfx)tst-nodelete2): Likewise.
31572         ($(objpfx)tst-nodelete2.out): Likewise.
31573         (LDFLAGS-tst-nodelete2): Likewise.
31574         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31575         out of loop through all loaded libraries.
31576         * elf/tst-nodelete2.c: New file.
31577         * elf/tst-nodelete2mod.c: Likewise.
31578         * elf/tst-znodelete-zlib.cc: Delete.
31580 2015-08-11  Andreas Schwab  <schwab@suse.de>
31582         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31583         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31584         (__openat64_nocancel): Likewise.
31586 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
31588         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31589         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31590         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31591         * math/auto-libm-test-out: Regenerated.
31592         * sysdeps/i386/fpu/libm-test-ulps: Update.
31593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31595 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31597         [BZ #18790]
31598         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31599         threshold for returning +/- 1.
31600         * math/auto-libm-test-in: Add more tests of tanh.
31601         * math/auto-libm-test-out: Regenerated.
31602         * sysdeps/i386/fpu/libm-test-ulps: Update.
31604 2015-08-10  Andreas Schwab  <schwab@suse.de>
31606         [BZ #18781]
31607         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31608         MORE_OFLAGS to oflag.
31609         * io/test-lfs.c (do_test): Test openat64.
31611 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31613         [BZ #18789]
31614         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31615         smaller threshold for returning the argument.
31616         * math/auto-libm-test-in: Add more tests of sinh.
31617         * math/auto-libm-test-out: Regenerated.
31618         * sysdeps/i386/fpu/libm-test-ulps: Update.
31620 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31622         [BZ #18674]
31623         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31624         break.
31626 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
31628         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31629         (generated): Don't add $(addprefix z.,$(tzfiles)).
31631 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31633         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31634         * scripts/sysd-rules.awk: Likewise.
31636 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31638         * iconvdata/tst-tables.sh: Change echo -n to printf.
31639         * nss/db-Makefile: Likewise.
31640         * posix/tst-getconf.sh: Likewise.
31641         * stdio-common/tst-unbputc.sh: Likewise.
31643 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31645         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31646         MADV_*_PAGES defines behind this feature check.
31648 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
31650         [BZ #18480]
31651         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31652         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31653         Define.
31654         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31655         LOAD_REGS_5, LOAD_REGS_6): Update.
31656         (INTERNAL_SYSCALL): Update using new LOAD defines.
31657         (INTERNAL_SYSCALL_NCS): Likewise.
31658         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31660 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31662         [BZ #16734]
31663         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31665 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31667         [BZ #17905]
31668         * catgets/Makefile (tst-catgets-mem): New test.
31669         * catgets/catgets.c (catopen): Don't use unbounded alloca.
31670         * catgets/open_catalog.c (__open_catalog): Likewise.
31671         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31673 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
31675         [BZ #18787]
31676         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31677         clobber registers.
31678         (atomic_compare_and_exchange_val_acq): Use register asms to assign
31679         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
31680         Cast return to __typeof (oldval).
31682 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
31684         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31685         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
31686         and delete sys/syscall.h include.
31688 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
31690         [BZ #16517]
31691         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31692         (tan): Force underflow exception for arguments with small absolute
31693         value.
31694         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31695         (__kernel_tanf): Force underflow exception for arguments with
31696         small absolute value.
31697         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31698         (__kernel_tanl): Force underflow exception for arguments with
31699         small absolute value.
31700         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31701         (__kernel_tanl): Force underflow exception for arguments with
31702         small absolute value.
31703         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31704         (__kernel_tanl): Force underflow exception for arguments with
31705         small absolute value.
31706         * math/auto-libm-test-in: Add more tests of tan.
31707         * math/auto-libm-test-out: Regenerated.
31709 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31711         Fix sysdeps/i386/fpu/s_scalbn.S build
31713         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31715 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
31717         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31719 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31721         Fix gcrt0.o compilation
31723         When static-start-installed-name is different from
31724         start-installed-name, we must not use the shared objects.
31726         * csu/Makefile
31727         (extra-objs): Add gmon-start.o when building shared library and
31728         $(static-start-installed-name) is different from
31729         $(start-installed-name).
31730         $(objpfx)g$(static-start-installed-name): When building shared
31731         library and $(static-start-installed-name) is different from
31732         $(static-start-installed-name), revert to non-shared rule,
31733         i.e. using $(objpfx)% and gmon-start.o.
31735 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
31737         [BZ #16519]
31738         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31739         (__ieee754_sinh): Force underflow exception for arguments with
31740         small absolute value.
31741         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31742         (__ieee754_sinhf): Force underflow exception for arguments with
31743         small absolute value.
31744         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31745         (__ieee754_sinhl): Force underflow exception for arguments with
31746         small absolute value.
31747         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31748         (__ieee754_sinhl): Force underflow exception for arguments with
31749         small absolute value.
31750         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31751         (__ieee754_sinhl): Force underflow exception for arguments with
31752         small absolute value.
31753         * math/auto-libm-test-in: Add more tests of sinh.
31754         * math/auto-libm-test-out: Regenerated.
31755         * sysdeps/i386/fpu/libm-test-ulps: Update.
31757 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31759         * libio/oldfileops.c: Include unistd.h.
31761 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
31763         * stdlib/isomac.c: Include ctype.h.
31765 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
31767         * dirent/tst-seekdir.c (main): Converted to ...
31768         (do_test): ... this.
31769         (TEST_FUNCTION): New macro.
31770         Include test-skeleton.c.
31771         * elf/tst-dlmodcount.c (main): Converted to ...
31772         (do_test): ... this.
31773         (TEST_FUNCTION): New macro.
31774         Include test-skeleton.c.
31775         * elf/tst-order-main.c (main): Converted to ...
31776         (do_test): ... this.
31777         (TEST_FUNCTION): New macro.
31778         Include test-skeleton.c.
31779         * elf/tst-pie2.c (main): Converted to ...
31780         (do_test): ... this.
31781         (TEST_FUNCTION): New macro.
31782         Include test-skeleton.c.
31783         * inet/tst-ether_aton.c (main): Converted to ...
31784         (do_test): ... this.
31785         (TEST_FUNCTION): New macro.
31786         Include test-skeleton.c.
31787         * misc/tst-mntent.c (main): Converted to ...
31788         (do_test): ... this.
31789         (TEST_FUNCTION): New macro.
31790         Include test-skeleton.c.
31791         * misc/tst-tsearch.c (main): Converted to ...
31792         (do_test): ... this.
31793         (TEST_FUNCTION): New macro.
31794         Include test-skeleton.c.
31795         * posix/tst-regexloc.c (main): Converted to ...
31796         (do_test): ... this.
31797         (TEST_FUNCTION): New macro.
31798         Include test-skeleton.c.
31799         * resolv/tst-aton.c (main): Converted to ...
31800         (do_test): ... this.
31801         (TEST_FUNCTION): New macro.
31802         Include test-skeleton.c.
31803         * stdio-common/test-fwrite.c (main): Converted to ...
31804         (do_test): ... this.
31805         (TEST_FUNCTION): New macro.
31806         Include test-skeleton.c.
31807         * stdio-common/tst-ferror.c (main): Converted to ...
31808         (do_test): ... this.
31809         (TEST_FUNCTION): New macro.
31810         Include test-skeleton.c.
31811         * stdio-common/tst-printf.c (main): Converted to ...
31812         (do_test): ... this.
31813         (TEST_FUNCTION): New macro.
31814         Include test-skeleton.c.
31815         * stdio-common/tst-printfsz.c (main): Converted to ...
31816         (do_test): ... this.
31817         (TEST_FUNCTION): New macro.
31818         Include test-skeleton.c.
31819         * stdlib/tst-strtod.c (main): Converted to ...
31820         (do_test): ... this.
31821         (TEST_FUNCTION): New macro.
31822         Include test-skeleton.c.
31823         * string/tst-strlen.c (main): Converted to ...
31824         (do_test): ... this.
31825         (TEST_FUNCTION): New macro.
31826         Include test-skeleton.c.
31827         * string/tst-svc.c (main): Converted to ...
31828         (do_test): ... this.
31829         (TEST_FUNCTION): New macro.
31830         Include test-skeleton.c.
31831         * time/tst-strptime.c (main): Converted to ...
31832         (do_test): ... this.
31833         (TEST_FUNCTION): New macro.
31834         Include test-skeleton.c.
31835         * timezone/tst-timezone.c (main): Converted to ...
31836         (do_test): ... this.
31837         (TEST_FUNCTION): New macro.
31838         Include test-skeleton.c.
31840 2015-08-05  Zack Weinberg  <zackw@panix.com>
31842         * misc/regexp.h: Update comments.
31844 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
31846         [BZ #18635]
31847         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
31848         before return label.
31850 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31852         [BZ #18661]
31853         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
31854         when calling __errno_location.
31855         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
31856         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
31858 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31860         [BZ #18661]
31861         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
31862         (__lll_timedwait_tid): Align stack to 16 bytes when calling
31863         __gettimeofday.
31865 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31867         [BZ #18661]
31868         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31869         (__start_context): Don't use pop to restore %rdi so that stack
31870         is aligned to 16 bytes when calling __setcontext.
31872 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31874         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
31875         only for libc.
31876         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31878 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31880         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
31881         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
31882         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
31884 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31886         * string/memccpy.c (memccpy):
31887         Improve performance by using memchr/memcpy/__mempcpy.
31889 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31891         * string/strncpy.c (strncpy):
31892         Improve performance by using __strnlen/memcpy.
31894 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31896         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31897         Optimize to avoid an unnecessary FPCR read.
31899 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31901         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31902         Optimize to reduce FPCR/FPSR accesses.
31904 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31906         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
31907         dead->data[category] != NULL.
31909 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
31911         [BZ #18647]
31912         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
31913         and |x| close to 1, use absolute value of x when computing log.
31914         * math/auto-libm-test-in: Add more tests of pow.
31915         * math/auto-libm-test-out: Regenerated.
31917 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31919         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
31920         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
31921         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
31923 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
31925         [BZ #18525]
31926         * locales/km_KH: Remove timezone definition.
31927         * locales/lo_LA: Likewise.
31928         * locales/my_MM: Likewise.
31929         * locales/nan_TW@latin: Likewise.
31930         * locales/th_TH: Likewise.
31931         * locales/uk_UA: Likewise.
31933 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31935         [BZ #18265]
31936         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
31937         (wcsncat): Likewise.
31938         (wcscmp): Likewise.
31939         (wcsncmp): Likewise.
31941 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31943         * test-skeleton.c (usage): New function.
31944         (main): Call usage when opt is '?'.
31946 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31948         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
31949         before first use.
31951 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31953         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
31954         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
31955         in there too.
31957 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
31959         * version.h (RELEASE): Set to "development".
31960         (VERSION): Set to "2.22.90"
31962         * version.h (RELEASE): Set to "stable".
31963         (VERSION): Set to "2.22"
31964         * include/features.h (__GLIBC_MINOR__): Set to 22.
31966 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
31968         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
31969         Restructure macro to avoid "value computed is not used" warning.
31970         (atomic_compare_and_exchange_val_acq): Likewise.
31972 2015-08-04  Andreas Schwab  <schwab@suse.de>
31974         [BZ #18635]
31975         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
31976         ret.
31977         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
31979 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
31981         * po/pl.po: Updated translation.
31982         * po/uk.po: Likewise.
31983         * po/fi.po: Likewise.
31984         * po/ko.po: Likewise.
31985         * po/ru.po: Likewise.
31986         * po/vi.po: Likewise.
31988 2015-07-31  Zack Weinberg  <zackw@panix.com>
31990         [BZ #18681]
31991         * regexp.h: Add unconditional #warning stating that this header
31992         will be removed soon.  Revise banner comment to match.
31993         (compile): Consistently use ERROR instead of RETURN to report
31994         errors (partial fix for BZ #18681).
31995         * regexp.c: Don't include regexp.h. Remove some unnecessary
31996         declarations.
31998 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
32000         * po/libc.pot: Regenerated.
32002 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32004         [BZ #18740]
32005         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
32006         float-vlen4-arch-ext-cflags): Removed.
32007         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
32008         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
32010 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32012         [BZ #14113]
32013         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
32014         aligned to __aligned__.
32015         (pthread_cond_t, pthread_rwlock_t): Likewise.
32017 2015-07-30  Torvald Riegel  <triegel@redhat.com>
32019         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
32021 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32023         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
32024         (struct sigaction): Change sa_flags from a long to an int, and add
32025         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
32027 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32029         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
32030         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
32031         sysdeps/generic/sysdep.h include.
32032         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
32033         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
32034         sysdeps/hppa/sysdep.h.
32035         (ENTRY, PSEUDO): Undefine before defining.
32037 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32039         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
32040         from scratch to use INTERNAL_SYSCALL.
32042 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
32044         [BZ #18078]
32045         * scripts/check-localplt.awk: Support alternate relocations.
32046         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
32047         sections.
32048         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
32049         malloc entries with + REL R_386_GLOB_DAT.
32050         * sysdeps/x86_64/localplt.data: New file.
32052 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
32054         [BZ #18731]
32055         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
32056         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32057         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32059 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32061         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
32063 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32065         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
32066         directly in terms of __sync_fetch_and_add and delete (int) cast.
32068 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32070         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
32071         the -D_ASM_IA64_CURRENT_H flag.
32073 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32075         [BZ #18641]
32076         * pwd/pwd.h (putpwent): Delete __nonnull markings.
32078 2015-07-27  Andreas Schwab  <schwab@suse.de>
32080         * conform/conformtest.pl (checknamespace): Filter out string
32081         literals while tokenizing.
32083 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32085         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32086         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32087         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32089 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32091         * nptl/tst-join7mod.c: Add #include <string.h>.
32093 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32095         * sysdeps/nios2/libm-test-ulps: Update.
32097 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32099         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32100         Fix order of arguments to the rt_sigprocmask syscall.
32101         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32102         Likewise.
32104 2015-07-24  Roland McGrath  <roland@hack.frob.com>
32106         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32108 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32110         [BZ #18457]
32111         * nptl/Makefile (tests): New test case tst-join7.
32112         (modules-names): New test case module tst-join7mod.
32113         * nptl/tst-join7.c: New file.
32114         * nptl/tst-join7mod.c: New file.
32115         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32116         all translation units in libc.so, libpthread.so and rtld.
32118 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32122 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32124         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32125         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32126         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32127         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32128         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32129         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32130         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32131         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32132         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32133         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32134         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32135         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32136         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32137         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32138         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32139         implementation.
32141 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32143         [BZ #17711]
32144         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32145         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32146         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32147         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32148         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32149         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32151 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32153         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
32154         instead of just saying load lock in the comments.
32156 2015-07-23  Roland McGrath  <roland@hack.frob.com>
32158         * sysdeps/unix/Subdirs: Moved ...
32159         * sysdeps/posix/Subdirs: ... here.
32160         * login/pty.h (struct termios, struct winsize): Add forward decls.
32161         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
32162         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
32163         * sysdeps/arm/nacl/libc.abilist: Updated.
32164         * sysdeps/nacl/libutil.abilist: New file.
32166         * bits/signum.h: Update comments to mention 1003.1-2013 too.
32167         (SIGWINCH): New macro.
32169         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
32170         * sysdeps/arm/nacl/libc.abilist: Add it.
32172 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32174         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
32176 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32178         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32179         Swap __glibc_reserved0 and sa_flags order.
32181 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32183         [BZ #18657]
32184         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
32185         are pending TLS destructor calls.
32186         * include/link.h (struct link_map): Add concurrency note for
32187         L_TLS_DTOR_COUNT.
32188         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32189         Don't touch the link map flag.  Atomically increment
32190         l_tls_dtor_count.
32191         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
32192         Avoid taking the load lock and don't touch the link map flag.
32193         * stdlib/tst-tls-atexit-nodelete.c: New test case.
32194         * stdlib/Makefile (tests): Use it.
32195         * stdlib/tst-tls-atexit.c (do_test): dlopen
32196         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
32197         to allow tst-tls-atexit-nodelete test case to use it.
32199 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32201         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
32202         to bits/types.h.
32203         (msgqnum_t): New typedef.
32204         (msglen_t): Likewise.
32205         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
32206         and msg_qbytes type to msglen_t.
32208 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32210         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
32211         pad0 to __glibc_reserved0.
32212         (struct stat64): Likewise.
32214 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32216         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32217         Change sa_flags from a long to an int and add __glibc_reserved0 before
32218         it for padding.
32220 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32222         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
32223         anonymous by deleting "siginfo" name.
32225 2015-07-21  Roland McGrath  <roland@hack.frob.com>
32227         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
32228         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
32229         rather than __nacl_irt_filename.
32230         * sysdeps/nacl/xstat.c (__xstat): Likewise.
32232         * NEWS: New item for arm-nacl port.
32233         * sysdeps/arm/nacl/libc.abilist: New file.
32234         * sysdeps/nacl/ld.abilist: New file.
32235         * sysdeps/nacl/libBrokenLocale.abilist: New file.
32236         * sysdeps/nacl/libanl.abilist: New file.
32237         * sysdeps/nacl/libcrypt.abilist: New file.
32238         * sysdeps/nacl/libdl.abilist: New file.
32239         * sysdeps/nacl/libm.abilist: New file.
32240         * sysdeps/nacl/libpthread.abilist: New file.
32241         * sysdeps/nacl/libresolv.abilist: New file.
32242         * sysdeps/nacl/librt.abilist: New file.
32244 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
32246         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
32247         __startcontext to initialize the new context.
32248         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
32249         up CFI directive to forbid further backtracing.
32251 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
32253         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
32254         reference.
32255         * charmaps/ANSI_X3.4-1968: Likewise.
32256         * charmaps/BS_4730: Likewise.
32257         * charmaps/BS_VIEWDATA: Likewise.
32258         * charmaps/CP1250: Likewise.
32259         * charmaps/CP1251: Likewise.
32260         * charmaps/CP1252: Likewise.
32261         * charmaps/CP1253: Likewise.
32262         * charmaps/CP1254: Likewise.
32263         * charmaps/CP1255: Likewise.
32264         * charmaps/CP1256: Likewise.
32265         * charmaps/CSN_369103: Likewise.
32266         * charmaps/EBCDIC-DK-NO: Likewise.
32267         * charmaps/GB_1988-80: Likewise.
32268         * charmaps/GREEK-CCITT: Likewise.
32269         * charmaps/GREEK7: Likewise.
32270         * charmaps/INIS-8: Likewise.
32271         * charmaps/ISIRI-3342: Likewise.
32272         * charmaps/ISO_2033-1983: Likewise.
32273         * charmaps/ISO_5427-EXT: Likewise.
32274         * locales/POSIX: Likewise.
32275         * locales/ar_SA: Likewise.
32276         * locales/be_BY: Likewise.
32277         * locales/be_BY@latin: Likewise.
32278         * locales/ca_ES: Likewise.
32279         * locales/cs_CZ: Likewise.
32280         * locales/da_DK: Likewise.
32281         * locales/de_BE: Likewise.
32282         * locales/de_CH: Likewise.
32283         * locales/de_LU: Likewise.
32284         * locales/en_AU: Likewise.
32285         * locales/en_BW: Likewise.
32286         * locales/en_CA: Likewise.
32287         * locales/en_DK: Likewise.
32288         * locales/en_GB: Likewise.
32289         * locales/en_IE: Likewise.
32290         * locales/en_NZ: Likewise.
32291         * locales/en_ZA: Likewise.
32292         * locales/en_ZW: Likewise.
32293         * locales/es_AR: Likewise.
32294         * locales/es_BO: Likewise.
32295         * locales/es_CL: Likewise.
32296         * locales/es_CO: Likewise.
32297         * locales/es_DO: Likewise.
32298         * locales/es_EC: Likewise.
32299         * locales/es_ES: Likewise.
32300         * locales/es_HN: Likewise.
32301         * locales/es_MX: Likewise.
32302         * locales/es_PA: Likewise.
32303         * locales/es_PE: Likewise.
32304         * locales/es_PY: Likewise.
32305         * locales/es_SV: Likewise.
32306         * locales/es_US: Likewise.
32307         * locales/es_UY: Likewise.
32308         * locales/es_VE: Likewise.
32309         * locales/et_EE: Likewise.
32310         * locales/fa_IR: Likewise.
32311         * locales/fo_FO: Likewise.
32312         * locales/fr_CA: Likewise.
32313         * locales/fr_CH: Likewise.
32314         * locales/gv_GB: Likewise.
32315         * locales/he_IL: Likewise.
32316         * locales/hr_HR: Likewise.
32317         * locales/id_ID: Likewise.
32318         * locales/is_IS: Likewise.
32319         * locales/it_CH: Likewise.
32320         * locales/iw_IL: Likewise.
32321         * locales/kl_GL: Likewise.
32322         * locales/ko_KR: Likewise.
32323         * locales/kw_GB: Likewise.
32324         * locales/lg_UG: Likewise.
32325         * locales/lt_LT: Likewise.
32326         * locales/lv_LV: Likewise.
32327         * locales/mi_NZ: Likewise.
32328         * locales/nhn_MX: Likewise.
32329         * locales/nl_BE: Likewise.
32330         * locales/pl_PL: Likewise.
32331         * locales/sk_SK: Likewise.
32332         * locales/sl_SI: Likewise.
32333         * locales/sv_FI: Likewise.
32334         * locales/tl_PH: Likewise.
32335         * locales/tr_TR: Likewise.
32336         * locales/vi_VN: Likewise.
32338 2015-07-21  Khem Raj  <raj.khem@gmail.com>
32340         [BZ #17475]
32341         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
32342         of tu_IN and bh_IN.
32344 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
32346         [BZ #18694]
32347         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
32348         bits/wordsize.h.
32349         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
32351 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32353         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
32354         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
32355         (spawn_thread): New function.
32356         (load): Rename to reg_dtor_and_close.  Move dlopen to...
32357         (do_test): ... here.  Use IS_LOADED to test for its
32358         availability.
32360 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
32362         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32364 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
32366         [BZ #18696]
32367         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
32368         si_addr_bnd.
32369         (si_lower): New.
32370         (si_upper): Likewise.
32372 2015-07-16  David S. Miller  <davem@davemloft.net>
32374         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32376 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32378         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32379         buffer.
32380         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32381         fail output information.
32383 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32386         and strstr-ppc64..
32387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32388         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32389         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32390         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32391         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32393 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32395         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32396         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32397         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32398         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32400 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32402         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32403         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32404         rtld_hidden_proto.
32405         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32407 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32409         * tst-nodelete-opened.c (do_test): Add comment to clarify how
32410         the test can fail.
32412         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32414         [BZ #18676]
32415         * elf/tst-nodelete-opened.c: New test case.
32416         * elf/tst-nodelete-opened-lib.c: New test case module.
32417         * elf/Makefile (tests, modules-names): Use them.
32418         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32419         early.
32421 2015-07-15  David S. Miller  <davem@davemloft.net>
32423         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32424         futex-intenal.h
32425         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32426         * sysdeps/sparc/sparc64/Makefile: Likewise.
32427         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32428         Remove space from macro define.
32429         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32431 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
32433         [BZ #17475]
32434         * locale/iso-639.def: Update Bhili and Tulu language codes as
32435         per iso639-3.
32437 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
32439         * elf/tst-leaks1.c (main): Converted to ...
32440         (do_test): ... this.
32441         (TEST_FUNCTION): New macro.
32442         Include test-skeleton.c.
32443         * localedata/tst-langinfo.c (main): Converted to ...
32444         (do_test): ... this.
32445         (TEST_FUNCTION): New macro.
32446         Include test-skeleton.c.
32447         * math/test-fpucw.c (main): Converted to ...
32448         (do_test): ... this.
32449         (TEST_FUNCTION): New macro.
32450         Include test-skeleton.c.
32451         * math/test-tgmath.c (main): Converted to ...
32452         (do_test): ... this.
32453         (TEST_FUNCTION): New macro.
32454         Include test-skeleton.c.
32455         * math/test-tgmath2.c (main): Converted to ...
32456         (do_test): ... this.
32457         (TEST_FUNCTION): New macro.
32458         Include test-skeleton.c.
32459         * setjmp/tst-setjmp.c (main): Converted to ...
32460         (do_test): ... this.
32461         (TEST_FUNCTION): New macro.
32462         Include test-skeleton.c.
32463         * stdio-common/tst-sscanf.c (main): Converted to ...
32464         (do_test): ... this.
32465         (TEST_FUNCTION): New macro.
32466         Include test-skeleton.c.
32467         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32468         (do_test): ... this.
32469         (TEST_FUNCTION): New macro.
32470         Include test-skeleton.c.
32472         * elf/tst-audit9.c (main): Converted to ...
32473         (do_test): ... this.
32474         (TEST_FUNCTION): New macro.
32475         Include test-skeleton.c.
32477 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32479         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32481 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32483         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32484         New variable.
32486 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32488         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32490 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32492         * sysdeps/generic/dl-fileid.h: New file.
32493         * sysdeps/posix/dl-fileid.h: New file.
32494         * sysdeps/nacl/dl-fileid.h: New file.
32495         * include/link.h: Include <dl-fileid.h>.
32496         (struct link_map): Replace l_dev and l_ino with l_file_id.
32497         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32498         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32499         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32501 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32503         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32505 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32507         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32508         Add iff $CXX is set.
32509         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32510         Likewise.
32511         (tst-nodelete-zmodiff): Likewise.
32512         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32514 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32516         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32518 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32520         * sysdeps/aarch64/fpu/math_private.h
32521         (define math_opt_barrier): Add AArch64 version.
32522         (math_force_eval): Likewise.
32524 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32526         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32528 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32530         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32531         %ld with %jd and cast to intmax_t.
32532         (do_test_length_zero): Likewise.
32534 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32536         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32538 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32540         * sysdeps/tile/libm-test-ulps: Regenerated.
32542         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32543         Comment out the whole function, not just its body.
32545 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32547         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32548         locks.
32550         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32552 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32554         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32555         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32557 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32559         * sysdeps/nptl/futex-internal.h: New file.
32560         * sysdeps/nacl/futex-internal.h: New file.
32561         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32562         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32563         error checking.
32564         (setxid_unmark_thread): Likewise.
32565         (__nptl_setxid): Likewise.
32566         (__wait_lookup_done): Likewise.
32567         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32568         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32569         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32570         * nptl/pthread_once.c (clear_once_control): Likewise.
32571         (__pthread_once_slow): Likewise.
32572         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32573         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32574         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32575         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32576         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32577         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32578         Likewise.
32579         (__pthread_rwlock_rdlock): Likewise.
32580         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32581         Likewise.
32582         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32583         Likewise.
32584         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32585         Likewise.
32586         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32587         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32588         Likewise.
32589         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32590         __ASSUME_PRIVATE_FUTEX check.
32591         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32592         Check that shared futexes are supported.
32593         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32594         wrappers with error checking.
32595         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32596         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32597         * nptl/pthread_barrierattr_setpshared.c
32598         (pthread_barrierattr_setpshared): Check that shared futexes are
32599         supported.
32600         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32601         Likewise.
32602         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32603         Likewise.
32604         * nptl/sem_init.c (futex_private_if_supported): Remove.
32605         (__new_sem_init): Adapt and check that shared futexes are supported.
32606         * nptl/sem_open.c (sem_open): Likewise.
32607         * nptl/sem_post.c (futex_wake): Remove.
32608         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32609         (do_futex_wait): Use futex wrappers with error checking.
32610         * nptl/sem_wait.c: Include lowlevellock.h.
32611         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32612         Use futex_supports_pshared.
32613         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32614         Use futex wrappers with error checking.
32615         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32616         Likewise.
32617         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32618         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32619         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32620         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32621         (futex_wake): Likewise.
32622         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32623         (do_futex_wait): Use futex wrappers with error checking.
32624         (__new_sem_wait_slow): Update EINTR handling.
32625         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32627 2015-07-09  Martin Sebor  <msebor@redhat.com>
32629         [BZ #18435]
32630         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32631         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32632         * nptl/Makefile (test-xfail-tst-once5): Define.
32634 2015-07-09  Roland McGrath  <roland@hack.frob.com>
32636         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32637         * elf/dl-minimal.c: For readability, reorder some definitions and
32638         introduce more page breaks.  Include <stdio.h>.
32639         (__libc_fatal): New function.
32641         * include/unistd.h: Add rtld_hidden_proto for _exit.
32642         * posix/_exit.c: Add rtld_hidden_def.
32643         * sysdeps/mach/hurd/_exit.c: Likewise.
32644         * sysdeps/nacl/_exit.c: Likewise.
32645         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32646         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32648 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
32650         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32651         bndmov encoding with zero displacement.
32653 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32654             H.J. Lu  <hongjiu.lu@intel.com>
32656         [BZ #18134]
32657         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32658         * sysdeps/i386/configure: Regenerated.
32659         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32660         (_dl_runtime_profile): Save and restore Intel MPX return bound
32661         registers when calling _dl_call_pltexit.  Add
32662         PRESERVE_BND_REGS_PREFIX before return.
32663         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32664         (LRV_BND1_OFFSET): Likewise.
32665         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32666         lrv_bnd1.
32667         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32668         typo in bndmov encoding.
32669         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32670         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
32671         branch instructions to preserve bounds.
32673 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32676         [GLIBC_2.22]: Add fmemopen.
32678 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32680         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32681         returns an error, also try to use host port from __mach_host_self for
32682         the __vm_wire call.
32683         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32685 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32687         [BZ #18400]
32688         [BZ #18648]
32689         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32690         Fix pr_uid and pr_gid members.
32691         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32692         definition to elf_greg_t.
32694 2015-07-08  Roland McGrath  <roland@hack.frob.com>
32696         [BZ #18383]
32697         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32698         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32699         * sysdeps/arm/configure: Regenerated.
32700         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32701         (test-xfail-tst-tlsalign-static): Variable removed.
32703         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32704         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32705         rather than explicit 'ln -s'.
32707         * resolv/rpc/netdb.h: New file.
32708         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32710 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32712         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32713         length buffers.
32714         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32715         test-skeleton.c.
32717         [BZ #6544]
32718         [BZ #11216]
32719         [BZ #12836]
32720         [BZ #13151]
32721         [BZ #13152]
32722         [BZ #14292]
32723         * include/stdio.h (fmemopen): Remove hidden prototype.
32724         (__fmemopen): Add new hidden prototype.
32725         * libio/Makefile: Add oldfmemopen object.
32726         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32727         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32728         compliance.
32729         * libio/oldfmemopen.c: New file: old fmemopen implementation for
32730         symbol compatibility.
32731         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32732         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32733         fmemopen.
32734         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32735         on append and read mode.
32736         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32737         fmemopen.
32738         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32739         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32740         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32741         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32742         Likewise.
32743         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32744         [GLIBC_2.22]: Likewise.
32745         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32746         Likewise.
32747         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32748         Likewise.
32749         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32750         [GLIBC_2.22]: Likewise.
32751         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32752         [GLIBC_2.22]: Likewise.
32753         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32754         [GLIBC_2.22]: Likewise.
32755         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32756         [GLIBC_2.22]: Likewise.
32757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32758         [GLIBC_2.22]: Likewise.
32759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32760         [GLIBC_2.22]: Likewise.
32761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32762         [GLIBC_2.22]: Likewise.
32763         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32764         Likewise.
32765         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32766         Likewise.
32767         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32768         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32769         [GLIBC_2.22]: Likewise.
32770         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32771         [GLIBC_2.22]: Likewise.
32772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32773         [GLIBC_2.22]: Likewise.
32774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32775         [GLIBC_2.22]: Likewise.
32776         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32777         Likewise.
32778         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32779         Likewise.
32780         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32781         Likewise.
32782         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32783         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32785 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32787         [BZ #18643]
32788         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32789         IPV6_PATHMTU, and IPV6_DONTFRAG.
32791 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
32793         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
32794         and _IO_UNBUFFERED.
32795         * libio/oldfileops.c: Likewise.
32796         * libio/wfileops.c: Likewise.
32798 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32800         * nscd/selinux.c: Delete selinux/flask.h include.
32802 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32804         [BZ #18641]
32805         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
32806         (putpwent): Likewise.
32807         (getpwnam): Likewise.
32808         (getpwent_r): Likewise.
32809         (getpwuid_r): Likewise.
32810         (getpwnam_r): Likewise.
32811         (fgetpwent_r): Likewise.
32813 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32815         [BZ #18557]
32816         * inet/rcmd.c (__validuser2_sa): Check user first to
32817         short-circuit host check.
32819 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
32820             Mikhail Ilin  <m.ilin@samsung.com>
32822         [BZ #17833]
32823         * elf/Makefile (tests): Add tst-nodelete.
32824         (modules-names): Add tst-nodelete-uniquemod.
32825         (tst-nodelete-uniquemod.so-no-z-defs): New.
32826         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
32827         (tst-nodelete-zmod.so-no-z-defs): Likewise.
32828         ($(objpfx)tst-nodelete): Likewise.
32829         ($(objpfx)tst-nodelete.out): Likewise.
32830         (LDFLAGS-tst-nodelete): Likewise.
32831         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
32832         * elf/dl-close.c (_dl_close_worker): Add a parameter to
32833         implement forced object deletion.
32834         (_dl_close): Pass false to _dl_close_worker.
32835         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
32836         * elf/tst-nodelete.cc: New file.
32837         * elf/tst-nodeletelib.cc: Likewise.
32838         * elf/tst-znodeletelib.cc: Likewise.
32839         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
32841 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32843         [BZ #18508]
32844         * stdlib/Makefile ($(objpfx)tst-makecontext3):
32845         Depend on $(libdl).
32846         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
32847         is not called infinitely times.
32848         (backtrace_helper): New function.
32849         (trace_arg): New struct.
32850         (st1): Enlarge stack size.
32851         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32852         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
32853         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32854         Likewise.
32856 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32858         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32860 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32862         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
32863         Include sys/types.h instead of bits/types.h.
32864         Remove inclusion of bits/wordsize.h.
32866 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32868         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
32869         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
32870         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
32871         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
32872         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
32873         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
32875 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32877         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
32878         link-defines.sym.
32879         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
32880         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
32881         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
32882         and LR_SIZE.
32883         * sysdeps/i386/link-defines.sym: New file.
32885 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32887         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
32888         (modules-names): Add tst-auditmod3a tst-auditmod3b.
32889         ($(objpfx)tst-audit3): New rule.
32890         ($(objpfx)tst-audit3.out): Likewise.
32891         * sysdeps/i386/tst-audit3.c: New file.
32892         * sysdeps/i386/tst-audit3.h: Likewise.
32893         * sysdeps/i386/tst-auditmod3a.c: Likewise.
32894         * sysdeps/i386/tst-auditmod3b.c: Likewise.
32896 2015-07-07  Torvald Riegel  <triegel@redhat.com>
32898         [BZ #18633]
32899         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
32900         pointer in C code.
32901         (__strcat_c): Likewise.
32902         (__strcat_g): Likewise.
32904 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
32906         [BZ #18592]
32907         * misc/sbrk.c: Set errno to ENOMEM on overflow.
32909 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32911         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
32912         New function.  (__ieee754_sqrtf): New function.
32913         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
32914         New function.
32915         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
32916         New function.
32918 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32920         * sysdeps/ieee754/support.c: Remove unused file.
32922 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32924         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
32925         registers instead of d ones so the layout is kernel abi compatible.
32926         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
32927         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
32928         Likewise.
32930 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32932         * sysdeps/aarch64/libm-test-ulps: Regenerated.
32934 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32936         [BZ #18619]
32937         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
32938         and return argument in case of subnormal argument.
32940 2015-07-01  Martin Sebor  <msebor@redhat.com>
32942         [BZ #18435]
32943         * nptl/Makefile: Add tst-once5.cc.
32944         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32945         Remove macro redefinitions.
32946         * nptl/tst-once5.cc: New test.
32948 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32950         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32952         * sysdeps/arm/libm-test-ulps: Regenerated.
32954         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32955         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32957 2015-06-30  Torvald Riegel  <triegel@redhat.com>
32959         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
32960         lll_lock_wait_private and lll_futex_wake probes.
32962         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32963         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
32964         Likewise.
32965         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
32966         atomic_spin_nop.
32967         * sysdeps/x86_64/bits/atomic.h: Likewise.
32968         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
32969         to atomic_spin_nop and move ...
32970         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32971         ... here and ...
32972         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
32973         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
32974         atomic_spin_nop instead of BUSY_WAIT_NOP.
32975         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
32976         Likewise.
32977         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
32978         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32979         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
32980         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
32981         instead of atomic_delay.
32983 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
32985         [BZ #18613]
32986         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
32987         X_ADJ not X when adjusting exponent.
32988         (__ieee754_gamma_r): Do intermediate computations in
32989         round-to-nearest then adjust overflowing and underflowing results
32990         as needed.
32991         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
32992         of X_ADJ not X when adjusting exponent.
32993         (__ieee754_gammaf_r): Do intermediate computations in
32994         round-to-nearest then adjust overflowing and underflowing results
32995         as needed.
32996         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
32997         log of X_ADJ not X when adjusting exponent.
32998         (__ieee754_gammal_r): Do intermediate computations in
32999         round-to-nearest then adjust overflowing and underflowing results
33000         as needed.  Use 1.0L not 1.0f as numerator of division.
33001         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
33002         log of X_ADJ not X when adjusting exponent.
33003         (__ieee754_gammal_r): Do intermediate computations in
33004         round-to-nearest then adjust overflowing and underflowing results
33005         as needed.  Use 1.0L not 1.0f as numerator of division.
33006         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
33007         of X_ADJ not X when adjusting exponent.
33008         (__ieee754_gammal_r): Do intermediate computations in
33009         round-to-nearest then adjust overflowing and underflowing results
33010         as needed.  Use 1.0L not 1.0f as numerator of division.
33011         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
33012         to auto-libm-test-in.
33013         (tgamma_test): Use ALL_RM_TEST.
33014         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
33015         tests of tgamma with spurious-overflow.
33016         * math/auto-libm-test-out: Regenerated.
33017         * math/gen-libm-have-vector-test.sh: Do not check for START.
33018         * sysdeps/i386/fpu/libm-test-ulps: Update.
33019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33021         [BZ #18612]
33022         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
33023         arguments, just return 0.5 times the argument, with underflow
33024         forced as needed.
33025         * math/auto-libm-test-in: Add more tests of j1.
33026         * math/auto-libm-test-out: Regenerated.
33028         [BZ #16559]
33029         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
33030         (__ieee754_j1): Force underflow exception for small results.
33031         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33032         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
33033         (__ieee754_j1f): Force underflow exception for small results.
33034         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33035         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33036         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33037         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
33038         (__ieee754_j1l): Force underflow exception for small results.
33039         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33040         * math/auto-libm-test-in: Add more tests of j1 and jn.
33041         * math/auto-libm-test-out: Regenerated.
33043         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
33044         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
33045         (PF_MPLS): Likewise.
33046         (AF_IB): Likewise.
33047         (AF_MPLS): Likewise.
33048         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
33049         value and macro.
33050         (MS_RMT_MASK): Include MS_LAZYTIME.
33052 2015-06-26  Mel Gorman  <mgorman@suse.de>
33054         [BZ #18502]
33055         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33056         already minimal.
33058 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
33060         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
33061         (DT_MIPS_NUM): Update.
33062         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
33063         DT_MIPS_RLD_MAP_REL.
33065 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
33067         [BZ #16559]
33068         [BZ #18602]
33069         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
33070         round-to-nearest internally then recompute results that
33071         underflowed to zero in the original rounding mode.
33072         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33073         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33075         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33076         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
33077         * sysdeps/i386/fpu/libm-test-ulps: Update.
33078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33080 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33082         * NEWS: Fixed description of link with vector math library.
33084 2015-06-25  Andreas Schwab  <schwab@suse.de>
33086         [BZ #18549]
33087         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33088         * libio/test-fmemopen.c (do_test): Add test for it.
33090 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33092         [BZ #17841]
33093         * Makeconfig (no-pie-ldflag): New.
33094         (+link): Set to $(+link-pie) if default to PIE.
33095         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33096         * config.make.in (build-pie-default): New.
33097         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
33098         is default.  AC_SUBST.
33099         * configure: Regenerated.
33100         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33102 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33104         * nptl/descr.h (struct pthread): Change type of field setxid_futex
33105         to 'unsigned int'.
33107         * resolv/gai_misc.h (struct waitlist): Change type of field
33108         counterp to 'volatile unsigned int *'.
33109         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33110         FUTEXADDR and OLDVAL.
33111         * resolv/getaddrinfo_a.c (getaddrinfo_a):
33112         Give local variable TOTAL type 'volatile unsigned int'.
33113         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33114         * resolv/gai_suspend.c (gai_suspend):
33115         Give local variable CNTR type 'unsigned int'.
33117         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33118         counterp to 'volatile unsigned int *'.
33119         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33120         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33121         (aio_suspend): Give local variable CNTR type 'unsigned int'.
33122         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33123         Give local variable TOTAL type 'volatile unsigned int'.
33124         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33126 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33128         [BZ #18383]
33129         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33130         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
33131         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33132         comment for i386/x86-64.
33133         (test-xfail-tst-tlsalign-extern-static): Removed.
33135 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33137         * math/test-double.h: New file.
33138         * math/test-float.h: Likewise.
33139         * math/test-ldouble.h: Likewise.
33140         * math/test-math-inline.h: Likewise.
33141         * math/test-math-no-inline.h: Likewise.
33142         * math/test-math-scalar.h: Likewise.
33143         * math/test-math-vector.h: Likewise.
33144         * math/test-vec-loop.h: Remove file.  Contents moved into
33145         test-math-vector.h.
33146         * math/libm-test.inc (MATHCONST): Do not document macro.
33147         * math/test-double.c: Include test-double.h, test-math-no-inline.h
33148         and test-math-scalar.h.
33149         (FUNC): Remove macro.
33150         (FUNC_TEST): Likewise.
33151         (FLOAT): Likewise.
33152         (MATHCONST): Likewise.
33153         (PRINTF_EXPR): Likewise.
33154         (PRINTF_XEXPR): Likewise.
33155         (PRINTF_NEXPR): Likewise.
33156         (TEST_DOUBLE): Likewise.
33157         (TEST_MATHVEC): Likewise.
33158         (__NO_MATH_INLINES): Likewise.
33159         * math/test-float.c: Include test-float.h, test-math-no-inline.h
33160         and test-math-scalar.h.
33161         (FUNC): Remove macro.
33162         (FUNC_TEST): Likewise.
33163         (FLOAT): Likewise.
33164         (MATHCONST): Likewise.
33165         (PRINTF_EXPR): Likewise.
33166         (PRINTF_XEXPR): Likewise.
33167         (PRINTF_NEXPR): Likewise.
33168         (TEST_FLOAT): Likewise.
33169         (TEST_MATHVEC): Likewise.
33170         (__NO_MATH_INLINES): Likewise.
33171         * math/test-idouble.c: Include test-double.h, test-math-inline.h
33172         and test-math-scalar.h.
33173         (FUNC): Remove macro.
33174         (FUNC_TEST): Likewise.
33175         (FLOAT): Likewise.
33176         (MATHCONST): Likewise.
33177         (PRINTF_EXPR): Likewise.
33178         (PRINTF_XEXPR): Likewise.
33179         (PRINTF_NEXPR): Likewise.
33180         (TEST_DOUBLE): Likewise.
33181         (TEST_MATHVEC): Likewise.
33182         (TEST_INLINE): Likewise.
33183         (__NO_MATH_INLINES): Likewise.
33184         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
33185         test-math-scalar.h.
33186         (FUNC): Remove macro.
33187         (FUNC_TEST): Likewise.
33188         (FLOAT): Likewise.
33189         (MATHCONST): Likewise.
33190         (PRINTF_EXPR): Likewise.
33191         (PRINTF_XEXPR): Likewise.
33192         (PRINTF_NEXPR): Likewise.
33193         (TEST_FLOAT): Likewise.
33194         (TEST_MATHVEC): Likewise.
33195         (TEST_INLINE): Likewise.
33196         (__NO_MATH_INLINES): Likewise.
33197         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
33198         and test-math-scalar.h.
33199         (FUNC): Remove macro.
33200         (FUNC_TEST): Likewise.
33201         (FLOAT): Likewise.
33202         (MATHCONST): Likewise.
33203         (PRINTF_EXPR): Likewise.
33204         (PRINTF_XEXPR): Likewise.
33205         (PRINTF_NEXPR): Likewise.
33206         (TEST_LDOUBLE): Likewise.
33207         (TEST_MATHVEC): Likewise.
33208         (TEST_INLINE): Likewise.
33209         (__NO_MATH_INLINES): Likewise.
33210         * math/test-ldouble.c: Include test-ldouble.h,
33211         test-math-no-inline.h and test-math-scalar.h.
33212         (FUNC): Remove macro.
33213         (FUNC_TEST): Likewise.
33214         (FLOAT): Likewise.
33215         (MATHCONST): Likewise.
33216         (PRINTF_EXPR): Likewise.
33217         (PRINTF_XEXPR): Likewise.
33218         (PRINTF_NEXPR): Likewise.
33219         (TEST_LDOUBLE): Likewise.
33220         (TEST_MATHVEC): Likewise.
33221         (__NO_MATH_INLINES): Likewise.
33222         * math/test-double-vlen2.h: Include test-double.h,
33223         test-math-no-inline.h and test-math-vector.h.
33224         (FLOAT): Remove macro.
33225         (FUNC): Likewise.
33226         (MATHCONST): Likewise.
33227         (PRINTF_EXPR): Likewise.
33228         (PRINTF_XEXPR): Likewise.
33229         (PRINTF_NEXPR): Likewise.
33230         (TEST_DOUBLE): Likewise.
33231         (TEST_MATHVEC): Likewise.
33232         (__NO_MATH_INLINES): Likewise.
33233         (CNCT): Likewise.
33234         (CONCAT): Likewise.
33235         (WRAPPER_NAME): Likewise.
33236         (WRAPPER_DECL): Likewise.
33237         (WRAPPER_DECL_ff): Likewise.
33238         (WRAPPER_DECL_fFF): Likewise.
33239         (VECTOR_WRAPPER): Likewise.
33240         (VECTOR_WRAPPER_ff): Likewise.
33241         (VECTOR_WRAPPER_fFF): Likewise.
33242         (VEC_LEN): New macro.
33243         * math/test-double-vlen4.h: Include test-double.h,
33244         test-math-no-inline.h and test-math-vector.h.
33245         (FLOAT): Remove macro.
33246         (FUNC): Likewise.
33247         (MATHCONST): Likewise.
33248         (PRINTF_EXPR): Likewise.
33249         (PRINTF_XEXPR): Likewise.
33250         (PRINTF_NEXPR): Likewise.
33251         (TEST_DOUBLE): Likewise.
33252         (TEST_MATHVEC): Likewise.
33253         (__NO_MATH_INLINES): Likewise.
33254         (CNCT): Likewise.
33255         (CONCAT): Likewise.
33256         (WRAPPER_NAME): Likewise.
33257         (WRAPPER_DECL): Likewise.
33258         (WRAPPER_DECL_ff): Likewise.
33259         (WRAPPER_DECL_fFF): Likewise.
33260         (VECTOR_WRAPPER): Likewise.
33261         (VECTOR_WRAPPER_ff): Likewise.
33262         (VECTOR_WRAPPER_fFF): Likewise.
33263         (VEC_LEN): New macro.
33264         * math/test-double-vlen8.h: Include test-double.h,
33265         test-math-no-inline.h and test-math-vector.h.
33266         (FLOAT): Remove macro.
33267         (FUNC): Likewise.
33268         (MATHCONST): Likewise.
33269         (PRINTF_EXPR): Likewise.
33270         (PRINTF_XEXPR): Likewise.
33271         (PRINTF_NEXPR): Likewise.
33272         (TEST_DOUBLE): Likewise.
33273         (TEST_MATHVEC): Likewise.
33274         (__NO_MATH_INLINES): Likewise.
33275         (CNCT): Likewise.
33276         (CONCAT): Likewise.
33277         (WRAPPER_NAME): Likewise.
33278         (WRAPPER_DECL): Likewise.
33279         (WRAPPER_DECL_ff): Likewise.
33280         (WRAPPER_DECL_fFF): Likewise.
33281         (VECTOR_WRAPPER): Likewise.
33282         (VECTOR_WRAPPER_ff): Likewise.
33283         (VECTOR_WRAPPER_fFF): Likewise.
33284         (VEC_LEN): New macro.
33285         * math/test-float-vlen4.h: Include test-float.h,
33286         test-math-no-inline.h and test-math-vector.h.
33287         (FLOAT): Remove macro.
33288         (FUNC): Likewise.
33289         (MATHCONST): Likewise.
33290         (PRINTF_EXPR): Likewise.
33291         (PRINTF_XEXPR): Likewise.
33292         (PRINTF_NEXPR): Likewise.
33293         (TEST_FLOAT): Likewise.
33294         (TEST_MATHVEC): Likewise.
33295         (__NO_MATH_INLINES): Likewise.
33296         (CNCT): Likewise.
33297         (CONCAT): Likewise.
33298         (WRAPPER_NAME): Likewise.
33299         (WRAPPER_DECL): Likewise.
33300         (WRAPPER_DECL_ff): Likewise.
33301         (WRAPPER_DECL_fFF): Likewise.
33302         (VECTOR_WRAPPER): Likewise.
33303         (VECTOR_WRAPPER_ff): Likewise.
33304         (VECTOR_WRAPPER_fFF): Likewise.
33305         (VEC_LEN): New macro.
33306         * math/test-float-vlen8.h: Include test-float.h,
33307         test-math-no-inline.h and test-math-vector.h.
33308         (FLOAT): Remove macro.
33309         (FUNC): Likewise.
33310         (MATHCONST): Likewise.
33311         (PRINTF_EXPR): Likewise.
33312         (PRINTF_XEXPR): Likewise.
33313         (PRINTF_NEXPR): Likewise.
33314         (TEST_FLOAT): Likewise.
33315         (TEST_MATHVEC): Likewise.
33316         (__NO_MATH_INLINES): Likewise.
33317         (CNCT): Likewise.
33318         (CONCAT): Likewise.
33319         (WRAPPER_NAME): Likewise.
33320         (WRAPPER_DECL): Likewise.
33321         (WRAPPER_DECL_ff): Likewise.
33322         (WRAPPER_DECL_fFF): Likewise.
33323         (VECTOR_WRAPPER): Likewise.
33324         (VECTOR_WRAPPER_ff): Likewise.
33325         (VECTOR_WRAPPER_fFF): Likewise.
33326         (VEC_LEN): New macro.
33327         * math/test-float-vlen16.h: Include test-float.h,
33328         test-math-no-inline.h and test-math-vector.h.
33329         (FLOAT): Remove macro.
33330         (FUNC): Likewise.
33331         (MATHCONST): Likewise.
33332         (PRINTF_EXPR): Likewise.
33333         (PRINTF_XEXPR): Likewise.
33334         (PRINTF_NEXPR): Likewise.
33335         (TEST_FLOAT): Likewise.
33336         (TEST_MATHVEC): Likewise.
33337         (__NO_MATH_INLINES): Likewise.
33338         (CNCT): Likewise.
33339         (CONCAT): Likewise.
33340         (WRAPPER_NAME): Likewise.
33341         (WRAPPER_DECL): Likewise.
33342         (WRAPPER_DECL_ff): Likewise.
33343         (WRAPPER_DECL_fFF): Likewise.
33344         (VECTOR_WRAPPER): Likewise.
33345         (VECTOR_WRAPPER_ff): Likewise.
33346         (VECTOR_WRAPPER_fFF): Likewise.
33347         (VEC_LEN): New macro.
33348         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
33349         test-vec-loop.h.
33350         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33351         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33352         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33353         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33354         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33355         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33356         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33358 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33360         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
33361         (__getlogin_r): ... this.
33363 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33365         [BZ #18594]
33366         * math/s_ccosh.c (__ccosh): Compare with least normal value
33367         instead of comparing class with FP_SUBNORMAL.
33368         * math/s_ccoshf.c (__ccoshf): Likewise.
33369         * math/s_ccoshl.c (__ccoshl): Likewise.
33370         * math/s_cexp.c (__cexp): Likewise.
33371         * math/s_cexpf.c (__cexpf): Likewise.
33372         * math/s_cexpl.c (__cexpl): Likewise.
33373         * math/s_csin.c (__csin): Likewise.
33374         * math/s_csinf.c (__csinf): Likewise.
33375         * math/s_csinh.c (__csinh): Likewise.
33376         * math/s_csinhf.c (__csinhf): Likewise.
33377         * math/s_csinhl.c (__csinhl): Likewise.
33378         * math/s_csinl.c (__csinl): Likewise.
33379         * math/s_ctan.c (__ctan): Likewise.
33380         * math/s_ctanf.c (__ctanf): Likewise.
33381         * math/s_ctanh.c (__ctanh): Likewise.
33382         * math/s_ctanhf.c (__ctanhf): Likewise.
33383         * math/s_ctanhl.c (__ctanhl): Likewise.
33384         * math/s_ctanl.c (__ctanl): Likewise.
33385         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33386         csin, csinh, ctan and ctanh.
33387         * math/auto-libm-test-out: Regenerated.
33388         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33389         * sysdeps/i386/fpu/libm-test-ulps: Update.
33390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33392 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33394         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33395         return value is wrong, print the expected value too.
33397 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33399         [BZ #18585]
33400         * elf/readlib.c (is_gdb_python_file): New.
33401         (process_file): Don't issue errors on filenames with -gdb.py
33402         suffix.
33404 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33406         * math/auto-libm-test-in: Add more tests of csin and csinh.
33407         * math/auto-libm-test-out: Regenerated.
33408         * math/libm-test.inc (csin_test_data): Remove tests moved to
33409         auto-libm-test-in.
33410         (csinh_test_data): Likewise.
33412         [BZ #18593]
33413         * math/s_csin.c (__csin): Negate before rather than after possibly
33414         overflowing multiplication.
33415         * math/s_csinf.c (__csinf): Likewise.
33416         * math/s_csinh.c (__csinh): Likewise.
33417         * math/s_csinhf.c (__csinhf): Likewise.
33418         * math/s_csinhl.c (__csinhl): Likewise.
33419         * math/s_csinl.c (__csinl): Likewise.
33420         * math/auto-libm-test-in: Add some tests of csin and csinh.
33421         * math/auto-libm-test-out: Regenerated.
33422         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33423         (csinh_test_data): Likewise.
33424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33426         [BZ #18586]
33427         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33428         underflow exception for small results.
33430 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33432         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33433         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33434         variable and included header.
33435         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33436         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33437         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33438         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33439         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33440         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33441         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33443         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33444         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33445         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33446         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33447         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33448         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33449         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33450         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33452 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33454         [BZ #16526]
33455         [BZ #16538]
33456         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33457         (__sin): Force underflow exception for arguments with small
33458         absolute value.
33459         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33460         (__kernel_sinf): Force underflow exception for arguments with
33461         small absolute value.
33462         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33463         (__kernel_sincosl): Force underflow exception for arguments with
33464         small absolute value.
33465         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33466         (__kernel_sinl): Force underflow exception for arguments with
33467         small absolute value.
33468         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33469         (__kernel_sincosl): Force underflow exception for arguments with
33470         small absolute value.
33471         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33472         (__kernel_sinl): Force underflow exception for arguments with
33473         small absolute value.
33474         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33475         (__kernel_sinl): Force underflow exception for arguments with
33476         small absolute value.
33477         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33478         (__kernel_sinf): Force underflow exception for arguments with
33479         small absolute value.
33480         * math/auto-libm-test-in: Add more tests of sin and sincos.
33481         * math/auto-libm-test-out: Regenerated.
33483         [BZ #18245]
33484         [BZ #18583]
33485         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33486         (__kernel_standard_l): Use feholdexcept and fesetenv around
33487         conversion to double instead of special-casing overflow and
33488         underflow.
33489         * math/libm-test.inc (fmod_test_data): Add more tests.
33490         (remainder_test_data): Likewise.
33491         (sqrt_test_data): Likewise.
33493 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33495         [BZ #17403]
33496         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33497         atomic_read_barrier, atomic_write_barrier): Define.
33498         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33499         atomic_read_barrier, atomic_write_barrier): Define.
33501 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33503         * math/Makefile [$(PERL) != no]
33504         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33505         dependency on libm-test.stmp below the inclusion of Rules.
33507 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33509         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33510         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33511         and included header.
33512         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33513         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33514         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33515         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33516         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33517         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33518         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33519         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33520         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33521         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33522         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33523         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33524         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33525         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33526         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33527         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33528         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33529         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33530         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33532 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33534         [BZ #18371]
33535         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33536         intermediate but not final result might underflow.
33537         * math/s_csqrtf.c (__csqrtf): Likewise.
33538         * math/s_csqrtl.c (__csqrtl): Likewise.
33539         * math/auto-libm-test-in: Add more tests of csqrt.
33540         * math/auto-libm-test-out: Regenerated.
33541         * sysdeps/i386/fpu/libm-test-ulps: Update.
33543         [BZ #18219]
33544         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33545         threshold on absolute value of exponent for which scaling is used.
33546         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33547         * math/auto-libm-test-in: Add more tests of exp2.
33548         * math/auto-libm-test-out: Regenerated.
33550 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33552         [BZ #17977]
33553         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33554         when initializing interface list, based on the bug analysis
33555         and the patch proposed by Eric Newton.
33556         * resolv/tst-res_hconf_reorder.c: New test.
33557         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33558         tst-res_hconf_reorder.
33559         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33560         and $(shared-thread-library).
33561         (tst-res_hconf_reorder-ENV): New variable.
33563         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33564         in comment.
33566 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
33568         [BZ #16353]
33569         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33570         (__expm1): Force underflow exception for arguments with small
33571         absolute value.
33572         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33573         (__expm1f): Force underflow exception for arguments with small
33574         absolute value.
33575         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33576         (__expm1): Force underflow exception for arguments with small
33577         absolute value.
33578         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33579         (__expm1f): Force underflow exception for arguments with small
33580         absolute value.
33581         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33582         Check for small arguments before calling __expm1.
33583         * math/auto-libm-test-in: Do not mark underflow exceptions as
33584         possibly missing for bug 16353.
33585         * math/auto-libm-test-out: Regenerated.
33587 2015-06-22  Andreas Schwab  <schwab@suse.de>
33589         [BZ #18513]
33590         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33591         PTR queries.
33593 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
33595         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33597         * string/strcoll_l.c: Remove unused struct element idxnow.
33599 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
33601         [BZ #18569]
33602         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33603         underflow and return argument in case of subnormal argument.
33604         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33605         Likewise.
33606         * math/auto-libm-test-in: Add more tests of expm1.
33607         * math/auto-libm-test-out: Regenerated.
33609         [BZ #16361]
33610         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33611         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33612         tiny results.
33613         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33614         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33615         tiny results.
33616         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
33617         mark underflow exceptions as possibly missing for bug 16361.
33618         * math/auto-libm-test-out: Regenerated.
33620 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
33622         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33623         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33624         Remove variable.
33625         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33626         (test-xfail-XOPEN2K8/utmpx.h/conform).
33628         * conform/conformtest.pl ($xerrors): New variable.
33629         (note_error): New function.
33630         (compiletest): New argument $xfail.  Use not_error.
33631         (runtest): Likewise.
33632         (top level): Handle xfail- lines.  Update calls to compiletest and
33633         runtest.  Handle xfail- and optional- in headers listed with
33634         allow-header.
33635         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33636         (O_EXEC): Likewise.
33637         (O_SEARCH): Likewise.
33638         * conform/data/stropts.h-data (ioctl): Likewise.
33639         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33640         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33641         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33642         (msghdr.msg_controllen): Likewise.
33643         (cmsghdr.cmsg_len): Likewise.
33644         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33645         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33646         variable.
33647         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33648         (test-xfail-XPG4/stropts.h/conform): Likewise.
33649         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33650         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33651         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33652         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33653         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33654         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33655         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33656         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33657         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33658         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33659         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33660         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33661         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33662         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33663         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33664         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33665         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33666         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33667         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33669 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33671         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33672         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33673         definitions for proper unfolding of __MATHDECL_VEC.
33675 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33677         * benchtests/bench-strcoll.c:
33678         Include string.h.
33679         (main): Remove unused variable res.
33681 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33683         * timezone/Makefile (%/UTC %/Universal):
33684         Generate test-result files for UTC and Universal.
33686 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33688         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33690 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
33692         [BZ #16350]
33693         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33694         for arguments with small absolute value.
33695         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33696         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33697         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33698         (__asinh): Force underflow exception for arguments with small
33699         absolute value.
33700         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33701         (__asinhf): Force underflow exception for arguments with small
33702         absolute value.
33703         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33704         (__asinhl): Force underflow exception for arguments with small
33705         absolute value.
33706         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33707         (__asinhl): Force underflow exception for arguments with small
33708         absolute value.
33709         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33710         (__asinhl): Force underflow exception for arguments with small
33711         absolute value.
33712         * math/auto-libm-test-in: Do not mark underflow exceptions as
33713         possibly missing for bug 16350.
33714         * math/auto-libm-test-out: Regenerated.
33716         * include/bits/ipc.h: Remove file.
33717         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33718         variable.
33719         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33720         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33721         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33722         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33723         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33724         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33725         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33726         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33727         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33729         * math/auto-libm-test-in: Remove spurious underflow allowance for
33730         tests of cexp.
33731         * math/auto-libm-test-out: Regenerated.
33733         [BZ #18558]
33734         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33735         unconditional definition.
33736         (MCAST_BLOCK_SOURCE): Likewise.
33737         (MCAST_UNBLOCK_SOURCE): Likewise.
33738         (MCAST_LEAVE_GROUP): Likewise.
33739         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33740         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33741         (MCAST_MSFILTER): Likewise.
33742         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33743         Remove variable.
33744         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33745         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33746         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33747         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33748         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33750 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
33752         * NEWS: Mention addition of x86_64 vector sincosf.
33753         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33754         * math/test-float-vlen4.h: Likewise.
33755         * math/test-float-vlen8.h: Likewise.
33756         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33757         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33758         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33759         * sysdeps/x86_64/fpu/Versions: New versions added.
33760         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33761         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33762         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33763         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33764         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33765         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33766         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33767         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33768         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33769         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33770         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33771         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33772         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33773         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33774         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33775         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33776         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33777         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33778         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33779         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33780         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33781         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33782         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33783         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33785         * NEWS: Mention addition of x86_64 vector sincos.
33786         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33787         * math/math.h (__MATHDECL_VEC): New macro.
33788         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33789         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33790         declaration under condition.
33791         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
33792         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
33793         TEST_VEC_LOOP change.
33794         * math/test-double-vlen4.h: Likewise.
33795         * math/test-double-vlen8.h: Likewise.
33796         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
33797         * math/test-float-vlen4.h: Likewise.
33798         * math/test-float-vlen8.h: Likewise.
33799         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33800         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
33801         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33802         * sysdeps/x86_64/fpu/Versions: New versions added.
33803         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33804         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33805         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33806         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
33807         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
33808         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
33809         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
33810         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
33811         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
33812         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
33813         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
33814         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
33815         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
33816         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
33817         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
33818         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
33819         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
33820         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33821         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33822         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33823         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33824         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33825         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33826         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33828         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33829         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33830         redirections for powf.
33831         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33832         * sysdeps/x86_64/fpu/Versions: New versions added.
33833         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33834         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33835         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33836         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
33837         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
33838         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
33839         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
33840         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
33841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
33842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
33843         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
33844         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
33845         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
33846         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
33847         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
33848         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
33849         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
33850         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33851         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33852         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33853         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33854         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33855         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33856         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33857         * math/test-float-vlen16.h: Fixed 2 argument macro.
33858         * math/test-float-vlen4.h: Likewise.
33859         * math/test-float-vlen8.h: Likewise.
33860         * NEWS: Mention addition of x86_64 vector powf.
33862 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
33864         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33865         and redefine.
33866         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33867         and redefine.
33868         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
33869         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33870         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33872         [BZ #18553]
33873         * resource/getpriority.c (getpriority): Rename to __getpriority
33874         and define as weak alias of __getpriority.
33875         * resource/setpriority.c (setpriority): Rename to __setpriority
33876         and define as weak alias of __setpriority.
33877         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
33878         __getpriority and define as weak alias of __getpriority.
33879         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
33880         __setpriority and define as weak alias of __setpriority.
33881         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
33882         strong name.
33883         (setpriority): Use __setpriority as strong name.
33884         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
33885         __getpriority and define as weak alias of __getpriority.
33886         * include/sys/resource.h (__getpriority): Declare.  Use
33887         libc_hidden_proto.
33888         (__setpriority): Likewise.
33889         (getpriority): Don't use libc_hidden_proto.
33890         (setpriority): Likewise.
33891         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
33892         getpriority.  Call __setpriority instead of setpriority.
33893         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
33894         Remove variable.
33896         [BZ #18547]
33897         * misc/getttyent.c (getttynam): Rename to __getttynam and define
33898         as weak alias of __getttynam.  Use prototype function definition.
33899         Call __setttyent, __getttyent and __endttyent instead of
33900         setttyent, getttyent and endttyent.
33901         (getttyent): Rename to __getttyent and define as weak alias of
33902         __getttyent.  Call __setttyent instead of setttyent.  Call
33903         __fgets_unlocked instead of fgets_unlocked.
33904         (setttyent): Rename to __setttyent and define as weak alias of
33905         __setttyent.
33906         (endttyent): Rename to __endttyent and define as weak alias of
33907         __endttyent.
33908         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
33909         (__setttyent): Likewise.
33910         (__endttyent): Likewise.
33911         (getttyent): Don't use libc_hidden_proto.
33912         (setttyent): Likewise.
33913         (endttyent): Likewise.
33914         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
33915         __endttyent instead of setttyent, getttyent and endttyent.
33916         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
33917         Remove variable.
33919         [BZ #18546]
33920         * socket/recv.c (__recv): Use libc_hidden_def.
33921         * socket/socket.c (__socket): Likewise.
33922         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
33923         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
33924         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
33925         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
33926         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
33927         libc_hidden_def.
33928         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
33929         libc_hidden_weak.
33930         * include/sys/socket.h (__socket): Do not use attribute_hidden.
33931         Use libc_hidden_proto.
33932         (__recv): Likewise.
33933         * socket/Versions (libc): Export __recv and __socket at version
33934         GLIBC_PRIVATE.
33935         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
33936         instead of recv.
33937         (init_mq_netlink): Call __socket instead of socket.
33938         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
33939         Remove variable.
33941         [BZ #18545]
33942         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
33943         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
33944         hidden_weak.
33945         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
33946         define as alias of __mq_timedsend.  Use hidden_weak.
33947         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
33948         __mq_timedsend as strong name.
33949         (mq_timedreceive): Use __mq_timedreceive as strong name.
33950         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
33951         (__mq_timedreceive): Likewise.
33952         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
33953         __mq_timedreceive instead of mq_timedreceive.
33954         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
33955         instead of mq_timedsend.
33956         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
33957         Remove variable.
33959         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
33960         hidden_def and hidden_weak instead of libc_hidden_def and
33961         libc_hidden_weak.
33962         (top level): Refer to hidden_def in comment.
33963         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
33964         macro.  Use it instead of libc_hidden_def.
33965         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
33966         specify __GI_* name explicitly.
33967         (mq_timedreceive): Likewise.
33968         (mq_setattr): Likewise.
33970         [BZ #18544]
33971         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
33972         __pthread_barrier_init and define as weak alias of
33973         __pthread_barrier_init.
33974         * sysdeps/sparc/nptl/pthread_barrier_init.c
33975         (pthread_barrier_init): Likewise.
33976         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
33977         __pthread_barrier_wait and define as weak alias of
33978         __pthread_barrier_wait.
33979         * sysdeps/sparc/nptl/pthread_barrier_wait.c
33980         (pthread_barrier_wait): Likewise.
33981         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
33982         (pthread_barrier_wait): Likewise.
33983         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
33984         (pthread_barrier_wait): Likewise.
33985         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
33986         (pthread_barrier_wait): Likewise.
33987         * nptl/Versions (libpthread): Export __pthread_barrier_init and
33988         __pthread_barrier_wait at version GLIBC_PRIVATE.
33989         * include/pthread.h (__pthread_barrier_init): Declare.
33990         (__pthread_barrier_wait): Likewise.
33991         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
33992         Call __pthread_barrier_wait instead of pthread_barrier_wait.
33993         (helper_thread): Likewise.
33994         (init_mq_netlink): Call __pthread_barrier_init instead of
33995         pthread_barrier_init.
33997         [BZ #18542]
33998         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
33999         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
34000         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
34001         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
34002         vswscanf.
34003         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
34004         Remove variable.
34006         [BZ #18540]
34007         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
34008         strong alias of _IO_fflush.  Use libc_hidden_def.
34009         * libio/iofflush_u.c (fflush_unlocked): Rename to
34010         __fflush_unlocked and define as weak alias of __fflush_unlocked.
34011         Use libc_hidden_weak.
34012         * include/stdio.h (__fflush_unlocked): Declare.  Use
34013         libc_hidden_proto.
34014         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
34015         fflush_unlocked.
34016         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
34017         Remove variable.
34019         [BZ #18539]
34020         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
34021         define as weak alias of __addseverity.
34022         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
34023         Remove variable.
34024         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34025         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34026         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34028         [BZ #18536]
34029         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
34030         (__tfind): Likewise.
34031         (__tdelete): Likewise.
34032         (__twalk): Likewise.
34033         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
34034         __twalk to GLIBC_PRIVATE.
34035         * include/search.h (__tsearch): Use libc_hidden_proto.
34036         (__tfind): Likewise.
34037         (__tdelete): Likewise.
34038         (__twalk): Likewise.
34039         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
34040         Call __tdelete instead of tdelete.
34041         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
34042         tfind.  Call __tsearch instead of tsearch.
34043         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
34044         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
34045         Remove variable.
34046         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34048         [BZ #18534]
34049         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
34050         (dprintf): Define as a weak alias of __dprintf, not a strong
34051         alias.
34052         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
34053         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
34054         dprintf.
34055         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
34056         Remove variable.
34057         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34058         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34060         [BZ #18533]
34061         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
34062         not a strong alias.
34063         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
34064         Remove variable.
34066         [BZ #18532]
34067         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
34068         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
34069         (in6addr_loopback): Rename to __in6addr_loopback and define as
34070         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
34071         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
34072         libc_hidden_proto.
34073         (__in6addr_any): Likewise.
34074         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
34075         in6addr_any.
34076         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
34077         variable.
34078         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34080 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
34082         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34083         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34084         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34085         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34086         redirections for pow.
34087         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34088         * sysdeps/x86_64/fpu/Versions: New versions added.
34089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34091         build of SSE, AVX2 and AVX512 IFUNC versions.
34092         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34093         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34094         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34095         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34096         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34097         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34098         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34099         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34100         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34101         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34102         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34103         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34104         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34105         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34106         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34109         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34110         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34111         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34112         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34113         * NEWS: Mention addition of x86_64 vector pow.
34115         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34116         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34117         redirections for expf.
34118         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34119         * sysdeps/x86_64/fpu/Versions: New versions added.
34120         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34121         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34122         build of SSE, AVX2 and AVX512 IFUNC versions.
34123         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34124         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34125         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34126         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34127         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34128         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34129         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34130         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34131         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34132         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34133         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34134         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34135         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34136         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34137         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34138         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34139         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34140         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34141         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34142         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34143         * NEWS: Mention addition of x86_64 vector expf.
34145         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34146         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34147         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34148         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34149         redirections for exp.
34150         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34151         * sysdeps/x86_64/fpu/Versions: New versions added.
34152         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34153         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34154         build of SSE, AVX2 and AVX512 IFUNC versions.
34155         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
34156         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
34157         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
34158         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
34159         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
34160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
34161         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
34162         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
34163         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
34164         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
34165         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
34166         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
34167         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
34168         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34169         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34170         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34171         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34172         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34173         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34174         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34175         * NEWS: Mention addition of x86_64 vector exp.
34177         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34178         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34179         redirections for logf.
34180         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34181         * sysdeps/x86_64/fpu/Versions: New versions added.
34182         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34183         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34184         build of SSE, AVX2 and AVX512 IFUNC versions.
34185         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
34186         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
34187         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
34188         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
34189         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
34190         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
34191         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
34192         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
34193         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
34194         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
34195         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
34196         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
34197         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
34198         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34199         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34200         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34201         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34202         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34203         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34204         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34205         * NEWS: Mention addition of x86_64 vector logf.
34207         * bits/libm-simd-decl-stubs.h: Added stubs for log.
34208         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
34209         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34210         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34211         redirections for log.
34212         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34213         * sysdeps/x86_64/fpu/Versions: New versions added.
34214         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34215         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34216         build of SSE, AVX2 and AVX512 IFUNC versions.
34217         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
34218         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
34219         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
34220         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
34221         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
34222         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
34223         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
34224         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
34225         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
34226         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
34227         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
34228         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
34229         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
34230         test.
34231         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34232         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34233         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34234         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34235         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34236         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34237         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34238         * NEWS: Mention addition of x86_64 vector log.
34240 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34242         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
34243         cfi_adjust_cfa_offset argument.
34244         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
34245         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
34247         [BZ #18034]
34248         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
34249         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
34250         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
34251         ordering using ldar.
34252         (_dl_tlsdesc_dynamic): Likewise.
34253         (_dl_tlsdesc_return_lazy): Likewise.
34254         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
34255         relaxed atomics instead of volatile and synchronize with release store.
34256         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
34257         volatile.
34258         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34260 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
34262         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34263         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
34264         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34265         * sysdeps/x86_64/fpu/Versions: New versions added.
34266         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34267         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34268         build of SSE, AVX2 and AVX512 IFUNC versions.
34269         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
34270         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
34271         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
34272         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
34273         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
34274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
34275         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
34276         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
34277         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
34278         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
34279         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
34280         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
34281         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
34282         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34283         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34284         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34286         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34287         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34288         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34289         * NEWS: Mention addition of x86_64 vector sinf.
34291 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
34293         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
34294         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
34295         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
34296         Remove variable.
34297         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34298         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34300 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34302         [BZ #18530]
34303         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
34304         strong alias of _IO_fputs.  Use libc_hidden_def.
34305         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
34306         and define as weak alias of __fputs_unlocked.  Use
34307         libc_hidden_weak.
34308         * include/stdio.h (__fputs_unlocked): Declare.  Use
34309         libc_hidden_proto.
34310         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
34311         fputs_unlocked.
34313         [BZ #18529]
34314         * resolv/netdb.h [__USE_POSIX]: Change condition to
34315         [__USE_XOPEN2K].
34316         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
34317         not expect.
34318         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
34319         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
34320         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
34321         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
34322         [XPG4 || UNIX98] (AI_ALL): Likewise.
34323         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
34324         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
34325         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
34326         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
34327         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
34328         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
34329         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
34330         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
34331         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
34332         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
34333         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
34334         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
34335         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
34336         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
34337         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
34338         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34339         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34340         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
34341         [XPG4 || UNIX98] (gai_strerror): Likewise.
34342         [XPG4 || UNIX98] (getaddrinfo): Likewise.
34343         [XPG4 || UNIX98] (getnameinfo): Likewise.
34345         [BZ #18528]
34346         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
34347         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
34348         __USE_XOPEN2K8].
34349         (getgrent): Likewise.
34350         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
34351         expect.
34352         [XPG3 || POSIX2008] (endgrent): Likewise.
34353         [XPG3] (setgrent): Likewise.
34354         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
34355         variable.
34356         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34358         [BZ #18527]
34359         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
34360         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
34361         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
34362         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
34363         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
34364         * include/unistd.h (__getlogin_r): Declare.  Use
34365         libc_hidden_proto.
34366         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
34367         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
34368         variable.
34369         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34370         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34371         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34373 2015-06-12  Martin Sebor  <msebor@redhat.com>
34375         [BZ #18512]
34376         * Makerules (check-install-supported): New target.
34377         (install): Add check-install-supported as a dependency.
34378         * manual/install.texi (Installing the C Library): Document
34379         that overriding prefix and exec_prefix is not supported.
34380         Mention DESTDIR.
34381         * INSTALL: Regenerate from the above.
34383 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34385         [BZ #18519]
34386         * posix/Versions (libc): Export __libc_pread at version
34387         GLIBC_PRIVATE.
34388         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34389         instead of pread.
34390         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34391         variable.
34393         [BZ #18522]
34394         * misc/efgcvt_r.c
34395         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34396         (cvt_symbol): Use weak_alias instead of strong_alias.
34397         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34398         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34399         Remove variable.
34400         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34401         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34403         [BZ #18520]
34404         * inet/herrno.c (h_errno): Rename to __h_errno.
34405         (__libc_h_errno): Define as alias of __h_errno not h_errno.
34406         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34407         to __h_errno instead of h_errno.
34408         * nptl/herrno.c (h_errno): Rename to __h_errno.
34409         (__h_errno_location): Refer to __h_errno not h_errno.
34410         * resolv/Versions (h_errno): Rename to __h_errno.
34411         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34412         Remove variable.
34413         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34415 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
34417         * configure.ac: More strict check for AVX512 assembler support.
34418         * configure: Regenerated.
34420         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34421         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34422         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34423         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34424         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34425         * sysdeps/x86_64/fpu/Versions: New versions added.
34426         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34427         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34428         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34429         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34430         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34431         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34432         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34434         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34435         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34436         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34437         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34438         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34439         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34440         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34441         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34442         test.
34443         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34444         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34445         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34446         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34447         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34448         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34449         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34450         * NEWS: Mention addition of x86_64 vector sin.
34452 2015-06-11  Florian Weimer  <fweimer@redhat.com>
34454         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34455         comment.
34457 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34459         [BZ #18479]
34460         * nptl/pt-interp.c: New file.
34461         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34462         Add pt-interp.
34463         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34464         $(common-objpfx)runtime-linker.h.
34466 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34468         * Makeconfig (+interp): Remove unused variable.
34469         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34470         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34471         $(elf-objpfx)runtime-linker.h.
34472         ($(elf-objpfx)runtime-linker.h): Rename to
34473         $(common-objpfx)runtime-linker.h and move ...
34474         * Makerules [$(build-shared) = yes]: ... here.
34475         * elf/interp.c: Include <runtime-linker.h> instead of
34476         <elf/runtime-linker.h>.
34478 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34480         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34481         (__gettimeofday_syscall): Remove vsyscall fallback.
34482         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34483         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34484         Add syscall fallback function.
34485         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34486         if vDSO is not present.
34487         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34488         fallback function.
34489         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34490         present.
34491         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34492         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34494 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34496         [BZ #18497]
34497         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34498         of wcscmp.
34499         (wcscmp): Define as weak alias of WCSCMP.
34500         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34501         wcscoll.
34502         (USE_HIDDEN_DEF): Define.
34503         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34504         __wcscoll.  Don't use libc_hidden_weak.
34505         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34506         wcscmp.
34507         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34508         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34509         __GI_wcscmp.
34510         (weak_alias): Undefine and redefine.
34511         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34512         __wcscmp and define as weak alias of __wcscmp.
34513         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34514         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34515         (__wcscoll): Likewise.
34516         (wcscmp): Don't use libc_hidden_proto.
34517         (wcscoll): Likewise.
34518         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34519         wcscoll.
34520         * posix/regexec.c (check_node_accept_bytes): Likewise.
34521         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34522         variable.
34523         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34524         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34526         [BZ #18507]
34527         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34528         __fstatvfs and define as weak alias of __fstatvfs.  Use
34529         libc_hidden_weak.
34530         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34531         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34532         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34533         Define as alias of __fstatvfs, not fstatvfs.
34534         (fstatvfs64): Likewise.
34535         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34536         Define as alias of __statvfs, not statvfs.
34537         (statvfs64): Likewise.
34538         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34539         Remove variable.
34541 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34544         (HAVE_GETCPU_VSYSCALL): Define.
34545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34546         (HAVE_GETCPU_VSYSCALL): Likewise.
34547         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34548         * sysdeps/unix/sysv/linux/sched_getcpu.c
34549         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34550         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34551         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34552         prototype.
34553         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34554         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34555         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34557         Define.
34558         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34559         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34560         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34561         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34563 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
34565         * sysdeps/x86_64/fpu/Makefile: New file.
34566         * sysdeps/x86_64/fpu/Versions: New file.
34567         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34568         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34569         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34570         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34571         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34572         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34573         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34574         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34575         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34576         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34577         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34578         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34579         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34580         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34581         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34582         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34583         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34584         * sysdeps/x86_64/configure.ac: Options for libmvec build.
34585         * sysdeps/x86_64/configure: Regenerated.
34586         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34587         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34588         * manual/install.texi (Configuring and compiling): Document
34589         --disable-mathvec.
34590         * INSTALL: Regenerated.
34591         * NEWS: Mention addition of libmvec and x86_64 vector cos.
34593         * math/Makefile: Added rules for vector tests.
34594         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34595         declaration under condition.
34596         * math/test-double-vlen2.h: New file.
34597         * math/test-double-vlen4.h: New file.
34598         * math/test-double-vlen8.h: New file.
34599         * math/test-vec-loop.h: Added initialization macro.
34600         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34602         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34603         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34604         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34605         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34606         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34607         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34608         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34609         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34610         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34612         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34613         * sysdeps/x86_64/fpu/Versions: New versions added.
34614         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34615         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34616         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34617         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34618         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34619         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34620         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34621         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34622         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34623         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34624         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34625         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34626         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34627         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34628         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34629         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34630         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34631         * NEWS: Mention addition of x86_64 vector cosf.
34633         * math/Makefile: Added CFLAGS for new tests.
34634         * math/test-float-vlen16.h: New file.
34635         * math/test-float-vlen4.h: New file.
34636         * math/test-float-vlen8.h: New file.
34637         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34638         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34639         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34640         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34641         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34642         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34643         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34644         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34645         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34646         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34647         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34649 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
34651         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34652         * locale/programs/ld-ctype.c: Likewise.
34654 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
34656         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34657         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34658         bit_ZMM16_31_state): New macro.
34659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34660         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34662 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
34664         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34666 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
34668         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34670 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
34672         [BZ #18498]
34673         * libio/memstream.c (open_memstream): Rename to __open_memstream
34674         and define as weak alias of __open_memstream.
34675         * include/stdio.h (__open_memstream): Declare.  Use
34676         libc_hidden_proto.
34677         (open_memstream): Don't use libc_hidden_proto.
34678         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34679         open_memstream.
34680         * posix/getopt.c (_getopt_internal_r): Likewise.
34681         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34682         variable.
34683         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34684         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34685         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34687         [BZ #18496]
34688         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34689         instead of wcrtomb.
34691         [BZ #18483]
34692         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34693         [__USE_XOPEN2K8].  Remove redundant #endif.
34694         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34695         Remove redundant #if.
34696         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34697         Remove variable.
34698         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34699         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34701         [BZ #18495]
34702         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34703         (__iswlower): Likewise.
34704         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
34705         (__iswlower): Likewise.
34706         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34707         instead of towlower.
34708         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34709         instead of iswlower.  Call __towupper instead of towupper.
34710         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34711         instead of iswalnum.
34713 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34715         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34716         errors to stderr.
34718 2015-06-05  Florian Weimer  <fweimer@redhat.com>
34720         [BZ #15661]
34721         [BZ #17322]
34722         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34723         Check for overflow properly.  Check for O_APPEND.  Ignore large
34724         file system block sizes.  Add comments about problems.
34725         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34726         * manual/filesys.texi (Storage Allocation): New node.
34728 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34730         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34731         cancellable syscalls.
34732         (SYS_ify): Add guard to no redefine it.
34733         (INLINE_SYSCALL): Likewise.
34734         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34735         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34736         SYSCALL_CANCEL instead.
34737         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34738         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34739         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34740         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34741         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34742         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34743         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34744         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34745         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34746         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34747         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34748         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34749         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34750         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34751         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34752         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34753         Likewise.
34754         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34755         (__libc_pread64): Likewise.
34756         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34757         (__libc_preadv): Likewise.
34758         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34759         (__libc_readv64): Likewise.
34760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34761         (__libc_pwrite): Likewise.
34762         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34763         (__libc_pwrite64): Likewise.
34764         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34765         (__libc_pwritev): Likewise.
34766         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34767         (__libc_pwritev64): Likewise.
34768         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34769         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34770         (sync_file_range): Likewise.
34771         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34772         Likewise.
34773         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34774         Likewise.
34775         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34776         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34777         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34778         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34779         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34780         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34781         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34782         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34784         Likewise.
34785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34786         (__libc_read64): Likewise.
34787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34788         Likewise.
34789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34790         Likewise.
34791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
34792         Likewise.
34793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
34794         Likewise.
34795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34796         (__libc_pread64): Likewise.
34797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
34798         Likewise.
34799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34800         (__libc_pwrite64): Likewise.
34801         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
34802         (sync_file_range): Likewise.
34803         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
34804         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34805         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34806         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
34807         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
34808         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34809         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34810         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
34811         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
34812         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34813         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34814         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34815         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34816         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34817         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
34818         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34819         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34820         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34821         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34822         Likewise.
34823         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
34824         Likewise.
34825         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
34826         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
34827         Likewise.
34828         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
34829         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
34830         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
34831         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
34832         Likewise.
34833         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
34834         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
34835         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
34836         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
34837         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
34839 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
34841         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
34842         Include dl-vdso.
34843         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
34844         Use VDSO routines for gettimeofday, clock_gettime if
34845         available.
34846         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
34847         Declare VDSO symbols.
34848         * sysdeps/unix/sysv/linux/arm/sysdep.h:
34849         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
34850         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34851         * sysdeps/unix/sysv/linux/arm/Versions: Add
34852         __vdso_clock_gettime.
34854 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34856         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
34857         be an inline implementation regardless of library is built within.
34858         (open_not_cancel_2): Likewise.
34859         (__read_nocancel): Likewise.
34860         (__write_nocancel): Likewise.
34861         (openat_not_cancel): Likewise.
34862         (openat_not_cancel_3): Likewise.
34863         (openat64_not_cancel): Likewise.
34864         (openat64_not_cancel_3): Likewise.
34865         (__close_nocancel): Likewise.
34866         (pause_not_cancel): Likewise.
34867         (nanosleep_not_cancel): Likewise.
34868         (sigsuspend_not_cancel): Likewise.
34870 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34872         [BZ #14958]
34873         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
34874         wake-up.
34875         (__pthread_rwlock_rdlock_slow): Likewise.
34876         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34877         Likewise.
34878         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34879         Likewise.
34880         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
34881         * nptl/tst-rwlock16.c: New file.
34882         * nptl/Makefile (tests): Add new test.
34884 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34886         [BZ #18324]
34887         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
34888         missing wake-up of readers.
34889         * nptl/tst-rwlock15.c: New file.
34890         * nptl/Makefile (tests): Add new test.
34892 2015-06-03  Roland McGrath  <roland@hack.frob.com>
34894         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
34895         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
34896         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
34897         and __nacl_supply_interface_rtld.
34898         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
34899         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
34900         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
34901         Add __nacl_supply_interface_rtld.
34902         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
34904 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34906         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
34907         isfinite.
34908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34909         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
34911 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34913         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
34914         __signbit* with standard C99 macros.
34915         * math/e_exp10l.c: Likewise.
34916         * math/e_exp2l.c: Likewise.
34917         * math/e_scalb.c: Likewise.
34918         * math/e_scalbf.c: Likewise.
34919         * math/e_scalbl.c: Likewise.
34920         * math/s_ldexp.c: Likewise.
34921         * math/s_ldexpf.c: Likewise.
34922         * math/s_ldexpl.c: Likewise.
34923         * math/w_atan2.c: Likewise.
34924         * math/w_atan2f.c: Likewise.
34925         * math/w_atan2l.c: Likewise.
34926         * math/w_cosh.c: Likewise.
34927         * math/w_coshf.c: Likewise.
34928         * math/w_coshl.c: Likewise.
34929         * math/w_exp10.c: Likewise.
34930         * math/w_exp10f.c: Likewise.
34931         * math/w_exp10l.c: Likewise.
34932         * math/w_exp2.c: Likewise.
34933         * math/w_exp2f.c: Likewise.
34934         * math/w_exp2l.c: Likewise.
34935         * math/w_fmod.c: Likewise.
34936         * math/w_fmodf.c: Likewise.
34937         * math/w_fmodl.c: Likewise.
34938         * math/w_hypot.c: Likewise.
34939         * math/w_hypotf.c: Likewise.
34940         * math/w_hypotl.c: Likewise.
34941         * math/w_jnl.c: Likewise.
34942         * math/w_lgamma.c: Likewise.
34943         * math/w_lgamma_r.c: Likewise.
34944         * math/w_lgammaf.c: Likewise.
34945         * math/w_lgammaf_r.c: Likewise.
34946         * math/w_lgammal.c: Likewise.
34947         * math/w_lgammal_r.c: Likewise.
34948         * math/w_pow.c: Likewise.
34949         * math/w_powf.c: Likewise.
34950         * math/w_powl.c: Likewise.
34951         * math/w_remainder.c: Likewise.
34952         * math/w_remainderf.c: Likewise.
34953         * math/w_remainderl.c: Likewise.
34954         * math/w_scalb.c: Likewise.
34955         * math/w_scalbf.c: Likewise.
34956         * math/w_scalbl.c: Likewise.
34957         * math/w_scalbln.c: Likewise.
34958         * math/w_scalblnf.c: Likewise.
34959         * math/w_scalblnl.c: Likewise.
34960         * math/w_sinh.c: Likewise.
34961         * math/w_sinhf.c: Likewise.
34962         * math/w_sinhl.c: Likewise.
34963         * math/w_tgamma.c: Likewise.
34964         * math/w_tgammaf.c: Likewise.
34965         * math/w_tgammal.c: Likewise.
34966         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34967         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
34968         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34969         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34970         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34971         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34972         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34973         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34974         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34975         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34976         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34977         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34978         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34979         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34980         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34981         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34982         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34983         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34984         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34985         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34986         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34987         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34988         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34989         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34990         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34991         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34992         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
34993         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34994         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34995         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34996         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
34997         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
34998         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
34999         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
35000         * stdio-common/printf_fp.c: Likewise.
35001         * stdio-common/printf_fphex.c: Likewise.
35002         * stdio-common/printf_size.c: Likewise.
35004 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
35006         [BZ #18470]
35007         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
35008         strnlen.
35009         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
35010         Remove variable.
35011         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35012         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35013         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35014         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35015         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35016         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35017         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35018         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35019         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35020         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35022         [BZ #18468]
35023         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
35024         weak alias of __wmemchr.  Use libc_hidden_weak.
35025         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
35026         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
35027         instead of wmemchr.
35029 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35031         [BZ #18383]
35032         * elf/tst-tlsalign-extern.c: New file.
35033         * elf/tst-tlsalign-extern-static.c: New file.
35034         * elf/tst-tlsalign-vars.c: New file.
35035         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
35036         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
35037         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
35038         ($(objpfx)tst-tlsalign-extern-static): Likewise.
35039         (test-xfail-tst-tlsalign-extern-static): New variable.
35041 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
35043         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
35044         Use variable name _sc_err instead of err.
35045         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
35046         instead of ret.
35047         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
35048         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
35049         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35050         (INLINE_SYSCALL): Likewise.
35052         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
35053         * include/string.h (__strnlen): Use libc_hidden_proto.
35054         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
35055         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
35056         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
35057         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
35058         (libc_hidden_def): Undefine and redefine.
35059         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
35060         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
35061         __GI_strnlen.
35062         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
35063         libc_hidden_def.
35064         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
35066         [BZ #18469]
35067         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
35068         weak alias of __towlower.  Use libc_hidden_weak.
35069         (towupper): Rename to __towupper and define as weak alias of
35070         __towupper.  Use libc_hidden_weak.
35071         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
35072         (__towupper): Likewise.
35073         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
35074         __towlower instead of towlower.
35076 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35078         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35079         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35081 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35083         * sysdeps/aarch64/libm-test-ulps: Update.
35085 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35087         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35088         Define.
35089         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35091         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35092         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35093         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35094         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35095         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35097 2015-06-01  Martin Sebor  <msebor@redhat.com>
35099         [BZ #18116]
35100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35101         (__setcontext): Use extended four-operand version of mtsf whenever
35102         possible.
35103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35104         (__novec_swapcontext): Likewise.
35106 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35108         * benchtests/scripts/compare_bench.py: New file.
35109         * benchtests/scripts/import_bench.py (mean): New function.
35110         (split_list): Likewise.
35111         (do_for_all_timings): Likewise.
35112         (compress_timings): Likewise.
35114         * benchtests/scripts/import_bench.py: New file.
35115         * benchtests/scripts/validate_benchout.py: Import import_bench
35116         instead of jsonschema.
35117         (validate_bench): Remove function.
35118         (main): Use import_bench.
35120 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
35122         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35123         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35125 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35129 2015-05-28  Roland McGrath  <roland@hack.frob.com>
35131         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35132         set THREAD_SELF->tid to a magic value and futex-wake it.
35133         Pass its address to the thread_exit system call.
35134         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35135         bit is clear.
35136         * sysdeps/nacl/lowlevellock.h: New file.
35137         * sysdeps/nacl/lll_timedwait_tid.c: New file.
35139         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35140         Add TIMEOUT to current time, don't subtract it.
35142 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
35144         [BZ #2981]
35145         [BZ #18422]
35146         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35147         ($(objpfx)tst-audit2.out): Also depend on
35148         $(objpfx)tst-auditmod9b.so.
35149         * elf/tst-audit2.c: Include <dlfcn.h>.
35150         (calloc_called): New.
35151         (calloc): Allow to be called more than once.
35152         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
35154 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
35156         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
35157         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
35159 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
35161         * stdlib/monetary.h: Fix comment.
35163 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
35165         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
35166         Avoid using variables in #defines that might cause shadowing.
35167         (INTERNAL_VSYSCALL_CALL): Likewise.
35169 2015-05-26  Roland McGrath  <roland@hack.frob.com>
35171         * sysdeps/nacl/lll_timedlock_wait.c: New file.
35173         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
35174         * nptl/lll_timedlock_wait.c: ... to this new file.
35175         * nptl/Makefile (libpthread-routines): Add it.
35176         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
35177         * nptl/lll_timedwait_tid.c: ... to this new file.
35178         * nptl/Makefile (libpthread-routines): Add it.
35179         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
35180         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
35181         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
35182         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
35183         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
35184         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
35185         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
35186         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
35187         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
35188         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
35190 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35192         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
35193         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35194         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
35196         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
35197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35198         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35200         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35201         * sysdeps/unix/sysv/linux/tile/sysdep.h
35202         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35203         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
35204         using vDSO syscall macro.
35206 2015-05-26  Andriy Rysin  <arysin@gmail.com>
35208         [BZ #17293]
35209         * uk_UA: Fix sorting order for Ukrainian locale
35211 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
35213         * stdlib/monetary.h: Fix comment.
35215 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35217         [BZ #18234]
35218         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
35219         st_mtim and st_ctim members.
35220         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
35221         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
35222         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
35223         (struct stat64): Likewise.
35224         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
35225         (struct stat64): Likewise.
35226         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
35227         (struct stat64): Likewise.
35229 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35231         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
35232         Define and include sysdep-vdso.h.
35233         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
35234         Likewise.
35235         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
35236         Likewise.
35237         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
35238         Define with VDSO_SYMBOL and use PTR_MANGLE.
35239         (__vdso_clock_gettime): Likewise.
35240         (__vdso_clock_getres): Likewise.
35241         (_libc_vdso_platform_setup): Likewise.
35242         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35243         Likewise.
35244         (_libc_vdso_platform_setup): Likewise.
35245         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
35246         Likewise.
35247         (__vdso_clock_gettime): Likewise.
35248         (__vdso_clock_getres): Likewise.
35249         (__vdso_get_tbfreq): Likewise.
35250         (__vdso_getcpu): Likewise.
35251         (__vdso_time): Likewise.
35252         (__vdso_sigtramp_rt64): Likewise.
35253         (__vdso_signtramp32): Likewise.
35254         (__vdso_sigtramp_rt32): Likewise.
35255         (_libc_vdso_platform_setup): Likewise.
35256         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
35257         Likewise.
35258         (__vdso_clock_gettime): Likewise.
35259         (__vdso_clock_getres): Likewise.
35260         (_libc_vdso_platform_setup): Likewise.
35261         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
35262         Likewise.
35263         (__vdso_clock_gettime): Likewise.
35264         (_libc_vdso_platform_setup): Likewise.
35265         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35266         Likewise.
35267         (__vdso_getcpu): Likewise.
35268         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
35269         Use VDSO_SYMBOL macro to define.
35270         (__vdso_clock_gettime): Likewise.
35271         (__vdso_clock_getres): Likewise.
35272         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
35273         Likewise.
35274         (__vdso_clock_gettime): Likewise.
35275         (__vdso_clock_getres): Likewise.
35276         (__vdso_get_tbfreq): Likewise.
35277         (__vdso_getcpu): Likewise.
35278         (__vdso_time): Likewise.
35279         (__vdso_sigtramp_rt64): Likewise.
35280         (__vdso_signtramp32): Likewise.
35281         (__vdso_sigtramp_rt32): Likewise.
35282         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
35283         Likewise.
35284         (__vdso_clock_gettime): Likewise.
35285         (__vdso_clock_getres): Likewise.
35286         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
35287         Likewise.
35288         (__vdso_clock_gettime): Likewise.
35289         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35290         Likewise.
35291         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
35292         macro.
35293         (INTERNAL_VSYSCALL): Likewise.
35294         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
35295         Remove macro.
35296         (INTERNAL_VSYSCALL): Likewise.
35297         (INTERNAL_VSYSCALL_NCS): Likewise.
35298         (INTERNAL_VSYSCALL_CALL): New macro.
35299         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
35301         Likewise.
35302         (INTERNAL_VSYSCALL): Likewise.
35303         (INTERNAL_VSYSCALL_NCS): Likewise.
35304         (INTERNAL_VSYSCALL_CALL): New macro.
35305         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35307         (INLINE_VSYSCALL): Remove macro.
35308         (INTERNAL_VSYSCALL): Remove macro.
35309         (INTERNAL_VSYSCALL_NCS): Remove macro.
35310         (INTERNAL_VSYSCALL_CALL): New macro.
35311         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
35312         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
35313         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35314         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
35315         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35317         (INLINE_VSYSCALL): Remove macro.
35318         (INTERNAL_VSYSCALL): Likewise.
35319         (INTERNAL_VSYSCALL_NCS): Likewise.
35320         (INTERNAL_VSYSCALL_CALL): New macro.
35321         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
35322         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
35323         PTR_DEMANGLE on vDSO pointer.
35324         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35325         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
35326         macro.
35327         (INTERNAL_SYSCALL): Likewise.
35328         (INTERNAL_VSYSCALL_NCS): Remove macro.
35329         (INTERNAL_VSYSCALL_CALL): New macro.
35330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
35331         Remove macro.
35332         (INTERNAL_VSYSCALL): Likewise.
35333         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
35334         sysdep-vdso.h instead of libc-vdso.h.
35335         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
35336         definition.
35337         (INLINE_VSYSCALL): Likewise.
35338         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
35339         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
35340         definition.
35341         (INLINE_VSYSCALL): Likewise.
35342         (INTERNAL_VSYSCALL): Likewise.
35343         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35344         * sysdeps/unix/sysv/linux/timespec_get.c
35345         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35346         (timespec_get): Use ANSI prototype.
35347         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
35348         and definition for Linux.
35350 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
35352         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
35353         * include/libc-symbols.h: libmvec_hidden_* macro series added.
35355 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35357         [BZ #2981]
35358         [BZ #18410]
35359         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
35360         for missing DT_PLTRELSZ.
35362 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35364         Remove obsolete aliases that broke 'locale -a'
35365         [BZ #18412]
35366         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
35367         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
35368         breaking some applications that use 'locale -a' output.
35369         Change the encoding of this file from Latin-1 to ASCII to avoid
35370         other potential problems with people grepping this file.
35372 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35374         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35375         -fasynchronous-unwind-tables.
35376         (CFLAGS-sendto.c): Likewise.
35377         (CFLAGS-sendmsg.c): Likewise.
35378         (CFLAGS-connect.c): Likewise.
35379         (CFLAGS-recvmsg.c): Likewise.
35380         (CFLAGS-recvfrom.c): Likewise.
35381         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35382         (SOCKETCALL): New macro: non-cancellable socketcall.
35383         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35384         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35385         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35386         * sysdeps/unix/sysv/linux/accept.c: New file.
35387         * sysdeps/unix/sysv/linux/bind.c: Likewise.
35388         * sysdeps/unix/sysv/linux/connect.c: Likewise.
35389         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35390         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35391         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35392         * sysdeps/unix/sysv/linux/listen.c: Likewise.
35393         * sysdeps/unix/sysv/linux/recv.c: Likewise.
35394         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35395         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35396         * sysdeps/unix/sysv/linux/send.c: Likewise.
35397         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35398         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35399         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35400         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35401         * sysdeps/unix/sysv/linux/socket.c: Likewise.
35402         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35403         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35404         prototype.
35405         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35406         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35407         instead of __internal_xxx function.
35408         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35409         prototype.
35410         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35411         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35412         instead of __internal_xxx function.
35413         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35414         prototype.
35415         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35416         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35417         instead of __internal_xxx function.
35418         * sysdeps/unix/sysv/linux/accept.S: Remove file.
35419         * sysdeps/unix/sysv/linux/bind.S: Likewise.
35420         * sysdeps/unix/sysv/linux/connect.S: Likewise.
35421         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35422         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35423         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35424         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35425         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35426         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35427         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35428         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35429         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35430         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35431         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35432         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35433         * sysdeps/unix/sysv/linux/listen.S: Likewise.
35434         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35435         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35436         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35437         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35440         * sysdeps/unix/sysv/linux/recv.S: Likewise.
35441         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35442         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35443         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35444         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35445         * sysdeps/unix/sysv/linux/send.S: Likewise.
35446         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35447         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35448         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35449         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35450         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35451         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35452         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35453         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35454         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35455         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35456         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35457         socketcall is implemented in GLIBC.
35459 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35461         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35462         (__fma): Ignore uninitialized warnings around packing.
35463         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35464         (__fmaf): Ignore uninitialized warnings around packing.
35465         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35466         (__fmal): Ignore uninitialized warnings around packing.
35468         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35469         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35470         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35471         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35473         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35474         switch statement into default case.
35475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35477         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35478         a conditional in forcing "inexact".
35479         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35480         Likewise.
35482 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35484         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35485         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35486         for each INTERNAL_SYSCALL use.
35488 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35490         [BZ #438]
35491         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35492         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35493         variable.
35495         [BZ #18444]
35496         * string/basename.c (basename): Rename to __basename and define as
35497         weak alias of __basename.  Use libc_hidden_weak.
35498         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35499         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35500         __basename instead of basename.
35501         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35502         Remove variable.
35503         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35505 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35507         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35508         (_IO_JUMPS_FILE_plus): New.
35509         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35510         _IO_CAST_FIELD_ACCESS.
35511         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35512         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35513         * libio/freopen.c (freopen): Likewise.
35514         * libio/freopen64.c (freopen64): Likewise.
35515         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35516         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35517         * libio/iofwide.c (_IO_fwide): Likewise.
35518         * libio/memstream.c (open_memstream): Likewise.
35519         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35520         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35521         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35523 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35525         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35526         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35527         NADJ.
35528         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35529         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35530         NADJ.
35531         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35532         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35533         NADJ.
35535         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35536         (p == 4) case.
35538         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35539         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35540         Remove variable.
35541         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35542         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35543         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35545 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35547         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35548         Adjust jump table label generation macros.
35550 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35552         * stdio-common/vfprintf.c (vfprintf): Move local variables
35553         args_malloced, specs, specs_malloced, and the code after
35554         do_positional to the printf_positional function.
35555         (printf_positional): New function.
35557 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35559         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35560         function.
35561         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35562         STEP4_TABLE, process_arg): Move macro definitions
35563         out of the vfprintf function.  (Cosmetic change only.)
35565 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
35567         * benchtests/Makefile (stdio-common-bench): Define.
35568         (benchset): Add stdio-common-bench.
35569         * sprintf-inputs: New file.
35570         * sprintf-source.c: New file.
35572 2015-05-21  Andreas Schwab  <schwab@suse.de>
35574         [BZ #13028]
35575         [BZ #17053]
35576         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35577         of struct __res_state.
35578         * resolv/res_send.c (__libc_res_nsend): Likewise.
35579         (get_nsaddr): New function.
35580         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35581         statp directly.
35583 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
35585         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35586         -D_POSIX_C_SOURCE=199506L.
35588         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35590         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35591         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35592         Do not mention otherwise.
35593         [POSIX] (_XOPEN_VERSION): Do not expect.
35594         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35595         [POSIX] (_POSIX2_C_BIND): Likewise.
35596         [POSIX] (_POSIX2_VERSION): Likewise.
35597         [POSIX] (_XOPEN_XPG2): Likewise.
35598         [POSIX] (_XOPEN_XPG3): Likewise.
35599         [POSIX] (_XOPEN_XPG4): Likewise.
35600         [POSIX] (_XOPEN_UNIX): Likewise.
35601         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35602         [POSIX] (_POSIX_BARRIERS): Likewise.
35603         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35604         [POSIX] (_POSIX_CPUTIME): Likewise.
35605         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35606         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35607         [POSIX] (_POSIX_SHELL): Likewise.
35608         [POSIX] (_POSIX_SPAWN): Likewise.
35609         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35610         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35611         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35612         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35613         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35614         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35615         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35616         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35617         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35618         [POSIX] (_POSIX_TIMEOUTS): Likewise.
35619         [POSIX] (_POSIX2_PBS): Likewise.
35620         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35621         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35622         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35623         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35624         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35625         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35626         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35627         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35628         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35629         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35630         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35631         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35632         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35633         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35634         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35635         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35636         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35637         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35638         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35639         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35640         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35641         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35642         [POSIX] (_SC_2_C_BIND): Likewise.
35643         [POSIX] (_SC_2_C_VERSION): Likewise.
35644         [POSIX] (_SC_2_PBS): Likewise.
35645         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35646         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35647         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35648         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35649         [POSIX] (_SC_2_PBS_TRACK): Likewise.
35650         [POSIX] (_SC_ATEXIT_MAX): Likewise.
35651         [POSIX] (_SC_BARRIERS): Likewise.
35652         [POSIX] (_SC_BASE): Likewise.
35653         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35654         [POSIX] (_SC_DEVICE_IO): Likewise.
35655         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35656         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35657         [POSIX] (_SC_FD_MGMT): Likewise.
35658         [POSIX] (_SC_FIFO): Likewise.
35659         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35660         [POSIX] (_SC_FILE_LOCKING): Likewise.
35661         [POSIX] (_SC_FILE_SYSTEM): Likewise.
35662         [POSIX] (_SC_IOV_MAX): Likewise.
35663         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35664         [POSIX] (_SC_NETWORKING): Likewise.
35665         [POSIX] (_SC_PAGE_SIZE): Likewise.
35666         [POSIX] (_SC_PASS_MAX): Likewise.
35667         [POSIX] (_SC_PIPE): Likewise.
35668         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35669         [POSIX] (_SC_REGEXP): Likewise.
35670         [POSIX] (_SC_SHELL): Likewise.
35671         [POSIX] (_SC_SIGNALS): Likewise.
35672         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35673         [POSIX] (_SC_SPIN_LOCKS): Likewise.
35674         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35675         [POSIX] (_SC_USER_GROUPS): Likewise.
35676         [POSIX] (_SC_USER_GROUPS_R): Likewise.
35677         [POSIX] (_SC_STREAMS): Likewise.
35678         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35679         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35680         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35681         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35682         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35683         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35684         [POSIX] (_PC_FILESIZEBITS): Likewise.
35685         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35686         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35687         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35688         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35689         [POSIX] (uid_t): Likewise.
35690         [POSIX] (gid_t): Likewise.
35691         [POSIX] (off_t): Likewise.
35692         [POSIX] (pid_t): Likewise.
35693         [POSIX] (cuserid): Allow.
35694         (_SC_2_CHAR_TERM): Require constant.
35695         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35696         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35697         variable.
35699 2015-05-20  Roland McGrath  <roland@hack.frob.com>
35701         * sysdeps/nacl/pthread-pids.h: New file.
35702         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35703         (create_thread): Use __nacl_get_tid to initialize PD->tid.
35705         * nptl/pthread-pids.h: New file.
35706         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35707         * nptl/nptl-init.c: Include <pthread-pids.h>.
35708         (__pthread_initialize_minimal_internal):
35709         Call __pthread_initialize_pids instead of set_tid_address syscall.
35711         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35712         * sysdeps/posix/usleep.c: ... here.
35714 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35716         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35717         call_pselect6 object.
35718         [$(subdir) = io]: Remove call_sync_file_range object.
35719         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35720         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35721         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35722         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35724 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
35726         * math/s_cproj.c: Add include "math_private.h".
35727         * math/s_cprojf.c: Likewise.
35728         * math/s_cprojl.c: Likewise.
35730 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
35732         [BZ #18244]
35733         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35734         high mantissa bit when testing whether P is a NaN.
35735         * math/libm-test.inc (remainder_test_data): Add more tests.
35736         (remquo_test_data): Likewise.
35738         [BZ #18049]
35739         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35740         below -32, return the argument, with underflow if subnormal.
35741         * math/auto-libm-test-in: Add more tests of atanh.
35742         * math/auto-libm-test-out: Regenerated.
35744 2015-05-19  Roland McGrath  <roland@hack.frob.com>
35746         [BZ #18434]
35747         * nptl/tst-sem15.c: New file.
35748         * nptl/Makefile (tests): Add it.
35749         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35750         s/<</>>/ to fix typo in EOVERFLOW check.
35751         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35753 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35755         * manual/strings.texi (envz_remove): Fix typo in safety
35756         annotations.
35758 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
35759             Steve Ellcey  <sellcey@imgtec.com>
35761         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35762         in order to avoid strict alias warnings.
35763         (iruserok_af): Ditto for ra.
35765 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
35767         [BZ #17581]
35768         * malloc/hooks.c
35769         (magicbyte): Convert to a function and avoid returning 0x01.
35770         (mem2mem_check): Avoid using a length byte equal to the magic byte.
35771         (mem2chunk_check): Fix unsigned comparisons to zero.
35772         Hoist defs of sz and magic.
35774 2015-05-19  Richard Henderson  <rth@redhat.com>
35776         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35778         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35780 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35782         [BZ #16159]
35783         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35784         * malloc/arena.c (arena_lock): Check if arena is corrupt.
35785         (reused_arena): Find a non-corrupt arena.
35786         (heap_trim): Pass arena to unlink.
35787         * malloc/hooks.c (malloc_check_get_size): Pass arena to
35788         malloc_printerr.
35789         (top_check): Likewise.
35790         (free_check): Likewise.
35791         (realloc_check): Likewise.
35792         * malloc/malloc.c (malloc_printerr): Add arena argument.
35793         (unlink): Likewise.
35794         (munmap_chunk): Adjust.
35795         (ARENA_CORRUPTION_BIT): New macro.
35796         (arena_is_corrupt): Likewise.
35797         (set_arena_corrupt): Likewise.
35798         (sysmalloc): Use mmap if there are no usable arenas.
35799         (_int_malloc): Likewise.
35800         (__libc_malloc): Don't fail if arena_get returns NULL.
35801         (_mid_memalign): Likewise.
35802         (__libc_calloc): Likewise.
35803         (__libc_realloc): Adjust for additional argument to
35804         malloc_printerr.
35805         (_int_free): Likewise.
35806         (malloc_consolidate): Likewise.
35807         (_int_realloc): Likewise.
35808         (_int_memalign): Don't touch corrupt arenas.
35809         * malloc/tst-malloc-backtrace.c: New test case.
35811         * Makefile (summarize-tests): Fix return value on success.
35813         * manual/string.texi (Envz Functions): Add envz_remove.
35815 2015-05-18  Roland McGrath  <roland@hack.frob.com>
35817         * sysdeps/posix/opendir.c: Include <stdbool.h>.
35818         (invalid_name): New function, broken out of ...
35819         (__opendirat): ... here.  Call it.
35820         (need_isdir_precheck): New function, broken out of ...
35821         (__opendirat): ... here.  Call it.
35822         Use __fxstatat64, not __xstatat64.
35823         (opendir_oflags): New function, broken out of ...
35824         (__opendirat): ... here.  Call it.
35825         (opendir_tail): New function, broken out of ...
35826         (__opendirat): ... here.  Call it.
35827         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
35828         opendir_tail, rather than punting to __opendirat.
35829         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
35831 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35833         * .gitignore: Ignore generated *.pyc.
35835 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
35837         * include/stdio.h: Define __need_wint_t.
35838         * test-skeleton.c: Avoid `for' loop initial declaration.
35839         * nptl/tst-initializers1.c: Use test-skeleton.c.
35841 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35843         [BZ #18418]
35844         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
35846 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35848         [BZ #16352]
35849         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
35850         (__ieee754_atanh): Force underflow exception for results with
35851         small absolute value.
35852         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
35853         (__ieee754_atanhf): Force underflow exception for results with
35854         small absolute value.
35855         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
35856         (__ieee754_atanh): Force underflow exception for results with
35857         small absolute value.
35858         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
35859         (__ieee754_atanhf): Force underflow exception for results with
35860         small absolute value.
35861         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
35862         (__ieee754_atanhl): Force underflow exception for results with
35863         small absolute value.
35864         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
35865         (__ieee754_atanhl): Force underflow exception for results with
35866         small absolute value.
35867         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
35868         (__ieee754_atanhl): Force underflow exception for results with
35869         small absolute value.
35870         * math/auto-libm-test-in: Do not allow missing underflow
35871         exceptions from atanh.
35872         * math/auto-libm-test-out: Regenerated.
35874         [BZ #18221]
35875         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
35876         2**-28 as threshold for returning x or +/- 1/x.
35877         * math/auto-libm-test-in: Add more tests of tan.
35878         * math/auto-libm-test-out: Regenerated.
35880         [BZ #18220]
35881         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
35882         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
35883         * math/auto-libm-test-in: Add another test of lgamma.
35884         * math/auto-libm-test-out: Regenerated.
35886 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
35888         * stdio-common/printf_fp.c (___printf_fp): Use abs.
35889         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
35890         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
35891         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
35892         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
35893         (ADD2A): Use fabs.  (SUB2A): Use fabs.
35894         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
35895         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
35896         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
35897         (log1): Use fabs.  (my_log2): Use fabs.
35898         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
35899         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
35900         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
35901         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
35902         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
35903         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
35904         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
35905         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
35906         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
35907         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
35908         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
35910 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35912         [BZ #18217]
35913         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
35914         as threshold for returning 1 - x.
35915         * math/auto-libm-test-in: Add more tests of erfc.
35916         * math/auto-libm-test-out: Regenerated.
35918 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
35920         [BZ #18196]
35921         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
35922         threshold for large arguments.
35923         * math/auto-libm-test-in: Add another test of atan.
35924         * math/auto-libm-test-out: Regenerated.
35926         [BZ #16339]
35927         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
35928         (__log1p): Force underflow exception for results with small
35929         absolute value.
35930         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
35931         (__log1pf): Force underflow exception for results with small
35932         absolute value.
35933         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
35934         (__log1p): Force underflow exception for results with small
35935         absolute value.
35936         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
35937         (__log1pf): Force underflow exception for results with small
35938         absolute value.
35939         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
35940         (__log1pl): Force underflow exception for results with small
35941         absolute value.
35942         * math/auto-libm-test-in: Do not allow missing underflow
35943         exceptions from log1p.
35944         * math/auto-libm-test-out: Regenerated.
35946 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
35947             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35949         [BZ #16704]
35950         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
35952 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
35954         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
35955         (libmvec): New variable.
35956         * configure.ac: Added option for mathvec build.
35957         * configure: Regenerated.
35958         * mathvec/Depend: New file.
35959         * mathvec/Makefile: New file.
35960         * shlib-versions: Added libmvec.
35961         * math/Makefile: Added rule for libm.so installation.
35963         * bits/math-vector.h: New file.
35964         * bits/libm-simd-decl-stubs.h: New header.
35965         * math/Makefile (headers): Added new header
35966         libm-simd-decl-stubs.h.
35967         * math/math.h (__MATHCALL_VEC): New macro.
35969         * math/gen-libm-have-vector-test.sh: Script generates series of macros
35970         for conditions in testing functions.
35971         * math/Makefile: Added call of libm-have-vector-test.sh.
35972         * math/libm-test.inc (HAVE_VECTOR): New macros.
35974         * math/libm-test.inc: START refactored.
35975         * math/test-double.c (TEST_MATHVEC): Add define.
35976         * math/test-float.c: Likewise.
35977         * math/test-idouble.c: Likewise.
35978         * math/test-ifloat.c: Likewise.
35979         * math/test-ildoubl.c: Likewise.
35980         * math/test-ldouble.c: Likewise.
35981         * sysdeps/generic/math-tests-arch.h
35982         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
35983         architecture check.
35985         * math/test-double.c (FUNC_TEST): New macro.
35986         * math/test-float.c: Likewise.
35987         * math/test-idouble.c: Likewise.
35988         * math/test-ifloat.c: Likewise.
35989         * math/test-ildoubl.c: Likewise.
35990         * math/test-ldouble.c: Likewise.
35991         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
35993 2015-05-13  Roland McGrath  <roland@hack.frob.com>
35995         * sysdeps/nacl/fdopendir.c: New file.
35997         * dirent/scandir-tail.c: New file.
35998         * dirent/scandir64-tail.c: New file.
35999         * dirent/Makefile (routines): Add them.
36000         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
36001         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
36002         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
36003         [!SCANDIR] (SCANDIR_TAIL): New macro.
36004         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
36005         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
36006         (SCANDIRAT): Macro removed.
36007         (SCANDIR_TAIL): New macro.
36008         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
36009         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
36010         (SCANDIRAT): Just call __opendirat and __scandir_tail.
36011         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
36012         (READDIR): Macro removed.
36013         (SCANDIR_TAIL): New macro.
36014         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
36015         (SCANDIR_TAIL): New macro.
36017         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
36018         * dirent/scandir-cancel.c: ... to this new file.
36019         * dirent/Makefile (routines): Add it.
36020         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
36021         * sysdeps/unix/sysv/linux/i386/scandir64.c
36022         (SKIP_SCANDIR_CANCEL): Macro removed.
36023         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
36025         * dirent/tst-scandir.c: New file.
36026         * dirent/tst-scandir64.c: New file.
36027         * dirent/Makefile (tests): Add them.
36029 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
36031         [BZ #18409]
36032         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
36034 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36036         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
36037         list.
36039 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
36041         * benchtests/bench-strcoll.c: New benchmark.
36042         * benchtests/Makefile: Generate locales and run benchmark.
36043         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
36044         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
36045         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
36046         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
36047         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
36048         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
36049         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
36050         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
36051         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
36052         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
36053         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
36054         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
36055         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
36056         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
36057         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
36058         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
36059         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
36060         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
36061         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
36062         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
36063         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
36064         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
36065         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
36066         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
36068 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
36070         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
36071         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36073 2015-05-12  Roland McGrath  <roland@hack.frob.com>
36075         * posix/uname-values.h: New file.
36076         * posix/uname.c: Include that instead of <config-name.h>.
36077         * sysdeps/nacl/uname-values.h: New file.
36078         * sysdeps/arm/nacl/uname-values.h: New file.
36080 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
36082         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36083         splitting into fields.
36085 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
36087         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36088         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36089         * locale/localeinfo.h: Add enum collation_encoding_type.
36090         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36091         * programs/ld-collate.c (collate_output): Add encoding type info.
36092         * string/strcoll_l.c (STRDIFF): New function.
36093         * (STRCOLL): Use STRDIFF to skip over equal prefix.
36094         * wcsmbs/wcscoll_l.c: Define STRDIFF.
36096 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
36098         [BZ #18397]
36099         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36100         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
36101         <fpu_control.h> instead of <math/fpu_control.c>.
36102         * sysdeps/mips/mips32/fpu/Makefile: New file.
36104 2015-05-11  Andreas Schwab  <schwab@suse.de>
36106         [BZ #18007]
36107         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36108         nss_endgrent.
36109         (_nss_compat_endgrent): Call nss_endgrent.
36110         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36111         nss_endpwent.
36112         (_nss_compat_endpwent): Call nss_endpwent.
36113         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36114         needent, call nss_setspent only if non-zero.
36115         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36116         (internal_endspent): Don't call nss_endspent.
36117         (_nss_compat_endspent): Call nss_endspent.
36118         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36119         Remove.  All uses removed.
36120         (internal_setent): Remove parameter stayopen, add parameter
36121         stream.  Use it instead of global variable.
36122         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36123         (internal_endent, internal_getent): Add parameter stream.  Use it
36124         instead of global variable.
36125         (CONCAT(_nss_files_end,ENTNAME))
36126         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36127         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
36128         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
36129         uses removed.
36130         (internal_setent, internal_endent): Add parameter stream.  Use it
36131         instead of global variable.
36132         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36133         stream.
36134         (get_next_alias): Add parameter stream.
36135         (_nss_files_getaliasent_r): Pass global stream.
36136         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
36137         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36138         (_nss_files_gethostbyname4_r): Pass local stream to
36139         internal_setent, internal_getent and internal_endent.  Remove
36140         locking.
36142 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36144         * tst-strfmon1.c (tests): Update expected currency symbol.
36146 2015-05-08  Roland McGrath  <roland@hack.frob.com>
36148         * sysdeps/nacl/gethostname.c: New file.
36150 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
36152         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
36153         and sinh.
36154         * math/auto-libm-test-out: Regenerated.
36155         * sysdeps/i386/fpu/libm-test-ulps: Update.
36156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36158 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
36160         [BZ #18125]
36161         * stdlib/tst-setcontext3.c: New file.
36162         * stdlib/tst-setcontext3.sh: New file.
36163         * stdlib/Makefile (tests): Add tst-setcontext3.
36164         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
36165         to verify test program created output file.
36166         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
36167         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
36168         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
36169         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
36171 2015-05-06  Roland McGrath  <roland@hack.frob.com>
36173         [BZ #18383]
36174         * elf/tst-tlsalign.c: New file.
36175         * elf/tst-tlsalign-static.c: New file.
36176         * elf/tst-tlsalign-lib.c: New file.
36177         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
36178         (tests-static): Add tst-tlsalign-static.
36179         (modules-names): Add tst-tlsalign-lib.
36180         (test-xfail-tst-tlsalign): New variable.
36181         (test-xfail-tst-tlsalign-static): New variable.
36183         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
36184         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36186 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
36188         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
36189         csqrt, erfc, sin and sincos.
36190         * math/auto-libm-test-out: Regenerated.
36191         * sysdeps/i386/fpu/libm-test-ulps: Update.
36192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36194 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36196         * sysdeps/aarch64/libm-test-ulps: Update.
36198 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
36200         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
36201         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
36202         * math/auto-libm-test-out: Regenerated.
36203         * sysdeps/i386/fpu/libm-test-ulps: Update.
36204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36206 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
36208         [BZ #18265]
36209         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
36210         (wcsncpy): Likewise.
36212 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36214         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36215         Assume __ASSUME_FALLOCATE is always true.
36216         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36217         (__posix_fallocate64_l64): Likewise.
36218         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
36219         (posix_fallocate): Likewise.
36220         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36221         (__posix_fallocate64_l64): Likewise.
36222         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36223         [!__ASSUME_FALLOCATE]: Add comment.
36225 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36227         * sysdeps/unix/sysv/linux/i386/Makefile
36228         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
36229         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
36230         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
36231         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36232         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36233         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
36234         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
36236 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
36238         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
36239         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
36240         tgamma.
36241         * math/auto-libm-test-out: Regenerated.
36242         * sysdeps/i386/fpu/libm-test-ulps: Update.
36243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36245 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36247         * math/auto-libm-test-in: Add more tests of tgamma.
36248         * math/auto-libm-test-out: Regenerated.
36249         * sysdeps/i386/fpu/libm-test-ulps: Update.
36250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36252         * math/auto-libm-test-in: Add more tests of tanh.
36253         * math/auto-libm-test-out: Regenerated.
36254         * sysdeps/i386/fpu/libm-test-ulps: Update.
36255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36257         * math/auto-libm-test-in: Add more tests of tan.
36258         * math/auto-libm-test-out: Regenerated.
36259         * sysdeps/i386/fpu/libm-test-ulps: Update.
36260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36262         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
36263         * math/auto-libm-test-out: Regenerated.
36264         * sysdeps/i386/fpu/libm-test-ulps: Update.
36265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36267         * math/auto-libm-test-in: Add another test of pow.
36268         * math/auto-libm-test-out: Regenerated.
36269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36271         * math/auto-libm-test-in: Add more tests of lgamma.
36272         * math/auto-libm-test-out: Regenerated.
36273         * sysdeps/i386/fpu/libm-test-ulps: Update.
36274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36276         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
36277         log1p.
36278         * math/auto-libm-test-out: Regenerated.
36279         * sysdeps/i386/fpu/libm-test-ulps: Update.
36280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36282 2015-05-01  Mark Wielaard  <mjw@redhat.com>
36284         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
36285         Elf64_Chdr structs and ELFCOMPRESS constants.
36287 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36289         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
36290         expm1.
36291         * math/auto-libm-test-out: Regenerated.
36292         * sysdeps/i386/fpu/libm-test-ulps: Update.
36293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36295         * math/auto-libm-test-in: Add more tests of erf and erfc.
36296         * math/auto-libm-test-out: Regenerated.
36297         * sysdeps/i386/fpu/libm-test-ulps: Update.
36298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36300 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36302         * config.h.in (HAVE_AARCH64_BE): Add.
36304 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
36306         * math/auto-libm-test-in: Add more tests of csqrt.
36307         * math/auto-libm-test-out: Regenerated.
36308         * sysdeps/i386/fpu/libm-test-ulps: Update.
36309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36311         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36312         * math/auto-libm-test-out: Regenerated.
36313         * sysdeps/i386/fpu/libm-test-ulps: Update.
36314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36316         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
36318 2015-04-29  Roland McGrath  <roland@hack.frob.com>
36320         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
36321         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
36323         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
36324         (euidaccess, eaccess): Define as weak aliases.
36326         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
36327         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
36328         but __suseconds_t is often 'long int' so some sources assume that
36329         type is being used (e.g. they use %ld to print tv_usec).
36331 2015-04-29  Florian Weimer  <fweimer@redhat.com>
36333         [BZ #18007]
36334         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
36335         (CVE-2014-8121)
36336         * nss/tst-nss-getpwent.c: New file.
36337         * nss/Makefile (tests): Add new test.
36339 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
36341         [BZ #18346]
36342         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
36343         exponents less than 48 as cases where high part of mantissa needs
36344         examining to determine whether argument is integral.
36345         * math/libm-test.inc (round_test_data): Add more tests.
36347 2015-04-28  Mark Wielaard  <mjw@redhat.com>
36349         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
36351 2015-04-27  David S. Miller  <davem@davemloft.net>
36353         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
36354         __tls_get_addr.
36355         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36357 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
36359         [BZ #18333]
36360         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
36362 2015-04-27  Florian Weimer  <fweimer@redhat.com>
36364         [BZ #18333]
36365         * time/tzset.c (parse_tzname): Return error on memory allocation
36366         failure.
36367         * test-skeleton.c (struct temp_name_list): Change type of name
36368         member to non-const.
36369         (add_temp_file): Create a copy of the file name.
36370         (delete_temp_files): Deallocate memory.
36371         (create_temp_file): Add comment.
36373 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36375         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36376         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36378 2015-04-24  Roland McGrath  <roland@hack.frob.com>
36380         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36381         * sysdeps/arm/configure: Regenerated.
36383 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36385         [BZ #17715]
36386         * time/tzfile.c (__tzfile_read): Check for large values of
36387         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
36388         * time/tzset.c (__tzstring_len): New function, based on the old
36389         __tzstring function.
36390         (__tzstring): Call __tzstring_len.
36391         (parse_tzname): New helper function extracted from
36392         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
36393         the input string.
36394         (parse_offset): New helper function extracted from
36395         __tzset_parse_tz.  Replace switch with fallthrough with
36396         initialization before sscanf.
36397         (parse_rule): Likewise.
36398         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
36399         new-style function definition.
36400         * timezone/Makefile (tests): Add tst-tzset.
36401         (tst-tzset.out): Dependencies on time zone files.
36402         (tst-tzset-ENV): Set TZDIR.
36403         (testdata/XT%): Copy crafted time zone files.
36404         * timezone/README: Mention crafted time zone files.
36405         * timezone/testdata/XT1, timezone/testdata/XT2,
36406         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36407         files.
36408         * timezone/tst-tzset.c: New test.
36410 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36412         * Makeconfig (+gccwarn): Remove -Winline.
36414 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36416         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36418 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36420         * NEWS: Mention sysconf() cache information support for s390.
36421         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36423 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
36425         * math/k_casinh.c (__kernel_casinh): Use __copysign.
36426         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36427         (__nearbyint): Likewise.
36428         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36429         (copysignl): Likewise.
36431 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
36433         [BZ #18287]
36434         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36435         based on padding.  (CVE-2015-1781)
36437 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36439         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36440         libc-vdso.h.
36441         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36442         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36443         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36444         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36445         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36446         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36447         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36448         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36449         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36450         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36451         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36452         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36453         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36454         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36455         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36456         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36457         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36458         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36459         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36460         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36461         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36462         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36463         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36465 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36467         * stdlib/setenv.c (__add_to_environ):
36468         Dump core quickly if setenv (..., NULL, ...) is called.
36469         This time, do it the right way, and pacify GCC with a pragma.
36471 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36473         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36474         IMAP->l_prev cannot be null, and #if out the code for the contrary
36475         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36476         believe that NS (&_dl_ns[NSID]) could point outside the array.
36478         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36479         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36480         before using NSID as an index.
36482 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36484         [BZ #17825]
36485         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36486         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36487         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36489 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36491         Add preliminary port to Google Native Client on ARM.
36492         * abi-tags (.*-.*-nacl.*): New entry.
36493         * sysdeps/arm/nacl: New directory.
36494         * sysdeps/nacl: New directory.
36496 2015-04-16  David S. Miller  <davem@davemloft.net>
36498         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36499         lowlevellock-futex.h
36501 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36503         * sysdeps/tile/configure.ac: New file.
36504         * sysdeps/tile/configure: Regenerated.
36506 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36508         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36509         conditionals for weak_alias and libc_hidden_weak.
36510         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36511         libc_hidden_weak and weak_alias.
36512         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36513         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36514         and weak_alias for static one.
36516 2015-04-15  David S. Miller  <davem@davemloft.net>
36518         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36520 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36522         [BZ #18206]
36523         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36524           Use signed comparision instead of substraction to avoid
36525           overflow bug.
36526         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36527           Take the sign of ret.
36528         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36529           Do not expect precise return values. Only the sign matters.
36530         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36531         * wcsmbs/test-wcsncmp.c: New File.
36532         * string/test-strncmp.c: Add wcsncmp support.
36534 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36536         [BZ #6792]
36537         * math/w_log1p.c: New file.
36538         * math/w_log1pf.c: Likewise.
36539         * math/w_log1pl.c: Likewise.
36540         * math/Makefile (libm-calls): Add w_log1p.
36541         * math/s_log1pl.c (log1pl): Remove weak_alias.
36542         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36543         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36544         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36545         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36546         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36547         [NO_LONG_DOUBLE] (log1pl): Likewise.
36548         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36549         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36550         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36551         (log1p): Remove long_double_symbol.
36552         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36553         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36554         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36555         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36556         remove weak_alias for corresponding log1p function.
36557         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36558         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36559         * sysdeps/ia64/fpu/w_log1p.c: New file.
36560         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36561         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36562         * math/libm-test.inc (log1p_test_data): Add errno expectations.
36564 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
36566         [BZ #18247]
36567         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36568         decimal exponent by 1.
36569         * stdlib/tst-strtod-round-data: Add more tests.
36570         * stdlib/tst-strtod-round.c (tests): Regenerated.
36572 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
36574         * math/auto-libm-test-in: Add more tests of clog and clog10.
36575         * math/auto-libm-test-out: Regenerated.
36576         * sysdeps/i386/fpu/libm-test-ulps: Update.
36577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36579 2015-04-09  Roland McGrath  <roland@hack.frob.com>
36581         * Makeconfig (module-cppflags): Exclude all .v.i files.
36582         (skip-module-cppflags): Variable removed.
36584         * configure.ac (libc_config_ok): Initialize before reading
36585         preconfigure scripts, not after.
36586         * configure: Regenerated.
36588         * test-skeleton.c (TIMEOUT): Move #define to top level.
36589         (main): Grok environment variable TEST_DIRECT.  If set, print
36590         test expectation details into that file and then behave as if
36591         given --direct.
36593 2015-04-09  Florian Weimer  <fweimer@redhat.com>
36595         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36596         warning on 32-bit.
36598 2015-04-08  David S. Miller  <davem@davemloft.net>
36600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36602 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36604         * math/auto-libm-test-in: Add more tests of atanh.
36605         * math/auto-libm-test-out: Regenerated.
36606         * sysdeps/i386/fpu/libm-test-ulps: Update.
36607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36609         * math/auto-libm-test-in: Add more tests of atan.
36610         * math/auto-libm-test-out: Regenerated.
36611         * sysdeps/i386/fpu/libm-test-ulps: Update.
36612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36614 2015-04-08  Florian Weimer  <fweimer@redhat.com>
36616         * elf/pldd.c (main): Rewrite to use struct
36617         scratch_buffer instead of extend_alloca.
36618         * elf/pldd-xx.c (find_maps): Likewise.
36619         * grp/initgroups.c: Include <scratch_buffer.h> instead of
36620         <alloca.h>.
36621         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36622         scratch_buffer instead of extend_alloca.
36623         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36624         grp/compat-initgroups.c.
36625         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36626         Rewrite to use struct scratch_buffer instead of extend_alloca.
36627         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36628         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36630 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36632         * math/auto-libm-test-in: Add more tests of cbrt.
36633         * math/auto-libm-test-out: Regenerated.
36634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36636         * math/auto-libm-test-in: Add more tests of cabs.
36637         * math/auto-libm-test-out: Regenerated.
36638         * sysdeps/i386/fpu/libm-test-ulps: Update.
36639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36641         [BZ #18210]
36642         [BZ #18211]
36643         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36644         (__ieee754_atan2): Set FE_TONEAREST mode for internal
36645         computations.
36646         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36647         clog10.
36648         * math/auto-libm-test-out: Regenerated.
36649         * sysdeps/i386/fpu/libm-test-ulps: Update.
36650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36652         [BZ #18197]
36653         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36654         (atan): Set FE_TONEAREST mode for internal computations.
36655         * math/auto-libm-test-in: Add more tests of atan.
36656         * math/auto-libm-test-out: Regenerated.
36658 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
36660         [BZ #17930]
36661         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36663 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36665         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36667 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36669         * include/scratch_buffer.h: New file.
36670         * malloc/scratch_buffer_grow.c: Likewise.
36671         * malloc/scratch_buffer_grow_preserve.c: Likewise.
36672         * malloc/scratch_buffer_set_array_size.c: Likewise.
36673         * malloc/tst-scratch_buffer.c: Likewise.
36674         * malloc/Makefile (routines): Add scratch_buffer_grow.
36675         (tests): Add test case.
36676         * malloc/Versions (GLIBC_PRIVATE): Export
36677         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36678         __libc_scratch_buffer_set_array_size.
36680 2015-04-06  Richard Henderson  <rth@redhat.com>
36682         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36683         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36685         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36686         unsigned int before printing.
36688 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36690         [BZ #17596]
36691         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36692         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36694 2015-04-02  Florian Weimer  <fweimer@redhat.com>
36696         * include/libc-internal.h (libc_max_align_t): Define.
36698 2015-04-02  Andreas Schwab  <schwab@suse.de>
36700         [BZ #16850]
36701         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36703 2015-04-02  Mel Gorman  <mgorman@suse.de>
36705         [BZ #17195]
36706         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36707         as well as the main arena.
36709 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36711         [BZ #18185]
36712         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36713         sharing L2 cache to 2 for Silvermont/Knights Landing.
36715 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36717         [BZ #17711]
36718         * config.make.in (have-protected-data): New.
36719         * configure.ac: Check linker support for protected data symbol.
36720         * configure: Regenerated.
36721         * elf/Makefile (modules-names): Add tst-protected1moda and
36722         tst-protected1modb if $(have-protected-data) is yes.
36723         (tests): Add tst-protected1a and tst-protected1b if
36724         $(have-protected-data) is yes.
36725         ($(objpfx)tst-protected1a): New.
36726         ($(objpfx)tst-protected1b): Likewise.
36727         (tst-protected1modb.so-no-z-defs): Likewise.
36728         * elf/tst-protected1a.c: New file.
36729         * elf/tst-protected1b.c: Likewise.
36730         * elf/tst-protected1mod.h: Likewise.
36731         * elf/tst-protected1moda.c: Likewise.
36732         * elf/tst-protected1modb.c: Likewise.
36734 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36736         [BZ #17711]
36737         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36738         indicates it is called from do_lookup_x on relocation against
36739         protected data, skip the data definion in the executable from
36740         copy reloc.
36741         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36742         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36743         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36744         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36745         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36746         otherwise to 0.
36747         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36748         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36749         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36750         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36751         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36752         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36754 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
36756         * sysdeps/nptl/pthread.h: Remove duplicate definition of
36757         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36759 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
36761         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36762         THREAD_SETMEM_NC.
36763         * sysdeps/x86_64/nptl/tls.h: Ditto.
36765 2015-03-27  Roland McGrath  <roland@hack.frob.com>
36767         * dlfcn/tststatic.c (main): Converted to ...
36768         (do_test): ... this.
36769         (TEST_FUNCTION): New macro.
36770         Include test-skeleton.c.
36772 2015-03-26  Alan Modra  <amodra@gmail.com>
36774         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36775         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
36776         zero for undefined weak.
36777         (elf_machine_plt_conflict): Similarly.
36779 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36781         * math/auto-libm-test-in: Add more tests of acosh, asinh and
36782         atanh.
36783         * math/auto-libm-test-out: Regenerated.
36784         * sysdeps/i386/fpu/libm-test-ulps: Update.
36785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36787         * math/auto-libm-test-in: Add another test of asin.
36788         * math/auto-libm-test-out: Regenerated.
36789         * sysdeps/i386/fpu/libm-test-ulps: Update.
36790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36792         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
36793         Remove macro.
36794         (LLL_EBX_REG): Likewise.
36795         (LLL_ENTER_KERNEL): Likewise.
36797         * math/auto-libm-test-in: Add more tests of asin.
36798         * math/auto-libm-test-out: Regenerated.
36799         * sysdeps/i386/fpu/libm-test-ulps: Update.
36800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36802         [BZ #18138]
36803         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
36804         libc_do_syscall_args): New structure.
36805         (INTERNAL_SYSCALL_MAIN_0): New macro.
36806         (INTERNAL_SYSCALL_MAIN_1): Likewise.
36807         (INTERNAL_SYSCALL_MAIN_2): Likewise.
36808         (INTERNAL_SYSCALL_MAIN_3): Likewise.
36809         (INTERNAL_SYSCALL_MAIN_4): Likewise.
36810         (INTERNAL_SYSCALL_MAIN_5): Likewise.
36811         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
36812         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
36813         Replace conditional definitions by conditional definitions of ....
36814         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
36815         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
36816         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
36817         (libpthread-sysdep_routines): Add libc-do-syscall.
36818         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
36819         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
36820         to __NR_futex not 240.
36822 2015-03-25  Alan Modra  <amodra@gmail.com>
36824         * NEWS: Advertise TLS optimization.
36825         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
36826         (DT_PPC_NUM): Increment.
36827         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
36828         (CHECK_STATIC_TLS): Use here.
36829         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
36830         TLS descriptors.
36831         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36832         * sysdeps/powerpc/dl-tls.c: New file.
36833         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
36834         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
36835         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
36836         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
36837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
36838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
36839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
36841 2015-03-25  Alan Modra  <amodra@gmail.com>
36843         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
36844         for overlapping .opd entries" to "support...".
36845         * sysdeps/powerpc/powerpc64/configure: Regenerate
36847 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36849         * math/auto-libm-test-in: Add more tests of acos.
36850         * math/auto-libm-test-out: Regenerated.
36851         * sysdeps/i386/fpu/libm-test-ulps: Update.
36852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36854         * math/auto-libm-test-in: Add more tests of expm1.
36855         * math/auto-libm-test-out: Regenerated.
36856         * sysdeps/i386/fpu/libm-test-ulps: Update.
36857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36859 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
36861         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36862         * math/auto-libm-test-out: Regenerated.
36863         * sysdeps/i386/fpu/libm-test-ulps: Update.
36864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36866         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36869         * math/auto-libm-test-in: Add more tests of log2.
36870         * math/auto-libm-test-out: Regenerated.
36871         * sysdeps/i386/fpu/libm-test-ulps: Update.
36872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36874 2015-03-23  Roland McGrath  <roland@hack.frob.com>
36876         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
36877         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
36878         _IO_IS_APPENDING bit in READ_WRITE instead.
36880 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36882         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
36883         (__determine_cpumask_size): Replace extend_alloca with a
36884         variable-length array.  Do not treat res == 0 as an error.
36886 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36888         [BZ #18100]
36889         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
36890         and integer overflow.
36891         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
36892         (main): Add integer overflow tests.
36893         * manual/pattern.texi (Calling Wordexp): Document additional use
36894         for WRDE_SYNTAX.
36896 2015-03-23  Alan Modra  <amodra@gmail.com>
36898         * config.h.in: Remove HAVE_ASM_PPC_REL16.
36899         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
36900         and false branch of conditional.
36901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36902         Likewise.
36904 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
36906         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
36907         libc-modules.h
36908         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
36909         unused declaration of _hurd_intr_rpc_msg_in_trap.
36910         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
36911         defined instead of whether it is non-zero.
36912         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
36913         input constraint instead of both input and output constraint.  Use ecx
36914         clobber instead of %ecx.
36915         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
36916         mutex_unlock): Use a statement expression instead of an expression list.
36917         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
36918         type to vm_size_t instead of vm_address_t.
36919         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
36920         defined instead of whether it is non-zero.
36921         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
36922         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
36923         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
36924         comparisons with mapaddr.
36925         * nscd/nscd-client.h: Include <time.h>.
36926         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
36927         9th parameter to __vm_region instead of int.
36928         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
36929         * scripts/check-local-headers.sh (exclude): Add device/,
36930         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
36931         cthreads.h.
36933 2015-03-19  Roland McGrath  <roland@hack.frob.com>
36935         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
36936         to account for alignment padding.
36937         * sysdeps/arm/memmove.S: Likewise.
36939 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
36941         * sysdeps/unix/sysv/linux/generic/README: New file.
36943 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
36945         [BZ #18138]
36946         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
36947         (futex_abstimed_wait)
36948         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
36949         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
36950         of lll_futex_timed_wait.
36952 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
36954         [BZ #17542]
36955         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
36957 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
36959         [BZ #17090]
36960         [BZ #17620]
36961         [BZ #17621]
36962         [BZ #17628]
36963         * NEWS: Update.
36964         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
36965         entries with Static TLS too.  Skip entries past the end of the
36966         allocated DTV, from Alan Modra.
36967         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
36968         Static TLS DTV entry set up from...
36969         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
36970         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
36971         * nptl/allocatestack.c (init_one_static_tls): ... and here...
36972         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
36973         for Static TLS.
36974         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
36975         that the slot we find is associated with the given map before
36976         using its generation count.
36977         * nptl_db/db_info.c: Include ldsodefs.h.
36978         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
36979         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
36980         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
36981         (link_map::l_tls_offset): New struct field.
36982         (dtv_t::counter): Likewise.
36983         (rtld_global): New struct.
36984         (_rtld_global): New rtld variable.
36985         (dl_tls_dtv_slotinfo_list): New rtld global field.
36986         (dtv_slotinfo_list): New struct.
36987         (dtv_slotinfo): Likewise.
36988         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
36989         (td_lookup): Rename to...
36990         (td_mod_lookup): ... this.  Use new mod parameter instead of
36991         LIBPTHREAD_SO.
36992         * nptl_db/td_thr_tlsbase.c: Include link.h.
36993         (dtv_slotinfo_list, dtv_slotinfo): New functions.
36994         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
36995         addresses even if the DTV is out of date or missing them.
36996         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
36997         index zero-length arrays.
36998         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
36999         (td_lookup): Make it a macro implemented in terms of...
37000         (td_mod_lookup): ... this declaration.
37001         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
37002         (DB_MAIN_VARIABLE): Likewise.
37004 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37006         [BZ #18134]
37007         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
37009 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
37011         * stdlib/setenv.c (__add_to_environ): Revert previous change.
37013 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
37015         [BZ #18128]
37016         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
37017         (atomic_add, atomic_increment_and_test)
37018         (atomic_decrement_and_test): Fix 64-bit arithmetic.
37020 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
37022         * stdlib/setenv.c (__add_to_environ):
37023         Dump core quickly if setenv (..., NULL, ...) is called.
37025 2015-03-13  Roland McGrath  <roland@hack.frob.com>
37027         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
37028         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
37029         all the necessary asm magic in one place.
37030         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
37031         using those.
37033 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
37035         [BZ #14906]
37036         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
37037         traced file mtime. Use consistent log message.
37038         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
37039         (register_traced_file): Call install_watches. Always set mtime.
37040         (invalidate_cache): Iterate over all trace files. Call install_watches.
37041         (inotify_check_files): Don't inline. Handle watching parent
37042         directories and configuration file movement in and out.
37043         (handle_inotify_events): New function.
37044         (main_loop_poll): Call handle_inotify_events.
37045         (main_loop_epoll): Likewise.
37046         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
37047         (struct traced_file): Use array of inotify fds. Add parent directory,
37048         and basename.
37049         (struct database_dyn): Remove unused file_mtime.
37050         (init_traced_file): New inline function.
37051         (define_traced_file): New macro.
37052         * nss/nss_db/db-init.c: Use define_traced_file.
37053         (_nss_db_init): Use init_traced_file.
37054         * nss/nss_files/files-init.c: Use define_traced_file.
37055         (_nss_files_init): Use init_traced_file.
37057 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
37059         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
37060         [_LIBC]: Do not include <stdlib.h>.
37061         [!_LIBC] (abort): Remove declaration.
37062         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
37063         _FP_STATIC_ASSERT instead of conditionally calling abort.
37064         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
37065         (_FP_EXTEND_CNAN): Likewise.
37066         (FP_TRUNC): Likewise.
37067         (__FP_CLZ): Likewise.
37068         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
37070 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
37072         * manual/string.texi (XPG basename): Fix prototype.
37074 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37076         [BZ #18080]
37077         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
37078         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37079         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37080         (__setcontext): Likewise.
37081         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37082         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37083         Call rt_sigprocmask syscall one time to set new signal mask
37084         and retrieve the current signal mask instead of two calls.
37085         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37086         (__swapcontext): Likewise.
37087         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37088         * stdlib/tst-setcontext2.c: New file.
37090 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37092         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37094 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
37096         [BZ #18093]
37097         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37098         the wrong size.
37100 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37102         [BZ #18043]
37103         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37105 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37107         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37108         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37109         Remove define.
37110         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37111         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37112         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37113         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37114         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37115         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37116         define.
37117         * nptl_db/td_symbol_list.c (td_lookup): Remove
37118         HAVE_ASM_GLOBAL_DOT_NAME code.
37119         * sysdeps/powerpc/powerpc64/configure.ac: Remove
37120         HAVE_ASM_GLOBAL_DOT_NAME check.
37121         * sysdeps/powerpc/powerpc64/configure: Regenerate.
37122         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37123         (DOT_LABEL): Remove define.
37124         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37125         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37126         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37127         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37128         (__TLS_GET_ADDR): Likewise.
37129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37130         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37132 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
37134         [BZ #18111]
37135         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37136         (_FPU_SETCW): Initialize cw from fpsr before storing.
37137         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37138         (fesetexceptflag): Rewrite using fpu_control.h.
37139         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37141 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
37143         [BZ #18110]
37144         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37145         asms.
37146         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37148 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
37150         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37151         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
37152         abort.
37153         (_FP_FMA): Likewise.
37154         (_FP_DIV): Likewise.
37156 2015-03-10  Roland McGrath  <roland@hack.frob.com>
37158         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
37159         with 0 in that case.
37160         * Makefile (summarize-tests): New canned sequence, factored out of
37161         commands for targets tests and xtests.  Display summary lines that
37162         don't start with PASS: or XFAIL: rather than ones that do start with
37163         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
37164         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
37165         do start with ERROR: or FAIL:.
37166         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
37167         (except for [$(build-shared) = yes]).
37168         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
37169         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
37170         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
37171         * nptl/Makefile: Revert 2015-03-04 changes.
37172         [$(CXX) empty] (tests-unsupported): New variable.
37173         * debug/Makefile: Likewise.
37175         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
37176         gnulib file.  Replace __attribute with __attribute__ throughout.
37178 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
37180         * sysdeps/hppa/fpu/libm-test-ulps: Update.
37182 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37184         [BZ #18104]
37185         * math/auto-libm-test-in: Add another test of pow.
37186         * math/auto-libm-test-out: Regenerated.
37188 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37190         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
37191         $(config-cflags-nofma).
37193 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37195         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
37196         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
37197         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
37198         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
37199         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
37200         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
37201         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
37202         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
37203         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
37204         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
37205         Add comment on closing #endif.
37207 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37209         * posix/wordexp.c (CHAR_IN_SET): New macro.
37210         (parse_param): Use it.
37212 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37214         * sysdeps/powerpc/fpu/libm-test-ulps: update.
37216 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37218         [BZ #18043]
37219         * posix/wordexp.c (parse_param): Fix buffer overflow.
37220         * posix/wordexp-test.c (test_case): Add test case.
37222 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37224         [BZ #18042]
37225         * posix/wordexp.c (parse_backtick): Fix off-by-one.
37226         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
37228 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37230         [BZ #18043]
37231         * posix/wordexp-test.c (test_case): Add test for BZ #18043
37232         (do_bz18043): Delete.
37233         (at_page_end): New.
37234         (testit): Refactor to have words at the edge of unreadable page.
37236 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37238         [BZ #16734]
37239         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
37240         Cleanup read-only streams as well.
37241         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37243 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37245         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
37246         <bits/libc-lockP.h>
37248 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
37250         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
37251         on [__KERNEL__].
37252         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
37253         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
37254         * soft-fp/op-common.h (_FP_DECL): Likewise.
37256 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
37258         * elf/ifuncdep2.c (global): Replace
37259         __attribute__((visibility("protected"))) with
37260         asm (".protected global").
37261         * elf/ifuncmod1.c (global): Likewise.
37262         * elf/ifuncmod5.c (global): Likewise.
37264 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
37266         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
37267         <asm/sfp-machine.h> instead of <sfp-machine.h>.
37269 2015-03-06  Roland McGrath  <roland@hack.frob.com>
37271         * manual/install.texi (Configuring and compiling):
37272         Document test-wrapper-env-only.
37273         * INSTALL: Regenerated.
37275 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37277         [BZ #18043]
37278         * posix/wordexp.c (parse_param): Fix buffer overflow.
37279         * posix/wordexp-test.c (do_bz18043): Add test case.
37281 2015-03-06  Vincent Bernat  <vincent@bernat.im>
37283         * time/tst-strptime2.c (do_test): Ensure failing tests are
37284         reported correctly.
37285         * time/tst-strptime3.c (do_test): Likewise.
37287 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
37289         Fix aio_error thread-safety.
37290         * sysdeps/pthread/aio_error.c: New file
37291         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
37292         synchronization.
37294 2015-03-06  Florian Weimer  <fweimer@redhat.com>
37296         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
37297         (group_number, vfprintf): Use it.
37298         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37299         (JUMP, REF): Use it.
37300         (WORK_BUFFER_SIZE): New enum constant.
37301         (process_arg, vfprintf): Use it.
37303 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
37305         * manual/errno.texi (Error Messages): Complete example function
37306         by adding missing #define.
37307         (program_invocation_name): Add statement indicating GNU
37308         extension and reference which header file declares the variable.
37309         (program_invocation_short_name): Likewise.
37311 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
37313         * manual/errno.texi (Error Messages): Delete strerror ISO C89
37314         compatibility note.
37316 2015-03-05  Roland McGrath  <roland@hack.frob.com>
37318         * Makeconfig (test-wrapper-env-only): New variable.
37319         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
37320         then use that with $(test-wrapper-env-only) rather than using
37321         $(test-wrapper-env) $(run-program-env) $($*-ENV).
37323 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37325         [BZ #18082]
37326         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
37327         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
37328         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
37329         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
37330         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
37331         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
37332         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
37333         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
37334         Likewise.
37335         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
37336         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
37337         Likewise.
37338         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
37339         Likewise.
37340         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
37341         Likewise.
37342         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
37343         Likewise.
37344         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
37345         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
37346         Likewise.
37347         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
37348         Likewise.
37349         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
37350         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
37352 2015-03-04  Roland McGrath  <roland@hack.frob.com>
37354         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
37355         (ETH_ALEN): New macro.
37356         (struct ether_addr): Use it for length of ether_addr_octet.
37358         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
37359         (setdb): Don't call __nss_configure_lookup for "rpc".
37360         (do_test): Don't call test_rpc.
37361         (output_rpcent, test_rpc): Functions moved ...
37362         * sunrpc/test-rpcent.c: ... to this new file.
37363         * sunrpc/Makefile (tests): Add it.
37365         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
37366         __xpg_sigpause.
37367         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
37368         * nptl/tst-signal6.c: Likewise.
37369         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
37370         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
37372         * configure.ac (libc_cv_cxx_link_ok): New check.
37373         Reset CXX to empty if it fails to link.
37374         * configure: Regenerated.
37375         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37376         bug-atexit3-lib only if $(CXX) is nonempty.
37377         * nptl/Makefile (tests): Likewise for tst-cancel24.
37378         (tests, tests-static): Likewise for tst-cancel24-static.
37379         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37380         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37381         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37382         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37384 2015-03-04  Andreas Schwab  <schwab@suse.de>
37386         [BZ #17631]
37387         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37388         for non-GCC compilers.
37389         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37390         Likewise.
37392 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37394         [BZ #17776]
37395         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37396         integer before bitwise and assembly operations.
37397         (feclearexcept): Likewise.
37398         * math/test-fenvinline.c: New file.
37399         * math/Makefile: Add test-fenvinline test.
37401 2015-03-03  Alan Modra  <amodra@gmail.com>
37403         [BZ #16512]
37404         * scripts/localplt.awk: Strip off symbol version.
37405         * NEWS: Mention bug fix.
37407 2015-03-02  Roland McGrath  <roland@hack.frob.com>
37409         * sysdeps/pthread/timer_routines.c
37410         (timer_free_list, thread_free_list, thread_active_list): Make static.
37412 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
37414         [BZ #17779]
37415         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37416         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37417         Undefine.
37418         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37419         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37420         Likewise.
37421         * sysdeps/unix/sysv/linux/sh/kernel-features.h
37422         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37423         Likewise.
37425 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37427         [BZ #18036]
37428         * posix/fnmatch_loop.c (END): Detect invalid pattern.
37429         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37431 2015-03-02  Andreas Schwab  <schwab@suse.de>
37433         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37434         variable name.
37436 2015-03-02  Florian Weimer  <fweimer@redhat.com>
37438         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37439         Return error status.
37441 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
37443         [BZ #15969]
37444         * locale/findlocale.c (_nl_find_locale): Introduce const
37445         version of loc_name and drop unsafe type casts.
37447 2015-02-27  Roland McGrath  <roland@hack.frob.com>
37449         * dlfcn/tststatic2.c (main): Converted to ...
37450         (do_test): ... this.
37451         (TEST_FUNCTION): New macro.
37452         Include test-skeleton.c.
37454 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
37456         [BZ #17711]
37457         * elf/Makefile (tests): Add vismain only if PIE is enabled.
37458         (tests-pie): Add vismain.
37459         (CFLAGS-vismain.c): New.
37460         * elf/vismain.c: Add comments for PIE requirement.
37462 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37464         [BZ #18046]
37465         [BZ #18047]
37466         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37467         0x1p-56L as threshold for just returning the argument.
37468         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37469         0x1p-32L as threshold for just returning the argument.
37470         * math/auto-libm-test-in: Add more tests of atanh.
37471         * math/auto-libm-test-out: Regenerated.
37472         * sysdeps/i386/fpu/libm-test-ulps: Update.
37473         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37475 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37477         * string/bcopy.c (bcopy): Call memmove for performance.
37479 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37481         * string/bzero.c (__bzero): Call memset for performance.
37483 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37485         [BZ #18068]
37486         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37487         to 00100000.
37489 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37491         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37493 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37495         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37496         (__kernel_standard): Use CSTR macro when setting exc.name.
37497         * sysdeps/ieee754/Makefile [$(subdir) = math]
37498         (CFLAGS-k_standard.c): Remove variable.
37500         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37501         setting p and q from "else if" to "else".
37502         (qzero): Likewise.
37503         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37504         (qone): Likewise.
37505         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37506         (qzerof): Likewise.
37507         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37508         (qonef): Likewise.
37509         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37510         (qzero): Likewise.
37511         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37512         (qone): Likewise.
37514         [BZ #18038]
37515         [BZ #18039]
37516         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37517         return pi/2 for arguments below 0x1p-113L.
37518         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37519         return pi/2 for arguments below 0x1p-106L.
37520         * math/auto-libm-test-in: Add more tests of acos.
37521         * math/auto-libm-test-out: Regenerated.
37523         [BZ #16351]
37524         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37525         (MO): New macro.
37526         (__ieee754_asin): Force underflow exception for results with small
37527         absolute value.
37528         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37529         (MO): New macro.
37530         (__ieee754_asinf): Force underflow exception for results with
37531         small absolute value.
37532         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37533         (__ieee754_asin): Force underflow exception for results with small
37534         absolute value.
37535         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37536         (__ieee754_asinf): Force underflow exception for results with
37537         small absolute value.
37538         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37539         (__ieee754_asinl): Force underflow exception for results with
37540         small absolute value.
37541         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37542         (__ieee754_asinl): Force underflow exception for results with
37543         small absolute value.
37544         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37545         (__ieee754_asinl): Force underflow exception for results with
37546         small absolute value.
37547         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37548         Include <math.h>.
37549         * math/auto-libm-test-in: Do not mark underflow exceptions as
37550         possibly missing for bug 16351.
37551         * math/auto-libm-test-out: Regenerated.
37553         [BZ #18030]
37554         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37555         of power of 2 down when low part has opposite sign.
37556         * math/libm-test.inc (logb_test_data): Add more tests.
37558 2015-02-26  Andreas Schwab  <schwab@suse.de>
37560         [BZ #18032]
37561         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37562         over collating symbol inside a bracket expression.  Minor cleanup.
37563         * posix/tst-fnmatch3.c (do_test): Add test case.
37565 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37567         [BZ #18029]
37568         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37569         Adjust exponent of power of 2 down when low part has opposite
37570         sign.
37571         * math/libm-test.inc (ilogb_test_data): Add more tests.
37573 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
37575         [BZ #15969]
37576         * locale/findlocale.c (_nl_find_locale): Fix constness error in
37577         the previous change.
37579         [BZ #15969]
37580         * locale/findlocale.c (_nl_find_locale): Retry archive search
37581         after alias expansion.
37583 2015-02-25  Roland McGrath  <roland@hack.frob.com>
37585         * iconv/tst-iconv3.c (main): Converted to ...
37586         (do_test): ... this.
37587         (TEST_FUNCTION): New macro.
37588         Include test-skeleton.c.
37590         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37591         (convert): Make function static.
37592         (test_unalign): Likewise.  Add const to argument pointee types.
37593         (main): Replace with static function do_test.
37594         Print "Succeeded." only if RET is zero.
37595         (TEST_FUNCTION): New macro.
37596         Include test-skeleton.c.
37598         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37599         returns a null pointer.
37601 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37603         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37604         to __memcpy_ppc only for static builds.
37606 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
37608         [BZ #18020]
37609         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37610         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37611         * math/auto-libm-test-in: Add more tests of asinh.
37612         * math/auto-libm-test-out: Regenerated.
37613         * sysdeps/i386/fpu/libm-test-ulps: Update.
37614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37616 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
37618         [BZ #15850]
37619         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37620         and ip6_mtuinfo definitions here.
37621         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37622         in this define too.  Update comment.
37624 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
37626         * elf/sprof.c (load_shobj): Tweak error message to match others.
37628 2015-02-24  Kevin Easton  <kevin@guarana.org>
37630         [BZ #16145] (partial fix)
37631         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37632         to reduce lock contention.
37634 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
37636         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37637         (struct timex): Update time comment.
37638         (ADJ_SETOFFSET): Define.
37640 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37642         [BZ #18019]
37643         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37644         2**56 not 2**28 as threshold for log (2x) formula.
37645         * math/auto-libm-test-in: Add more tests of acosh.
37646         * math/auto-libm-test-out: Regenerated.
37647         * sysdeps/i386/fpu/libm-test-ulps: Update.
37648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37650 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37652         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37653         parenthesis around the buf assignment.
37654         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37656 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37658         [BZ #16783]
37659         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37660         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37661         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37662         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37663         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37664         * math/libm-test.inc (scalb_test_data): Add more tests.
37666 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37668         [BZ #17916]
37669         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37670         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37672 2015-02-24  Eric Rannaud  <e@nanocritical.com>
37674         [BZ #17523]
37675         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37676         * io/bits/fcntl2.h (open): Use it.
37677         (openat): Likewise.
37678         * io/open.c (__libc_open): Likewise.
37679         * io/open64.c (__libc_open64): Likewise.
37680         * io/open64_2.c (__open64_2): Likewise.
37681         * io/open_2.c (__open_2): Likewise.
37682         * io/openat.c (__openat): Likewise.
37683         * io/openat64.c (__openat64): Likewise.
37684         * io/openat64_2.c (__openat64_2): Likewise.
37685         * io/openat_2.c (__openat_2): Likewise.
37686         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37687         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37688         * sysdeps/posix/open64.c (__libc_open64): Likewise.
37689         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37690         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37691         (__open_nocancel): Likewise.
37692         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37693         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37694         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37696 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37698         [BZ #14841]
37699         * resolv/gethnamaddr.c (getanswer): Skip logging if
37700         RES_USE_DNSSEC is set.
37701         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37703 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37705         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37707 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
37709         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37710         201304L, for Unicode 7.
37712 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
37714         [BZ #17836]
37715         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37716         shared library.  Add gmon-start.os otherwise.
37717         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37718         $(objpfx)gmon-start.os if builing shared library.
37719         ($(objpfx)g$(static-start-installed-name)): Likewise.
37721 2015-02-23  Andreas Schwab  <schwab@suse.de>
37723         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37725 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37727         [BZ #17269]
37728         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37729         (enlarge_userbuf): Likewise.
37731 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
37733         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37734         * math/atest-exp.c (TIMEOUT): Adjust to 200.
37735         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37736         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37738 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
37740         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37741         expression inside statement expression.
37743 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37745         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37746         <sysdeps/nptl/lowlevellock.h> and remove macros and
37747         functions that are now defined there.
37748         (SYS_futex): Remove.
37749         (lll_compare_and_swap): Remove.
37750         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37752 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
37754         [BZ #17999]
37755         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37756         instead of scandirat.
37757         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37758         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37759         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37760         __scandirat.
37761         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37762         (__scandirat): Declare.  Use libc_hidden_proto.
37763         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37764         Remove variable.
37765         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37767 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37769         [BZ #15319]
37770         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37771         (MO): New macro.
37772         (__ieee754_atan2): For results with small absolute value, force
37773         underflow exception and remove excess range and precision from
37774         return value.
37775         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37776         (MO): New macro.
37777         (__ieee754_atan2f): For results with small absolute value, force
37778         underflow exception and remove excess range and precision from
37779         return value.
37780         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37781         (MO): New macro.
37782         (__atan): For results with small absolute value, force underflow
37783         exception and remove excess range and precision from return value.
37784         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37785         (MO): New macro.
37786         (__atanf): For results with small absolute value, force underflow
37787         exception and remove excess range and precision from return value.
37788         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37789         <math.h>.
37790         (__ieee754_atan2): Force underflow exception for results with
37791         small absolute value.
37792         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
37793         <math_private.h>.
37794         (atan): Force underflow exception for results with small absolute
37795         value.
37796         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
37797         (__atanf): Force underflow exception for results with small
37798         absolute value.
37799         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
37800         <math.h>.
37801         (__atanl): Force underflow exception for results with small
37802         absolute value.
37803         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
37804         (__atanl): Force underflow exception for results with small
37805         absolute value.
37806         * sysdeps/x86/fpu/bits/mathinline.h
37807         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
37808         (__ieee754_atan2): Only define inline for long double.
37809         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
37810         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
37811         * math/auto-libm-test-in: Do not mark underflow exceptions as
37812         possibly missing for bug 15319.  Add more tests of atan2.
37813         * math/auto-libm-test-out: Regenerated.
37814         * math/libm-test.inc (casin_test_data): Do not mark underflow
37815         exceptions as possibly missing for bug 15319.
37816         (casinh_test_data): Likewise.
37817         * sysdeps/i386/fpu/libm-test-ulps: Update.
37819 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
37821         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
37822         * sysdeps/mips/bits/endian.h: Fix comments.
37824 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37826         [BZ #17996]
37827         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
37828         (hdestroy_r): Likewise.
37829         (hsearch_r): Likewise.
37830         (__hcreate_r): Declare and use libc_hidden_proto.
37831         (__hdestroy_r): Likewise.
37832         (__hsearch_r): Likewise.
37833         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
37834         (hcreate): Call __hcreate_r instead of hcreate_r.
37835         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
37836         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
37837         as weak alias of __hcreate_r.
37838         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
37839         __hdestroy_r.
37840         (hsearch_r): Rename to __hsearch_r and define as weak alias of
37841         __hsearch_r.
37842         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
37843         Remove variable.
37844         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37845         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37846         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37847         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37849 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37851         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
37852         arena_lock into a single arena_get.
37854 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
37856         * dl-reloc.c: Inlucde libc-internal.h.
37857         (_dl_try_allocate_static_tls): Call ALIGN_UP.
37858         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
37859         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
37860         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
37861         (grow_heap): Likewise.
37862         * malloc/malloc.c: Include libc-internal.h.
37863         (do_check_malloc): Call powerof2.
37864         (sysmalloc): Use pagesize. Call ALIGN_UP.
37865         (systrim): Use pagesize.
37866         (mremap_chunk): Use pagesize. Call ALIGN_UP.
37867         (__libc_valloc): Use pagesize.
37868         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
37870 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37872         [BZ #17991]
37873         * include/sys/resource.h (__getrlimit64): Declare.  Use
37874         libc_hidden_proto.
37875         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
37876         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
37877         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
37878         getrlimit64.
37879         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
37880         __getrlimit64.
37881         [!getrlimit64] (getrlimit64): Define as weak alias of
37882         __getrlimit64.  Use libc_hidden_weak.
37883         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
37884         using __getrlimit64 not __new_getrlimit64.
37885         (__GI_getrlimit64): Likewise.
37886         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
37887         Likewise.
37888         (__GI_getrlimit64): Likewise.
37889         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
37890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
37891         (getrlimit): Add __getrlimit64 alias.
37892         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
37893         Likewise.
37894         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
37895         Remove variable.
37896         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37897         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37899 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
37901         * libio/fileops.c: Add missing sys/mman.h
37902         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
37904 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37906         * manual/math.texi (Errors in Math Functions): Clarify goals
37907         regarding inexact and underflow exceptions.
37909 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37911         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
37912         * sysdeps/mips/memset.S: Ditto.
37914 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37916         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
37918 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37920         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
37921         (__v1longjmp): Remove versioned symbol.
37922         (__v1siglongjmp): Remove alias and versioned symbol.
37923         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
37924         (__v2siglongjmp): Likewise.
37926 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37928         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
37930 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
37932         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
37934 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37936         [BZ #17987]
37937         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
37938         zero result does not depend on the sign resulting from
37939         subtraction.
37940         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37941         Likewise.
37942         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37943         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37944         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37945         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37946         * math/libm-test.inc (remquo_test_data): Add more tests.
37948 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
37950         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
37951         Problem reported by J William Piggott.
37953 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37955         [BZ #17978]
37956         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
37957         products 4 * y and 2 * y where those would overflow.
37958         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37959         Likewise.
37960         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37961         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37962         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37963         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37964         * math/libm-test.inc (remquo_test_data): Add more tests.
37966         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
37968         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
37969         [defined _COMPILING_NEWLIB].
37970         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
37971         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
37973         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
37974         [!defined __mips_isa_rev || __mips_isa_rev < 6].
37976 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37978         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
37979         acquired.
37981 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
37983         [BZ #17792]
37984         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
37985         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
37986         HOST_STACK_END_ADDR): Likewise.
37988 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
37990         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
37991         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
37992         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
37994 2015-02-13  Roland McGrath  <roland@hack.frob.com>
37996         * sysdeps/generic/c++-types.data: New file.
37997         * sysdeps/generic/ld.abilist: New file.
37998         * sysdeps/generic/libBrokenLocale.abilist: New file.
37999         * sysdeps/generic/libanl.abilist: New file.
38000         * sysdeps/generic/libc.abilist: New file.
38001         * sysdeps/generic/libcrypt.abilist: New file.
38002         * sysdeps/generic/libdl.abilist: New file.
38003         * sysdeps/generic/libm.abilist: New file.
38004         * sysdeps/generic/libpthread.abilist: New file.
38005         * sysdeps/generic/libresolv.abilist: New file.
38006         * sysdeps/generic/librt.abilist: New file.
38008 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38010         [BZ #17569]
38011         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38012         Compute absolute value of x as modified by fmod, not original
38013         value of x.
38014         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
38015         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
38016         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
38017         RUN_TEST_ffI_f1_mod8.
38018         (remquo_test_data): Add more tests.
38020 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38022         * sysdeps/init_array/pt-crti.S: New file.
38024 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38026         [BZ #17967]
38027         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
38028         __builtin_fmaf instead of relying on contraction of a * b + c.
38030 2015-02-12  J William Piggott  <elseifthen@gmx.com>
38032         [BZ #17969]
38033         * manual/time.texi: correct the zoneinfo path in the TZ Variable
38034         node.
38036 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38038         [BZ #17964]
38039         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
38040         __builtin_fma instead of relying on contraction of a * b + c.
38042 2015-02-12  Roland McGrath  <roland@hack.frob.com>
38044         * Makeconfig (ASFLAGS): Add -Werror=undef.
38045         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
38046         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
38047         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
38049         * Makeconfig (after-link): New variable.
38050         (+link-pie, +link-pie-tests): Use it.
38051         (+link-static, +link-static-tests): Likewise.
38052         (+link, +link-tests): Likewise.
38053         * Makerules (build-module, build-module-asneeded): Likewise.
38054         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
38055         Likewise.
38056         * elf/Makefile ($(objpfx)ld.so): Likewise.
38058 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
38060         [BZ #17965]
38061         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
38062         both struct timeval and struct timespec.
38064 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38066         [BZ #16560]
38067         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38068         and redefine.
38069         (__ieee754_exp2l): Do not multiply small fractional parts by
38070         M_LN2l.
38071         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
38072         small argument.
38073         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38074         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
38075         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
38076         * math/auto-libm-test-in: Add more tests of exp2.
38077         * math/auto-libm-test-out: Regenerated.
38079 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38081         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38082         unaligned path.
38084 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38086         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38087         little endian.
38089 2015-02-12  Andreas Schwab  <schwab@suse.de>
38091         [BZ #15790]
38092         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38093         Filter out elision flags from value returned in kind.
38094         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38095         * nptl/tst-pthread-mutexattr.c: New file.
38097 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38099         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38100         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38101         into gnu-gnu, and update comment to refer to abi-tags.
38103 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
38105         [BZ #15467]
38106         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38107         (__sincos): Set errno to EDOM for infinite argument.
38108         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38109         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38110         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38111         (__sincosl): Set errno to EDOM for infinite argument.
38112         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38113         (__sincosl): Set errno to EDOM for infinite argument.
38114         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38115         (__sincosl): Set errno to EDOM for infinite argument.
38116         * math/libm-test.inc (sincos_test_data): Test errno setting.
38118 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
38120         * string/strxfrm_l.c: Remove #define STRCMP.
38121         * string/strcoll_l.c: Remove #define STRLEN.
38122         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38123         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38125 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
38127         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38128         * sysdeps/mips/mips32/sfp-machine.h: ... here.
38129         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38130         * sysdeps/mips/mips64/Makefile: ... here.
38131         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38132         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38133         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38134         * sysdeps/mips/mips64/sfp-machine.h: ... here.
38135         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38136         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38137         * sysdeps/mips/mips64/n64/Implies: Likewise.
38139 2015-02-10  Roland McGrath  <roland@hack.frob.com>
38141         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38142         <sys/time.h>, <string.h>, and <errno.h>.
38143         (dest_offset, dest_address, value, zero): Remove unused variables.
38144         (ldouble): Remove typedef.
38145         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38146         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
38147         1).  Fix code style.
38148         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38149         (check): Function removed.
38150         (CHECK): New macro.
38151         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
38152         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
38153         Don't call set_sigaction_FP and remove_sigaction_FP here.
38154         (ldouble_test): Just use 'long double' as macro argument, no need for
38155         the 'ldouble' typedef.
38156         (do_test): Set up SIGFPE handler at start, using plain signal rather
38157         than sigaction.  Fix code style.
38159 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
38161         [BZ #17949]
38162         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
38163         jump label.
38165 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38167         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
38168         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38170         * sysdeps/powerpc/configure.ac: Remove file.
38171         * sysdeps/powerpc/configure: Likewise.
38173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38174         [sysdep_routines]: Remove wordcopy-power6 object.
38175         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38176         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
38177         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
38178         (__memmove_ppc32): Likewise.
38179         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
38180         file.
38181         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
38182         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
38183         Remove preprocessor.
38185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38186         [sysdep_routines]: Remove wide chars objects.
38187         [wcsmbs]: New rule for wide char objects.
38189         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38190         Remove wordcopy-power6 obejct.
38191         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
38192         Use local call for wordcopy and memcpy symbols.
38193         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
38194         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
38195         implementation for loader.
38196         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
38198         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38199         Remove wordcopy-power7 object.
38200         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
38201         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
38202         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
38203         (_wordcopy_fwd_dest_aligned): Likewise.
38204         (_wordcopy_bwd_aligned): Likewise.
38205         (_wordcopy_bwd_dest_aligned): Likewise.
38207         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
38208         Rewrite to call __memmove_ppc instead of include default
38209         implementation.
38211         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38212         Remove wide chars objects.
38213         [wcsmbs]: New rule for wide char objects.
38215 2015-02-09  Andreas Schwab  <schwab@suse.de>
38217         [BZ #17912]
38218         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38219         in terms of __O_DIRECTORY.
38221 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38223         * time/getdate.c: Include <stdbool.h>.
38224         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
38225         call PTR_MANGLE.
38226         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
38227         PTR_DEMANGLE.
38229 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
38231         Add ersatz _Static_assert on older C hosts
38232         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
38233         pre-C11 C platform that is not known to support _Static_assert.
38235 2015-02-07  Richard Braun  <rbraun@sceen.net>
38237         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
38238         sigstate.
38239         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
38241 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38243         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
38244         priority against unexistent AIO_PRIO_DELTA_MAX.
38245         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
38246         instead of int.
38247         * misc/fchflags.c (fchflags): Likewise.
38248         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
38249         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
38250         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
38251         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
38252         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
38253         Declare macros.
38254         [__USE_MISC] (chflags, fchflags): Declare functions.
38255         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
38256         EINVAL when nfds is greater than FD_SETSIZE.
38257         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
38258         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
38259         45.
38260         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
38261         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
38262         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
38263         MACH_RCV_TIMED_OUT.
38264         * hurd/hurd/signal.h (_hurd_self_sigstate,
38265         _hurd_critical_section_lock, _hurd_critical_section_unlock):
38266         Explicit casts from void *.
38267         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
38268         * abi-tags: Rename gnu-gnu os into gnu.
38270         [BZ #4719]
38271         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
38272         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
38273         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
38274         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
38275         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
38276         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
38278         [BZ #17944]
38279         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
38280         duplicates ADDR->sun_path with sockaddr LEN limitation.
38281         * sysdeps/mach/hurd/connect.c: Include <string.h>
38282         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
38283         * sysdeps/mach/hurd/sendmsg.c: Likewise.
38284         * sysdeps/mach/hurd/sendto.c: Likewise.
38285         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
38286         implementing it by hand.
38288 2015-02-06  Roland McGrath  <roland@hack.frob.com>
38290         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
38291         Use sfi_breg on ldr.
38292         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
38293         Likewise.
38295         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
38296         it's defined.
38297         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38298         Test SIGSETXID only if it's defined.
38300         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
38302         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
38303         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
38305         * nptl/tst-align2.c: Moved ...
38306         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
38307         * nptl/Makefile (tests): Remove tst-align2.
38308         * sysdeps/unix/sysv/linux/Makefile
38309         [$(subdir) = nptl] (tests): Add tst-align-clone.
38310         * nptl/tst-getpid1.c: Moved ...
38311         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
38312         * nptl/tst-getpid2.c: Moved ...
38313         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
38314         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
38315         * sysdeps/unix/sysv/linux/Makefile
38316         [$(subdir) = nptl] (tests): ... here.
38317         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
38318         * sysdeps/unix/sysv/linux/Makefile
38319         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
38321         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
38322         Drop trailing \n from perror argument.  Use return rather than exit.
38324         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38325         on [SA_SIGINFO].
38326         * nptl/tst-cancel21.c (do_test): Likewise.
38327         * debug/tst-backtrace6.c: Include <signal.h> first thing.
38328         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
38329         [!SA_SIGINFO]: Make it a stub test.
38331         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
38332         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
38334         * posix/tst-getlogin.c: Move to ...
38335         * login/tst-getlogin.c: ... here.
38336         * posix/Makefile (tests): Move tst-getlogin to ...
38337         * login/Makefile (tests): ... here.
38339         * libio/tst-atime.c (do_test): Move local variables SV and E
38340         inside [ST_NOATIME] conditional.
38342         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
38344         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
38346         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
38347         (wait_code): New function replaces macro.
38348         Call nanosleep rather than syscall.
38350         * nptl/pt-system.c: Rewritten.  Put everything under
38351         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38352         Use IFUNC to redirect when possible.
38354         * nptl/pt-longjmp.c: Rewritten.  Put everything under
38355         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38356         Use IFUNC to redirect when possible.
38358         * nptl/pt-fork.c: Rewritten.  Put everything under
38359         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38360         Use IFUNC to redirect when possible.
38361         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
38363         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
38364         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
38365         unconditionally nowadays.  This included the only reference to
38366         __vdso_clock_gettime that appears outside libc proper.
38367         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
38368         Remove version set (containing only __vdso_clock_gettime).
38369         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
38370         Add attribute_hidden.
38371         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
38372         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38373         libc_hidden_data_def.
38374         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38375         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38377         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38378         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38379         setrpcent, and getrpcport to ...
38380         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38381         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38382         getrpcbynumber_r, and getrpcent_r to ...
38383         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38384         * inet/getrpcbyname.c: Moved ...
38385         * sunrpc/getrpcbyname.c: ... here.
38386         * inet/getrpcbyname_r.c: Moved ...
38387         * sunrpc/getrpcbyname_r.c: ... here.
38388         * inet/getrpcbynumber.c: Moved ...
38389         * sunrpc/getrpcbynumber.c: ... here.
38390         * inet/getrpcbynumber_r.c: Moved ...
38391         * sunrpc/getrpcbynumber_r.c: ... here.
38392         * inet/getrpcent.c: Moved ...
38393         * sunrpc/getrpcent.c: ... here.
38394         * inet/getrpcent_r.c: Moved ...
38395         * sunrpc/getrpcent_r.c: ... here.
38396         * inet/Makefile (routines): Move those to ...
38397         * sunrpc/Makefile (routines): ... here.
38398         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38399         the $(subdirs) list.
38400         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
38401         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38402         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38403         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38405         * elf/Makefile (routines): Include $(all-dl-routines), not just
38406         $(dl-routines).
38407         (rtld-routines): Likewise.  Use = rather than :=.
38408         * sysdeps/aarch64/Makefile [$(subdir) = elf]
38409         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38410         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38411         * sysdeps/arm/Makefile: Likewise.
38412         * sysdeps/i386/Makefile: Likewise.
38413         * sysdeps/x86_64/Makefile: Likewise.
38414         * sysdeps/hppa/Makefile [$(subdir) = elf]
38415         (sysdep_routines, sysdep-rtld-routines): Don't add
38416         $(sysdep-dl-routines) to these.
38417         * sysdeps/ia64/Makefile: Likewise.
38418         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38419         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38420         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38421         Don't add dl-static to these; sysdep-dl-routines alone is enough.
38422         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38423         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38424         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38425         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38426         * sysdeps/powerpc/Makefile [$(subdir) = elf]
38427         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38428         these; sysdep-dl-routines alone is enough.
38430 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
38432         [BZ #17932]
38433         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38434         where multiplication results in zero and third argument is finite
38435         and nonzero.
38436         * math/auto-libm-test-in: Add more tests of fma.
38437         * math/auto-libm-test-out: Regenerated.
38439         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38440         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38441         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38442         (_FP_CMP_EQ): Likewise.
38443         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38445         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38446         extra argument CHECK_NAN.  Redefine as wrapper around
38447         _FP_EXTEND_CNAN.
38449 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
38451         * version.h (RELEASE): Set to "stable".
38452         (VERSION): Set to "2.21"
38453         * include/features.h (__GLIBC_MINOR__): Set to 21.
38455         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38457 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38458             Paul Eggert  <eggert@cs.ucla.edu>
38460         [BZ #16618]
38461         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38462         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38463         size in bytes. Store needed elements in wpmax. Use needed size
38464         in bytes for extend_alloca.
38466 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38468         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38469         binutls 2.25, and texinfo 5.2.
38470         * INSTALL: Regenerate.
38471         * sysdeps/nios2/configure: Regenerate.
38472         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38473         * manual/contrib.texi: Update.
38474         * po/be.po: Update.
38475         * po/bg.po: Update.
38476         * po/ca.po: Update.
38477         * po/cs.po: Update.
38478         * po/da.po: Update.
38479         * po/de.po: Update.
38480         * po/el.po: Update.
38481         * po/eo.po: Update.
38482         * po/es.po: Update.
38483         * po/fi.po: Update.
38484         * po/fr.po: Update.
38485         * po/gl.po: Update.
38486         * po/hr.po: Update.
38487         * po/hu.po: Update.
38488         * po/ia.po: Update.
38489         * po/id.po: Update.
38490         * po/it.po: Update.
38491         * po/ja.po: Update.
38492         * po/ko.po: Update.
38493         * po/lt.po: Update.
38494         * po/nb.po: Update.
38495         * po/nl.po: Update.
38496         * po/pl.po: Update.
38497         * po/pt_BR.po: Update.
38498         * po/ru.po: Update.
38499         * po/rw.po: Update.
38500         * po/sk.po: Update.
38501         * po/sl.po: Update.
38502         * po/sv.po: Update.
38503         * po/tr.po: Update.
38504         * po/uk.po: Update.
38505         * po/vi.po: Update.
38506         * po/zh_CN.po: Update.
38507         * po/zh_TW.po: Update.
38509         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38510         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38511         * sysdeps/hppa/dl-irel.h: Remove #warning.
38512         * sysdeps/hppa/entry.h: Provide prototype for
38513         __canonicalize_funcptr_for_compare and cast argument.
38514         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38515         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38516         * sysdeps/hppa/sotruss-lib.c: New file.
38517         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38518         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38519         (atomic_compare_and_exchange_bool_acq): Likewise.
38520         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38521         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38523         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38524         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38525         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38527 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38529         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38530         called function in non-PIC case.
38532 2015-01-31  David S. Miller  <davem@davemloft.net>
38534         * sysdeps/sparc/sparc32/bits/atomic.h
38535         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38536         unlock not after it.
38537         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38538         volatile register usage warnings from the compiler.
38540         * sysdeps/sparc/nptl/sem_init.c: Delete.
38541         * sysdeps/sparc/nptl/sem_post.c: Delete.
38542         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38543         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38544         * sysdeps/sparc/sparc32/sem_init.c: New file.
38545         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38546         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38547         padding explicitly initialized.
38548         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38549         padding for in-semaphore spinlock.
38550         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38551         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38552         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38553         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38554         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38555         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38556         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38557         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38558         version.
38559         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38560         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38562 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
38564         [BZ #17801]
38565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38566         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38567         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38568         New.
38569         (index_AVX_Fast_Unaligned_Load): Likewise.
38570         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38571         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38572         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38573         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38574         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38575         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38576         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38577         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38578         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38580 2015-01-29  Andreas Schwab  <schwab@suse.de>
38582         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38584 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
38586         [BZ #17892]
38587         * nscd/nscd_stat.c (send_stats): Initialize DATA.
38589 2015-01-28  Martin Sebor  <msebor@redhat.com>
38591         * math/README.libm-test: Clarify. Add "How to read the test output."
38593 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
38595         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38596         Define to 0.
38598 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
38600         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38601         (__HAVE_64B_ATOMICS): Define to 0.
38603 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38605         [BZ #17885]
38606         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38607         value to set as new flag.
38609         [BZ #16576]
38610         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38611         and use _ARCH_PPCSQ instead.
38612         (__ieee754_sqrt): Likewise.
38613         (__ieee754_sqrtf): Likewise.
38614         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38615         _ARCH_PPCSQ is defined.
38616         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38617         fsqrt instruction.
38618         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38619         _ARCH_PPCSQ is defined.
38620         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38621         fsqrts instruction.
38622         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38624 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38626         * iconv/loop.c: Suppress array out of bound warning caused by GCC
38627         bug (GCC BZ #64739).
38629 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
38631         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38632         Mark _retval as used.
38633         (lll_futex_wake_unlock): Likewise.
38634         (lll_futex_timed_wait_requeue_pi): Likewise.
38636         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38637         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38638         register variables.
38640         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38641         libm_hidden_def.
38643         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38644         (__bswap_64): Mark as __always_inline.
38646 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
38648         [BZ #15378]
38649         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38650         when none of the search directories exist.
38652 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38654         [BZ #17869]
38655         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38656         power8 in .machine directive.
38658         [BZ #17868]
38659         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38660         set dependency from opd value.
38662 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38665         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38666         architecture.
38668 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38670         [BZ #17870]
38671         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38672         with uint64_t.
38673         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38674         (uint64_t) 1.
38675         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38676         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38677         Replace 1UL with (uint64_t) 1.
38678         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38679         int with uint64_t.
38681 2015-01-23  Roland McGrath  <roland@hack.frob.com>
38683         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38684         (if_freenameindex): Likewise.
38686         * resource/getrlimit64.c: Add missing libc_hidden_def.
38688 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
38690         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38691         __label__.
38692         (_FP_FMA): Likewise.
38693         (_FP_TO_INT_ROUND): Likewise.
38694         (_FP_FROM_INT): Likewise.
38696 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38698         [BZ #16418]
38699         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38700         Make code racy and cancel safe.
38702 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
38704         * sysdeps/arm/unwind-resume.h: Fix copyright year.
38705         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38706         attribution.
38708         * pwd/tst-getpw.c: Rewrite.
38710         [BZ #17702]
38711         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38712         (modules-names): Add moddummy1 and moddummy2.
38713         ($(objpfx)tst-rec-dlopen): Define.
38714         * dlfcn/moddummy1.c: New file.
38715         * dlfcn/moddummy2.c: New file.
38716         * dlfcn/tst-rec-dlopen.c: New file.
38717         * elf/dl-cache.c (_dl_load_cache_lookup):
38718         Return char*. Copy result with alloca/strcpy/strdup.
38719         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38720         returns char*. Free cached. If not saving realname
38721         free cached.
38722         * elf/dl-open.c (dl_open_worker): Do not assert that
38723         _r_debug->r_state is RT_CONSISTENT.
38724         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38725         returns char*.
38727 2015-01-21  Torvald Riegel  <triegel@redhat.com>
38728             Carlos O'Donell  <carlos@redhat.com>
38730         [BZ #12674]
38731         * nptl/sem_waitcommon.c: New file.
38732         * nptl/sem_wait.c: Include sem_waitcommon.c.
38733         (__sem_wait_cleanup, do_futex_wait): Remove.
38734         (__new_sem_wait): Adapt.
38735         (__new_sem_trywait): New function.
38736         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38737         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38738         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38739         (sem_timedwait): Adapt.
38740         * nptl/sem_post.c (__new_sem_post): Adapt.
38741         (futex_wake): New function.
38742         (__old_sem_post): Add release MO fence.
38743         * nptl/sem_open.c (sem_open): Adapt.
38744         * nptl/sem_init.c (__new_sem_init): Adapt.
38745         (futex_private_if_supported): New function.
38746         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38747         (__old_sem_getvalue): Add using previous code.
38748         * sysdeps/nptl/internaltypes.h: Adapt.
38749         * nptl/tst-sem13.c (do_test): Adapt.
38750         * nptl/tst-sem11.c (main): Adapt.
38751         * nptl/sem_trywait.c: Remove.
38752         * nptl/DESIGN-sem.txt: Remove.
38753         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38754         (gen-as-const-headers): Remove structsem.sym.
38755         * nptl/structsem.sym: Remove.
38756         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38757         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38758         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38759         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38760         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38761         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38762         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38763         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38764         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38765         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38766         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38767         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38768         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38769         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38770         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38771         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38772         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38773         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38774         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38775         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38776         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38777         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38779 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
38781         * INSTALL: Regenerated.
38783         * po/libc.pot: Regenerated.
38785 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
38786             Sandra Loosemore  <sandra@codesourcery.com>
38787             Andrew Jenner  <andrew@codesourcery.com>
38788             Joseph Myers  <joseph@codesourcery.com>
38789             Nathan Sidwell  <nathan@codesourcery.com>
38791         * NEWS: Mention new Nios II port.
38792         * sysdeps/nios2/Implies: New file.
38793         * sysdeps/nios2/Makefile: New file.
38794         * sysdeps/nios2/Subdirs: New file.
38795         * sysdeps/nios2/Versions: New file.
38796         * sysdeps/nios2/__longjmp.S: New file.
38797         * sysdeps/nios2/abort-instr.h: New file.
38798         * sysdeps/nios2/backtrace.c: New file.
38799         * sysdeps/nios2/bits/endian.h: New file.
38800         * sysdeps/nios2/bits/fenv.h: New file.
38801         * sysdeps/nios2/bits/link.h: New file.
38802         * sysdeps/nios2/bits/setjmp.h: New file.
38803         * sysdeps/nios2/bsd-_setjmp.S: New file.
38804         * sysdeps/nios2/bsd-setjmp.S: New file.
38805         * sysdeps/nios2/configure: New generated file.
38806         * sysdeps/nios2/configure.ac: New file.
38807         * sysdeps/nios2/crti.S: New file.
38808         * sysdeps/nios2/crtn.S: New file.
38809         * sysdeps/nios2/dl-init.c: New file.
38810         * sysdeps/nios2/dl-machine.h: New file.
38811         * sysdeps/nios2/dl-sysdep.h: New file.
38812         * sysdeps/nios2/dl-tls.h: New file.
38813         * sysdeps/nios2/dl-trampoline.S: New file.
38814         * sysdeps/nios2/gccframe.h: New file.
38815         * sysdeps/nios2/gmp-mparam.h: New file.
38816         * sysdeps/nios2/jmpbuf-offsets.h: New file.
38817         * sysdeps/nios2/jmpbuf-unwind.h: New file.
38818         * sysdeps/nios2/ldsodefs.h: New file.
38819         * sysdeps/nios2/libc-tls.c: New file.
38820         * sysdeps/nios2/libm-test-ulps: New file.
38821         * sysdeps/nios2/machine-gmon.h: New file.
38822         * sysdeps/nios2/math-tests.h: New file.
38823         * sysdeps/nios2/math_private.h: New file.
38824         * sysdeps/nios2/memusage.h: New file.
38825         * sysdeps/nios2/nptl/Makefile: New file.
38826         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
38827         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
38828         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
38829         * sysdeps/nios2/nptl/pthreaddef.h: New file.
38830         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
38831         * sysdeps/nios2/nptl/tls.h: New file.
38832         * sysdeps/nios2/preconfigure: New file.
38833         * sysdeps/nios2/s_fma.c: New file.
38834         * sysdeps/nios2/s_fmaf.c: New file.
38835         * sysdeps/nios2/setjmp.S: New file.
38836         * sysdeps/nios2/sfp-machine.h: New file.
38837         * sysdeps/nios2/sotruss-lib.c: New file.
38838         * sysdeps/nios2/stackguard-macros.h: New file.
38839         * sysdeps/nios2/stackinfo.h: New file.
38840         * sysdeps/nios2/start.S: New file.
38841         * sysdeps/nios2/sysdep.h: New file.
38842         * sysdeps/nios2/tls-macros.h: New file.
38843         * sysdeps/nios2/tst-audit.h: New file.
38844         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
38845         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
38846         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
38847         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
38848         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
38849         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
38850         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
38851         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
38852         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
38853         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
38854         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
38855         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
38856         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
38857         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
38858         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
38859         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
38860         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
38861         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
38862         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
38863         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
38864         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
38865         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
38866         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
38867         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
38868         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
38869         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
38870         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
38871         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
38872         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
38873         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
38874         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
38875         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
38876         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
38877         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
38878         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
38879         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
38880         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
38881         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
38882         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
38883         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
38884         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
38885         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
38886         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
38887         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
38889 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38891         [BZ #17844]
38892         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
38893         (getutent): Use weak_alias in non SHARED case
38894         and default_symbol_version in SHARED case.
38895         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
38896         (getutent_r, pututline): Likewise.
38897         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
38898         (getutid): Likewise.
38899         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
38900         (getutid_r): Likewise.
38901         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
38902         (getutline): Likewise.
38903         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
38904         (getutline_r): Likewise.
38905         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
38906         (updwtmp): Likewise.
38908 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38910         [BZ #17848]
38911         * sysdeps/s390/s390-32/memcmp.S
38912         (memcmp_g5): Rename to __memcmp_g5.
38913         * sysdeps/s390/s390-32/memcpy.S
38914         (memcpy_g5): Rename to __memcpy_g5.
38915         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38916         (memcpy_mvcle) Rename to __memcpy_mvcle.
38917         * sysdeps/s390/s390-32/memset.S
38918         (memset_g5): Rename to __memset_g5.
38919         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38920         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38921         and use prefixed functions.
38922         * sysdeps/s390/s390-32/multiarch/memcmp.S
38923         (memcmp_z196): Rename to __memcmp_z196.
38924         (memcmp_z10): Rename to __memcmp_z10.
38925         (memcmp): Set alias to __memcmp_g5.
38926         (bcmp): Set alias to __memcmp_g5.
38927         * sysdeps/s390/s390-32/multiarch/memcpy.S
38928         (memcpy_z196): Rename to __memcpy_z196.
38929         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38930         (memcpy_z10): Rename to __memcpy_z10.
38931         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38932         (memcpy): Set alias to __memcpy_g5.
38933         * sysdeps/s390/s390-32/multiarch/memset.S
38934         (memset_z196): Rename to __memset_z196.
38935         Jump to __memset_mvcle instead of memset_mvcle.
38936         (memset_z10): Rename to __memset_z10.
38937         Jump to __memset_mvcle instead of memset_mvcle.
38938         (memset_mvcle) Rename to __memset_mvcle.
38939         (memset): Set alias to __memset_g5.
38940         * sysdeps/s390/s390-64/memcmp.S
38941         (memcmp_z900): Rename to __memcmp_z900.
38942         * sysdeps/s390/s390-64/memcpy.S
38943         (memcpy_z900): Rename to __memcpy_z900.
38944         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38945         (memcpy_mvcle) Rename to __memcpy_mvcle.
38946         * sysdeps/s390/s390-64/memset.S
38947         (memset_z900): Rename to __memset_z900.
38948         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
38949         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38950         and use prefixed functions.
38951         * sysdeps/s390/s390-64/multiarch/memcmp.S
38952         (memcmp_z196): Rename to __memcmp_z196.
38953         (memcmp_z10): Rename to __memcmp_z10.
38954         (memcmp): Set alias to __memcmp_z900.
38955         (bcmp): Set alias to __memcmp_z900.
38956         * sysdeps/s390/s390-64/multiarch/memcpy.S
38957         (memcpy_z196): Rename to __memcpy_z196.
38958         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38959         (memcpy_z10): Rename to __memcpy_z10.
38960         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38961         (memcpy): Set alias to __memcpy_z900.
38962         * sysdeps/s390/s390-64/multiarch/memset.S
38963         (memset_z196): Rename to __memset_z196.
38964         Jump to __memset_mvcle instead of memset_mvcle.
38965         (memset_z10): Rename to __memset_z10.
38966         Jump to __memset_mvcle instead of memset_mvcle.
38967         (memset_mvcle) Rename to __memset_mvcle.
38968         (memset): Set alias to __memset_z900.
38970 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
38972         [BZ #17748]
38973         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
38974         __fesetenv instead of fesetenv.
38976 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38978         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
38979         macro.
38981 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38983         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
38984         regression on LE.
38986         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
38987         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
38988         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38989         strncmp-power8 object.
38990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38991         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
38992         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
38993         * NEWS: Update.
38995 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38996             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38998         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
38999         trailing byte check.
39001 2015-01-13  David S. Miller  <davem@davemloft.net>
39003         * include/signal.h (__sigreturn): Guard with __USE_MISC.
39005 2015-01-13  Roland McGrath  <roland@hack.frob.com>
39007         * login/logout.c (logout): Use memset rather than bzero.
39008         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
39009         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
39010         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
39011         (_gethtbyaddr): Likewise.
39012         * locale/programs/simple-hash.c (bcopy): Macro removed.
39014 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39016         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39017         Add strcmp-power8 object.
39018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39019         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
39020         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
39021         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
39022         __strcmp_power8 implementation.
39023         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
39024         * NEWS: Update.
39026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39027         Add strncpy-power8 and stpncpy-power8 objects.
39028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39029         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
39030         implementations.
39031         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
39032         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39033         __stpncpy_power8 implementation.
39034         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
39035         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
39036         __strncpy_power8 implementation.
39037         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
39038         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
39039         * NEWS: Update.
39041         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
39042         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39043         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
39045         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39046         strncat-power8 object.
39047         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
39048         __strcat_power8 implementation.
39049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39050         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
39051         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
39052         optimized strcat for power8.
39054         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39055         strcpy-power8 and stpcpy-power8 objects.
39056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39057         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
39058         implementations.
39059         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
39060         multiarch stpcpy implementation for POWER8.
39061         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39062         multiarch strcpy implementation for POWER8.
39063         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
39064         __strcpy_power8 function.
39065         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
39066         stpcpy for POWER8.
39067         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
39068         strcpy for POWER8.
39069         * NEWS: Update.
39071 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
39073         [BZ #16009]
39074         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
39075         weights and rules. Use do_xfrm_cached if data fits in cache,
39076         do_xfrm otherwise.  Moved former main loop to...
39077         * (do_xfrm_cached): New function.
39078         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39079         find_idx, find_position and stack_push.
39080         * (find_idx): New function.
39081         * (find_position): Likewise.
39082         * localedata/sort-test.sh: Added test run for do_xfrm.
39083         * localedata/xfrm-test.c (main): Added command line option
39084         -nocache to run the test with strings that are too large for
39085         the STRXFRM cache.
39087 2015-01-13  Torvald Riegel  <triegel@redhat.com>
39089         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39090         variable to lll_futex_wake call, not the value itself.
39092 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
39094         [BZ #17803]
39095         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39096         twom64.  Adjust value to 0x1p-64L.
39097         (__scalblnl): Only return standard underflowing result for K <=
39098         -64 not K <= -63; adjust exponent for underflowing result by 64
39099         not 63.
39100         * math/libm-test.inc (scalbn_test_data): Add more tests.
39101         (scalbln_test_data): Likewise.
39103         [BZ #17834]
39104         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39105         0x1p63L.
39106         (__scalblnl): Get new exponent of adjusted subnormal value from ES
39107         not HX.
39108         * math/libm-test.inc (scalbn_test_data): Add more tests.
39109         (scalbln_test_data): Likewise.
39111 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39112             Stefani Seibold  <stefani@seibold.net>
39114         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39115         (sysdep_routines): Add dl-vdso here, ...
39116         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39117         (sysdep_routines): ... not here.
39118         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39119         fallback when vDSO is not presented.
39120         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39121         Define with libc_hidden_proto/libc_hidden_data_def definitions.
39122         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39123         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39124         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39125         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39126         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39127         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39128         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39129         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39130         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
39131         fallback configurable symbol when vDSO is not available.
39132         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39133         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
39134         be able to redefine fallback symbol when vDSO is not available.
39135         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39136         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39138 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39140         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39141         (TLS_INIT_TP): Add tm_capable initialization.
39142         (TLS_DEFINE_INIT_TP): Likewise.
39143         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39144         TCB.
39145         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39146         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39147         calculation.
39148         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39149         transactoion is lock elision is built and TCB tm_capable is set.
39150         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39152         (INTERNAL_SYSCALL_NCS): Likewise.
39153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39154         (INTERNAL_SYSCALL_NCS): Likewise.
39155         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
39157         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
39158         for powerpc.
39159         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39160         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
39161         and remove it for 32 bits case.
39162         [pthread_rwlock_t] (__rwelision): New field for lock elision.
39163         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
39164         initialization.
39165         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
39166         Disable lock elision with rdlocks if elision is not available.
39168         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
39169         (sysdep_routines): Add lock elision objects.
39170         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39171         [pthread_mutex_t] (__spins): Rework to add lock elision field.
39172         [pthread_mutex_t] (__elision): Add field.
39173         [__PTHREAD_SPINS]: Adjust to init lock elision field.
39174         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
39175         elision definitions for powerpc.
39176         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
39177         implementation of lock elision for powerpc.
39178         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
39179         implementation of timed lock elision for powerpc.
39180         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
39181         implementation of trylock with lock elision for powerpc.
39182         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
39183         implementaion of unlock for lock elision for powerpc.
39184         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
39185         automatic enable lock elision for mutexes.
39186         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
39187         transaction execution definitions for powerpc.
39188         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
39189         definitions.
39190         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
39191         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
39192         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39193         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
39194         * NEWS: Update.
39196 2015-01-09  Roland McGrath  <roland@hack.frob.com>
39198         * sysdeps/posix/shm-directory.c: Use <> rather than ""
39199         for #include of <shm-directory.h>.
39201 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
39203         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
39204         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
39206 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
39208         [BZ #17791]
39209         * NEWS: Mention bug fix.
39210         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
39211         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
39212         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
39214 2015-01-09  Torvald Riegel <triegel@redhat.com>
39216         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
39218 2015-01-09  Torvald Riegel <triegel@redhat.com>
39220         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
39222 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39224         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
39225         pointer and cast to uintptr_t.
39227 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39229         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
39230         removed.
39231         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
39233 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39235         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
39236         of 0.
39238 2015-01-08  Roland McGrath  <roland@hack.frob.com>
39240         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
39241         <nptl/pthreadP.h> instead.
39242         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
39244         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
39245         already defined.
39246         [__SIGRTMIN] (init): Function removed.
39247         [__SIGRTMIN] (initialized): Variable removed.
39248         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
39249         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
39250         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
39251         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
39252         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
39253         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
39254         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
39255         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
39256         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
39257         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
39258         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
39259         * sysdeps/nptl/allocrtsig.c: New file.
39260         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
39261         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
39262         * sysdeps/generic/testrtsig.h: File removed.
39264         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39265         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
39267         * nptl/nptl-init.c (pthread_functions): Conditionalize
39268         .ptr__nptl_setxid initialization on [SIGSETXID].
39270         * sysdeps/nptl/sys/procfs.h: New file.
39271         * nptl_db/Makefile (headers): Add it.
39272         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
39274         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
39275         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
39276         * nptl/pthread_attr_setaffinity.c: Include it.
39277         * nptl/pthread_setattr_default_np.c: Likewise.
39278         * nptl/check-cpuset.h: New file.
39280 2015-01-08  Richard Henderson  <rth@redhat.com>
39282         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
39283         (CFLAGS-tst-execstack-prog.c): Likewise.
39284         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
39286 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
39287             Sandra Loosemore  <sandra@codesourcery.com>
39288             Andrew Jenner  <andrew@codesourcery.com>
39289             Joseph Myers  <joseph@codesourcery.com>
39290             Nathan Sidwell  <nathan@codesourcery.com>
39292         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
39293         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
39294         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
39295         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
39296         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
39297         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
39298         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
39299         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
39300         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
39301         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
39302         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39303         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
39304         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
39305         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39306         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
39307         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
39308         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
39310 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39312         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
39313         timespec struct member in syscall macro.
39314         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
39315         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
39316         first timeval struct member in syscall macro.
39317         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
39319 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
39321         [BZ #17748]
39322         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
39323         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39324         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
39325         __feupdateenv and define as weak alias of __feupdateenv.  Use
39326         libm_hidden_weak.
39327         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
39328         libm_hidden_def.
39329         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
39330         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
39331         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39332         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
39333         libm_hidden_def.
39334         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
39335         __feupdateenv and define as weak alias of __feupdateenv.  Use
39336         libm_hidden_weak.
39337         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
39338         libm_hidden_def.
39339         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
39340         __feupdateenv and define as weak alias of __feupdateenv.  Use
39341         libm_hidden_weak.
39342         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
39343         libm_hidden_def.
39344         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39345         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39346         (__feupdateenv): Likewise.
39347         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39348         __feupdateenv and define as weak alias of __feupdateenv.  Use
39349         libm_hidden_weak.
39350         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39351         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
39352         libm_hidden_def.
39353         * sysdeps/tile/math_private.h (__feupdateenv): New inline
39354         function.
39355         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
39356         libm_hidden_def.
39357         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
39358         __feupdateenv instead of feupdateenv.
39359         (default_libc_feupdateenv_test): Likewise.
39360         (libc_feresetround_ctx): Likewise.
39362 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39364         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
39365         prototype.
39367 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
39369         * posix/regcomp.c (parse_bracket_exp): Initialize type to
39370         COLL_SYM in a couple of places to avoid uninitialized variable
39371         wanings on tilegx gcc 4.8.2.
39373 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39375         * sysdeps/aarch64/strcpy.S: New file.
39376         * sysdeps/aarch64/stpcpy.S: New file.
39377         * NEWS: Updated.
39379 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39381         * sysdeps/aarch64/strrchr.S: New file.
39382         * NEWS: Updated.
39384 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
39386         [BZ #17658]
39387         * stdlib/setenv.c: Fix memory leak when setting large,
39388         duplicate string.
39390 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
39392         [BZ #17273]
39393         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39394         and tabs from buffer before parsing fstab entry.
39395         * misc/tst-mntent.c (main): Add test for mount entry with
39396         trailing spaces and tabs.
39398 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
39400         [BZ #17748]
39401         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
39402         * math/fesetround.c (fesetround): Rename to __fesetround and
39403         define as weak alias of __fesetround.  Use libm_hidden_weak.
39404         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39405         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39406         * sysdeps/arm/fesetround.c (fesetround): Likewise.
39407         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39408         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39409         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39410         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39411         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39412         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39413         __fesetround_inline.
39414         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39415         __fesetround_inline instead of __fesetround.
39416         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39417         __fesetround and define as weak alias of __fesetround.  Use
39418         libm_hidden_weak.  Call __fesetround_inline instead of
39419         __fesetround.
39420         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39421         __fesetround and define as weak alias of __fesetround.  Use
39422         libm_hidden_weak.
39423         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39424         Likewise.
39425         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39426         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39427         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39428         * sysdeps/tile/math_private.h (__fesetround): New inline function.
39429         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39430         __fesetround and define as weak alias of __fesetround.  Use
39431         libm_hidden_weak.
39432         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39433         __fesetround instead of fesetround.
39434         (default_libc_feholdexcept_setround): Likewise.
39435         (libc_feholdsetround_ctx): Likewise.
39436         (libc_feholdsetround_noex_ctx): Likewise.
39438         [BZ #17748]
39439         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39440         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39441         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39442         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39443         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39444         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39445         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39446         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39447         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39448         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39449         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39450         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39451         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39452         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39453         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39454         libm_hidden_def.
39455         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39456         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39457         Likewise.
39458         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39459         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39460         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39461         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39462         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39463         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39464         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39465         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39466         __fesetenv instead of fesetenv.
39467         (libc_feresetround_noex_ctx): Likewise.
39468         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39469         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39470         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39471         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39472         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39473         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39474         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39475         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39476         (__feupdateenv): Likewise.
39477         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39478         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39479         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39480         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39482 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39484         [BZ #17806]
39485         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39486         addresses have been freed.
39488 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39490         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39491         and nservall.
39493 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39495         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39496         Clean up check_pf allocation pattern. addresses
39498 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39500         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39501         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39502         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39503         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39504         * nptl/pthread_join.c (pthread_join): Likewise.
39505         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39506         * sysdeps/posix/waitid.c (__waitid): Likewise.
39507         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39508         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39509         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39510         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39511         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39512         Likewise.
39513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39514         (__libc_pread64): Likewise.
39515         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39516         (__libc_pwrite): Likewise.
39517         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39518         (__libc_pwrite64): Likewsie.
39519         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39520         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39521         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39522         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39523         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39524         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39525         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39527         Likewise.
39528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39529         (__libc_pread64): Likewise.
39530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39531         Likewise.
39532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39533         (__libc_pwrite64): Likewise.
39534         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39535         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39536         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39537         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39538         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39539         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39540         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39541         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39542         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39543         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39544         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39545         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39546         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39547         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39548         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39549         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39550         Likewise.
39552 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39554         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39555         (CFLAGS-test-double.c): Likewise.
39556         (CFLAGS-test-ldouble.c): Likewise.
39557         (CPPFLAGS-test-ifloat.c): Likewise.
39558         (CPPFLAGS-test-idouble.c): Likewise.
39559         (CPPFLAGS-test-ildoubl.c): Likewise.
39560         (CFLAGS-test-test-fenv.c): Remove variable.
39561         (CFLAGS-test-misc.c): Likewise.
39563 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
39565         [BZ #17797]
39566         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39567         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39568         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39569         CLOCKS_PER_SEC == 1000000.
39570         * time/clocktest.c (main): Replace %ld with %jd and cast to
39571         intmax_t.
39573 2015-01-05  Roland McGrath  <roland@hack.frob.com>
39575         * sysdeps/generic/unwind-resume.h: New file.
39576         * sysdeps/gnu/unwind-resume.c: Include it.
39577         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39578         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39579         argument list.
39580         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39581         global rather than static.
39582         (_Unwind_Resume): Update user.
39583         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39584         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
39585         rather than static.  Add __attribute__ ((cold)).
39586         (_Unwind_Resume, __gcc_personality_v0): Update callers.
39587         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39588         * sysdeps/arm/arm-unwind-resume.S: New file.
39589         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39590         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39591         * sysdeps/arm/Makefile [$(subdir) = csu]
39592         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39593         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39594         Add rt-arm-unwind-resume.
39595         [$(subdir) = nptl]
39596         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39597         Add pt-arm-unwind-resume.
39598         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39599         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39601 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39603         [BZ #17748]
39604         * include/fenv.h (__feholdexcept): Declare.  Use
39605         libm_hidden_proto.
39606         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39607         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
39608         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39609         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39610         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39611         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39612         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39613         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39614         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39615         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39616         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39617         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39618         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39619         (feholdexcept): Likewise.
39620         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39621         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39622         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39623         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39624         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39625         __feholdexcept instead of feholdexcept.
39626         (default_libc_feholdexcept_setround): Likewise.
39628 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39630         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39631         to avoid using stl/str to align destination.
39633 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39635         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39637 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39639         [BZ #17796]
39640         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39641         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39642         Define as weak alias not strong alias.
39644 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39646         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39647         bltzal with addiupc.
39648         (RTLD_START): Ditto.
39650 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
39652         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39653         for __vdso_* functions in declarations.
39654         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39655         definitions.
39656         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39657         INTERNAL_VSYSCALL): Use struct return types to check for error.
39659         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39660         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39661         function with cast from llround().
39662         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39663         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39664         Define.
39666 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39668         [BZ #17793]
39669         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39670         Define as weak alias not strong alias.
39672         [BZ #17635]
39673         * ctype/ctype-c99.c: New file.  isblank implementation moved from
39674         ...
39675         * ctype/ctype-extn.c: ... here.
39676         (__isblank_l): Move to ...
39677         * ctype/ctype-c99_l.c: ... here.  New file.
39678         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39679         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39680         Remove variable.
39681         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39682         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39683         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39684         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39685         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39687         [BZ #17777]
39688         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39689         (posix_fadvise64): Define as weak alias not strong alias.
39690         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39691         (posix_fallocate64): Likewise.
39692         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39693         Remove variable.
39694         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39695         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39696         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39697         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39698         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39700 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
39702         [BZ #16191]
39703         * NEWS: Mention bug fix.
39704         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39705         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39706         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39707         (HOST_STACK_END_ADDR): Likewise.
39709 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39711         [BZ #17748]
39712         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
39713         * math/fegetround.c (fegetround): Rename to __fegetround and
39714         define as weak alias of __fegetround.  Use libm_hidden_weak.
39715         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39716         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39717         * sysdeps/arm/fegetround.c (fegetround): Likewise.
39718         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39719         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39720         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39721         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39722         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39723         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39724         Undefine after rather than before function definition; use
39725         parentheses around function name in definition.
39726         (__fegetround): Also undefine macro after function definition.
39727         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39728         __fegetround and define as weak alias of __fegetround.  Use
39729         libm_hidden_weak.  Do not undefine as macro.
39730         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39731         Likewise.
39732         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39733         __fegetround and define as weak alias of __fegetround.  Use
39734         libm_hidden_weak.
39735         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39736         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39737         * sysdeps/tile/math_private.h (__fegetround): New inline function.
39738         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39739         __fegetround and define as weak alias of __fegetround.  Use
39740         libm_hidden_weak.
39741         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39742         __fegetround instead of fegetround.
39744         [BZ #17782]
39745         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39746         Condition macro definition on [__USE_MISC].
39748         [BZ #17781]
39749         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39750         (struct sigaction): Change type of sa_flags field to int.
39752         [BZ #17780]
39753         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39754         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39755         __glibc_reserved0.
39757         * nptl/version.c (banner): Use single year in copyright notice.
39759         * NEWS: Update copyright dates.
39760         * catgets/gencat.c (print_version): Likewise.
39761         * csu/version.c (banner): Likewise.
39762         * debug/catchsegv.sh: Likewise.
39763         * debug/pcprofiledump.c (print_version): Likewise.
39764         * debug/xtrace.sh (do_version): Likewise.
39765         * elf/ldconfig.c (print_version): Likewise.
39766         * elf/ldd.bash.in: Likewise.
39767         * elf/pldd.c (print_version): Likewise.
39768         * elf/sotruss.sh: Likewise.
39769         * elf/sprof.c (print_version): Likewise.
39770         * iconv/iconv_prog.c (print_version): Likewise.
39771         * iconv/iconvconfig.c (print_version): Likewise.
39772         * locale/programs/locale.c (print_version): Likewise.
39773         * locale/programs/localedef.c (print_version): Likewise.
39774         * login/programs/pt_chown.c (print_version): Likewise.
39775         * malloc/memusage.sh (do_version): Likewise.
39776         * malloc/memusagestat.c (print_version): Likewise.
39777         * malloc/mtrace.pl: Likewise.
39778         * manual/libc.texinfo: Likewise.
39779         * nptl/version.c (banner): Likewise.
39780         * nscd/nscd.c (print_version): Likewise.
39781         * nss/getent.c (print_version): Likewise.
39782         * nss/makedb.c (print_version): Likewise.
39783         * posix/getconf.c (main): Likewise.
39784         * scripts/test-installation.pl: Likewise.
39785         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39787 2015-01-02  Will Newton  <will.newton@linaro.org>
39789         * sysdeps/arm/armv7/configure: Removed.
39790         * sysdeps/arm/armv7/configure.ac: Likewise.
39792 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39794         * All files with FSF copyright notices: Update copyright dates
39795         using scripts/update-copyrights.
39796         * intl/plural.c: Regenerated.
39797         * locale/programs/charmap-kw.h: Likewise.
39798         * locale/programs/locfile-kw.h: Likewise.
39800 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39802         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
39804 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39806         [BZ #17748]
39807         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
39808         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
39809         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39810         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39811         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39812         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
39813         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39814         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
39815         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39816         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39817         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39818         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39819         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39820         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39821         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
39822         libm_hidden_def.
39823         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
39824         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
39825         Likewise.
39826         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39827         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39828         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39829         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39830         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
39831         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39832         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39833         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
39834         __fegetenv instead of fegetenv.
39835         (libc_feholdsetround_noex_ctx): Likewise.
39837 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39839         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
39840         (Elf_MIPS_ABIFlags_v0): New structure.
39841         (EF_MIPS_FP64): Define.
39842         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
39843         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
39844         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
39845         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
39846         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
39847         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
39848         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
39849         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
39850         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
39851         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
39852         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
39853         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
39854         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
39855         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
39856         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
39857         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
39858         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
39859         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
39860         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
39861         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
39862         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
39863         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
39864         field.
39865         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
39866         EF_MIPS_FP64.
39867         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
39868         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
39869         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
39870         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
39871         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
39872         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
39873         * sysdeps/mips/tst-abi-interlink.c: Likewise.
39874         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
39875         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
39876         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
39877         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
39878         record the current FP ABI extension.
39879         (mips-mode-switch): Define to show if kernel headers support mode
39880         switching.
39881         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
39882         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
39883         supported SYSV ABI version to 3.
39884         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
39885         feature.
39887 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39888             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39890         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
39891         path.
39892         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
39894 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39896         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
39897         __fegetround and redefine to call __fegetround.  Remove condition
39898         on [!__NO_MATH_INLINES].
39899         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
39900         function.
39901         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
39902         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39903         Remove macro.
39904         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
39905         instead of <fenv_libc.h>.
39906         (__llrintl): Call fegetround instead of __fegetround.
39907         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
39908         instead of <fenv_libc.h>.
39909         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39910         (__lrintl): Call fegetround instead of __fegetround.
39911         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
39912         instead of <fenv_libc.h>.
39913         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39914         (__rintl): Call fegetround instead of __fegetround.
39916 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39918         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
39919         arrays.
39921 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
39923         [BZ #17775]
39924         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
39925         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
39926         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
39928 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
39930         * sysdeps/i386/tls-macros.h: Include <features.h>.
39931         (TLS_LE): Use non-PIC version for GCC >= 5.0.
39932         (TLS_IE): Likewise.
39933         (TLS_LD): Likewise.
39934         (TLS_GD): Likewise.
39935         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
39936         define for GCC >= 5.0.
39938 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
39940         * math/test-fenv.c (test_single_exception, set_single_exc,
39941         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
39942         feexcp_mask_test, feenable_test, fe_single_test): Add
39943         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
39944         case where they are not used.
39945         * math/libm-test.inc: Likewise.
39946         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
39947         unused in the absence of FP rounding/exception support.
39948         * stdio-common/tst-printf-round.c: Likewise.
39949         * stdlib/tst-strtod-round.c: Likewise.
39950         * stdlib/tst-strtod-underflow.c: Likewise.
39952 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
39954         [BZ #17723]
39955         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
39956         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
39957         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39958         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39959         libm_hidden_weak.
39960         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
39961         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39962         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
39963         libm_hidden_def.
39964         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39965         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39966         libm_hidden_weak.
39967         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
39968         Likewise.
39969         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
39970         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39971         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39972         libm_hidden_weak.
39973         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39974         libm_hidden_def.
39975         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39976         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
39977         (__feraiseexcept): Likewise.
39978         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39979         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39980         libm_hidden_weak.
39981         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39982         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39983         libm_hidden_def.
39984         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
39985         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
39986         Use libm_hidden_def.
39987         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
39988         libm_hidden_def.
39989         (feraiseexcept): Define as weak not strong alias.  Use
39990         libm_hidden_weak.
39991         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
39992         New inline function.  Factored out of ...
39993         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
39994         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
39995         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
39996         feraiseexcept.
39997         * math/w_acos.c (__acos): Likewise.
39998         * math/w_asin.c (__asin): Likewise.
39999         * math/w_ilogb.c (__ilogb): Likewise.
40000         * math/w_j0.c (y0): Likewise.
40001         * math/w_j1.c (y1): Likewise.
40002         * math/w_jn.c (yn): Likewise.
40003         * math/w_log.c (__log): Likewise.
40004         * math/w_log10.c (__log10): Likewise.
40005         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
40006         * sysdeps/aarch64/fpu/math_private.h
40007         (libc_feupdateenv_test_aarch64): Likewise.
40008         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40009         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
40010         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
40011         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40012         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40013         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40014         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
40015         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40016         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40017         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40019 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40021         [BZ #17732]
40022         * io/test-utime.c (main): Replace %ld with %jd and cast to
40023         intmax_t.
40024         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
40025         * nptl/tst-mutex5.c: Include <stdint.h>.
40026         (do_test): Replace %ld with %jd and cast to intmax_t.
40027         * posix/tst-regex.c (run_test): Likewise.
40028         (run_test_backwards): Likewise.
40029         * rt/tst-clock.c: Include <stdint.h>.
40030         (clock_test): Replace %ld with %jd and cast to intmax_t.
40031         * rt/tst-cpuclock1.c: Include <stdint.h>.
40032         (do_test): Replace %lu with %ju and cast to uintmax_t.
40033         * rt/tst-cpuclock2.c: Include <stdint.h>.
40034         (do_test): Replace %lu with %ju and cast to uintmax_t.
40035         * rt/tst-mqueue1.c: Include <stdint.h>.
40036         (check_attrs): Replace %ld with %jd and cast to intmax_t.
40037         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
40038         intmax_t.
40039         * rt/tst-mqueue4.c (do_test): Likewise.
40040         * rt/tst-timer4.c: Include <stdint.h>.
40041         (check_ts): Replace %ld with %jd and cast to intmax_t.
40042         (do_test): Likewise.
40043         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
40044         and cast to intmax_t.
40045         * sysdeps/pthread/tst-timer.c (main): Likewise.
40046         * time/clocktest.c (main): Likewise.
40047         * time/tst-posixtz.c (do_test): Likewise.
40048         * timezone/tst-timezone.c (main): Likewise.
40050 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40051             H.J. Lu  <hongjiu.lu@intel.com>
40053         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
40054         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
40055         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
40056         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
40057         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
40058         version if bit_Fast_Unaligned_Load is set.
40059         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40060         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40061         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40062         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40063         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40064         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40065         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40066         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
40067         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
40068         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
40069         to 4.
40070         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
40071         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
40072         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
40073         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
40075 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
40077         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
40078         instead of #if to avoid a Wundef warning.
40079         * stdlib/tst-limits.c (do_test): Likewise.
40081         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40082         parallel other exception macros.
40083         (fegetenv): Convert from macro to extern inline so that it applies
40084         retroactively to inline functions already seen by the compiler.
40085         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40087         * posix/Makefile (before-compile): Use $(objpfx) for
40088         posix-conf-vars-def.h.
40090 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40092         * posix/getconf.c (main): Use size_t for type of I.
40093         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40094         NSPEC.
40096         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40097         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40098         * posix/posix-envs.def: Likewise.
40099         * sysdeps/posix/sysconf.c: Likewise.
40100         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40101         (specs): Remove array.
40102         * scripts/gen-posix-conf-vars.awk: Support generation of specs
40103         array.
40105         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40106         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40107         (__sysconf): Use CONF_IS_* macros.
40109         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40110         ($(objpfx)posix-conf-vars-def.h): New target.
40111         * posix/posix-conf-vars.list: New file.
40112         * posix/posix-conf-vars.h: New file.
40113         * posix/confstr.c: Include posix-conf-vars.h.
40114         (confstr): Use CONF_IS_* macros.
40115         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
40116         CONF_IS_* macros.
40117         * scripts/gen-posix-conf-vars.awk: New file.
40119 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
40121         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40122         fegetround): Add no-op macros to avoid linknamespace issues.
40124         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40125         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40127         * sysdeps/unix/sysv/linux/tile/sysdep.h
40128         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40129         assembly-specific section to avoid a redefinition warning.
40131         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40132         long before casting to pointer to avoid a cast warning.
40134 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
40136         * sysdeps/tile/tilegx/Implies: New file.
40138 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
40140         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40142 2014-12-23  Florian Weimer  <fweimer@redhat.com>
40144         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40146 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40148         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40149         not define.
40150         * sysdeps/unix/sysv/linux/utimes.c: Do not include
40151         <kernel-features.h>.
40152         (__utimes) [__NR_utimes]: Make code unconditional.
40153         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
40154         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40155         (__ASSUME_UTIMES): Do not undefine.
40156         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40157         (__ASSUME_UTIMES): Likewise.
40158         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40159         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
40160         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
40161         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
40163 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40165         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
40167 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
40169         [BZ #17747]
40170         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
40171         alias to weak alias for j0l, y0l.
40172         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
40173         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
40175         [BZ #17746]
40176         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
40177         conversion.
40179 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40181         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
40182         to zero if not already defined.
40184 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40186         [BZ #17724]
40187         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
40188         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
40189         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
40190         (char *) casts added.
40191         * sysdeps/ieee754/k_standardf.c: New file.
40192         * sysdeps/ieee754/k_standardl.c: Likewise.
40193         * math/Makefile (libm-support): Remove k_standard.
40194         (libm-calls): Add k_standard.
40196 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40198         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40199         Optimize to avoid an unnecessary FPCR read.
40201 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40203         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
40204         Optimize to reduce FPCR/FPSR accesses.
40206 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40208         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
40209         Call libc_fetestexcept_aarch64.
40211 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40213         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
40214         Call libc_fesetround_aarch64.
40216 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40218         [BZ #17733]
40219         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
40220         (__bind): Do not define as weak alias.
40221         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
40222         define.
40223         (__getsockname): Do not define as weak alias.
40225 2014-12-22  Will Newton  <will.newton@linaro.org>
40227         * manual/install.texi: Document that we require bison 2.7
40228         or above.
40229         * INSTALL: Regenerate.
40230         * configure.ac: Use AC_CHECK_PROG_VER instead of
40231         AC_PATH_PROG when checking for bison and check for
40232         version 2.7 or above.
40233         * configure: Regenerate.
40235 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
40237         [BZ #17745]
40238         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
40239         * sysdeps/tile/ffsll.c (ffsll): To here.
40241         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
40243 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40245         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40246         if not defined.
40247         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
40248         definition.
40249         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40250         hidden ___tls_get_addr.
40251         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40252         hidden __tls_get_addr.
40253         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
40254         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
40255         Likewise.
40257 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40259         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
40260         _dl_init call.
40262 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40264         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
40265         from "call _dl_init@PLT".
40266         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
40268 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
40270         * manual/search.texi: (Array Sort Function): Clarify stable sorting
40271         guarantees.
40273 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
40275         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
40277 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40279         [BZ #17744]
40280         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
40281         strnlen.
40283 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40285         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
40286         of multu on MIPSr6.
40287         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
40288         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
40289         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
40290         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
40291         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
40293 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40295         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
40296         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
40297         (PTR_SUBU): Use subu for mips32r6/mips64r6.
40298         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
40299         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
40300         mips32r6/mips64r6.
40301         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
40303 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
40305         * string/strncat.c (STRNCAT): Simplify implementation.
40307 2014-12-19  David S. Miller  <davem@davemloft.net>
40309         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
40310         access the quad as both a long double and as a series of 4 words.
40312         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
40313         link_map->l_info array access.
40315 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40317         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
40319         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
40320         * math/atest-exp2.c (TIMEOUT): Likewise.
40321         * math/atest-sincos.c (TIMEOUT): Likewise.
40323 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40325         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
40326         -Wno-error with -fno-builtin-lround.
40328 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40330         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
40331         Contains futex constants and functions moved over from ...
40332         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
40333         <lowlevellock-futex.h>.
40334         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40335         (lll_timedwait_tid): Add comments and parentheses around macro
40336         arguments.
40338 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40340         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
40341         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
40342         (__lll_private_flag): Remove.
40343         (lll_futex_wait): Likewise.
40344         (lll_futex_timed_wait): Likewise.
40345         (lll_futex_wake): Likewise.
40346         (lll_futex_requeue): Likewise.
40347         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40348         (__lll_timedwait_tid): Spell out argument names.
40349         (lll_timedwait_tid): Add comments and parentheses around macro
40350         arguments.
40351         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
40352         LLL_SHARED and LLL_PRIVATE usable from assembly code.
40354 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40356         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
40357         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40358         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40359         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
40360         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
40361         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
40362         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
40363         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
40364         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
40365         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
40366         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
40367         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
40368         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
40369         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
40370         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
40371         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
40372         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40373         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40374         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40376 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40378         * sysdeps/x86_64/x32/Makefile: New file.
40380 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40382         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40383         1L with (mp_limb_t) 1.
40385 2014-12-17  Roland McGrath  <roland@hack.frob.com>
40387         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40388         * nptl/libc_pthread_init.c: ... here.
40389         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40390         * nptl/register-atfork.c: ... here.
40392         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40393         Use pthread_sigmask rather than INTERNAL_SYSCALL.
40394         Use assert_perror to check its return value.
40395         (__gai_create_helper_thread): Likewise.
40397         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40399         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40401 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
40403         [BZ #17725]
40404         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40405         __profil_counter.
40406         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40407         Likewise.
40408         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40409         Likewise.
40410         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40411         Likewise.
40412         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40413         (profil_counter): Likewise.
40414         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40415         (profil_counter): Likewise.
40416         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40417         Likewise.
40418         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40419         Likewise.
40420         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40421         (profil_counter): Likewise.
40422         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40423         Likewise.
40424         [!__profil_counter] (profil_counter): Define as weak alias of
40425         __profil_counter.
40426         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40427         (profil_counter): Rename to __profil_counter.
40428         [!__profil_counter] (profil_counter): Define as weak alias of
40429         __profil_counter.
40430         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40431         (profil_counter): Rename to __profil_counter.
40432         [!__profil_counter] (profil_counter): Define as weak alias of
40433         __profil_counter.
40434         * sysdeps/posix/profil.c: Update comment referring to
40435         profil_counter.
40436         (__profil): Use __profil_counter instead of profil_counter.
40437         * sysdeps/posix/sprofil.c (profil_counter): Rename to
40438         __profil_counter.  Use __profil_counter_ushort and
40439         __profil_counter_uint in definitions.
40440         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40441         instead of profil_counter_uint and profil_counter_ushort.
40443         [BZ #17722]
40444         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40445         define as weak alias of __inet_makeaddr.
40446         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40447         as weak alias of __inet_addr.
40448         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40449         as weak alias of __inet_pton.  Use libc_hidden_weak.
40450         * include/arpa/inet.h (__inet_pton): Declare.  Use
40451         libc_hidden_proto.
40452         (inet_makeaddr): Don't use libc_hidden_proto.
40453         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
40454         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40455         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
40456         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40457         Remove variable.
40458         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40459         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40461 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40463         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40465 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40467         * stdio-common/bug-vfprintf-nargs.c (do_test):
40468         Cast value to intptr_t to avoid format warning
40469         for usage with PRIdPTR printing macro.
40471 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40473         * libio/tst-widetext.c (do_test):
40474         Use format type %td instead of %Zd for ptrdiff_t
40475         in order to avoid format warning.
40477 2014-12-17  Andreas Schwab  <schwab@suse.de>
40479         * nscd/mem.c (gc): Add size_t cast to match printf format.
40481 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40483         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40484         (init): Apply PTR_MANGLE to pointers before storing them.
40485         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40486         before using them.
40488 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40490         [BZ #17719]
40491         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40492         define as weak alias of __memrchr.
40493         (__memrchr): Do not define as strong alias of memrchr.
40494         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40495         Remove variable.
40496         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40497         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40498         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40500         [BZ #17717]
40501         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40502         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40503         (if_indextoname): Rename to __if_indextoname and define as weak
40504         alias of __if_indextoname.  Use libc_hidden_weak.
40505         (if_freenameindex): Rename to __if_freenameindex and define as
40506         weak alias of __if_freenameindex.
40507         (if_nameindex): Rename to __if_nameindex and define as weak alias
40508         of __if_nameindex.
40509         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40510         __if_nametoindex and define as weak alias of __if_nametoindex.
40511         Use libc_hidden_weak.
40512         (if_freenameindex): Rename to __if_freenameindex and define as
40513         weak alias of __if_freenameindex.
40514         (if_nameindex): Rename to __if_nameindex and define as weak alias
40515         of __if_nameindex.
40516         (if_indextoname): Rename to __if_indextoname and define as weak
40517         alias of __if_indextoname.  Use libc_hidden_weak.
40518         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40519         __if_nametoindex and define as weak alias of __if_nametoindex.
40520         Use libc_hidden_weak.
40521         (if_freenameindex): Rename to __if_freenameindex and define as
40522         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40523         (if_nameindex_netlink): Use __if_freenameindex instead of
40524         if_freenameindex.
40525         (if_nameindex): Rename to __if_nameindex and define as weak alias
40526         of __if_nameindex.  Use libc_hidden_weak.
40527         (if_indextoname): Rename to __if_indextoname and define as weak
40528         alias of __if_indextoname.  Use libc_hidden_weak.
40529         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40530         libc_hidden_proto.
40531         [!_ISOMAC] (__if_freenameindex): Likewise.
40532         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40533         if_nametoindex.
40534         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40535         variable.
40536         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40537         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40538         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40539         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40540         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40541         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40542         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40544         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40545         Remove variable.
40546         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40547         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40549 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40551         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40552         subscript above bounds'
40554         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40555         bounds.
40557 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40559         * libio/tst-fopenloc.c: Use test-skeleton.c.
40561         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40562         (entry): Rename to ITEM.
40563         (do_test, comp): Adjust.
40565         * stdio-common/tst-fseek.c: Use test-skeleton.c.
40567 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40569         * string/tester.c: Include <libc-internal.h>.
40570         (test_memset): Ignore -Wmemset-transposed-args.
40572 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40574         * misc/tst-mntent2.c (do_test): Fix warning.
40576 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40578         * elf/tst-unique4lib.cc(a): Mark as used.
40580 2014-12-16  Florian Weimer  <fweimer@redhat.com>
40582         [BZ #17630]
40583         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40584         names.
40586 2014-12-16  Allan McRae  <allan@archlinux.org>
40588         * stdio-common/Makefile (tests): Re-add bug26.
40590 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
40592         [BZ #17657]
40593         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40594         static array.
40596 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
40598         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40599         (__lll_lock_wait): Likewise.
40600         (__lll_timedlock_wait): Likewise.
40601         (__lll_timedwait_tid): Likewise.
40602         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40603         (__lll_robust_timedlock_wait): Likewise.
40604         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40605         (lll_cond_trylock): Likewise.
40606         (__lll_lock): Likewise.
40607         (__lll_robust_lock): Likewise.
40608         (__lll_cond_lock): Likewise.
40609         (lll_robust_cond_lock): Likewise.
40610         (__lll_timedlock): Likewise.
40611         (__lll_robust_timedlock): Likewise.
40612         (__lll_unlock): Likewise.
40613         (__lll_robust_unlock): Likewise.
40614         (lll_wait_tid): Likewise.
40615         (lll_timedwait_tid): Likewise.
40617 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40619         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40621 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40623         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40625 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40627         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40628         * stdio-common/tst-sprintf.c: Likewise.
40630 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40632         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40634 2014-12-15  Jeff Law  <law@redhat.com>
40636         [BZ #16617]
40637         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40638         on the heap.  (CVE-2012-3406)
40639         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40640         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
40641         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40643 2014-12-15  Will Newton  <will.newton@linaro.org>
40645         * manual/install.texi: Bump required version of texinfo
40646         to 4.7 from 4.5.
40647         * INSTALL: Regenerated.
40648         * configure.ac: Check for makeinfo version 4.7 and above.
40649         * configure: Regenerated.
40651 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40653         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40654         PREFIX, string constant to insert between directory and name.
40655         * sysdeps/posix/shm_open.c: Update caller.
40656         * sysdeps/posix/shm_unlink.c: Likewise.
40657         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40658         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40659         (SEM_SHM_PREFIX): New macro.
40660         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40661         [$(have-thread-library) = no].
40662         * nptl/Makefile (libpthread-routines): Add shm-directory.
40663         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40664         * sysdeps/nptl/shm-directory.h: New file.
40665         * sysdeps/posix/shm-directory.c
40666         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40667         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40668         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40669         INTERNAL_SYSCALL.
40670         (__where_is_shmfs): Function removed.
40671         (mountpoint, defaultmount, defaultdir, __namedsem_once):
40672         Variables removed.
40673         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40674         Use SHM_GET_NAME.
40675         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
40677         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40678         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40679         unconditional for use inside libpthread.
40680         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40682 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40684         * nptl/pthread_getaffinity.c: New file.
40685         * nptl/pthread_setaffinity.c: New file.
40686         * nptl/pthread_getname.c: New file.
40687         * nptl/pthread_setname.c: New file.
40689         * nptl/pthread_create.c (START_THREAD_DEFN)
40690         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40692 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40693             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40695         * resolv/res_send.c (send_vc): Disable warning resplen may
40696         be used uninitialized.
40698 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40700         * nptl/tst-mutex6.c
40701         (ATTR_NULL): New define checks ATTR against NULL.
40702         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40703         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40705 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
40707         [BZ #17581]
40708         * malloc/hooks.c
40709         (mem2mem_check): Revert my previous change.
40710         (malloc_check_get_size): Revert my previous change.
40711         (mem2chunk_check): Revert my previous change.
40713 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40715         * sysdeps/posix/shm-directory.c: New file.
40716         * sysdeps/posix/shm-directory.h: New file.
40717         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40718         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40719         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
40720         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40721         Transmute EPERM to EACCES.
40722         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40723         from ...
40724         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
40725         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40727 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40729         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40730         pointer and cast to uintptr_t.
40731         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40732         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40733         Add cast to avoid warning.
40734         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40736 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40738         * nptl/semaphore.h: Move to ...
40739         * sysdeps/pthread/semaphore.h: ... here.
40740         * Makefile (installed-headers): Change nptl/semaphore.h to
40741         sysdeps/pthread/semaphore.h.
40743 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40745         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40746         generated error format strings.
40748         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40749         -Wformat-extra-args warnings for scanf formats.
40750         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40751         test of zero-length format (duh).
40752         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40753         corner-case scanf format test.
40754         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40755         generated fprintf format string.
40756         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40757         corner-case sprintf format tests.
40758         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40759         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40760         -Wformat-extra-args warnings throughout.
40761         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40762         (CFLAGS-scanf4.c): Likewise.
40763         (CFLAGS-scanf7.c): Likewise.
40764         (CFLAGS-tst-sprintf.c): Likewise.
40765         (CFLAGS-tst-printf.c): Likewise.
40766         (CFLAGS-tst-printfsz.c): Likewise.
40768 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40770         * include/cpio.h: New file.
40771         * include/fmtmsg.h: Likewise.
40773         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
40774         corresponding format argument to size_t.
40775         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
40776         arguments.
40777         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
40778         corresponding format argument to size_t.
40779         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
40780         arguments.
40781         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40782         corresponding format argument to size_t.
40783         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40784         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40785         (CFLAGS-tst-mbswcs2.c): Likewise.
40786         (CFLAGS-tst-mbswcs3.c): Likewise.
40787         (CFLAGS-tst-mbswcs4.c): Likewise.
40788         (CFLAGS-tst-mbswcs5.c): Likewise.
40789         (CFLAGS-tst-trans.c): Likewise.
40791 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40793         * posix/regexbug1.c (main): Use "%s" format with regerror results,
40794         rather than assuming they won't contain any '%'s.
40796 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
40798         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
40799         inhibit_loop_to_libcall to avoid recursive calls.
40800         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
40801         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
40803 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40805         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
40806         prototype.
40808 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40810         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
40811         integer value instead of boolean.
40813 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40815         * malloc/malloc.c: Fix powerof2 check.
40817 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40819         * locale/programs/locfile.h (maybe_swap_uint32):
40820         Remove inline and add unused attribute.
40822 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40824         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40825         Truncating assembler expression to a .long expression.
40827 2014-12-11  Andreas Schwab  <schwab@suse.de>
40829         * elf/rtld.c (struct map_args): Constify str member.
40830         (do_preload): Constify fname argument.
40832 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40834         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
40835         constants definition.
40837 2014-12-11  Andreas Schwab  <schwab@suse.de>
40839         [BZ #16657]
40840         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
40841         FORCE_ELISION instead of DO_ELISION.
40842         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
40843         Remove.
40844         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
40845         Likewise.
40847         * iconvdata/gconv-modules: Remove duplicate entry.
40849 2014-12-11  Will Newton  <will.newton@linaro.org>
40851         Merge gettext 0.19.3 into intl/.
40853         This involves a number of cosmetic changes to comments
40854         and ANSI function definitions and prototypes throughout
40855         all the files. The gettext copyright header is used but
40856         with the date ranges taken from the glibc copy.
40858         * NEWS: Add gettext merge to 2.21.
40859         * intl/bindtextdom.c: Switch to gettext copyright.
40860         Use ANSI definitions and prototypes.
40861         Use gl_* locking primitives rather than __libc_* ones.
40862         Use __builtin_expect rather than __glibc_likely/unlikely.
40863         * intl/dcgettext.c: Switch to gettext copyright.
40864         Use ANSI definitions and prototypes.
40865         * intl/dcigettext.c: Switch to gettext copyright.
40866         Use ANSI definitions and prototypes.
40867         (INTDIV0_RAISES_SIGFPE): New define.
40868         Use gl_* locking primitives rather than __libc_* ones.
40869         Include eval-plural.h instead of plural-eval.c.
40870         Use __builtin_expect rather than __glibc_likely/unlikely.
40871         * intl/dcngettext.c: Switch to gettext copyright.
40872         Use ANSI definitions and prototypes.
40873         * intl/dgettext.c: Likewise.
40874         * intl/dngettext.c: Likewise.
40875         * intl/plural-eval.c: Renamed to...
40876         * intl/eval-plural.h: ...this.
40877         * intl/explodename.c: Switch to gettext copyright.
40878         Use ANSI definitions and prototypes.
40879         (_nl_explode_name): Use strchr instead of __rawmemchr.
40880         * intl/finddomain.c: Switch to gettext copyright.
40881         Use ANSI definitions and prototypes.
40882         Use gl_* locking primitives rather than __libc_* ones.
40883         (_nl_find_domain): Use malloc rather than alloca for
40884         allocation of temporary locale name.
40885         * intl/gettext.c: Switch to gettext copyright.
40886         Use ANSI definitions and prototypes.
40887         * intl/gettextP.h: Switch to gettext copyright.
40888         Use ANSI definitions and prototypes.
40889         Use gl_* locking primitives rather than __libc_* ones.
40890         * intl/gmo.h: Switch to gettext copyright.
40891         (struct sysdep_string): Move struct segment_pair outside of
40892         struct definition.
40893         * intl/hash-string.c: Use ANSI definitions and prototypes.
40894         * intl/hash-string.h: Switch to gettext copyright.
40895         Use ANSI definitions and prototypes.
40896         * intl/l10nflist.c: Switch to gettext copyright.
40897         Use ANSI definitions and prototypes.
40898         (_nl_normalize_codeset): Avoid integer overflow.
40899         * intl/loadinfo.h: Switch to gettext copyright.
40900         Use ANSI definitions and prototypes.
40901         (LIBINTL_DLL_EXPORTED): New define.
40902         (PATH_SEPARATOR): New define.
40903         * intl/loadmsgcat.c: Switch to gettext copyright.
40904         * intl/localealias.c: Switch to gettext copyright.
40905         Use ANSI definitions and prototypes.
40906         (_nl_expand_alias): Use PATH_SEPARATOR.
40907         * intl/ngettext.c: Switch to gettext copyright.
40908         Use ANSI definitions and prototypes.
40909         * intl/plural-exp.c: Likewise.
40910         * intl/plural-exp.h: Switch to gettext copyright.
40911         Use ANSI definitions and prototypes.
40912         (struct expression): Move definition of enum operator outside
40913         of struct definition.
40914         * intl/plural.c: Regenerate.
40915         * intl/plural.y: Switch to gettext copyright.
40916         Use ANSI definitions and prototypes.
40917         Port to bison 3.0.
40918         * intl/textdomain.c: Switch to gettext copyright.
40919         Use ANSI definitions and prototypes.
40920         Use gl_* locking primitives rather than __libc_* ones.
40922 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
40924         * debug/warning-nop.c: Add used atrribute.
40926 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40928         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
40930         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
40931         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
40932         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
40934 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40935             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40937         [BZ #17634]
40938         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
40939         Undefine after defining function.  Define as weak alias of
40940         __wcschr.  Use libc_hidden_weak.
40941         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
40942         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
40943         (libc_hidden_def): Also define __GI___wcschr alias.
40944         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
40945         __wcschr and define as weak alias of __wcschr.
40946         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
40947         __wcschr.
40948         [!WCSCHR] (DEFAULT_WCSCHR): Define.
40949         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
40950         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
40951         libc_hidden_weak.  Do not use libc_hidden_def.
40952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
40953         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
40954         __GI___wcschr alias.
40955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
40956         [IS_IN (libc)] (wcschr): Define as macro expanding to
40957         __redirect_wcschr.
40958         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
40959         [IS_IN (libc)] (__wcschr_power6): Likewise.
40960         [IS_IN (libc)] (__wcschr_power7): Likewise.
40961         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
40962         instead of wcschr.
40963         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
40964         __libc_wcschr.
40965         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
40966         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
40967         __wcschr and define as weak alias of __wcschr.  Use
40968         libc_hidden_builtin_def.
40969         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
40970         as weak alias of __wcschr.  Use libc_hidden_weak.
40971         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
40972         wcschr.
40973         * time/era.c (_nl_init_era_entries): Likewise.
40974         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
40975         variable.
40976         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40977         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40979 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40981         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
40982         format for long int variable.
40984 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
40986         [BZ #10672]
40987         * manual/search.texi: (Array Sort Function): Remove claim how to make
40988         qsort stable.
40990 2014-12-10  Andreas Schwab  <schwab@suse.de>
40992         [BZ #12847]
40993         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
40994         user-controlled locks.
40996 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
40998         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
40999         register.
41001 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41003         * configure.ac (--disable-werror): New configure option.
41004         (enable_werror): New AC_SUBST.
41005         * configure: Regenerated.
41006         * config.make.in (enable-werror): New variable.
41007         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
41008         -Wno-error=undef.
41009         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
41010         * manual/install.texi (Configuring and compiling): Document
41011         --disable-werror.
41012         * INSTALL: Regenerated.
41013         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
41014         (CFLAGS-tst-chk2.c): Likewise.
41015         (CFLAGS-tst-chk3.c): Likewise.
41016         (CFLAGS-tst-chk4.cc): Likewise.
41017         (CFLAGS-tst-chk5.cc): Likewise.
41018         (CFLAGS-tst-chk6.cc): Likewise.
41019         (CFLAGS-tst-lfschk1.c): Likewise.
41020         (CFLAGS-tst-lfschk2.c): Likewise.
41021         (CFLAGS-tst-lfschk3.c): Likewise.
41022         (CFLAGS-tst-lfschk4.cc): Likewise.
41023         (CFLAGS-tst-lfschk5.cc): Likewise.
41024         (CFLAGS-tst-lfschk6.cc): Likewise.
41026         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
41027         (main): Disable -Wdeprecated-declarations around calls to
41028         register_printf_function.
41030         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
41031         (do_test): Disable -Wdiv-by-zero around some calls to
41032         fwrite_unlocked and fread_unlocked.
41034         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
41035         (DIAG_POP_NEEDS_COMMENT): Likewise.
41036         (_DIAG_STR1): Likewise.
41037         (_DIAG_STR): Likewise.
41038         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
41039         * stdio-common/bug21.c: Include <libc-internal.h>.
41040         (do_test): Disable -Wformat around call to sscanf.
41041         * stdio-common/scanf14.c: Include <libc-internal.h>.
41042         (main): Disable -Wformat around some calls to scanf functions.
41044 2014-12-09  Torvald Riegel  <triegel@redhat.com>
41046         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
41048 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41050         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
41051         stack variable alignment.
41053 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
41055         [BZ #17682]
41056         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
41057         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
41058         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
41059         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
41060         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
41061         __getrlimit instead of getrlimit.
41062         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
41063         __gettimeofday instead of gettimeofday.
41064         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
41065         Likewise.
41066         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
41067         Likewise.
41068         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41069         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
41070         Remove variable.
41071         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41072         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41074 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41076         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
41077         for wide-character tests.
41079 2014-12-04  Roland McGrath  <roland@hack.frob.com>
41081         * io/openat64.c: #include <libc-internal.h>
41082         (__openat64): Prototypify.  Use ignore_value on MODE.
41083         * io/openat.c: Likewise.
41084         * misc/reboot.c: #include <libc-internal.h>
41085         (reboot): Prototypify.  Use ignore_value on HOWTO.
41086         * misc/ptrace.c: #include <libc-internal.h>
41087         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
41089 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
41091         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41092         XPG4, UNIX98 and XOPEN2K.
41093         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41094         Remove variable.
41095         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41097 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41099         * libio/fileops.c: Use ISO C style for function definitions.
41100         * libio/iofopen.c: Likewise.
41101         * libio/wfileops.c: Likewise.
41103         [BZ #17653]
41104         * libio/fileops.c (_IO_new_file_underflow): Unset cached
41105         offset on EOF.
41106         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41107         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41108         (fgets_func): Function pointer to fgets and fgetws.
41109         (do_ftell_test): Add test to verify ftell value after read
41110         EOF.
41111         (do_test): Set fgets_func.
41113         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41114         O_TRUNC flag for w and w+ modes.
41115         (do_rewind_test): Likewise.
41116         (do_ftell_test): Likewise.
41117         (do_write_test): Likewise.
41119         [BZ #17647]
41120         * libio/fileops.c (do_ftell): Seek only when there are
41121         unflushed writes.
41122         * libio/wfileops.c (do_ftell_wide): Likewise.
41123         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41124         test case.
41125         (do_one_test): Call it.
41127 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
41129         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41130         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41131         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41132         Remove variable.
41133         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41134         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41135         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41137 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41139         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41140         Remove variable.
41141         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41143         [BZ #17668]
41144         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41145         as weak alias of __getifaddrs.  Use libc_hidden_weak.
41146         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41147         __freeifaddrs.  Use libc_hidden_weak.
41148         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41149         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
41150         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41151         __freeifaddrs.  Use libc_hidden_weak.
41152         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
41153         __getifaddrs and define as weak alias of __getifaddrs.  Use
41154         libc_hidden_weak.
41155         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41156         __freeifaddrs.  Use libc_hidden_weak.
41157         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
41158         Remove variable.
41159         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41160         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41162 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
41164         [BZ #17601]
41165         * sysdeps/mips/start.S (__start): Use indirect jump to call
41166         __libc_start_main.
41168 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41170         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
41172         * nptl/tst-mutex1.c: Include <stdbool.h>.
41173         [!ATTR] (ATTR_NULL): New macro.
41174         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
41175         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
41176         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
41178         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
41179         to char *.
41181         [BZ #17665]
41182         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
41183         Change conditional to [__USE_MISC].
41185         [BZ #17664]
41186         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
41187         fgets_unlocked.
41188         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
41189         __fgets_unlocked.
41190         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
41191         fgets_unlocked.
41192         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
41193         Remove variable.
41194         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41195         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41196         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41197         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41198         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41199         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41200         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41201         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41202         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41204         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
41206 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41208         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41209         Remove strpbrk objects.
41210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41211         (__libc_ifunc_impl_list): Remove strpbrk implementation.
41212         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
41213         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
41214         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
41215         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41217         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41218         Remove strcspn objects.
41219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41220         (__libc_ifunc_impl_list): Remove strcspn implementation.
41221         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
41222         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
41223         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
41224         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
41226         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41227         Remove strspn objetcs.
41228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41229         (__libc_ifunc_impl_list): Remove strspn implementation.
41230         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
41231         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41232         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
41233         * sysdeps/powerpc/powerpc64/strspn.S: New file.
41235 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
41237         [BZ #17581]
41238         * malloc/hooks.c
41239         (mem2mem_check): Add a terminator to the chain of checking blocks.
41240         (malloc_check_get_size): Use it here.
41241         (mem2chunk_check): Ditto.
41243 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41245         * sysdeps/powerpc/powerpc64/strtok.S: New file.
41246         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
41248 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
41250         * bits/ioctl-types.h: Indent preprocessor directives correctly.
41252         * nptl/nptl-init.c: Include libc-internal.h.
41253         (__pthread_initialize_minimal_internal): Use ROUND_UP.
41255         * elf/ldconfig.c (search_dir): Expand comment.
41257 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
41259         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
41260         variable.
41261         (linknamespace-symlist-stdlibs-tests): Likewise.
41262         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
41263         instead of $(objpfx)symlist-stdlibs.
41264         (linknamespace-libs-isoc): New variable.
41265         (linknamespace-libs): Use $(linknamespace-libs-isoc).
41266         (linknamespace-libs-ISO): New variable.
41267         (linknamespace-libs-ISO99): Likewise.
41268         (linknamespace-libs-ISO11): Likewise.
41269         (linknamespace-libs-XPG3): Likewise.
41270         (linknamespace-libs-XPG4): Likewise.
41271         (linknamespace-libs-POSIX): Likewise.
41272         (linknamespace-libs-UNIX98): Likewise.
41273         (linknamespace-libs-XOPEN2K): Likewise.
41274         (linknamespace-libs-POSIX2008): Likewise.
41275         (linknamespace-libs-XOPEN2K8): Likewise.
41276         ($(objpfx)symlist-stdlibs): Replace by
41277         $(linknamespace-symlist-stdlibs-tests).  Use
41278         $(linknamespace-libs-$*) as set of libraries.
41279         ($(linknamespace-header-tests)): Update dependencies.  Use
41280         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
41281         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
41282         * conform/linknamespace.pl: Remove comment about considering
41283         definitions of symbols from irrelevant libraries.
41285 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
41287         [BZ #13862]
41288         * elf/dl-tls.c: Include <atomic.h>.
41289         (oom): Remove #ifdef SHARED/#endif.
41290         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
41291         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
41292         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
41293         big enough.
41294         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
41295         * nptl/Makefile (tests): Add tst-stack4.
41296         (modules-names): Add tst-stack4mod.
41297         ($(objpfx)tst-stack4): New.
41298         (tst-stack4mod.sos): Likewise.
41299         ($(objpfx)tst-stack4.out): Likewise.
41300         ($(tst-stack4mod.sos)): Likewise.
41301         (clean): Likewise.
41302         * nptl/tst-stack4.c: New file.
41303         * nptl/tst-stack4mod.c: Likewise.
41305 2014-11-27  J. Brown  <jb999@gmx.de>
41307         * sysdeps/x86/bits/string.h: Add recent CPUs.
41309 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41311         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
41312         sigblock.
41314         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
41315         feof.
41317         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
41318         variable.
41320 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
41322         * nscd/connections.c: Include libc-internal.h because of macro
41323         usage ignore_value.
41325 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41327         * string/bits/string3.h (__warn_memset_zero_len): Don't
41328         declare for gcc newer than 5.0.
41329         (memset): Don't test for zero-length __LEN for gcc newer than
41330         5.0.
41332 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41334         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
41335         size_t for %zu format.
41337         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
41338         difference, not %ju.
41340 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41342         * include/libc-internal.h (ignore_value): New macro.
41343         * nscd/connections.c (restart): Wrap calls to setuid and setgid
41344         with ignore_value.
41346         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
41347         definition.
41349         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
41350         pthread_cleanup_push to void *.
41352         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
41353         Undefine.
41355         [BZ #16619]
41356         [BZ #16740]
41357         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
41358         instead of 1L << 52.
41360         * libio/bug-rewind.c (do_test): Check fwscanf return values.
41361         * libio/bug-rewind2.c (do_test): Likewise.
41363         * debug/test-stpcpy_chk-ifunc.c: Remove file.
41364         * debug/test-strcpy_chk-ifunc.c: Likewise.
41365         * wcsmbs/test-wcschr-ifunc.c: Likewise.
41366         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41367         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41368         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41369         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41370         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41371         * Rules [$(multi-arch) = no] (tests): Do not filter out
41372         $(tests-ifunc).
41373         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41374         * debug/Makefile (tests-ifunc): Remove variable.
41375         (tests): Do not add $(tests-ifunc).
41376         * wcsmbs/Makefile (tests-ifunc): Remove variable.
41377         (tests): Do not add $(tests-ifunc).
41378         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41379         [TEST_IFUNC]: Remove conditionals.
41380         * string/test-string.h (TEST_IFUNC): Remove macro.
41381         [TEST_IFUNC]: Remove conditionals.
41383         * string/test-strchr.c [!WIDE] (L): New macro.
41384         [WIDE] (L): Likewise.
41385         (check1): Use CHAR instead of char.  Use L on string and character
41386         constants.
41388 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
41390         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41391         tests.
41392         * sysdeps/powerpc/bits/atomic.h
41393         (__arch_atomic_exchange_and_add_32_acq): Add definition.
41394         (__arch_atomic_exchange_and_add_32_rel): Likewise.
41395         (atomic_exchange_and_add_acq): Likewise.
41396         (atomic_exchange_and_add_rel): Likewise.
41397         * sysdeps/powerpc/powerpc32/bits/atomic.h
41398         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41399         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41400         * sysdeps/powerpc/powerpc64/bits/atomic.h
41401         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41402         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41404 2014-11-26  Torvald Riegel  <triegel@redhat.com>
41406         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41407         Change synchronization of __sched_fifo_min_prio and
41408         __sched_fifo_max_prio.
41409         * nptl/pthread_mutexattr_getprioceiling.c
41410         (pthread_mutexattr_getprioceiling): Likewise.
41411         * nptl/pthread_mutexattr_setprioceiling.c
41412         (pthread_mutexattr_setprioceiling): Likewise.
41413         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41414         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41415         Likewise.
41417 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41419         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41420         void.
41422 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41424         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41425         third argument const.
41427 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
41429         fnmatch: work around GCC compiler warning bug with uninit var
41430         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41431         This works around a bug with x86-64 GCC 4.9.2 and earlier
41432         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41433         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41434         used uninitialized in this function [-Wmaybe-uninitialized]".
41436 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41438         * posix/bug-regex31.c (main): Return RES not 0.
41440 2014-11-25  Anton Blanchard <anton@samba.org>
41442         * sysdeps/powerpc/bits/atomic.h
41443         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41445 2014-11-24  Sterling Augustine  <saugustine@google.com>
41447         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41449 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
41451         [BZ #17608]
41452         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41454 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
41456         [BZ #17633]
41457         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41458         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41459         variable.
41460         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41461         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41463 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41465         * string/strncpy.c (strncpy): Improve performance by using memset.
41467 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41469         * string/strcpy.c (strcpy):
41470         Improve performance by using strlen and memcpy.
41472 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41474         * string/strcoll_l.c (get_next_seq): __always_inline.
41475         * string/strcoll_l.c (do_compare): __always_inline.
41477 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41479         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41480         defined.
41481         * include/mqueue.h: Likewise.
41482         * include/stdlib.h: Likewise.
41484         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41485         (get_null_defines): Adjust.
41486         * sunrpc/Makefile: Adjust comment.
41487         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41488         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41489         (CFLAGS-interp.c): Likewise.
41490         (CFLAGS-ldconfig.c): Likewise.
41491         (CPPFLAGS-.os): Likewise.
41492         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41493         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41494         * extra-modules.mk (extra-modules.mk): Likewise.
41495         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41496         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41497         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41498         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41499         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41500         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41501         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41502         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41503         * iconvdata/Makefile (CPPFLAGS): Likewise.
41504         (cpp-srcs-left): Add libof for all iconvdata routines.
41505         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41506         * include/assert.h: Likewise.
41507         * include/ctype.h: Likewise.
41508         * include/errno.h: Likewise.
41509         * include/libc-symbols.h: Likewise.
41510         * include/math.h: Likewise.
41511         * include/netdb.h: Likewise.
41512         * include/resolv.h: Likewise.
41513         * include/stdio.h: Likewise.
41514         * include/stdlib.h: Likewise.
41515         * include/string.h: Likewise.
41516         * include/sys/stat.h: Likewise.
41517         * include/wctype.h: Likewise.
41518         * intl/l10nflist.c: Likewise.
41519         * libidn/idn-stub.c: Likewise.
41520         * libio/libioP.h: Likewise.
41521         * nptl/libc_multiple_threads.c: Likewise.
41522         * nptl/pthreadP.h: Likewise.
41523         * posix/regex_internal.h: Likewise.
41524         * resolv/res_hconf.c: Likewise.
41525         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41526         * sysdeps/arm/memmove.S: Likewise.
41527         * sysdeps/arm/sysdep.h: Likewise.
41528         * sysdeps/generic/_itoa.h: Likewise.
41529         * sysdeps/generic/symbol-hacks.h: Likewise.
41530         * sysdeps/gnu/errlist.awk: Likewise.
41531         * sysdeps/gnu/errlist.c: Likewise.
41532         * sysdeps/i386/i586/memcpy.S: Likewise.
41533         * sysdeps/i386/i586/memset.S: Likewise.
41534         * sysdeps/i386/i686/memcpy.S: Likewise.
41535         * sysdeps/i386/i686/memmove.S: Likewise.
41536         * sysdeps/i386/i686/mempcpy.S: Likewise.
41537         * sysdeps/i386/i686/memset.S: Likewise.
41538         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41539         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41540         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41541         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41542         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41543         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41544         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41545         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41546         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41547         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41548         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41549         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41550         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41551         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41552         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41553         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41554         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41555         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41556         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41557         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41558         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41559         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41560         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41561         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41562         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41563         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41564         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41565         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41566         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41567         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41568         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41569         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41571         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41572         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41573         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41574         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41575         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41576         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41577         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41578         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41579         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41580         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41581         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41582         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41583         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41584         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41585         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41586         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41587         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41588         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41589         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41590         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41591         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41592         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41593         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41594         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41595         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41596         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41597         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41598         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41599         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41600         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41601         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41602         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41603         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41604         * sysdeps/posix/closedir.c: Likewise.
41605         * sysdeps/posix/opendir.c: Likewise.
41606         * sysdeps/posix/readdir.c: Likewise.
41607         * sysdeps/posix/rewinddir.c: Likewise.
41608         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41609         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41610         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41611         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41612         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41613         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41614         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41615         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41617         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41618         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41619         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41620         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41621         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41622         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41623         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41624         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41625         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41626         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41627         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41628         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41629         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41630         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41631         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41632         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41633         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41634         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41635         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41636         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41640         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41643         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41644         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41645         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41646         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41647         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41648         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41649         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41650         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41651         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41652         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41653         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41654         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41655         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41656         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41657         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41658         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41659         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41660         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41661         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41662         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41663         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41664         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41665         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41666         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41667         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41668         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41669         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41670         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41671         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41672         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41673         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41674         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41675         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41676         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41677         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41678         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41679         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41680         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41681         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41682         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41683         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41684         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41685         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41686         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41687         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41688         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41689         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41690         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41691         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41692         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41693         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41694         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41695         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41696         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41697         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41698         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41699         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41700         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41701         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41702         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41703         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41704         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41705         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41706         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41707         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41708         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41709         * sysdeps/unix/alpha/sysdep.S: Likewise.
41710         * sysdeps/unix/alpha/sysdep.h: Likewise.
41711         * sysdeps/unix/make-syscalls.sh: Likewise.
41712         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41713         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41714         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41715         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41716         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41717         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41718         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41719         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41720         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41721         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41722         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41723         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41724         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41725         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41726         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41727         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41728         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41729         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41730         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41731         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41732         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41733         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41734         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41735         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41736         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41737         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41738         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41741         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41742         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41743         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41744         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41745         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41746         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41747         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41748         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41750         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41751         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41752         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41753         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41754         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41755         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41756         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41757         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41759         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41760         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41761         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41762         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41763         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41764         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41765         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41766         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41767         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41768         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41770         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41771         * sysdeps/x86_64/memcpy.S: Likewise.
41772         * sysdeps/x86_64/memmove.c: Likewise.
41773         * sysdeps/x86_64/memset.S: Likewise.
41774         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41775         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41776         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41777         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41778         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41779         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41780         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41781         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41782         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41783         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41784         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41785         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41786         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41787         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41788         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41789         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41790         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41791         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41792         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41793         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41794         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
41795         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41796         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41797         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41798         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41799         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41800         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41801         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
41802         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41803         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41804         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
41805         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41806         * sysdeps/x86_64/strcmp.S: Likewise.
41808         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
41810         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
41811         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
41812         * elf/rtld-Rules: Likewise.
41813         * elf/setup-vdso.h: Likewise.
41814         * include/assert.h: Likewise.
41815         * include/bits/stdlib-float.h: Likewise.
41816         * include/errno.h: Likewise.
41817         * include/sys/stat.h: Likewise.
41818         * include/unistd.h: Likewise.
41819         * sysdeps/aarch64/setjmp.S: Likewise.
41820         * sysdeps/alpha/setjmp.S: Likewise.
41821         * sysdeps/arm/__longjmp.S: Likewise.
41822         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
41823         * sysdeps/arm/setjmp.S: Likewise.
41824         * sysdeps/arm/sysdep.h: Likewise.
41825         * sysdeps/generic/_itoa.h: Likewise.
41826         * sysdeps/generic/dl-sysdep.h: Likewise.
41827         * sysdeps/generic/ldsodefs.h: Likewise.
41828         * sysdeps/i386/dl-tls.h: Likewise.
41829         * sysdeps/i386/setjmp.S: Likewise.
41830         * sysdeps/m68k/setjmp.c: Likewise.
41831         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
41832         * sysdeps/mach/hurd/opendir.c: Likewise.
41833         * sysdeps/posix/getcwd.c: Likewise.
41834         * sysdeps/posix/opendir.c: Likewise.
41835         * sysdeps/posix/profil.c: Likewise.
41836         * sysdeps/powerpc/dl-procinfo.h: Likewise.
41837         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41838         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41839         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41840         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41841         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
41842         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41843         * sysdeps/s390/dl-tls.h: Likewise.
41844         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41845         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41846         * sysdeps/sh/sh3/setjmp.S: Likewise.
41847         * sysdeps/sh/sh4/setjmp.S: Likewise.
41848         * sysdeps/unix/alpha/sysdep.h: Likewise.
41849         * sysdeps/unix/arm/sysdep.S: Likewise.
41850         * sysdeps/unix/i386/sysdep.S: Likewise.
41851         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41852         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41853         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41854         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41855         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41856         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41857         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41858         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41859         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41860         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41861         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
41862         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41863         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41866         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41867         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41869         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41870         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41871         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41872         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41873         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41874         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41875         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41876         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41877         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41878         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41879         * sysdeps/x86_64/setjmp.S: Likewise.
41881         * include/math.h: Use IS_IN instead of IS_IN_libm.
41882         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
41883         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41884         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41885         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
41886         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41887         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41888         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41889         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41890         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41891         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41892         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
41893         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
41894         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
41895         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
41896         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
41897         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
41898         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
41899         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
41900         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
41901         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
41902         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
41903         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
41904         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
41905         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
41906         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
41907         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
41908         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
41909         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
41910         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
41911         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
41912         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
41913         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41914         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
41916         Likewise.
41917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
41918         Likewise.
41919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
41920         Likewise.
41921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
41922         Likewise.
41923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
41924         Likewise.
41925         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41926         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
41927         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41928         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41929         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41930         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
41932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
41933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
41934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
41935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
41936         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
41937         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
41938         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41939         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41940         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41941         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41942         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41943         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41944         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41945         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
41946         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
41947         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
41948         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
41949         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
41950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41951         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
41953         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
41954         * nptl/pthreadP.h: Likewise.
41955         * nptl_db/structs.def: Likewise.
41956         * sysdeps/arm/sysdep.h: Likewise.
41957         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41958         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41959         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
41960         * sysdeps/unix/alpha/sysdep.h: Likewise.
41961         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41962         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41963         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41964         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41965         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41966         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41967         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41968         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41969         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41970         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41971         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41972         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41973         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41974         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41979         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41980         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41982         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41983         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41984         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41985         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
41986         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41988         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
41989         * nptl/pthreadP.h: Likewise.
41990         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41991         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41992         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41993         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41994         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41995         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41996         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41997         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41998         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41999         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42000         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42001         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42003         Likewise.
42004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42005         Likewise.
42006         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42007         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42008         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42010         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42011         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42012         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42013         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42015         * dlfcn/dladdr.c: Use IS_IN.
42016         * dlfcn/dladdr1.c: Likewise.
42017         * dlfcn/dlclose.c: Likewise.
42018         * dlfcn/dlerror.c: Likewise.
42019         * dlfcn/dlinfo.c: Likewise.
42020         * dlfcn/dlmopen.c: Likewise.
42021         * dlfcn/dlopen.c: Likewise.
42022         * dlfcn/dlsym.c: Likewise.
42023         * dlfcn/dlvsym.c: Likewise.
42025         * include/ifaddrs.h: Use IS_IN.
42026         * inet/check_pf.c: Likewise.
42027         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42028         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
42030         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
42031         IS_IN_ldconfig.
42032         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
42033         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
42035         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
42036         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
42037         IS_IN (libc).
42039         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
42041         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
42042         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42043         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42044         * include/libc-symbols.h (IS_IN_LIB): New macro.
42045         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
42046         * include/netdb.h: Likewise.
42047         * include/stap-probe.h: Remove all uses of IN_LIB.
42049         * Makeconfig (module-cppflags-real): Define MODULE_NAME
42050         instead of IN_MODULE.
42051         * include/libc-symbols.h (IN_MODULE): Define using
42052         MODULE_NAME.
42053         (PASTE_NAME, PASTE_NAME1): New macros.
42054         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
42055         of IN_LIB.
42056         (STAP_PROBE_ASM): Likewise.
42058 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42060         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
42061         __mach_init in dlopened libc.
42063 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
42065         * sysdeps/arm/preconfigure.ac: Delete EABI check.
42066         * sysdeps/arm/preconfigure: Regenerate.
42068 2014-11-21  Roland McGrath  <roland@hack.frob.com>
42070         * nptl/pthread_create.c (__pthread_create_2_1): Set
42071         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
42072         when copying values from IATTR into PD.
42074 2014-11-21  Will Newton  <will.newton@linaro.org>
42075             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
42077         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
42078         Refactor inline-asm.  Also add comment.
42080         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42081         ElfW macro instead of hardcoded Elf64 types.
42082         (la_aarch64_gnu_pltenter): Likewise.
42083         * sysdeps/aarch64/dl-machine.h
42084         (elf_machine_runtime_setup): Use ElfW(Addr).
42086         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42087         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42088         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42089         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42090         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42091         (R_AARCH64_TLS_DTPMOD64): Rename to ..
42092         (R_AARCH64_TLS_DTPMOD): This.
42093         (R_AARCH64_TLS_DTPREL64): Rename to ...
42094         (R_AARCH64_TLS_DTPREL): This.
42095         (R_AARCH64_TLS_TPREL64): Rename to ...
42096         (R_AARCH64_TLS_TPREL): This.
42097         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42098         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42099         R_AARCH64_TLS_TPREL64.
42100         (elf_machine_rela): Likewise.
42102 2014-11-21  Torvald Riegel  <triegel@redhat.com>
42104         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42105         by setting it to 0.  64b atomics are not supported currently.
42107 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42109         [BZ #16469]
42110         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42111         search domain names.
42113 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42115         [BZ #16469]
42116         * NEWS: Update.
42117         * resolv/res_query.c (__libc_res_nquerydomain): Retain
42118         trailing dot.
42119         * posix/tst-getaddrinfo5.c: New.
42120         * posix/Makefile (tests): Add it.
42122 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42124         [BZ #14498]
42125         * NEWS: Fixed.
42126         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42127         after parsing line but before break_if_match.
42128         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42129         if there is a protocol mismatch.
42131 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42133         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42134         because the potential race is on the user-supplied stream.
42136 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42138         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42139         string literal if not passed a buffer.
42140         * manual/job.texi (ctermid): Update reasoning, note deviation
42141         from posix, suggest mtasurace when not passed a buffer, for
42142         future non-preliminary safety notes.
42144 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42146         * manual/users.texi (cuserid): Fix MT-Safety note for the case
42147         of not passing it a buffer.
42148         Reported by Peng Haitao.
42150 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42152         * manual/Makefile ($(objpfx)stamp-summary): Require
42153         check-safety.sh to pass.
42154         * manual/check-safety.sh: Wish for verification that every
42155         @deftypefn and @deftypefun is followed by a @safety remark.
42157 2014-11-20  Roland McGrath  <roland@hack.frob.com>
42159         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
42161         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
42162         PTHREAD_CANCEL_ASYNCHRONOUS.
42163         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
42164         send SIGCANCEL.
42166         * nptl/default-sched.h: New file.
42167         * sysdeps/unix/sysv/linux/default-sched.h: New file.
42168         * nptl/pthread_create.c: Include it.
42169         (__pthread_create_2_1): Use collect_default_sched instead of making
42170         Linux syscalls here directly.
42172 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42174         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
42175         __pthread_once): Use C11 atomics.
42177 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42179         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
42181 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42183         * include/atomic.h (__atomic_link_error, __atomic_check_size,
42184         atomic_thread_fence_acquire, atomic_thread_fence_release,
42185         atomic_thread_fence_seq_cst, atomic_load_relaxed,
42186         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
42187         atomic_compare_exchange_weak_relaxed,
42188         atomic_compare_exchange_weak_acquire,
42189         atomic_compare_exchange_weak_release,
42190         atomic_exchange_acquire, atomic_exchange_release,
42191         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
42192         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
42193         atomic_fetch_and_acquire,
42194         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
42196 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42198         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
42199         USE_ATOMIC_COMPILER_BUILTINS): Define.
42200         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
42201         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42202         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
42203         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42204         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42205         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42206         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
42207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42208         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
42209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42210         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
42211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42212         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
42213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42214         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
42215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42216         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42218         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42220         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
42221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42222         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42224         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
42225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42226         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42228         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
42229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42230         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
42231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42232         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
42233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42234         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
42235         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42236         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42238         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
42239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42241 2014-11-19  Roland McGrath  <roland@hack.frob.com>
42243         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
42244         the sched_priority value here.  It was already checked when the user
42245         called pthread_attr_setschedparam.
42247         * nptl/tst-bad-schedattr.c: New file.
42248         * nptl/Makefile (tests): Add it.
42250 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
42251             Florian Weimer  <fweimer@redhat.com>
42252             Joseph Myers  <joseph@codesourcery.com>
42253             Adam Conrad  <adconrad@0c3.net>
42254             Andreas Schwab  <schwab@suse.de>
42255             Brooks  <bmoses@google.com>
42257         [BZ #17625]
42258         * wordexp-test.c (__dso_handle): Add prototype.
42259         (__register_atfork): Likewise.
42260         (__app_register_atfork): New function.
42261         (registered_forks): New global.
42262         (register_fork): New function.
42263         (test_case): Add 3 new tests for WRDE_CMDSUB.
42264         (main): Call __app_register_atfork.
42265         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
42266         fork count is non-zero fail the test.
42267         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
42268         is set.
42269         (parse_dollars): Remove check for WRDE_NOCMD.
42270         (parse_dquote): Likewise.
42272 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42274         * Makeconfig (built-modules): List non-library modules to be
42275         built.
42276         (module-cppflags): Include libc-modules.h for
42277         everything except shlib-versions.v.i.
42278         (CPPFLAGS): Use it.
42279         (before-compile): Add libc-modules.h.
42280         ($(common-objpfx)libc-modules.h,
42281         $(common-objpfx)libc-modules.stmp): New targets.
42282         (common-generated): Add libc-modules.h and libc-modules.stmp.
42283         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
42284         * include/libc-symbols.h: Don't include libc-modules.h.
42285         * include/libc-modules.h: Remove file.
42286         * scripts/gen-libc-modules.awk: New script to generate
42287         libc-modules.h.
42288         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
42289         Depend on libc-modules.stmp.
42291         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
42293         * Makeconfig (in-module): Get value of libof set for the
42294         translation unit.
42295         (CPPFLAGS): Use $(in-module).
42296         * Makerules: Don't suffix routine names for nonlib.
42297         * include/libc-modules.h: New file.
42298         * include/libc-symbols.h: Include libc-modules.h
42299         (IS_IN): New macro to replace IS_IN_* macros.
42300         * elf/Makefile: Set libof-* for each routine.
42301         * elf/rtld-Rules: Likewise.
42302         * extra-modules.mk: Likewise.
42303         * iconv/Makefile: Likewise.
42304         * iconvdata/Makefile: Likewise.
42305         * locale/Makefile: Likewise.
42306         * malloc/Makefile: Likewise.
42307         * nss/Makefile: Likewise.
42308         * sysdeps/gnu/Makefile: Likewise.
42309         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
42310         * sysdeps/unix/sysv/linux/Makefile: Likewise.
42311         * sysdeps/s390/s390-64/Makefile: Likewise.
42312         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
42313         CPPFLAGS for nscd instead of nonlib.
42315 2014-11-18  Roland McGrath  <roland@hack.frob.com>
42317         * nptl/createthread.c: New file.
42319         * nptl/createthread.c: Moved ...
42320         * sysdeps/unix/sysv/linux/createthread.c: ... here.
42322         * nptl/createthread.c: Add proper top-line comment.
42323         (do_clone): Folded into ...
42324         (create_thread): ... here.  Take new arguments STOPPED_START and
42325         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
42326         increment __nptl_threads, do event-reporting logic, do
42327         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
42328         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
42329         resource cleanup if sched_setaffinity or sched_setscheduler fails,
42330         just send SIGCANCEL.
42331         * nptl/pthread_create.c: Forward-declare create_thread before
42332         including createthread.c.
42333         (start_thread): Use new macro START_THREAD_DEFN to replace defining
42334         declaration, and new macro START_THREAD_SELF to replace argument.
42335         Remove return statement.
42336         (report_thread_creation): New function.
42337         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
42338         synchronization logic, and __nptl_nthreads increment here, around
42339         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
42340         PD->parent_cancelhandling here, before create_thread.  When
42341         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
42342         __deallocate_stack, and ENOMEM translation here.
42344 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
42346         [BZ #17616]
42347         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
42348         (mptwo): Rename to __mptwo.
42349         (__inv): Use __mptwo instead of mptwo.
42350         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
42351         (mptwo): Rename to __mptwo.
42352         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
42353         of mpone and __mptwo instead of mptwo.
42354         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
42355         instead of mpone.
42356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42357         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42358         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
42359         of mpone and __mptwo instead of mptwo.
42360         (__mpranred): Use __mpone instead of mpone.
42361         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
42362         variable.
42363         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42364         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42365         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42366         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42367         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42368         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42369         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42370         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42371         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42372         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42373         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42374         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42375         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42376         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42377         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42378         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42379         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42380         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42381         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42383 2014-11-18  Tom de Vries  <tom@codesoucery.com>
42385         * manual/signal.texi (Primitives Interrupted by Signals): In section,
42386         replace BSD Handler xref with BSD Signal Handling.
42388 2014-11-17  Richard Henderson  <rth@redhat.com>
42390         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42391         (_FP_PACK_RAW_2): Remove.
42392         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42393         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42394         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42395         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42396         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42397         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42398         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42399         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42400         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42401         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42402         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42403         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42404         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42405         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42406         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42407         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42409 2014-11-14  Roland McGrath  <roland@hack.frob.com>
42411         * signal/signal.h [__USE_MISC]
42412         (struct sigvec): Remove type.
42413         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42414         (sigvec): Remove declaration.
42415         * sysdeps/posix/sigvec.c: Moved ...
42416         * signal/sigvec.c: ... here, replacing old file.
42417         (struct sigvec): New type, copied from old signal.h definition.
42418         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42419         (__sigvec): Convert definition to prototype.
42420         (sigvec): Replace weak_alias with compat_symbol.
42421         * signal/Versions (libc: GLIBC_2.21): New version set.
42422         * include/signal.h: Remove __sigvec declaration.
42423         * sysdeps/unix/bsd/sigvec.c: Remove file.
42424         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42425         * manual/signal.texi (BSD Handler): Remove subsection.
42426         Move siginterrupt up to ...
42427         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
42428         (Blocking in BSD): Fold subsection into its parent.
42429         * NEWS: Mention sigvec removal.
42431 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42433         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42434         (DLA_FMS): Make definition conditional only on [__FMA4__].
42435         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42436         definition.
42438         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42439         Make definition conditional only on [PROF].
42440         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42441         definition.
42442         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42443         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42445         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42446         !__GNUC__].
42447         * include/signal.h (__sigpause): Move declaration above call to
42448         libc_hidden_proto.
42449         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42450         variable.
42451         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42452         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42454 2014-11-14  David S. Miller  <davem@davemloft.net>
42456         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42457         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42459 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42461         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42462         * configure: Regenerated.
42463         * manual/install.texi (Tools for Compilation): Document a
42464         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42465         compiler verified to work.
42466         * INSTALL: Regenerated.
42468         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42469         redeclare with asm name.
42470         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42471         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42472         including <string.h>.
42473         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42474         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42475         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42476         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42477         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42478         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42479         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42481 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42483         * stdlib/strtol.c (__strtol): Use prototype definition.
42485         [BZ #17594]
42486         * stdlib/strtol.c (SYM__): New macro.
42487         (SYM__1): Likewise.
42488         (__strtol): Likewise.
42489         (strtol): Rename to __strtol and define as weak alias of
42490         __strtol.  Use libc_hidden_weak.
42492 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42494         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42495         Use numbered labels in inline assembly.
42497 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42499         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42500         Add setjmp LIBC_PROBE.
42501         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42502         Likewise.
42503         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42504         Add longjmp, longjmp_target LIBC_PROBE.
42505         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42506         Likewise.
42508 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42510         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42511         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42512         to get rid of unused variable warning.
42514 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42516         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42517         Check for unwind_backtrace ==  NULL only in SHARED case.
42518         (__backchain_backtrace): Compile only in SHARED case.
42519         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42520         Likewise.
42521         (__backchain_backtrace): Declare as static.
42523 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42525         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42526         (__libc_multiple_threads_ptr): Variable moved ...
42527         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42529 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42531         * conform/GlibcConform.pm: New file.
42532         * conform/conformtest.pl: Use GlibcConform module.
42533         * conform/linknamespace.pl: New file.
42534         * conform/list-header-symbols.pl: Likewise.
42535         * conform/Makefile (linknamespace-symlists-base): New variable.
42536         (linknamespace-symlists-tests): Likewise.
42537         (linknamespace-header-base): Likewise.
42538         (linknamespace-header-tests): Likewise.
42539         (tests-special): Add new tests.
42540         ($(linknamespace-symlists-tests)): New rule.
42541         (linknamespace-libs): New variable.
42542         ($(objpfx)symlist-stdlibs): New rule.
42543         ($(linknamespace-header-tests)): Likewise.
42544         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42545         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42546         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42547         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42548         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42549         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42550         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42551         (test-xfail-ISO/math.h/linknamespace): Likewise.
42552         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42553         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42554         (test-xfail-ISO/time.h/linknamespace): Likewise.
42555         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42556         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42557         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42558         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42559         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42560         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42561         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42562         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42563         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42564         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42565         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42566         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42567         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42568         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42569         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42570         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42571         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42572         (test-xfail-XPG3/search.h/linknamespace): Likewise.
42573         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42574         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42575         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42576         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42577         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42578         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42579         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42580         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42581         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42582         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42583         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42584         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42585         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42586         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42587         (test-xfail-XPG4/search.h/linknamespace): Likewise.
42588         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42589         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42590         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42591         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42592         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42593         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42594         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42595         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42596         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42597         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42598         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42599         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42600         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42601         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42602         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42603         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42604         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42605         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42606         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42607         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42608         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42609         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42610         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42611         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42612         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42613         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42614         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42615         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42616         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42617         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42618         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42619         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42620         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42621         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42622         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42623         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42624         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42625         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42626         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42627         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42628         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42629         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42630         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42631         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42632         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42633         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42634         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42635         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42636         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42637         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42638         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42639         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42640         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42641         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42642         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42643         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42644         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42645         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42646         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42647         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42648         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42649         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42650         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42651         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42652         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42653         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42654         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42655         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42656         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42657         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42658         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42659         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42660         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42661         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42662         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42663         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42664         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42665         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42666         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42667         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42668         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42669         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42670         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42671         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42672         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42673         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42674         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42675         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42676         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42677         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42678         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42679         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42680         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42681         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42682         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42683         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42684         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42685         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42686         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42687         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42688         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42689         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42690         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42691         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42692         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42693         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42694         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42695         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42696         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42697         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42698         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42699         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42700         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42701         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42702         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42703         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42704         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42706         [BZ #17589]
42707         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42708         of fgets_unlocked.
42710         [BZ #17585]
42711         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42712         (memmem): Rename to __memmem and define as weak alias of
42713         __memmem.  Use libc_hidden_weak.
42714         (__memmem): Use libc_hidden_def.
42715         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
42716         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42717         memmem.
42719         [BZ #17582]
42720         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42721         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
42722         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42723         and define as weak alias of __fgets_unlocked.  Use
42724         libc_hidden_weak.
42725         (__fgets_unlocked): Use libc_hidden_def.
42726         * include/stdio.h (__fgets_unlocked): Declare.  Use
42727         libc_hidden_proto.
42728         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42729         __fgets_unlocked instead of fgets_unlocked.
42730         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42731         (GET_NPROCS_CONF_PARSER): Likewise.
42732         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42733         (GET_NPROCS_CONF_PARSER): Likewise.
42735         [BZ #17574]
42736         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42737         weak alias of __wmemset.  Use libc_hidden_weak.
42738         (__wmemset): Use libc_hidden_def.
42739         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
42740         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42741         of wmemset.
42743         [BZ #17573]
42744         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42745         with asm name __mempcpy.
42746         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42748         [BZ #17572]
42749         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42750         and define as weak alias of __rawmemchr.
42751         (__rawmemchr): Do not define as strong alias of rawmemchr.
42753         [BZ #17571]
42754         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42755         alias of __qsort_r.
42756         (qsort): Call __qsort_r instead of qsort_r.
42757         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42758         (__qsort_r): Declare.  Call libc_hidden_proto.
42759         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42760         instead of qsort_r.
42761         * nscd/gai.c (__qsort_r): Define to qsort_r.
42762         * posix/tst-rfc3484.c (__qsort_r): Likewise.
42763         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42764         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42766         [BZ #17570]
42767         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42768         define as weak alias of __malloc_info.
42770         [BZ #17584]
42771         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42772         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42773         (__rewinddir): Use libc_hidden_def.
42774         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42775         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42776         (__rewinddir): Use libc_hidden_def.
42777         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42778         weak alias of __rewinddir.  Don't use libc_hidden_def.
42779         (__rewinddir): Use libc_hidden_def.
42780         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42781         (__rewinddir): Use libc_hidden_proto.
42782         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42783         rewinddir.
42784         (__getcwd): Use __rewinddir instead of rewinddir.
42786         [BZ #17583]
42787         * libio/fileno.c (fileno): Rename to __fileno and define as weak
42788         alias of __fileno.  Use libc_hidden_weak.
42789         (__fileno): Use libc_hidden_def.
42790         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42791         * libio/ftello.c (ftello): Rename to __ftello and define as weak
42792         alias of __ftello.
42793         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
42794         __ftello.
42795         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
42796         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
42797         libc_hidden_def.
42798         (fread_unlocked): Don't use libc_hidden_ver.
42799         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
42800         and define as weak alias of __fread_unlocked.  Don't use
42801         libc_hidden_def.
42802         (__fread_unlocked): Use libc_hidden_def.
42803         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
42804         (ftello): Don't use libc_hidden_proto.
42805         (__ftello): Declare.  Use libc_hidden_proto.
42806         (fread_unlocked): Don't use libc_hidden_proto.
42807         (__fread_unlocked): Declare.  Use libc_hidden_proto.
42808         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
42809         and __ftello instead of fileno, fread_unlocked and ftello.
42811 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42813         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
42814         GOT12.
42815         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42816         Likewise.
42817         (_dl_start_user): Likewise.
42818         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
42820 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
42821             Siddhesh Poyarekar  <siddhesh@redhat.com>
42823         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
42824         Move argv and envp down instead of moving argc up.
42825         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
42827 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
42829         [BZ #17506]
42830         * test-skeleton.c (main): Return successful if one of
42831         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
42832         * string/tst-strcoll-overflow.c: Define expected status.
42834 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
42836         [BZ #17475]
42837         * locale/iso-639.def: Define Bhili and Tulu language codes.
42839 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
42841         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
42843 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
42845         [BZ #17555]
42846         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
42848 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
42850         * configure.ac: Updated check of minimal required version to
42851         2.22.
42852         * manual/install.texi (Tools for Compilation): Updated version
42853         number.
42854         * configure: Regenerated.
42855         * INSTALL: Likewise.
42857 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
42859         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
42860         __tls_get_addr.
42862 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
42864         * include/sys/wait.h (__libc_waitpid): Remove declaration.
42865         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
42866         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42867         libc_hidden_weak.
42868         (waitpid): Define as alias of __waitpid.
42869         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
42870         __waitpid.
42871         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42872         libc_hidden_weak.
42873         (waitpid): Define as alias of __waitpid.
42874         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
42875         __libc_waitpid alias.
42876         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
42877         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
42878         Likewise.
42879         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
42880         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
42881         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
42882         alias.
42883         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
42884         __waitpid.
42885         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42886         libc_hidden_weak.
42887         (waitpid): Define as alias of __waitpid.
42889 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
42891         * manual/llio.texi: Add comment that write safety has been
42892         fixed in Linux.
42894         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
42895         (localplt-build-dso): Add elf/ld.so.
42896         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
42897         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
42898         and free for ld.so.
42899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
42900         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
42901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
42902         Likewise.
42903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42904         Likewise.
42905         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
42906         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
42907         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
42908         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
42909         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
42910         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
42911         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
42912         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
42913         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
42914         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
42915         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
42917 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
42919         [BZ #14132]
42920         * include/libc-symbols.h (INTUSE): Remove macro.
42921         (INTDEF): Likewise.
42922         (INTVARDEF): Likewise.
42923         (_INTVARDEF): Likewise.
42924         (INTDEF2): Likewise.
42925         (INTVARDEF2): Likewise.
42926         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
42927         rtld_hidden_def instead of INTVARDEF.
42928         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
42929         (_dl_starting_up_internal): Remove declaration.
42930         (_dl_starting_up): Use rtld_hidden_proto.
42931         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
42932         declaration.
42933         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
42934         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
42935         _dl_starting_up.
42936         * elf/dl-writev.h (_dl_writev): Likewise.
42937         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
42938         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
42939         _dl_starting_up_internal.
42941 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42943         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
42944         test-skeleton.c.
42946 2014-11-05  Will Newton  <will.newton@linaro.org>
42948         * benchtests/Makefile: (bench-malloc): Add malloc thread
42949         scalability benchmark.
42950         * benchtests/bench-malloc-threads.c: New file.
42952 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
42954         * sysdeps/aarch64/strchrnul.S: New file.
42956 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42958         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
42959         definition.
42960         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42961         Likewise.
42962         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42963         Likewise.
42964         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42965         Likewise.
42966         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42967         Likewise.
42968         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42969         Likewise.
42971 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
42973         * catgets/test-gencat.c: Use test-skeleton.c.
42974         * catgets/tst-catgets.c: Likewise.
42975         * csu/tst-empty.c: Likewise.
42976         * elf/tst-audit2.c: Likewise.
42977         * elf/tst-global1.c: Likewise.
42978         * elf/tst-pathopt.c: Likewise.
42979         * elf/tst-piemod1.c: Likewise.
42980         * elf/tst-tls10.c: Likewise.
42981         * elf/tst-tls11.c: Likewise.
42982         * elf/tst-tls12.c: Likewise.
42983         * gnulib/tst-gcc.c: Likewise.
42984         * iconvdata/tst-e2big.c: Likewise.
42985         * iconvdata/tst-loading.c: Likewise.
42986         * iconv/tst-iconv1.c: Likewise.
42987         * iconv/tst-iconv2.c: Likewise.
42988         * inet/test-inet6_opt.c: Likewise.
42989         * inet/tst-gethnm.c: Likewise.
42990         * inet/tst-network.c: Likewise.
42991         * inet/tst-ntoa.c: Likewise.
42992         * intl/tst-codeset.c: Likewise.
42993         * intl/tst-gettext2.c: Likewise.
42994         * intl/tst-gettext3.c: Likewise.
42995         * intl/tst-ngettext.c: Likewise.
42996         * intl/tst-translit.c: Likewise.
42997         * io/test-stat.c: Likewise.
42998         * libio/test-fmemopen.c: Likewise.
42999         * libio/tst-freopen.c: Likewise.
43000         * libio/tst-sscanf.c: Likewise.
43001         * libio/tst-ungetwc1.c: Likewise.
43002         * libio/tst-ungetwc2.c: Likewise.
43003         * libio/tst-widetext.c: Likewise.
43004         * localedata/tst-ctype.c: Likewise.
43005         * localedata/tst-digits.c: Likewise.
43006         * localedata/tst-leaks.c: Likewise.
43007         * localedata/tst-mbswcs1.c: Likewise.
43008         * localedata/tst-mbswcs2.c: Likewise.
43009         * localedata/tst-mbswcs3.c: Likewise.
43010         * localedata/tst-mbswcs4.c: Likewise.
43011         * localedata/tst-mbswcs5.c: Likewise.
43012         * localedata/tst-setlocale.c: Likewise.
43013         * localedata/tst-trans.c: Likewise.
43014         * localedata/tst-wctype.c: Likewise.
43015         * localedata/tst-xlocale1.c: Likewise.
43016         * login/tst-grantpt.c: Likewise.
43017         * malloc/tst-calloc.c: Likewise.
43018         * malloc/tst-malloc.c: Likewise.
43019         * malloc/tst-mallocstate.c: Likewise.
43020         * malloc/tst-mcheck.c: Likewise.
43021         * malloc/tst-mtrace.c: Likewise.
43022         * malloc/tst-obstack.c: Likewise.
43023         * math/atest-exp2.c: Likewise.
43024         * math/atest-exp.c: Likewise.
43025         * math/atest-sincos.c: Likewise.
43026         * math/test-matherr.c: Likewise.
43027         * math/test-misc.c: Likewise.
43028         * math/test-powl.c: Likewise.
43029         * math/tst-definitions.c: Likewise.
43030         * misc/tst-dirname.c: Likewise.
43031         * misc/tst-efgcvt.c: Likewise.
43032         * misc/tst-fdset.c: Likewise.
43033         * misc/tst-hsearch.c: Likewise.
43034         * misc/tst-mntent2.c: Likewise.
43035         * nptl/tst-sem7.c: Likewise.
43036         * nptl/tst-sem8.c: Likewise.
43037         * nptl/tst-sem9.c: Likewise.
43038         * nss/test-netdb.c: Likewise.
43039         * posix/tst-fnmatch.c: Likewise.
43040         * posix/tst-getlogin.c: Likewise.
43041         * posix/tst-gnuglob.c: Likewise.
43042         * posix/tst-mmap.c: Likewise.
43043         * pwd/tst-getpw.c: Likewise.
43044         * resolv/tst-inet_ntop.c: Likewise.
43045         * rt/tst-timer.c: Likewise.
43046         * stdio-common/test-fseek.c: Likewise.
43047         * stdio-common/test-popen.c: Likewise.
43048         * stdio-common/test-vfprintf.c: Likewise.
43049         * stdio-common/tst-cookie.c: Likewise.
43050         * stdio-common/tst-fileno.c: Likewise.
43051         * stdio-common/tst-gets.c: Likewise.
43052         * stdio-common/tst-obprintf.c: Likewise.
43053         * stdio-common/tst-perror.c: Likewise.
43054         * stdio-common/tst-sprintf2.c: Likewise.
43055         * stdio-common/tst-sprintf3.c: Likewise.
43056         * stdio-common/tst-sprintf.c: Likewise.
43057         * stdio-common/tst-swprintf.c: Likewise.
43058         * stdio-common/tst-tmpnam.c: Likewise.
43059         * stdio-common/tst-unbputc.c: Likewise.
43060         * stdio-common/tst-wc-printf.c: Likewise.
43061         * stdlib/tst-environ.c: Likewise.
43062         * stdlib/tst-fmtmsg.c: Likewise.
43063         * stdlib/tst-limits.c: Likewise.
43064         * stdlib/tst-rand48-2.c: Likewise.
43065         * stdlib/tst-rand48.c: Likewise.
43066         * stdlib/tst-random2.c: Likewise.
43067         * stdlib/tst-random.c: Likewise.
43068         * stdlib/tst-strtol.c: Likewise.
43069         * stdlib/tst-strtoll.c: Likewise.
43070         * stdlib/tst-tls-atexit.c: Likewise.
43071         * stdlib/tst-xpg-basename.c: Likewise.
43072         * string/test-ffs.c: Likewise.
43073         * string/tst-bswap.c: Likewise.
43074         * string/tst-inlcall.c: Likewise.
43075         * string/tst-strtok.c: Likewise.
43076         * string/tst-strxfrm.c: Likewise.
43077         * sysdeps/x86_64/tst-audit10.c: Likewise.
43078         * sysdeps/x86_64/tst-audit3.c: Likewise.
43079         * sysdeps/x86_64/tst-audit4.c: Likewise.
43080         * sysdeps/x86_64/tst-audit5.c: Likewise.
43081         * time/tst-ftime_l.c: Likewise.
43082         * time/tst-getdate.c: Likewise.
43083         * time/tst-mktime3.c: Likewise.
43084         * time/tst-mktime.c: Likewise.
43085         * time/tst-posixtz.c: Likewise.
43086         * time/tst-strptime2.c: Likewise.
43087         * time/tst-strptime3.c: Likewise.
43088         * wcsmbs/tst-btowc.c: Likewise.
43089         * wcsmbs/tst-mbrtowc.c: Likewise.
43090         * wcsmbs/tst-mbsrtowcs.c: Likewise.
43091         * wcsmbs/tst-wchar-h.c: Likewise.
43092         * wcsmbs/tst-wcpncpy.c: Likewise.
43093         * wcsmbs/tst-wcrtomb.c: Likewise.
43094         * wcsmbs/tst-wcsnlen.c: Likewise.
43095         * wcsmbs/tst-wcstof.c: Likewise.
43097 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
43099         [BZ #14132]
43100         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43101         INTDEF.
43102         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43103         declaration.
43104         (_dl_mcount): Use rtld_hidden_proto.
43105         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43106         _dl_mcount.
43107         * elf/rtld.c (_rtld_global_ro): Likewise.
43109         [BZ #14132]
43110         * elf/dl-init.c (_dl_init): Don't use INTDEF.
43111         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43112         of _dl_init_internal.
43113         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43114         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43115         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43116         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43117         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43118         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43119         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43120         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43121         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43122         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43123         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43124         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43125         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43126         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43127         * sysdeps/tile/dl-start.S (_start): Likewise.
43128         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43129         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43131         [BZ #14132]
43132         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43133         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43134         (rtld_progname): Make macro definition unconditional.
43135         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43136         INTDEF.
43137         (dlmopen_doit): Do not use INTUSE with _dl_argv.
43138         (dl_main): Likewise.
43139         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43140         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43141         instead of _dl_argv_internal.
43142         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43143         __GI__dl_argv instead of INTUSE(_dl_argv).
43144         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43145         __GI__dl_argv instead of _dl_argv_internal.
43147         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43148         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43149         macro.
43150         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43151         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
43152         New macro.
43153         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
43154         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
43155         macro.
43156         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
43157         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
43159 2014-11-04  Andreas Schwab  <schwab@suse.de>
43161         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
43163 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43165         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
43166         mtvsrd instruction in binary form.
43168 2014-11-03  Andreas Schwab  <schwab@suse.de>
43170         [BZ #17522]
43171         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
43172         for less than MB_LEN_MAX use a local buffer of that size.
43173         * libio/tst-fputws.c: New file.
43174         * libio/Makefile (tests): Add tst-fputws.
43176 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
43178         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
43179         the size of the fpu_fr.fpu_dregs[] array.
43181 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
43183         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
43184         (__nanosleep): Do not define as alias.
43185         (nanosleep): Define as alias of __nanosleep.
43186         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43187         __libc_nanosleep name.
43189 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43191         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
43192         install.texi in comment.
43194 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43196         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
43197         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
43198         ... add here and use lwsync or sync ...
43199         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
43200         ... and add here using lwsync.
43202 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
43204         * elf/dl-machine-reject-phdr.h: New file.
43205         * elf/dl-load.c: #include that.
43206         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
43207         if that returned true.
43209 2014-10-31  Roland McGrath  <roland@hack.frob.com>
43211         [BZ #17496]
43212         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
43213         gen-as-const-headers chunk.  Add a big scare comment after the last
43214         safe place to touch before-compile.
43216 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43218         * manual/install.texi (Tools for Compilation): Update autoconf
43219         version requirements.
43220         * INSTALL: Regenerated.
43222         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
43223         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
43224         (__libc_pselect): Likewise.
43226         [BZ #14138]
43227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
43228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43232 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43234         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
43235         correct barrier instruction.
43236         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
43237         Likewise.
43238         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
43239         Likewise.
43241 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43243         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
43244         after defining inlines.  Instead, just use parens to defeat macro
43245         expansion of __isctype in its declaration.
43247 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43249         * include/sys/uio.h (__libc_readv): Remove declaration.
43250         (__libc_writev): Likewise.
43251         * misc/readv.c (__libc_readv): Rename to __readv.
43252         (__readv): Do not define as alias.
43253         (readv): Define as alias of __readv.
43254         * misc/writev.c (__libc_writev): Rename to __writev.
43255         (__writev): Do not define as alias.
43256         (writev): Define as alias of __writev.
43257         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
43258         (__readv): Do not define as alias.
43259         (readv): Define unconditionally as alias of __readv.
43260         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
43261         (__writev): Do not define as alias.
43262         (writev): Define unconditionally as alias of __writev.
43263         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
43264         name.
43265         (writev): Do not define __libc_writev name.
43267 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43269         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
43270         (convert_charseq): New function, broken out of ...
43271         (use_from_charmap): ... here.  Call it.
43272         (use_to_charmap): Use convert_charseq and free instead of duplicating
43273         its code with a variable-length stack struct.
43275 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43277         * include/fcntl.h (__libc_creat): Remove declaration.
43278         * io/creat.c (__libc_creat): Rename to creat.
43279         (creat): Do not define as alias.
43280         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
43281         of creat instead of __libc_creat.
43282         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
43283         to creat.
43284         (creat): Do not define as alias.
43285         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
43286         __libc_creat.
43287         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43288         __libc_creat name.
43289         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
43290         Likewise.
43292 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
43294         * manual/llio.texi: Add comments discussing why write() may be
43295         considered MT-unsafe on Linux.
43297 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
43299         * dl-load.c (local_strdup): Remove.
43300         (expand_dynamic_string_token): Use __strdup.
43301         (decompose_rpath): Likewise.
43302         (_dl_map_object): Likewise.
43304 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
43306         [BZ #14132]
43307         * sysdeps/generic/unwind-dw2-fde.c
43308         (__register_frame_info_bases_internal): Do not declare.
43309         (__register_frame_info_table_bases_internal): Likewise.
43310         (__deregister_frame_info_bases_internal): Likewise.
43311         (__register_frame_info_bases): Declare and use hidden_proto before
43312         definition.  Use hidden_def instead of INTDEF.
43313         (__register_frame_info_table_bases): Likewise.
43314         (__deregister_frame_info_bases): Likewise.
43315         (__register_frame_info): Do not use INTUSE.
43316         (__register_frame): Likewise.
43317         (__register_frame_info_table): Likewise.
43318         (__register_frame_table): Likewise.
43319         (__deregister_frame_info): Likewise.
43320         (__deregister_frame): Likewise.
43322 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
43324         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43325         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
43326         not undefine.
43327         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
43328         Likewise.
43329         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
43330         Likewise.
43332 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
43334         [BZ #14138]
43335         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
43336         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
43337         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
43338         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43339         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
43340         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
43341         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
43342         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
43343         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
43344         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
43345         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
43346         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
43347         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
43348         syscall.
43349         (setfsuid): Likewise.
43350         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
43351         (setfsuid): Likewise.
43352         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
43353         (setfsuid): Likewise.
43354         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
43355         Likewise.
43356         (setfsuid): Likewise.
43357         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
43358         (setfsuid): Likewise.
43359         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
43360         Likewise.
43361         (setfsuid): Likewise.
43363 2014-10-27  Andreas Schwab  <schwab@suse.de>
43365         [BZ #17501]
43366         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
43367         check for Slow_SSE4_2 feature bit.
43368         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
43369         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43370         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
43371         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
43373 2014-10-24  Roland McGrath  <roland@hack.frob.com>
43375         * configure.ac: Validate compiler version with a empirical test of
43376         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43377         $CC -v output.
43378         * configure: Regenerated.
43380         * inet/htons.c (htons): Prototypify.
43381         * inet/htonl.c (htonl): Likewise.
43383 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43385         * string/strncat.c (strncat): Improve performance by using strlen.
43387 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43389         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43391 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43393         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43394         Call libc_fetestexcept_aarch64.
43396 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43398         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43399         Call libc_feholdexcept_aarch64.
43401 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43403         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43404         Call get_rounding_mode.
43406 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43408         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43409         Simplify logic.
43411 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43413         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43414         Simplify logic.
43416 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
43418         [BZ #14138]
43419         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43420         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43421         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43422         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43423         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43424         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43425         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43426         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43427         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43428         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43429         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43430         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43431         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43432         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43433         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43434         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43435         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43436         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43437         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43438         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43439         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43440         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43441         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43442         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43443         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43444         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43445         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43446         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43447         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43448         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43449         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43450         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43451         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43452         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43453         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43454         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43455         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43456         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43457         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43458         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43459         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43460         syscall.
43461         (geteuid): Likewise.
43462         (getgid): Likewise.
43463         (getuid): Likewise.
43464         (getresgid): Likewise.
43465         (getresuid): Likewise.
43466         (getgroups): Likewise.
43467         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43468         (geteuid): Likewise.
43469         (getgid): Likewise.
43470         (getuid): Likewise.
43471         (getresgid): Likewise.
43472         (getresuid): Likewise.
43473         (getgroups): Likewise.
43474         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43475         (geteuid): Likewise.
43476         (getgid): Likewise.
43477         (getuid): Likewise.
43478         (getresgid): Likewise.
43479         (getresuid): Likewise.
43480         (getgroups): Likewise.
43481         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43482         Likewise.
43483         (geteuid): Likewise.
43484         (getgid): Likewise.
43485         (getuid): Likewise.
43486         (getresgid): Likewise.
43487         (getresuid): Likewise.
43488         (getgroups): Likewise.
43489         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43490         (geteuid): Likewise.
43491         (getgid): Likewise.
43492         (getuid): Likewise.
43493         (getresgid): Likewise.
43494         (getresuid): Likewise.
43495         (getgroups): Likewise.
43496         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43497         Likewise.
43498         (geteuid): Likewise.
43499         (getgid): Likewise.
43500         (getuid): Likewise.
43501         (getgroups): Likewise.
43503         [BZ #14138]
43504         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43505         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43506         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43507         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43508         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43509         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43510         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43511         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43512         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43513         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43514         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43515         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43516         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43517         __chown.
43518         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43519         (lchown): Likewise.
43520         (fchown): Likewise.
43521         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43522         Likewise.
43523         (lchown): Likewise.
43524         (fchown): Likewise.
43525         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43526         (lchown): Likewise.
43527         (fchown): Likewise.
43528         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43529         Likewise.
43530         (lchown): Likewise.
43531         (fchown): Likewise.
43533 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43535         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43536         Simplify logic.
43538 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43540         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43541         Cleanup logic.
43543 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43545         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43546         Remove unused include.
43548 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43550         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43551         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43552         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43553         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43555 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43556             Helge Deller <deller@gmx.de>
43558         [BZ #17508]
43559         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43560         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43561         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43563 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
43565         [BZ #14132]
43566         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43567         Remove macro definition.
43568         (__ashrdi3_v_glibc20): Likewise.
43569         (__lshrdi3_v_glibc20): Likewise.
43570         (__cmpdi2_v_glibc20): Likewise.
43571         (__ucmpdi2_v_glibc20): Likewise.
43572         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43573         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43574         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43575         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43576         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43577         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43579 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43581         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43582         old GNU extension [0] syntax.
43583         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43584         alloca rather than an array member with variable length.
43585         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43586         * nscd/nscd.c (invalidate_db): New function, broken out of ...
43587         (parse_opt): ... here.  Likewise use alloca there.
43588         Validate the -i argument before checking for rootness.
43589         (send_shutdown): New function, broken out of ...
43590         (parse_opt): ... here.
43592 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43594         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43595         macro to get at the _rt_local_ro field.
43596         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43597         ([PIC] case) or _dl_hwcap ([!PIC] case).
43598         * sysdeps/arm/setjmp.S: Likewise.
43600         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43601         * sysdeps/arm/configure.ac: New check to define it.
43602         * sysdeps/arm/configure: Regenerated.
43603         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43604         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43605         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43606         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43607         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43608         Use move/movt pair instead of a load.
43609         (LDST_GLOBAL): Macro removed.
43610         (LDR_GLOBAL): New macro replaces it.
43611         (LDR_HIDDEN): New macro.
43612         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43613         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43615         * setjmp/tst-setjmp-static.c: New file.
43616         * setjmp/Makefile (tests): Add it.
43617         (tests-static): New variable.
43619 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
43621         [BZ #17485]
43622         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43624 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
43626         [BZ #14132]
43627         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43629 2014-10-21  Roland McGrath  <roland@hack.frob.com>
43631         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43633 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43635         * io/fts.c (dirent_not_directory): New function.
43636         (fts_build): Call it.
43638 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43640         * nptl/version.c (__nptl_main): Use normal __write rather than
43641         INTERNAL_SYSCALL.
43642         (banner): Update copyright years.
43644         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43645         gettimeofday.
43646         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43647         * nptl/pthread_cond_timedwait.c: Likewise.
43648         * nptl/pthread_mutex_timedlock.c: Likewise.
43649         * nptl/sem_timedwait.c: Likewise.
43651         * sysdeps/nptl/bits/libc-lock.h
43652         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43653         (__libc_lock_init_recursive): Return void, not 0.
43654         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43655         (__libc_rwlock_init): Likewise.
43656         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43658 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43660         [BZ #15215]
43661         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43662         (__pthread_once_slow): ... here.
43663         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43664         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43666 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43668         [BZ #15215]
43669         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43670         __PTHREAD_ONCE_FORK_GEN_INCR): New.
43671         * sysdeps/nptl/fork.c (__libc_fork): Use them.
43672         * nptl/pthread_once.c (__pthread_once): Likewise.
43673         Update comments.
43675 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
43677         [BZ #14138]
43678         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43679         name.
43680         (writev): Use __libc_writev as strong name.
43681         * sysdeps/unix/sysv/linux/readv.c: Remove file.
43682         * sysdeps/unix/sysv/linux/writev.c: Likewise.
43684 2014-10-17  Roland McGrath  <roland@hack.frob.com>
43686         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43688         * sysdeps/i386/nptl/tls.h
43689         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43690         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43691         New macros.
43692         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43693         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43694         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43695         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43696         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43697         Call CHECK_THREAD_SYSINFO instead of doing an assert.
43699         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43700         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43701         on [__NR_futex].
43702         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43703         broken out of ...
43704         (__pthread_mutex_init): ... here.  Call it.
43705         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43706         Conditionalize PI cases on [__NR_futex].
43707         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43708         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43709         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43711         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43712         conditional on [SIGSETXID].
43713         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43714         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43715         is defined.  Likewise for SIGSETXID.
43716         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43717         Conditionalize definitions on [SIGSETXID].
43718         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43719         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43720         unblocking on [SIGCANCEL].
43722         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43723         [__NR_set_robust_list].
43725 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43727         * string/strcoll_l.c (get_next_seq): Fix up formatting.
43728         (do_compare): Likewise.
43730 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
43732         [BZ #15884]
43733         * string/strcoll_l.c: Don't include stdio.h.
43734         (coll_seq): Remove members idxarr and rulearr.
43735         (get_next_seq_cached): Remove function.
43736         (get_next_seq): Likewise.
43737         (get_next_seq_nocache): Rename to get_next_seq.
43738         (do_compare): Remove function.
43739         (do_compare_nocache): Rename to do_compare.
43740         (STRCOLL): Remove weight and rules cache.
43742 2014-10-16  Roland McGrath  <roland@hack.frob.com>
43744         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43745         * sysdeps/arm/sfp-machine.h: ... to here.
43746         * sysdeps/arm/Implies: Remove arm/soft-fp.
43748 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
43750         * conform/data/sys/utsname.h-data (*_t): Allow.
43751         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43752         [POSIX] (WEXITED): Do not expect constant.
43753         [POSIX] (WSTOPPED): Likewise.
43754         [POSIX] (WNOHANG): Likewise.
43755         [POSIX] (WNOWAIT): Likewise.
43756         [POSIX] (siginfo_t): Do not expect type or elements.
43757         [POSIX] (pid_t): Do not expect type.
43758         [POSIX] (signal.h): Do not allow header.
43759         [POSIX] (sys/resource.h): Likewise.
43760         [POSIX] (si_*): Do not allow pattern.
43761         [POSIX] (W*): Likewise.
43762         [POSIX] (P_*): Likewise.
43763         [POSIX] (BUS_*): Likewise.
43764         [POSIX] (CLD_*): Likewise.
43765         [POSIX] (FPE_*): Likewise.
43766         [POSIX] (ILL_*): Likewise.
43767         [POSIX] (POLL_*): Likewise.
43768         [POSIX] (SEGV_*): Likewise.
43769         [POSIX] (SI_*): Likewise.
43770         [POSIX] (TRAP_*): Likewise.
43771         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43772         variable.
43774 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
43776         [BZ #12926]
43777         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43778         infinite loop when __recvmsg returns 0.
43780 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
43782         * CANCEL-FCT-WAIVE: Remove file.
43783         * CANCEL-FILE-WAIVE: Likewise.
43785         [BZ #14132]
43786         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43787         instead of INTVARDEF.
43788         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43789         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43790         rtld_hidden_data_def instead of INTVARDEF.
43791         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43792         * elf/dl-deps.c (expand_dst): Likewise.
43793         * elf/dl-load.c (_dl_dst_count): Likewise.
43794         (_dl_dst_substitute): Likewise.
43795         (decompose_rpath): Likewise.
43796         (_dl_init_paths): Likewise.
43797         (open_path): Likewise.
43798         (_dl_map_object): Likewise.
43799         * elf/rtld.c (dl_main): Likewise.
43800         (process_dl_audit): Likewise.
43801         (process_envvars): Likewise.
43802         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
43803         Remove declaration.
43804         (__libc_enable_secure): Use rtld_hidden_proto.
43806 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43808         * elf/dl-load.c
43809         (add_path): New function broken out of _dl_rtld_di_serinfo.
43810         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
43812 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43814         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
43815         parentheses around macro arguments.
43816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
43817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
43818         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
43819         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
43820         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
43821         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43822         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
43824         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
43825         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
43826         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
43827         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
43828         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
43829         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
43830         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
43831         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
43832         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
43833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
43834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
43835         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
43836         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
43837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
43838         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
43839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
43842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
43843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
43844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
43845         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
43846         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
43847         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
43848         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
43849         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
43850         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
43851         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
43852         Likewise.
43853         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
43854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43855         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43856         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
43857         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
43858         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
43859         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
43860         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
43861         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
43862         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
43863         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
43864         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
43865         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
43866         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
43867         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
43868         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43869         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43870         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
43871         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
43872         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
43873         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
43874         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
43875         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
43876         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
43877         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
43878         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
43879         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
43880         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
43881         (_FP_FRAC_SRS_1): Likewise.
43882         (_FP_FRAC_CLZ_1): Likewise.
43883         (_FP_MUL_MEAT_1_imm): Likewise.
43884         (_FP_MUL_MEAT_1_wide): Likewise.
43885         (_FP_MUL_MEAT_1_hard): Likewise.
43886         (_FP_SQRT_MEAT_1): Likewise.
43887         (_FP_FRAC_ASSEMBLE_1): Likewise.
43888         (_FP_FRAC_DISASSEMBLE_1): Likewise.
43889         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
43890         (__FP_CLZ_2): Likewise.
43891         (_FP_MUL_MEAT_2_wide): Likewise.
43892         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43893         (_FP_MUL_MEAT_2_gmp): Likewise.
43894         (_FP_MUL_MEAT_2_120_240_double): Likewise.
43895         (_FP_SQRT_MEAT_2): Likewise.
43896         (_FP_FRAC_ASSEMBLE_2): Likewise.
43897         (_FP_FRAC_DISASSEMBLE_2): Likewise.
43898         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
43899         (_FP_FRAC_CLZ_4): Likewise.
43900         (_FP_MUL_MEAT_4_wide): Likewise.
43901         (_FP_MUL_MEAT_4_gmp): Likewise.
43902         (_FP_SQRT_MEAT_4): Likewise.
43903         (_FP_FRAC_ASSEMBLE_4): Likewise.
43904         (_FP_FRAC_DISASSEMBLE_4): Likewise.
43905         * soft-fp/op-common.h (_FP_CMP): Likewise.
43906         (_FP_CMP_EQ): Likewise.
43907         (_FP_CMP_UNORD): Likewise.
43908         (_FP_TO_INT): Likewise.
43909         (_FP_FROM_INT): Likewise.
43910         [!__FP_CLZ] (__FP_CLZ): Likewise.
43911         (_FP_DIV_HELP_imm): Likewise.
43912         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
43913         Likewise.
43914         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
43915         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
43916         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
43917         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
43918         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
43919         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43920         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43921         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
43922         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
43923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
43924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
43925         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
43926         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
43927         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
43928         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
43929         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
43930         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
43931         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
43932         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
43933         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
43934         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
43935         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
43936         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
43937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43939         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
43940         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
43941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
43942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
43943         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
43944         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
43945         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
43946         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
43947         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
43948         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
43949         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
43950         (FP_UNPACK_RAW_SP): Likewise.
43951         (FP_PACK_RAW_S): Likewise.
43952         (FP_PACK_RAW_SP): Likewise.
43953         (FP_UNPACK_S): Likewise.
43954         (FP_UNPACK_SP): Likewise.
43955         (FP_UNPACK_SEMIRAW_S): Likewise.
43956         (FP_UNPACK_SEMIRAW_SP): Likewise.
43957         (FP_PACK_S): Likewise.
43958         (FP_PACK_SP): Likewise.
43959         (FP_PACK_SEMIRAW_S): Likewise.
43960         (FP_PACK_SEMIRAW_SP): Likewise.
43961         (_FP_SQRT_MEAT_S): Likewise.
43962         (FP_CMP_S): Likewise.
43963         (FP_CMP_EQ_S): Likewise.
43964         (FP_CMP_UNORD_S): Likewise.
43965         (FP_TO_INT_S): Likewise.
43966         (FP_FROM_INT_S): Likewise.
43968         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
43970         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
43971         (FP_EX_INVALID_IMZ): Likewise.
43972         (FP_EX_INVALID_IMZ_FMA): Likewise.
43973         (FP_EX_INVALID_ISI): Likewise.
43974         (FP_EX_INVALID_ZDZ): Likewise.
43975         (FP_EX_INVALID_IDI): Likewise.
43976         (FP_EX_INVALID_SQRT): Likewise.
43977         (FP_EX_INVALID_CVI): Likewise.
43978         (FP_EX_INVALID_VC): Likewise.
43979         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
43980         "invalid" exceptions.
43981         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
43982         (_FP_ADD_INTERNAL): Likewise.
43983         (_FP_MUL): Likewise.
43984         (_FP_FMA): Likewise.
43985         (_FP_DIV): Likewise.
43986         (_FP_CMP_CHECK_NAN): Likewise.
43987         (_FP_SQRT): Likewise.
43988         (_FP_TO_INT): Likewise.
43989         (FP_EXTEND): Likewise.
43991 2014-10-09  Allan McRae  <allan@archlinux.org>
43993         * po/fr.po: Update French translation from translation project.
43995 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43997         [BZ #14132]
43998         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
43999         of INTDEF.
44000         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
44001         (__cxa_atexit): Use libc_hidden_proto.
44002         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
44004         [BZ #14132]
44005         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
44006         declaration.
44007         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
44008         [!_ISOMAC] (__iswspace_l_internal): Likewise.
44009         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
44010         [!_ISOMAC] (__iswctype_internal): Likewise.
44011         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
44012         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
44013         alias.
44014         (fcntl): Remove __fcntl_internal alias.
44015         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
44016         __connect_internal alias.
44017         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
44018         Likewise.
44020         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
44021         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
44022         FP_DENORM_ZERO.
44023         (_FP_CHECK_FLUSH_ZERO): New macro.
44024         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
44025         (_FP_CMP): Likewise.
44026         (_FP_CMP_EQ): Likewise.
44027         (_FP_TO_INT): Do not set inexact for subnormal arguments if
44028         FP_DENORM_ZERO.
44029         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
44030         (FP_TRUNC): Likewise.
44032         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
44033         treated as invalid conversion, not as normal exponent.
44035         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
44036         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
44037         (_FP_CMP_EQ): Likewise.
44038         (_FP_CMP_UNORD): Likewise.
44039         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
44040         (FP_CMP_EQ_D): Likewise.
44041         (FP_CMP_UNORD_D): Likewise.
44042         * soft-fp/extended.h (FP_CMP_E): Likewise.
44043         (FP_CMP_EQ_E): Likewise.
44044         (FP_CMP_UNORD_E): Likewise.
44045         * soft-fp/quad.h (FP_CMP_Q): Likewise.
44046         (FP_CMP_EQ_Q): Likewise.
44047         (FP_CMP_UNORD_Q): Likewise.
44048         * soft-fp/single.h (FP_CMP_S): Likewise.
44049         (FP_CMP_EQ_S): Likewise.
44050         (FP_CMP_UNORD_S): Likewise.
44051         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
44052         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
44053         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
44054         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
44055         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
44056         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
44057         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
44058         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
44059         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
44060         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44061         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
44062         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
44063         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
44064         to FP_CMP_Q.
44065         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
44066         FP_CMP_Q.
44067         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
44068         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
44069         FP_CMP_EQ_Q.
44070         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
44071         FP_CMP_Q.
44072         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
44073         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
44074         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
44075         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44076         FP_CMP_EQ_Q.
44077         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
44078         FP_CMP_Q.
44079         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44080         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44081         FP_CMP_EQ_Q.
44082         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44083         FP_CMP_Q.
44084         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44085         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44086         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44087         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44088         FP_CMP_EQ_Q.
44090         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44091         a subnormal result, set the underflow exception if trapping on
44092         underflow is enabled.
44093         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44094         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44095         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44096         redefine to 0.
44097         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44098         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44099         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44100         * soft-fp/extendxftf2.c (__extendxftf2): Use
44101         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44103         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44104         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44105         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44106         FP_HANDLE_EXCEPTIONS.
44107         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44108         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44109         FP_HANDLE_EXCEPTIONS.
44110         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44111         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44112         FP_HANDLE_EXCEPTIONS.
44113         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44114         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44115         FP_HANDLE_EXCEPTIONS.
44117 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
44119         [BZ #14132]
44120         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44121         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44122         use INTUSE.
44123         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44124         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44125         Remove alias.
44126         (__adjtimex): Define using libc_hidden_ver.
44127         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44128         Remove declaration.
44129         (ntp_gettime): Call __adjtimex directly.
44130         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44131         Remove declaration.
44132         (ntp_gettimex): Call __adjtimex directly.
44133         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44134         __adjtimex_internal alias.
44136 2014-10-08  Roland McGrath  <roland@hack.frob.com>
44138         [BZ #17460]
44139         * nscd/nscd.c (more_help): Rewrite list of tables collection
44140         using xstrdup and asprintf.
44142         * nscd/nscd_conf.c: Remove local xstrdup declaration.
44144 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44145             Roland McGrath  <roland@hack.frob.com>
44147         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44148         (do_lookup_unique): ... local function 'enter' here; update callers.
44150 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
44152         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
44153         compat_symbol calls on [SHARED].
44154         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
44155         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
44156         Remove.
44157         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44158         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
44159         (oldsetrlimit): Remove.
44160         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44162         (lchown): New syscall entry.
44163         (oldsetrlimit): Remove.
44164         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44165         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
44166         (oldsetrlimit): Remove.
44167         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44169         [BZ #14138]
44170         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
44171         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
44172         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
44173         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
44174         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44175         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
44176         (fchown): Likewise.
44177         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
44178         (fchown): Likewise.
44179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
44180         Likewise.
44182 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44184         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
44185         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
44186         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44187         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
44188         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
44189         Likewise.
44190         (__old_sem_post): Likewise.
44192 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
44194         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
44195         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
44196         HAVE_CLOCK_GETTIME_VSYSCALL macros.
44197         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
44198         Use INLINE_VSYSCALL macro.
44199         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
44200         __vdso_clock_gettime.
44201         * sysdeps/unix/sysv/linux/tile/init-first.c
44202         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
44203         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
44204         __vdso_clock_gettime.
44206         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
44207         to set up frame more cleanly.
44209         * sysdeps/tile/memcmp.c: New file.
44211         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
44213         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
44214         * sysdeps/tile/tilegx/strcasestr.c: New file.
44215         * sysdeps/tile/tilegx/strnlen.c: New file.
44216         * sysdeps/tile/tilegx/strstr.c: New file.
44218         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
44220 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
44222         * nptl/tst-setuid3.c: Write errors to stdout.
44224 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44226         * elf/dl-deps.c
44227         (preload): New functions broken out of _dl_map_object_deps.
44228         (_dl_map_object_deps):  Remove a nested function. Update call sites.
44230 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
44232         [BZ #14138]
44233         * sysdeps/unix/sysv/linux/execve.c: Remove file.
44234         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
44236 2014-10-01  Steve Ellcey  <sellcey@mips.com>
44238         * sysdeps/mips/strcmp.S: New.
44240 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
44242         [BZ #14138]
44243         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
44244         (linkat): Likewise.
44245         (mkdirat): Likewise.
44246         (readlinkat): Likewise.
44247         (renameat): Likewise.
44248         (symlinkat): Likewise.
44249         (unlinkat): Likewise.
44250         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
44251         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
44252         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
44253         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
44254         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
44255         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
44256         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
44258 2014-09-30  Will Newton  <will.newton@linaro.org>
44260         * math/math.h: Define long double math functions if
44261         _LIBC_TEST is defined.
44262         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
44264         * localedata/Makefile: Move assignment to tests-special
44265         into an ifdef testing run-built-tests.
44266         * timezone/Makefile: Likewise.
44268 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
44270         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
44271         with $(BASH) not $(SHELL).
44273 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
44274             Matthew LeGendre  <legendre1@llnl.gov>
44276         [BZ #17411]
44277         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
44278         l_reloc_result.
44280 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44282         * stdio-common/printf_fp.c
44283         (hack_digit): New function, broken out of ...
44284         (__printf_fp): ... local function here.  Update call sites.
44285         hack_digit now takes an additional parameter that is a pointer
44286         to a struct of the referenced locals.  Those locals moved inside
44287         the struct and references updated.
44289 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
44291         * aclocal.m4: Require autoconf 2.69.
44292         * configure: Regenerated.
44293         * sysdeps/aarch64/configure: Likewise.
44294         * sysdeps/alpha/configure: Likewise.
44295         * sysdeps/arm/armv7/configure: Likewise.
44296         * sysdeps/arm/configure: Likewise.
44297         * sysdeps/ia64/configure: Likewise.
44298         * sysdeps/mach/configure: Likewise.
44299         * sysdeps/mips/configure: Likewise.
44300         * sysdeps/s390/configure: Likewise.
44301         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
44302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
44304         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
44305         file.
44306         * sysdeps/ia64/configure.ac: Likewise.
44308 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
44310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
44311         specify symbol version for ld.so.  Do not include entry for
44312         libpthread.
44313         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44314         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44315         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44317         [BZ #14171]
44318         * Makeconfig [$(build-shared) = yes]
44319         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
44320         makefiles.
44321         [$(build-shared) = yes && $(soversions.mk-done) = t]
44322         ($(common-objpfx)gnu/lib-names.h): Remove rule.
44323         [$(build-shared) = yes && $(soversions.mk-done) = t]
44324         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
44325         to Makerules.
44326         [$(build-shared) = yes && $(soversions.mk-done) = t]
44327         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
44328         here.
44329         [$(build-shared) = yes && $(soversions.mk-done) = t]
44330         (common-generated): Don't append gnu/lib-names.h and
44331         gnu/lib-names.stmp here.
44332         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
44333         (lib-names-h-abi): New variable.
44334         [$(build-shared) = yes && $(soversions.mk-done) = t]
44335         (lib-names-stmp-abi): Likewise.
44336         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44337         abi-variants] (before-compile): Append
44338         $(common-objpfx)$(lib-names-h-abi).
44339         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44340         abi-variants] (common-generated): Append gnu/lib-names.h.
44341         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44342         abi-variants] (install-others-nosubdir): Depend on
44343         $(inst_includedir)/$(lib-names-h-abi).
44344         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44345         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
44346         [$(build-shared) = yes && $(soversions.mk-done) = t]
44347         ($(common-objpfx)$(lib-names-h-abi)): New rule.
44348         [$(build-shared) = yes && $(soversions.mk-done) = t]
44349         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
44350         [$(build-shared) = yes && $(soversions.mk-done) = t]
44351         (common-generated): Append $(lib-names-h-abi) and
44352         $(lib-names-stmp-abi).
44353         * scripts/lib-names.awk: Do not handle multi being set.
44354         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
44355         Remove variable.
44356         (abi-lp64_be-ld-soname): Likewise.
44357         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
44358         Likewise.
44359         (abi-hard-ld-soname): Likewise.
44360         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
44361         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
44362         Remove variable.
44363         (abi-o32_hard-ld-soname): Likewise.
44364         (abi-o32_soft_2008-ld-soname): Likewise.
44365         (abi-o32_hard_2008-ld-soname): Likewise.
44366         (abi-n32_soft-ld-soname): Likewise.
44367         (abi-n32_hard-ld-soname): Likewise.
44368         (abi-n32_soft_2008-ld-soname): Likewise.
44369         (abi-n32_hard_2008-ld-soname): Likewise.
44370         (abi-n64_soft-ld-soname): Likewise.
44371         (abi-n64_hard-ld-soname): Likewise.
44372         (abi-n64_soft_2008-ld-soname): Likewise.
44373         (abi-n64_hard_2008-ld-soname): Likewise.
44374         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44375         Likewise.
44376         (abi-64-v2-ld-soname): Likewise.
44377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44378         ld.so entries.
44379         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44380         variable.
44381         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44382         entry.
44383         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44384         variable.
44385         (abi-64-ld-soname): Likewise.
44386         (abi-x32-ld-soname): Likewise.
44387         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44388         entry.
44389         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44391 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
44393         [BZ #14138]
44394         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44395         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44396         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44397         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44398         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44399         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44400         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44401         syscall entry for GLIBC_2.2 symbol version.
44402         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44403         Likewise.
44404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44405         (setrlimit): Likewise.
44406         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44407         Likewise.
44409 2014-09-23  Will Newton  <will.newton@linaro.org>
44411         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44412         _LINUX_ARM_SYSDEP_H include guard too.
44413         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44414         define.
44416 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44418         * sysdeps/unix/sysv/linux/eventfd.c:
44419         Make first argument unsigned.
44420         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44421         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44423 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
44425         [BZ #16852]
44426         * socket/recvmmsg.c (recvmmsg): Drop const argument.
44427         * socket/sys/socket.h: Likewise.
44428         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44430 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44432         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44434 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44436         * time/tst-ftime.c: New test.
44437         * time/Makefile (tests): Add tst-ftime.
44439 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
44441         * soft-fp/extended.h: Fix comment formatting.
44442         * soft-fp/op-1.h: Likewise.
44443         * soft-fp/op-2.h: Likewise.
44444         * soft-fp/op-4.h: Likewise.
44445         * soft-fp/op-8.h: Likewise.
44446         * soft-fp/op-common.h: Likewise.
44447         * soft-fp/soft-fp.h: Likewise.
44449         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44451 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
44453         [BZ #6652]
44454         * Makeconfig (soversions-default-setname): Remove variable.
44455         ($(common-objpfx)soversions.i): Don't pass default_setname to
44456         soversions.awk.
44457         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44458         oldest_abi to abi-versions.awk.
44459         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44460         * config.make.in (oldest-abi): Remove variable.
44461         * configure.ac (--enable-oldest-abi): Remove configure option.
44462         * configure: Regenerated.
44463         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44464         text.
44465         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44466         * scripts/soversions.awk: Do not handle default_setname variable.
44467         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44468         variable.
44469         * sysdeps/mach/hurd/configure: Regenerated.
44470         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44471         variable.
44472         * sysdeps/unix/sysv/linux/configure: Regenerated.
44474 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44476         * elf/Makefile (CFLAGS-interp.c): Remove.
44477         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44478         path string.
44479         * elf/interp.c: Include generated runtime-linker.h
44481         * Makerules (lib%.so): Don't include $(+interp) in
44482         prerequisites.
44483         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44484         * dlfcn/eval.c: Remove file.
44486         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44487         macros.
44489         [BZ #17266]
44490         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44491         4.2 and newer.
44493         [BZ #17370]
44494         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44496 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44497             Jakub Jelinek  <jakub@redhat.com>
44499         [BZ #17266]
44500         * libio/stdio.h: Check definition of __fortify_function
44501         instead of __extern_always_inline to include bits/stdio2.h.
44502         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44503         check if __extern_always_inline is defined.
44504         [__USE_MISC || __USE_XOPEN]: Likewise.
44505         [__USE_ISOC99] Likewise.
44506         * misc/sys/cdefs.h (__fortify_function): Define only if
44507         __extern_always_inline is defined.
44508         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44509         __extern_always_inline and __extern_inline only for g++-4.3
44510         and newer or a compatible gcc.
44512 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44514         [BZ #17371]
44515         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44516         last change to handle zero prefix length.
44518 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44520         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44521         _SC_REGEX_VERSION.
44523         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44524         _POSIX_RAW_SOCKETS.
44526 2014-09-13  Allan McRae  <allan@archlinux.org>
44528         * po/ru.po: Update Russian translation from translation project.
44530 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44532         * locale/programs/locale.c (show_locale_vars): Inline local function
44533         into its sole call site.  Clean up some style nits.
44534         (print_item): New function, broken out of ...
44535         (show_info): ... local function here.  Clean up style nits.
44537         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44538         out of ...
44539         (set_class_defaults): ... local function set_default here.
44540         Define set_default as a macro locally to pass constant parameters.
44541         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44542         rather than a shared local.
44544         * stdlib/rpmatch.c (try): New function, broken out of ...
44545         (rpmatch): ... local function here.  Also, prototypify definition.
44547 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44549         * scripts/soversions.awk: Do not handle configuration names.
44550         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44551         vendor and os variables to soversions.awk.
44552         * configure.ac: Do not modify gnu-* host_os.
44553         * configure: Regenerated
44554         * shlib-versions: Remove first column with configuration names.
44555         * nptl/shlib-versions: Likewise.
44556         * nptl_db/shlib-versions: Likewise.
44557         * sysdeps/hppa/shlib-versions: Likewise.
44558         * sysdeps/m68k/shlib-versions: Likewise.
44559         * sysdeps/mach/hurd/shlib-versions: Likewise.
44560         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44561         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44562         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44563         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44564         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44565         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44566         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44567         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44569         Likewise.
44570         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44571         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44572         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44573         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44574         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44575         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44576         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44577         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44580         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44582         Regenerated.
44583         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44585         Condition symbol version definitions on [HAVE_ELFV2_ABI].
44587         * shlib-versions: Remove OS-specific entries.  Moved to files in
44588         sysdeps.
44589         * sysdeps/mach/hurd/shlib-versions: New file.
44590         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44592         * nptl/shlib-versions: Remove architecture-specific entries.
44593         Moved to files in sysdeps.
44594         * shlib-versions: Likewise.
44595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44596         file.
44597         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44598         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44599         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44600         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44602         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44603         (UDP_NO_CHECK6_RX): Likewise.
44605 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44607         * sysdeps/posix/sysconf.c (__sysconf): Spell
44608         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44610 2014-08-12  Florian Weimer  <fweimer@redhat.com>
44612         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44613         loading.
44614         * iconv/Versions (__gconv_transliterate): Export for use from
44615         gconv modules.
44616         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44617         (struct __gconv_trans_data, __gconv_trans_fct,
44618         __gconv_trans_context_fct, __gconv_trans_query_fct,
44619         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44620         definitions.
44621         (struct __gconv_step_data): Remove __trans member.
44622         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
44623         longer hidden.  Remove unused trans_data argument.
44624         * iconv/gconv_int.h (struct trans_struct): Remove definition.
44625         (__gconv_translit_find): Remove declaration.
44626         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
44627         prototype.
44628         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44629         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44630         trans_data argument.  Add hidden definition.
44631         (__gconv_translit_find): Remove.
44632         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44633         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44634         * iconv/skeleton.c: Remove transliteration initialization.
44635         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44636         __gconv_step_data initialization.
44637         * libio/iofwide.c (__libio_translit_): Remove.
44638         (_IO_fwide): Adjust struct __gconv_step_data initialization.
44639         * wcsmbs/btowc.c (__btowc): Likewise.
44640         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44641         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44642         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44643         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44644         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44645         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44646         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44647         * wcsmbs/wctob.c (wctob): Likewise.
44649 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44651         [BZ #16194]
44652         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44653         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
44654         register usage.
44655         * sysdeps/x86/Makefile: Adjust.
44657 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44658             Roland McGrath  <roland@hack.frob.com>
44660         * locale/weight.h: Add include guard.
44661         (findidx): Make static rather than auto; take new parameters
44662         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44663         * locale/weightwc.h: Likewise.
44664         * posix/fnmatch_loop.c
44665         (FCT): Change type of EXTRA from int32_t to wint_t.
44666         Don't include either header inside the function.
44667         Call FINDIDX rather than findidx, and pass new arguments.
44668         #undef FINDIDX at the end of the file.
44669         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44670         FINDIDX before including fnmatch_loop.c for the non-wide version.
44671         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44672         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44673         for the wide version.
44674         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44675         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44676         Pass new arguments to findidx.
44677         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44678         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44679         Don't #include it inside the function.  Pass new arguments to findidx.
44680         * posix/regex_internal.h
44681         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44682         (re_string_elem_size_at): Don't #include it inside the function.
44683         Pass new arguments to findidx.
44684         * string/strcoll_l.c: #include WEIGHT_H at top level.
44685         (get_next_seq): Don't #include it inside the function.
44686         Pass new arguments to findidx.
44687         (get_next_seq_nocache): Likewise.
44688         * string/strxfrm_l.c: #include WEIGHT_H at top level.
44689         (STRXFRM): Don't #include it inside the function.
44690         Pass new arguments to findidx.
44692 2014-09-11  Florian Weimer  <fweimer@redhat.com>
44694         [BZ #17344]
44695         * malloc/malloc.c (unlink): Turn asserts into a call to
44696         malloc_printerr.
44698 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
44700         [BZ #17370]
44701         * libio/wfileops (do_ftell_wide): Free OUT.
44703 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
44705         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44707 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44709         [BZ #17363]
44710         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44711         group if the current group is empty.
44713 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44715         * benchtests/bench-memset.c (test_main): Add more test from size
44716         from 32 to 512 bytes.
44717         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44718         Add POWER8 memset object.
44719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44720         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44721         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44722         implementation.
44723         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44724         Likewise.
44725         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44726         multiarch POWER8 memset optimization.
44727         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44728         POWER8 memset optimization.
44730         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44731         Remove bzero multiarch objects.
44732         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44733         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44734         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44735         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44736         Remove define.
44737         [__bzero]: Redefine to specific name.
44738         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44739         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44740         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44741         define.
44742         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44743         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44745 2014-09-10  Florian Weimer  <fweimer@redhat.com>
44747         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44748         warnings into errors.
44750         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44751         __cxa_thread_atexit_impl prototype.
44753 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44755         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44756         Fix capitalization of error message.
44758 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44760         * sysdeps/mips/preconfigure: Modify ABI tests.
44762 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
44764         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44766 2014-09-07  Roland McGrath  <roland@hack.frob.com>
44767             Carlos O'Donell  <carlos@systemhalted.org>
44769         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44770         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44771         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44772         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44773         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44774         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44775         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44776         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44777         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44778         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44779         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44780         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44781         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44782         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44783         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44784         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44785         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44786         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44787         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44788         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44789         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44790         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44791         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
44792         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
44793         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
44794         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
44795         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
44796         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
44797         Deconditionalize the code that was previously under [RESET_PID].
44798         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
44799         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
44800         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
44801         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
44802         include sysdep.h.
44804 2014-09-08  Allan McRae  <allan@archlinux.org>
44806         * version.h (RELEASE): Set to "development".
44807         (VERSION): Set to "2.20.90"
44809 2014-09-07  Allan McRae  <allan@archlinux.org
44811         * version.h (RELEASE): Set to "stable".
44812         (VERSION): Set to "2.20"
44813         * include/features.h (__GLIBC_MINOR__): Set to 20.
44815         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
44816         Liebler.
44818         * po/ko.po: Update Korean translation from translation project.
44820 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
44822         [BZ #17354]
44823         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
44824         macro for handling signed relocations.
44826 2014-09-03  Florian Weimer  <fweimer@redhat.com>
44828         [BZ #17325]
44829         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
44830         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
44831         assert.
44832         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
44833         * iconvdata/ibm935.c (BODY): Likewise.
44834         * iconvdata/ibm937.c (BODY): Likewise.
44835         * iconvdata/ibm939.c (BODY): Likewise.
44836         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
44837         assert.
44838         * iconvdata/Makefile (iconv-test.out): Pass module list to test
44839         script.
44840         * iconvdata/run-iconv-test.sh: New test loop for checking for
44841         decoder crashers.
44843 2014-09-02  Khem Raj  <raj.khem@gmail.com>
44845         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
44846         libm_hidden_ver.
44848 2014-09-01  Allan McRae  <allan@archlinux.org>
44850         * po/eo.po: Update Esperanto translation from translation project.
44852         * po/ca.po: Update Catalan translation from translation project.
44854 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44856         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
44857         __proc_dostop call.
44859 2014-08-27  Mark Wielaard  <mjw@redhat.com>
44861         [BZ #17319]
44862         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
44863         to call set_thread_area instead of hand written asm.
44864         (__NR_set_thread_area): Removed define.
44865         (TLS_FLAG_WRITABLE): Likewise.
44866         (__ASSUME_SET_THREAD_AREA): Remove check.
44867         (TLS_EBX_ARG): Remove define.
44868         (TLS_LOAD_EBX): Likewise.
44870 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44872         Simplify atomicity of socket creation in bind.
44874         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
44875         looking up the name after linking the file.
44877 2014-08-27  Allan McRae  <allan@archlinux.org>
44879         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44881 2014-08-26  Florian Weimer  <fweimer@redhat.com>
44883         [BZ #17187]
44884         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
44885         trans_compare, open_translit, __gconv_translit_find):
44886         Remove module loading code.
44888 2014-08-26  Allan McRae  <allan@archlinux.org>
44890         * po/vi.po: Update Vietnamese translation from translation project.
44892         * po/uk.po: Update Ukrainian translation from translation project.
44894         * po/fr.po: Update French translation from translation project.
44896         * po/ru.po: Update Russian translation from translation project.
44898         * po/pl.po: Update Polish translation from translation project.
44900         * po/cs.po: Update Czech translation from translation project.
44902         * po/de.po: Update German translation from translation project.
44904         * po/bg.po: Update Bulgarian translation from translation project.
44906         * po/sv.po: Update Sweedish translation from translation project.
44908         * po/nl.po: Update Dutch translation from translation project.
44910         * po/es.po: Update Spanish translation from translation project.
44912 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44914         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
44916         * catgets/Makefile (CPPFLAGS-gencat): Remove.
44917         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
44918         (CPPFLAGS-iconvconfig): Likewise.
44919         * timezone/Makefile (CPPFLAGS-zic): Likewise.
44921         * include/libc-symbols.h: Remove unnecessary check for
44922         NOT_IN_libc.
44923         * nptl/pthreadP.h: Likewise.
44924         * sysdeps/aarch64/setjmp.S: Likewise.
44925         * sysdeps/alpha/setjmp.S: Likewise.
44926         * sysdeps/arm/sysdep.h: Likewise.
44927         * sysdeps/i386/setjmp.S: Likewise.
44928         * sysdeps/m68k/setjmp.c: Likewise.
44929         * sysdeps/posix/getcwd.c: Likewise.
44930         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44931         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
44932         * sysdeps/s390/s390-32/setjmp.S: Likewise.
44933         * sysdeps/s390/s390-64/setjmp.S: Likewise.
44934         * sysdeps/sh/sh3/setjmp.S: Likewise.
44935         * sysdeps/sh/sh4/setjmp.S: Likewise.
44936         * sysdeps/unix/alpha/sysdep.h: Likewise.
44937         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
44938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44939         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
44940         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44944         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44945         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44946         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44947         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44948         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
44949         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44950         * sysdeps/x86_64/setjmp.S: Likewise.
44952 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
44954         [BZ #17263]
44955         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
44956         <stdint.h>.
44957         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
44958         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
44960 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44962         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
44964         [BZ #17262]
44965         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
44966         and __x86_64__ when disabling x87 inline functions.
44968 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44970         [BZ #17259]
44971         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
44972         asm statement with __cpuid_count.
44974 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
44976         * configure.ac: Change __ehdr_start code to dereference the struct.
44977         Run readelf on the output to look for relocations.
44978         * configure: Regenerated.
44980 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
44982         [BZ #17261]
44983         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
44984         value to 0.
44985         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
44987 2014-08-12  Roland McGrath  <roland@hack.frob.com>
44989         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
44991 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
44993         [BZ #16892]
44994         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
44995         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
44997 2014-08-12  Sean Anderson  <seanga2@gmail.com>
44999         * malloc/malloc.c: Fix typo in comment.
45001 2014-08-09  Allan McRae  <allan@archlinux.org>
45003         * Regenerate libc.po.
45005 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
45007         * intl/tst-gettext2.sh: Check every lang file for creation.
45009 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45011         * sysdeps/aarch64/fpu/math_private.h
45012         (libc_feholdsetround_noex_aarch64_ctx): New function.
45014 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45016         * sysdeps/arm/armv6/strcpy.S (strcpy):
45017         Fix performance issue in misaligned cases.
45019 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45021         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
45022         Move definition from termios.h.
45023         (struct termio): Likewise.
45024         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45025         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45026         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45027         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45028         Likewise.
45029         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
45030         Move definition to ioctl-types.h
45031         (struct termio): Likewise.
45032         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45033         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45034         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45035         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45036         Likewise.
45038 2014-08-05  Richard Henderson  <rth@redhat.com>
45040         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45041         exceptions.
45042         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
45043         Add fraiseexcpt.
45044         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45045         Use __feraiseexcept.
45046         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
45047         Protect libm symbols with IS_IN_libm.
45049         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
45051 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
45053         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
45055 2014-08-04  Will Newton  <will.newton@linaro.org>
45057         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
45058         file.
45060 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
45062         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
45063         variants for each function.
45065 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45067         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
45068         appended ...
45069         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
45070         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
45071         appended ...
45072         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
45073         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
45074         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
45075         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
45076         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
45077         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
45078         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45079         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45080         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45081         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45082         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45083         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45084         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45085         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45086         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45087         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45088         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45089         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45090         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45091         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45092         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45093         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45094         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45095         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45096         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45097         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45098         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45099         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45100         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45101         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45102         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45103         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45104         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45105         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45106         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45107         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45108         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45109         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45110         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45111         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45112         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45113         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45114         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45115         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45116         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45117         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45118         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45119         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45120         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45121         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45122         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45123         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45124         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45125         Update #include.
45126         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45127         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45129 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45131         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45132         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45133         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45134         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45135         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45136         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45138 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45140         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45141         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45142         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45143         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45145 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45147         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45148         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45149         (__libc_vfork): Define function under this name.
45150         (__vfork): Define as an alias.
45151         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
45152         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
45154 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45156         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
45157         that was previously under [RESET_PID].
45158         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
45160 2014-08-04  Andreas Schwab  <schwab@suse.de>
45162         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
45164 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
45166         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
45167         (main): Likewise.
45169 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45171         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
45173 2014-08-01  Richard Henderon  <rth@redhat.com>
45175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
45176         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
45177         typo in exact zero test.
45178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45179         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45180         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45182 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45184         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
45185         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
45186         * sysdeps/arm/sysdep.h: ... here.
45187         [!__ASSEMBLER__]: Include <stdint.h>.
45189 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45191         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
45192         (HAVE_WCTYPE_H): Likewise.
45193         (HAVE_ISWCTYPE): Likewise.
45194         (ENABLE_NLS): Likewise.
45195         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
45196         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
45198         * posix/regex_internal.c: Check if DEBUG is defined and is
45199         set.
45201         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
45202         (HAVE_MBSRTOWCS): Likewise.
45203         * posix/fnmatch.c: Include string.h unconditionally.
45205 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45207         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45208         reversal.
45210 2014-07-31  Roland McGrath  <roland@hack.frob.com>
45212         * sysdeps/generic/safe-fatal.h: New file.
45213         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
45214         * nptl/forward.c: Include it.
45215         (__pthread_unwind): Use __safe_fatal as default action, rather
45216         than a bogus use of INTERNAL_SYSCALL that could never work.
45218         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
45219         * configure.ac (libc_cv_builtin_trap): New test.
45220         * configure: Regenerated.
45221         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
45222         (ABORT_INSTRUCTION): Define using __builtin_trap.
45224         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
45225         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45226         * sysdeps/nptl/nptl-signals.h: New file.
45227         * nptl/pthreadP.h: Include <nptl-signals.h>.
45229 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45231         * sysdeps/s390/s390-64/utf16-utf32-z9.c
45232         (ONE_DIRECTION): Define.
45233         * sysdeps/s390/s390-64/utf8-utf16-z9.c
45234         (ONE_DIRECTION): Define.
45235         * sysdeps/s390/s390-64/utf8-utf32-z9.c
45236         (ONE_DIRECTION): Define.
45238 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45240         * sysdeps/s390/Makefile: Delete file.
45241         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
45242         * sysdeps/s390/__longjmp.c: Delete file.
45243         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
45244         Remove fields __flags and __reserved.
45245         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
45246         and add versioning.
45247         * sysdeps/s390/rtld-__longjmp.c: Delete file.
45248         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45249         * sysdeps/s390/rtld-setjmp.S: Likewise.
45250         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
45251         * sysdeps/s390/s390-32/__longjmp.c: ... here.
45252         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
45253         * sysdeps/s390/s390-32/setjmp.S: ... here.
45254         Add versioning.
45255         (__sigsetjmp): Remove setting __flags field.
45256         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
45257         * sysdeps/s390/s390-64/__longjmp.c: ... here.
45258         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
45259         * sysdeps/s390/s390-64/setjmp.S: ... here.
45260         Add versioning.
45261         (__sigsetjmp): Remove setting __flags field.
45262         * sysdeps/s390/setjmp.S: Delete file.
45263         * sysdeps/s390/sigjmp.c: Likewise.
45264         * sysdeps/s390/v1-longjmp.c: Likewise.
45265         * sysdeps/s390/v1-setjmp.h: Likewise.
45266         * sysdeps/s390/v1-sigjmp.c: Likewise.
45267         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
45268         Remove v1-longjmp_chk.
45269         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
45270         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
45271         Include debug/longjmp_chk.c and add versioning.
45272         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
45273         Include nptl/pt-longjmp.c and add versioning.
45274         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
45275         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
45276         Include __longjmp.c.
45277         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45278         Move to ...
45279         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
45280         (__getcontext): Remove setting __flags field.
45281         Add versioning.
45282         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45283         Don't restore upper high grps.
45284         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
45285         Likewise.
45286         (__swapcontext): Remove setting uc_flags field.
45287         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
45288         Delete file.
45289         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45290         Include __longjmp.c.
45291         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45292         Move to ...
45293         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
45294         (__getcontext): Remove setting __flags field.
45295         Add versioning.
45296         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
45297         (__swapcontext): Remove setting uc_flags field.
45298         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
45299         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
45300         Remove fields uc_high_gprs and __reserved.
45301         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
45302         New file with reverted content.
45303         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
45304         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
45305         Regenerated.
45306         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
45307         Regenerated.
45309 2014-07-31  Andreas Schwab  <schwab@suse.de>
45311         * config.h.in (HAVE_IFUNC): Define to 0.
45312         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
45313         definedness.
45315 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
45317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45318         memmove-avx-unaligned, memcpy-avx-unaligned and
45319         mempcpy-avx-unaligned.
45320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45321         Add tests for AVX memcpy functions.
45322         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
45323         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
45324         memcpy_chk.
45325         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
45326         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
45327         memmove_chk.
45328         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
45329         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
45330         mempcpy_chk.
45331         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
45332         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
45333         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
45335 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45337         [BZ #17213]
45338         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
45339         powerpc64le.
45341 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
45343         [BZ #16839]
45344         * manual/llio.texi: Add section about open file description locks.
45345         * manual/examples/ofdlocks.c: Example of open file description
45346         lock usage.
45347         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
45348         F_OFD_SETLK, and F_OFD_SETLKW.
45350 2014-07-23  Allan McRae  <allan@archlinux.org>
45352         * po/es.po: Update Spanish translation from translation project.
45354 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
45356         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
45358 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
45360         [BZ #17078]
45361         * sysdeps/arm/dl-machine.h (elf_machine_rela)
45362         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
45363         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
45365 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
45367         [BZ #17088]
45368         * math/fesetenv.c (__fesetenv)
45369         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
45370         * math/feupdateenv.c (__feupdateenv)
45371         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45373         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45374         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45375         (__ASSUME_SOCKETCALL): Do not define.
45377         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45378         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45379         (__ASSUME_SOCKETCALL): Do not define.
45380         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45381         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45382         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45383         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45384         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45385         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45386         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45387         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45389         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45390         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45391         (__ASSUME_SOCKETCALL): Do not define.
45392         (__ASSUME_IPC64): Define unconditionally.
45393         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45394         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45395         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45396         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45397         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45398         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45399         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45400         Likewise.
45402         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45403         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45404         (__ASSUME_SOCKETCALL): Do not define.
45405         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45406         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45407         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45408         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45409         (__ASSUME_REQUEUE_PI): Define unconditionally.
45410         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45411         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45412         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45413         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45414         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45415         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45417         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45418         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45419         (__ASSUME_SOCKETCALL): Do not define.
45420         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45421         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45422         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45423         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45424         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45425         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45427         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45428         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45429         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45430         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45431         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45432         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45433         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45434         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45435         (__ASSUME_GETCPU_SYSCALL): Likewise.
45437         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45438         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
45439         cases for individual architectures.
45440         * sysdeps/gnu/configure: Regenerated.
45441         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45442         LIBC_SLIBDIR_RTLDDIR.
45443         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45444         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45445         LIBC_SLIBDIR_RTLDDIR.
45446         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45448         LIBC_SLIBDIR_RTLDDIR.
45449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45450         Regenerated.
45451         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45452         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45453         file.
45454         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45455         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45456         file.
45457         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45458         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45459         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45460         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45462         * sysdeps/aarch64/shlib-versions: Move to ...
45463         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45464         * sysdeps/alpha/shlib-versions: Move to ...
45465         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45466         * sysdeps/arm/shlib-versions: Move to ...
45467         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45468         * sysdeps/hppa/shlib-versions: Move all contents except for
45469         libgcc_s entry to ...
45470         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45471         entry from ...
45472         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45473         * sysdeps/ia64/shlib-versions: Move to ...
45474         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45475         entry from ...
45476         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45477         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45478         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45479         * sysdeps/microblaze/shlib-versions: Move to ...
45480         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45481         * sysdeps/mips/shlib-versions: Move to ...
45482         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45483         entry from ...
45484         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45485         * sysdeps/tile/shlib-versions: Move to ...
45486         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45487         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45488         from ...
45489         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45490         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45491         entry from ...
45492         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45494 2014-07-17  Will Newton  <will.newton@linaro.org>
45496         * sysdeps/arm/bits/atomic.h
45497         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45498         (__arch_compare_and_exchange_bool_16_int): Likewise.
45499         (__arch_compare_and_exchange_bool_64_int): Likewise.
45501         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45502         into an #else block.
45504 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45506         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45507         just Linux configurations.  Test empirically that the compiler sets
45508         __ARM_EABI__, rather than using the tuple to decide.
45509         * sysdeps/arm/preconfigure: Regenerated.
45510         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45511         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45512         contents appended ...
45513         * sysdeps/arm/configure.ac: ... here.
45514         * sysdeps/arm/configure: Regenerated.
45516 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45518         * nptl/pthread_kill.c: New file.
45519         * nptl/pthread_sigmask.c: New file.
45520         * nptl/pthread_sigqueue.c: New file.
45522         * sysdeps/nptl/lowlevellock.h: New file.
45523         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45524         * sysdeps/nptl/lowlevellock-futex.h: New file.
45526         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45527         Remove dead declarations.
45529 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45531         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45532         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45533         config-cflags-avx2.
45534         * sysdeps/x86_64/configure.ac: Likewise.
45535         * sysdeps/i386/configure: Regenerated.
45536         * sysdeps/x86_64/configure: Likewise.
45537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45538         memset-avx2 only if config-cflags-avx2 is yes.
45539         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45540         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45541         defined.
45542         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45543         only if HAVE_AVX2_SUPPORT is defined.
45544         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45546 2014-07-14  Alan Modra  <amodra@gmail.com>
45548         [BZ #17153]
45549         * elf/elf.h (DT_PPC64_NUM): Correct value.
45550         * NEWS: Add to fixed bug list.
45552 2014-07-13  Jim Meyering  <meyering@fb.com>
45554         [BZ 17150]
45555         regex: don't deref NULL upon heap allocation failure
45556         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45557         failure in one more place.
45558         To trigger the segfault, configure grep -with-included-regex,
45559         build it, and run these commands:
45560         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45562 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
45564         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45566 2014-07-11  Richard Henderson  <rth@redhat.com>
45568         * sysdeps/aarch64/libm-test-ulps: Update.
45570 2014-07-10  Florian Weimer  <fweimer@redhat.com>
45572         [BZ #17135]
45573         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45574         * nptl/allocatestack.c (__nptl_setxid_error): New function.
45575         (__nptl_setxid): Initialize error member.  Call
45576         __nptl_setxid_error.
45577         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45578         * nptl/descr.h (struct xid_command): Add error member.
45579         * nptl/tst-setuid3.c: New file.
45580         * nptl/Makefile (tests): Add it.
45582 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45584         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45585         New define.
45586         (__lll_trylock): Use __lll_base_trylock.
45587         (__lll_cond_trylock): Likewise.
45589 2014-07-10  Roland McGrath  <roland@hack.frob.com>
45591         * nptl/pthread_create.c (start_thread): Use atomic_or and
45592         lll_futex_wake directly rather than lll_robust_dead.
45593         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45594         (lll_robust_dead): Macro removed.
45595         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45596         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45597         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45598         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45599         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45600         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45601         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45602         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45603         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45604         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45605         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45606         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45607         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45608         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45609         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45611         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45612         Use atomic_compare_and_exchange_val_acq directly rather than
45613         lll_robust_trylock.
45614         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45615         (__lll_robust_trylock, lll_robust_trylock): Removed.
45616         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45617         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45618         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45619         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45620         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45621         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45622         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45623         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45624         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45625         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45626         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45627         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45628         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45631 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45633         * manual/locale.texi (Locale Names): New section documenting
45634         locale name syntax.  Adjust menu and node chaining accordingly.
45635         (Choosing Locale): Reference Locale Names, Locale Categories.
45636         Mention setting LC_ALL=C.  Reflect that name syntax is now
45637         documented.
45638         (Locale Categories): New section title.  Reference Locale Names.
45639         LC_ALL is an environment variable, but not a category.
45640         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45641         description, now in Locale Name.  Reference that section.  Locale
45642         name syntax is now documented.
45644 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45646         [BZ #17137]
45647         * locale/findlocale.c (name_present, valid_locale_name): New
45648         functions.
45649         (_nl_find_locale): Use the loc_name variable to store name
45650         candidates.  Call name_present and valid_locale_name to check and
45651         validate locale names.  Return an error if the locale is invalid.
45653 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45655         * locale/setlocale.c (setlocale): Use strdup for allocating
45656         composite name copy.
45658 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45660         Sync up with gnulib.
45661         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45662         [!_LIBC && ENABLE_NLS]: Include gettext.h.
45663         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45664         and _GL_ARG_NONNULL.
45665         [USE_UNLOCKED_IO]: Include unlocked-io.h.
45666         [!_LIBC]: Include code for Windows and Cygwin.
45667         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45668         Include prototype for int strerror_r.
45669         [!_LIBC] (is_open): New function.
45670         (flush_stdout): New function.
45671         (print_errno_message): Use it.
45672         (error): Likewise.
45673         (error_at_line): Likewise.
45674         (error_tail) Add function attribute macros.  Use
45675         __builtin_expect.
45677         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45679         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45681         * io/ftw.c: Include sys/param.h unconditionally.
45683         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45685         [BZ #17125]
45686         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45687         libc_freeres_ptr.
45688         (freecache): New function to free CACHE on exit.
45690         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45691         initialization.
45693 2014-07-09  David S. Miller  <davem@davemloft.net>
45695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45697         * sysdeps/sparc/nptl/internaltypes.h: Delete.
45698         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45699         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45700         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45701         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45702         * sysdeps/sparc/nptl/sem_init.c: Likewise.
45703         * sysdeps/sparc/nptl/sem_post.c: Likewise.
45704         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45705         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45706         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45707         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45708         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45709         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45711 2014-07-09  Andreas Schwab  <schwab@suse.de>
45713         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45714         output.
45715         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45716         (do_test): Likewise.
45718         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45720 2014-07-09  Will Newton  <will.newton@linaro.org>
45722         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45723         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45724         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45725         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45726         * sysdeps/hppa/start.S (_start): Likewise.
45728 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45730         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45732         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45733         defined.
45735 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45737         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45738         after checking that it is non-NULL.
45740         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45742 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45744         * sysdeps/powerpc/memmove.c: Remove file.
45745         * sysdeps/powerpc/powerpc32/power4/memcopy.h
45746         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45747         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45748         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45749         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45750         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45751         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45752         string memmove instead of removed powerpc one.
45754         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45755         [weak_alias]: Fix compiler warning due trailing data.
45756         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45757         [weak_alias]: Likewise.
45758         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45759         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45762         (__libc_ifunc_impl_list): Add memmove functions.
45764 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45766         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45767         Remove code.
45768         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45769         Likewise.
45770         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45771         Likewise.
45772         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45773         Likewise.
45774         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45775         Likewise.
45776         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45777         Likewise.
45778         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45779         Likewise.
45780         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45781         Likewise.
45782         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45783         Likewise.
45784         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45785         Likewise.
45786         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45787         Likewise.
45788         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45789         Likewise.
45790         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45791         Likewise.
45792         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
45793         Likewise.
45794         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
45795         Likewise.
45796         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
45797         Likewise.
45798         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
45799         Likewise.
45801 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45803         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
45804         to avoid alignment traps in non-cacheable memory.
45805         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
45808         multiarch objects.
45809         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
45810         file: multiarch power7 memmove.
45811         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
45812         multiarch default memmove.
45813         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
45814         multiarch memove for powerpc32/power4.
45816         * string/bcopy.c: Use full path to include memmove.c.
45817         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
45818         multiarch objects.
45819         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
45820         bcopy for powerpc64.
45821         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
45822         bcopy for powerpc64.
45823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
45824         and memmove implementations.
45825         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
45826         optimized multiarch memmove for POWER7/powerpc64.
45827         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
45828         default multiarch memmove for powerpc64.
45829         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
45830         multiarch for powerpc64.
45831         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
45832         for POWER7/powerpc64.
45833         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
45834         memmove for POWER7/powerpc64.
45836         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
45837         glibc default one.
45839         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
45840         __ELF_NATIVE_CLASS equal to 64.
45842 2014-07-07  Roland McGrath  <roland@hack.frob.com>
45844         * sysdeps/nptl/lowlevellock.h: File removed.
45846         * NEWS: NPTL is no longer an add-on!
45847         * nptl/internaltypes.h: Moved ...
45848         * sysdeps/nptl/internaltypes.h: ... here.
45849         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
45850         * sysdeps/nptl/fork.c: Likewise.
45851         * sysdeps/nptl/gai_misc.h: Likewise.
45852         * sysdeps/nptl/librt-cancellation.c: Likewise.
45853         * sysdeps/nptl/jmp-unwind.c: Likewise.
45854         * sysdeps/nptl/setxid.h: Likewise.
45855         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
45856         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
45857         * sysdeps/unix/sysv/linux/arm/Implies: New file.
45858         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
45859         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
45860         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
45861         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
45862         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
45863         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
45864         * sysdeps/unix/sysv/linux/mips/Implies: New file.
45865         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
45866         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
45867         * sysdeps/unix/sysv/linux/sh/Implies: New file.
45868         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
45869         * sysdeps/unix/sysv/linux/tile/Implies: New file.
45870         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
45871         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
45872         * nptl/Makeconfig: Moved ...
45873         * sysdeps/nptl/Makeconfig: ... here.
45874         * nptl/configure: File removed.
45875         * nptl/ANNOUNCE: File removed.
45876         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
45877         * sysdeps/unix/sysv/linux/configure: Regenerated.
45879         * nptl/Makefile (routines): Add libc_pthread_init,
45880         libc_multiple_threads, register-atfork and unregister-atfork.
45881         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
45882         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
45883         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
45884         pthread-pi-defines.sym, structsem.sym.
45885         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
45886         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
45887         [$(subdir) = nptl] (tests): Add tst-setgetname.
45888         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
45889         * sysdeps/unix/sysv/linux/sigaction.c: Just include
45890         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
45891         [!LIBC_SIGACTION]: Remove aliases.
45892         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45893         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45894         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45895         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
45896         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45897         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
45898         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45899         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45900         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45901         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
45902         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
45903         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
45904         __libc_allocate_rtsig_private.
45905         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
45906         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
45907         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
45908         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
45909         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
45910         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
45911         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
45912         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
45913         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
45914         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
45915         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
45916         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
45917         * nptl/internaltypes.h: ... here.
45918         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
45919         * sysdeps/nptl/jmp-unwind.c: ... here.
45920         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
45921         * nptl/libc-lowlevellock.c: ... here.
45922         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
45923         * nptl/libc_multiple_threads.c: ... here.
45924         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
45925         * nptl/libc_pthread_init.c: ... here.
45926         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
45927         * nptl/lowlevelbarrier.sym: ... here.
45928         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
45929         * nptl/lowlevelcond.sym: ... here.
45930         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
45931         * nptl/lowlevellock.c: ... here.
45932         * nptl/lowlevellock.h: Moved ...
45933         * sysdeps/nptl/lowlevellock.h: ... here.
45934         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
45935         * nptl/lowlevelrobustlock.c: ... here.
45936         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
45937         * nptl/lowlevelrobustlock.sym: ... here.
45938         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
45939         * nptl/lowlevelrwlock.sym: ... here.
45940         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
45941         * nptl/pt-fork.c: ... here.
45942         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
45943         * nptl/pthread-pi-defines.sym: ... here.
45944         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
45945         * nptl/pthread_attr_getaffinity.c: ... here.
45946         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
45947         * nptl/pthread_attr_setaffinity.c: ... here.
45948         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
45949         * nptl/pthread_mutex_cond_lock.c: ... here.
45950         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45951         Update #include.
45952         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
45953         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
45954         * nptl/pthread_once.c: ... here, replacing old file.
45955         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
45956         * nptl/pthread_yield.c: ... here.
45957         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
45958         * nptl/register-atfork.c: ... here.
45959         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
45960         * nptl/sem_post.c: ... here.
45961         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
45962         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
45963         * nptl/sem_timedwait.c: ... here.
45964         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
45965         * nptl/sem_trywait.c: ... here.
45966         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
45967         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
45968         * nptl/sem_wait.c: ... here.
45969         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
45970         * nptl/structsem.sym: ... here.
45971         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
45972         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
45973         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
45974         * nptl/unregister-atfork.c: ... here.
45975         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
45976         * nptl/unwindbuf.sym: ... here.
45977         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
45978         * sysdeps/nptl/fork.c: ... here.
45979         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
45980         * sysdeps/nptl/fork.h: ... here.
45981         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
45982         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
45983         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
45984         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
45985         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
45986         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
45987         * sysdeps/unix/sysv/linux/getpid.c: ... here.
45988         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
45989         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
45990         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
45991         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
45992         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
45993         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
45994         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
45995         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
45996         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
45997         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
45998         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
45999         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
46000         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
46001         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
46002         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
46003         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
46004         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
46005         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
46006         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
46007         * sysdeps/unix/sysv/linux/raise.c: ... here.
46008         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
46009         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
46010         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
46011         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
46012         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
46013         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
46014         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
46015         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
46016         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
46017         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
46018         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
46019         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
46020         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
46021         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
46022         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
46024 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46026         * sysdeps/generic/memcopy.h: Add comment for
46027         MEMCPY_OK_FOR_FWD_MEMMOVE.
46029 2014-07-04  Will Newton  <will.newton@linaro.org>
46031         * string/memchr.c: Merge from gnulib.
46032         [_LIBC]: Remove conditionals.
46033         (__ptr_t): Remove define.
46034         (LONG_MAX_32_BITS): Likewise.
46035         (LONG_MAX): Likewise.
46036         (MEMCHR): Use ANSI prototype and optimize algorithm.
46038         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
46040 2014-07-03  Roland McGrath  <roland@hack.frob.com>
46042         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
46043         (lll_futex_timed_wait_bitset): Fix syscall argument count.
46045         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
46046         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
46047         in a bare environment with no <stdlib.h> installed.
46048         * sysdeps/nptl/configure: Regenerated.
46050         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
46052         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
46053         AC_EGREP_CPP for kernel header checks, so they only succeed if
46054         including <linux/version.h> actually works right.
46055         * sysdeps/unix/sysv/linux/configure: Regenerated.
46057         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
46058         value so it's not diagnosed as unused.
46060         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
46061         thing) with "ifeq ($(subdir),rt)".
46063 2014-07-03  Richard Henderson  <rth@redhat.com>
46065         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
46066         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
46067         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
46069         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
46070         (math_force_eval): New.
46072         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
46073         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
46075         * sysdeps/alpha/fpu/s_round.c: Remove file.
46076         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
46078         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46079         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46080         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46081         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46082         (_dl_start, print_statistics): Likewise.
46083         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46084         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46086         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46087         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46088         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46089         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46090         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46091         (HP_SMALL_TIMING_AVAIL): Define.
46092         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46093         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46094         (HP_SMALL_TIMING_AVAIL): Define.
46095         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46096         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46098         * sysdeps/aarch64/hp-timing.h: New file.
46100         * sysdeps/generic/hp-timing.h: Remove dead comment.
46101         * sysdeps/generic/hp-timing-common.h: New file.
46102         * sysdeps/alpha/hp-timing.h: Include it.
46103         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46104         * sysdeps/i386/i686/hp-timing.h: Likewise.
46105         * sysdeps/ia64/hp-timing.h: Likewise.
46106         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46107         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46108         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46109         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46110         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46111         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46112         (hp_timing_t): New.
46114         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46115         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46116         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46117         * elf/rtld.c (_dl_start_final): Likewise.
46118         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46119         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46120         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46121         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46122         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46123         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46124         (HP_TIMING_DIFF_INIT): Remove.
46125         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46126         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46127         (HP_TIMING_DIFF_INIT): Remove.
46128         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46129         * sysdeps/i386/i686/hp-timing.c: Remove file.
46130         * sysdeps/x86_64/hp-timing.c: Remove file.
46131         * sysdeps/ia64/hp-timing.c: Remove file.
46132         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46133         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46134         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46135         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46137         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46138         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46139         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46140         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46141         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46142         (HP_TIMING_ACCUM): Remove.
46143         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46144         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46145         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46147         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46148         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46149         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46150         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46151         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
46152         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46153         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
46154         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46156         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
46158 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
46160         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
46162 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46164         Sync up with gettext.
46165         * intl/loadmsgcat.c: Define O_BINARY if not defined.
46166         [_MSC_VER]: Include malloc.h
46167         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
46168         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
46169         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
46170         TEMP_FAILURE_RETRY.  Cast return of alloca.
46171         [!_LIBC] Call gl_rwlock_init.
46172         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
46174 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46176         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
46177         before checking its value.
46179 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46181         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
46183         * debug/memcpy_chk.c: Don't include pagecopy.h.
46184         * debug/mempcpy_chk.c: Likewise.
46185         * string/memcpy.c: Likewise.
46186         * string/memmove.c: Likewise.
46187         * sysdeps/powerpc/memmove.c: Likewise.
46188         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
46189         definition of PAGE_COPY_FWD_MAYBE here...
46190         * sysdeps/generic/pagecopy.h: ... from here.
46191         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
46193 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46194             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46196         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
46197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
46198         optimizations.
46199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46200         (__libc_ifunc_impl_list): Likewise.
46201         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
46202         multiarch strcat for PPC64.
46203         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
46204         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
46206 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46208         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
46210 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46212         * intl/loadmsgcat.c: Remove declaration of
46213         get_sysdep_segment_value.
46214         (get_sysdep_segment_value): Use ISO C style.
46215         (_nl_load_domain): Use ISO C style.  Get rid of redundant
46216         semicolon.  Fix typo and formatting in comment.
46217         (_nl_unload_domain): Use ISO C style.
46219         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
46221 2014-07-02  Will Newton  <will.newton@linaro.org>
46223         * malloc/obstack.c: Merge from gnulib master.
46224         [HAVE_CONFIG_H]: Remove conditional code.
46225         [!_LIBC]: Include config.h.
46226         [!ELIDE_CODE]: Don't include inttypes.h, include
46227         stdint.h unconditionally.
46228         (print_and_abort): Mark as _Noreturn.
46229         (_obstack_allocated_p): Mark as __attribute_pure__.
46230         (obstack_free): Rename to __obstack_free.
46231         [!__attribute__]: Remove conditional code.
46232         * malloc/obstack.h: Merge from gnulib master.
46233         [__cplusplus]: Move conditional down.
46234         [!__attribute_pure__]: Define __attribute_pure__ here
46235         if it is not already defined.
46236         (_obstack_memory_used): Mark as __attribute_pure__.
46237         [!__obstack_free]: Define as obstack_free.
46238         [__GNUC__]: Remove check for ancient NeXT gcc.
46240 2014-07-02  Will Newton  <will.newton@linaro.org>
46241             Paul Eggert  <eggert@cs.ucla.edu>
46243         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
46245 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46247         * resolv/gethnamaddr.c: Add comment warning that the file is
46248         not maintained.
46250 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
46252         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
46253         entries.
46255         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
46256         entry for aio_cancel and aio_cancel64.
46257         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
46258         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
46259         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
46260         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
46261         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46262         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
46263         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
46264         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
46265         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
46266         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
46267         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
46268         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
46269         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
46271 2014-07-01  Roland McGrath  <roland@hack.frob.com>
46273         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
46274         * nptl/pthread_mutex_lock.c: Likewise.
46275         * nptl/pthread_mutex_timedlock.c: Likewise.
46276         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
46278 2014-07-01  Richard henderson  <rth@redhat.com>
46280         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
46281         (__isnan, __isnanl): Remove.
46282         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
46284         * sysdeps/alpha/fpu/libm-test-ulps: Update.
46286 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46288         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46290 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46292         * resolv/nss_dns/dns-host.c (getanswer_r)
46293         [MULTI_PTRS_ARE_ALIASES]: Remove code.
46295 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
46297         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46298         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
46299         undefine.
46300         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
46301         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
46303 2014-07-01  Roland McGrath <roland@hack.frob.com>
46305         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
46306         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
46308         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
46309         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
46311         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
46312         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
46313         ... here.
46314         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
46315         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46317         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
46318         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
46319         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
46320         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
46322         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
46323         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
46324         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
46325         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
46326         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46327         Moved ...
46328         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
46329         ... here.
46330         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
46331         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
46332         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
46333         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
46334         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46335         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
46336         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
46337         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
46338         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
46339         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46340         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
46341         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
46342         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
46343         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
46344         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
46345         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
46346         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
46347         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46348         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
46349         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
46350         ... here.
46351         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
46352         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
46353         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
46354         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
46355         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
46356         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
46357         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
46358         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
46360 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
46362         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
46363         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
46364         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
46365         Add sysdep.
46367 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46371 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46373         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46374         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46376         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46378         * sysdeps/arm/libm-test-ulps: Regenerated.
46380 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46381             Roland McGrath <roland@hack.frob.com>
46383         * test-skeleton.c (signal_handler): Kill the whole process group
46384         before killing the child individually.
46385         (main): Report any failure on `setpgid'.
46387 2014-06-30  Roland McGrath  <roland@hack.frob.com>
46389         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46390         from _TLS_H to _ARM_NPTL_TLS_H.
46391         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46392         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46394 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46396         [BZ #16539]
46397         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46398         (__expm1l): Return argument unchanged when small but not
46399         subnormal.
46401         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46402         include macro name.
46403         (_FP_UNPACK_RAW_1_P): Likewise.
46404         (_FP_PACK_RAW_1): Likewise.
46405         (_FP_PACK_RAW_1_P): Likewise.
46406         (_FP_MUL_MEAT_1_wide): Likewise.
46407         (_FP_MUL_MEAT_DW_1_hard): Likewise.
46408         (_FP_MUL_MEAT_1_hard): Likewise.
46409         (_FP_DIV_MEAT_1_imm): Likewise.
46410         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46411         (_FP_DIV_MEAT_1_udiv): Likewise.
46412         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46413         (_FP_UNPACK_RAW_2): Likewise.
46414         (_FP_UNPACK_RAW_2_P): Likewise.
46415         (_FP_PACK_RAW_2): Likewise.
46416         (_FP_PACK_RAW_2_P): Likewise.
46417         (_FP_MUL_MEAT_DW_2_wide): Likewise.
46418         (_FP_MUL_MEAT_2_wide): Likewise.
46419         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46420         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46421         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46422         (_FP_MUL_MEAT_2_gmp): Likewise.
46423         (_FP_DIV_MEAT_2_udiv): Likewise.
46424         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46425         (_FP_FRAC_SRL_4): Likewise.
46426         (_FP_FRAC_SRST_4): Likewise.
46427         (_FP_FRAC_SRS_4): Likewise.
46428         (_FP_UNPACK_RAW_4): Likewise.
46429         (_FP_UNPACK_RAW_4_P): Likewise.
46430         (_FP_PACK_RAW_4): Likewise.
46431         (_FP_PACK_RAW_4_P): Likewise.
46432         (_FP_MUL_MEAT_DW_4_wide): Likewise.
46433         (_FP_MUL_MEAT_4_wide): Likewise.
46434         (_FP_MUL_MEAT_4_gmp): Likewise.
46435         (umul_ppppmnnn): Likewise.
46436         (_FP_DIV_MEAT_4_udiv): Likewise.
46437         (__FP_FRAC_ADD_4): Likewise.
46438         (__FP_FRAC_SUB_3): Likewise.
46439         (__FP_FRAC_SUB_4): Likewise.
46440         (__FP_FRAC_DEC_3): Likewise.
46441         (__FP_FRAC_DEC_4): Likewise.
46442         (__FP_FRAC_ADDI_4): Likewise.
46443         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46444         (_FP_FRAC_SRL_8): Likewise.
46445         (_FP_FRAC_SRS_8): Likewise.
46447         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46448         include macro name.
46449         (FP_UNPACK_RAW_EP): Likewise.
46450         (FP_PACK_RAW_E): Likewise.
46451         (FP_PACK_RAW_EP): Likewise.
46452         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46453         (_FP_ISSIGNAN): Likewise.
46454         (_FP_ADD_INTERNAL): Likewise.
46455         (_FP_FMA): Likewise.
46456         (_FP_CMP): Likewise.
46457         (_FP_SQRT): Likewise.
46458         (_FP_TO_INT): Likewise.
46459         (_FP_FROM_INT): Likewise.
46460         (FP_EXTEND): Likewise.
46461         (_FP_DIV_MEAT_N_loop): Likewise.
46463 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46465         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46466         throughout.
46468 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46470         [BZ #17097]
46471         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46472         result with correct sign in case of exponents that produce
46473         overflow except for X very close to 1.
46475 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46477         mktime: merge #if/#ifdef usage from glibc
46478         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46479         as that works with both Glibc's and Gnulib's style.
46480         See thread starting at Siddhesh Poyarekar's bug report at:
46481         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46483 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46485         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46486         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46487         * sysdeps/tile/tilegx/memmove.c: Remove file.
46489 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46491         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46492         abi-name definition.
46493         * scripts/soversions.awk: Do not handle or generate ABI lines.
46494         * shlib-versions: Remove ABI entries.
46495         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46496         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46498 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46501         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46502         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46503         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46505         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46507         Moved ...
46508         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46509         ... here.
46510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46511         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46513         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46515         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46517         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46519         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46521         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46523         Moved ...
46524         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46526         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46528         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46530         Moved ...
46531         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46533         Moved ...
46534         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46536         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46538         Moved ...
46539         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46541         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46543         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46545         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46547         Moved ...
46548         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46550         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46551         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46552         Moved ...
46553         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46554         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46555         Moved ...
46556         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46558         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46559         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46560         Moved ...
46561         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46562         ... here.
46563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46564         Identical file removed.
46565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46566         Moved ...
46567         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46569         Identical file removed.
46570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46571         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46573         Moved ...
46574         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46576         Identical file removed.
46577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46578         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46579         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46580         Identical file removed.
46581         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46582         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46583         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46584         Identical file removed.
46585         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46586         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46587         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46588         Identical file removed.
46589         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46590         Moved ...
46591         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46593         Identical file removed.
46594         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46595         Moved ...
46596         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46598         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46600         Identical file removed.
46601         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46602         Moved ...
46603         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46604         ... here.
46605         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46606         Identical file removed.
46607         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46608         Moved ...
46609         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46610         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46611         Identical file removed.
46612         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46613         Moved ...
46614         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46616         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46617         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46618         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46620         Moved ...
46621         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46622         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46623         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46625         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46626         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46627         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46628         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46629         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46631 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
46633         [BZ #17092]
46634         * nscd/nscd.c (monitor_child): Return exit status of child
46635         instead of return value from wait syscall.
46637 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46639         * configure.ac (libc_commonpagesize): Remove variable.
46640         (libc_relro_required): Likewise.
46641         (libc_cv_z_relro): Remove configure test.
46642         * configure: Regenerated.
46643         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46644         variable.
46645         (libc_relro_required): Likewise.
46646         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46647         (libc_relro_required): Likewise.
46648         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46649         (libc_relro_required): Likewise.
46650         * sysdeps/arm/preconfigure: Regenerated.
46651         * sysdeps/ia64/preconfigure: Remove file.
46652         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46653         variable.
46654         (libc_relro_required): Likewise.
46656         [BZ #16561]
46657         [BZ #16562]
46658         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46659         (__ieee754_yn): Set FE_TONEAREST mode internally and then
46660         recompute overflowing results in original rounding mode.
46661         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46662         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46663         recompute overflowing results in original rounding mode.
46664         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46665         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46666         recompute overflowing results in original rounding mode.
46667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46668         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46669         recompute overflowing results in original rounding mode.
46670         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46671         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46672         recompute overflowing results in original rounding mode.
46673         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46674         (libc_feholdsetround_ctx): New macro.
46675         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46676         * sysdeps/i386/fpu/libm-test-ulps: Update.
46677         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46679 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46681         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46682         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46683         corresponding .cpsetup call.
46685 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46687         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46688         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46689         * sysdeps/arm/Makefile [$(subdir) = csu]
46690         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46691         (static-only-routines): Add aeabi_read_tp here.
46692         (shared-only-routines): Add libc-aeabi_read_tp here.
46693         (CFLAGS-libc-start.c): Add -fexceptions here.
46694         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46695         (sysdep_routines, static-only-routines, shared-only-routines):
46696         Don't add to these here.
46697         (CFLAGS-libc-start.c): Likewise.
46699         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46700         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46701         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46702         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46703         * sysdeps/arm/Makefile [$(subdir) = rt]
46704         (librt-sysdep_routines, librt-shared-only-routines):
46705         Append rt-aeabi_unwind_cpp_pr1 here.
46706         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46707         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46708         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46709         (libpthread-sysdep_routines, libpthread-shared-only-routines):
46710         Append nptl-aeabi_unwind_cpp_pr1 here.
46711         (tests): Filter out tst-cleanupx4 here.
46712         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46713         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46714         Don't do those here.
46716 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46718         * scripts/list-sources.sh: Do not handle ports specially.
46720 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46722         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46723         * sysdeps/arm/feupdateenv.c: Likewise.
46725         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46727 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46729         * manual/texinfo.tex: Update to version 2014-05-05.10 with
46730         trailing whitespace removed.
46731         * scripts/config.guess: Update to version 2014-03-23.
46732         * scripts/config.sub: Update to version 2014-05-01
46733         * scripts/install-sh: Update to version 2013-12-25.23.
46734         * scripts/move-if-change: Update from gnulib.
46736 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46738         * debug/memmove_chk.c: Remove pagecopy.h include.
46740 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
46742         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
46743         identical to gnulib mktime.
46745 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46747         * configure.ac: Do not test for machine being rs6000.  Do not test
46748         for powerpc*-*soft.
46749         * configure: Regenerated.
46751         [BZ #11505]
46752         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46753         test.
46754         * configure: Regenerated.
46755         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46756         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46757         Remove configure test.
46758         * sysdeps/arm/configure: Regenerated.
46759         * sysdeps/nptl/configure.ac: Do not check
46760         libc_cv_asm_cfi_directives.
46761         * sysdeps/nptl/configure: Regenerated.
46762         * sysdeps/x86_64/nptl/configure.ac: Remove file.
46763         * sysdeps/x86_64/nptl/configure: Remove generated file.
46764         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46765         unconditional.
46766         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46768 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46770         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46771         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46772         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46773         it is defined.
46775         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46776         instead of whether it is defined.
46777         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46778         * sysdeps/hppa/dl-machine.h: Likewise.
46779         * sysdeps/ia64/dl-machine.h: Likewise.
46780         * sysdeps/m68k/dl-machine.h: Likewise.
46781         * sysdeps/microblaze/dl-machine.h: Likewise.
46782         * sysdeps/mips/dl-machine.: Likewise.
46783         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46784         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46785         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46786         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46787         * sysdeps/sh/dl-machine.h: Likewise.
46788         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46789         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46790         * sysdeps/tile/dl-machine.h: Likewise.
46791         * sysdeps/x86_64/dl-machine.h: Likewise.
46793         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
46794         code.
46795         (verify_persistent_db): Likewise.
46797 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
46800         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
46801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
46802         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
46803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46804         Moved ...
46805         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
46806         ... here.
46807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
46808         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
46809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
46810         Identical file removed.
46811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
46812         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
46813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
46814         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
46815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
46816         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
46817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
46818         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
46819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
46820         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
46821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46822         Moved ...
46823         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
46824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
46825         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
46826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
46827         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
46828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46829         Moved ...
46830         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
46831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
46832         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
46833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
46834         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
46835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46836         Identical file removed.
46837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
46838         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
46839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
46840         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
46841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46842         Moved ...
46843         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
46844         ... here.
46845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
46846         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
46847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
46848         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
46849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
46850         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
46851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
46852         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
46853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
46854         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
46855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46856         Moved ...
46857         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
46858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
46859         Moved ...
46860         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
46861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
46862         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
46863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46864         Moved ...
46865         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
46866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
46867         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
46869         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
46870         folded into ...
46871         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
46872         * sysdeps/unix/sysv/linux/s390/Versions
46873         (libpthread: GLIBC_2.19): New version set.
46874         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
46875         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
46876         (librt: GLIBC_2.3.3): New version set.
46877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
46878         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
46879         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
46880         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
46881         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
46882         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
46883         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
46884         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
46885         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
46886         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
46887         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
46888         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
46889         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
46890         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
46891         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
46892         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
46893         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
46894         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
46895         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
46896         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
46897         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
46898         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
46899         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
46900         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
46901         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
46902         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
46903         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
46904         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
46905         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
46906         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
46907         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
46908         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
46909         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
46910         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
46911         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
46912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
46913         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
46914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
46915         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
46916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
46917         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
46918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
46919         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
46920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
46921         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
46923         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
46924         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
46925         (__libc_vfork): Define the function under this name.
46926         [!NOT_IN_libc] (__vfork): Make this an alias.
46927         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
46929         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
46930         (__libc_vfork): Define the function under this name.
46931         [!NOT_IN_libc] (__vfork): Make this an alias.
46932         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46933         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
46934         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
46935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
46936         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
46937         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46939         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
46940         code that was previously under [RESET_PID].
46941         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
46942         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
46943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
46945         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
46946         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
46947         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
46948         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
46949         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
46950         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
46951         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
46952         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
46953         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
46954         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
46955         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
46956         Moved ...
46957         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
46958         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
46959         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
46960         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
46961         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
46962         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
46963         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
46964         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
46965         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
46966         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
46967         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
46968         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
46969         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
46970         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
46971         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
46972         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
46973         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
46974         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
46975         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
46976         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
46977         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
46978         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
46979         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
46980         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
46981         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
46982         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
46983         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
46984         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
46985         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
46987 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46989         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
46990         that was previously under [RESET_PID].
46991         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
46993 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46995         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
46996         not undefine and redefine.
46997         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
46998         [O_CLOEXEC]: Make code unconditional.
46999         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
47000         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
47001         <kernel-features.h>.
47002         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
47003         conditional variable definition.
47004         (shm_open) [O_CLOEXEC]: Make code unconditional.
47005         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
47006         code.
47008         * configure.ac (USE_REGPARMS): Don't define here.
47009         * configure: Regenerated.
47010         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
47011         * sysdeps/i386/configure: Regenerated.
47013         * nptl/createthread.c: Don't include kernel-features.h.
47014         * nptl/pthread_cancel.c: Likewise.
47015         * nptl/pthread_condattr_setclock.c: Likewise.
47016         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
47017         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
47018         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
47019         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
47020         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
47021         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
47022         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
47023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
47024         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
47025         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
47026         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
47027         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
47028         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
47029         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
47030         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
47031         * nscd/gai.c: Likewise.
47032         * nss/nss_db/db-open.c: Likewise.
47033         * sysdeps/generic/ldsodefs.h: Likewise.
47034         * sysdeps/sh/nptl/tls.h: Likewise.
47035         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47036         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
47037         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
47038         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47039         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
47040         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47041         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47042         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47043         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47044         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
47045         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
47046         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47047         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
47048         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
47049         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
47050         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
47051         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47052         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
47053         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
47054         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
47055         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
47056         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47057         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
47058         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47059         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
47060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
47061         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
47062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
47063         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
47064         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
47065         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
47066         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
47067         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
47068         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47069         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47070         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47071         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47072         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
47073         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
47074         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
47075         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47076         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
47077         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
47078         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47079         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47080         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47081         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47082         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47083         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47084         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47085         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47086         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47087         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47088         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47089         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47090         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47091         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47092         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47115         * sysdeps/unix/sysv/linux/pread.c: Likewise.
47116         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47117         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47118         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47119         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47120         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47121         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47122         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47123         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47124         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47125         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47126         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47127         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47128         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47129         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47130         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47131         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47132         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47133         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47134         * sysdeps/unix/sysv/linux/system.c: Likewise.
47135         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47136         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47137         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47138         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47139         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47140         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47141         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47143         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47144         * configure: Regenerated.
47145         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47147         * configure.ac (base_machine): Do not set specially for particular
47148         machines here.
47149         * configure: Regenerated.
47150         * sysdeps/powerpc/preconfigure: Move machine and base_machine
47151         settings from configure.ac.
47152         * sysdeps/i386/preconfigure: New file.
47153         * sysdeps/s390/preconfigure: Likewise.
47154         * sysdeps/sh/preconfigure: Likewise.
47155         * sysdeps/sparc/preconfigure: Likewise.
47157 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47159         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
47160         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
47161         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
47162         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
47163         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
47164         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
47165         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
47166         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
47167         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
47168         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
47169         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
47170         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
47171         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
47172         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
47173         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
47174         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
47175         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
47176         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
47177         * sysdeps/sparc/sparc64/Makefile: ... appended here.
47179         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
47180         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
47181         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
47182         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
47183         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
47184         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
47185         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
47186         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47187         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
47188         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
47189         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
47190         * sysdeps/sparc/sparc32/sem_post.c: ... here.
47191         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
47192         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
47193         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
47194         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
47195         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
47196         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
47197         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
47198         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
47199         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
47200         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
47201         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
47202         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47203         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
47204         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
47205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
47206         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
47207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
47208         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
47209         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
47210         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
47211         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
47212         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
47213         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
47214         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
47215         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
47216         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
47218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
47219         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
47220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
47221         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
47222         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47223         Moved ...
47224         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
47225         ... here.
47226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
47227         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
47228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
47229         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
47230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
47231         Moved ...
47232         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
47233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
47234         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
47235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
47236         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
47237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
47238         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
47239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47240         Moved ...
47241         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
47242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47243         Moved ...
47244         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
47245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
47246         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
47247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47248         Moved ...
47249         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
47250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
47251         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
47252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
47253         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
47254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
47255         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
47256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
47257         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
47258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47259         Moved ...
47260         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
47261         ... here.
47262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
47263         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
47264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
47265         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
47266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
47267         Moved ...
47268         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
47269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
47270         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
47271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
47272         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
47273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
47274         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
47275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47276         Moved ...
47277         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
47278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47279         Moved ...
47280         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
47281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
47282         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
47283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47284         Moved ...
47285         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
47286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
47287         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
47288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
47289         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
47291 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47293         * timezone/checktab.awk: Update from tzcode 2014e.
47294         * timezone/private.h: Likewise.
47295         * timezone/tzfile.h: Likewise.
47296         * timezone/zdump.c: Likewise.
47297         * timezone/zic.c: Likewise.
47299         * sysdeps/unix/sysv/linux/kernel-features.h
47300         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
47301         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
47302         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
47303         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47304         Remove conditional code.
47306 2014-06-25  Will Newton  <will.newton@linaro.org>
47308         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
47309         (_dl_arm_cap_flags): Add HWCAP2 values.
47310         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
47311         (_DL_HWCAP_COUNT): Increase to 37.
47312         (_DL_HWCAP_LAST): New define.
47313         (_DL_HWCAP2_LAST): New define.
47314         (_dl_procinfo): Add support for printing
47315         AT_HWCAP2 entries.
47316         (_dl_string_hwcap): Use _dl_hwcap_string.
47318 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47322 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47324         * README: Do not mention ports directory.
47326         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
47327         Remove macro.
47328         * sysdeps/unix/sysv/linux/futimes.c: Do not include
47329         <kernel-features.h>.
47330         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
47331         conditional variable definition.
47332         (__futimes): Update comment.
47333         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
47334         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
47336         [BZ #16560]
47337         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
47338         arguments close to 0.
47339         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
47340         Likewise.
47341         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47342         Likewise.
47343         * math/auto-libm-test-in: Add more tests of exp10.
47344         * math/auto-libm-test-out: Regenerated.
47345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47347         * sysdeps/unix/sysv/linux/kernel-features.h
47348         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
47349         * sysdeps/unix/sysv/linux/readv.c: Do not include
47350         <kernel-features.h>.
47351         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47352         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47353         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47354         unconditional.
47355         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47356         conditional code.
47357         * sysdeps/unix/sysv/linux/writev.c: Do not include
47358         <kernel-features.h>.
47359         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47360         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47361         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47362         unconditional.
47363         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47364         conditional code.
47366 2014-06-25  Will Newton  <will.newton@linaro.org>
47368         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
47369         comment changes throughout the file.  Remove checks
47370         for HAVE_*_H definitions that are not required.
47371         (__gen_tempname): Call abort if an unknown kind value is
47372         passed.
47374 2014-06-25  Andreas Schwab  <schwab@suse.de>
47376         [BZ #17086]
47377         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47378         scalbln, scalblnf, scalblnl in libc.
47380 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47382         [BZ #17086]
47383         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47384         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47385         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47387 2014-06-24  Roland McGrath  <roland@hack.frob.com>
47389         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47390         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47391         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47392         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47393         Update #include.
47394         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47395         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47396         Update #include.
47397         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47398         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47399         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47400         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47401         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47402         * sysdeps/x86/bits/pthreadtypes.h: ... here.
47403         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47404         * sysdeps/x86/bits/semaphore.h: ... here.
47405         * sysdeps/x86/nptl/elide.h: Moved ...
47406         * sysdeps/x86/elide.h: ... here.
47407         * sysdeps/x86_64/nptl/Implies: File removed.
47408         * sysdeps/i386/nptl/Implies: File removed.
47410 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
47412         [BZ #16539]
47413         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47414         return the argument for normal arguments with exponent below -64.
47415         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47416         Likewise.
47417         * math/auto-libm-test-in: Add another test of expm1.
47418         * math/auto-libm-test-out: Regenerated.
47420         [BZ #16287]
47421         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47422         calling __erfcl for arguments at least 16.
47423         * math/auto-libm-test-in: Add more tests of erf.
47424         * math/auto-libm-test-out: Regenerated.
47426         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47427         individual architectures.
47428         * sysdeps/unix/sysv/linux/configure: Regenerated.
47429         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47430         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47431         * sysdeps/unix/sysv/linux/powerpc/configure.ac
47432         (ldd_rewrite_script): Define variable.
47433         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47435         file.
47436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47437         generated file.
47438         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47439         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47440         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47441         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47442         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47443         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47444         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47445         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47447 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47449         [BZ #17084]
47450         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47451         Rename member __data.d to __data.__elision_data.
47453 2014-06-24  Wilco  <wdijkstr@arm.com>
47455         * NEWS: Add 16918 to fixed bug list.
47457 2014-06-24  Wilco  <wdijkstr@arm.com>
47459         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47461 2014-06-24  Wilco  <wdijkstr@arm.com>
47463         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47464         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47465         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47466         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47467         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47468         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47469         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47470         Use _FPU_MASK_RM.
47472 2014-06-24  Wilco  <wdijkstr@arm.com>
47474         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47476 2014-06-24  Wilco  <wdijkstr@arm.com>
47478         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47479         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47480         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47481         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47483 2014-06-24  Wilco  <wdijkstr@arm.com>
47485         [BZ #16918]
47486         * sysdeps/arm/feupdateenv.c (feupdateenv):
47487         Rewrite to reduce FPSCR accesses and fix return value.
47489 2014-06-24  Wilco  <wdijkstr@arm.com>
47491         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47492         Optimize to avoid unnecessary FPSCR writes.
47493         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47494         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47495         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47496         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47498 2014-06-24  Wilco  <wdijkstr@arm.com>
47500         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47501         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47502         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47503         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47504         Call libc_fetestexcept_vfp.
47505         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47506         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47507         __SOFTFP__ ifdef so that they can be built for softfp.
47509 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47511         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47512         argument type signed char.
47514         * Makerules (check-abi): Dump diff of symlist if the test
47515         fails.
47517 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47519         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47520         using abort.
47522         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47523         Remove unused variable ST.
47525 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47527         [BZ #16354]
47528         [BZ #17061]
47529         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47530         small arguments before calling __expm1.
47531         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47532         small arguments before calling __expm1f.
47533         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47534         small arguments before calling __expm1l.
47535         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47536         Likewise.
47537         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47538         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47539         spurious underflow for some cosh tests.
47540         * math/auto-libm-test-out: Regenerated.
47541         * sysdeps/i386/fpu/libm-test-ulps: Update.
47543         [BZ #17050]
47544         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47545         (__ieee754_y1): Set errno if return value overflows.
47546         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47547         (__ieee754_y1f): Set errno if return value overflows.
47548         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47549         (__ieee754_y1l): Set errno if return value overflows.
47550         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47551         (__ieee754_y1l): Set errno if return value overflows.
47552         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47553         * math/auto-libm-test-out: Regenerated.
47555         * math/gen-auto-libm-tests.c: Document use of
47556         ignore-zero-inf-sign.
47557         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47558         (input_flags): Add ignore-zero-inf-sign.
47559         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47560         * math/gen-libm-test.pl (generate_testfile): Handle
47561         ignore-zero-inf-sign.
47562         * math/auto-libm-test-in: Mark some cpow tests with
47563         ignore-zero-inf-sign and some with xfail-rounding.
47564         * math/auto-libm-test-out: Regenerated.
47565         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47566         * sysdeps/i386/fpu/libm-test-ulps: Update.
47567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47569         [BZ #16315]
47570         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47571         overflowing or underflowing operations take place with sign of
47572         result.
47573         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47574         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47575         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47576         (__ieee754_pow): Recompute overflowing and underflowing results in
47577         original rounding mode.
47578         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47579         (__powl_helper): Allow negative argument X and scale negated value
47580         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
47581         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47582         overflowing or underflowing operations take place with sign of
47583         result.
47584         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47585         Include <math.h>.
47586         * math/auto-libm-test-in: Add more tests of pow.
47587         * math/auto-libm-test-out: Regenerated.
47588         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47589         (pow_tonearest_test_data): Remove.
47590         (pow_test_tonearest): Likewise.
47591         (pow_towardzero_test_data): Likewise.
47592         (pow_test_towardzero): Likewise.
47593         (pow_downward_test_data): Likewise.
47594         (pow_test_downward): Likewise.
47595         (pow_upward_test_data): Likewise.
47596         (pow_test_upward): Likewise.
47597         (main): Don't call removed functions.
47598         * sysdeps/i386/fpu/libm-test-ulps: Update.
47599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47601 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47604         Moved ...
47605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47607         Moved ...
47608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47610         Moved ...
47611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47613         Moved ...
47614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47616         File removed.
47617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47618         File removed.
47619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47620         File removed.
47621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47622         File removed.
47623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47624         File removed.
47625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47626         File removed.
47627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47628         File removed.
47629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47630         File removed.
47631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47632         File removed.
47633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47634         File removed.
47635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47636         File removed.
47637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47638         File removed.
47639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47640         Moved ...
47641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47643         Moved ...
47644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47645         ... here.
47646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47647         Moved ...
47648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47650         Moved ...
47651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47653         Moved ...
47654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47656         Moved ...
47657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47659         Moved ...
47660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47662         Moved ...
47663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47665         Moved ...
47666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47669         ... here.
47670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47671         Moved ...
47672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47674         Moved ...
47675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47676         ... here.
47677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47678         Moved ...
47679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47680         ... here.
47681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47682         Moved ...
47683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47684         ... here.
47685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47686         Moved ...
47687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47689         Moved ...
47690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47694         Moved ...
47695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47696         ... here.
47697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47698         Moved ...
47699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47700         ... here.
47701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47702         Moved ...
47703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47705         Moved ...
47706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47708         Moved ...
47709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47711         Moved ...
47712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47714         Moved ...
47715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47716         ... here.
47717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47718         Moved ...
47719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47721         Moved ...
47722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47724         Moved ...
47725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47727         Moved ...
47728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47732         Moved ...
47733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47735         Moved ...
47736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47738         Moved ...
47739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47740         ... here.
47741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47742         Moved ...
47743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47744         ... here.
47745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47746         Moved ...
47747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47748         ... here.
47749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47750         Moved ...
47751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47753         Moved ...
47754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47756         Moved ...
47757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47759         Moved ...
47760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47761         ... here.
47762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47763         Moved ...
47764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47765         ... here.
47766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47767         Moved ...
47768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47769         ... here.
47770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47771         Moved ...
47772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47774         Moved ...
47775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47777 2014-06-23  Will Newton  <will.newton@linaro.org>
47778             Wilco  <wdijkstr@arm.com>
47780         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47781         implementation.  Include get-rounding-mode.h.
47782         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47783         [!libc_feholdsetround_noex_ctx]: Define
47784         libc_feholdsetround_noex_ctx.
47785         [!libc_feholdsetround_noexf_ctx]: Define
47786         libc_feholdsetround_noexf_ctx.
47787         [!libc_feholdsetround_noexl_ctx]: Define
47788         libc_feholdsetround_noexl_ctx.
47789         (libc_feholdsetround_ctx): New function.
47790         (libc_feresetround_ctx): New function.
47791         (libc_feholdsetround_noex_ctx): New function.
47792         (libc_feresetround_noex_ctx): New function.
47794 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47796         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
47797         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
47798         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
47799         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
47800         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
47801         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
47803         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
47804         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
47805         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
47806         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
47807         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
47808         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
47809         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
47810         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
47811         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
47812         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
47813         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
47814         Moved ...
47815         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
47816         ... here.
47817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
47818         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
47819         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
47820         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
47821         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
47822         Moved ...
47823         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
47824         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
47825         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
47826         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
47827         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
47828         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
47829         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
47830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
47831         Moved ...
47832         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
47833         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
47834         Moved ...
47835         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
47836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
47837         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
47838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
47839         Moved ...
47840         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
47841         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
47842         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
47843         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
47844         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
47845         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
47846         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
47847         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
47848         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
47849         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
47850         Moved ...
47851         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
47852         ... here.
47853         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
47854         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
47855         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
47856         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
47857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
47858         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
47859         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
47860         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
47861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
47862         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
47863         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
47864         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
47865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
47866         Moved ...
47867         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
47868         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
47869         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
47870         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
47871         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
47872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
47873         Moved ...
47874         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
47875         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
47876         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
47877         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
47878         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
47880         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
47881         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
47882         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
47883         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
47884         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
47885         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
47886         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
47887         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
47888         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
47889         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
47890         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
47891         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
47892         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
47893         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
47894         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
47895         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
47896         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
47897         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
47898         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
47899         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
47900         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
47901         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
47902         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
47903         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
47904         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
47905         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
47906         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
47907         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
47909 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47911         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
47912         (FALLOC_FL_COLLAPSE_RANGE): New macro.
47913         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
47914         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
47915         (IPV6_PMTUDISC_INTERFACE): Likewise.
47916         (IPV6_PMTUDISC_OMIT): Likewise.
47918 2014-06-23  Andreas Schwab  <schwab@suse.de>
47920         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
47921         Remove unused errout label.
47923 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47925         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
47926         macro: hardware supports Vector Crypto instructions.
47928 2014-06-23  Will Newton  <will.newton@linaro.org>
47930         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
47931         rather than __builtin_expect.
47933         * elf/dl-lookup.c (undefined_msg): Remove variable.
47934         (_dl_lookup_symbol_x): Replace undefined_msg with string
47935         literal.
47937         * elf/dl-lookup.c (do_lookup_unique): New function.
47938         (do_lookup_x): Move STB_GNU_UNIQUE handling code
47939         to a separate function.
47941 2014-06-23  Andreas Schwab  <schwab@suse.de>
47943         [BZ #17079]
47944         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
47945         before reading the next line.
47947 2014-06-23  Will Newton  <will.newton@linaro.org>
47949         * test-skeleton.c (signal_handler): Use printf and %m
47950         rather than perror.  Use printf rather than fprintf to
47951         stderr.  Use puts rather than fputs to stderr.
47952         (main): Likewise.
47954 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
47956         * nscd/nscd.c (thread_info_t): Remove typedef.
47957         (thread_info): Remove variable.
47959 2014-06-21  Allan McRae  <allan@archlinux.org>
47961         * NEWS: Mention CVE-2014-4043.
47963 2014-06-20  Roland McGrath  <roland@hack.frob.com>
47965         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
47966         * nptl/smp.h: ... here.
47968         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
47970         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
47971         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
47972         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
47973         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
47975         * nptl/allocatestack.c: Include <stack-aliasing.h>.
47976         * nptl/stack-aliasing.h: New file.
47977         * sysdeps/i386/i686/stack-aliasing.h: New file.
47978         * sysdeps/i386/i686/nptl/Makefile: File removed.
47979         * sysdeps/x86_64/stack-aliasing.h: New file.
47980         * sysdeps/x86_64/nptl/Makefile
47981         (CFLAGS-pthread_create.c): Variable removed.
47983         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
47984         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
47985         old file.
47986         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
47987         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
47988         old file.
47990 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
47992         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47993         (__ASSUME_SIGFRAME_V2): Remove macro.
47994         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
47995         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
47996         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
47997         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
47998         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
47999         Declare as function.  Remove conditional macro definitions.
48000         (__default_rt_sa_restorer): Likewise.
48001         (__default_sa_restorer_v1): Remove declaration.
48002         (__default_sa_restorer_v2): Likewise.
48003         (__default_rt_sa_restorer_v1): Likewise.
48004         (__default_rt_sa_restorer_v2): Likewise.
48005         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
48006         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
48007         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
48009 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48011         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
48012         (libpthread-routines): Add sysdep.
48013         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
48014         * sysdeps/unix/sysv/linux/sparc/Versions
48015         (libpthread: GLIBC_2.3.3): New version set.
48016         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
48017         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
48018         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
48019         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
48020         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
48021         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
48022         Moved ...
48023         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
48024         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
48025         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
48026         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
48027         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48028         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
48029         * sysdeps/sparc/nptl/sem_init.c: ... here.
48030         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
48031         * sysdeps/sparc/nptl/sem_post.c: ... here.
48032         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
48033         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
48034         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
48035         * sysdeps/sparc/nptl/sem_wait.c: ... here.
48036         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48037         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
48038         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
48039         (libpthread-routines): Add cpu_relax.
48040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
48041         File removed.
48042         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
48043         (librt: GLIBC_2.3.3): New version set.
48044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
48045         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
48046         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
48047         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
48048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
48049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
48050         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
48051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
48052         Moved ...
48053         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
48054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
48055         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
48057         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
48058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
48059         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
48060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
48061         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
48062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
48063         Moved ...
48064         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
48065         Update #include.
48066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
48067         Moved ...
48068         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
48069         Update #include.
48070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
48071         Moved ...
48072         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
48073         Update #include.
48074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
48075         Moved ...
48076         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
48077         Update #include.
48078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48079         Moved ...
48080         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48081         Update #include.
48082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48083         Moved ...
48084         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48085         Update #include.
48086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48087         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48093         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48095         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48097         Moved ...
48098         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48100         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48102         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48104 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48106         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48107         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48108         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48109         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48110         * nscd/nscd.c: Likewise.
48111         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48112         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48113         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48114         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48116         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48117         <kernel-features.h>.
48118         (init_mq_netlink): Remove conditional have_sock_cloexec
48119         definitions.  Remove code conditional on have_sock_cloexec < 0.
48120         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48121         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48122         * sysdeps/unix/sysv/linux/opensock.c: Do not include
48123         <kernel-features.h>.
48124         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48125         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48127 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48130         Add tests for memset_chk and memset.
48132         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48133         with AVX2_Usable.
48135 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48137         [BZ #16046]
48138         * elf/tst-dl-iter-static.c: New file.
48139         * elf/Makefile (tests-static): Add tst-dl-iter-static.
48141         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48142         error.
48144 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48146         * sysdeps/unix/sysv/linux/kernel-features.h
48147         (__ASSUME_F_GETOWN_EX): Remove macro.
48148         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48149         <kernel-features.h>.
48150         (miss_F_GETOWN_EX): Remove variable or macro.
48151         (do_fcntl): Do not check miss_F_GETOWN_EX.
48152         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
48154         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
48155         Remove macro.
48156         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
48157         [!__ASSUME_AT_RANDOM]: Remove conditional code.
48158         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
48160         * sysdeps/unix/sysv/linux/kernel-features.h
48161         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
48162         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
48163         [ADJ_OFFSET_SS_READ]: Make code unconditional.
48164         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
48166 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48168         [BZ #17075]
48169         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
48170         Fix calculation of the symbol's value.
48171         * sysdeps/arm/tst-armtlsdescloc.c: New file.
48172         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
48173         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
48174         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
48175         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
48176         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
48177         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
48178         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
48179         (modules-names): Add `tst-armtlsdescmod',
48180         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
48181         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
48182         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48183         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
48184         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
48185         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48186         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
48187         ($(objpfx)tst-armtlsdescloc): New dependency.
48188         ($(objpfx)tst-armtlsdescextnow): Likewise.
48189         ($(objpfx)tst-armtlsdescextlazy): Likewise.
48190         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
48191         TLS scheme support.
48192         * sysdeps/arm/configure: Regenerate.
48194 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48196         * include/fcntl.h (__atfct_seterrno): Remove prototype.
48197         (__atfct_seterrno_2): Likewise.
48198         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
48199         <kernel-features.h>.
48200         (__ASSUME_ATFCTS): Do not undefine and redefine.
48201         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
48202         (__have_atfcts): Remove conditional definition.
48203         (__fxstatat([__NR_fstatat64]: Make code unconditional.
48204         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48205         unreachable if [__ASSUME_ATFCTS].
48206         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
48207         not undefine and redefine.
48208         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
48209         <kernel-features.h>.
48210         (faccessat) [__NR_faccessat]: Make code unconditional.
48211         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
48212         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
48213         <kernel-features.h>.
48214         (fchmodat) [__NR_fchmodat]: Make code unconditional.
48215         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48216         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
48217         <kernel-features.h>.
48218         (fchownat) [__NR_fchownat]: Make code unconditional.
48219         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
48220         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
48221         <kernel-features.h>.
48222         (futimesat) [__NR_futimesat]: Make code unconditional.
48223         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
48224         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48225         <kernel-features.h>.
48226         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48227         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48228         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48229         <kernel-features.h>.
48230         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
48231         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48232         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
48233         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48234         <kernel-features.h>.
48235         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
48236         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48237         * sysdeps/unix/sysv/linux/linkat.c: Do not include
48238         <kernel-features.h>.
48239         (linkat) [__NR_linkat]: Make code unconditional.
48240         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48241         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
48242         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
48243         <kernel-features.h>.
48244         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
48245         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48246         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
48247         <kernel-features.h>.
48248         (mkdirat) [__NR_mkdirat]: Make code unconditional.
48249         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
48250         * sysdeps/unix/sysv/linux/openat.c: Do not include
48251         <kernel-features.h>.
48252         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
48253         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
48254         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
48255         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
48256         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
48257         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
48258         <kernel-features.h>.
48259         (readlinkat) [__NR_readlinkat]: Make code unconditional.
48260         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
48261         result of INLINE_SYSCALL directly, not via int variable.
48262         * sysdeps/unix/sysv/linux/renameat.c: Do not include
48263         <kernel-features.h>.
48264         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
48265         (renameat) [__NR_renameat]: Make code unconditional.
48266         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
48267         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
48268         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
48269         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
48270         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
48271         (__ASSUME_ATFCTS): Do not undefine and redefine.
48272         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
48273         <kernel-features.h>.
48274         (symlinkat) [__NR_symlinkat]: Make code unconditional.
48275         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48276         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
48277         <kernel-features.h>.
48278         (unlinkat) [__NR_unlinkat]: Make code unconditional.
48279         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48280         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
48281         (__ASSUME_ATFCTS): Do not undefine and redefine.
48282         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48283         <kernel-features.h>.
48284         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48285         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48286         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48287         <kernel-features.h>.
48288         (__xmknodat) [__NR_mknodat]: Make code unconditional.
48289         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48291 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48293         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
48295 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
48297         [BZ #17069]
48298         * posix/regcomp.c (parse_reg_exp): Deallocate partially
48299         constructed tree before returning error.
48300         * posix/bug-regexp36.c: Expand test case.
48302 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
48304         [BZ #6803]
48305         * math/libm-test.inc (scalbln_test_date):
48306         Add errno expectations.
48307         * math/w_scalblnf.c: New File.
48308         Add wrapper which checks for setting errno to ERANGE.
48309         Add weak_alias for corresponding scalbln function.
48310         * math/w_scalbln.c: Likewise.
48311         * math/w_scalblnl.c: Likewise.
48312         * math/Makefile (libm-calls): Add w_scalbln.
48313         * sysdeps/ieee754/flt-32/s_scalblnf.c:
48314         Remove weak_alias for corresponding scalbln function.
48315         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48316         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48317         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48318         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48319         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
48320         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48321         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
48322         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48323         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
48324         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
48325         Remove long_double_symbol for scalblnl function in libm, libc.
48326         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
48327         Add wrapper which checks for setting errno to ERANGE.
48328         Add long_double_symbol for scalblnl function in libm, libc.
48329         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
48330         Remove long_double_symbol for scalblnl in libm.
48331         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
48332         Add wrapper which checks for setting errno to ERANGE.
48333         Add long_double_symbol for scalblnl function in libm.
48334         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
48335         Do not use wrapper because of own implementation.
48337 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
48339         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
48340         3 bytes for __pad1 for x32.
48341         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
48343 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
48344             H.J. Lu  <hongjiu.lu@intel.com>
48346         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48347         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
48348         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48349         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48350         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
48352 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
48354         [BZ #17069]
48355         * posix/regcomp.c (parse_expression): Deallocate partially
48356         constructed tree before returning error.
48357         * posix/Makefile.c (tests): Add bug-regex36.
48358         (generated): Add bug-regex36.mtrace.
48359         (tests-special): Add $(objpfx)bug-regex36-mem.out
48360         (bug-regex36-ENV): New variable.
48361         ($(objpfx)bug-regex36-mem.out): New rule.
48362         * posix/bug-regex36.c: New file.
48364 2014-06-19  Will Newton  <will.newton@linaro.org>
48366         * malloc/malloc.c (systrim): If extra is zero then return
48367         early.
48369 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48371         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48373 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
48375         * sysdeps/aarch64/strchr.S: New file.
48377 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48379         [BZ #17022]
48380         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48381         from arguments -2 or below.
48382         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48383         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48385 2014-06-18  Andreas Schwab  <schwab@suse.de>
48387         [BZ #17062]
48388         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48389         of a bracket expr not to run off the end of the string.
48390         * posix/Makefile (tests): Add tst-fnmatch3.
48391         * posix/tst-fnmatch3.c: New file.
48393 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48395         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48396         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48397         [$(cross-compiling) = no]: Likewise.
48398         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48399         [$(cross-compiling) = no]: Likewise.
48401 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48403         [BZ #17031]
48404         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48405         double, adjusted for any remainder from the high double.
48406         * math/libm-test.inc (nearbyint): Add tests.
48407         (rint): Likewise.
48409 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48411         * nptl/sysdeps/powerpc/Makefile: Moved ...
48412         * sysdeps/powerpc/nptl/Makefile: ... here.
48413         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48414         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48415         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48416         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48417         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48418         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48419         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48420         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48421         * nptl/sysdeps/powerpc/tls.h: Moved ...
48422         * sysdeps/powerpc/nptl/tls.h: ... here.
48424 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
48426         [BZ #16681]
48427         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48428         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48429         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48430         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48431         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48432         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48433         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48434         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48435         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48437 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
48439         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48441 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
48443         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48444         defined operator.
48446         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48447         $TIMEOUTFACTOR.
48449 2014-06-16  Florian Weimer  <fweimer@redhat.com>
48451         [BZ #17058]
48452         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48453         non-executed part of the test.
48455 2014-06-16  Andreas Schwab  <schwab@suse.de>
48457         * string/bits/string2.h (strdup, strndup): Update feature guard.
48459 2014-06-14  David S. Miller  <davem@davemloft.net>
48461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48463 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48465         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48466         that was previously under [RESET_PID].
48467         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48469         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48470         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48471         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48472         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48473         (__libc_vfork): New strong alias.
48474         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48476 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48478         * sysdeps/generic/elide.h: New file.
48480 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48482         * Makefile (installed-headers): Adjust path of pthread.h header.
48484 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48486         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48487         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48488         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48489         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48491         * nptl/sysdeps/s390/Makefile: Moved ...
48492         * sysdeps/s390/nptl/Makefile: ... here.
48493         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48494         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48495         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48496         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48497         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48498         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48499         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48500         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48501         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48502         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48503         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48504         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48505         * nptl/sysdeps/s390/tls.h: Moved ...
48506         * sysdeps/s390/nptl/tls.h: ... here.
48508         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48509         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48511 2014-06-13  David S. Miller  <davem@davemloft.net>
48513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48516         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48520         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48521         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48522         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48523         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48524         Remove RESET_PID cpp guards.
48525         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48526         Remove RESET_PID cpp guards.
48527         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48529 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48531         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48532         __sp to uintptr_t.
48534 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48536         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48537         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48538         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48539         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48541         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48542         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48543         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48544         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48545         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48546         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48547         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48548         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48549         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48550         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48551         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48552         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48553         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48554         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48555         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48557         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48558         (pthread_rwlock_rdlock): Add elision.
48559         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48560         (pthread_rwlock_wrlock): Add elision.
48561         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48562         (pthread_rwlock_trywrlock): Add elision.
48563         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48564         (pthread_rwlock_tryrdlock): Add elision.
48565         * nptl/pthread_rwlock_unlock.c: Include elide.h.
48566         (pthread_rwlock_tryrdlock): Add elision unlock.
48567         * nptl/sysdeps/pthread/pthread.h:
48568         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48569         (PTHREAD_RWLOCK_INITIALIZER,
48570         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48571         Handle new elision field.
48572         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48573         * sysdeps/arm/nptl/bits/pthreadtypes.h
48574         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48575         * sysdeps/sh/nptl/bits/pthreadtypes.h
48576         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48577         * sysdeps/tile/nptl/bits/pthreadtypes.h
48578         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48579         * sysdeps/a/nptl/bits/pthreadtypes.h
48580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48581         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48583         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48585         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48587         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48589         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48591         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48593         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48595         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48597         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48598         (elision_init): Set try_xbegin to zero when no RTM.
48599         * sysdeps/x86/nptl/bits/pthreadtypes.h
48600         (pthread_rwlock_t): Change __pad1 to __rwelision.
48601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48603 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48605         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48606         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48607         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48608         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48610 2014-06-13  Meador Inge  <meadori@codesourcery.com>
48612         [BZ #16996]
48613         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48614         that the cached result has been set before returning it.
48616 2014-06-12  Roland McGrath  <roland@hack.frob.com>
48618         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48619         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48620         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48621         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48622         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48623         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48625         * nptl/sysdeps/sparc/Makefile: Moved ...
48626         * sysdeps/sparc/nptl/Makefile: ... here.
48627         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48628         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48629         * nptl/sysdeps/sparc/tls.h: Moved ...
48630         * sysdeps/sparc/nptl/tls.h: ... here.
48631         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48632         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48633         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48634         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48635         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48636         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48637         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48638         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48639         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48640         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48641         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48642         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48643         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48644         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48645         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48646         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48647         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48648         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48649         Update #include.
48650         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48651         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48652         Update #include.
48653         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48654         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48655         Update #include.
48656         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48657         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48658         Update #include.
48660         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48662         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48663         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48665         * sysdeps/pthread/posix-timer.h: Include <list.h>.
48666         (struct list_links): Type removed.
48667         (struct thread_node, struct timer_node): Replace struct list_links
48668         with struct list_head.
48669         (list_unlink_ip): Likewise.
48670         * sysdeps/pthread/timer_routines.c
48671         (timer_free_list, thread_free_list, thread_active_list): Likewise.
48672         (list_append, list_insbefore): Likewise.
48673         (list_init): Function removed.
48674         (thread_init, init_module): Use INIT_LIST_HEAD instead.
48675         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48676         * sysdeps/pthread/Makefile: ... here, new file.
48678         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48679         * sysdeps/nptl/Implies: ... here.
48680         * sysdeps/unix/sysv/linux/Implies: Add nptl.
48681         * nptl/sysdeps/pthread/list.h: Moved ...
48682         * include/list.h: ... here.
48683         * nptl/sysdeps/pthread/createthread.c: Moved ...
48684         * nptl/createthread.c: ... here.
48685         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48686         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48687         * nptl/pt-longjmp.c: ... here.
48688         * nptl/sysdeps/pthread/Makefile: Moved ...
48689         * sysdeps/nptl/Makefile: ... here.
48690         * nptl/sysdeps/pthread/Subdirs: Moved ...
48691         * sysdeps/nptl/Subdirs: ... here.
48692         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48693         * sysdeps/nptl/aio_misc.h: ... here.
48694         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48695         * sysdeps/nptl/bits/libc-lock.h: ... here.
48696         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48697         * sysdeps/nptl/bits/libc-lockP.h: ... here.
48698         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48699         * sysdeps/nptl/bits/stdio-lock.h: ... here.
48700         * nptl/sysdeps/pthread/configure: Moved ...
48701         * sysdeps/nptl/configure: ... here.
48702         * nptl/sysdeps/pthread/configure.ac: Moved ...
48703         * sysdeps/nptl/configure.ac: ... here.
48704         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48705         * sysdeps/nptl/gai_misc.h: ... here.
48706         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48707         * sysdeps/nptl/librt-cancellation.c: ... here.
48708         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48709         * sysdeps/nptl/malloc-machine.h: ... here.
48710         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48711         * sysdeps/nptl/pthread-functions.h: ... here.
48712         * nptl/sysdeps/pthread/pthread.h: Moved ...
48713         * sysdeps/nptl/pthread.h: ... here.
48714         * nptl/sysdeps/pthread/setxid.h: Moved ...
48715         * sysdeps/nptl/setxid.h: ... here.
48716         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48717         * sysdeps/nptl/sigfillset.c: ... here.
48718         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48719         * sysdeps/nptl/tcb-offsets.h: ... here.
48720         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48721         * sysdeps/nptl/tst-mqueue8x.c: ... here.
48722         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48723         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48724         * nptl/sysdeps/pthread/allocalim.h: Moved ...
48725         * sysdeps/pthread/allocalim.h: ... here.
48726         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48727         * sysdeps/pthread/bits/sigthread.h: ... here.
48728         * nptl/sysdeps/pthread/flockfile.c: Moved ...
48729         * sysdeps/pthread/flockfile.c: ... here.
48730         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48731         * sysdeps/pthread/ftrylockfile.c: ... here.
48732         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48733         * sysdeps/pthread/funlockfile.c: ... here.
48734         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48735         * sysdeps/pthread/posix-timer.h: ... here.
48736         * nptl/sysdeps/pthread/timer_create.c: Moved ...
48737         * sysdeps/pthread/timer_create.c: ... here.
48738         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48739         * sysdeps/pthread/timer_delete.c: ... here.
48740         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48741         * sysdeps/pthread/timer_getoverr.c: ... here.
48742         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48743         * sysdeps/pthread/timer_gettime.c: ... here.
48744         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48745         * sysdeps/pthread/timer_routines.c: ... here.
48746         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48747         * sysdeps/pthread/timer_settime.c: ... here.
48748         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48749         * sysdeps/pthread/tst-timer.c: ... here.
48750         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48751         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48753         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48754         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48756         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48757         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48758         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48759         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48760         Update #include target.
48761         * nptl/sysdeps/i386/i686/Makefile: Moved ...
48762         * sysdeps/i386/i686/nptl/Makefile: ... here.
48763         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48764         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48765         Update #include target.
48766         * nptl/sysdeps/i386/i686/tls.h: Moved ...
48767         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
48768         * nptl/sysdeps/i386/Makefile: Moved ...
48769         * sysdeps/i386/nptl/Makefile: ... here.
48770         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48771         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48772         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48773         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48774         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48775         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48776         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48777         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48778         * sysdeps/i386/nptl/pthreaddef.h: ... here.
48779         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48780         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48781         * nptl/sysdeps/i386/tls.h: Moved ...
48782         * sysdeps/i386/nptl/tls.h: ... here.
48784         * sysdeps/sh/Makefile [$(subdir) = csu]
48785         (gen-as-const-headers): Add tcb-offsets.sym.
48786         * nptl/sysdeps/sh/Makefile: File removed.
48787         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48788         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48789         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48790         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48791         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
48792         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
48793         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
48794         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
48795         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
48796         * sysdeps/sh/nptl/pthreaddef.h: ... here.
48797         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
48798         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
48799         * nptl/sysdeps/sh/tls.h: Moved ...
48800         * sysdeps/sh/nptl/tls.h: ... here.
48801         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
48802         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
48803         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
48804         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
48805         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
48806         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
48807         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
48808         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
48809         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
48810         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
48811         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
48812         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
48813         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
48814         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
48815         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
48816         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
48817         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
48818         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
48819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
48820         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
48821         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
48822         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
48823         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
48824         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
48825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
48826         Moved ...
48827         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
48828         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
48829         Moved ...
48830         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
48831         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
48832         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
48833         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
48834         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
48835         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
48836         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
48837         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
48838         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
48839         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
48840         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
48841         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
48842         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
48843         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
48844         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
48845         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
48846         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
48847         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
48848         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
48850 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
48852         * posix/spawn_faction_addopen.c: Include string.h.
48854 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48856         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
48857         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
48858         * nptl/sysdeps/x86_64/Makefile: Moved ...
48859         * sysdeps/x86_64/nptl/Makefile: ... here.
48860         * nptl/sysdeps/x86_64/configure: Moved ...
48861         * sysdeps/x86_64/nptl/configure: ... here.
48862         * nptl/sysdeps/x86_64/configure.ac: Moved ...
48863         * sysdeps/x86_64/nptl/configure.ac: ... here.
48864         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
48865         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
48866         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
48867         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
48868         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
48869         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
48870         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
48871         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
48872         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
48873         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
48874         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
48875         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
48876         * nptl/sysdeps/x86_64/tls.h: Moved ...
48877         * sysdeps/x86_64/nptl/tls.h: ... here.
48878         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
48879         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
48880         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
48881         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
48883         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
48885 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48889 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
48891         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
48892         type.
48893         [POSIX] (off_t): Likewise.
48894         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
48895         [POSIX] (S_ISBLK): Require macro.
48896         [POSIX] (S_ISCHR): Likewise.
48897         [POSIX] (S_ISDIR): Likewise.
48898         [POSIX] (S_ISFIFO): Likewise.
48899         [POSIX] (S_ISREG): Likewise.
48900         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
48901         optional-macro.
48902         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
48903         type.
48904         [POSIX] (time_t): Likewise.
48905         [POSIX] (timer_t): Likewise.
48907 2014-06-11  Florian Weimer  <fweimer@redhat.com>
48909         [BZ #17048]
48910         * posix/spawn_int.h (struct __spawn_action): Make the path string
48911         non-const to support deallocation.
48912         * posix/spawn_faction_addopen.c
48913         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
48914         * posix/spawn_faction_destroy.c
48915         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
48916         path in all spawn_do_open actions.
48917         * posix/tst-spawn.c (do_test): Exercise the copy operation in
48918         posix_spawn_file_actions_addopen.
48920 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
48922         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
48923         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
48924         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
48925         conditional code always true.
48926         (__libc_vfork): New alias.
48928 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48930         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48931         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
48933         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
48935         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48936         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
48938         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48939         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
48941         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48942         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
48944 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48946         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
48947         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
48948         multiarch strcmp for PPC64.
48949         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
48950         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
48951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
48952         multiarch optimizations.
48953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48954         (__libc_ifunc_impl_list): Likewise.
48956 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48958         * benchtests/scripts/validate_benchout.py: New script.
48959         * benchtests/Makefile (bench-func): Call it.
48960         * benchtests/scripts/benchout.schema.json: New file.
48962 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
48964         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
48965         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
48966         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
48967         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
48968         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
48969         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
48970         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
48971         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
48972         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
48973         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
48974         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
48975         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
48976         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
48977         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
48978         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
48979         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
48980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
48981         Moved ...
48982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
48983         ... here.
48984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
48985         Moved ...
48986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
48987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
48988         Moved ...
48989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
48990         ... here.
48991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
48992         Moved ...
48993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
48994         ... here.
48995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
48996         Moved ...
48997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
48998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
48999         Moved ...
49000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
49001         ... here.
49002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
49003         Moved ...
49004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
49005         ... here.
49006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
49007         Moved ...
49008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
49009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
49010         Moved ...
49011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
49012         ... here.
49013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
49014         Moved ...
49015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
49016         ... here.
49017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
49018         Moved ...
49019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
49020         ... here.
49021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
49022         Moved ...
49023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
49024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
49025         Moved ...
49026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
49027         ... here.
49028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
49029         Moved ...
49030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
49031         ... here.
49032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
49033         Moved ...
49034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
49035         ... here.
49036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
49037         Moved ...
49038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
49039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
49040         Moved ...
49041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
49042         ... here.
49043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
49044         Moved ...
49045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
49046         ... here.
49047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
49048         Moved ...
49049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
49050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
49051         Moved ...
49052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
49053         ... here.
49054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
49055         Moved ...
49056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
49057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
49058         Moved ...
49059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
49060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
49061         Moved ...
49062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
49063         ... here.
49064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
49065         Moved ...
49066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
49067         ... here.
49068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
49069         Moved ...
49070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
49071         ... here.
49072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
49073         Moved ...
49074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
49075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
49076         Moved ...
49077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
49078         ... here.
49079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49080         Moved ...
49081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49082         ... here.
49083         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49084         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49085         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49086         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49087         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49088         Moved ...
49089         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49090         ... here.
49091         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49092         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49094         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49096         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49098         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49100         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49102         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49104         Moved ...
49105         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49106         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49107         Moved ...
49108         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49110         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49112         Moved ...
49113         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49115         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49116         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49117         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49118         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49119         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49121 2014-06-10  Wilco  <wdijkstr@arm.com>
49123         * math/test-fenv-return.c: New file.
49124         * math/Makefile: Add new test test-fenv-return.
49126 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
49128         [BZ #17042]
49129         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49130         when x - 1 is zero.
49131         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49132         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49133         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49134         0.0L for an argument of 1.0L.
49135         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49136         Likewise.
49137         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49138         value when x - 1 is zero.
49139         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49140         * sysdeps/i386/fpu/libm-test-ulps: Update.
49141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49143 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
49145         [BZ #15119]
49146         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49148 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49150         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49151         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
49153 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49155         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49156         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
49158         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49159         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
49161         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49162         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
49164         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49165         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
49167         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
49168         if not already defined.
49169         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
49170         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
49171         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
49172         (TLS_INIT_TP): Use it.
49173         (TLS_DEFINE_INIT_TP): New macro.
49174         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
49176 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
49178         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
49179         constant.
49180         [POSIX] (IXANY): Likewise.
49181         [POSIX] (OLCUC): Likewise.
49182         [POSIX || POSIX2008] (CBAUD): Do not allow.
49183         [POSIX || POSIX2008] (DEFECHO): Likewise.
49184         [POSIX || POSIX2008] (ECHOCTL): Likewise.
49185         [POSIX || POSIX2008] (ECHOKE): Likewise.
49186         [POSIX || POSIX2008] (ECHOPRT): Likewise.
49187         [POSIX || POSIX2008] (EXTA): Likewise.
49188         [POSIX || POSIX2008] (EXTB): Likewise.
49189         [POSIX || POSIX2008] (FLUSHO): Likewise.
49190         [POSIX || POSIX2008] (LOBLK): Likewise.
49191         [POSIX || POSIX2008] (PENDIN): Likewise.
49192         [POSIX || POSIX2008] (SWTCH): Likewise.
49193         [POSIX || POSIX2008] (VDISCARD): Likewise.
49194         [POSIX || POSIX2008] (VDSUSP): Likewise.
49195         [POSIX || POSIX2008] (VLNEXT): Likewise.
49196         [POSIX || POSIX2008] (VREPRINT): Likewise.
49197         [POSIX || POSIX2008] (VSTATUS): Likewise.
49198         [POSIX || POSIX2008] (VWERASE): Likewise.
49199         (B*): Change to B[0123456789]*.
49200         * conform/data/time.h-data [POSIX || UNIX98]
49201         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
49202         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49203         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
49204         [POSIX] (tm_*): Do not allow.
49206 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
49208         * Makefile (install): Don't set LANGUAGE.
49209         * Makefile.in (install): Likewise.
49210         * assert/Makefile (test-assert-ENV): Remove variable.
49211         (test-assert-perr-ENV): Likewise.
49212         * elf/Makefile (neededtest4-ENV): Likewise.
49213         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49214         [$(cross-compiling) = no]: Don't set LANGUAGE.
49215         * io/ftwtest-sh (LANG): Remove variable.
49216         * libio/Makefile (tst-widetext-ENV): Likewise.
49217         * manual/install.texi (Running make install): Don't refer to
49218         environment settings for make install.
49219         * INSTALL: Regenerated.
49220         * nptl/tst-tls6.sh: Don't set LANG.
49221         * posix/globtest.sh (LANG): Remove variable.
49222         * string/Makefile (tester-ENV): Likewise.
49223         (inl-tester-ENV): Likewise.
49224         (noinl-tester-ENV): Likewise.
49225         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49226         [$(cross-compiling) = no]: Don't set LANGUAGE.
49227         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
49228         without explicit environment settings.
49230 2014-06-06  Roland McGrath  <roland@hack.frob.com>
49232         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
49233         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
49234         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
49235         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
49237 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
49239         * crypt/crypt-private.h [DOS]: Add some includes taken from the
49240         other files in the crypt directory.
49241         * crypt/crypt.c: Remove duplicate includes.
49242         * crypt/crypt-entry.c: Likewise.
49243         * crypt/crypt_util.c: Likewise.
49245 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
49247         * Makeconfig (run-program-env): New variable.
49248         (run-program-prefix-before-env): Likewise.
49249         (run-program-prefix-after-env): Likewise.
49250         (run-program-prefix): Define in terms of new variables.
49251         (built-program-cmd-before-env): New variable.
49252         (built-program-cmd-after-env): Likewise.
49253         (built-program-cmd): Define in terms of new variables.
49254         (test-program-prefix-before-env): New variable.
49255         (test-program-prefix-after-env): Likewise.
49256         (test-program-prefix): Define in terms of new variables.
49257         (test-program-cmd-before-env): New variable.
49258         (test-program-cmd-after-env): Likewise.
49259         (test-program-cmd): Define in terms of new variables.
49260         * Rules (make-test-out): Use $(run-program-env).
49261         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
49262         (help): Do not mention environment variables.  Mention
49263         --timeoutfactor option.
49264         (timeoutfactor): New variable.
49265         (blacklist_exports): Remove function.
49266         (exports): Remove variable.
49267         (command): Do not include ${exports}.
49268         * manual/install.texi (Configuring and compiling): Do not mention
49269         test wrappers preserving environment variables.  Mention that last
49270         assignment to a variable must take precedence.
49271         * INSTALL: Regenerated.
49272         * benchtests/Makefile (run-bench): Use $(run-program-env).
49273         * catgets/Makefile ($(objpfx)test1.cat): Use
49274         $(built-program-cmd-before-env), $(run-program-env) and
49275         $(built-program-cmd-after-env).
49276         ($(objpfx)test2.cat): Do not specify environment variables
49277         explicitly.
49278         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
49279         $(run-program-env) and $(built-program-cmd-after-env).
49280         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
49281         $(run-program-env) and $(test-program-cmd-after-env).
49282         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
49283         explicitly.
49284         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
49285         run_program_env and test_program_cmd_after_env arguments.
49286         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
49287         * elf/tst-pathopt.sh: Use run_program_env argument.
49288         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
49289         $(test-wrapper-env) and $(run-program-env).
49290         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
49291         run_program_env arguments.
49292         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49293         * intl/Makefile ($(objpfx)tst-gettext.out): Use
49294         $(test-program-prefix-before-env), $(run-program-env) and
49295         $(test-program-prefix-after-env).
49296         ($(objpfx)tst-gettext2.out): Likewise.
49297         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
49298         run_program_env and test_program_prefix_after_env arguments.
49299         * intl/tst-gettext2.sh: Likewise.
49300         * intl/tst-gettext4.sh: Do not set environment variables
49301         explicitly.
49302         * intl/tst-gettext6.sh: Likewise.
49303         * intl/tst-translit.sh: Likewise.
49304         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
49305         $(test-program-prefix-before-env), $(run-program-env) and
49306         $(test-program-prefix-after-env).
49307         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
49308         run_program_env and test_program_prefix_after_env arguments.
49309         * math/Makefile (run-regen-ulps): Use $(run-program-env).
49310         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
49311         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
49312         explicitly with each use of ${test_wrapper_env}.
49313         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
49314         $(test-program-prefix-before-env), $(run-program-env) and
49315         $(test-program-prefix-after-env).
49316         * posix/tst-getconf.sh: Do not set environment variables
49317         explicitly.
49318         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
49319         run_program_env and test_program_prefix_after_env arguments.
49320         * stdio-common/tst-printf.sh: Do not set environment variables
49321         explicitly.
49322         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
49323         $(test-program-prefix-before-env), $(run-program-env) and
49324         $(test-program-prefix-after-env).
49325         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
49326         run_program_env and test_program_prefix_after_env arguments.
49327         Split $test calls into $test_pre and $test.
49328         * timezone/Makefile (build-testdata): Use
49329         $(built-program-cmd-before-env), $(run-program-env) and
49330         $(built-program-cmd-after-env).
49332 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49334         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
49335         strlen for non SHARED builds.
49337 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49339         * nptl/allocatestack.c (check_list): Inlined function...
49340         (__reclaim_stacks): ... here.
49342 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49344         [BZ #15698]
49345         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
49346         memory overrun.
49348 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
49350         * Rules (make-test-out): Include
49351         LOCPATH=$(common-objpfx)localedata in default environment.
49352         * debug/Makefile (tst-chk1-ENV): Remove variable.
49353         (tst-chk2-ENV): Likewise.
49354         (tst-chk3-ENV): Likewise.
49355         (tst-chk4-ENV): Likewise.
49356         (tst-chk5-ENV): Likewise.
49357         (tst-chk6-ENV): Likewise.
49358         (tst-lfschk1-ENV): Likewise.
49359         (tst-lfschk2-ENV): Likewise.
49360         (tst-lfschk3-ENV): Likewise.
49361         (tst-lfschk4-ENV): Likewise.
49362         (tst-lfschk5-ENV): Likewise.
49363         (tst-lfschk6-ENV): Likewise.
49364         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
49365         (tst-iconv7-ENV): Likewise.
49366         * intl/Makefile (LOCPATH-ENV): Likewise.
49367         (tst-codeset-ENV): Likewise.
49368         (tst-gettext3-ENV): Likewise.
49369         (tst-gettext5-ENV): Likewise.
49370         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
49371         (tst-fopenloc-ENV): Likewise.
49372         (tst-fgetws-ENV): Remove variable.
49373         (tst-ungetwc1-ENV): Likewise.
49374         (tst-ungetwc2-ENV): Likewise.
49375         (bug-ungetwc2-ENV): Likewise.
49376         (tst-swscanf-ENV): Likewise.
49377         (bug-ftell-ENV): Likewise.
49378         (tst-fgetwc-ENV): Likewise.
49379         (tst-fseek-ENV): Likewise.
49380         (tst-ftell-partial-wide-ENV): Likewise.
49381         (tst-ftell-active-handler-ENV): Likewise.
49382         (tst-ftell-append-ENV): Likewise.
49383         * posix/Makefile (tst-fnmatch-ENV): Likewise.
49384         (tst-regexloc-ENV): Likewise.
49385         (bug-regex1-ENV): Likewise.
49386         (tst-regex-ENV): Likewise.
49387         (tst-regex2-ENV): Likewise.
49388         (bug-regex5-ENV): Likewise.
49389         (bug-regex6-ENV): Likewise.
49390         (bug-regex17-ENV): Likewise.
49391         (bug-regex18-ENV): Likewise.
49392         (bug-regex19-ENV): Likewise.
49393         (bug-regex20-ENV): Likewise.
49394         (bug-regex22-ENV): Likewise.
49395         (bug-regex23-ENV): Likewise.
49396         (bug-regex25-ENV): Likewise.
49397         (bug-regex26-ENV): Likewise.
49398         (bug-regex30-ENV): Likewise.
49399         (bug-regex32-ENV): Likewise.
49400         (bug-regex33-ENV): Likewise.
49401         (bug-regex34-ENV): Likewise.
49402         (bug-regex35-ENV): Likewise.
49403         (tst-rxspencer-ENV): Likewise.
49404         (tst-rxspencer-no-utf8-ENV): Likewise.
49405         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49406         (tst-sscanf-ENV): Likewise.
49407         (tst-swprintf-ENV): Likewise.
49408         (tst-swscanf-ENV): Likewise.
49409         (test-vfprintf-ENV): Likewise.
49410         (scanf13-ENV): Likewise.
49411         (bug14-ENV): Likewise.
49412         (tst-grouping-ENV): Likewise.
49413         * stdlib/Makefile (tst-strtod-ENV): Likewise.
49414         (tst-strtod3-ENV): Likewise.
49415         (tst-strtod4-ENV): Likewise.
49416         (tst-strtod5-ENV): Likewise.
49417         (testmb2-ENV): Likewise./
49418         * string/Makefile (tst-strxfrm-ENV): Likewise.
49419         (tst-strxfrm2-ENV): Likewise.
49420         (bug-strcoll1-ENV): Likewise.
49421         (test-strcasecmp-ENV): Likewise.
49422         (test-strncasecmp-ENV): Likewise.
49423         * time/Makefile (tst-strptime-ENV): Likewise.
49424         (tst-ftime_l-ENV): Likewise.
49425         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49426         (tst-mbrtowc-ENV): Likewise.
49427         (tst-wcrtomb-ENV): Likewise.
49428         (tst-mbrtowc2-ENV): Likewise.
49429         (tst-c16c32-1-ENV): Likewise.
49430         (tst-mbsnrtowcs-ENV): Likewise.
49432 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49434         * manual/resource.texi (How to get information about the memory
49435         subsystem?): Fix typo.
49436         Reported by Peon de la Parra Ivan <peon@keba.com>
49438 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
49440         [BZ #16882]
49441         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49442         (pthread_spin_lock): Branch out of spin loop to proper location.
49443         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49444         (pthread_spin_lock): Likewise.
49446         * nptl/tst-spin4.c: New test.
49447         * nptl/Makefile (tests): Add tst-spin4.
49449 2014-06-03  Andreas Schwab  <schwab@suse.de>
49451         [BZ #15946]
49452         * resolv/res_send.c (send_dg): Reload file descriptor after
49453         calling reopen.
49455 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
49457         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49459 2014-06-03  Richard Henderson  <rth@redhat.com>
49461         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49462         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49463         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49464         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49465         in the SAVE_PID block.
49466         (__libc_vfork): New alias.
49467         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49469         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49470         child in registers, not on the stack.  Remove RESET_PID conditionals.
49471         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49473 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49475         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49477 2014-06-03  Wilco  <wdijkstr@arm.com>
49479         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49480         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49481         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49482         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49483         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49484         Likewise.
49486 2014-06-03  Wilco  <wdijkstr@arm.com>
49488         * sysdeps/aarch64/fpu/math_private.h
49489         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49490         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49491         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49492         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49493         Fix declarations.
49495 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49497         * crypt/crypt-private.h: Include ufc-crypt.h.
49498         (__b64_from_24bit): Declare extern.
49499         * crypt/crypt_util.c(__b64_from_24bit): New function.
49500         (b64t): New static const variable.
49501         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49502         (b64t): Remove variable.
49503         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49504         * crypt/sha256-crypt.c: Include crypt-private.h.
49505         (b64t): Remove variable.
49506         (__sha256_crypt_r): Remove b64_from_24bit and replace
49507         with __b64_from_24bit.
49508         * crypt/sha512-crypt.c: Likewise.
49510 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49512         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49513         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49514         Label the code __libc_vfork rather than __vfork.
49515         [!NOT_IN_libc] (vfork): Define as weak alias.
49516         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49517         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49518         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49520 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49522         * malloc/malloc.c (malloc_info): Fix format specifier for
49523         n_mmaps.
49525 2014-06-02  Wilco  <wdijkstr@arm.com>
49527         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49528         FPCR write.
49530 2014-06-02  Wilco  <wdijkstr@arm.com>
49532         [BZ #17009]
49533         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49534         Rewrite to reduce FPCR/FPSR accesses.
49536 2014-06-01  David S. Miller  <davem@davemloft.net>
49538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49540 2014-05-31  David S. Miller  <davem@davemloft.net>
49542         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49543         to occur in round to nearest mode when |x| >= 2.0
49545 2014-05-30  Richard Henderson  <rth@twiddle.net>
49547         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49548         (PSEUDO_RET_NOERRNO): Remove.
49549         (ret): Don't redefine.
49550         (ret_NOERRNO): Define in terms of ret.
49551         (ret_ERRVAL): Likewise.
49553         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49554         use of PSEUDO_RET; perform the error check directly.
49556 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49558         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49559         with __int128_t.
49561 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49563         * malloc/malloc (malloc_info): Fix formatting.
49565 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49566             Roland McGrath  <roland@hack.frob.com>
49568         * malloc/malloc (malloc_info): Also print mmapped statistics.
49570 2014-05-30  Roland McGrath  <roland@hack.frob.com>
49572         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49573         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49575 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
49577         * malloc/malloc.c (malloc_info): Inline mi_arena.
49579 2014-05-29  Richard Henderson  <rth@twiddle.net>
49581         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49582         Remove comma before expanding ASM_ARGS_##nr.
49583         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49584         Make _x0 a strict output; make _x8 a strict input; adjust expansion
49585         of ASM_ARGS_##nr.
49586         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49587         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49588         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49589         (ASM_ARGS_1): Add leading comma.
49591         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49592         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49593         to __errno_location.
49594         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49595         Remove the expected plt for __errno_location.
49597         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49598         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49599         call to __read_tp.
49601         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49602         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
49603         it and break it down.
49604         (DOCARGS_0, DOCARGS_1): Do nothing.
49605         (DOCARGS_2): Update to store into the new stack frame.
49606         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49607         (UNDOCARGS_1): Update to restore from the new stack frame.
49608         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49609         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49611         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49612         (SINGLE_THREAD_P): New parameter for result regno.
49613         (PSEUDO): Update to match; use cbz instead of beq.
49615         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49616         Use ENTRY to define the _nocancel entry point.  Share the syscall
49617         and syscall error check paths with the cancel path.
49618         (PSEUDO_END): New.
49620         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49621         whitespace; tabs before and after asm mnemonics.
49623 2014-05-29  Eric Wong  <normalperson@yhbt.net>
49625         [BZ #15132]
49626         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49627         Call fstat64 or stat64 internally, depending on arguments passed.
49628         Replace stat buffer argument with file descriptor argument.
49629         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49630         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49631         Pass fd to __internal_statvfs instead of calling fstat64.
49632         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49633         Pass fd to __internal_statvfs64 instead of calling fstat64.
49634         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49635         Pass -1 to __internal_statvfs instead of calling stat64.
49636         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49637         Pass -1 to __internal_statvfs64 instead of calling stat64.
49639 2014-05-28  Roland McGrath  <roland@hack.frob.com>
49641         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49642         that was previously under [RESET_PID].
49643         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49645         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49646         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49648 2014-05-27  Roland McGrath  <roland@hack.frob.com>
49650         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49652         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49653         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49655 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
49657         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49659 2014-05-27  Andreas Schwab  <schwab@suse.de>
49661         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49662         TLS_INIT_TP macro.
49663         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49664         * elf/rtld.c (init_tls, dl_main): Likewise.
49665         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49666         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49667         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49668         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49669         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49670         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49671         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49672         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49673         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49674         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49675         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49676         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49677         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49678         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49679         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49680         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49681         * sysdeps/generic/tls.h: Update description.
49683 2014-05-27  Will Newton  <will.newton@linaro.org>
49685         [BZ #16990]
49686         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49687         and restore r2 rather than just restoring.
49689 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49691         [BZ #16724]
49692         * libio/tst-ftell-append.c: New test case.
49693         * libio/Makefile (tests): Add test case.
49694         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49695         append mode.
49696         * libio/wfileops.c (do_ftell_wide): Likewise.
49698 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49702         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49703         ...
49704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49706         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49707         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49708         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49709         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49710         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49711         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49712         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49713         Moved ...
49714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49716         Moved ...
49717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49718         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49719         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49720         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49721         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49722         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49723         ...
49724         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49725         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49726         Moved ...
49727         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49728         here.
49729         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49730         ...
49731         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49732         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49733         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49735         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49736         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49737         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49738         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49741         merge into ...
49742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49743         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49744         ...
49745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49746         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49747         ...
49748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49750         Moved ...
49751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49752         here.
49753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49754         Moved ...
49755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49756         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49757         Moved ...
49758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49761         conditional [RESET_PID].
49762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49764         removed.
49765         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49766         removed.
49768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49769         <tcb-offsets.h>.
49770         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49771         (__libc_vfork): New strong alias.
49772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49773         removed.
49774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49775         Removed.
49777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49778         <tcb-offsets.h>.
49779         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49780         (__libc_vfork): New strong alias.
49781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49782         removed.
49783         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49784         removed.
49786 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
49788         * malloc/malloc.c (mi_arena): New function.
49789         (malloc_info): Remove nested function mi_arena. Call non-nosted
49790         function mi_arena.
49792 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49794         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49795         by insrwi.
49796         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
49797         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
49798         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
49799         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
49800         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
49801         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
49802         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
49804 2014-05-26  Andreas Schwab  <schwab@suse.de>
49806         [BZ #16984]
49807         * locale/programs/repertoire.c (repertoire_read): Add slash
49808         between I18NPATH element and file name.
49809         * locale/programs/locfile.c (locfile_read): Likewise.
49811 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49813         * nptl/pthread_mutexattr_settype.c
49814         (__pthread_mutexattr_settype):
49815         Disable lock elision for PTHREAD_MUTEX_NORMAL.
49817 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49819         * nptl/tst-mutex5 (do_test):
49820         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
49822 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49824         * benchtests/README: Document 'init' directive.
49825         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
49826         BENCH_INIT.
49827         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
49828         (parse_file): Recognize 'init' directive.
49830 2014-05-26  Kyle McMartin  <kyle@redhat.com>
49832         [BZ #16796]
49833         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
49834         alignment of struct pthread.
49836 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49838         [BZ #16878]
49839         * nscd/netgroupcache.c (addgetnetgrentX): Look for
49840         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49841         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
49842         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49844 2014-05-25  Richard Henderson  <rth@twiddle.net>
49846         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49847         (SINGLE_THREAD_P_PIC): Remove.
49848         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
49849         (SINGLE_THREAD_P_PIC): Remove.
49851         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
49852         branch to syscall error ...
49853         (PSEUDO): ... here.
49854         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
49855         from __local_syscall_error to .Lsyscall_error.
49856         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
49857         (SYSCALL_ERROR): Update label name.
49859         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49860         Do not use DOARGS/UNDOARGS.
49861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
49862         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
49863         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
49864         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
49865         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
49867         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
49868         block comment.
49870         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
49871         define if !NOT_IN_libc.
49872         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
49873         define with non-default symbol versions.
49875 2014-05-23  Richard Henderson  <rth@twiddle.net>
49877         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
49878         (vfork, __vfork): Define via compat_symbol.
49880         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
49881         [!HAVE_IFUNC] (vfork_compat): Remove.
49882         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
49884 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49886         [BZ #16978]
49887         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
49888         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
49889         variable.
49891 2014-05-23  Richard Henderson  <rth@twiddle.net>
49893         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
49894         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
49895         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
49896         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
49898         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
49899         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
49900         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
49901         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
49902         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
49903         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
49904         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
49905         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
49906         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
49907         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
49908         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
49909         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
49910         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
49911         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
49912         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
49913         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
49914         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
49915         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
49916         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
49917         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
49918         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
49919         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
49920         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
49921         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
49922         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
49923         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
49924         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
49925         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
49926         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
49927         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
49928         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
49929         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
49930         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
49931         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
49932         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
49933         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
49934         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
49935         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
49936         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
49937         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
49938         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
49939         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
49940         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
49941         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
49942         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
49943         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
49944         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
49945         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
49946         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
49947         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
49948         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
49949         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
49950         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
49951         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
49952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
49953         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
49955         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
49956         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
49957         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
49958         before exiting on error.
49959         (__libc_vfork): New strong alias.
49960         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
49961         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
49963         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
49964         that was previously under [RESET_PID].
49965         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
49967         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
49969 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49971         [BZ #16977]
49972         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
49973         value when x - 1 is zero.
49974         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
49975         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
49976         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
49977         0.0L for an argument of 1.0L.
49978         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
49979         Likewise.
49980         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
49981         value when x - 1 is zero.
49982         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
49983         * sysdeps/i386/fpu/libm-test-ulps: Update.
49984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49986 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
49988         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
49989         alphasort and versionsort.
49991 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49993         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
49994         macro.
49995         [copysignf]: Likewise.
49997 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49999         * crypt/md5-crypt.c: Fix formatting.
50001 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50003         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
50004         (b64_from_24bit): New function.
50006 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50008         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
50009         libc_hidden_builtin_def to ifunc.
50010         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50011         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
50013 2014-05-21  Roland McGrath  <roland@hack.frob.com>
50015         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
50016         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
50018 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
50020         * nscd/Depend (linuxthreads): Remove.
50021         (nptl): Add.
50022         * resolv/Depend (linuxthreads): Remove.
50023         * rt/Depend (linuxthreads): Remove.
50025         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
50026         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
50027         $(common-objpfx)elf/.
50028         (link-libc-before-gnulib): Likewise.
50029         (elfobjdir): Remove variable.
50030         * Makefile (install): Use $(elf-objpfx) instead of
50031         $(common-objpfx)elf/.
50032         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
50033         $(elfobjdir)/.
50034         (link-libc-deps): Likewise.
50035         ($(common-objpfx)libc.so): Likewise.
50036         ($(common-objpfx)linkobj/libc.so): Likewise.
50037         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
50038         instead of $(common-objpfx)elf/.
50039         (symbolic-link-list): Likewise.
50040         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50041         [$(cross-compiling) = no]: Likewise.
50042         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
50043         $(elfobjdir)/.
50044         (static-gnulib-arch): Likewise.
50045         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50046         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
50047         $(common-objpfx)elf/.
50049 2014-05-21  Richard Henderson  <rth@redhat.com>
50051         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50052         (SINGLE_THREAD_P): Use the correct width load.  Fold
50053         into the ldr offset.
50055         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
50056         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
50058 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
50060         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
50061         (libgcc_s_resume): Use __attribute_used__.
50062         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
50063         Likewise.
50065 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50067         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
50068         optimization when used with float constants.
50070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50072 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
50074         [BZ #16915]
50075         * locale/nl_langinfo_l.c: Make direct reference to every
50076         _nl_current_CATEGORY symbol.
50077         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
50078         (tests-static): Add tst-langinfo-static.
50079         (tests-special): Add tst-langinfo-static.out.
50080         ($(objpfx)tst-langinfo.out): Redirect output.
50081         ($(objpfx)tst-langinfo-static.out): New.
50082         * localedata/tst-langinfo.sh: Send output to stdout.
50083         * localedata/tst-langinfo-static.c: New file.
50085         [BZ #16965]
50086         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50087         when the shift amount is modulo the limb size.
50089 2014-05-20  Richard Henderson  <rth@redhat.com>
50091         [BZ #16967]
50092         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50093         Change type of sa_flags from unsigned int to int.
50095         [BZ #16966]
50096         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50098         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50100 2014-05-20  Will Newton  <will.newton@linaro.org>
50102         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50103         Test the return value of the system call in the nocancel case.
50105 2014-05-20  Will Newton  <will.newton@linaro.org>
50106             Yvan Roux  <yvan.roux@linaro.org>
50108         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50109         #include of asm/ptrace.h.
50110         (PTRACE_GET_THREAD_AREA): Remove #undef.
50111         (PTRACE_GETHBPREGS): Likewise.
50112         (PTRACE_SETHBPREGS): Likewise.
50113         (struct user_regs_struct): New structure.
50114         (struct user_fpsimd_struct): New structure.
50115         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50116         #include of asm/ptrace.h and second #include of sys/user.h.
50117         (PTRACE_GET_THREAD_AREA): Remove #undef.
50118         (PTRACE_GETHBPREGS): Likewise.
50119         (PTRACE_SETHBPREGS): Likewise.
50120         (ELF_NGREG): Use new struct user_regs_struct.
50121         (elf_fpregset_t): Use new struct user_fpsimd_struct.
50123 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50125         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50126         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50128 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
50130         [BZ #16958]
50131         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50132         membar to avoid block loads/stores to overlap previous stores.
50134 2014-05-17  Richard Henderson  <rth@redhat.com>
50136         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50137         Create the __##syscall_name##_nocancel entry point.
50138         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50139         Remove; let the sysdep-cancel.h code create it.
50141 2014-05-17  David S. Miller  <davem@davemloft.net>
50143         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50144         Protect with __USE_GNU.
50145         (TIOCSET_TEMPT): Likewise.
50146         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50147         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50148         these are already provided in bits/ioctl-types.h
50150 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50152         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
50153         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
50155         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
50156         Use wait4 regardless of [__NR_waitpid].
50158 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50160         PR libgcc/60166
50161         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50162         (_FP_NANSIGN_Q): Set the quiet bit.
50164 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
50166         * benchtests/Makefile
50167         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
50168         not $(common-objpfx)math/libm.so.
50169         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
50170         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
50171         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50172         $(common-objpfx)dlfcn/libdl.so.
50173         ($(objpfx)tst-audit8): Depend on $(libm), not
50174         $(common-objpfx)math/libm.so.
50175         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
50176         not $(common-objpfx)dlfcn/libdl.so.
50177         * math/Makefile
50178         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50179         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
50180         [$(build-shared) = yes].
50181         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
50182         $(common-objpfx)nptl/libpthread.so.
50183         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
50184         $(common-objpfx)math/libm.so$(libm.so-version) or
50185         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
50186         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
50187         $(common-objpfx)dlfcn/libdl.so.
50188         * setjmp/Makefile (link-libm): Remove variable.
50189         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50190         * stdio-common/Makefile (link-libm): Remove variable.
50191         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
50192         * stdlib/Makefile (link-libm): Remove variable.
50193         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
50194         ($(objpfx)tst-strtod-round): Likewise.
50195         ($(objpfx)tst-tininess): Likewise.
50196         ($(objpfx)tst-strtod-underflow): Likewise.
50197         ($(objpfx)tst-strtod6): Likewise.
50198         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
50199         $(libdl), not $(common-objpfx)nptl/libpthread.so and
50200         $(common-objpfx)dlfcn/libdl.so.
50202 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50204         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
50205         BSD terminal modes definitions.
50207 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50209         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
50210         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
50212         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50213         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
50214         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
50215         Don't do #include_next.
50216         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
50217         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
50218         Don't do #include_next.
50219         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
50220         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
50221         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
50222         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
50224 2014-05-16  Allan McRae  <allan@archlinux.org>
50226         * po/sv.po: Update Swedish translation from translation project.
50228         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
50229         in sed expression.
50231 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
50233         [BZ #16917]
50234         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
50235         errno if the TIOCGPTN ioctl fails with an error different than
50236         EINVAL.
50237         * login/tst-ptsname.c: New file.
50238         * login/Makefile (tests): Add tst-ptsname.
50240         [BZ #16943]
50241         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
50242         and prlimit64.
50244 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50246         [BZ #16849]
50247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
50248         herrno to return EAI_AGAIN.
50250 2014-05-14  Roland McGrath  <roland@hack.frob.com>
50252         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
50253         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
50254         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
50255         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50256         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
50257         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
50258         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50259         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50260         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
50261         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
50262         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
50263         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
50264         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
50265         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
50266         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
50267         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
50268         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
50269         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
50270         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
50271         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
50272         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
50273         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
50274         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50275         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
50276         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
50277         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
50278         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
50279         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
50280         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
50281         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
50282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
50283         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
50284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
50285         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
50286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50287         Moved ...
50288         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
50289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
50290         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
50291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
50292         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
50293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
50294         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
50295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
50296         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
50297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
50298         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
50299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
50300         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
50301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
50302         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
50303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
50304         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
50305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
50306         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
50307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
50308         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
50309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
50310         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
50311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
50312         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
50313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
50314         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
50315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50316         Moved ...
50317         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
50318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
50319         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
50320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
50321         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
50322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
50323         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
50324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
50325         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
50326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
50327         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
50328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
50329         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
50330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
50331         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
50332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
50333         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
50334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
50335         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
50336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50337         Moved ...
50338         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
50339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
50340         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
50342         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
50343         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
50344         (libpthread-sysdep_routines): Add elision-related stuff here instead.
50345         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
50346         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
50347         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
50348         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
50349         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
50350         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
50351         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
50352         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
50353         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
50354         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
50355         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
50356         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
50357         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
50358         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
50359         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
50360         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
50361         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
50362         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
50363         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
50364         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
50365         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
50366         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
50367         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
50368         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
50369         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
50370         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
50371         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
50372         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50374         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50375         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50377         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50378         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50379         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50380         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50381         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50382         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50383         Moved ...
50384         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50385         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50386         Moved ...
50387         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50388         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50389         Moved ...
50390         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50391         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50392         Moved ...
50393         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50394         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50395         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50396         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50397         Moved ...
50398         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50399         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50400         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50401         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50402         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50403         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50404         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50405         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50406         Moved ...
50407         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50408         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50409         Moved ...
50410         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50411         ... here.
50412         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50413         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50414         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50415         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50417         Moved ...
50418         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50419         ... here.
50420         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50421         Moved ...
50422         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50423         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50424         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50425         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50426         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50427         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50428         Moved ...
50429         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50430         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50431         Moved ...
50432         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50433         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50434         Moved ...
50435         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50436         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50437         Moved ...
50438         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50439         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50440         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50441         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50442         Moved ...
50443         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50444         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50445         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50446         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50447         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50448         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50449         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50450         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50451         Moved ...
50452         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50453         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50454         Moved ...
50455         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50456         ... here.
50457         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50458         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50459         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50460         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50462         Moved ...
50463         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50464         ... here.
50465         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50466         Moved ...
50467         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50468         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50469         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50470         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50471         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50472         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50473         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50474         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50475         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50476         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50477         Moved ...
50478         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50479         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50480         Moved ...
50481         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50482         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50483         Moved ...
50484         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50485         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50486         Moved ...
50487         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50488         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50489         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50490         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50491         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50492         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50493         Moved ...
50494         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50495         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50496         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50497         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50498         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50499         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50500         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50501         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50502         Moved ...
50503         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50504         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50505         Moved ...
50506         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50507         ... here.
50508         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50509         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50510         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50511         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50512         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50513         Moved ...
50514         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50515         ... here.
50516         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50517         Moved ...
50518         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50519         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50520         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50521         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50522         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50523         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50524         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50525         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50526         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50527         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50528         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50530         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50531         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50533         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50534         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50536         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50537         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50538         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50539         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50540         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50541         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50542         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50543         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50544         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50545         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50546         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50547         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50548         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50549         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50550         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50551         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50552         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50553         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50554         Moved ...
50555         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50556         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50557         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50558         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50559         Moved ...
50560         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50561         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50562         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50563         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50564         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50566         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50567         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50568         Moved ...
50569         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50571         Moved ...
50572         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50574         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50575         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50576         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50578         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50579         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50580         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50581         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50582         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50583         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50584         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50585         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50586         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50587         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50588         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50590         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50591         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50592         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50593         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50594         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50596         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50597         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50598         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50599         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50600         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50601         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50602         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50603         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50604         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50605         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50607         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50610         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50611         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50612         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50613         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50614         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50615         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50616         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50617         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50618         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50619         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50620         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50621         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50622         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50623         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50624         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50625         Update #include.
50626         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50627         Likewise.
50628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50629         Likewise.
50630         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50631         Likewise.
50632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50633         Likewise.
50634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50635         Likewise.
50636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50637         Likewise.
50638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50639         Likewise.
50640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50641         Likewise.
50642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50643         Likewise.
50644         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50646         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50649         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50650         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50651         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50652         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50654         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50655         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50656         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50657         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
50658         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
50660         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50661         that was previously under [RESET_PID].
50662         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50663         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50664         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50666         * sysdeps/i386/nptl/Implies: New file.
50667         * sysdeps/x86_64/nptl/Implies: New file.
50668         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50669         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50670         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50671         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50673         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50674         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50675         (__libc_vfork): New strong alias.
50676         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50677         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50679         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50680         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50681         (__libc_vfork): New strong alias.
50682         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50683         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50685         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50686         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50687         (__libc_vfork): New strong alias.
50688         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50689         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50690         * nptl/pt-vfork.c: New file.
50691         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50692         (libpthread: GLIBC_2.20): New version set (empty).
50694 2014-05-14  Will Newton  <will.newton@linaro.org>
50696         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50697         rather than #if.
50699 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50701         [BZ #16564]
50702         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50703         arguments with exponent 65 or above.
50704         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50705         arguments 0x1p113L or above.
50706         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50707         to arguments 0x1p107L or above.
50708         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50709         positive arguments with exponent 65 or above.
50710         * math/auto-libm-test-in: Add more tests of log1p.
50711         * math/auto-libm-test-out: Regenerated.
50713         [BZ #16928]
50714         * math/s_cacos.c (__cacos): Ensure zero real part of result from
50715         non-finite arguments is +0.
50716         * math/s_cacosf.c (__cacosf): Likewise.
50717         * math/s_cacosl.c (__cacosl): Likewise.
50718         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50719         * sysdeps/i386/fpu/libm-test-ulps: Update.
50720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50722         [BZ #16927]
50723         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50724         value.
50725         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50726         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50727         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50728         for explicit high bit of mantissa when testing for argument equal
50729         to 1.
50730         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50731         * sysdeps/i386/fpu/libm-test-ulps: Update.
50732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50734         [BZ #16516]
50735         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50736         (__erf): Scale by 16 instead of 8 in potentially underflowing
50737         case.  Ensure exception if result actually underflows.
50738         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50739         (__erff): Scale by 16 instead of 8 in potentially underflowing
50740         case.  Ensure exception if result actually underflows.
50741         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50742         (efx8): Remove variable.
50743         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50744         case.  Ensure exception if result actually underflows.
50745         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50746         (efx8): Remove variable.
50747         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50748         case.  Ensure exception if result actually underflows.
50749         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50750         (efx8): Remove variable.
50751         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50752         case.  Ensure exception if result actually underflows.
50753         * math/auto-libm-test-in: Add more tests of erf.
50754         * math/auto-libm-test-out: Regenerated.
50756 2014-05-14  Andreas Schwab  <schwab@suse.de>
50758         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50759         Remove code conditionalized on USE___THREAD.
50761         * config.h.in (HAVE_PT_CHOWN): Define as 0.
50762         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50763         not definedness.
50765 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50767         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50768         Define unconditionally.
50769         (__ASSUME_O_CLOEXEC): Likewise.
50770         (__ASSUME_SOCK_CLOEXEC): Likewise.
50771         (__ASSUME_IN_NONBLOCK): Likewise.
50772         (__ASSUME_PIPE2): Likewise.
50773         (__ASSUME_EVENTFD2): Likewise.
50774         (__ASSUME_SIGNALFD4): Likewise.
50775         (__ASSUME_DUP3): Likewise.
50776         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50777         (__ASSUME_DUP3): Do not define.
50778         (__ASSUME_EVENTFD2): Likewise.
50779         (__ASSUME_IN_NONBLOCK): Likewise.
50780         (__ASSUME_O_CLOEXEC): Likewise.
50781         (__ASSUME_PIPE2): Likewise.
50782         (__ASSUME_SIGNALFD4): Likewise.
50783         (__ASSUME_SOCK_CLOEXEC): Likewise.
50784         (__ASSUME_UTIMES): Undefine.
50785         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50786         (__ASSUME_UTIMES): Do not define.
50787         (__ASSUME_O_CLOEXEC): Likewise.
50788         (__ASSUME_SOCK_CLOEXEC): Likewise.
50789         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50790         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50791         0x020621].
50792         (__ASSUME_PIPE2): Likewise.
50793         (__ASSUME_EVENTFD2): Likewise.
50794         (__ASSUME_SIGNALFD4): Likewise.
50795         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
50796         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
50797         Do not define.
50798         (__ASSUME_EVENTFD2): Likewise.
50799         (__ASSUME_SIGNALFD4): Likewise.
50800         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
50801         (__ASSUME_32BITUIDS): Likewise.
50802         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50803         (__ASSUME_IPC64): Likewise.
50804         (__ASSUME_ST_INO_64_BIT): Likewise.
50805         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
50806         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
50807         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50808         (__ASSUME_UTIMES): Do not define.
50809         (__ASSUME_PSELECT): Likewise.
50810         (__ASSUME_PPOLL): Likewise.
50811         (__ASSUME_O_CLOEXEC): Likewise.
50812         (__ASSUME_SOCK_CLOEXEC): Likewise.
50813         (__ASSUME_IN_NONBLOCK): Likewise.
50814         (__ASSUME_PIPE2): Likewise.
50815         (__ASSUME_EVENTFD2): Likewise.
50816         (__ASSUME_SIGNALFD4): Likewise.
50817         (__ASSUME_DUP3): Likewise.
50818         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50819         (__ASSUME_UTIMES): Likewise.
50820         (__ASSUME_O_CLOEXEC): Likewise.
50821         (__ASSUME_SOCK_CLOEXEC): Likewise.
50822         (__ASSUME_IN_NONBLOCK): Likewise.
50823         (__ASSUME_PIPE2): Likewise.
50824         (__ASSUME_EVENTFD2): Likewise.
50825         (__ASSUME_SIGNALFD4): Likewise.
50826         (__ASSUME_DUP3): Likewise.
50827         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50828         (__ASSUME_UTIMES): Likewise.
50829         (__ASSUME_O_CLOEXEC): Likewise.
50830         (__ASSUME_SOCK_CLOEXEC): Likewise.
50831         (__ASSUME_IN_NONBLOCK): Likewise.
50832         (__ASSUME_PIPE2): Likewise.
50833         (__ASSUME_EVENTFD2): Likewise.
50834         (__ASSUME_SIGNALFD4): Likewise.
50835         (__ASSUME_DUP3): Likewise.
50836         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
50837         Likewise.
50838         (__ASSUME_UTIMES): Likewise.
50839         (__ASSUME_EVENTFD2): Likewise.
50840         (__ASSUME_SIGNALFD4): Likewise.
50841         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50842         (__ASSUME_O_CLOEXEC): Likewise.
50843         (__ASSUME_SOCK_CLOEXEC): Likewise.
50844         (__ASSUME_IN_NONBLOCK): Likewise.
50845         (__ASSUME_PIPE2): Likewise.
50846         (__ASSUME_EVENTFD2): Likewise.
50847         (__ASSUME_SIGNALFD4): Likewise.
50848         (__ASSUME_DUP3): Likewise.
50849         (__ASSUME_UTIMES): Undefine.
50851         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
50852         feclearexcept.  Remove symbol versioning code.
50853         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
50854         symbol versioning code.
50855         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
50856         symbol versioning code.
50857         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
50858         feupdateenv.  Remove symbol versioning code.
50859         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
50860         fegetexceptflag.  Remove symbol versioning code.
50861         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
50862         fesetexceptflag.  Remove symbol versioning code.
50863         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
50864         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
50865         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
50866         (__posix_fadvise64_l32): Remove prototype.
50867         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
50868         code.
50870 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50872         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
50873         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
50874         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
50875         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
50877 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
50879         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
50880         current working directory
50882 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50884         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
50885         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
50886         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
50887         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
50888         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
50889         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
50890         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
50891         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
50892         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
50893         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
50894         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
50895         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
50896         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
50897         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
50898         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
50899         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
50900         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
50901         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
50902         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
50903         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
50904         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
50905         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
50906         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
50907         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
50908         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
50909         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
50910         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
50911         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
50912         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
50913         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
50914         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
50915         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
50916         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
50917         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
50918         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
50919         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
50920         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
50921         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
50922         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
50923         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
50924         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
50925         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
50927         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
50928         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
50930         * sysdeps/unix/sysv/linux/arm/Makefile
50931         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
50932         Add rt-aeabi_unwind_cpp_pr1.
50933         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
50934         Add nptl-aeabi_unwind_cpp_pr1.
50935         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
50936         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
50937         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
50938         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
50939         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
50940         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
50942         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
50943         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
50944         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
50945         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
50947         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
50948         Deconditionalize the code that was previously under [RESET_PID].
50949         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
50951         * sysdeps/generic/exit-thread.h: New file.
50952         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
50953         * include/unistd.h (__exit_thread): Remove declaration.
50954         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
50955         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
50956         * csu/libc-start.c: Include <exit-thread.h>.
50957         (LIBC_START_MAIN): Pass no argument to __exit_thread.
50958         * nptl/pthread_create.c: Include <exit-thread.h>.
50959         (start_thread): Call __exit_thread in place of __exit_thread_inline.
50960         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
50961         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
50962         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
50963         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
50964         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
50965         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
50966         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
50967         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
50968         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
50969         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
50970         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
50971         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
50972         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
50973         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
50974         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
50975         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
50977 2014-05-13  Andreas Schwab  <schwab@suse.de>
50979         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
50981 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
50983         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
50984         (__ASSUME_UTIMES): Do not condition on kernel version.
50985         (__ASSUME_PSELECT): Define unconditionally.
50986         (__ASSUME_PPOLL): Likewise.
50987         (__ASSUME_ATFCTS): Likewise.
50988         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
50989         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
50990         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
50991         (__ASSUME_UTIMENSAT): Define unconditionally.
50992         (__ASSUME_PRIVATE_FUTEX): Likewise.
50993         (__ASSUME_FALLOCATE): Likewise.
50994         (__ASSUME_O_CLOEXEC): Likewise.
50995         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
50996         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
50997         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
50998         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
50999         (__ASSUME_IN_NONBLOCK): Likewise.
51000         (__ASSUME_PIPE2): Likewise.
51001         (__ASSUME_EVENTFD2): Likewise.
51002         (__ASSUME_SIGNALFD4): Likewise.
51003         (__ASSUME_DUP3): Likewise.
51004         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51005         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
51006         (__ASSUME_AT_RANDOM): Likewise.
51007         (__ASSUME_PREADV): Likewise.
51008         (__ASSUME_PWRITEV): Likewise.
51009         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
51010         (__ASSUME_F_GETOWN_EX): Define unconditionally.
51011         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
51012         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51013         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
51014         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51015         (__ASSUME_O_CLOEXEC): Define unconditionally.
51016         (__ASSUME_PSELECT): Do not undefine conditionally.
51017         (__ASSUME_PPOLL): Likewise.
51018         (__ASSUME_ATFCTS): Likewise.
51019         (__ASSUME_SET_ROBUST_LIST): Likewise.
51020         (__ASSUME_UTIMENSAT): Likewise.
51021         (__ASSUME_FDATASYNC): Define unconditionally.
51022         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51023         (__ASSUME_SIGFRAME_V2): Likewise.
51024         )__ASSUME_EVENTFD2): Likewise.
51025         (__ASSUME_SIGNALFD4): Likewise.
51026         (__ASSUME_PSELECT): Do not undefine conditionally.
51027         (__ASSUME_PPOLL): Likewise.
51028         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51029         (__ASSUME_PSELECT): Define unconditionally.
51030         (__ASSUME_PPOLL): Likewise.
51031         (__ASSUME_O_CLOEXEC): Likewise.
51032         (__ASSUME_SOCK_CLOEXEC): Likewise.
51033         (__ASSUME_IN_NONBLOCK): Likewise.
51034         (__ASSUME_PIPE2): Likewise.
51035         (__ASSUME_EVENTFD2): Likewise.
51036         (__ASSUME_SIGNALFD4): Likewise.
51037         (__ASSUME_DUP3): Likewise.
51038         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51039         (__ASSUME_O_CLOEXEC): Likewise.
51040         (__ASSUME_SOCK_CLOEXEC): Likewise.
51041         (__ASSUME_IN_NONBLOCK): Likewise.
51042         (__ASSUME_PIPE2): Likewise.
51043         (__ASSUME_EVENTFD2): Likewise.
51044         (__ASSUME_SIGNALFD4): Likewise.
51045         (__ASSUME_DUP3): Likewise.
51046         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51047         (__ASSUME_EVENTFD2): Likewise.
51048         (__ASSUME_SIGNALFD4): Likewise.
51049         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51051 2014-05-12  Andreas Schwab  <schwab@suse.de>
51053         [BZ #16932]
51054         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
51055         (_nss_nis_gethostbyname4_r): Return error if item length is larger
51056         than maximum RPC packet size.
51057         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
51058         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
51059         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
51060         (_nss_nis_getservbyport_r): Likewise.
51062 2014-05-12  Will Newton  <will.newton@linaro.org>
51064         * malloc/Makefile (tests): Add tst-mallopt.
51065         * malloc/tst-mallopt.c: New file.
51067 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51069         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
51070         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
51072 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51074         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
51075         (tst-tlsmod6.so): Likewise.
51077 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51079         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51081 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
51083         [BZ #16064]
51084         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51085         and <dl-procinfo.h>.
51086         (__fegetenv): Save SSE state in envp->__eip if supported.
51087         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51088         envp->__eip if supported.
51089         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51090         and <dl-procinfo.h>.
51091         (__fesetenv): Always set __eip, __cs_selector, __opcode,
51092         __data_offset and __data_selector in environment to 0.  Set SSE
51093         state if supported.
51094         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51095         test-fenv-sse.
51096         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51097         -mfpmath=sse.
51098         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51100 2014-05-09  Will Newton  <will.newton@linaro.org>
51102         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51103         and libc_relro_required for ARM.
51104         * sysdeps/arm/preconfigure: Regenerate.
51106 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
51107             Stefan Liebler  <stli@linux.vnet.ibm.com>
51109         * config.make.in (enable-lock-elision): New Makefile variable.
51110         * configure.ac: Likewise.
51111         * configure: Regenerate.
51112         * sysdeps/s390/configure.ac:
51113         Add check for gcc transactions support.
51114         * sysdeps/s390/configure: Regenerate.
51115         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51116         Build elision files if enabled.
51117         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51118         Add lock elision support for s390.
51119         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51120         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51121         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51122         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51123         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51124         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51125         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51126         Likewise.
51127         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51128         Likewise.
51129         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51130         Likewise.
51131         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51132         Likewise.
51133         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51134         (__lll_timedlock_elision, __lll_lock_elision)
51135         (__lll_unlock_elision, __lll_trylock_elision)
51136         (lll_timedlock_elision, lll_lock_elision)
51137         (lll_unlock_elision, lll_trylock_elision): Add.
51138         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51139         (pthread_mutex_t): Add lock elision support for s390.
51141 2014-05-14  Wilco  <wdijkstr@arm.com>
51143         * sysdeps/arm/fclrexcpt.c: Cleanup.
51144         * sysdeps/arm/fedisblxcpt.c: Cleanup.
51145         * sysdeps/arm/feenablxcpt.c: Cleanup.
51146         * sysdeps/arm/fegetenv.c: Cleanup.
51147         * sysdeps/arm/fegetexcept.c: Cleanup.
51148         * sysdeps/arm/fegetround.c: Cleanup.
51149         * sysdeps/arm/feholdexcpt.c: Cleanup.
51150         * sysdeps/arm/fesetenv.c: Cleanup.
51151         * sysdeps/arm/fesetround.c: Cleanup.
51152         * sysdeps/arm/feupdateenv.c: Cleanup.
51153         * sysdeps/arm/fgetexcptflg.c: Cleanup.
51154         * sysdeps/arm/fraiseexcpt.c: Cleanup.
51155         * sysdeps/arm/fsetexcptflg.c: Cleanup.
51156         * sysdeps/arm/ftestexcept.c: Cleanup.
51157         * sysdeps/arm/get-rounding-mode.h: Cleanup.
51158         * sysdeps/arm/setfpucw.c: Cleanup.
51160 2014-05-09  Will Newton  <will.newton@linaro.org>
51162         * sysdeps/arm/armv7/strcmp.S: New file.
51163         * NEWS: Mention addition of ARMv7 optimized strcmp.
51165 2014-05-08  Roland McGrath  <roland@hack.frob.com>
51167         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
51168         look for %.ac rather than %.in.
51170         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
51171         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
51172         * sysdeps/mach/hurd/configure: Regenerated.
51173         * sysdeps/unix/sysv/linux/configure: Regenerated.
51175         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
51177 2014-05-07  Steve Ellcey  <sellcey@mips.com>
51179         [BZ #16922]
51180         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
51181         (LONG_SUB): Ditto.
51182         (PTR_SUB): Ditto.
51184 2014-05-07  Andreas Schwab  <schwab@suse.de>
51186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
51187         when skipping over non-matching result from nscd.
51189 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
51191         [BZ #16876]
51192         * nptl/sockperf.c (client): Check socket return value.
51194         [BZ #16877]
51195         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
51196         nscd security class.
51198 2014-05-06  Roland McGrath  <roland@hack.frob.com>
51200         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
51201         * sysdeps/arm/unwind.h: ... here.
51203 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
51205         [BZ #16916]
51206         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
51207         Define.
51209 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51211         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
51212         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
51213         multiarch strncpy for PPC64.
51214         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51215         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
51216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
51217         multiarch optimizations.
51218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51219         (__libc_ifunc_impl_list): Likewise.
51220         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
51221         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
51222         multiarch stpncpy for PPC64.
51223         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
51224         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
51226 2014-05-06  Andreas Schwab  <schwab@suse.de>
51228         [BZ #16912]
51229         * gmon/mcount.c (_MCOUNT_DECL): Use
51230         atomic_compare_and_exchange_bool_acq instead of
51231         catomic_compare_and_exchange_bool_acq.
51233 2014-05-05  Roland McGrath  <roland@hack.frob.com>
51235         * elf/Makefile (others, install-bin): Remove pldd.
51236         (pldd-modules): Variable removed.
51237         ($(objpfx)pldd): Target removed.
51238         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
51239         (others, install-bin): Append pldd here.
51240         ($(objpfx)pldd): New target.
51242         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
51243         to 0, so the first #if test emitted later doesn't see it undefined.
51244         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
51245         * sysdeps/gnu/errlist.c: Regenerated.
51247 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51249         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51250         [libc_hidden_builtin_def]: Define to empty value.
51251         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
51252         [libc_hidden_builtin_def]: Likewise.
51253         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
51254         [libc_hidden_builtin_def]: Likewise.
51255         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
51256         [libc_hidden_builtin_def]: Likewise.
51257         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
51258         __redirect_memcpy and define ifunc as default hidden symbol.
51259         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
51260         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
51262 2014-05-04  Adam Conrad  <adconrad@0c3.net>
51264         * locale/iso-4217.def: Reintroduce XDR currency.
51266 2014-05-04  Allan McRae  <allan@archlinux.org>
51268         * po/eo.po: Update Esperanto translation from translation project.
51270 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
51272         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
51273         and FEATURE_INDEX_MAX to 1.
51274         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
51276 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51278         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
51279         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
51280         * iconvdata/big5.c (ONE_DIRECTION): Define.
51281         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
51282         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51283         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
51284         * iconvdata/cp932.c (ONE_DIRECTION): Define.
51285         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
51286         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
51287         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
51288         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
51289         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
51290         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
51291         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
51292         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
51293         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
51294         * iconvdata/gbk.c (ONE_DIRECTION): Define.
51295         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
51296         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51297         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
51298         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
51299         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
51300         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
51301         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
51302         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
51303         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
51304         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
51305         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
51306         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
51307         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
51308         * iconvdata/iso646.c (ONE_DIRECTION): Define.
51309         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
51310         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
51311         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
51312         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
51313         * iconvdata/johab.c (ONE_DIRECTION): Define.
51314         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
51315         * iconvdata/sjis.c (ONE_DIRECTION): Define.
51316         * iconvdata/t.61.c (ONE_DIRECTION): Define.
51317         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
51318         * iconvdata/tscii.c (ONE_DIRECTION): Define.
51319         * iconvdata/uhc.c (ONE_DIRECTION): Define.
51320         * iconvdata/unicode.c (ONE_DIRECTION): Define.
51321         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
51322         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
51323         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
51325 2014-05-01  Roland McGrath  <roland@hack.frob.com>
51327         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
51328         (_IO_JUMPS_OFFSET): Define to 0.
51330         * nptl/sysdeps/pthread/bits/libc-lock.h
51331         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
51332         (__libc_lock_define_initialized_recursive): Always define using
51333         initializer.  Modern compilers treat uninitialized (implicit zero) and
51334         explicit zero initializers the same (i.e. put the datum in bss).
51336 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51338         * nscd/nscd-client.h: Include <string.h>.
51340 2014-05-01  David S. Miller  <davem@davemloft.net>
51342         [BZ #16885]
51343         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
51344         multiple zero bytes exist at the end of a string.
51345         Reported by Aurelien Jarno <aurelien@aurel32.net>
51347         * string/test-strcmp.c (check): Add explicit test for situations where
51348         there are multiple zero bytes after the first.
51350 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51352         [BZ #16890]
51353         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
51354         when compiling wprintf.
51355         * stdio-common/tstdiomisc.c (t3): New function.
51356         (main): Call it.
51358 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51360         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
51361         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
51362         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
51363         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
51365 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51367         * stdlib/longlong.h: Updated from GCC.
51369 2014-05-01  Will Newton  <will.newton@linaro.org>
51370             Bernard Ogden  <bernie.ogden@linaro.org>
51372         * NEWS: Update fixed bug list.
51374         [BZ #15119]
51375         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51377 2014-04-30  David S. Miller  <davem@davemloft.net>
51379         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51380         (libc_feholdexcept_setround_sparc_ctx): New function.
51381         (libc_fesetenv_sparc_ctx): Likewise.
51382         (libc_feupdateenv_sparc_ctx): Likewise.
51383         (libc_feholdsetround_sparc_ctx): Likewise.
51384         (libc_feholdexcept_setround_ctx): Define.
51385         (libc_feholdexcept_setroundf_ctx): Likewise.
51386         (libc_feholdexcept_setroundl_ctx): Likewise.
51387         (libc_fesetenv_ctx): Likewise.
51388         (libc_fesetenvf_ctx): Likewise.
51389         (libc_fesetenvl_ctx): Likewise.
51390         (libc_feupdateenv_ctx): Likewise.
51391         (libc_feupdateenvf_ctx): Likewise.
51392         (libc_feupdateenvl_ctx): Likewise.
51393         (libc_feresetround_ctx): Likewise.
51394         (libc_feresetroundf_ctx): Likewise.
51395         (libc_feresetroundl_ctx): Likewise.
51396         (libc_feholdsetround_ctx): Likewise.
51397         (libc_feholdsetroundf_ctx): Likewise.
51398         (libc_feholdsetroundl_ctx): Likewise.
51400         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51401         with __USE_GNU instead of XOPEN cpp guards.
51403         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51404         0.
51406         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51407         with XOPEN cpp guards.
51409 2014-04-30  Julian Brown  <julian@codesourcery.com>
51411         [BZ #16888]
51412         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51413         handling.
51415 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
51417         [BZ #9894]
51418         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51419         Change to 2.6.32.
51420         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51421         * sysdeps/unix/sysv/linux/configure: Regenerated.
51422         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51423         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51424         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51425         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51426         * README: Update reference to required Linux kernel version.
51427         * manual/install.texi (Linux): Update reference to required Linux
51428         kernel headers version.
51429         * INSTALL: Regenerated.
51431         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51432         header inclusion.
51433         [POSIX] (limits.h): Likewise.
51434         [POSIX] (math.h): Likewise.
51435         [POSIX] (sys/wait.h): Likewise.
51436         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51437         function.
51438         [POSIX] (stddef.h): Do not allow header inclusion.
51440 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51442         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51444 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
51446         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51447         Return immediately after lll_futex_wake.
51449 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51451         [BZ #16791]
51452         * nscd/nscd-client.h (datahead_init_common): Initialize entire
51453         structure.
51454         (datahead_init_pos): Call datahead_init_common early.
51455         (datahead_init_neg): Likewise.
51457         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51458         datahead_init_neg): New functions.
51459         * nscd/aicache.c (addhstaiX): Use them.
51460         * nscd/grpcache.c (cache_addgr): Likewise.
51461         * nscd/hstcache.c (cache_addhst): Likewise.
51462         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51463         * nscd/netgroupcache.c (do_notfound): Likewise.
51464         (addgetnetgrentX): Likewise.
51465         (addinnetgrX): Likewise.
51466         * nscd/pwdcache.c (cache_addpw): Likewise.
51467         * nscd/servicescache.c (cache_addserv): Likewise.
51469 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51470             Atsushi Onoe  <atsushi@onoe.org>
51472         [BZ #14308]
51473         [BZ #12994]
51474         [BZ #13651]
51475         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51476         one response is valid.
51477         * resolv/res_send.c (send_dg): Check for validity of other
51478         response if the current response is a referral.
51480 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51482         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51484 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51486         [BZ #16823]
51487         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51488         Always divide by positive zero when computing -Inf result.
51489         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51490         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51492 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51494         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51495         FPSCR if value do not change.
51496         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51497         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51498         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51499         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51500         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51501         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51502         function.
51504 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51506         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51507         * sysdeps/unix/sysv/linux/hppa: Move directory from
51508         ports/systeps/unix/sysv/linux/hppa.
51509         * README: Update listing for hppa-*-linux-gnu.
51511 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51513         [BZ #16754]
51514         * manual/stdio.texi (Hook functions): Fix types of stream hook
51515         functions.
51516         [BZ #16854]
51517         * socket/sys/socket.h: Fix typo in comment.
51519 2014-04-28  Wilco  <wdijkstr@arm.com>
51521         * sysdeps/arm/fenv_private.h: New file.
51522         * sysdeps/arm/math_private.h: New file.
51523         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51525 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51527         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51528         with __int128_t.
51529         (La_x86_64_retval): Likewise.
51531 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51533         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51534         fpsr if value didn't change.
51535         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51536         to fpcr if value didn't change.
51537         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51538         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51539         fpsr or fpcr if value didn't change.
51540         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51541         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51542         fpcr if value didn't change.
51543         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51544         to fpsr if value didn't change.
51546 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51548         * nptl/tst-sem3.c: Use test-skeleton.c
51549         (main): Rename to do_test.  Use return instead of
51550         exit.
51551         * nptl/tst-sem4.c: Use test-skeleton.c
51552         (main): Rename to do_test.
51554 2014-04-22  David S. Miller  <davem@davemloft.net>
51556         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51557         (struct sigaction): New struct member __glibc_reserved0, change
51558         type of sa_flags to int.
51560 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51562         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51563         (COUNT_LEADING_ZEROS_0): Define for AArch64.
51565 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51567         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51568         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51570 2014-04-22  Will Newton  <will.newton@linaro.org>
51571             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
51573         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51574         (__longjmp): Add longjmp and longjmp_target SystemTap
51575         probes.
51576         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51577         (__sigsetjmp): Add setjmp SystemTap probe.
51579 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
51581         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51582         match manual order.
51584 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51586         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51588         * sysdeps/powerpc/fpu/fenv_private.h
51589         (libc_feholdexcept_setroundl_ctx): Define to
51590         libc_feholdexcept_setround_ppc_ctx.
51591         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51592         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51593         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51594         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51596 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51598         * sysdeps/aarch64/math-tests.h: New file.
51600 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
51602         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51603         New.
51604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51605         Check and set bit_AVX2_Usable.
51606         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51607         macro.
51608         (bit_AVX2): Likewise.
51609         (index_AVX2_Usable): Likewise.
51610         (CPUID_AVX2): Likewise.
51611         (HAS_AVX2): Likewise.
51613 2014-04-17  Will Newton  <will.newton@linaro.org>
51615         * manual/setjmp.texi (System V contexts): Add note that
51616         calling setcontext on a context created by a call to a
51617         signal handler is undefined.  Update text to note that
51618         setcontext from a signal handler is possible but not
51619         recommended.
51621         [BZ #16629]
51622         * stdlib/tst-setcontext.c: Include signal.h.
51623         (main): Check that the signal stack before and
51624         after swapcontext is the same.
51626         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51627         Re-implement to restore registers in user code and avoid
51628         rt_sigreturn system call.
51630 2014-04-17  Wilco  <wdijkstr@arm.com>
51632         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51633         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51634         * math/test-fenv.c: Skip exception trap tests on targets which only
51635         support non-stop mode.
51637 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51638             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51640         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51641         (libc_feholdsetround_aarch64_ctx)
51642         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51643         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51644         (libc_feresetround_ctx, libc_feresetroundf_ctx)
51645         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51646         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51647         (libc_feresetround_noexl_ctx): Define.
51649 2014-04-16  Richard Henderson  <rth@redhat.com>
51651         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51653         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51654         unwind tables.
51656         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51657         const from the non-libc, non-ldso copy.
51659         * sysdeps/alpha/libm-test-ulps: Regenerate.
51661 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
51662             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51664         * sysdeps/aarch64/fpu/math_private.h: New file.
51666 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51668         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51670 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
51672         [BZ #16275]
51673         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51674         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51675         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51676         Intel MPX bound registers before _dl_profile_fixup.
51677         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51678         registers after _dl_profile_fixup.  Save and restore bound
51679         registers bnd0/bnd1 when calling _dl_call_pltexit.
51680         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51681         (LR_BND_OFFSET): Likewise.
51682         (LRV_BND0_OFFSET): Likewise.
51683         (LRV_BND1_OFFSET): Likewise.
51685 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51687         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51688         to...
51689         * sysdeps/mach/hurd/i386/tls.h: ... here.
51690         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51691         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51692         fields.
51694 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51696         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51698 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51700         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51702 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51704         [BZ #14770]
51705         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51706         * sysdeps/s390/configure: Regenerate.
51708         [BZ #16824]
51709         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51710         Set round-to-nearest internally to reduce error accumulation.
51712 2014-04-16  Alan Modra  <amodra@gmail.com>
51714         [BZ #16740]
51715         [BZ #16619]
51716         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51717         * math/libm-test.inc (frexp_test_data): Add tests.
51718         * NEWS: Update fixed bug list.
51720 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51722         * benchtests/Makefile: Depend on libraries in build directory.
51723         (bench-math): Separate out math tests.
51724         (bench-pthread): Separate out pthread tests.
51725         (bench): Include math and pthread tests.
51727 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
51729         [BZ #16831]
51730         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51731         _dl_debug_initialize.
51733         * configure.ac: Remove SELinux header check.
51734         * configure: Regenerate.
51735         * nscd/selinux.c (perms): Array of const char* to permission names.
51736         (nscd_request_avc_has_perm): Call security_deny_unknown to find
51737         default policy. Call string_to_security_class and string_to_av_perm to
51738         translate strings. Enforce default policy and call avs_has_perm with
51739         results of translated strings.
51741 2014-04-13  David S. Miller  <davem@davemloft.net>
51743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51745 2014-04-12  Allan McRae  <allan@archlinux.org>
51747         [BZ #16838]
51748         * manual/string.texi (Collation Functions): Fix qsort argument
51749         order in example.
51750         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51752 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
51754         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51755         Make the test a no-op if there are no exceptions defined.
51757 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
51759         * elf/Makefile (tests): make tst-dlopen-aout conditional on
51760         enable-hardcoded-path-in-tests
51762 2014-04-11  Will Newton  <will.newton@linaro.org>
51764         * benchtests/Makefile (extra-objs): Add json-lib.o.
51765         (bench-func): Tidy up JSON output.
51766         * benchtests/bench-skeleton.c: Include json-lib.h.
51767         (main): Use JSON library functions to do output of
51768         benchmark results.
51769         * benchtests/bench-timing-type.c (main): Output the
51770         timing type simply, leaving formatting to the user.
51771         * benchtests/json-lib.c: New file.
51772         * benchtests/json-lib.h: Likewise.
51774 2014-04-11  Torvald Riegel  <triegel@redhat.com>
51776         [BZ #15215]
51777         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51778         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
51779         memory barriers.  Add comments.
51780         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51781         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51782         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51783         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51784         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51785         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51787 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51789         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51790         * sysdeps/s390/s390-64/configure.ac: ... this ...
51791         * sysdeps/s390/configure.ac: ... to here.
51792         * sysdeps/s390/s390-32/configure: Delete file.
51793         * sysdeps/s390/s390-64/configure: Delete file.
51794         * sysdeps/s390/configure: Regenerate.
51796 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
51798         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
51800 2014-04-11  Will Newton  <will.newton@linaro.org>
51802         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
51803         to zero if it is not defined elsewhere.  (mtrim): Test
51804         the value of MALLOC_DEBUG with #if rather than #ifdef.
51806 2014-04-10 Torvald Riegel  <triegel@redhat.com>
51808         * benchtests/pthread_once-inputs: New file.
51809         * benchtests/pthread_once-source.c: New file.
51810         * benchtests/README: Update documentation.
51812 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
51813             H.J. Lu  <hongjiu.lu@intel.com>
51815         [BZ #16275]
51816         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
51817         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
51818         * sysdeps/x86_64/configure: Regenerated.
51819         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
51820         macro.
51821         (REGISTER_SAVE_RAX): Likewise.
51822         (REGISTER_SAVE_RCX): Likewise.
51823         (REGISTER_SAVE_RDX): Likewise.
51824         (REGISTER_SAVE_RSI): Likewise.
51825         (REGISTER_SAVE_RDI): Likewise.
51826         (REGISTER_SAVE_R8): Likewise.
51827         (REGISTER_SAVE_R9): Likewise.
51828         (REGISTER_SAVE_BND0): Likewise.
51829         (REGISTER_SAVE_BND1): Likewise.
51830         (REGISTER_SAVE_BND2): Likewise.
51831         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
51832         bound registers when calling _dl_fixup.
51834 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51836         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
51837         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
51838         of its definition.
51839         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
51840         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
51841         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
51842         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
51843         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
51844         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
51845         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
51847 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
51849         [BZ #15514]
51850         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
51851         pathconf(_PC_NAME_MAX).
51853 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51855         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
51856         Remove macro usage.
51857         (__PTHREAD_SPINS): Move definition to ...
51858         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51859         (__PTHREAD_SPINS): ... here.
51860         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51861         (__PTHREAD_SPIN): Likewise.
51862         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
51863         (__PTHREAD_SPIN): Likewise.
51864         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
51865         (__PTHREAD_SPIN): Likewise.
51866         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
51867         (__PTHREAD_SPIN): Likewise.
51868         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
51869         (__PTHREAD_SPIN): Likewise.
51870         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
51871         (__PTHREAD_SPIN): Likewise.
51872         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
51873         (__PTHREAD_SPIN): Likewise.
51874         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
51875         (__PTHREAD_SPIN): Likewise.
51876         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
51877         (__PTHREAD_SPIN): Likewise.
51878         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
51879         (__PTHREAD_SPIN): Likewise.
51880         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
51881         (__PTHREAD_SPIN): Likewise.
51882         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
51883         (__PTHREAD_SPIN): Likewise.
51885         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
51886         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
51887         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
51888         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
51889         imply folder.
51890         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
51891         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
51892         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
51893         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
51894         correct imply path.
51895         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
51896         strlen symbol for non multi-arch builds.
51897         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
51898         missing hidden_def and weak_alias.
51900 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
51902         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
51904 2014-04-07  Will Newton  <will.newton@linaro.org>
51906         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
51907         and contents.  [!_LIBC] Remove #ifndef and contents.
51908         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
51909         * string/memccpy.c (__memccpy): Use ANSI prototype.
51910         * string/memfrob.c (memfrob): Likewise.
51911         * string/strcoll.c (STRCOLL): Likewise.
51912         * string/strlen.c (strlen): Likewise.
51913         * string/strtok.c (STRTOK): Likewise.
51914         * string/strcat.c: Remove unused #include of memcopy.h.
51915         (strcat): Use ANSI prototype.
51916         * string/strchr.c: Remove unused #include of memcopy.h.
51917         (strchr): Use ANSI prototype.
51918         * string/strcmp.c: Remove unused #include of memcopy.h.
51919         (strcmp): Use ANSI prototype.
51920         * string/strcpy.c: Remove unused #include of memcopy.h.
51921         (strcpy): Use ANSI prototype.
51923 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51925         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
51926         * config.make.in (config-extra-cppflags): Set it from
51927         libc_extra_cppflags.
51928         * configure.ac (libc_extra_cflags): Make it accumulate over
51929         configure fragments.
51930         (libc_extra_cppflags): New flag.
51931         * configure. Regenerate.
51932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
51933         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
51934         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
51935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
51937         [BZ #16815]
51938         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
51939         result for FE_DOWNWARD rounding mode.
51940         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
51941         Likewise.
51942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51944 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
51946         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
51947         in function argument name.
51949 2014-04-03  David Svoboda  <svoboda@cert.org>
51951         [BZ #5666]
51952         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
51953         explicitly.
51955 2014-04-03  Roland McGrath  <roland@hack.frob.com>
51957         * elf/dl-unmap-segments.h: New file.
51958         * sysdeps/generic/ldsodefs.h
51959         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
51960         * elf/dl-close.c: Include <dl-unmap-segments.h>.
51961         * elf/dl-fptr.c: Likewise.
51962         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
51963         * sysdeps/aarch64/tlsdesc.c: Likewise.
51964         * sysdeps/arm/tlsdesc.c: Likewise.
51965         * sysdeps/i386/tlsdesc.c: Likewise.
51966         * sysdeps/tile/dl-runtime.c: Likewise.
51967         * sysdeps/x86_64/tlsdesc.c: Likewise.
51968         * elf/dl-load.h: New file.
51969         * elf/dl-load.c: Include it.
51970         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
51971         Macros moved to dl-load.h.
51972         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
51973         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
51974         Use _dl_unmap_segments in place of __munmap.
51975         Break out segment-mapping loop into ...
51976         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
51978 2014-04-03  Will Newton  <will.newton@linaro.org>
51980         * elf/dl-lookup.c (do_lookup_x): Remove comment
51981         referring to nested function and move variable
51982         declarations down to before first use.
51984 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
51986         [BZ #16799]
51987         [BZ #16800]
51988         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
51989         with 0 numerator.
51990         * math/s_catanf.c (__catanf): Likewise.
51991         * math/s_catanh.c (__catanh): Likewise.
51992         * math/s_catanhf.c (__catanhf): Likewise.
51993         * math/s_catanhl.c (__catanhl): Likewise.
51994         * math/s_catanl.c (__catanl): Likewise.
51995         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
51996         by positive zero when computing -Inf result.
51997         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
51998         (catanh_test): Likewise.
51999         * sysdeps/i386/fpu/libm-test-ulps: Update.
52000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52002         [BZ #16789]
52003         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
52004         instead of using underflowing value in computing result.
52005         * math/s_clog10.c (__clog10): Likewise.
52006         * math/s_clog10f.c (__clog10f): Likewise.
52007         * math/s_clog10l.c (__clog10l): Likewise.
52008         * math/s_clogf.c (__clogf): Likewise.
52009         * math/s_clogl.c (__clogl): Likewise.
52010         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
52011         (clog10_test): Likewise.
52012         * sysdeps/i386/fpu/libm-test-ulps: Update.
52013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52015 2014-04-02  Alan Modra  <amodra@gmail.com>
52017         [BZ #16739]
52018         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
52019         output when value is near a power of two.  Use int64_t for lx and
52020         remove casts.  Use decimal rather than hex exponent constants.
52021         Don't use long double multiplication when double will suffice.
52022         * math/libm-test.inc (nextafter_test_data): Add tests.
52023         * NEWS: Add 16739 and 16786 to bug list.
52025         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
52027         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
52029 2014-04-01  Will Newton  <will.newton@linaro.org>
52031         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
52032         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
52034 2014-04-01  Florian Weimer  <fweimer@redhat.com>
52036         [BZ #13347]
52037         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
52038         * nptl/tst-setuid2.c: New file.
52039         * nptl/Makefile (xtests): Add tst-setuid2.
52041 2014-04-01  Alan Modra  <amodra@gmail.com>
52043         [BZ #16786]
52044         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
52046 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52048         [BZ #6803]
52049         [BZ #6804]
52050         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
52051         set errno as appropriate.
52052         * math/w_scalbf.c (__scalbf): Likewise.
52053         * math/w_scalbl.c (__scalbl): Likewise.
52054         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
52055         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
52056         * math/libm-test.inc (scalb_test_data): Add errno expectations.
52057         Add more NaN tests.
52059         [BZ #16349]
52060         * math/w_atan2.c: Include <errno.h>.
52061         (__atan2): Set errno for result underflowing to zero.
52062         * math/w_atan2f.c: Include <errno.h>.
52063         (__atan2f): Set errno for result underflowing to zero.
52064         * math/w_atan2l.c: Include <errno.h>.
52065         (__atan2l): Set errno for result underflowing to zero.
52066         * math/auto-libm-test-in: Don't allow missing errno for some atan2
52067         tests.
52068         * math/auto-libm-test-out: Regenerated.
52070 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52072         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
52073         Encode instruction correctly in little endian.
52074         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
52075         Likewise.
52076         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
52077         Likewise.
52078         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52079         Likewise.
52080         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52081         Likewise.
52083 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52085         [BZ #9894]
52086         * sysdeps/unix/sysv/linux/kernel-features.h
52087         [__sparc__ && !__arch64__ && !__sparc_v9__]
52088         (__ASSUME_SET_ROBUST_LIST): Do not define.
52089         [__sparc__ && !__arch64__ && !__sparc_v9__]
52090         (__ASSUME_FUTEX_LOCK_PI): Likewise.
52091         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52092         Likewise.
52093         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52094         (__ASSUME_FUTEX_LOCK_PI): Undefine.
52095         (__ASSUME_REQUEUE_PI): Likewise.
52096         (__ASSUME_SET_ROBUST_LIST): Likewise.
52097         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52098         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52099         Undefine.
52100         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52101         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52102         Likewise.
52103         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52104         Likewise.
52105         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52106         Likewise.
52107         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52108         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52109         Undefine.
52110         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52111         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52112         Likewise.
52114         [BZ #16648]
52115         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52116         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52117         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52119 2014-03-31  Will Newton  <will.newton@linaro.org>
52121         * benchtests/Makefile (bench): Add ffs and ffsll to list
52122         of tests.
52123         * benchtests/ffs-inputs: New file.
52124         * benchtests/ffsll-inputs: Likewise.
52126 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
52128         [BZ #16770]
52129         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52130         too large before casting to int.
52131         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52132         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52133         * math/libm-test.inc (scalb_test_data): Add more tests.
52135 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52137         * benchtests/Makefile (DETAILED_OPT): New make option.
52138         (bench-func): Run benchmark program with -d if DETAILED_OPT is
52139         set.
52140         * benchtests/bench-skeleton.c: Include stdbool.h.
52141         (main): Store and print timings per input.
52142         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52143         member to each argument value.
52144         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52145         (_print_arg_data): Initialize per-input timing to 0.
52147         * benchtests/Makefile (timing-type): New binary.
52148         (bench-clean): Also remove bench-timing-type.
52149         (bench): New target for timing-type.
52150         (bench-func): Print output in JSON format.
52151         * benchtests/bench-skeleton.c (main): Print output in JSON
52152         format.
52153         * benchtests/bench-timing-type.c: New file.
52154         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
52155         (TIMING_PRINT_STATS): Remove.
52156         * benchtests/scripts/bench.py (_print_arg_data): Store variant
52157         name separately.
52159         * benchtests/bench-modf.c: Remove.
52160         * benchtests/modf-inputs: New inputs file.
52162 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
52164         [BZ #16362]
52165         * math/s_clog10.c (M_PI_LOG10E): New macro.
52166         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
52167         imaginary parts are 0.
52168         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
52169         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
52170         imaginary parts are 0.
52171         * math/s_clog10l.c (M_PI_LOG10El): New macro.
52172         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
52173         imaginary parts are 0.
52174         * math/libm-test.inc (clog10_test_data): Update expected results
52175         for when real and imaginary parts are 0.
52177 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
52179         * elf/dl-load.c: Finish conversion of __builtin_expect into
52180         __glibc_{un}likely.
52182 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
52184         [BZ #16348]
52185         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
52186         1+x for argument with exponent below -67.
52187         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
52188         Likewise.
52189         * math/auto-libm-test-in: Add more tests of exp.
52190         * math/auto-libm-test-out: Regenerated.
52192 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52194         [BZ #16759]
52195         * inet/getnetgrent_r.c (get_nonempty_val): New function.
52196         (nscd_getnetgrent): Use it.
52198         [BZ #16760]
52199         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
52200         of stpcpy.
52202 2014-03-27  Andi Kleen  <ak@linux.intel.com>
52204         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
52205         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52206         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52207         (lll_robust_unlock): Remove out of line section. Use cfi
52208         intrinsics.
52209         (LLL_STUB_UNWIND_INFO*): Remove.
52210         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
52211         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52212         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52213         (lll_robust_unlock): Remove out of line section. Use cfi
52214         intrinsics.
52215         (LLL_STUB_UNWIND_INFO*): Remove.
52217 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52219         [BZ #16758]
52220         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
52221         blank values.
52223 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
52225         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
52227 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
52229         [BZ #16198]
52230         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
52231         fnstenv.
52232         * math/test-fenv-preserve.c: New file.
52233         * math/Makefile (tests): Add test-fenv-preserve.
52235 2014-03-26  Will Newton <will.newton@linaro.org>
52237         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
52239 2014-03-25  Roland McGrath  <roland@hack.frob.com>
52241         * scripts/versionlist.awk: Partition the version sets and emit all
52242         GLIBC_* (sorted) before all others (sorted).
52244 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52246         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
52247         GLIBC_2.2.5 version.
52249 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52251         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
52252         calls.
52254         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
52255         previous change.
52257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52259 2014-03-25  Andreas Schwab  <schwab@suse.de>
52261         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
52262         label to be used after in6ailist is initialized.
52264 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52266         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52267         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52269 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52271         [BZ #16357]
52272         [BZ #16599]
52273         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52274         min_plus_half.
52275         (fp_formats): Update initializers.
52276         (init_fp_formats): Initialize new field.
52277         (output_for_one_input_case): Allow underflow for results up to
52278         min_plus_half.
52279         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
52280         * math/auto-libm-test-in: Don't mark some underflows from asin and
52281         atanh as spurious.
52282         * math/auto-libm-test-out: Regenerated.
52283         * sysdeps/i386/fpu/libm-test-ulps: Update.
52284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52286 2014-03-25  Andreas Schwab  <schwab@suse.de>
52288         * libio/Makefile (tst-ftell-partial-wide-ENV)
52289         (tst-ftell-active-handler-ENV): Define.
52291 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
52293         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
52295 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52297         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
52299 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52301         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
52302         * sysdeps/x86_64/fpu/multiarch/e_exp.c
52303         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52305 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52307         [BZ #16634]
52308         * elf/dl-load.c (open_verify): Add mode parameter.
52309         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
52310         (open_path): Change from boolean 'secure' to complete flag 'mode'
52311         (_dl_map_object): Adjust.
52312         * elf/Makefile (tests): Add tst-dlopen-aout.
52313         * elf/tst-dlopen-aout.c: New test.
52315 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
52317         [BZ #16714]
52318         * sysdeps/unix/sysv/linux/s390/bits/stat.h
52319         (struct stat): Rename member pad0 to __glibc_reserved0.
52321         [BZ #16712]
52322         * sysdeps/s390/s390-32/bits/wordsize.h
52323         (__WORDSIZE32_SIZE_ULONG): New define.
52324         * sysdeps/s390/s390-64/bits/wordsize.h
52325         (__WORDSIZE32_SIZE_ULONG): Likewise.
52326         * sysdeps/generic/stdint.h (SIZE_MAX):
52327         Define as UL if __WORDSIZE32_SIZE_ULONG.
52329         [BZ #16713]
52330         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
52331         (__glibc_reserved0): New variable.
52332         (sa_flags): Change type to int.
52334         * posix/Makefile (before-compile): Use += before-compile instead
52335         of a :=.
52337         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52338         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52340 2014-03-20  Andreas Schwab  <schwab@suse.de>
52342         [BZ #16743]
52343         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
52344         non-matching result from nscd.
52346 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52348         * scripts/bench.py: Moved to ...
52349         * benchtests/scripts/bench.py: ... here.
52350         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
52352 2014-03-24  Andreas Schwab  <schwab@suse.de>
52354         [BZ #16002]
52355         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
52356         alloca_account and account alloca use for struct in6ailist.
52358 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52360         [BZ #16284]
52361         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
52362         rounding mode to recompute results that overflow to infinity or
52363         underflow to zero.
52364         * math/auto-libm-test-in: Don't mark tests as expected to fail for
52365         bug 16284.
52366         * math/auto-libm-test-out: Regenerated.
52367         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
52368         (ccosh_test): Likewise.
52369         (csin_test_data): Use plus_oflow.
52370         (csin_test): Use ALL_RM_TEST.
52371         (csinh_test_data): Use plus_oflow.
52372         (csinh_test): Use ALL_RM_TEST.
52373         * sysdeps/i386/fpu/libm-test-ulps: Update.
52374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52376 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
52378         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52379         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52380         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52382         [BZ #16731]
52383         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52384         when x - 1 is zero.
52385         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52386         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52387         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52388         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52389         argument is 1.
52390         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52391         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52392         zero.
52393         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52394         * sysdeps/i386/fpu/libm-test-ulps: Update.
52395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52397 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52399         * scripts/bench.pl: Remove file.
52400         * scripts/bench.py: New benchmark script.
52401         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52402         * benchtests/README: Mention python dependency.
52403         * scripts/pylintrc: New file.
52404         * scripts/pylint: New file.
52406         * bits/mathdef.h: Use #ifdef instead of #if.
52407         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52408         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52409         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52410         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52411         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52412         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52414 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52415             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52417         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52419         and strpbrk-ppc64 objects.
52420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52421         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52422         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52423         multiarch strpbrk for POWER7.
52424         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52425         multiarch strpbrk for PPC64.
52426         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52427         ifunc selector.
52428         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52429         strpbrk for POWER7.
52431 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52433         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52434         (atan_test): Likewise.
52435         (atanh_test_data): Use NO_TEST_INLINE for two tests.
52436         (atanh_test): Use ALL_RM_TEST.
52437         (atan2_test_data): Likewise.
52438         (cabs_test): Likewise.
52439         (cacosh_test): Likewise.
52440         (carg_test): Likewise.
52441         (casin_test): Likewise.
52442         (casinh_test): Likewise.
52443         (cbrt_test): Likewise.
52444         (csqrt_test): Likewise.
52445         (erf_test): Likewise.
52446         (erfc_test): Likewise.
52447         (pow10_test): Likewise.
52448         (exp2_test): Likewise.
52449         (hypot_test): Likewise.
52450         (j0_test): Likewise.
52451         (j1_test): Likewise.
52452         (lgamma_test): Likewise.
52453         (gamma_test): Likewise.
52454         (sincos_test): Likewise.
52455         (tanh_test): Likewise.
52456         (y0_test): Likewise.
52457         (y1_test): Likewise.
52458         * sysdeps/i386/fpu/libm-test-ulps: Update.
52459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52461 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52463         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52465         and strcspn-ppc64 objects.
52466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52467         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52468         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52469         multiarch strcspn for POWER7.
52470         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52471         multiarch strcspn for PPC64.
52472         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52473         ifunc selector.
52474         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52475         strcspn for POWER7.
52477 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52479         * math/gen-libm-test.pl (generate_testfile): Expect only function
52480         name as argument to AUTO_TESTS_* and pass results for all rounding
52481         modes to parse_args.
52482         (parse_auto_input): Separate inputs of automatic tests from
52483         outputs before storing in %auto_tests.
52484         * math/libm-test.inc (acos_test_data): Update call to
52485         AUTO_TESTS_f_f.
52486         (acos_test): Use ALL_RM_TEST.
52487         (acos_tonearest_test_data): Remove.
52488         (acos_test_tonearest): Likewise.
52489         (acos_towardzero_test_data): Likewise.
52490         (acos_test_towardzero): Likewise.
52491         (acos_downward_test_data): Likewise.
52492         (acos_test_downward): Likewise.
52493         (acos_upward_test_data): Likewise.
52494         (acos_test_upward): Likewise.
52495         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52496         (asin_test_data): Likewise.
52497         (asin_test): Use ALL_RM_TEST.
52498         (asin_tonearest_test_data): Remove.
52499         (asin_test_tonearest): Likewise.
52500         (asin_towardzero_test_data): Likewise.
52501         (asin_test_towardzero): Likewise.
52502         (asin_downward_test_data): Likewise.
52503         (asin_test_downward): Likewise.
52504         (asin_upward_test_data): Likewise.
52505         (asin_test_upward): Likewise.
52506         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52507         (atan_test_data): Likewise.
52508         (atanh_test_data): Likewise.
52509         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52510         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52511         (carg_test_data): Likewise.
52512         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52513         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52514         (ccosh_test_data): Likewise.
52515         (cexp_test_data): Likewise.
52516         (clog_test_data): Likewise.
52517         (clog10_test_data): Likewise.
52518         (cos_test_data): Update call to AUTO_TESTS_f_f.
52519         (cos_test): Use ALL_RM_TEST.
52520         (cos_tonearest_test_data): Remove.
52521         (cos_test_tonearest): Likewise.
52522         (cos_towardzero_test_data): Likewise.
52523         (cos_test_towardzero): Likewise.
52524         (cos_downward_test_data): Likewise.
52525         (cos_test_downward): Likewise.
52526         (cos_upward_test_data): Likewise.
52527         (cos_test_upward): Likewise.
52528         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52529         (cosh_test): Use ALL_RM_TEST.
52530         (cosh_tonearest_test_data): Remove.
52531         (cosh_test_tonearest): Likewise.
52532         (cosh_towardzero_test_data): Likewise.
52533         (cosh_test_towardzero): Likewise.
52534         (cosh_downward_test_data): Likewise.
52535         (cosh_test_downward): Likewise.
52536         (cosh_upward_test_data): Likewise.
52537         (cosh_test_upward): Likewise.
52538         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52539         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52540         (ctan_test_data): Likewise.
52541         (ctan_test): Use ALL_RM_TEST.
52542         (ctan_tonearest_test_data): Remove.
52543         (ctan_test_tonearest): Likewise.
52544         (ctan_towardzero_test_data): Likewise.
52545         (ctan_test_towardzero): Likewise.
52546         (ctan_downward_test_data): Likewise.
52547         (ctan_test_downward): Likewise.
52548         (ctan_upward_test_data): Likewise.
52549         (ctan_test_upward): Likewise.
52550         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52551         (ctanh_test): Use ALL_RM_TEST.
52552         (ctanh_tonearest_test_data): Remove.
52553         (ctanh_test_tonearest): Likewise.
52554         (ctanh_towardzero_test_data): Likewise.
52555         (ctanh_test_towardzero): Likewise.
52556         (ctanh_downward_test_data): Likewise.
52557         (ctanh_test_downward): Likewise.
52558         (ctanh_upward_test_data): Likewise.
52559         (ctanh_test_upward): Likewise.
52560         (erf_test_data): Update call to AUTO_TESTS_f_f.
52561         (erfc_test_data): Likewise.
52562         (exp_test_data): Likewise.
52563         (exp_test): Use ALL_RM_TEST.
52564         (exp_tonearest_test_data): Remove.
52565         (exp_test_tonearest): Likewise.
52566         (exp_towardzero_test_data): Likewise.
52567         (exp_test_towardzero): Likewise.
52568         (exp_downward_test_data): Likewise.
52569         (exp_test_downward): Likewise.
52570         (exp_upward_test_data): Likewise.
52571         (exp_test_upward): Likewise.
52572         (exp10_test_data): Update call to AUTO_TESTS_f_f.
52573         (exp10_test): Use ALL_RM_TEST.
52574         (exp10_tonearest_test_data): Remove.
52575         (exp10_test_tonearest): Likewise.
52576         (exp10_towardzero_test_data): Likewise.
52577         (exp10_test_towardzero): Likewise.
52578         (exp10_downward_test_data): Likewise.
52579         (exp10_test_downward): Likewise.
52580         (exp10_upward_test_data): Likewise.
52581         (exp10_test_upward): Likewise.
52582         (exp2_test_data): Update call to AUTO_TESTS_f_f.
52583         (expm1_test_data): Likewise.
52584         (expm1_test): Use ALL_RM_TEST.
52585         (expm1_tonearest_test_data): Remove.
52586         (expm1_test_tonearest): Likewise.
52587         (expm1_towardzero_test_data): Likewise.
52588         (expm1_test_towardzero): Likewise.
52589         (expm1_downward_test_data): Likewise.
52590         (expm1_test_downward): Likewise.
52591         (expm1_upward_test_data): Likewise.
52592         (expm1_test_upward): Likewise.
52593         (fma_test_data): Update call to AUTO_TESTS_fff_f.
52594         (fma_test): Use ALL_RM_TEST.
52595         (fma_towardzero_test_data): Remove.
52596         (fma_test_towardzero): Likewise.
52597         (fma_downward_test_data): Likewise.
52598         (fma_test_downward): Likewise.
52599         (fma_upward_test_data): Likewise.
52600         (fma_test_upward): Likewise.
52601         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52602         (j0_test_data): Update call to AUTO_TESTS_f_f.
52603         (j1_test_data): Likewise.
52604         (jn_test_data): Update call to AUTO_TESTS_if_f.
52605         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52606         (log_test_data): Update call to AUTO_TESTS_f_f.
52607         (log10_test_data): Likewise.
52608         (log1p_test_data): Likewise.
52609         (log2_test_data): Likewise.
52610         (pow_test_data): Update call to AUTO_TESTS_ff_f.
52611         (pow_tonearest_test_data): Likewise.
52612         (sin_test_data): Update call to AUTO_TESTS_f_f.
52613         (sin_test): Use ALL_RM_TEST.
52614         (sin_tonearest_test_data): Remove.
52615         (sin_test_tonearest): Likewise.
52616         (sin_towardzero_test_data): Likewise.
52617         (sin_test_towardzero): Likewise.
52618         (sin_downward_test_data): Likewise.
52619         (sin_test_downward): Likewise.
52620         (sin_upward_test_data): Likewise.
52621         (sin_test_upward): Likewise.
52622         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52623         (sinh_test_data): Update call to AUTO_TESTS_f_f.
52624         (sinh_test): Use ALL_RM_TEST.
52625         (sinh_tonearest_test_data): Remove.
52626         (sinh_test_tonearest): Likewise.
52627         (sinh_towardzero_test_data): Likewise.
52628         (sinh_test_towardzero): Likewise.
52629         (sinh_downward_test_data): Likewise.
52630         (sinh_test_downward): Likewise.
52631         (sinh_upward_test_data): Likewise.
52632         (sinh_test_upward): Likewise.
52633         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52634         (sqrt_test): Use ALL_RM_TEST.
52635         (sqrt_tonearest_test_data): Remove.
52636         (sqrt_test_tonearest): Likewise.
52637         (sqrt_towardzero_test_data): Likewise.
52638         (sqrt_test_towardzero): Likewise.
52639         (sqrt_downward_test_data): Likewise.
52640         (sqrt_test_downward): Likewise.
52641         (sqrt_upward_test_data): Likewise.
52642         (sqrt_test_upward): Likewise.
52643         (tan_test_data): Update call to AUTO_TESTS_f_f.
52644         (tan_test): Use ALL_RM_TEST.
52645         (tan_tonearest_test_data): Remove.
52646         (tan_test_tonearest): Likewise.
52647         (tan_towardzero_test_data): Likewise.
52648         (tan_test_towardzero): Likewise.
52649         (tan_downward_test_data): Likewise.
52650         (tan_test_downward): Likewise.
52651         (tan_upward_test_data): Likewise.
52652         (tan_test_upward): Likewise.
52653         (tanh_test_data): Update call to AUTO_TESTS_f_f.
52654         (tgamma_test_data): Likewise.
52655         (y0_test_data): Likewise.
52656         (y1_test_data): Likewise.
52657         (yn_test_data): Update call to AUTO_TESTS_if_f.
52658         (main): Do not call removed functions.
52660 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52662         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52663         (ldexp_test_data): Remove.
52664         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
52665         scalbn_test_data.
52666         (scalb_test): Use ALL_RM_TEST.
52668 2014-03-19  Andreas Schwab  <schwab@suse.de>
52670         * nscd/nscd.service: Also invalidate netgroup cache on reload.
52672 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52674         [BZ #16649]
52675         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52676         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52677         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52678         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52679         (__ASSUME_PREADV): Undefine.
52680         (__ASSUME_PWRITEV): Likewise.
52682 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52684         * bits/mman-linux.h: Add comment about non-Linux use.
52685         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52686         bits/mman-linux.h resting place.
52688         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52689         * bits/mman-linux.h: ... here.
52691 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52693         * conform/conformtest.pl: Add standard definition when calling C
52694         preprocessor on data files.
52695         (checknamespace): Remove unused variable.
52697 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52699         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52700         minus_oflow, plus_uflow and minus_uflow in expected results.
52701         * math/libm-test.inc (scalbn_test_data): Add more tests of
52702         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
52703         minus_uflow.
52704         (scalbn_test): Use ALL_RM_TEST.
52705         (scalbln_test_data): Add more tests of negative arguments.  Use
52706         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52707         (scalbln_test): Use ALL_RM_TEST.
52709 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52711         * scripts/abilist.awk: Ignore symbols marked with .hidden.
52713 2014-03-18  Will Newton  <will.newton@linaro.org>
52715         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52716         inaccurate comment.
52718 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52720         * Makerules [!subdir] (check-abi): Exit with error status if a
52721         test failed.
52723 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52725         * math/libm-test.inc (nearbyint_test_data): Include all tests used
52726         for rint.  Include results for all rounding modes.
52727         (nearbyint_test): Use ALL_RM_TEST.
52728         (rint_test_data): Include all tests used for nearbyint.
52730 2014-03-17  Will Newton  <will.newton@linaro.org>
52732         * nptl/sysdeps/pthread/pthread.h: Revert previous
52733         change.
52735         * sysdeps/generic/ldsodefs.h: Revert previous
52736         change.
52738         * libio/genops.c: Revert previous change.
52739         * libio/libioP.h: Likewise.
52740         * stdio-common/vfprintf.c: Likewise.
52742         * sysdeps/generic/math_private.h: Revert previous
52743         change.
52745         * sysdeps/generic/math_private.h: Check whether
52746         HAVE_RM_CTX is defined with #ifdef rather
52747         than #if.
52749         * argp/argp-fmtstream.h: Check whether
52750         __STRICT_ANSI__ is defined with #ifdef rather
52751         than #if.
52752         * argp/argp.h: Likewise.
52754         * libio/genops.c: Check whether
52755         _IO_JUMPS_OFFSET is defined with #ifdef rather
52756         than #if.
52757         * libio/libioP.h: Likewise.
52758         * stdio-common/vfprintf.c: Likewise.
52760         * sysdeps/generic/ldsodefs.h: Check whether
52761         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52762         than #if.
52764         * nptl/sysdeps/pthread/pthread.h: Check
52765         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52766         its value.
52768 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52770         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52771         setting O_APPEND.
52772         * libio/tst-ftell-active-handler.c (do_append_test): Add a
52773         test case.
52775         [BZ #16680]
52776         * libio/fileops.c (_IO_file_open): Seek to end of file but
52777         don't cache the offset.
52778         (get_file_offset): Remove function.
52779         (do_ftell): Use cached offset when available.
52780         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52781         don't cache the offset.
52782         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52783         case.
52784         (do_one_test): Call it.
52785         (do_ftell_test): Fix up expected old offset for a+ mode.
52786         * libio/wfileops.c (do_ftell_wide): Used cached offset when
52787         available.
52789         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52790         up test status with function return status.
52791         (do_write_test): Likewise.
52792         (do_append_test): Likewise.
52794         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
52795         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
52796         Remove.
52798 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52800         * math/gen-libm-test.pl (parse_args): Handle results specified for
52801         each rounding mode separately.
52802         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
52803         tests and results from lrint_tonearest_test_data,
52804         lrint_towardzero_test_data, lrint_downward_test_data and
52805         lrint_upward_test_data.
52806         (lrint_test): Use ALL_RM_TEST.
52807         (lrint_tonearest_test_data): Remove.
52808         (lrint_test_tonearest): Likewise.
52809         (lrint_towardzero_test_data): Likewise.
52810         (lrint_test_towardzero): Likewise.
52811         (lrint_downward_test_data): Likewise.
52812         (lrint_test_downward): Likewise.
52813         (lrint_upward_test_data): Likewise.
52814         (lrint_test_upward): Likewise.
52815         (llrint_test_data): Merge in per-rounding-mode tests and results
52816         from llrint_tonearest_test_data, llrint_towardzero_test_data,
52817         llrint_downward_test_data and llrint_upward_test_data.
52818         (llrint_test): Use ALL_RM_TEST.
52819         (llrint_tonearest_test_data): Remove.
52820         (llrint_test_tonearest): Likewise.
52821         (llrint_towardzero_test_data): Likewise.
52822         (llrint_test_towardzero): Likewise.
52823         (llrint_downward_test_data): Likewise.
52824         (llrint_test_downward): Likewise.
52825         (llrint_upward_test_data): Likewise.
52826         (llrint_test_upward): Likewise.
52827         (rint_test_data): Merge in per-rounding-mode tests and results
52828         from rint_tonearest_test_data, rint_towardzero_test_data,
52829         rint_downward_test_data and rint_upward_test_data.  Add
52830         per-rounding-mode results for tests not in those arrays.
52831         (rint_test): Use ALL_RM_TEST.
52832         (rint_tonearest_test_data): Remove.
52833         (rint_test_tonearest): Likewise.
52834         (rint_towardzero_test_data): Likewise.
52835         (rint_test_towardzero): Likewise.
52836         (rint_downward_test_data): Likewise.
52837         (rint_test_downward): Likewise.
52838         (rint_upward_test_data): Likewise.
52839         (rint_test_upward): Likewise.
52840         (main): Don't call removed functions.
52842 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52844         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
52845         "Compiled on ..." crapola.  It is anti-useful.
52847 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
52849         * scripts/evaluate-test.sh: Handle fourth argument to determine
52850         whether test run should stop on failure.
52851         * Makeconfig (stop-on-test-failure): New variable.
52852         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
52853         $(stop-on-test-failure).
52854         * Makefile (tests): Give a summary of results from testing and
52855         exit with failure status if they include an ERROR or FAIL.
52856         (xtests): Likewise.
52857         * manual/install.texi (Configuring and compiling): Mention
52858         stop-on-test-failure=y.
52859         * INSTALL: Regenerated.
52861 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52863         * scripts/versionlist.awk: New file.
52864         * Makerules [$(build-shared) = yes]
52865         (postclean-generated): Add Versions.def, not Versions.def.v and
52866         Versions.def.v.i.
52867         ($(common-objpfx)Versions.def.v.i): Target removed.
52868         ($(common-objpfx)Versions.def): New target.
52869         ($(common-objpfx)Versions.all): Depend on that rather that
52870         $(common-objpfx)Versions.def.v.
52871         * Versions.def: File removed.
52873         * Makeconfig (+gccwarn): Add -Wundef.
52874         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
52875         a dl-sysdep.h breaking its contract.
52876         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
52877         * include/stackinfo.h: New file.
52878         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
52879         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
52880         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
52881         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
52882         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
52883         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
52884         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52885         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52886         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52887         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52888         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52889         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
52890         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52891         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52892         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52894 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52896         [BZ #16707]
52897         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
52898         implementation.
52899         * math/libm-test.inc (round_test_data): Add more tests.
52901         [BZ #16706]
52902         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
52903         implementation.
52904         * math/libm-test.inc (nearbyint_test_data): Add more tests.
52906         [BZ #16701]
52907         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
52908         implementation.
52909         * math/libm-test.inc (ceil_test_data): Add more tests.
52911         * math/libm-test.inc (trunc_test_data): Add more tests related to
52912         BZ#16414.
52914 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52916         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
52917         with #if rather than #ifdef.
52918         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
52920 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
52922         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
52923         first.  Disable AVX-512 GCC support if assembler doesn't support
52924         it.
52925         * sysdeps/x86_64/configure: Regenerated.
52927 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
52929         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
52930         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
52931         (__old_pthread_attr_setstack): Likewise.
52932         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
52933         [!_STACK_GROWS_DOWN]: Likewise.
52935 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
52937         * config.make.in (have-bash2): Delete.
52938         * configure.ac (libc_cv_have_bash2): Delete.
52939         * configure: Regenerate.
52940         * elf/Makefile (common-ldd-rewrite): Rename to ...
52941         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
52942         (sh-ldd-rewrite): Delete.
52943         (bash-ldd-rewrite): Delete.
52944         (have-bash2): Delete checks.
52945         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
52946         ldd-rewrite.
52948         * config.make.in (have-ksh): Delete.
52949         (KSH): Delete.
52950         * configure.ac (libc_cv_have_ksh): Delete.
52951         * configure: Regenerate.
52953         * elf/Makefile: Delete $(have-ksh) check.
52954         ($(objpfx)sotruss): Change KSH to BASH.
52955         * elf/sotruss.ksh: Rename to ...
52956         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
52957         function style to match POSIX.  Drop ksh vim mode setting.
52959         * manual/time.texi (Specifying the Time Zone with TZ): Change
52960         Tuesday to Thursday.
52962         * debug/tst-longjmp_chk2.c: Update header comment.
52963         (stackoverflow_handler): Add comment.  Call assert on pass value.
52965 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
52967         [BZ #16194]
52968         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
52969         (HAVE_AVX512_ASM_SUPPORT): Likewise.
52970         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
52971         (La_x86_64_vector): Add zmm.
52972         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
52973         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
52974         ($(objpfx)tst-audit10): New target.
52975         ($(objpfx)tst-audit10.out): Likewise.
52976         (tst-audit10-ENV): New.
52977         (AVX512-CFLAGS): Likewise.
52978         (CFLAGS-tst-audit10.c): Likewise.
52979         (CFLAGS-tst-auditmod10a.c): Likewise.
52980         (CFLAGS-tst-auditmod10b.c): Likewise.
52981         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
52982         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
52983         * sysdeps/x86_64/configure: Regenerated.
52984         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
52985         AVX-512 zmm register support.
52986         (_dl_x86_64_save_sse): Likewise.
52987         (_dl_x86_64_restore_sse): Likewise.
52988         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
52989         size vector registers.
52990         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
52991         (ZMM_SIZE): Likewise.
52992         * sysdeps/x86_64/tst-audit10.c: New file.
52993         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
52994         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
52996 2014-03-13  Roland McGrath  <roland@hack.frob.com>
52998         * configure.ac (HAVE_EHDR_START): New check.
52999         * configure: Regenerated.
53000         * config.h.in (HAVE_EHDR_START): New #undef.
53001         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
53002         assuming the lowest-addressed segment maps the start of the file.
53004 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
53006         * INSTALL: Regenerated.
53008 2014-03-13  Will Newton  <will.newton@linaro.org>
53010         * manual/setjmp.texi (System V contexts): Improve
53011         clarity and grammar of documentation.
53013 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
53015         [BZ #16381]
53016         * elf/Makefile (tests): Add tst-pie2.
53017         (tests-pie): Add tst-pie2.
53018         * elf/tst-pie2.c: New file.
53019         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
53020         for ET_EXEC.
53021         * elf/rtld.c (map_doit): Load executable as lt_executable.
53022         (dl_main): Likewise.
53024 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
53026         [BZ #16642]
53027         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53028         (__ASSUME_PSELECT): Undefine.
53030 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53032         [BZ #16689]
53033         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
53034         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
53035         static build.
53036         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
53037         selector for static builds.
53039 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53041         [BZ #16695]
53042         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
53043         key in the buffer.
53045 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53047         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
53048         IFUNC selector for static builds.
53050 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
53052         * sysdeps/mips/math_private.h [__mips_hard_float]
53053         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
53054         libc_feresetround_mips_ctx.
53055         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53056         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
53057         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
53059         [BZ #16677]
53060         * math/s_nextafter.c (__nextafter): Do not return value from
53061         overflowing computation.
53062         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
53063         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
53064         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
53065         Likewise.
53066         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
53067         Likewise.
53068         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
53069         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
53071 2014-03-11  Roland McGrath  <roland@hack.frob.com>
53073         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
53074         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
53075         Move sfi_sp use from the load-multiple (that no longer sets sp) to
53076         the new mov targetting sp.
53078 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53080         [BZ #16683]
53081         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53082         Define it for static builds as well.
53083         (NO_BZERO_IMPL): Likewise.
53085 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53087         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53088         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53089         multiarch strspn for PPC64.
53090         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53091         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53093         (__libc_ifunc_impl_list): Likewise.
53094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53095         multiarch optimizations
53096         * string/strspn.c (strspn): Using macro to redefine symbol name.
53098 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53099             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53101         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53102         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53103         multiarch strncat for PPC64.
53104         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53105         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53107         (__libc_ifunc_impl_list): Likewise.
53108         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53109         multiarch optimizations
53111 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53113         [BZ #16639]
53114         * nscd/nscd.service: Make service type forking.
53116 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53118         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53119         sign in non default rounding modes.
53120         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53122 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
53124         * math/libm-test.inc (ALL_RM_TEST): New macro.
53125         (ceil_test): Use ALL_RM_TEST.
53126         (cimag_test): Likewise.
53127         (conj_test): Likewise.
53128         (copysign_test): Likewise.
53129         (cproj_test): Likewise.
53130         (creal_test): Likewise.
53131         (fabs_test): Likewise.
53132         (floor_test): Likewise.
53133         (fmax_test): Likewise.
53134         (fmin_test): Likewise.
53135         (fmod_test): Likewise.
53136         (fpclassify_test): Likewise.
53137         (frexp_test): Likewise.
53138         (ilogb_test): Likewise.
53139         (isfinite_test): Likewise.
53140         (finite_test): Likewise.
53141         (isgreater_test): Likewise.
53142         (isgreaterequal_test): Likewise.
53143         (isinf_test): Likewise.
53144         (isless_test): Likewise.
53145         (islessequal_test): Likewise.
53146         (islessgreater_test): Likewise.
53147         (isnan_test): Likewise.
53148         (isnormal_test): Likewise.
53149         (issignaling_test): Likewise.
53150         (isunordered_test): Likewise.
53151         (logb_test): Likewise.
53152         (logb_downward_test_data): Remove.
53153         (logb_test_downward): Likewise.
53154         (lround_test): Use ALL_RM_TEST.
53155         (llround_test): Likewise.
53156         (modf_test): Likewise.
53157         (nexttoward_test): Likewise.
53158         (remainder_test): Likewise.
53159         (drem_test): Likewise.
53160         (remainder_tonearest_test_data): Likewise.
53161         (remainder_test_tonearest): Likewise.
53162         (drem_test_tonearest): Likewise.
53163         (remainder_towardzero_test_data): Likewise.
53164         (remainder_test_towardzero): Likewise.
53165         (drem_test_towardzero): Likewise.
53166         (remainder_downward_test_data): Likewise.
53167         (remainder_test_downward): Likewise.
53168         (drem_test_downward): Likewise.
53169         (remainder_upward_test_data): Likewise.
53170         (remainder_test_upward): Likewise.
53171         (drem_test_upward): Likewise.
53172         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
53173         (round_test): Use ALL_RM_TEST.
53174         (signbit_test): Likewise.
53175         (trunc_test): Likewise.
53176         (significand_test): Likewise.
53177         (main): Don't call removed functions.
53179 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53181         [BZ #16674]
53182         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
53183         || __USE_XOPEN2K8].
53184         (ILL_ILLOPN): Likewise.
53185         (ILL_ILLADR): Likewise.
53186         (ILL_ILLTRP): Likewise.
53187         (ILL_PRVOPC): Likewise.
53188         (ILL_PRVREG): Likewise.
53189         (ILL_COPROC): Likewise.
53190         (ILL_BADSTK): Likewise.
53191         (FPE_INTDIV): Likewise.
53192         (FPE_INTOVF): Likewise.
53193         (FPE_FLTDIV): Likewise.
53194         (FPE_FLTOVF): Likewise.
53195         (FPE_FLTUND): Likewise.
53196         (FPE_FLTRES): Likewise.
53197         (FPE_FLTINV): Likewise.
53198         (FPE_FLTSUB): Likewise.
53199         (SEGV_MAPERR): Likewise.
53200         (SEGV_ACCERR): Likewise.
53201         (BUS_ADRALN): Likewise.
53202         (BUS_ADRERR): Likewise.
53203         (BUS_OBJERR): Likewise.
53204         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53205         (TRAP_TRACE): Likewise.
53206         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53207         __USE_XOPEN2K8].
53208         (CLD_KILLED): Likewise.
53209         (CLD_DUMPED): Likewise.
53210         (CLD_TRAPPED): Likewise.
53211         (CLD_STOPPED): Likewise.
53212         (CLD_CONTINUED): Likewise.
53213         (POLL_IN): Likewise.
53214         (POLL_OUT): Likewise.
53215         (POLL_MSG): Likewise.
53216         (POLL_ERR): Likewise.
53217         (POLL_PRI): Likewise.
53218         (POLL_HUP): Likewise.
53219         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
53220         Likewise.
53221         (ILL_ILLOPN): Likewise.
53222         (ILL_ILLADR): Likewise.
53223         (ILL_ILLTRP): Likewise.
53224         (ILL_PRVOPC): Likewise.
53225         (ILL_PRVREG): Likewise.
53226         (ILL_COPROC): Likewise.
53227         (ILL_BADSTK): Likewise.
53228         (FPE_INTDIV): Likewise.
53229         (FPE_INTOVF): Likewise.
53230         (FPE_FLTDIV): Likewise.
53231         (FPE_FLTOVF): Likewise.
53232         (FPE_FLTUND): Likewise.
53233         (FPE_FLTRES): Likewise.
53234         (FPE_FLTINV): Likewise.
53235         (FPE_FLTSUB): Likewise.
53236         (SEGV_MAPERR): Likewise.
53237         (SEGV_ACCERR): Likewise.
53238         (BUS_ADRALN): Likewise.
53239         (BUS_ADRERR): Likewise.
53240         (BUS_OBJERR): Likewise.
53241         (BUS_MCEERR_AR): Likewise.
53242         (BUS_MCEERR_AO): Likewise.
53243         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53244         (TRAP_TRACE): Likewise.
53245         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53246         __USE_XOPEN2K8].
53247         (CLD_KILLED): Likewise.
53248         (CLD_DUMPED): Likewise.
53249         (CLD_TRAPPED): Likewise.
53250         (CLD_STOPPED): Likewise.
53251         (CLD_CONTINUED): Likewise.
53252         (POLL_IN): Likewise.
53253         (POLL_OUT): Likewise.
53254         (POLL_MSG): Likewise.
53255         (POLL_ERR): Likewise.
53256         (POLL_PRI): Likewise.
53257         (POLL_HUP): Likewise.
53258         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
53259         (ILL_ILLOPN): Likewise.
53260         (ILL_ILLADR): Likewise.
53261         (ILL_ILLTRP): Likewise.
53262         (ILL_PRVOPC): Likewise.
53263         (ILL_PRVREG): Likewise.
53264         (ILL_COPROC): Likewise.
53265         (ILL_BADSTK): Likewise.
53266         (FPE_INTDIV): Likewise.
53267         (FPE_INTOVF): Likewise.
53268         (FPE_FLTDIV): Likewise.
53269         (FPE_FLTOVF): Likewise.
53270         (FPE_FLTUND): Likewise.
53271         (FPE_FLTRES): Likewise.
53272         (FPE_FLTINV): Likewise.
53273         (FPE_FLTSUB): Likewise.
53274         (SEGV_MAPERR): Likewise.
53275         (SEGV_ACCERR): Likewise.
53276         (BUS_ADRALN): Likewise.
53277         (BUS_ADRERR): Likewise.
53278         (BUS_OBJERR): Likewise.
53279         (BUS_MCEERR_AR): Likewise.
53280         (BUS_MCEERR_AO): Likewise.
53281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53282         (TRAP_TRACE): Likewise.
53283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53284         __USE_XOPEN2K8].
53285         (CLD_KILLED): Likewise.
53286         (CLD_DUMPED): Likewise.
53287         (CLD_TRAPPED): Likewise.
53288         (CLD_STOPPED): Likewise.
53289         (CLD_CONTINUED): Likewise.
53290         (POLL_IN): Likewise.
53291         (POLL_OUT): Likewise.
53292         (POLL_MSG): Likewise.
53293         (POLL_ERR): Likewise.
53294         (POLL_PRI): Likewise.
53295         (POLL_HUP): Likewise.
53296         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
53297         Likewise.
53298         (ILL_ILLOPN): Likewise.
53299         (ILL_ILLADR): Likewise.
53300         (ILL_ILLTRP): Likewise.
53301         (ILL_PRVOPC): Likewise.
53302         (ILL_PRVREG): Likewise.
53303         (ILL_COPROC): Likewise.
53304         (ILL_BADSTK): Likewise.
53305         (ILL_BADIADDR): Likewise.
53306         (ILL_BREAK): Likewise.
53307         (FPE_INTDIV): Likewise.
53308         (FPE_INTOVF): Likewise.
53309         (FPE_FLTDIV): Likewise.
53310         (FPE_FLTOVF): Likewise.
53311         (FPE_FLTUND): Likewise.
53312         (FPE_FLTRES): Likewise.
53313         (FPE_FLTINV): Likewise.
53314         (FPE_FLTSUB): Likewise.
53315         (FPE_DECOVF): Likewise.
53316         (FPE_DECDIV): Likewise.
53317         (FPE_DECERR): Likewise.
53318         (FPE_INVASC): Likewise.
53319         (FPE_INVDEC): Likewise.
53320         (SEGV_MAPERR): Likewise.
53321         (SEGV_ACCERR): Likewise.
53322         (SEGV_PSTKOVF): Likewise.
53323         (BUS_ADRALN): Likewise.
53324         (BUS_ADRERR): Likewise.
53325         (BUS_OBJERR): Likewise.
53326         (BUS_MCEERR_AR): Likewise.
53327         (BUS_MCEERR_AO): Likewise.
53328         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53329         (TRAP_TRACE): Likewise.
53330         (TRAP_BRANCH): Likewise.
53331         (TRAP_HWBKPT): Likewise.
53332         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53333         __USE_XOPEN2K8].
53334         (CLD_KILLED): Likewise.
53335         (CLD_DUMPED): Likewise.
53336         (CLD_TRAPPED): Likewise.
53337         (CLD_STOPPED): Likewise.
53338         (CLD_CONTINUED): Likewise.
53339         (POLL_IN): Likewise.
53340         (POLL_OUT): Likewise.
53341         (POLL_MSG): Likewise.
53342         (POLL_ERR): Likewise.
53343         (POLL_PRI): Likewise.
53344         (POLL_HUP): Likewise.
53345         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
53346         (ILL_ILLOPN): Likewise.
53347         (ILL_ILLADR): Likewise.
53348         (ILL_ILLTRP): Likewise.
53349         (ILL_PRVOPC): Likewise.
53350         (ILL_PRVREG): Likewise.
53351         (ILL_COPROC): Likewise.
53352         (ILL_BADSTK): Likewise.
53353         (FPE_INTDIV): Likewise.
53354         (FPE_INTOVF): Likewise.
53355         (FPE_FLTDIV): Likewise.
53356         (FPE_FLTOVF): Likewise.
53357         (FPE_FLTUND): Likewise.
53358         (FPE_FLTRES): Likewise.
53359         (FPE_FLTINV): Likewise.
53360         (FPE_FLTSUB): Likewise.
53361         (SEGV_MAPERR): Likewise.
53362         (SEGV_ACCERR): Likewise.
53363         (BUS_ADRALN): Likewise.
53364         (BUS_ADRERR): Likewise.
53365         (BUS_OBJERR): Likewise.
53366         (BUS_MCEERR_AR): Likewise.
53367         (BUS_MCEERR_AO): Likewise.
53368         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53369         (TRAP_TRACE): Likewise.
53370         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53371         __USE_XOPEN2K8].
53372         (CLD_KILLED): Likewise.
53373         (CLD_DUMPED): Likewise.
53374         (CLD_TRAPPED): Likewise.
53375         (CLD_STOPPED): Likewise.
53376         (CLD_CONTINUED): Likewise.
53377         (POLL_IN): Likewise.
53378         (POLL_OUT): Likewise.
53379         (POLL_MSG): Likewise.
53380         (POLL_ERR): Likewise.
53381         (POLL_PRI): Likewise.
53382         (POLL_HUP): Likewise.
53383         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53384         (ILL_ILLOPN): Likewise.
53385         (ILL_ILLADR): Likewise.
53386         (ILL_ILLTRP): Likewise.
53387         (ILL_PRVOPC): Likewise.
53388         (ILL_PRVREG): Likewise.
53389         (ILL_COPROC): Likewise.
53390         (ILL_BADSTK): Likewise.
53391         (FPE_INTDIV): Likewise.
53392         (FPE_INTOVF): Likewise.
53393         (FPE_FLTDIV): Likewise.
53394         (FPE_FLTOVF): Likewise.
53395         (FPE_FLTUND): Likewise.
53396         (FPE_FLTRES): Likewise.
53397         (FPE_FLTINV): Likewise.
53398         (FPE_FLTSUB): Likewise.
53399         (SEGV_MAPERR): Likewise.
53400         (SEGV_ACCERR): Likewise.
53401         (BUS_ADRALN): Likewise.
53402         (BUS_ADRERR): Likewise.
53403         (BUS_OBJERR): Likewise.
53404         (BUS_MCEERR_AR): Likewise.
53405         (BUS_MCEERR_AO): Likewise.
53406         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53407         (TRAP_TRACE): Likewise.
53408         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53409         __USE_XOPEN2K8].
53410         (CLD_KILLED): Likewise.
53411         (CLD_DUMPED): Likewise.
53412         (CLD_TRAPPED): Likewise.
53413         (CLD_STOPPED): Likewise.
53414         (CLD_CONTINUED): Likewise.
53415         (POLL_IN): Likewise.
53416         (POLL_OUT): Likewise.
53417         (POLL_MSG): Likewise.
53418         (POLL_ERR): Likewise.
53419         (POLL_PRI): Likewise.
53420         (POLL_HUP): Likewise.
53421         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53422         (ILL_ILLOPN): Likewise.
53423         (ILL_ILLADR): Likewise.
53424         (ILL_ILLTRP): Likewise.
53425         (ILL_PRVOPC): Likewise.
53426         (ILL_PRVREG): Likewise.
53427         (ILL_COPROC): Likewise.
53428         (ILL_BADSTK): Likewise.
53429         (FPE_INTDIV): Likewise.
53430         (FPE_INTOVF): Likewise.
53431         (FPE_FLTDIV): Likewise.
53432         (FPE_FLTOVF): Likewise.
53433         (FPE_FLTUND): Likewise.
53434         (FPE_FLTRES): Likewise.
53435         (FPE_FLTINV): Likewise.
53436         (FPE_FLTSUB): Likewise.
53437         (SEGV_MAPERR): Likewise.
53438         (SEGV_ACCERR): Likewise.
53439         (BUS_ADRALN): Likewise.
53440         (BUS_ADRERR): Likewise.
53441         (BUS_OBJERR): Likewise.
53442         (BUS_MCEERR_AR): Likewise.
53443         (BUS_MCEERR_AO): Likewise.
53444         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53445         (TRAP_TRACE): Likewise.
53446         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53447         __USE_XOPEN2K8].
53448         (CLD_KILLED): Likewise.
53449         (CLD_DUMPED): Likewise.
53450         (CLD_TRAPPED): Likewise.
53451         (CLD_STOPPED): Likewise.
53452         (CLD_CONTINUED): Likewise.
53453         (POLL_IN): Likewise.
53454         (POLL_OUT): Likewise.
53455         (POLL_MSG): Likewise.
53456         (POLL_ERR): Likewise.
53457         (POLL_PRI): Likewise.
53458         (POLL_HUP): Likewise.
53459         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53460         (ILL_ILLOPN): Likewise.
53461         (ILL_ILLADR): Likewise.
53462         (ILL_ILLTRP): Likewise.
53463         (ILL_PRVOPC): Likewise.
53464         (ILL_PRVREG): Likewise.
53465         (ILL_COPROC): Likewise.
53466         (ILL_BADSTK): Likewise.
53467         (ILL_DBLFLT): Likewise.
53468         (ILL_HARDWALL): Likewise.
53469         (FPE_INTDIV): Likewise.
53470         (FPE_INTOVF): Likewise.
53471         (FPE_FLTDIV): Likewise.
53472         (FPE_FLTOVF): Likewise.
53473         (FPE_FLTUND): Likewise.
53474         (FPE_FLTRES): Likewise.
53475         (FPE_FLTINV): Likewise.
53476         (FPE_FLTSUB): Likewise.
53477         (SEGV_MAPERR): Likewise.
53478         (SEGV_ACCERR): Likewise.
53479         (BUS_ADRALN): Likewise.
53480         (BUS_ADRERR): Likewise.
53481         (BUS_OBJERR): Likewise.
53482         (BUS_MCEERR_AR): Likewise.
53483         (BUS_MCEERR_AO): Likewise.
53484         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53485         (TRAP_TRACE): Likewise.
53486         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53487         __USE_XOPEN2K8].
53488         (CLD_KILLED): Likewise.
53489         (CLD_DUMPED): Likewise.
53490         (CLD_TRAPPED): Likewise.
53491         (CLD_STOPPED): Likewise.
53492         (CLD_CONTINUED): Likewise.
53493         (POLL_IN): Likewise.
53494         (POLL_OUT): Likewise.
53495         (POLL_MSG): Likewise.
53496         (POLL_ERR): Likewise.
53497         (POLL_PRI): Likewise.
53498         (POLL_HUP): Likewise.
53499         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53500         (ILL_ILLOPN): Likewise.
53501         (ILL_ILLADR): Likewise.
53502         (ILL_ILLTRP): Likewise.
53503         (ILL_PRVOPC): Likewise.
53504         (ILL_PRVREG): Likewise.
53505         (ILL_COPROC): Likewise.
53506         (ILL_BADSTK): Likewise.
53507         (FPE_INTDIV): Likewise.
53508         (FPE_INTOVF): Likewise.
53509         (FPE_FLTDIV): Likewise.
53510         (FPE_FLTOVF): Likewise.
53511         (FPE_FLTUND): Likewise.
53512         (FPE_FLTRES): Likewise.
53513         (FPE_FLTINV): Likewise.
53514         (FPE_FLTSUB): Likewise.
53515         (SEGV_MAPERR): Likewise.
53516         (SEGV_ACCERR): Likewise.
53517         (BUS_ADRALN): Likewise.
53518         (BUS_ADRERR): Likewise.
53519         (BUS_OBJERR): Likewise.
53520         (BUS_MCEERR_AR): Likewise.
53521         (BUS_MCEERR_AO): Likewise.
53522         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53523         (TRAP_TRACE): Likewise.
53524         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53525         __USE_XOPEN2K8].
53526         (CLD_KILLED): Likewise.
53527         (CLD_DUMPED): Likewise.
53528         (CLD_TRAPPED): Likewise.
53529         (CLD_STOPPED): Likewise.
53530         (CLD_CONTINUED): Likewise.
53531         (POLL_IN): Likewise.
53532         (POLL_OUT): Likewise.
53533         (POLL_MSG): Likewise.
53534         (POLL_ERR): Likewise.
53535         (POLL_PRI): Likewise.
53536         (POLL_HUP): Likewise.
53537         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53538         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53540         [BZ #16670]
53541         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53542         before #include of <time.h>.
53543         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53544         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53545         (test-xfail-UNIX98/sched.h/conform): Likewise.
53547 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53549         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53550         error absence of trapping exception support.
53551         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53553 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53555         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53556         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53557         * timezone/Makefile (testdata): Move definition above include of
53558         Rules.
53559         (test-zones): New variable.
53560         (tests-special): Add zone files.
53561         (build-testdata): Use $(evaluate-test).
53563         * elf/Makefile (tests-special): Rename tests to end with .out.
53564         ($(objpfx)noload-mem): Likewise.
53565         ($(objpfx)tst-leaks1-mem): Likewise.
53566         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53567         * iconv/Makefile (xtests-special): Change test-iconvconfig to
53568         $(objpfx)test-iconvconfig.out.
53569         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
53570         set -e inside subshell and redirect output to file.
53571         * iconvdata/Makefile (generated): Rename tests to end with .out.
53572         Correct type.
53573         (tests-special): Rename tests to end with .out.
53574         ($(objpfx)mtrace-tst-loading): Likewise.
53575         * intl/Makefile (generated): Likewise.
53576         (tests-special): Likewise.
53577         ($(objpfx)mtrace-tst-gettext): Likewise.
53578         * misc/Makefile (generated): Likewise.
53579         (tests-special): Likewise.
53580         ($(objpfx)tst-error1-mem): Likewise.
53581         * nptl/Makefile (tests-special): Likewise.
53582         ($(objpfx)tst-stack3-mem): Likewise.
53583         (generated): Likewise.
53584         * posix/Makefile (generated): Likewise.
53585         (tests-special): Likewise.
53586         (xtests-special): Likewise.
53587         ($(objpfx)tst-fnmatch-mem): Likewise.
53588         ($(objpfx)bug-regex2-mem): Likewise.
53589         ($(objpfx)bug-regex14-mem): Likewise.
53590         ($(objpfx)bug-regex21-mem): Likewise.
53591         ($(objpfx)bug-regex31-mem): Likewise.
53592         ($(objpfx)tst-vfork3-mem): Likewise.
53593         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53594         ($(objpfx)tst-pcre-mem): Likewise.
53595         ($(objpfx)tst-boost-mem): Likewise.
53596         ($(objpfx)bug-ga2-mem): Likewise.
53597         ($(objpfx)bug-glob2-mem): Likewise.
53598         * resolv/Makefile (generate): Likewise.
53599         (tests-special): Likewise.
53600         (xtests-special): Likewise.
53601         (generated): Likewise.
53602         ($(objpfx)mtrace-tst-leaks): Likewise.
53603         ($(objpfx)mtrace-tst-leaks2): Likewise.
53605         * scripts/merge-test-results.sh: New file.
53606         * Makefile (tests-special-notdir): New variable.
53607         (tests): Run merge-test-results.sh.
53608         (xtests): Likewise.
53609         * Rules (tests-special-notdir): New variable.
53610         (xtests-special-notdir): Likewise.
53611         (tests): Run merge-test-results.sh
53612         (xtests): Likewise.
53614         * Makeconfig (test-xfail-name): New variable.
53615         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53616         compute variable name for expected failures.
53617         * conform/Makefile (conformtest-headers-data): New variable.
53618         (conformtest-standards): Likewise.
53619         (conformtest-headers-ISO): Likewise.
53620         (conformtest-headers-ISO99): Likewise.
53621         (conformtest-headers-ISO11): Likewise.
53622         (conformtest-headers-POSIX): Likewise.
53623         (conformtest-headers-XPG3): Likewise.
53624         (conformtest-headers-XPG4): Likewise.
53625         (conformtest-headers-UNIX98): Likewise.
53626         (conformtest-headers-XOPEN2K): Likewise.
53627         (conformtest-headers-POSIX2008): Likewise.
53628         (conformtest-headers-XOPEN2K8): Likewise.
53629         (conformtest-header-list-base): Likewise.
53630         (conformtest-header-list-tests): Likewise.
53631         (conformtest-header-base): Likewise.
53632         (conformtest-header-tests): Likewise.
53633         (tests-special): Add $(conformtest-header-list-tests).  If
53634         [$(fast-check) && !$(cross-compiling)], add
53635         $(conformtest-header-tests) instead of
53636         $(objpfx)run-conformtest.out.
53637         (generated): Add $(conformtest-header-list-base).  If
53638         [$(fast-check) && !$(cross-compiling)], add
53639         $(conformtest-header-base).  Remove previous setting.
53640         ($(conformtest-header-list-tests)): New target.
53641         (test-xfail-run-conformtest): Remove variable.
53642         ($(objpfx)run-conformtest.out): Remove target.
53643         (test-xfail-ISO11/complex.h/conform): New variable.
53644         (test-xfail-ISO11/stdalign.h/conform): Likewise.
53645         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53646         (test-xfail-XPG3/varargs.h/conform): Likewise.
53647         (test-xfail-XPG4/varargs.h/conform): Likewise.
53648         (test-xfail-UNIX98/varargs.h/conform): Likewise.
53649         (test-xfail-XPG4/ndbm.h/conform): Likewise.
53650         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53651         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53652         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53653         (test-xfail-XPG3/fcntl.h/conform): Likewise.
53654         (test-xfail-XPG3/ftw.h/conform): Likewise.
53655         (test-xfail-XPG3/grp.h/conform): Likewise.
53656         (test-xfail-XPG3/langinfo.h/conform): Likewise.
53657         (test-xfail-XPG3/limits.h/conform): Likewise.
53658         (test-xfail-XPG3/pwd.h/conform): Likewise.
53659         (test-xfail-XPG3/search.h/conform): Likewise.
53660         (test-xfail-XPG3/signal.h/conform): Likewise.
53661         (test-xfail-XPG3/stdio.h/conform): Likewise.
53662         (test-xfail-XPG3/stdlib.h/conform): Likewise.
53663         (test-xfail-XPG3/string.h/conform): Likewise.
53664         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53665         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53666         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53667         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53668         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53669         (test-xfail-XPG3/sys/types.h/conform): Likewise.
53670         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53671         (test-xfail-XPG3/termios.h/conform): Likewise.
53672         (test-xfail-XPG3/time.h/conform): Likewise.
53673         (test-xfail-XPG3/unistd.h/conform): Likewise.
53674         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53675         (test-xfail-XPG4/fcntl.h/conform): Likewise.
53676         (test-xfail-XPG4/langinfo.h/conform): Likewise.
53677         (test-xfail-XPG4/netdb.h/conform): Likewise.
53678         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53679         (test-xfail-XPG4/signal.h/conform): Likewise.
53680         (test-xfail-XPG4/stdio.h/conform): Likewise.
53681         (test-xfail-XPG4/stdlib.h/conform): Likewise.
53682         (test-xfail-XPG4/stropts.h/conform): Likewise.
53683         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53684         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53685         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53686         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53687         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53688         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53689         (test-xfail-XPG4/sys/time.h/conform): Likewise.
53690         (test-xfail-XPG4/sys/types.h/conform): Likewise.
53691         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53692         (test-xfail-XPG4/termios.h/conform): Likewise.
53693         (test-xfail-XPG4/ucontext.h/conform): Likewise.
53694         (test-xfail-XPG4/unistd.h/conform): Likewise.
53695         (test-xfail-XPG4/utmpx.h/conform): Likewise.
53696         (test-xfail-POSIX/sched.h/conform): Likewise.
53697         (test-xfail-POSIX/signal.h/conform): Likewise.
53698         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53699         (test-xfail-POSIX/tar.h/conform): Likewise.
53700         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53701         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53702         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53703         (test-xfail-UNIX98/netdb.h/conform): Likewise.
53704         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53705         (test-xfail-UNIX98/sched.h/conform): Likewise.
53706         (test-xfail-UNIX98/signal.h/conform): Likewise.
53707         (test-xfail-UNIX98/stdio.h/conform): Likewise.
53708         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53709         (test-xfail-UNIX98/stropts.h/conform): Likewise.
53710         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53711         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53712         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53713         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53714         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53715         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53716         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53717         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53718         (test-xfail-UNIX98/unistd.h/conform): Likewise.
53719         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53720         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53721         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53722         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53723         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53724         (test-xfail-XOPEN2K/math.h/conform): Likewise.
53725         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53726         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53727         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53728         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53729         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53730         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53731         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53732         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53733         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53734         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53735         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53736         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53737         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53738         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53739         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53740         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53741         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53742         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53743         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53744         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53745         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53746         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53747         (test-xfail-POSIX2008/signal.h/conform): Likewise.
53748         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53749         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53750         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53751         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53752         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53753         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53754         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53755         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53756         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53757         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53758         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53759         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53760         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53761         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53762         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53763         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53764         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53765         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53766         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53767         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53768         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53769         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53770         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53771         (conformtest-cc-flags): Likewise.
53772         ($(conformtest-header-tests): New target.
53773         * conform/check-header-lists.sh: New file.
53774         * conform/run-conformtest.sh: Remove.
53776         * conform/conformtest.pl: Allow ' and \ in values given for
53777         constants.
53778         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53779         inclusion.
53780         [POSIX] (sys/types.h): Likewise.
53781         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53782         inclusion.
53783         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53784         inclusion.
53785         * conform/data/signal.h-data (SIGIO): Remove expectation.
53786         [XPG3] (SIGBUS): Do not expect.
53787         [POSIX || XPG3] (SIGPOLL): Likewise.
53788         [POSIX || XPG3] (SIGPROF): Likewise.
53789         [POSIX || XPG3] (SIGSYS): Likewise.
53790         [XPG3] (SIGTRAP): Likewise.
53791         [POSIX || XPG3] (SIGURG): Likewise.
53792         [POSIX || XPG3] (SIGVTALRM): Likewise.
53793         [POSIX || XPG3] (SIGXCPU): Likewise.
53794         [POSIX || XPG3] (SIGXFSZ): Likewise.
53795         [POSIX] (SA_SIGINFO): Expect.
53796         [XPG3] (siginfo_t): Do not expect type or contents.
53797         [POSIX] (si_pid): Do not expect element.
53798         [POSIX] (si_uid): Likewise.
53799         [POSIX] (si_addr): Likewise.
53800         [POSIX] (si_status): Likewise.
53801         [POSIX] (si_band): Likewise.
53802         [XPG4] (si_value): Likewise.
53803         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
53804         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
53805         [POSIX || XPG3] (ILL_ILLADR): Likewise.
53806         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
53807         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
53808         [POSIX || XPG3] (ILL_PRVREG): Likewise.
53809         [POSIX || XPG3] (ILL_COPROC): Likewise.
53810         [POSIX || XPG3] (ILL_BADSTK): Likewise.
53811         [POSIX || XPG3] (FPE_INTDIV): Likewise.
53812         [POSIX || XPG3] (FPE_INTOVF): Likewise.
53813         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
53814         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
53815         [POSIX || XPG3] (FPE_FLTUND): Likewise.
53816         [POSIX || XPG3] (FPE_FLTRES): Likewise.
53817         [POSIX || XPG3] (FPE_FLTINV): Likewise.
53818         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
53819         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
53820         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
53821         [POSIX || XPG3] (BUS_ADRALN): Likewise.
53822         [POSIX || XPG3] (BUS_ADRERR): Likewise.
53823         [POSIX || XPG3] (BUS_OBJERR): Likewise.
53824         [POSIX || XPG3] (CLD_EXITED): Likewise.
53825         [POSIX || XPG3] (CLD_KILLED): Likewise.
53826         [POSIX || XPG3] (CLD_DUMPED): Likewise.
53827         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
53828         [POSIX || XPG3] (CLD_STOPPED): Likewise.
53829         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
53830         [POSIX || XPG3] (POLL_IN): Likewise.
53831         [POSIX || XPG3] (POLL_OUT): Likewise.
53832         [POSIX || XPG3] (POLL_MSG): Likewise.
53833         [POSIX || XPG3] (POLL_ERR): Likewise.
53834         [POSIX || XPG3] (POLL_PRI): Likewise.
53835         [POSIX || XPG3] (POLL_HUP): Likewise.
53836         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
53837         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
53838         (SIG*): Do not allow.
53839         [XPG3] (si_*): Likewise.
53840         [XPG3] (SI_*): Likewise.
53841         [XPG3 || XPG4] (sigev_*): Likewise.
53842         [XPG3 || XPG4] (SIGEV_*): Likewise.
53843         [XPG3 || XPG4] (sival_*): Likewise.
53844         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
53845         [POSIX || XPG3] (BUS_*): Likewise.
53846         [POSIX || XPG3] (CLD_*): Likewise.
53847         [POSIX || XPG3] (FPE_*): Likewise.
53848         [POSIX || XPG3] (ILL_*): Likewise.
53849         [POSIX || XPG3] (POLL_*): Likewise.
53850         [POSIX || XPG3] (SEGV_*): Likewise.
53851         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
53852         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
53853         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
53854         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
53855         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
53856         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
53857         Specify type and value.
53858         (TVERSLEN): Likewise.
53859         (REGTYPE): Likewise.
53860         (AREGTYPE): Likewise.
53861         (LNKTYPE): Likewise.
53862         (SYMTYPE): Likewise.
53863         (CHRTYPE): Likewise.
53864         (BLKTYPE): Likewise.
53865         (DIRTYPE): Likewise.
53866         (FIFOTYPE): Likewise.
53867         (CONTTYPE): Likewise.
53868         (TSUID): Likewise.
53869         (TSGID): Likewise.
53870         (TSVTX): Likewise.
53871         (TUREAD): Likewise.
53872         (TUWRITE): Likewise.
53873         (TUEXEC): Likewise.
53874         (TGREAD): Likewise.
53875         (TGWRITE): Likewise.
53876         (TGEXEC): Likewise.
53877         (TOREAD): Likewise.
53878         (TOWRITE): Likewise.
53879         (TOEXEC): Likewise.
53880         [POSIX] (TSVTX): Expect constant.
53882 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
53884         * Makefile (tests): Change dependencies to ....
53885         (tests-special): ... additions to this variable.
53886         (tests): Depend on $(tests-special).
53887         * Makerules (check-abi-list): New variable.
53888         (check-abi): Depend on $(check-abi-list).
53889         [$(subdir) = elf] (tests-special): Add
53890         $(objpfx)check-abi-libc.out.
53891         [$(build-shared) = yes && subdir] (tests-special): Add
53892         $(check-abi-list).
53893         [$(build-shared) = yes && subdir] (tests): Do not depend on
53894         check-abi.
53895         * Rules (tests): Depend on $(tests-special).
53896         (xtests): Depend on $(xtests-special).
53897         * catgets/Makefile (tests): Change dependencies to ....
53898         (tests-special): ... additions to this variable.
53899         * conform/Makefile (tests): Change dependencies to ....
53900         (tests-special): ... additions to this variable.
53901         * elf/Makefile (tests): Change dependencies to ....
53902         (tests-special): ... additions to this variable.
53903         * grp/Makefile (tests): Change dependencies to ....
53904         (tests-special): ... additions to this variable.
53905         * iconv/Makefile (xtests): Change dependencies to ....
53906         (xtests-special): ... additions to this variable.
53907         * iconvdata/Makefile (tests): Change dependencies to ....
53908         (tests-special): ... additions to this variable.
53909         * intl/Makefile (tests): Change dependencies to ....
53910         (tests-special): ... additions to this variable.  Also add
53911         $(objpfx)tst-gettext.out.
53912         * io/Makefile (tests): Change dependencies to ....
53913         (tests-special): ... additions to this variable.
53914         * libio/Makefile (tests): Change dependencies to ....
53915         (tests-special): ... additions to this variable.
53916         * malloc/Makefile (tests): Change dependencies to ....
53917         (tests-special): ... additions to this variable.
53918         * misc/Makefile (tests): Change dependencies to ....
53919         (tests-special): ... additions to this variable.
53920         * nptl/Makefile (tests): Change dependencies to ....
53921         (tests-special): ... additions to this variable.
53922         * nptl_db/Makefile (tests): Change dependencies to ....
53923         (tests-special): ... additions to this variable.
53924         * posix/Makefile (tests): Change dependencies to ....
53925         (tests-special): ... additions to this variable.
53926         (xtests): Change dependencies to ....
53927         (xtests-special): ... additions to this variable.
53928         * resolv/Makefile (tests): Change dependencies to ....
53929         (tests-special): ... additions to this variable.
53930         (xtests): Change dependencies to ....
53931         (xtests-special): ... additions to this variable.
53932         * stdio-common/Makefile (tests): Change dependencies to ....
53933         (tests-special): ... additions to this variable.
53934         (do-tst-unbputc): Remove target.
53935         (do-tst-printf): Likewise.
53936         * stdlib/Makefile (tests): Change dependencies to ....
53937         (tests-special): ... additions to this variable.
53938         * string/Makefile (tests): Change dependencies to ....
53939         (tests-special): ... additions to this variable.
53940         * sysdeps/x86/Makefile (tests): Change dependencies to ....
53941         (tests-special): ... additions to this variable.
53943         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
53944         whole file.
53945         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
53946         whole file.
53947         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
53948         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
53950         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
53951         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
53952         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
53953         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
53954         * conform/data/libgen.h-data [XPG3]: Likewise.
53955         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
53956         * conform/data/ndbm.h-data [XPG3]: Likewise.
53957         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53958         * conform/data/netdb.h-data [XPG3]: Likewise.
53959         * conform/data/netinet/in.h-data [XPG3]: Likewise.
53960         * conform/data/poll.h-data [XPG3]: Likewise.
53961         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53962         * conform/data/strings.h-data [XPG3]: Likewise.
53963         * conform/data/stropts.h-data [XPG3]: Likewise.
53964         * conform/data/sys/mman.h-data [XPG3]: Likewise.
53965         * conform/data/sys/resource.h-data [XPG3]: Likewise.
53966         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
53967         Likewise.
53968         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
53969         * conform/data/sys/time.h-data [XPG3]: Likewise.
53970         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
53971         * conform/data/sys/uio.h-data [XPG3]: Likewise.
53972         * conform/data/sys/un.h-data [XPG3]: Likewise.
53973         * conform/data/syslog.h-data [XPG3]: Likewise.
53974         * conform/data/ucontext.h-data [XPG3]: Likewise.
53975         * conform/data/utmpx.h-data [XPG3]: Likewise.
53976         * conform/data/varargs.h-data [UNIX98]: Enable file.
53978         * manual/Makefile (INSTALL_INFO): Remove variable setting.
53980         * math/libm-test.inc (struct test_f_f_data): Move expected results
53981         into structure for each rounding mode.
53982         (struct test_ff_f_data): Likewise.
53983         (struct test_ff_f_data_nexttoward): Likewise.
53984         (struct test_fi_f_data): Likewise.
53985         (struct test_fl_f_data): Likewise.
53986         (struct test_if_f_data): Likewise.
53987         (struct test_fff_f_data): Likewise.
53988         (struct test_c_f_data): Likewise.
53989         (struct test_f_f1_data): Likewise.
53990         (struct test_fF_f1_data): Likewise.
53991         (struct test_ffI_f1_data): Likewise.
53992         (struct test_c_c_data): Likewise.
53993         (struct test_cc_c_data): Likewise.
53994         (struct test_f_i_data): Likewise.
53995         (struct test_ff_i_data): Likewise.
53996         (struct test_f_l_data): Likewise.
53997         (struct test_f_L_data): Likewise.
53998         (struct test_fFF_11_data): Likewise.
53999         (RM_): New macro.
54000         (RM_FE_DOWNWARD): Likewise.
54001         (RM_FE_TONEAREST): Likewise.
54002         (RM_FE_TOWARDZERO): Likewise.
54003         (RM_FE_UPWARD): Likewise.
54004         (RUN_TEST_LOOP_f_f): Update references to expected results.
54005         (RUN_TEST_LOOP_2_f): Likewise.
54006         (RUN_TEST_LOOP_fff_f): Likewise.
54007         (RUN_TEST_LOOP_c_f): Likewise.
54008         (RUN_TEST_LOOP_f_f1): Likewise.
54009         (RUN_TEST_LOOP_fF_f1): Likewise.
54010         (RUN_TEST_LOOP_fI_f1): Likewise.
54011         (RUN_TEST_LOOP_ffI_f1): Likewise.
54012         (RUN_TEST_LOOP_c_c): Likewise.
54013         (RUN_TEST_LOOP_cc_c): Likewise.
54014         (RUN_TEST_LOOP_f_i): Likewise.
54015         (RUN_TEST_LOOP_f_i_tg): Likewise.
54016         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54017         (RUN_TEST_LOOP_f_b): Likewise.
54018         (RUN_TEST_LOOP_f_b_tg): Likewise.
54019         (RUN_TEST_LOOP_f_l): Likewise.
54020         (RUN_TEST_LOOP_f_L): Likewise.
54021         (RUN_TEST_LOOP_fFF_11): Likewise.
54022         * math/gen-libm-test.pl (parse_args): Output four copies of
54023         expected results for each test.
54025         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54026         (__ASSUME_UTIMES): Remove.
54027         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54028         (__ASSUME_UTIMES): Likewise.
54030         * math/gen-auto-libm-tests.c: Update comment on output format.
54031         (output_for_one_input_case): Generate before-rounding and
54032         after-rounding information as conditions on output flags not
54033         floating-point format.
54034         * math/auto-libm-test-out: Regenerated.
54035         * math/gen-libm-test.pl (cond_value): New function.
54036         (or_cond_value): Use cond_value.
54037         (generate_testfile): Handle conditional exceptions.
54039 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
54041         * math/libm-test.inc (max_valid_error): New variable.
54042         (init_max_error): Take new argument specifying whether function
54043         results are exactly determined.  Set max_valid_error and bound
54044         other variables for errors based on this argument.
54045         (set_max_error): Do not record results above max_valid_error.
54046         (check_float_internal): Only accept errors of up to 0.5ulps if
54047         also at most max_valid_error.
54048         (START): Take new argument EXACT and pass it to init_max_error.
54049         (acos_test): Update call to START.
54050         (acos_test_tonearest): Likewise.
54051         (acos_test_towardzero): Likewise.
54052         (acos_test_downward): Likewise.
54053         (acos_test_upward): Likewise.
54054         (acosh_test): Likewise.
54055         (asin_test): Likewise.
54056         (asin_test_tonearest): Likewise.
54057         (asin_test_towardzero): Likewise.
54058         (asin_test_downward): Likewise.
54059         (asin_test_upward): Likewise.
54060         (asinh_test): Likewise.
54061         (atan_test): Likewise.
54062         (atanh_test): Likewise.
54063         (atan2_test): Likewise.
54064         (cabs_test): Likewise.
54065         (cacos_test): Likewise.
54066         (cacosh_test): Likewise.
54067         (carg_test): Likewise.
54068         (casin_test): Likewise.
54069         (casinh_test): Likewise.
54070         (catan_test): Likewise.
54071         (catanh_test): Likewise.
54072         (cbrt_test): Likewise.
54073         (ccos_test): Likewise.
54074         (ccosh_test): Likewise.
54075         (ceil_test): Likewise.
54076         (cexp_test): Likewise.
54077         (cimag_test): Likewise.
54078         (clog_test): Likewise.
54079         (clog10_test): Likewise.
54080         (conj_test): Likewise.
54081         (copysign_test): Likewise.
54082         (cos_test): Likewise.
54083         (cos_test_tonearest): Likewise.
54084         (cos_test_towardzero): Likewise.
54085         (cos_test_downward): Likewise.
54086         (cos_test_upward): Likewise.
54087         (cosh_test): Likewise.
54088         (cosh_test_tonearest): Likewise.
54089         (cosh_test_towardzero): Likewise.
54090         (cosh_test_downward): Likewise.
54091         (cosh_test_upward): Likewise.
54092         (cpow_test): Likewise.
54093         (cproj_test): Likewise.
54094         (creal_test): Likewise.
54095         (csin_test): Likewise.
54096         (csinh_test): Likewise.
54097         (csqrt_test): Likewise.
54098         (ctan_test): Likewise.
54099         (ctan_test_tonearest): Likewise.
54100         (ctan_test_towardzero): Likewise.
54101         (ctan_test_downward): Likewise.
54102         (ctan_test_upward): Likewise.
54103         (ctanh_test): Likewise.
54104         (ctanh_test_tonearest): Likewise.
54105         (ctanh_test_towardzero): Likewise.
54106         (ctanh_test_downward): Likewise.
54107         (ctanh_test_upward): Likewise.
54108         (erf_test): Likewise.
54109         (erfc_test): Likewise.
54110         (exp_test): Likewise.
54111         (exp_test_tonearest): Likewise.
54112         (exp_test_towardzero): Likewise.
54113         (exp_test_downward): Likewise.
54114         (exp_test_upward): Likewise.
54115         (exp10_test): Likewise.
54116         (exp10_test_tonearest): Likewise.
54117         (exp10_test_towardzero): Likewise.
54118         (exp10_test_downward): Likewise.
54119         (exp10_test_upward): Likewise.
54120         (pow10_test): Likewise.
54121         (exp2_test): Likewise.
54122         (expm1_test): Likewise.
54123         (expm1_test_tonearest): Likewise.
54124         (expm1_test_towardzero): Likewise.
54125         (expm1_test_downward): Likewise.
54126         (expm1_test_upward): Likewise.
54127         (fabs_test): Likewise.
54128         (fdim_test): Likewise.
54129         (floor_test): Likewise.
54130         (fma_test): Likewise.
54131         (fma_test_towardzero): Likewise.
54132         (fma_test_downward): Likewise.
54133         (fma_test_upward): Likewise.
54134         (fmax_test): Likewise.
54135         (fmin_test): Likewise.
54136         (fmod_test): Likewise.
54137         (fpclassify_test): Likewise.
54138         (frexp_test): Likewise.
54139         (hypot_test): Likewise.
54140         (ilogb_test): Likewise.
54141         (isfinite_test): Likewise.
54142         (finite_test): Likewise.
54143         (isgreater_test): Likewise.
54144         (isgreaterequal_test): Likewise.
54145         (isinf_test): Likewise.
54146         (isless_test): Likewise.
54147         (islessequal_test): Likewise.
54148         (islessgreater_test): Likewise.
54149         (isnan_test): Likewise.
54150         (isnormal_test): Likewise.
54151         (issignaling_test): Likewise.
54152         (isunordered_test): Likewise.
54153         (j0_test): Likewise.
54154         (j1_test): Likewise.
54155         (jn_test): Likewise.
54156         (ldexp_test): Likewise.
54157         (lgamma_test): Likewise.
54158         (gamma_test): Likewise.
54159         (lrint_test): Likewise.
54160         (lrint_test_tonearest): Likewise.
54161         (lrint_test_towardzero): Likewise.
54162         (lrint_test_downward): Likewise.
54163         (lrint_test_upward): Likewise.
54164         (llrint_test): Likewise.
54165         (llrint_test_tonearest): Likewise.
54166         (llrint_test_towardzero): Likewise.
54167         (llrint_test_downward): Likewise.
54168         (llrint_test_upward): Likewise.
54169         (log_test): Likewise.
54170         (log10_test): Likewise.
54171         (log1p_test): Likewise.
54172         (log2_test): Likewise.
54173         (logb_test): Likewise.
54174         (logb_test_downward): Likewise.
54175         (lround_test): Likewise.
54176         (llround_test): Likewise.
54177         (modf_test): Likewise.
54178         (nearbyint_test): Likewise.
54179         (nextafter_test): Likewise.
54180         (nexttoward_test): Likewise.
54181         (pow_test): Likewise.
54182         (pow_test_tonearest): Likewise.
54183         (pow_test_towardzero): Likewise.
54184         (pow_test_downward): Likewise.
54185         (pow_test_upward): Likewise.
54186         (remainder_test): Likewise.
54187         (drem_test): Likewise.
54188         (remainder_test_tonearest): Likewise.
54189         (drem_test_tonearest): Likewise.
54190         (remainder_test_towardzero): Likewise.
54191         (drem_test_towardzero): Likewise.
54192         (remainder_test_downward): Likewise.
54193         (drem_test_downward): Likewise.
54194         (remainder_test_upward): Likewise.
54195         (drem_test_upward): Likewise.
54196         (remquo_test): Likewise.
54197         (rint_test): Likewise.
54198         (rint_test_tonearest): Likewise.
54199         (rint_test_towardzero): Likewise.
54200         (rint_test_downward): Likewise.
54201         (rint_test_upward): Likewise.
54202         (round_test): Likewise.
54203         (scalb_test): Likewise.
54204         (scalbn_test): Likewise.
54205         (scalbln_test): Likewise.
54206         (signbit_test): Likewise.
54207         (sin_test): Likewise.
54208         (sin_test_tonearest): Likewise.
54209         (sin_test_towardzero): Likewise.
54210         (sin_test_downward): Likewise.
54211         (sin_test_upward): Likewise.
54212         (sincos_test): Likewise.
54213         (sinh_test): Likewise.
54214         (sinh_test_tonearest): Likewise.
54215         (sinh_test_towardzero): Likewise.
54216         (sinh_test_downward): Likewise.
54217         (sinh_test_upward): Likewise.
54218         (sqrt_test): Likewise.
54219         (sqrt_test_tonearest): Likewise.
54220         (sqrt_test_towardzero): Likewise.
54221         (sqrt_test_downward): Likewise.
54222         (sqrt_test_upward): Likewise.
54223         (tan_test): Likewise.
54224         (tan_test_tonearest): Likewise.
54225         (tan_test_towardzero): Likewise.
54226         (tan_test_downward): Likewise.
54227         (tan_test_upward): Likewise.
54228         (tanh_test): Likewise.
54229         (tgamma_test): Likewise.
54230         (trunc_test): Likewise.
54231         (y0_test): Likewise.
54232         (y1_test): Likewise.
54233         (yn_test): Likewise.
54234         (significand_test): Likewise.
54236         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
54237         individual tests in comment.
54238         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
54239         (prev_max_error): New variable.
54240         (prev_real_max_error): Likewise.
54241         (prev_imag_max_error): Likewise.
54242         (compare_ulp_data): Don't refer to test names in comment.
54243         (find_test_ulps): Remove function.
54244         (find_function_ulps): Likewise.
54245         (find_complex_function_ulps): Likewise.
54246         (init_max_error): Take function name as argument.  Look up ulps
54247         for that function.
54248         (print_ulps): Remove function.
54249         (print_max_error): Use prev_max_error instead of calling
54250         find_function_ulps.
54251         (print_complex_max_error): Use prev_real_max_error and
54252         prev_imag_max_error instead of calling find_complex_function_ulps.
54253         (check_float_internal): Take max_ulp parameter instead of calling
54254         find_test_ulps.  Don't call print_ulps.
54255         (check_float): Update call to check_float_internal.
54256         (check_complex): Update calls to check_float_internal.
54257         (START): Pass argument to init_max_error.
54258         * math/gen-libm-test.pl (%results): Don't include "kind"
54259         information.
54260         (parse_ulps): Don't handle ulps of individual tests.
54261         (print_ulps_file): Likewise.
54262         (output_ulps): Likewise.
54263         * math/README.libm-test: Update.
54264         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
54265         individual tests.
54266         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
54267         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
54268         * sysdeps/arm/libm-test-ulps: Likewise.
54269         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
54270         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
54271         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
54272         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
54273         * sysdeps/microblaze/libm-test-ulps: Likewise.
54274         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
54275         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
54276         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54277         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
54278         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54279         * sysdeps/sh/libm-test-ulps: Likewise.
54280         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54281         * sysdeps/tile/libm-test-ulps: Likewise.
54282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54284 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
54286         * math/libm-test.inc (print_complex_max_error): Check separately
54287         whether real and imaginary errors are within allowed range and
54288         pass 0 to print_complex_function_ulps instead of value within
54289         allowed range.
54291 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54293         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
54294         formatting.
54295         (get_handles_fopen): Likewise.
54296         (do_write_test): Likewise.
54298         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
54300         * libio/fileops.c (do_ftell): Use cached offset when
54301         available.
54302         * libio/iofwide.c (do_ftell_wide): Likewise.
54303         * libio/iofdopen.c (_IO_new_fdopen): Don't use
54304         _IO_file_attach.
54305         * libio/wfileops.c (_IO_fwide): Don't cache offset.
54307         [BZ #16532]
54308         * libio/libioP.h (get_file_offset): New function.
54309         * libio/fileops.c (get_file_offset): Likewise.
54310         (do_ftell): Likewise.
54311         (_IO_new_file_seekoff): Split out ftell logic.
54312         * libio/wfileops.c (do_ftell_wide): Likewise.
54313         (_IO_wfile_seekoff): Split out ftell logic.
54314         * libio/tst-ftell-active-handler.c: New test case.
54315         * libio/Makefile (tests): Add it.
54317 2014-03-03  Roland McGrath  <roland@hack.frob.com>
54319         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
54320         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
54322 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54324         [BZ #16639]
54325         * nscd/connections.c (nscd_init): Call do_exit.
54326         (start_threads): Call do_exit and notify_parent.
54327         (begin_drop_privileges): Call do_exit.
54328         (finish_drop_privileges): Likewise.
54329         * nscd/selinux.c (preserve_capabilities): Likewise.
54330         (install_real_capabilities): Likewise.
54331         (nscd_selinux_enabled): Likewise.
54332         (avc_create_thread): Likewise.
54333         (avc_alloc_lock): Likewise.
54334         (nscd_avc_init): Likewise.
54335         * nscd/nscd.c (parent_fd): New static variable.
54336         (main): Create a pipe between parent and child processes.
54337         Skip closing parent_fd.
54338         (monitor_child): New function.
54339         (do_exit): Likewise.
54340         (notify_parent): Likewise.
54341         * nscd/nscd.h (notify_parent): Likewise.
54342         (do_exit): Likewise.
54344 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
54346         * malloc/malloc.c (__libc_calloc): Revert last change.
54348 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54352 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54354         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
54355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
54356         implementation.
54357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54358         (__libc_ifunc_impl_list): Likewise.
54359         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
54360         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
54361         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
54362         * string/strrchr.c: Define STRRCHR.
54364 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
54366         * benchtest/bench-strtok.c (simple_strtok): Delete.
54367         (strtok_string): Use as benchmark.
54368         * string/strtok (STRTOK): New macro.
54370 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
54372         * manual/threads.texi: Add header and standard comments to all
54373         functions.
54375         * elf/dl-lookup.c (check_match): New function.
54376         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54377         (do_lookup_x): Remove nested function check_match. Use non-nested
54378         function check_match.
54380 2014-02-28  Roland McGrath  <roland@hack.frob.com>
54382         * csu/Makefile (generated, before-compile): Use += rather than =.
54383         * catgets/Makefile (generated, generated-dirs): Likewise.
54384         * debug/Makefile (generated): Likewise.
54385         * dlfcn/Makefile (generated): Likewise.
54386         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54387         * iconvdata/Makefile (before-compile, generated): Likewise.
54388         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54389         * libio/Makefile (generated): Likewise.
54390         * malloc/Makefile (generated): Likewise.
54391         * manual/Makefile (generated, generated-dirs): Likewise.
54392         * misc/Makefile (generated): Likewise.
54393         * posix/Makefile (generated): Likewise.
54394         * resolv/Makefile (generated): Likewise.
54395         * sunrpc/Makefile (generated, generated-dirs): Likewise.
54396         * timezone/Makefile (generated, generated-dirs): Likewise.
54398         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54400 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54403         power8 implementation.
54404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54405         file: POWER8 llround ifunc implementation.
54406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54407         (__lllround): Add POWER8 implementation.
54408         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54409         POWER8 llround implementation.
54411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54412         power8 implementation.
54413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54414         file: POWER8 llrint ifunc implementation.
54415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54416         Add POWER8 implementation.
54417         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54418         POWER8 llrint implementation.
54420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54421         power8 implementation.
54422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54423         file: POWER8 finite ifunc implementation.
54424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54425         Add POWER8 implementation.
54426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54427         Likewise.
54428         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54429         POWER8 finite implementation.
54430         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54433         power8 implementation.
54434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54435         file: POWER8 isinf ifunc implementation.
54436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54437         POWER8 implementation.
54438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54439         Likewise.
54440         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54441         isinf implementation.
54442         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54444         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54445         (INIT_ARCH): Add hwcap2 initialization.
54446         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54447         power8 implementation.
54448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54449         file: POWER8 isnan ifunc implementation.
54450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54451         POWER8 implementation.
54452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54453         Likewise.
54454         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54455         isnan implementation.
54456         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54458 2014-02-27  Joey Ye  <joey.ye@arm.com>
54460         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54461         (_FP_NANFRAC_Q): Set to zero.
54463 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54465         [BZ #16623]
54466         * math/auto-libm-test-in: New test inputs.
54467         * math/auto-libm-test-out: Regenerate.
54468         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54469         and DA.
54470         (__cos): Likewise.
54471         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54473 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54475         * scripts/evaluate-test.sh: Take new argument indicating whether
54476         failure is expected.
54477         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54478         indicating whether failure is expected.
54479         * conform/Makefile (test-xfail-run-conformtest): New variable.
54480         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54481         level.
54482         * posix/Makefile (test-xfail-annexc): New variable.
54483         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54485 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54487         * argp/Makefile: Include Makeconfig immediately after defining
54488         subdir.
54489         * assert/Makefile: Likewise.
54490         * benchtests/Makefile: Likewise.
54491         * catgets/Makefile: Likewise.
54492         * conform/Makefile: Likewise.
54493         * crypt/Makefile: Likewise.
54494         * csu/Makefile: Likewise.
54495         (all): Remove target.
54496         * ctype/Makefile: Include Makeconfig immediately after defining
54497         subdir.
54498         * debug/Makefile: Likewise.
54499         * dirent/Makefile: Likewise.
54500         * dlfcn/Makefile: Likewise.
54501         * gmon/Makefile: Likewise.
54502         * gnulib/Makefile: Likewise.
54503         * grp/Makefile: Likewise.
54504         * gshadow/Makefile: Likewise.
54505         * hesiod/Makefile: Likewise.
54506         * hurd/Makefile: Likewise.
54507         (all): Remove target.
54508         * iconvdata/Makefile: Include Makeconfig immediately after
54509         defining subdir.
54510         * inet/Makefile: Likewise.
54511         * intl/Makefile: Likewise.
54512         * io/Makefile: Likewise.
54513         * libio/Makefile: Likewise.
54514         (all): Remove target.
54515         * locale/Makefile: Include Makeconfig immediately after defining
54516         subdir.
54517         * login/Makefile: Likewise.
54518         * mach/Makefile: Likewise.
54519         (all): Remove target.
54520         * malloc/Makefile: Include Makeconfig immediately after defining
54521         subdir.
54522         (all): Remove target.
54523         * manual/Makefile: Include Makeconfig immediately after defining
54524         subdir.
54525         * math/Makefile: Likewise.
54526         * misc/Makefile: Likewise.
54527         * nis/Makefile: Likewise.
54528         * nss/Makefile: Likewise.
54529         * po/Makefile: Likewise.
54530         (all): Remove target.
54531         * posix/Makefile: Include Makeconfig immediately after defining
54532         subdir.
54533         * pwd/Makefile: Likewise.
54534         * resolv/Makefile: Likewise.
54535         * resource/Makefile: Likewise.
54536         * rt/Makefile: Likewise.
54537         * setjmp/Makefile: Likewise.
54538         * shadow/Makefile: Likewise.
54539         * signal/Makefile: Likewise.
54540         * socket/Makefile: Likewise.
54541         * soft-fp/Makefile: Likewise.
54542         * stdio-common/Makefile: Likewise.
54543         * stdlib/Makefile: Likewise.
54544         * streams/Makefile: Likewise.
54545         * string/Makefile: Likewise.
54546         * sunrpc/Makefile: Likewise.
54547         (all): Remove target.
54548         * sysvipc/Makefile: Include Makeconfig immediately after defining
54549         subdir.
54550         * termios/Makefile: Likewise.
54551         * time/Makefile: Likewise.
54552         * timezone/Makefile: Likewise.
54553         (all): Remove target.
54554         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54555         subdir.
54556         * wctype/Makefile: Likewise.
54558 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54560         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54561         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54562         (libc_feholdexcept_setround_mips): Ditto.
54563         (libc_feholdsetround): New.
54564         (libc_feholdsetroundf): New.
54565         (libc_feholdsetroundl): New.
54566         (libc_feupdateenv_test_mips): New.
54567         (libc_feupdateenv_test): New.
54568         (libc_feupdateenv_testf): New.
54569         (libc_feupdateenv_testl): New.
54570         (libc_feresetround): New.
54571         (libc_feresetroundf): New.
54572         (libc_feresetroundl): New.
54573         (libc_fetestexcept_mips): New.
54574         (libc_fetestexcept): New.
54575         (libc_fetestexceptf): New.
54576         (libc_fetestexceptl): New.
54577         (HAVE_RM_CTX): New.
54578         (libc_feholdexcept_setround_mips_ctx): New.
54579         (libc_feholdexcept_setround_ctx): New.
54580         (libc_feholdexcept_setroundf_ctx): New.
54581         (libc_feholdexcept_setroundl_ctx): New.
54582         (libc_fesetenv_mips_ctx): New.
54583         (libc_fesetenv_ctx): New.
54584         (libc_fesetenv_ctxf): New.
54585         (libc_fesetenv_ctxl): New.
54586         (libc_feupdateenv_mips_ctx): New.
54587         (libc_feupdateenv_ctx): New.
54588         (libc_feupdateenvf_ctx): New.
54589         (libc_feupdateenvl_ctx): New.
54590         (libc_feholdsetround_mips_ctx): New.
54591         (libc_feholdsetround_ctx): New.
54592         (libc_feholdsetroundf_ctx): New.
54593         (libc_feholdsetroundl_ctx): New.
54594         (libc_feresetround_mips_ctx): New.
54595         (libc_feresetround_ctx): New.
54596         (libc_feresetroundf_ctx): New.
54597         (libc_feresetroundl_ctx): New.
54599 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
54601         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54603         * manual/ipc.texi: New file.
54604         * manual/Makefile (chapters): Add ipc.
54605         * manual/job.texi: Add "Inter-Process Communication" to next.
54606         * manual/process.texi: Add "Inter-Process Communication" to prev.
54608 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54612 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
54614         * malloc/malloc.c (__libc_calloc): Simplify implementation.
54616         * manual/arith.texi: Fix spaces after sentences.
54617         * manual/charset.texi: Likewise.
54618         * manual/errno.texi: Likewise.
54619         * manual/install.texi: Likewise.
54620         * manual/llio.texi: Likewise.
54621         * manual/locale.texi: Likewise.
54622         * manual/maint.texi: Likewise.
54623         * manual/math.texi: Likewise.
54624         * manual/memory.texi: Likewise.
54625         * manual/message.texi: Likewise.
54626         * manual/probes.texi: Likewise.
54627         * manual/resource.texi: Likewise.
54628         * manual/signal.texi: Likewise.
54629         * manual/socket.texi: Likewise.
54630         * manual/stdio.texi: Likewise.
54631         * manual/string.texi: Likewise.
54632         * manual/time.texi: Likewise.
54633         * manual/users.texi: Likewise.
54635 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
54637         [BZ #16632]
54638         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54639         _DEFAULT_SOURCE is defined.
54641 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
54642             Carlos O'Donell  <carlos@redhat.com>
54644         [BZ #16613]
54645         * elf/dl-tls.c (_dl_count_modids): New function.
54646         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54647         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54648         audit library and increment generation counter.
54649         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54650         * elf/tst-audit9.c: New file.
54651         * elf/tst-auditmod9a.c: New file.
54652         * elf/tst-auditmod9b.c: New file.
54653         * elf/Makefile: Add rules to build and run tst-audit9.
54655 2014-02-25  Florian Weimer  <fweimer@redhat.com>
54657         [BZ #15347]
54658         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54660 2014-02-25  Will Newton  <will.newton@linaro.org>
54662         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54663         (__longjmp): Restore sp and lr before restoring callee
54664         saved registers.  Add longjmp and longjmp_target
54665         SystemTap probe point.
54666         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54667         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54668         Define to zero to match jmpbuf layout.
54669         * sysdeps/arm/setjmp.S: Include stap-probe.h.
54670         (__sigsetjmp): Save sp and lr before saving callee
54671         saved registers.  Add setjmp SystemTap probe point.
54673 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
54675         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54677 2014-02-24  Andreas Schwab  <schwab@suse.de>
54679         [BZ #15804]
54680         * elf/pldd.c (wait_for_ptrace_stop): New function.
54681         (main): Call it after attaching.
54683 2014-02-22  Roland McGrath  <roland@hack.frob.com>
54685         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54686         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54687         Versions files is now verboten.
54688         * hurd/Versions (libc: GLIBC_2.0):
54689         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54690         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54691         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54692         * mach/Versions: Likewise.
54694         * csu/Versions: Remove unused %include.
54695         * resolv/Versions: Likewise.
54697 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
54699         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54700         ($(objpfx)check-local-headers.out): Likewise.
54701         ($(objpfx)begin-end-check.out): Likewise.
54702         * Makerules (check-abi-%.out): Likewise.
54703         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54704         ($(objpfx)test2.cat): Likewise.
54705         ($(objpfx)de/libc.cat): Likewise.
54706         ($(objpfx)test-gencat.out): Likewise.
54707         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54708         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54709         ($(objpfx)noload-mem): Likewise.
54710         ($(objpfx)tst-pathopt.out): Likewise.
54711         ($(objpfx)tst-rtld-load-self.out): Likewise.
54712         ($(objpfx)tst-array1-cmp.out): Likewise.
54713         ($(objpfx)tst-array1-static-cmp.out): Likewise.
54714         ($(objpfx)tst-array2-cmp.out): Likewise.
54715         ($(objpfx)tst-array3-cmp.out): Likewise.
54716         ($(objpfx)tst-array4-cmp.out): Likewise.
54717         ($(objpfx)tst-array5-cmp.out): Likewise.
54718         ($(objpfx)tst-array5-static-cmp.out): Likewise.
54719         ($(objpfx)check-textrel.out): Likewise.
54720         ($(objpfx)check-execstack.out): Likewise.
54721         ($(objpfx)check-localplt.out): Likewise.
54722         ($(objpfx)order2-cmp.out): Likewise.
54723         ($(objpfx)tst-leaks1-mem): Likewise.
54724         ($(objpfx)tst-leaks1-static-mem): Likewise.
54725         ($(objpfx)tst-initorder-cmp.out): Likewise.
54726         ($(objpfx)tst-initorder2-cmp.out): Likewise.
54727         ($(objpfx)tst-unused-dep.out): Likewise.
54728         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54729         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54730         * iconv/Makefile (test-iconvconfig): Likewise.
54731         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54732         ($(objpfx)iconv-test.out): Likewise.
54733         ($(objpfx)tst-tables.out): Likewise.
54734         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54735         ($(objpfx)tst-gettext.out): Likewise.
54736         ($(objpfx)tst-translit.out): Likewise.
54737         ($(objpfx)tst-gettext2.out): Likewise.
54738         ($(objpfx)tst-gettext4.out): Likewise.
54739         ($(objpfx)tst-gettext6.out): Likewise.
54740         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54741         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54742         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54743         ($(objpfx)tst-fopenloc-mem.out): Likewise.
54744         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54745         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54746         * posix/Makefile ($(objpfx)globtest.out): Likewise.
54747         ($(objpfx)wordexp-tst.out): Likewise.
54748         ($(objpfx)annexc.out): Likewise.
54749         ($(objpfx)tst-fnmatch-mem): Likewise.
54750         ($(objpfx)bug-regex2-mem): Likewise.
54751         ($(objpfx)bug-regex14-mem): Likewise.
54752         ($(objpfx)bug-regex21-mem): Likewise.
54753         ($(objpfx)bug-regex31-mem): Likewise.
54754         ($(objpfx)tst-vfork3-mem): Likewise.
54755         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54756         ($(objpfx)tst-pcre-mem): Likewise.
54757         ($(objpfx)tst-boost-mem): Likewise.
54758         ($(objpfx)tst-getconf.out): Likewise.
54759         ($(objpfx)bug-ga2-mem): Likewise.
54760         ($(objpfx)bug-glob2-mem): Likewise.
54761         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54762         ($(objpfx)mtrace-tst-leaks2): Likewise.
54763         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54764         ($(objpfx)tst-printf.out): Likewise.
54765         ($(objpfx)tst-setvbuf1.out): Likewise.
54766         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54767         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54768         ($(objpfx)tst-fmtmsg.out): Likewise.
54769         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54770         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54772         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54773         * bits/sigaction.h [__USE_MISC]: Likewise.
54774         * bits/waitstatus.h: Update #endif comments.
54775         * ctype/ctype.h: Likewise.
54776         * dirent/dirent.h: Likewise.
54777         [__USE_MISC]: Remove redundant conditionals.
54778         * grp/grp.h: Update #endif comments.
54779         [__USE_GNU]: Remove redundant conditionals.
54780         [__USE_MISC]: Likewise.
54781         * inet/netinet/in.h [__USE_GNU]: Likewise.
54782         * io/sys/stat.h [__USE_MISC]: Likewise.
54783         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54784         * libio/bits/stdio.h: Update #endif comments.
54785         [__USE_MISC]: Remove redundant conditionals.
54786         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54787         * libio/stdio.h: Update #endif comments.
54788         [__USE_MISC]: Remove redundant conditionals.
54789         * math/bits/math-finite.h [__USE_MISC]: Likewise.
54790         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54791         * math/math.h: Update #else and #endif comments.
54792         [__USE_MISC]: Remove redundant conditionals.
54793         * misc/sys/uio.h: Update #endif comments.
54794         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
54795         * posix/glob.h [__USE_MISC]: Likewise.
54796         * posix/sys/types.h: Update #endif comments.
54797         [__USE_MISC]: Remove redundant conditionals.
54798         * posix/sys/wait.h: Update #endif comments.
54799         [__USE_MISC]: Remove redundant conditionals.
54800         * posix/unistd.h: Update #endif comments.
54801         [__USE_MISC]: Remove redundant conditionals.
54802         * pwd/pwd.h [__USE_GNU]: Likewise.
54803         [__USE_MISC]: Likewise.
54804         * resolv/netdb.h [__USE_GNU]: Likewise.
54805         * signal/signal.h: Update #endif comments.
54806         [__USE_MISC]: Remove redundant conditionals.
54807         * stdlib/stdlib.h: Update #else and #endif comments.
54808         [__USE_MISC]: Remove redundant conditionals.
54809         [__USE_GNU]: Likewise.
54810         * string/bits/string2.h [__USE_MISC]: Likewise.
54811         * string/string.h: Update #endif comments.
54812         [__USE_MISC]: Remove redundant conditionals.
54813         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
54814         Likewise.
54815         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
54816         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
54817         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
54818         Likewise.
54819         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
54820         Likewise.
54821         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
54822         comments.
54823         [__USE_MISC]: Remove redundant conditionals.
54824         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
54825         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
54826         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
54827         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
54828         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
54829         Likewise.
54830         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
54831         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
54832         Likewise.
54833         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
54834         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
54835         Likewise.
54836         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
54837         Likewise.
54838         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
54839         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
54840         Likewise.
54841         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
54842         Likewise.
54843         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
54844         * sysdeps/x86/bits/string.h: Update #endif comments.
54845         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
54846         conditionals.
54847         * time/sys/time.h: Update #endif comments.
54848         * time/time.h: Likewise.
54849         [__USE_MISC]: Remove redundant conditionals.
54851 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
54853         [BZ #16600]
54854         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
54856 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
54858         * Versions.def (librt): Add GLIBC_2.17.
54860 2014-02-21  Adam Conrad  <adconrad@0c3.net>
54862         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
54863         synonym for _SYS_AUXV_H to allow direct inclusion.
54864         * sysdeps/sparc/bits/hwcap.h: Likewise.
54865         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
54866         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
54867         * sysdeps/sparc/sysdep.h: Likewise.
54869 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54871         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
54873 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54875         * benchtests/bench-strrchr.c: Print length instead of position.
54877 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
54879         [BZ #16611]
54880         * sysdeps/unix/sysv/linux/kernel-features.h
54881         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
54882         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
54883         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
54884         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
54885         Likewise.
54886         [__i386__ || __powerpc__ || __sh__ || __sparc__]
54887         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54888         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
54889         (__ASSUME_SENDMMSG): Define instead of using previous
54890         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
54891         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54892         (__ASSUME_SENDMMSG_SYSCALL): Define.
54893         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54894         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
54895         Likewise.
54896         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54897         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54898         Likewise.
54899         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54900         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54901         Likewise.
54902         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
54903         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54904         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54905         [__ASSUME_SENDMMSG]: Change conditionals to
54906         [__ASSUME_SENDMMSG_SOCKETCALL].
54907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54908         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
54909         Define.
54910         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54911         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
54912         Likewise.
54913         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
54914         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54915         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54916         [!__ASSUME_SENDMMSG]: Change conditional to
54917         [!__ASSUME_SENDMMSG_SOCKETCALL].
54918         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54919         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54920         Define.
54922         [BZ #16610]
54923         * sysdeps/unix/sysv/linux/kernel-features.h
54924         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
54925         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
54926         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
54927         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
54928         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
54929         [__i386__ || __sparc__]
54930         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54931         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
54932         (__ASSUME_RECVMMSG): Define instead of using previous
54933         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
54934         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54935         (__ASSUME_RECVMMSG_SYSCALL): Define.
54936         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54937         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54938         Likewise.
54939         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54940         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54941         Likewise.
54942         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54943         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54944         Likewise.
54945         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
54946         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54947         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54948         [__ASSUME_RECVMMSG]: Change condition to
54949         [__ASSUME_RECVMMSG_SOCKETCALL].
54950         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54951         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54952         Define.
54953         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54954         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54955         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54956         Likewise.
54957         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
54958         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54959         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54960         [!__ASSUME_RECVMMSG]: Change condition to
54961         [!__ASSUME_RECVMMSG_SOCKETCALL].
54962         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54963         (__ASSUME_RECVMMSG_SYSCALL): Define.
54965         [BZ #16609]
54966         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
54967         __powerpc__ || __s390__ || __sh__ || __sparc__]
54968         (__ASSUME_SOCKETCALL): Define.
54969         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
54970         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
54971         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
54972         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
54973         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
54974         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
54975         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
54976         (__ASSUME_ACCEPT4): Define instead of using previous
54977         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
54978         __powerpc__ || __sparc__ || __s390__)] condition.
54979         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54980         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54981         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
54982         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54983         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54984         [!__ASSUME_ACCEPT4]: Change condition to
54985         [!__ASSUME_ACCEPT4_SOCKETCALL].
54986         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54987         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
54988         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
54989         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54990         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
54991         __ASSUME_ACCEPT4_SYSCALL.
54992         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
54993         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
54994         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54995         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
54996         __ASSUME_ACCEPT4_SYSCALL.
54997         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
54998         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54999         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55000         [__ASSUME_ACCEPT4]: Change condition to
55001         [__ASSUME_ACCEPT4_SOCKETCALL].
55002         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
55003         (__ASSUME_SOCKETCALL): Define.
55004         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
55005         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55006         (__ASSUME_SOCKETCALL): Define.
55007         (__ASSUME_ACCEPT4): Remove.
55008         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
55009         Define.
55010         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55011         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
55012         Likewise.
55013         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55014         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55016         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
55017         macro.
55018         (HWCAP_ARM_LPAE): Likewise.
55019         (HWCAP_ARM_EVTSTRM): Likewise.
55020         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
55021         Add vpfd32, lpae and evtstrm.
55022         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
55023         Increase to 22.
55025 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
55027         * math/auto-libm-test-in: Add tests of clog10.
55028         * math/auto-libm-test-out: Regenerated.
55029         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
55030         * sysdeps/i386/fpu/libm-test-ulps: Update.
55031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55033 2014-02-18  Andreas Schwab  <schwab@suse.de>
55035         [BZ #16574]
55036         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
55037         Store non-zero if the second buffer was newly allocated.
55038         (send_dg): Likewise.
55039         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
55040         to send_vc and send_dg.
55041         (res_nsend): Pass NULL for ansp2_malloced.
55042         * resolv/res_query.c (__libc_res_nquery): Add parameter
55043         answerp2_malloced and pass it down to __libc_res_nsend.
55044         (res_nquery): Pass additional NULL to __libc_res_nquery.
55045         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
55046         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
55047         second answer buffer if answerp2_malloced was set.
55048         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
55049         (__libc_res_nquerydomain): Add parameter
55050         answerp2_malloced and pass it down to __libc_res_nquery.
55051         (res_nquerydomain): Pass additional NULL to
55052         __libc_res_nquerydomain.
55053         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
55054         additional NULL to __libc_res_nsend and __libc_res_nquery.
55055         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
55056         additional NULL to __libc_res_nsearch.
55057         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
55058         parameter of __libc_res_nsearch to check for separately allocated
55059         second buffer.
55060         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
55061         __libc_res_nquery.
55062         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
55063         additional NULL to __libc_res_nquery.
55064         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
55065         __libc_res_nsearch.
55066         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
55067         * include/resolv.h: Update prototypes of __libc_res_nquery,
55068         __libc_res_nsearch, __libc_res_nsend.
55070 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
55072         * math/auto-libm-test-in: Add tests of fma.
55073         * math/auto-libm-test-out: Regenerated.
55074         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
55075         (fma_towardzero_test_data): Likewise.
55076         (fma_downward_test_data): Likewise.
55077         (fma_upward_test_data): Likewise.
55078         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55079         mpc_mode.
55080         (rounding_modes): Add values for new field.
55081         (func_calc_method): Add value mpfr_fff_f.
55082         (func_calc_desc): Add mpfr_fff_f union field.
55083         (test_function): Add field exact_args.
55084         (FUNC): Add macro argument EXACT_ARGS.
55085         (FUNC_mpfr_f_f): Update call to FUNC.
55086         (FUNC_mpfr_f_f): Likewise.
55087         (FUNC_mpfr_ff_f): Likewise.
55088         (FUNC_mpfr_if_f): Likewise.
55089         (FUNC_mpc_c_f): Likewise.
55090         (FUNC_mpc_c_c): Likewise.
55091         (test_functions): Add fma.  Update calls to FUNC.
55092         (handle_input_arg): Add argument exact_args.
55093         (add_test): Update call to handle_input_arg.
55094         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
55095         (output_for_one_input_case): Update call to calc_generic_results.
55096         Recalculate exact zero results in each rounding mode.
55098         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55099         non-negative before setting low bit.
55100         * math/auto-libm-test-in: Mark one asin test possibly having
55101         spurious underflow.
55102         * math/auto-libm-test-out: Regenerated.
55103         * sysdeps/i386/fpu/libm-test-ulps: Update.
55104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55106 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
55108         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55109         * sysdeps/unix/sysv/linux/microblaze: Move directory from
55110         ports/sysdeps/unix/sysv/linux/microblaze.
55111         * README: Add missing listing for microblaze*-*-linux-gnu.
55113 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
55115         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55116         duplicate code
55118 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
55120         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55121         * sysdeps/unix/sysv/linux/ia64: Move directory from
55122         ports/sysdeps/unix/sysv/linux/ia64.
55123         * README: Update listing for ia64-*-linux-gnu.
55125 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
55126             Joseph Myers  <joseph@codesourcery.com>
55128         * Makeconfig (test-name): New variable.
55129         (evaluate-test): Likewise.
55130         * Makerules (do-test-clean): Remove .test-result files.
55131         (common-mostlyclean): Likewise.
55132         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55133         * scripts/evaluate-test.sh: New file.
55135 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
55137         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55138         separate $(objpfx)tst-fopenloc-cmp.out and
55139         $(objpfx)tst-fopenloc-mem.out targets.
55140         (tests): Update dependencies.
55141         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55142         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55143         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55144         (tst-rxspencer-no-utf8-ARGS): New variable.
55145         (tst-rxspencer-no-utf8-ENV): Likewise.
55146         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55147         instead of $(objpfx)tst-rxspencer-mem.
55148         ($(objpfx)tst-rxspencer-mem): Change target to
55149         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
55150         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55151         * posix/tst-rxspencer-no-utf8.c: New file.
55153         * elf/Makefile ($(objpfx)order.out): Remove rule.
55154         [$(run-built-tests) = yes] (tests): Depend on
55155         $(objpfx)order-cmp.out.
55156         ($(objpfx)order-cmp.out): New rule.
55157         [$(run-built-tests) = yes] (tests): Depend on
55158         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
55159         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
55160         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
55161         $(objpfx)tst-array5-static-cmp.out.
55162         ($(objpfx)tst-array1.out): Remove rule.
55163         ($(objpfx)tst-array1-cmp.out): New rule.
55164         ($(objpfx)tst-array1-static.out): Remove rule.
55165         ($(objpfx)tst-array1-static-cmp.out): New rule.
55166         ($(objpfx)tst-array2.out): Remove rule.
55167         ($(objpfx)tst-array2-cmp.out): New rule.
55168         ($(objpfx)tst-array3.out): Remove rule.
55169         ($(objpfx)tst-array3-cmp.out): New rule.
55170         ($(objpfx)tst-array4.out): Remove rule.
55171         ($(objpfx)tst-array4-cmp.out): New rule.
55172         ($(objpfx)tst-array5.out): Remove rule.
55173         ($(objpfx)tst-array5-cmp.out): New rule.
55174         ($(objpfx)tst-array5-static.out): Remove rule.
55175         ($(objpfx)tst-array5-static-cmp.out): New rule.
55176         [$(run-built-tests) = yes] (tests): Depend on
55177         $(objpfx)order2-cmp.out.
55178         ($(objpfx)order2.out): Remove rule.
55179         ($(objpfx)order2-cmp.out): New rule.
55180         ($(objpfx)tst-initorder.out): Remove rule.
55181         [$(run-built-tests) = yes] (tests): Depend on
55182         $(objpfx)tst-initorder-cmp.out.
55183         ($(objpfx)tst-initorder-cmp.out): New rule.
55184         ($(objpfx)tst-initorder2.out): Remove rule.
55185         [$(run-built-tests) = yes] (tests): Depend on
55186         $(objpfx)tst-initorder2-cmp.out.
55187         ($(objpfx)tst-initorder2-cmp.out): New rule.
55188         [$(run-built-tests) = yes] (tests): Depend on
55189         $(objpfx)tst-unused-dep-cmp.out.
55190         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
55191         ($(objpfx)tst-unused-dep-cmp.out): New rule.
55192         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
55193         on $(objpfx)tst-setvbuf1-cmp.out.
55194         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
55195         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
55196         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
55197         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
55198         ($(objpfx)tst-svc.out): Remove rule.
55199         ($(objpfx)tst-svc-cmp.out): New rule.
55201 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
55203         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
55204         * ctype/ctype.h [__USE_MISC]: Likewise.
55205         * dirent/dirent.h [__USE_MISC]: Likewise.
55206         * grp/grp.h [__USE_MISC]: Likewise.
55207         * io/fcntl.h [__USE_MISC]: Likewise.
55208         * io/sys/stat.h [__USE_MISC]: Likewise.
55209         * libio/stdio.h [__USE_MISC]: Likewise.
55210         * posix/unistd.h [__USE_MISC]: Likewise.
55211         * pwd/pwd.h [__USE_MISC]: Likewise.
55212         * stdlib.h [__USE_MISC]: Likewise.
55213         * string/bits/string2.h [__USE_MISC]: Likewise.
55214         * string/string.h [__USE_MISC]: Likewise.
55215         * time/time.h [__USE_MISC]: Likewise.
55217 2014-02-13  Andreas Schwab  <schwab@suse.de>
55219         [BZ #16574]
55220         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
55221         second answer buffer if it was separately allocated.
55223 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
55225         * sysdeps/mips/math-tests.h: Include <features.h>.
55226         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55227         (ROUNDING_TESTS_long_double): Do not define.
55228         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55229         (EXCEPTION_TESTS_long_double): Likewise.
55230         * sysdeps/mips/mips64/libm-test-ulps: Update.
55232         * include/features.h (__USE_BSD): Remove macro definitions.
55233         (__USE_SVID): Likewise.
55234         (_BSD_SOURCE): Likewise.
55235         (_SVID_SOURCE): Likewise.
55236         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
55237         from definition of _DEFAULT_SOURCE.
55238         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
55239         [_DEFAULT_SOURCE].
55240         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
55241         * bits/mman.h [__USE_BSD]: Likewise.
55242         * bits/termios.h [__USE_BSD]: Likewise.
55243         * bits/waitstatus.h [__USE_BSD]: Likewise.
55244         * ctype/ctype.h [__USE_SVID]: Likewise.
55245         * dirent/dirent.h [__USE_BSD]: Likewise.
55246         * grp/grp.h [__USE_SVID]: Likewise.
55247         [__USE_BSD]: Likewise.
55248         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
55249         * io/fcntl.h [__USE_BSD]: Likewise.
55250         * io/ftw.h [__USE_BSD]: Likewise.
55251         * io/sys/stat.h [__USE_BSD]: Likewise.
55252         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
55253         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
55254         * libio/stdio.h [__USE_SVID]: Likewise.
55255         [__USE_BSD]: Likewise.
55256         * math/math.h [__USE_SVID]: Likewise.
55257         [__USE_BSD]: Likewise.
55258         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
55259         * misc/bits/syslog.h [__USE_BSD]: Likewise.
55260         * misc/search.h [__USE_SVID]: Likewise.
55261         * misc/sys/mman.h [__USE_BSD]: Likewise.
55262         * misc/sys/syslog.h [__USE_BSD]: Likewise.
55263         * misc/sys/uio.h [__USE_BSD]: Likewise.
55264         * posix/bits/unistd.h [__USE_BSD]: Likewise.
55265         * posix/glob.h [__USE_BSD]: Likewise.
55266         * posix/regex.h [__USE_BSD]: Likewise.
55267         * posix/sys/types.h [__USE_BSD]: Likewise.
55268         [__USE_SVID]: Likewise.
55269         * posix/sys/utsname.h [__USE_SVID]: Likewise.
55270         * posix/sys/wait.h [__USE_BSD]: Likewise.
55271         [__USE_SVID]: Likewise.
55272         * posix/unistd.h [__USE_BSD]: Likewise.
55273         [__USE_SVID]: Likewise.
55274         * pwd/pwd.h [__USE_SVID]: Likewise.
55275         * resolv/netdb.h [__USE_BSD]: Likewise.
55276         * setjmp/setjmp.h [__USE_BSD]: Likewise.
55277         * signal/signal.h [__USE_BSD]: Likewise.
55278         [__USE_SVID]: Likewise.
55279         * socket/sys/socket.h [__USE_BSD]: Likewise.
55280         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
55281         * stdlib/stdlib.h [__USE_BSD]: Likewise.
55282         [__USE_SVID]: Likewise.
55283         * string/bits/string2.h [__USE_BSD]: Likewise.
55284         [__USE_SVID]: Likewise.
55285         * string/bits/string3.h [__USE_BSD]: Likewise.
55286         * string/endian.h [__USE_BSD]: Likewise.
55287         * string/string.h [__USE_SVID]: Likewise.
55288         [__USE_BSD]: Likewise.
55289         * string/strings.h [__USE_BSD]: Likewise.
55290         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
55291         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
55292         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
55293         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
55294         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
55295         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
55296         Likewise.
55297         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
55298         Likewise.
55299         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
55300         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
55301         Likewise.
55302         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
55303         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
55304         Likewise.
55305         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
55306         Likewise.
55307         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
55308         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
55309         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
55310         Likewise.
55311         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
55312         Likewise.
55313         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
55314         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
55315         * termios/termios.h [__USE_BSD]: Likewise.
55316         * time/sys/time.h [__USE_BSD]: Likewise.
55317         * time/time.h [__USE_BSD]: Likewise.
55318         [__USE_SVID]: Likewise.
55320         * Makefile (subdir_targets): Remove subdir_lint.out.
55322         * stdio-common/Makefile (do-tst-unbputc): Remove target.
55323         (do-tst-printf): Likewise.
55324         (tests): Depend directly on $(objpfx)tst-unbputc.out and
55325         $(objpfx)tst-printf.out.
55327         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
55329         * Makerules (check-abi-%): Change target to
55330         $(objpfx)check-abi-%.out.
55331         (check-abi target): Update dependencies.
55332         (check-abi-pattern variable): Redirect output of diff to $@.
55333         (check-abi variable): Likewise.
55334         * elf/Makefile (check-abi): Update dependencies.
55336         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
55337         unused.
55338         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
55339         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
55340         subnormal range.
55341         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
55342         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
55343         value has largest subnormal exponent.
55344         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
55345         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
55346         * sysdeps/aarch64/soft-fp/sfp-machine.h
55347         (_FP_TININESS_AFTER_ROUNDING): New macro.
55348         * sysdeps/alpha/soft-fp/sfp-machine.h
55349         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55350         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55351         Likewise.
55352         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
55353         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55354         * sysdeps/mips/soft-fp/sfp-machine.h
55355         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55356         * sysdeps/powerpc/soft-fp/sfp-machine.h
55357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55358         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55359         Likewise.
55360         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55361         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55362         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55363         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55364         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55365         Likewise.
55367 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
55369         [BZ #16545]
55370         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
55371         model 1.
55373 2014-02-12  Richard Henderson  <rth@redhat.com>
55375         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55376         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55377         * sysdeps/unix/sysv/linux/alpha: Move directory from
55378         ports/sysdeps/unix/sysv/linux/alpha.
55379         * README: Update listing for alpha-*-linux-gnu.
55381 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
55383         * include/features.h: Update comment documenting feature test
55384         macros.
55385         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
55386         _DEFAULT_SOURCE.
55387         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55388         (_SVID_SOURCE): Likewise.
55389         (_DEFAULT_SOURCE): Update description of default features.
55390         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55391         with _GNU_SOURCE.
55392         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55393         (S_ISVTX): Likewise.
55394         * manual/math.texi (Mathematical Constants): Likewise.
55395         * manual/signal.texi (Interrupted Primitives): Likewise.
55396         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55397         * math/test-matherr.c (_SVID_SOURCE): Do not define.
55398         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55399         Don't refer to _SVID_SOURCE in warning text.
55401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55403         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55404         already defined.
55405         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55406         * sysdeps/mips/dl-lookup.c: Remove.
55407         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55409 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
55411         [BZ #16447]
55412         * math/auto-libm-test-in: Add testcase for expl.
55413         * math/auto-libm-test-out: Regenerate.
55414         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55415         calculation of unsafe.
55416         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55418 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55420         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55421         * sysdeps/unix/sysv/linux/aarch64: Move directory from
55422         ports/sysdeps/unix/sysv/linux/aarch64.
55423         * README: Update listing for aarch64*-*-linux-gnu.
55425 2014-02-11  Will Newton  <will.newton@linaro.org>
55427         * manual/probes.texi (Mathematical Function Probes): Use
55428         "triggered" instead of "hit".
55430         * manual/probes.texi (Internal Probes): Add documentation
55431         of setjmp, longjmp and longjmp_target probes.
55433         * include/stap-probe.h: Add comment about probe argument
55434         format.
55436         * malloc/mtrace.c (attribute_hidden): Remove unused macro
55437         definition.  (tr_where, tr_freehook, tr_mallochook,
55438         tr_reallochook, tr_memalignhook): Use ANSI protoype.
55440 2014-02-11  David S. Miller  <davem@davemloft.net>
55442         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55443         processing int_tests.
55445 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
55447         * sysdeps/mips: Move directory from ports/sysdeps/mips.
55448         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55449         * sysdeps/unix/sysv/linux/mips: Move directory from
55450         ports/sysdeps/unix/sysv/linux/mips.
55451         * README: Update listing for mips-*-linux-gnu and
55452         mips64-*-linux-gnu.
55454 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
55456         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55457         * sysdeps/unix/sysv/linux/m68k: Move directory from
55458         ports/sysdeps/unix/sysv/linux/m68k.
55459         * README: Update listing for m68k-*-linux-gnu.
55461 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55463         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55464         * sysdeps/unix/sysv/linux/generic: Move directory from
55465         ports/sysdeps/unix/sysv/linux/generic.
55466         * sysdeps/unix/sysv/linux/tile: Move directory from
55467         ports/sysdeps/unix/sysv/linux/tile.
55468         * README: Update listing for tile*-*-linux-gnu.
55470 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55472         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55473         __builtin_expect.
55474         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55475         * catgets/open_catalog.c (__open_catalog): Likewise.
55476         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55477         * debug/confstr_chk.c: Likewise.
55478         * debug/fread_chk.c (__fread_chk): Likewise.
55479         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55480         * debug/getgroups_chk.c: Likewise.
55481         * debug/mbsnrtowcs_chk.c: Likewise.
55482         * debug/mbsrtowcs_chk.c: Likewise.
55483         * debug/mbstowcs_chk.c: Likewise.
55484         * debug/memcpy_chk.c: Likewise.
55485         * debug/memmove_chk.c: Likewise.
55486         * debug/mempcpy_chk.c: Likewise.
55487         * debug/memset_chk.c: Likewise.
55488         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55489         * debug/strcat_chk.c (__strcat_chk): Likewise.
55490         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55491         * debug/strncat_chk.c (__strncat_chk): Likewise.
55492         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55493         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55494         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55495         * debug/wcpncpy_chk.c: Likewise.
55496         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55497         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55498         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55499         * debug/wcsncpy_chk.c: Likewise.
55500         * debug/wcsnrtombs_chk.c: Likewise.
55501         * debug/wcsrtombs_chk.c: Likewise.
55502         * debug/wcstombs_chk.c: Likewise.
55503         * debug/wmemcpy_chk.c: Likewise.
55504         * debug/wmemmove_chk.c: Likewise.
55505         * debug/wmempcpy_chk.c: Likewise.
55506         * debug/wmemset_chk.c: Likewise.
55507         * dirent/scandirat.c (SCANDIRAT): Likewise.
55508         * dlfcn/dladdr1.c (dladdr1): Likewise.
55509         * dlfcn/dladdr.c (dladdr): Likewise.
55510         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55511         * dlfcn/dlerror.c (__dlerror): Likewise.
55512         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55513         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55514         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55515         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55516         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55517         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55518         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55519         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55520         Likewise.
55521         * elf/dl-conflict.c: Likewise.
55522         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55523         * elf/dl-dst.h: Likewise.
55524         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55525         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55526         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55527         * elf/dl-init.c (call_init, _dl_init): Likewise.
55528         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55529         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55530         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55531         Likewise.
55532         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55533         Likewise.
55534         * elf/dl-minimal.c (__libc_memalign): Likewise.
55535         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55536         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55537         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55538         * elf/dl-sym.c (do_sym): Likewise.
55539         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55540         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55541         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55542         * elf/dl-writev.h (_dl_writev): Likewise.
55543         * elf/ldconfig.c (search_dir): Likewise.
55544         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55545         (dl_main): Likewise.
55546         * elf/setup-vdso.h (setup_vdso): Likewise.
55547         * grp/compat-initgroups.c (compat_call): Likewise.
55548         * grp/fgetgrent.c (fgetgrent): Likewise.
55549         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55550         * grp/putgrent.c (putgrent): Likewise.
55551         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55552         Likewise.
55553         * hurd/hurdinit.c: Likewise.
55554         * iconvdata/8bit-gap.c (struct): Likewise.
55555         * iconvdata/ansi_x3.110.c : Likewise.
55556         * iconvdata/big5.c : Likewise.
55557         * iconvdata/big5hkscs.c : Likewise.
55558         * iconvdata/cp1255.c: Likewise.
55559         * iconvdata/cp1258.c : Likewise.
55560         * iconvdata/cp932.c : Likewise.
55561         * iconvdata/euc-cn.c: Likewise.
55562         * iconvdata/euc-jisx0213.c : Likewise.
55563         * iconvdata/euc-jp.c: Likewise.
55564         * iconvdata/euc-jp-ms.c : Likewise.
55565         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55566         * iconvdata/gb18030.c : Likewise.
55567         * iconvdata/gbbig5.c (const): Likewise.
55568         * iconvdata/gbgbk.c: Likewise.
55569         * iconvdata/gbk.c : Likewise.
55570         * iconvdata/ibm1364.c : Likewise.
55571         * iconvdata/ibm930.c : Likewise.
55572         * iconvdata/ibm932.c: Likewise.
55573         * iconvdata/ibm933.c : Likewise.
55574         * iconvdata/ibm935.c : Likewise.
55575         * iconvdata/ibm937.c : Likewise.
55576         * iconvdata/ibm939.c : Likewise.
55577         * iconvdata/ibm943.c: Likewise.
55578         * iconvdata/iso_11548-1.c: Likewise.
55579         * iconvdata/iso-2022-cn.c : Likewise.
55580         * iconvdata/iso-2022-cn-ext.c : Likewise.
55581         * iconvdata/iso-2022-jp-3.c: Likewise.
55582         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55583         * iconvdata/iso-2022-kr.c : Likewise.
55584         * iconvdata/iso646.c (gconv_end): Likewise.
55585         * iconvdata/iso_6937-2.c : Likewise.
55586         * iconvdata/iso_6937.c : Likewise.
55587         * iconvdata/iso8859-1.c: Likewise.
55588         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55589         * iconvdata/shift_jisx0213.c : Likewise.
55590         * iconvdata/sjis.c : Likewise.
55591         * iconvdata/t.61.c : Likewise.
55592         * iconvdata/tcvn5712-1.c : Likewise.
55593         * iconvdata/tscii.c: Likewise.
55594         * iconvdata/uhc.c : Likewise.
55595         * iconvdata/unicode.c (gconv_end): Likewise.
55596         * iconvdata/utf-16.c (gconv_end): Likewise.
55597         * iconvdata/utf-32.c (gconv_end): Likewise.
55598         * iconvdata/utf-7.c (base64): Likewise.
55599         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55600         * iconv/gconv_close.c (__gconv_close): Likewise.
55601         * iconv/gconv_open.c (__gconv_open): Likewise.
55602         * iconv/gconv_simple.c (internal_ucs4_loop_single)
55603         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55604         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55605         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55606         (ucs4le_internal_loop_single): Likewise.
55607         * iconv/iconv.c (iconv): Likewise.
55608         * iconv/iconv_close.c: Likewise.
55609         * iconv/loop.c (SINGLE): Likewise.
55610         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55611         * include/atomic.h: Likewise.
55612         * inet/inet6_option.c (option_alloc): Likewise.
55613         * intl/bindtextdom.c (set_binding_values): Likewise.
55614         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55615         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55616         * intl/localealias.c (read_alias_file): Likewise.
55617         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55618         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55619         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55620         * libio/fmemopen.c (fmemopen): Likewise.
55621         * libio/iofgets.c (_IO_fgets): Likewise.
55622         * libio/iofgets_u.c (fgets_unlocked): Likewise.
55623         * libio/iofgetws.c (fgetws): Likewise.
55624         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55625         * libio/iogetdelim.c (_IO_getdelim): Likewise.
55626         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55627         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55628         * locale/findlocale.c (_nl_find_locale): Likewise.
55629         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55630         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55631         Likewise.
55632         * locale/setlocale.c (setlocale): Likewise.
55633         * login/programs/pt_chown.c (main): Likewise.
55634         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55635         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55636         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55637         (mmap, mmap64, mremap, munmap): Likewise.
55638         * math/e_exp2l.c: Likewise.
55639         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55640         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55641         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55642         * math/s_catan.c (__catan): Likewise.
55643         * math/s_catanf.c (__catanf): Likewise.
55644         * math/s_catanh.c (__catanh): Likewise.
55645         * math/s_catanhf.c (__catanhf): Likewise.
55646         * math/s_catanhl.c (__catanhl): Likewise.
55647         * math/s_catanl.c (__catanl): Likewise.
55648         * math/s_ccosh.c (__ccosh): Likewise.
55649         * math/s_ccoshf.c (__ccoshf): Likewise.
55650         * math/s_ccoshl.c (__ccoshl): Likewise.
55651         * math/s_cexp.c (__cexp): Likewise.
55652         * math/s_cexpf.c (__cexpf): Likewise.
55653         * math/s_cexpl.c (__cexpl): Likewise.
55654         * math/s_clog10.c (__clog10): Likewise.
55655         * math/s_clog10f.c (__clog10f): Likewise.
55656         * math/s_clog10l.c (__clog10l): Likewise.
55657         * math/s_clog.c (__clog): Likewise.
55658         * math/s_clogf.c (__clogf): Likewise.
55659         * math/s_clogl.c (__clogl): Likewise.
55660         * math/s_csin.c (__csin): Likewise.
55661         * math/s_csinf.c (__csinf): Likewise.
55662         * math/s_csinh.c (__csinh): Likewise.
55663         * math/s_csinhf.c (__csinhf): Likewise.
55664         * math/s_csinhl.c (__csinhl): Likewise.
55665         * math/s_csinl.c (__csinl): Likewise.
55666         * math/s_csqrt.c (__csqrt): Likewise.
55667         * math/s_csqrtf.c (__csqrtf): Likewise.
55668         * math/s_csqrtl.c (__csqrtl): Likewise.
55669         * math/s_ctan.c (__ctan): Likewise.
55670         * math/s_ctanf.c (__ctanf): Likewise.
55671         * math/s_ctanh.c (__ctanh): Likewise.
55672         * math/s_ctanhf.c (__ctanhf): Likewise.
55673         * math/s_ctanhl.c (__ctanhl): Likewise.
55674         * math/s_ctanl.c (__ctanl): Likewise.
55675         * math/w_pow.c: Likewise.
55676         * math/w_powf.c: Likewise.
55677         * math/w_powl.c: Likewise.
55678         * math/w_scalb.c (sysv_scalb): Likewise.
55679         * math/w_scalbf.c (sysv_scalbf): Likewise.
55680         * math/w_scalbl.c (sysv_scalbl): Likewise.
55681         * misc/error.c (error_tail): Likewise.
55682         * misc/pselect.c (__pselect): Likewise.
55683         * nis/nis_callback.c (__nis_create_callback): Likewise.
55684         * nis/nis_call.c (__nisfind_server): Likewise.
55685         * nis/nis_creategroup.c (nis_creategroup): Likewise.
55686         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55687         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55688         * nis/nis_getservlist.c (nis_getservlist): Likewise.
55689         * nis/nis_lookup.c (nis_lookup): Likewise.
55690         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55691         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55692         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55693         * nis/nis_xdr.c (xdr_endpoint): Likewise.
55694         * nis/nss_compat/compat-grp.c (getgrent_next_file)
55695         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55696         * nis/nss_compat/compat-initgroups.c (add_group)
55697         (internal_getgrent_r): Likewise.
55698         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55699         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55700         * nis/nss_compat/compat-spwd.c (getspent_next_file)
55701         (internal_getspnam_r): Likewise.
55702         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55703         (_nss_nis_getaliasbyname_r): Likewise.
55704         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55705         (_nss_nis_getntohost_r): Likewise.
55706         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55707         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55708         (_nss_nis_getgrgid_r): Likewise.
55709         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55710         (internal_nis_gethostent_r, internal_gethostbyname2_r)
55711         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55712         (_nss_nis_gethostbyname4_r): Likewise.
55713         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55714         (initgroups_netid): Likewise.
55715         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55716         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55717         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55718         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55719         (_nss_nis_getprotobynumber_r): Likewise.
55720         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55721         (_nss_nis_getsecretkey): Likewise.
55722         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55723         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55724         (_nss_nis_getpwuid_r): Likewise.
55725         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55726         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55727         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55728         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55729         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55730         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55731         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55732         Likewise.
55733         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55734         (_nss_nisplus_getntohost_r): Likewise.
55735         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55736         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55737         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55738         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55739         Likewise.
55740         * nis/nss_nisplus/nisplus-initgroups.c
55741         (_nss_nisplus_initgroups_dyn): Likewise.
55742         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55743         (_nss_nisplus_getnetbyaddr_r): Likewise.
55744         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55745         (_nss_nisplus_getprotobynumber_r): Likewise.
55746         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55747         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55748         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55749         Likewise.
55750         * nis/nss_nisplus/nisplus-service.c
55751         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55752         (_nss_nisplus_getservbyport_r): Likewise.
55753         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55754         (_nss_nisplus_getspnam_r): Likewise.
55755         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55756         Likewise.
55757         * nscd/aicache.c (addhstaiX): Likewise.
55758         * nscd/cache.c (cache_search, prune_cache): Likewise.
55759         * nscd/connections.c (register_traced_file, send_ro_fd)
55760         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55761         (main_loop_epoll): Likewise.
55762         * nscd/grpcache.c (addgrbyX): Likewise.
55763         * nscd/hstcache.c (addhstbyX): Likewise.
55764         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55765         * nscd/mem.c (gc, mempool_alloc): Likewise.
55766         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55767         (addinnetgrX): Likewise.
55768         * nscd/nscd-client.h (__nscd_acquire_maplock)
55769         (__nscd_drop_map_ref): Likewise.
55770         * nscd/nscd_getai.c (__nscd_getai): Likewise.
55771         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55772         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55773         Likewise.
55774         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55775         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55776         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55777         (__nscd_get_map_ref): Likewise.
55778         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55779         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55780         Likewise.
55781         * nscd/pwdcache.c (addpwbyX): Likewise.
55782         * nscd/selinux.c (preserve_capabilities): Likewise.
55783         * nscd/servicescache.c (addservbyX): Likewise.
55784         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55785         * posix/fnmatch.c (fnmatch): Likewise.
55786         * posix/getopt.c (_getopt_internal_r): Likewise.
55787         * posix/glob.c (glob, glob_in_dir): Likewise.
55788         * posix/wordexp.c (exec_comm_child): Likewise.
55789         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55790         (getanswer_r, gaih_getanswer_slice): Likewise.
55791         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
55792         * resolv/res_init.c: Likewise.
55793         * resolv/res_mkquery.c (res_nmkquery): Likewise.
55794         * resolv/res_query.c (__libc_res_nquery): Likewise.
55795         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
55796         Likewise.
55797         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
55798         * stdio-common/perror.c (perror): Likewise.
55799         * stdio-common/printf_fp.c (___printf_fp): Likewise.
55800         * stdio-common/tmpnam.c (tmpnam): Likewise.
55801         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55802         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
55803         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
55804         Likewise.
55805         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
55806         * stdlib/putenv.c (putenv): Likewise.
55807         * stdlib/setenv.c (__add_to_environ): Likewise.
55808         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55809         * stdlib/strtol_l.c (INTERNAL): Likewise.
55810         * string/memmem.c (memmem): Likewise.
55811         * string/strerror.c (strerror): Likewise.
55812         * string/strnlen.c (__strnlen): Likewise.
55813         * string/test-memmem.c (simple_memmem): Likewise.
55814         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
55815         * sunrpc/pm_getport.c (__get_socket): Likewise.
55816         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
55817         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
55818         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
55819         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
55820         Likewise.
55821         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
55822         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
55823         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
55824         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
55825         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
55826         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
55827         Likewise.
55828         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
55829         Likewise.
55830         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
55831         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
55832         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55833         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
55834         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
55835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
55836         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
55837         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
55838         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
55839         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
55840         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55841         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
55842         Likewise.
55843         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
55844         Likewise.
55845         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
55846         Likewise.
55847         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
55848         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55849         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
55850         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
55851         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
55852         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
55853         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55854         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
55855         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
55856         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
55857         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
55858         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55859         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55860         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
55861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55862         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
55863         Likewise.
55864         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
55865         Likewise.
55866         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
55867         Likewise.
55868         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
55869         Likewise.
55870         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55871         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55872         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
55873         Likewise.
55874         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
55875         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
55876         * sysdeps/posix/opendir.c (__opendirat): Likewise.
55877         * sysdeps/posix/sleep.c: Likewise.
55878         * sysdeps/posix/tempname.c: Likewise.
55879         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
55880         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55881         Likewise.
55882         * sysdeps/powerpc/powerpc32/dl-machine.h
55883         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
55884         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55885         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55886         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
55887         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
55888         Likewise.
55889         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
55890         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
55891         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55892         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
55893         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55894         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
55895         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
55896         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
55897         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55898         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
55899         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
55900         (elf_machine_lazy_rel): Likewise.
55901         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55902         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
55903         (elf_machine_lazy_rel): Likewise.
55904         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
55905         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
55906         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
55907         * sysdeps/unix/grantpt.c (grantpt): Likewise.
55908         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
55909         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
55910         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
55911         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55912         Likewise.
55913         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
55914         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
55915         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
55916         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
55917         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55918         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55919         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
55920         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
55921         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
55922         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55923         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55924         Likewise.
55925         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
55926         (__posix_fallocate64_l64): Likewise.
55927         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
55928         (posix_fallocate): Likewise.
55929         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
55930         Likewise.
55931         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55932         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
55933         (getifaddrs_internal): Likewise.
55934         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
55935         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
55936         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
55937         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
55938         * sysdeps/unix/sysv/linux/posix_fallocate64.c
55939         (__posix_fallocate64_l64): Likewise.
55940         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
55941         Likewise.
55942         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
55943         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
55944         (__get_clockfreq): Likewise.
55945         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
55946         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
55947         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
55948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55950         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
55951         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
55952         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
55953         Likewise.
55954         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
55955         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
55956         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
55957         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
55958         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55959         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
55960         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
55961         Likewise.
55962         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55963         (posix_fallocate): Likewise.
55964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55965         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
55966         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
55967         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
55968         (elf_machine_rela, elf_machine_rela_relative)
55969         (elf_machine_lazy_rel): Likewise.
55970         * time/asctime.c (asctime_internal): Likewise.
55971         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
55972         * time/tzset.c (__tzset_parse_tz): Likewise.
55973         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
55974         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
55975         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
55976         * wcsmbs/wcsmbsload.h: Likewise.
55978         [BZ #15894]
55979         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
55981         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
55982         (arena_get2): Remove THREAD_STATS conditionals.
55983         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
55984         (__malloc_stats, int): Likewise.
55986 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
55988         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
55989         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
55991         * manual/setjmp.texi: Fix typos/grammar errors.
55993         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
55994         Only return early when n is <= 0.  Delete unused return statement.
55996         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
55997         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
55998         * debug/tst-longjmp_chk3.c: New file.
56000         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
56001         (test_main): Replace code with set_fortify_handler call.
56002         * debug/test-strcpy_chk.c: Likewise.
56003         * debug/tst-chk1.c: Likewise.
56004         * debug/tst-longjmp_chk.c: Likewise.
56005         * test-skeleton.c: Include fcntl.h & paths.h
56006         (set_fortify_handler): Define.
56008         * debug/tst-longjmp_chk.c: Add header comment and include
56009         ../test-skeleton.c.
56010         (do_test): Mark static.
56011         (TEST_FUNCTION): Define.
56013         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
56014         (IP_PMTUDISC_INTERFACE): Likewise.
56015         (IP_MULTICAST_IF): Likewise.
56016         (IP_MULTICAST_TTL): Likewise.
56017         (IP_MULTICAST_LOOP): Likewise.
56018         (IP_ADD_MEMBERSHIP): Likewise.
56019         (IP_DROP_MEMBERSHIP): Likewise.
56020         (IP_UNBLOCK_SOURCE): Likewise.
56021         (IP_BLOCK_SOURCE): Likewise.
56022         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
56023         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
56024         (IP_MSFILTER): Likewise.
56025         (MCAST_JOIN_GROUP): Likewise.
56026         (MCAST_BLOCK_SOURCE): Likewise.
56027         (MCAST_UNBLOCK_SOURCE): Likewise.
56028         (MCAST_LEAVE_GROUP): Likewise.
56029         (MCAST_JOIN_SOURCE_GROUP): Likewise.
56030         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56031         (MCAST_MSFILTER): Likewise.
56032         (IP_MULTICAST_ALL): Likewise.
56033         (IP_UNICAST_IF): Likewise.
56035         * timezone/Makefile: Delete $(have-ksh) check.
56036         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
56037         * timezone/tzselect.ksh: Add +x mode bits.
56039         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
56040         (ANON_INODE_FS_MAGIC): Likewise.
56041         (BDEVFS_MAGIC): Likewise.
56042         (BINFMTFS_MAGIC): Likewise.
56043         (BTRFS_TEST_MAGIC): Likewise.
56044         (CRAMFS_MAGIC_WEND): Likewise.
56045         (DEBUGFS_MAGIC): Likewise.
56046         (ECRYPTFS_SUPER_MAGIC): Likewise.
56047         (EXT3_SUPER_MAGIC): Likewise.
56048         (EXT4_SUPER_MAGIC): Likewise.
56049         (FUTEXFS_SUPER_MAGIC): Likewise.
56050         (HOSTFS_SUPER_MAGIC): Likewise.
56051         (HUGETLBFS_MAGIC): Likewise.
56052         (MINIX3_SUPER_MAGIC): Likewise.
56053         (MTD_INODE_FS_MAGIC): Likewise.
56054         (NILFS_SUPER_MAGIC): Likewise.
56055         (OPENPROM_SUPER_MAGIC): Likewise.
56056         (PIPEFS_MAGIC): Likewise.
56057         (PSTOREFS_MAGIC): Likewise.
56058         (QNX6_SUPER_MAGIC): Likewise.
56059         (RAMFS_MAGIC): Likewise.
56060         (REISERFS_SUPER_MAGIC_STRING): Likewise.
56061         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56062         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
56063         (SECURITYFS_MAGIC): Likewise.
56064         (SELINUX_MAGIC): Likewise.
56065         (SMACK_MAGIC): Likewise.
56066         (SOCKFS_MAGIC): Likewise.
56067         (SQUASHFS_MAGIC): Likewise.
56068         (STACK_END_MAGIC): Likewise.
56069         (TMPFS_MAGIC): Likewise.
56070         (USBDEVICE_SUPER_MAGIC): Likewise.
56071         (V9FS_MAGIC): Likewise.
56072         (XENFS_SUPER_MAGIC): Likewise.
56073         (CRAMFS_MAGIC): Fix typo in comment.
56074         (EXT2_SUPER_MAGIC): Update comment.
56075         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
56077 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
56079         * sysdeps/arm: Move directory from ports/sysdeps/arm.
56080         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56081         * sysdeps/unix/sysv/linux/arm: Move directory from
56082         ports/sysdeps/unix/sysv/linux/arm.
56083         * README: Update listing for arm-*-linux-gnueabi.
56085         * README: Remove mention of am33.
56087 2014-02-07  Roland McGrath  <roland@hack.frob.com>
56089         * bits/sigset.h (__sigemptyset): Use a statement expression rather
56090         than the comma operator, to avoid "rhs of comma has no effect"
56091         compiler warnings.
56092         (__sigfillset, __sigandset, __sigorset): Likewise.
56093         * include/signal.h (__sigemptyset): Likewise.
56094         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56096 2014-02-07  Allan McRae  <allan@archlinux.org>
56098         * version.h (RELEASE): Set to "development".
56099         (VERSION): Set to "2.19.90"
56100         * NEWS: Add 2.20 section.
56102 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
56104         [BZ #16529]
56105         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56107 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56109         * manual/contrib.texi: Update entry for Carlos O'Donell,
56110         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56112 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
56114         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56116         * sysdeps/unix/sysv/linux/kernel-features.h
56117         [__LINUX_KERNEL_VERSION >= 0x020621]
56118         (__ASSUME_PROC_PID_TASK_COMM): Define.
56120 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56122         [BZ #16398]
56123         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56124         conversion when destination buffer does not have enough space.
56125         * libio/tst-ftell-partial-wide.c: New test case.
56126         * libio/Makefile (tests): Add tst-ftell-partial-wide.
56128         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56129         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
56130         Leonard and Allan McRae.
56132 2014-02-04  David S. Miller  <davem@davemloft.net>
56134         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56135         32-bit.
56137 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56140         New file
56141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56142         New file
56143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56144         New file.
56145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56146         New file.
56147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56148         New file.
56149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56150         New file.
56151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
56152         New file.
56153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
56154         New file.
56155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
56156         New file.
56157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
56158         New file.
56159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
56160         New file.
56161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
56162         New file.
56163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
56164         New file.
56166 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56168         * nptl/shlib-versions: Change powerpc*le start to 2.17.
56169         * shlib-versions: Likewise.
56171 2014-02-04  Roland McGrath  <roland@hack.frob.com>
56172             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56174         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
56175         (abilist-pattern): New variable, set to %-le.abilist.
56177         * Makerules (abilist-pattern): New variable.
56178         (vpath): Use $(abilist-pattern) in place of %.abilist.
56179         (check-abi-% pattern rule): Likewise.
56180         (check-abi, update-abi): Likewise.
56182 2014-02-04  Eric Wong  <normalperson@yhbt.net>
56184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56186 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
56188         * manual/startup.texi: Add next, previous, and top entries for
56189         the `Program Arguments' and `Environment Variables' nodes.
56191 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
56193         * manual/macros.texi: Add comments before MTASC-safety macros.
56195         * manual/users.texi: Document MTASC-safety properties.
56197         * manual/threads.texi (pthread_key_create, pthread_key_delete)
56198         (pthread_getspecific, pthread_setspecific): Format with
56199         @deftypefun, and add @safety note.
56200         * manual/signal.texi: Move comments that analyze the above
56201         functions to their home place.
56203 2014-02-03  Allan McRae  <allan@archlinux.org>
56205         * po/sl.po: Update Slovenian translation from translation project.
56207 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
56209         * manual/time.texi (timegm): Add missing blank after @c.
56210         Reported by Joseph Myers <joseph@codesourcery.com>.
56212 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
56214         * manual/check-safety.sh: New.
56215         * manual/Makefile ($(objpfx)stamp-summary): Run it.
56217         * manual/terminal.texi: Document MTASC-safety properties.
56219         * manual/filesys.texi: Document MTASC-safety properties.
56221         * manual/errno.texi: Document MTASC-safety properties.
56223         * manual/intro.texi: Document safety identifiers and
56224         conditionals.
56226         * manual/string.texi (wcstok): Fix prototype.
56227         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
56229         * manual/time.texi: Document MTASC-safety properties.
56231         * manual/string.texi: Document MTASC-safety properties.
56233         * manual/threads.texi: Document MTASC-safety properties.
56235         * manual/stdio.texi: Document MTASC-safety properties.
56237         * manual/syslog.texi: Document MTASC-safety properties.
56239         * manual/sysinfo.texi: Document MTASC-safety properties.
56241         * manual/startup.texi: Document MTASC-safety properties.
56243         * manual/socket.texi: Document MTASC-safety properties.
56245         * manual/signal.texi: Document MTASC-safety properties.
56247 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
56249         * manual/setjmp.texi: Document MTASC-safety properties.
56251         * manual/search.texi: Document MTASC-safety properties.
56253         * manual/resource.texi: Document MTASC-safety properties.
56255         * manual/process.texi: Document MTASC-safety properties.
56257         * manual/platform.texi: Document MTASC-safety properties.
56259         * manual/pipe.texi: Document MTASC-safety properties.
56261         * manual/pattern.texi: Document MTASC-safety properties.
56263         * manual/message.texi: Document MTASC-safety properties.
56265         [BZ #12751]
56266         * manual/memory.texi: Document MTASC-safety properties.
56268         * manual/math.texi: Document MTASC-safety properties.
56270         * manual/locale.texi: Document MTASC-safety properties.
56272         * manual/llio.texi: Document MTASC-safety properties.
56274         * manual/libdl.texi: New.
56276         * manual/lang.texi: Document MTASC-safety properties.
56278         * manual/job.texi: Document MTASC-safety properties.
56280         * manual/getopt.texi: Document MTASC-safety properties.
56282         * manual/ctype.texi: Document MTASC-safety properties.
56284 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
56286         [BZ #16046]
56287         * csu/libc-tls.c (static_map): Remove variable.
56288         (__libc_setup_tls): Use main executable's link map for TLS data.
56289         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
56290         casing for LM_ID_BASE and GL(dl_nns).
56291         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
56292         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
56293         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
56294         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
56295         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
56296         member.
56297         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
56298         l_phnum members.
56300 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
56302         * manual/debug.texi: Document MTASC-safety properties.
56304 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
56306         [BZ #16510]
56307         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
56308         of __x86_64__ when disabling x87 inline functions.
56310 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
56312         * manual/charset.texi: Document MTASC-safety properties.
56314         * manual/crypt.texi: Document MTASC-safety properties.
56316         * manual/conf.texi: Document MTASC-safety properties.
56318         * manual/arith.texi: Document MTASC-safety properties.
56320         * manual/argp.texi: Document MTASC-safety properties.
56322         * manual/macros.texi: Introduce macros to document multi
56323         thread, asynchronous signal and asynchronous cancellation
56324         safety properties.
56325         * manual/intro.texi: Introduce the properties themselves.
56327 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56329         * sysdeps/sh/sh4/Makefile: New file.
56331 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
56333         * math/gen-libm-test.pl ($srcdir): New variable.
56334         ($auto_input): Use it.
56336 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56338         [BZ #16506]
56339         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
56340         access beyond array bounds when parsing netgroups file.
56342         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
56343         the old buffer before realloc.
56345 2014-01-27  Allan McRae  <allan@archlinux.org>
56347         * po/fr.po: Update French translation from translation project.
56349 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56351         * sysdeps/sh/libm-test-ulps: Regenerate.
56353 2014-01-24  David S. Miller  <davem@davemloft.net>
56355         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
56357 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56359         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
56360         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
56362 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56364         [BZ #16474]
56365         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
56366         string pointers after reallocation.
56368 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56370         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
56371         __SH4A__ instead of __SH_FPU_ANY__.
56373 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56375         * sysdeps/sh/fpu_control.h: New file.
56376         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56377         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56378         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56379         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56380         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56381         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56382         * sysdeps/sh/sys/ucontext.h: Remove.
56383         * sysdeps/sh/sys: Remove directory.
56385 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56387         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56388         s390/sys/ucontext.h.
56389         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56390         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56392 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
56394         [BZ #15605]
56395         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56397 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56399         [BZ #16431]
56400         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56401         Adjust the vDSO correctly for internal calls.
56402         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56404 2014-01-20  Allan McRae  <allan@archlinux.org>
56406         * po/ca.po: Update Catalan translation from translation project.
56408 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
56410         * sysdeps/s390/sotruss-lib.c: New file.
56412 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56414         [BZ #16430]
56415         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56416         (__GI___gettimeofday): Alias for a different internal symbol to avoid
56417         local calls issues by not having a PLT stub required for IFUNC calls.
56418         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56420 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
56422         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56423         * math/test-fpucw-static.c: Likewise.
56425 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56427         [BZ #16453]
56428         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56430 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56432         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56433         implementation for powerpc.
56435 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
56437         [BZ #14782]
56438         * sysdeps/posix/system.c (__libc_system): Do not enable
56439         asynchronous cancellation.
56441 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56443         [BZ #16427]
56444         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56445         handling only for numbers special also in the IEEE case.
56447 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56449         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56451 2014-01-11  Allan McRae  <allan@archlinux.org>
56453         * po/bg.po: Update Bulgarian translation from translation project.
56455         * po/de.po: Update German translation from translation project.
56457 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56459         * sysdeps/generic/gcc-compat.h: New file.
56461 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56463         * benchtests/asin-inputs: Correct slow inputs.
56464         * benchtests/acos-inputs: Likewise.
56466 2014-01-10  Allan McRae  <allan@archlinux.org>
56468         * po:sv.po: Update Swedish translation from translation project.
56470         * po/vi.po: Update Vietnamese translation from translation project.
56472         * po/eo.po: Update Esperanto translation from translation project.
56474         * po/cs.po: Update Czech translation from translation project.
56476         * po/nl.po: Update Dutch translation from translation project.
56478         * po/pl.po: Update Polish translation from translation project.
56480         * po/ru.po: Update Russian translation from translation project.
56482         * po/uk.po: Update Ukrainian translation from translation project.
56484 2014-01-08  Brooks Moses  <bmoses@google.com>
56486         * elf/dl-load.c: Fix comment typo.
56488 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56490         * po/header.pot: Rename to...
56491         * po/pot.header: ... this.
56492         * po/Makefile: Use pot.header.
56494 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56495             Maxim Kuvyrkov  <maxim@kugelworks.com>
56497         [BZ #16394]
56498         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56499         SRC and DEST against LEN.
56501 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56503         [BZ #16414]
56504         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56505         implementation.
56506         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56508 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56512 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56514         [BZ #16408]
56515         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56516         for large positive arguments.
56518 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56520         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56522         * math/auto-libm-test-in: Mark various tests with
56523         xfail-rounding:ldbl-128ibm.
56524         * math/auto-libm-test-out: Regenerated.
56526         [BZ #16407]
56527         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56528         Increase overflow threshold.
56530 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56532         [BZ #14286]
56533         * stdio-common/vfprintf.c: Check for integer overflow.
56535 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56537         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56538         the first argument and return value of __tls_get_addr_internal.
56540 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56542         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56543         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56545 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56547         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56548         * sysdeps/s390/rtld-global-offsets.sym: New file.
56549         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56550         GLIBC_2.19 symbol.
56551         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56552         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56553         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56554         ... this.
56555         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56556         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56557         ... this.
56558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56559         Regenerate.
56560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56561         Regenerate.
56562         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56563         halfs of GPRs for high_gprs contexts.
56564         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56565         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
56566         field.
56567         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56568         uc_flags field.
56569         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56570         64 bit versions:
56571         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56572         for high GPRs (uc_high_gprs) and for future extensions
56573         (__reserved).
56574         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56575         for future extensions (__reserved).
56576         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56577         64 bit versions:
56578         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56579         SC_HIGHGPRS offset definition.
56580         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56581         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56583         * Versions.def: Add GLIBC_2.19 for libpthread.
56584         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56585         siglongjmp for libpthread with GLIBC_2.19 symver.
56586         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56587         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56588         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56589         * sysdeps/s390/__longjmp.c: New file.
56590         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56591         * sysdeps/s390/longjmp.c: New file.
56592         * sysdeps/s390/setjmp.S: New file.
56593         * sysdeps/s390/sigjmp.S: New file.
56594         * sysdeps/s390/v1-longjmp.c: New file.
56595         * sysdeps/s390/v1-setjmp.h: New file.
56596         * sysdeps/s390/v1-sigjmp.c: New file.
56597         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56598         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56599         GLIBC_2.19 version.
56600         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56601         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56602         versioned symbols for ____longjmp_chk.
56603         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56604         Likewise.
56605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56606         Regenerate.
56607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56608         Regenerate.
56609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56610         Regenerate.
56611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56612         Regenerate.
56613         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56614         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56615         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56616         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56617         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56618         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56619         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56620         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56621         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56622         * sysdeps/s390/rtld-__longjmp.c: New file.
56623         * sysdeps/s390/rtld-setjmp.S: New file.
56625 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
56627         [BZ #16400]
56628         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56629         Return -__logl (x) for small positive arguments without evaluating
56630         a polynomial.
56632 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
56634         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56635         Rename to ...
56636         (__ptrace_peeksiginfo_args): ... this.
56637         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56638         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56639         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56641 2014-01-06  Allan McRae  <allan@archlinux.org>
56643         * inet/netinet/in.h: Fix typo in comment.
56645 2014-01-05  Andreas Jaeger  <aj@suse.de>
56647         * sysdeps/i386/fpu/libm-test-ulps: Update.
56649 2014-01-05  Allan McRae  <allan@archlinux.org>
56651         * po/libc.pot: Regenerated.
56653         * malloc/memusagestat.c: Fix gettext call formatting.
56655 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
56657         * nscd/nscd.c: Improve usage() output.
56659 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
56661         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56662         * sysdeps/unix/sysv/linux/configure: Regenerated.
56663         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56664         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56666 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56668         [BZ #16390]
56669         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56670         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56672 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56674         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56675         extra tokens at end of #undef directive.
56676         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56677         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56678         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56680 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56682         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56684         * math/auto-libm-test-in: Mark various tests with
56685         xfail-rounding:ldbl-128ibm.
56686         * math/auto-libm-test-out: Regenerated.
56688 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
56690         [BZ #16386]
56691         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56692         numbers with subnormal high part when calculating exponent.
56694         [BZ #16385]
56695         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56696         fabs.
56698         [BZ #16384]
56699         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56700         M_LN2l.
56701         (__ieee754_acoshl): Use __log1pl not __log1p.
56703 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
56705         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56706         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56707         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56708         (grow_heap, heap_trim, _int_new_arena, get_free_list)
56709         (reused_arena, arena_get2): Convert to GNU style.
56710         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56711         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56712         (memalign_check, __malloc_set_state): Likewise.
56713         * malloc/mallocbug.c (main): Likewise.
56714         * malloc/malloc.c (__malloc_assert, malloc_init_state)
56715         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56716         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56717         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56718         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56719         (__posix_memalign, malloc_info): Likewise.
56720         * malloc/malloc.h: Likewise.
56721         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56722         (mallochook, memalignhook, reallochook, mabort): Likewise.
56723         * malloc/mcheck.h: Likewise.
56724         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56725         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56726         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56727         * malloc/morecore.c (__default_morecore): Likewise.
56728         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56729         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56730         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56731         (print_and_abort): Likewise.
56732         * malloc/obstack.h: Likewise.
56733         * malloc/set-freeres.c (__libc_freeres): Likewise.
56734         * malloc/tst-mallocstate.c (main): Likewise.
56735         * malloc/tst-mtrace.c (main): Likewise.
56736         * malloc/tst-realloc.c (do_test): Likewise.
56738 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56740         [BZ #16366]
56741         * nscd/netgroupcache.c (do_notfound): New function.
56742         (addgetnetgrentX): Use it.
56744         [BZ # 16365]
56745         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56746         NSS_STATUS_NOTFOUND.
56748 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
56750         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56753 2014-01-01  Allan McRae  <allan@archlinux.org>
56755         * scripts/update-copyrights: Update configure input file suffix.
56757         * NEWS: Update copyright year.
56758         * catgets/gencat.c: Likewise.
56759         * csu/version.c: Likewise.
56760         * debug/catchsegv.sh: Likewise.
56761         * debug/pcprofiledump.c: Likewise.
56762         * debug/xtrace.sh: Likewise.
56763         * elf/ldconfig.c: Likewise.
56764         * elf/ldd.bash.in: Likewise.
56765         * elf/pldd.c: Likewise.
56766         * elf/sotruss.ksh: Likewise.
56767         * elf/sprof.c: Likewise.
56768         * iconv/iconv_prog.c: Likewise.
56769         * iconv/iconvconfig.c: Likewise.
56770         * locale/programs/locale.c: Likewise.
56771         * locale/programs/localedef.c: Likewise.
56772         * login/programs/pt_chown.c: Likewise.
56773         * malloc/memusage.sh: Likewise.
56774         * malloc/memusagestat.c: Likewise.
56775         * malloc/mtrace.pl: Likewise.
56776         * manual/libc.texinfo: Likewise.
56777         * nscd/nscd.c: Likewise.
56778         * nss/getent.c: Likewise.
56779         * nss/makedb.c: Likewise.
56780         * posix/getconf.c: Likewise.
56781         * scripts/test-installation.pl: Likewise.
56783         * All files with FSF copyright notices: Update copyright dates
56784         using scripts/update-copyrights.
56785         * intl/plural.c: Regenerated.
56786         * locale/programs/charmap-kw.h: Likewise.
56787         * locale/programs/locfile-kw.h: Likewise.
56789 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
56791         * sysdeps/unix/sysv/linux/configure: Regenerated.
56792         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
56793         the linux/fanotify.h header.
56794         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
56795         HAVE_LINUX_FANOTIFY_H is defined.
56797 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56799         * benchtests/cos-inputs: New inputs.
56800         * benchtests/sin-inputs: Likewise.
56802         * benchtests/atan-inputs: New inputs. Fix name of multiple
56803         precision fallback inputs.
56805         * benchtests/atanh-inputs: New inputs.
56806         * benchtests/tanh-inputs: Likewise.
56808         * benchtests/acosh-inputs: New inputs.
56809         * benchtests/asinh-inputs: Likewise.
56811         * benchtests/cosh-inputs: New inputs.
56812         * benchtests/sinh-inputs: Likewise.
56814         * benchtests/acos-inputs: Add more inputs.
56815         * benchtests/asin-inputs: Likewise.
56817 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
56819         [BZ #16375]
56820         * manual/arith.texi: Fix spelling.
56821         * manual/charset.texi: Likewise.
56822         * manual/errno.texi: Likewise.
56823         * manual/filesys.texi: Likewise.
56824         * manual/lang.texi: Likewise.
56825         * manual/llio.texi: Likewise.
56826         * manual/locale.texi: Likewise.
56827         * manual/message.texi: Likewise.
56828         * manual/resource.texi: Likewise.
56829         * manual/search.texi: Likewise.
56830         * manual/setjmp.texi: Likewise.
56831         * manual/stdio.texi: Likewise.
56832         * manual/string.texi: Likewise.
56833         * manual/sysinfo.texi: Likewise.
56834         * manual/time.texi: Likewise.
56836 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
56838         * po/sl.po: New file.
56840 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
56842         * .gitignore: Add core/.gdbinit/.gdb_history.
56844 2013-12-27  Allan McRae  <allan@archlinux.org>
56846         [BZ #16369]
56847         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
56848         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
56850 2013-12-24  Brooks Moses  <bmoses@google.com>
56852         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
56853         all compilers that claim C++98 compliance, not just GCC.
56854         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
56855         Likewise.
56857 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56859         * NEWS: Restore accidentally deleted bug-fix entries.
56861 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56862             Ondřej Bílka  <neleai@seznam.cz>
56864         [BZ #15073]
56865         * malloc/malloc.c (_int_free): Perform sanity check only if we
56866         have_lock.
56868 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
56870         [BZ #12986]
56871         * manual/stdio.texi (String Input Conversions): Clarify that character
56872         classes are not supported.
56874 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56878 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
56880         [BZ #16337]
56881         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56882         Calculate results for small negative arguments directly rather
56883         than using reflection formula with special underflow handling.
56885         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
56886         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
56887         sysdeps/unix/bsd/bsd4.4/syscalls.list.
56888         (fchflags): Likewise.
56889         (revoke): Likewise.
56890         (setlogin): Likewise.
56891         (sigaltstack): Likewise.
56892         (wait4): Likewise.
56893         (sigblock): Remove.
56894         (sigsetmask): Likewise.
56895         (wait3): Likewise.
56896         (waitpid): Likewise.
56897         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
56898         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
56899         file.
56900         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
56901         * sysdeps/unix/bsd/Makefile: ... here.
56902         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
56903         * sysdeps/unix/bsd/Versions: ... here.
56904         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
56905         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
56906         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
56907         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
56908         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
56909         * sysdeps/unix/bsd/sigblock.c: ... here.
56910         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
56911         * sysdeps/unix/bsd/sigsetmask.c: ... here.
56912         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
56913         * sysdeps/unix/bsd/sigvec.c: ... here.
56914         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
56915         * sysdeps/unix/bsd/tcdrain.c: ... here.
56916         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
56917         * sysdeps/unix/bsd/tcgetattr.c: ... here.
56918         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
56919         * sysdeps/unix/bsd/tcsetattr.c: ... here.
56920         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
56921         * sysdeps/unix/bsd/wait.c: ... here.
56922         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
56923         * sysdeps/unix/bsd/wait3.c: ... here.
56924         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
56925         * sysdeps/unix/bsd/waitpid.c: ... here.
56927 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
56929         [BZ #16356]
56930         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
56931         round-to-nearest for [!USE_AS_EXPM1L].
56932         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
56933         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
56934         more tests of exp and exp10.  Expect some exp10 tests to miss
56935         exceptions or fail in directed rounding modes.
56936         * math/auto-libm-test-out: Regenerated.
56937         * math/libm-test.inc (exp10_tonearest_test_data): New array.
56938         (exp10_test_tonearest): New function.
56939         (exp10_towardzero_test_data): New array.
56940         (exp10_test_towardzero): New function.
56941         (exp10_downward_test_data): New array.
56942         (exp10_test_downward): New function.
56943         (exp10_upward_test_data): New array.
56944         (exp10_test_upward): New function.
56945         (main): Call the new functions.
56946         * sysdeps/i386/fpu/libm-test-ulps: Update.
56947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56949 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
56951         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
56952         asinh, atan, atan2, atanh, cbrt, cos and cosh.
56953         * math/auto-libm-test-out: Regenerated.
56954         * math/libm-test.inc (acosh_test_data): Add more tests.
56955         (atanh_test_data): Likewise.
56956         (ceil_test_data): Likewise.
56957         (copysign_test_data): Likewise.
56958         * sysdeps/i386/fpu/libm-test-ulps: Update.
56959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56961         * timezone/checktab.awk: Update from tzcode 2013i.
56962         * timezone/private.h: Likewise.
56963         * timezone/scheck.c: Likewise.
56964         * timezone/tzfile.h: Likewise.
56965         * timezone/tzselect.ksh: Likewise.
56966         * timezone/zdump.c: Likewise.
56967         * timezone/zic.c: Likewise.
56969         * math/auto-libm-test-in: Add tests of cpow.
56970         * math/auto-libm-test-out: Regenerated.
56971         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
56972         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56973         mpc_cc_c.
56974         (func_calc_desc): Add mpc_cc_c union field.
56975         (test_functions): Add cpow.
56976         (special_fill_2pi): New function.
56977         (special_real_inputs): Add 2pi.
56978         (calc_generic_results): Handle mpc_cc_c.
56979         * sysdeps/i386/fpu/libm-test-ulps: Update.
56980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56982         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
56983         csqrt, ctan and ctanh.
56984         * math/auto-libm-test-out: Regenerated.
56985         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56986         (TEST_COND_x86): Likewise.
56987         (ccos_test_data): Use AUTO_TESTS_c_c.
56988         (ccosh_test_data): Likewise.
56989         (cexp_test_data): Likewise.
56990         (clog_test_data): Likewise.
56991         (csqrt_test_data): Likewise.
56992         (ctan_test_data): Likewise.
56993         (ctan_tonearest_test_data): Likewise.
56994         (ctan_towardzero_test_data): Likewise.
56995         (ctan_downward_test_data): Likewise.
56996         (ctan_upward_test_data): Likewise.
56997         (ctanh_test_data): Likewise.
56998         (ctanh_tonearest_test_data): Likewise.
56999         (ctanh_towardzero_test_data): Likewise.
57000         (ctanh_downward_test_data): Likewise.
57001         (ctanh_upward_test_data): Likewise.
57002         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57003         mpc_c_c.
57004         (func_calc_desc): Add mpc_c_c union field.
57005         (FUNC_mpc_c_c): New macro.
57006         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
57007         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
57008         ctanh.
57009         (special_fill_min_subnorm_p120): New function.
57010         (special_real_inputs): Add min_subnorm_p120.
57011         (calc_generic_results): Handle mpc_c_c.
57012         * sysdeps/i386/fpu/libm-test-ulps: Update.
57013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57015 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57017         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
57018         (do_sin_slow): New functions.
57019         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
57020         (cslow2, csloww1, csloww2): Use the new functions.
57022         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
57023         Use M to change sign of result instead of X.  Assume X is
57024         positive.
57025         (csloww1): Likewise.
57026         (__sin): Adjust.
57027         (__cos): Adjust.
57029         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
57030         arguments A and DA.
57031         (__sin): Adjust.
57032         (__cos): Likewise.
57034         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
57035         (__cos): Likewise.
57036         (sloww1): Don't adjust sign of DX.
57037         (csloww1): Likewise.
57038         (sloww2): Use X directly and don't adjust sign of DX.
57039         (csloww2): Likewise.
57041 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57043         * math/auto-libm-test-in: Add tests of cabs and carg.
57044         * math/auto-libm-test-out: Regenerated.
57045         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
57046         (carg_test_data): Likewise.
57047         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57048         mpc_c_f.
57049         (func_calc_desc): Add mpc_c_f union field.
57050         (test_functions): Add cabs and carg.
57051         (calc_generic_results): Handle mpc_c_f.
57053         * sysdeps/powerpc/powerpc32/libgcc-compat.S
57054         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
57055         as a macro and a compat symbol.
57056         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
57057         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
57058         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
57059         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
57060         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
57061         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
57062         not use .hidden.
57063         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
57064         Likewise.
57065         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
57066         Likewise.
57067         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
57068         Likewise.
57069         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
57070         Likewise.
57071         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
57072         Likewise.
57073         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
57074         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
57075         from GLIBC_2.3.2.
57077 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57081 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57083         * manual/texinfo.tex: Update to version 2013-11-26.10 with
57084         trailing whitespace removed.
57085         * scripts/config.guess: Update to version 2013-11-29.
57086         * scripts/config.sub: Update to version 2013-10-01.
57088         * math/auto-libm-test-in: Add tests of sincos.
57089         * math/auto-libm-test-out: Regenerated.
57090         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57091         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57092         mpfr_f_11.
57093         (func_calc_desc): Add mpfr_f_11 union field.
57094         (test_functions): Add sincos.
57095         (calc_generic_results): Handle mpfr_f_11.
57096         * sysdeps/i386/fpu/libm-test-ulps: Update.
57097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57099 2013-12-19  Andreas Schwab  <schwab@suse.de>
57101         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57102         CALL_MCOUNT.
57103         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57104         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57105         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57107 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57109         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57110         * sysdeps/i386/fpu/libm-test-ulps: Update.
57111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57113         [BZ #16293]
57114         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57115         round-to-nearest mode when using frndint.
57116         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57117         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57118         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57119         Likewise.
57120         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
57121         sinh test to fail.
57122         * math/auto-libm-test-out: Regenerated.
57123         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57124         (TEST_COND_x86): Likewise.
57125         (expm1_tonearest_test_data): New array.
57126         (expm1_test_tonearest): New function.
57127         (expm1_towardzero_test_data): New array.
57128         (expm1_test_towardzero): New function.
57129         (expm1_downward_test_data): New array.
57130         (expm1_test_downward): New function.
57131         (expm1_upward_test_data): New array.
57132         (expm1_test_upward): New function.
57133         (main): Run the new test functions.
57134         * sysdeps/i386/fpu/libm-test-ulps: Update.
57135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57137         * include/features.h: Update comment documenting feature test
57138         macros.  Mention _DEFAULT_SOURCE in comment.
57139         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57140         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57141         _BSD_SOURCE and _SVID_SOURCE.
57142         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57143         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57144         !_SVID_SOURCE]: Likewise.
57145         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57146         (__USE_POSIX_IMPLICITLY): Define.
57147         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57148         (_POSIX_SOURCE): Undefine and redefine.
57149         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57150         (_POSIX_C_SOURCE): Likewise.
57151         * manual/creature.texi (_DEFAULT_SOURCE): Document.
57152         (Feature Test Macros): Update documentation of default features.
57154 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57156         * benchtests/Makefile: Add bench-strtok.
57157         * benchtests/bench-strtok.c: New file: strtok benchtest.
57159 2013-12-19  Allan McRae  <allan@archlinux.org>
57161         * manual/install.texi: Suppress menu for plain text output.
57162         * INSTALL: Regenerated.
57164 2013-12-18  Brooks Moses  <bmoses@google.com>
57166         [BZ #15846]
57167         * misc/getauxval.c: Include errno.h.
57168         (__getauxval): Set errno to ENOENT if the requested type is not
57169         found.
57170         * misc/sys/auxv.h (getauxval): Document that it may set errno;
57171         don't declare with __attribute_const__.
57172         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
57173         * manual/startup.texi: Document that getauxval sets errno.
57175 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57177         * math/auto-libm-test-in: Add tests of jn and yn.
57178         * math/auto-libm-test-out: Regenerated.
57179         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
57180         (yn_test_data): Likewise.
57181         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57182         mpfr_if_f.
57183         (func_calc_desc): Add mpfr_if_f union field.
57184         (FUNC_mpfr_if_f): New macro.
57185         (test_functions): Add jn and yn.
57186         (calc_generic_results): Assert type of second input for
57187         mpfr_ff_f.  Handle mpfr_if_f.
57188         (output_for_one_input_case): Disable all checking for arguments
57189         fitting floating-point types in case of an integer argument.
57190         * sysdeps/i386/fpu/libm-test-ulps: Update.
57191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57194         Don't expect fegetround reference in libm.so.
57196 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57198         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
57199         $(config-cflags-nofma).
57201 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57203         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
57204         * math/auto-libm-test-out: Regenerated.
57206         [BZ #16338]
57207         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
57208         to determine exponent and adjust argument to have exponent of -1.
57209         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
57210         log2.
57211         * math/auto-libm-test-out: Regenerated.
57212         * sysdeps/i386/fpu/libm-test-ulps: Update.
57213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57215 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
57217         * manual/probes.texi: Remove cases when per-thread arenas are
57218         disabled.
57220 2013-12-18  Andreas Schwab  <schwab@suse.de>
57222         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
57223         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
57224         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
57225         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
57226         * sysdeps/i386/i686/multiarch/Makefile: Update.
57227         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
57229 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57231         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
57232         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
57234 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
57236         [BZ #15968]
57237         Support TZ transition times < 00:00:00.
57238         This is needed for version-3 tz-format files; it supports time
57239         stamps past 2037 for America/Godthab (the only entry in the tz
57240         database for which this change is relevant).
57241         * manual/time.texi (TZ Variable): Document transition times
57242         from -167:59:59 through -00:00:01.
57243         * time/tzset.c (tz_rule): Time of day is now signed.
57244         (__tzset_parse_tz): Parse negative time of day.
57246         Document TZ transition times >= 25:00:00.
57247         * manual/time.texi (TZ Variable): Document transition times from
57248         25:00:00 through 167:59:59.  These are already supported, and this
57249         support will help with version-3 tz-format files.
57251         * manual/time.texi (TZ Variable): Modernize North America example
57252         to reflect current (i.e., 2007-and-later) daylight saving rules.
57254         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
57256 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57258         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
57259         * sysdeps/unix/bsd/bits/stat.h: Likewise.
57260         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
57261         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57262         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
57263         * sysdeps/unix/bsd/bsdstat.h: Likewise.
57264         * sysdeps/unix/bsd/clock.c: Likewise.
57265         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
57266         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
57267         * sysdeps/unix/bsd/init-posix.c: Likewise.
57268         * sysdeps/unix/bsd/poll.c: Likewise.
57269         * sysdeps/unix/bsd/ptsname.c: Likewise.
57270         * sysdeps/unix/bsd/seekdir.c: Likewise.
57271         * sysdeps/unix/bsd/setegid.c: Likewise.
57272         * sysdeps/unix/bsd/seteuid.c: Likewise.
57273         * sysdeps/unix/bsd/setgid.c: Likewise.
57274         * sysdeps/unix/bsd/setrgid.c: Likewise.
57275         * sysdeps/unix/bsd/setruid.c: Likewise.
57276         * sysdeps/unix/bsd/setsid.c: Likewise.
57277         * sysdeps/unix/bsd/setuid.c: Likewise.
57278         * sysdeps/unix/bsd/sigaction.c: Likewise.
57279         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
57280         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
57281         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
57282         * sysdeps/unix/bsd/telldir.c: Likewise.
57283         * sysdeps/unix/bsd/times.c: Likewise.
57284         * sysdeps/unix/bsd/usleep.c: Likewise.
57286         * misc/Makefile (install-lib): Remove libbsd-compat.a.
57287         ($(objpfx)libbsd-compat.a): Remove rule.
57289         * include/features.h (__FAVOR_BSD): Do not define.
57290         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57291         features conflicting with POSIX.
57292         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
57293         (_BSD_SOURCE): Remove description of not being a subset of other
57294         feature test macros.
57295         * manual/job.texi (getpgrp): Do not document BSD version.
57296         (getpgid): Do not document by reference to BSD getpgrp.
57297         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
57298         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
57299         * signal/signal.h [__FAVOR_BSD]: Likewise.
57300         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
57301         instead of making contents conditional on [__FAVOR_BSD].
57302         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
57304 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57308 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57310         [BZ #16314]
57311         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
57312         values below 2**-450, not 2**-500.
57313         * math/auto-libm-test-in: Don't allow spurious underflow from
57314         hypot.
57315         * math/auto-libm-test-out: Regenerated.
57317         [BZ #16316]
57318         [BZ #16330]
57319         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
57320         values of ha and hb and sort them after adjusting subnormal
57321         arguments.
57322         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
57323         Likewise.
57324         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
57325         values of ea and eb and sort them after adjusting subnormal
57326         arguments.
57327         * math/auto-libm-test-in: Do not expect some hypot tests of
57328         subnormals to fail.  Add more hypot tests.
57329         * math/auto-libm-test-out: Regenerated.
57331 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57333         [BZ #13304]
57334         * sysdeps/sh/s_fma.c: New file.
57335         * sysdeps/sh/s_fmaf.c: New file.
57336         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
57337         version.
57338         * sysdeps/sh/Implies: Add sh/soft-fp.
57340 2013-12-16  Roland McGrath  <roland@hack.frob.com>
57342         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
57343         level of indirection to members `objname', `errstring', `malloced'.
57344         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
57345         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
57346         it as the __longjmp argument (just pass 1 instead).
57347         (_dl_catch_error): Initialize C with argument pointers and address of
57348         volatile local ERRCODE rather than copying values out of C at return.
57350 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
57352         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
57353         * math/auto-libm-test-out: Regenerated.
57354         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
57355         (hypot_test_data): Likewise.
57356         (pow_test_data): Likewise.
57357         (pow_tonearest_test_data): Likewise.
57358         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57359         mpfr_ff_f.
57360         (func_calc_desc): Add mpfr_ff_f union field.
57361         (FUNC_mpfr_ff_f): New macro.
57362         (test_functions): Add atan2, hypot and pow.
57363         (special_fill_min): New function.
57364         (special_fill_minus_min): Likewise.
57365         (special_fill_min_subnorm): Likewise.
57366         (special_fill_minus_min_subnorm): Likewise.
57367         (special_real_inputs): Add min, -min, min_subnorm and
57368         -min_subnorm.
57369         (calc_generic_results): Handle mpfr_ff_f.
57370         * sysdeps/i386/fpu/libm-test-ulps: Update.
57371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57373 2013-12-16  Will Newton  <will.newton@linaro.org>
57375         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57376         (Aligned Memory Blocks): Add documentation for aligned_alloc
57377         and suggest it as an alternative to posix_memalign.
57378         (Hooks for Malloc): Document __memalign_hook is also called
57379         for aligned_alloc.  (Summary of Malloc): Add summary for
57380         aligned alloc.  Document __memalign_hook is also called
57381         for aligned_alloc.
57383 2013-12-16  Will Newton  <will.newton@linaro.org>
57385         * manual/memory.texi (Malloc Examples): Clarify default
57386         alignment documentation.  Suggest posix_memalign rather
57387         than memalign or valloc.
57388         (Aligned Memory Blocks): Remove suggestion to use memalign
57389         or valloc.  Remove obsolete comment about BSD.
57390         Document memalign errno values and mark the function obsolete.
57391         Document posix_memalign returned error codes.  Mark valloc
57392         as obsolete.  (Hooks for Malloc): __memalign_hook is also
57393         called for posix_memalign and valloc.
57394         (Summary of Malloc): Add posix_memalign to function summary.
57395         __memalign_hook is also called for posix_memalign and valloc.
57397 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57399         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57400         TAYLOR_SIN.
57401         (__sin): Adjust.
57402         (__cos): Likewise.
57403         (sloww): Use mynumber union.  Expand ternary operator into
57404         if-else statements.
57405         (cslow): use mynumber union.
57407 2013-12-16  Allan McRae  <allan@archlinux.org>
57409         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57410         * configure: Regenerated.
57412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57414         [BZ #14120]
57415         * configure.ac: Added --enable-maintainer-mode. Check for
57416         autoconf when enabled.
57417         * configure: Regenerated.
57419         * nscd/nscd.service: New file.
57420         * nscd/nscd.tmpfiles: New file.
57422 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
57424         [BZ #12100]
57425         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57426         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57427         * sysdeps/x86_64/multiarch/strstr.c: ... here.
57428         (strstr): Add __strstr_sse2_unaligned ifunc.
57429         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57430         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57431         (strcasestr): Remove __strcasestr_sse42 ifunc.
57432         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57436 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57438         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57439         * sysdeps/sh/bits/fenv.h: ... here.
57440         * sysdeps/sh/sh4/fpu/bits: Remove directory.
57442 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57444         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57446         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57447         hypotf multiarch implementations.
57448         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57449         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57450         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57451         multiarch hypot for PPC64.
57452         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57453         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57455         multiarch hypotf for PPC64.
57457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57458         modff multiarch implementations.
57459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57462         multiarch modf for PPC64.
57463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57466         multiarch modff for PPC64.
57468         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57469         and logl multiarch implementations.
57470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57473         multiarch logb for PPC64.
57474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57477         multiarch logb for PPC64.
57478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57481         multiarch logb for PPC64.
57483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57484         isinff multiarch implementation.
57485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57486         file.
57487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57489         multiarch isinf for PPC64.
57490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57491         file.
57492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57493         multiarch isinff for PPC64.
57495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57496         finitef multiarch implementation.
57497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57498         file.
57499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57501         multiarch finite for PPC64.
57502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57503         file.
57504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57505         multiarch finitef for PPC64.
57507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57508         lrint multiarch implementation.
57509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57510         file.
57511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57513         multiarch llrint for PPC64.
57514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57515         multiarch lrint for PPC64.
57517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57518         copysignf multiarch implementation.
57519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57520         file.
57521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57522         file.
57523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57524         multiarch copysign for PPC64.
57525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57526         multiarch copysignf for PPC64.
57528         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57529         multiarch implementation.
57530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57531         file.
57532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57533         file.
57534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57535         file.
57536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57537         file.
57538         multiarch llround for PPC64.
57539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57540         multiarch trunc for PPC64.
57541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57542         multiarch truncf for PPC64.
57544         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57545         multiarch implementation.
57546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57547         file.
57548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57549         file.
57550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57551         file.
57552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57553         file.
57554         multiarch llround for PPC64.
57555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57556         multiarch round for PPC64.
57557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57558         multiarch roundf for PPC64.
57560         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57561         multiarch implementation.
57562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57563         file.
57564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57565         file.
57566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57567         file.
57568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57569         file.
57570         multiarch llround for PPC64.
57571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57572         multiarch floor for PPC64.
57573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57574         multiarch floorf for PPC64.
57576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57577         multiarch implementation.
57578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57579         file.
57580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57581         file.
57582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57583         file.
57584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57585         file.
57586         multiarch llround for PPC64.
57587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57588         multiarch ceil for PPC64.
57589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57590         multiarch ceilf for PPC64.
57592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57593         multiarch implementation.
57594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57595         file.
57596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57597         file.
57598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57599         file.
57600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57601         multiarch llround for PPC64.
57602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57603         multiarch lround for PPC64.
57605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57606         multiarch implementation.
57607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57610         file.
57611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57614         multiarch isnan for PPC64.
57615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57616         multiarch isnanf for PPC64.
57618         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57619         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57620         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57621         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57622         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57625         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57626         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57627         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57631         multiarch implementations.
57632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57633         (__libc_ifunc_impl_list): Likewise.
57634         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57635         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57636         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57637         multiarch stpcpy for PPC64.
57639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57640         multiarch implementations.
57641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57642         (__libc_ifunc_impl_list): Likewise.
57643         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57644         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57645         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57646         multiarch strcpy for PPC64.
57648         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57649         redefine function name.
57650         (_wordcopy_fwd_dest_aligned): Likewise.
57651         (_wordcopy_bwd_aligned): Likewise.
57652         (_wordcopy_bwd_dest_aligned): Likewise.
57653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57654         multiarch implementations.
57655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57656         (__libc_ifunc_impl_list): Likewise.
57657         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57658         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57659         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57660         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57661         multiarch wcscpy for PPC64.
57663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57664         multiarch implementations.
57665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57666         (__libc_ifunc_impl_list): Likewise.
57667         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57668         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57669         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57670         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57671         multiarch wcscpy for PPC64.
57673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57674         multiarch implementations.
57675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57676         (__libc_ifunc_impl_list): Likewise.
57677         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57678         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57679         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57680         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57681         multiarch wcsrchr for PPC64.
57683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57684         multiarch implementations.
57685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57686         (__libc_ifunc_impl_list): Likewise.
57687         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57688         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57689         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57690         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57691         multiarch wcschr for PPC64.
57693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57694         multiarch implementations.
57695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57696         (__libc_ifunc_impl_list): Likewise.
57697         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57698         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57699         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57700         multiarch strchrnul for PPC64.
57702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57703         implementations.
57704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57705         (__libc_ifunc_impl_list): Likewise.
57706         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57707         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57708         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57709         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57710         strchr for PPC64.
57712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57713         implementations.
57714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57715         (__libc_ifunc_impl_list): Likewise.
57716         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57717         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57718         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57719         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57720         strncmp for PPC64.
57722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57723         multiarch implementations.
57724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57725         (__libc_ifunc_impl_list): Likewise.
57726         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57727         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57728         strncasecmp for PPC64.
57729         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57730         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57731         multiarch strncasecmp_l for PPC64.
57733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57734         multiarch implementations.
57735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57736         (__libc_ifunc_impl_list): Likewise.
57737         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57739         multiarch strcasecmp for PPC64.
57740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57741         file.
57742         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57743         multiarch strcasecmp_l for PPC64.
57745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57746         implementations.
57747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57748         (__libc_ifunc_impl_list): Likewise.
57749         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57750         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57751         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57752         strnlen for PPC64.
57754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57755         implementations.
57756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57757         (__libc_ifunc_impl_list): Likewise.
57758         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57759         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57760         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57761         strlen for PPC64.
57763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57764         implementations.
57765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57766         (__libc_ifunc_impl_list): Likewise.
57767         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57768         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57769         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57770         rawmemrchr for PPC64.
57772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57773         implementation.
57774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57775         (__libc_ifunc_impl_list): Likewise.
57776         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57777         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57778         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57779         memrchr for PPC64.
57781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57782         implementation.
57783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57784         (__libc_ifunc_impl_list): Likewise.
57785         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57786         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57787         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57788         memchr for PPC64.
57790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57791         implementation.
57792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57793         (__libc_ifunc_impl_list): Likewise.
57794         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
57795         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
57796         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
57797         mempcpy for PPC64.
57799         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
57800         avoid cretion of __bzero symbol.
57801         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
57802         Likewise.
57803         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
57804         Likewise.
57805         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
57806         Likewise.
57807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
57808         multiarch implementations.
57809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57810         (__libc_ifunc_impl_list): Likewise.
57811         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
57812         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
57813         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
57814         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
57815         bzero for PPC32.
57816         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
57817         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
57818         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
57819         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
57820         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
57821         memset for PPC64.
57822         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
57824         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
57825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
57826         implementations.
57827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57828         (__libc_ifunc_impl_list): Likewise.
57829         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
57830         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
57831         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
57832         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
57833         memcmp for PPC64.
57835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
57836         multiarch for POWER/PPC64.
57837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
57838         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
57839         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
57840         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
57841         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
57842         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
57843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
57844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
57845         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
57846         memcpy for PPC64.
57848         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
57849         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
57850         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
57851         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
57852         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
57853         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
57854         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
57855         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
57856         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
57857         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
57858         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
57859         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
57860         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
57861         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
57862         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
57863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
57864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
57865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
57866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
57867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
57868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
57869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
57871 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57873         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
57875 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57877         * benchtests/Makefile (bench): Add exp2 and log2.
57878         (LDLIBS-bench-exp2): Add -lm.
57879         (LDLIBS-bench-log2): Likewise.
57880         * benchtests/exp2-inputs: New inputs file.
57881         * benchtests/log2-inputs: New inputs file.
57882         * benchtests/log-inputs: Add new inputs.
57883         * benchtests/tan-inputs: Likewise.
57885 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57887         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
57888         definition...
57889         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
57890         (csloww2): ... from here.
57892         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
57893         instead of structures.
57894         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
57895         (POLYNOMIAL): Likewise.
57896         (TAYLOR_SLOW): Likewise.
57897         (__sin): Likewise.
57898         (__cos): Likewise.
57899         (slow1): Likewise.
57900         (slow2): Likewise.
57901         (sloww): Likewise.
57902         (sloww1); Likewise.
57903         (sloww2): Likewise.
57904         (bsloww1): Likewise.
57905         (bsloww2): Likewise.
57906         (cslow2): Likewise.
57907         (csloww): Likewise.
57908         (csloww1): Likewise.
57909         (csloww2): Likewise.
57911 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
57913         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57914         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
57915         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
57916         * malloc/hooks.c (realloc_check): Likewise.
57918         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
57919         * malloc/arena.c: Remove PER_THREAD conditional.
57920         [!PER_THREAD]: Remove code.
57921         (ptmalloc_unlock_all2): Likewise.
57922         (ptmalloc_init): Likewise.
57923         (_int_new_arena): Likewise.
57924         (arena_get2): Likewise.
57925         * malloc/hooks.c (__malloc_get_state): Likewise.
57926         (__malloc_set_state): Likewise.
57927         * malloc/malloc.c: Likewise.
57928         (struct malloc_state): Likewise.
57929         (struct malloc_par): Likewise.
57930         (__libc_realloc): Likewise.
57931         (__libc_mallopt): Likewise.
57933 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57935         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
57937 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
57939         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
57940         macro to a function.  Check for zero perturb_byte.
57941         (_int_malloc, _int_free): Remove zero perturb_byte checks.
57943         * malloc/malloc.c: (force_reg): Remove.
57944         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
57945         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
57946         force_reg by atomic_forced_read.
57947         * malloc/arena.c (ptmalloc_init): Likewise.
57948         * malloc/hooks.c (top_check): Likewise.
57950 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57954 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
57956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57958 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
57960         * math/auto-libm-test-in: Add tests of lgamma.
57961         * math/auto-libm-test-out: Regenerated.
57962         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
57963         (M_LOG_2_SQRT_PIl): Likewise.
57964         (lgamma_test_data): Use AUTO_TESTS_f_f1.
57965         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57966         mpfr_f_f1.
57967         (func_calc_desc): Add mpfr_f_f1 union field.
57968         (ARGS1): New macro.
57969         (ARGS2): Likewise.
57970         (ARGS3): Likewise.
57971         (ARGS4): Likewise.
57972         (RET1): Likewise.
57973         (RET2): Likewise.
57974         (CALC): Likewise.
57975         (FUNC): Likewise.
57976         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
57977         (test_functions): Add lgamma.
57978         (calc_generic_results): Handle mpfr_f_f1.
57979         * sysdeps/i386/fpu/libm-test-ulps: Update.
57980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57982 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57984         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
57985         __mpn_add_n for PowerPC64/POWER7.
57986         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
57987         __mpn_sub_n for PowerPC64/POWER7.
57989         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
57990         __mpn_addmul_1 for PowerPC64.
57991         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
57992         __mpn_submul_1 for PowerPC64.
57993         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
57994         for PowerPC64.
57995         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
57996         for PowerPC64.
57998 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
58000         [BZ #15089]
58001         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
58003 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58005         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
58007         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
58008         add multiarch folders.
58009         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
58010         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
58011         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
58012         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
58013         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
58014         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
58015         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
58016         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
58017         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
58018         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
58019         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
58020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
58021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
58022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
58023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
58024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
58025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
58027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58028         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
58029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
58030         New file.
58031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
58032         New file.
58033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
58034         multiarch __ieee754_hypot for PowerPC32.
58035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
58036         New file.
58037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
58038         New file.
58039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
58040         multiarch __ieee754_hypotf for PowerPC32.
58042         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
58043         long_double_symbol only if __logbl is defined.
58044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
58045         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
58046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
58047         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
58048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58049         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
58050         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
58051         path for implementation.
58052         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
58053         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
58054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
58055         logb, and logbl multiarch implementations for PowerPC32.
58056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
58057         file.
58058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
58059         file.
58060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
58061         multiarch logb for PowerPC32.
58062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
58063         file.
58064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
58065         file.
58066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
58067         multiarch logbf for PowerPC32.
58068         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
58069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
58070         file.
58071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
58072         multiarch logbl implementation for PowerPC32.
58074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
58075         and modff multiarch implementations.
58076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
58077         New file.
58078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58079         New file.
58080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58081         multiarch modf for PowerPC32.
58082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58083         New file.
58084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58085         New file.
58086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58087         multiarch modff for PowerPC32.
58089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58090         and lrintf multiarch implementations.
58091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58092         New file.
58093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58094         New file.
58095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58096         multiarch lrint for PowerPC32.
58097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58098         file: multiarch lrintf for PowerPC32.
58100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58101         and lroundf multiarch implementations.
58102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58103         New file.
58104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58105         New file.
58106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58107         New file.
58108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58109         multiarch lround for PowerPC32.
58110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58111         file: multiarch lroundf for PowerPC32.
58113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58114         copysign and copysignf multiarch implementations.
58115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58116         New file.
58117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58118         New file.
58119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58120         file: multiarch copysign for PowerPC32.
58121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58122         file: multiarch copysignf for PowerPC32.
58124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58125         and truncf multiarch implementations.
58126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58127         New file.
58128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58129         file.
58130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58131         multiarch trunc for PowerPC32.
58132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58133         New file.
58134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58135         New file.
58136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58137         multiarch truncf for PowerPC32.
58139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58140         and roundf multiarch implementations.
58141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58142         New file.
58143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58144         file.
58145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58146         multiarch round for PowerPC32.
58147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58148         New file.
58149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58150         New file.
58151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
58152         multiarch roundf for PowerPC32.
58154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
58155         and floorf multiarch implementations.
58156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
58157         New file.
58158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
58159         file.
58160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
58161         multiarch floor for PowerPC32.
58162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
58163         New file.
58164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
58165         New file.
58166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
58167         multiarch floorf for PowerPC32.
58169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
58170         and ceilf multiarch implementations.
58171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
58172         New file.
58173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
58174         file.
58175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
58176         multiarch ceil for PowerPC32.
58177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
58178         New file.
58179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
58180         file.
58181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
58182         multiarch ceilf for PowerPC32.
58184         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
58185         is defined.
58186         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
58187         FINITEF is defined.
58188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
58189         and finitef multiarch implementations.
58190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
58191         New file.
58192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
58193         file.
58194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
58195         multiarch finite for PowerPC32.
58196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
58197         New file.
58198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
58199         file: multiarch finitef for PowerPC32.
58201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
58202         and isinff multiarch implementations.
58203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
58204         file.
58205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
58206         file.
58207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
58208         multiarch isinf for PowerPC32.
58209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
58210         New file.
58211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
58212         multiarch isinff for PowerPC32.
58214         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
58215         alias when __isnan is defined.
58216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
58217         and isnanf multiarch implementations.
58218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
58219         file.
58220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
58221         file.
58222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
58223         file.
58224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
58225         file.
58226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
58227         multiarch isnan for PowerPC32.
58228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
58229         New file.
58230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
58231         New file.
58232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
58233         multiarch isnanf for PowerPC32.
58235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
58236         and sqrtf multiarch implementations.
58237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
58238         file.
58239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
58240         file.
58241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
58242         multiarch sqrt for PowerPC32.
58243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
58244         file.
58245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
58246         file.
58247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
58248         multiarch sqrtf for PowerPC32.
58250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
58251         and llroundf multiarch implementations.
58252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
58253         New file.
58254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
58255         New file.
58256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
58257         New file.
58258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
58259         file: multiarch llround for PowerPC32.
58260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
58261         file: multiarch llroundf for PowerPC32.
58263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
58264         multiarch PowerPC32 fpu implementations.
58265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
58266         New file.
58267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
58268         New file.
58269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
58270         multiarch llrint for PowerPC32.
58271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
58272         New file.
58273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
58274         New file.
58275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
58276         file.
58278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
58280         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
58281         file.
58282         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
58283         file.
58284         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
58285         file.
58286         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
58287         multiarch wordcopy for PPC32.
58288         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58289         wordcopy objects.
58290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58291         (__libc_ifunc_impl_list): Likewise.
58292         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
58293         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
58294         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
58295         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
58296         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
58297         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
58299         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
58300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
58301         file.
58302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
58303         file.
58304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
58305         file.
58306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
58307         multiarch wcscpy for PPC32.
58308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58309         multiarch objects.
58310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58311         (__libc_ifunc_impl_list): Likewise.
58312         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58313         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58314         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
58315         sysdeps/powerpc/power6/wcscpy.c.
58317         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
58318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
58319         file.
58320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
58321         file.
58322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
58323         file.
58324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
58325         multiarch wcsrchr for PPC32.
58326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58327         multiarch objects.
58328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58329         (__libc_ifunc_impl_list): Likewise.
58330         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58331         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58332         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
58333         sysdeps/powerpc/power6/wcsrchr.c.
58335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
58336         file.
58337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
58338         file.
58339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
58340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
58341         multiarch wcschr for PPc32.
58342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58343         multiarch objects.
58344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58345         (__libc_ifunc_impl_list): Likewise.
58346         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
58347         * sysdeps/powerpc/power6/wcschr.c: ... to here.
58348         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
58349         sysdeps/powerpc/power6/wcschr.c.
58351         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
58352         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
58353         file.
58354         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
58355         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
58356         file: multiarch strchr for PPC32.
58357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
58358         multiarch objects.
58359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58360         (__libc_ifunc_impl_list): Likewise.
58362         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
58363         name.
58364         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
58365         file.
58366         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
58367         file.
58368         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
58369         multiarch strchrnul for PPC32.
58370         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
58371         multiarch objects.
58372         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58373         (__libc_ifunc_impl_list): Likewise.
58375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58376         file.
58377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58378         multiarch strncasecmp for PPC32.
58379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58380         file.
58381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58382         multiarch strncasecmp_l for PPC32.
58383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58384         strncasecmp multiarch objects.
58385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58386         (__libc_ifunc_impl_list): Likewise.
58388         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58389         file.
58390         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58391         multiarch strncasecmp for PPC32.
58392         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58393         New file.
58394         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58395         multiarch strcasecmp_l for PPC32.
58396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58397         multiarch objects.
58398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58399         (__libc_ifunc_impl_list): Likewise.
58401         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58402         file.
58403         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58404         file.
58405         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58406         multiarch strncmp for PPC32.
58407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58408         multiarch objects.
58409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58410         (__libc_ifunc_impl_list): Likewise.
58412         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58413         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58414         file.
58415         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58416         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58418         multiarch objects.
58419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58420         (__libc_ifunc_impl_list): Likewise.
58422         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58423         file.
58424         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58425         file.
58426         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58428         multiarch objects.
58429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58430         (__libc_ifunc_impl_list): Likewise.
58432         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58433         file.
58434         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58435         file.
58436         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58437         multiarch rawmemchr for PPC32.
58438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58439         multiarch objects.
58440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58441         (__libc_ifunc_impl_list): Likewise.
58443         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58444         file.
58445         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58446         file.
58447         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58448         file: memrchr multiarch for PPC32.
58449         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58450         multiarch objects.
58451         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58452         (__libc_ifunc_impl_list): Likewise.
58454         * string/memchr.c (__memchr): Using macro to redefine symbol name.
58455         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58456         file.
58457         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58458         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58459         multiarch memchr for PPC32.
58460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58461         multiarch objects.
58462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58463         (__libc_ifunc_impl_list): Likewise.
58465         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58466         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58467         file.
58468         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58469         file.
58470         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58471         file: multiarch mempcpy for PPC32.
58472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58473         multiarch objects.
58474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58475         (__libc_ifunc_impl_list): Likewise.
58477         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58478         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58479         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58480         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58481         multiarch bzero for PPC32.
58482         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58483         file.
58484         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58485         file.
58486         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58487         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58488         file: multiarch memset for PPC32.
58489         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58491         memset multiarch objects.
58492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58493         (__libc_ifunc_impl_list): Likewise.
58495         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58496         file.
58497         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58498         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58499         memcmp for PPC32.
58500         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58501         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58502         multiarch objects.
58503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58504         (__libc_ifunc_impl_list): Likewise.
58506         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58507         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58508         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58509         file.
58510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58511         file.
58512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58513         file.
58514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58515         multiarch memcpy for PPC32.
58516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58517         multiarch objects.
58518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58519         (__libc_ifunc_impl_list): Likewise.
58521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58522         support multiarch for POWER/PPC32.
58523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58524         Likewise.
58525         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58527         Implies file to make multiarch folder appers before the fpu and
58528         default folder for power4 configuration.
58530 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58532         * scripts/bench.pl: Append volatile keyword to type.
58534 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58536         * sysdeps/sh/sotruss-lib.c: New file.
58537         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58539 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58543 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58545         [BZ #6810]
58546         * math/w_tgamma.c: Include <errno.h>.
58547         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58548         * math/w_tgammaf.c: Include <errno.h>.
58549         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58550         * math/w_tgammal.c: Include <errno.h>.
58551         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58552         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58553         underflow.  Add more tgamma tests.
58554         * math/auto-libm-test-out: Regenerated.
58555         * sysdeps/i386/fpu/libm-test-ulps: Update.
58556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58558         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58559         sin, sinh, tan, tanh, tgamma, y0 and y1.
58560         * math/auto-libm-test-out: Regenerated.
58561         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58562         (TEST_COND_x86): Likewise.
58563         (M_E2l): Remove macro.
58564         (M_E3l): Likewise.
58565         (M_2_SQRT_PIl): Likewise.
58566         (M_SQRT_PIl): Likewise.
58567         (M_1_DIV_El): Likewise.
58568         (log_test_data): Use AUTO_TESTS_f_f.
58569         (log10_test_data): Likewise.
58570         (log1p_test_data): Likewise.
58571         (log2_test_data): Likewise.
58572         (sin_test_data): Likewise.
58573         (sin_tonearest_test_data): Likewise.
58574         (sin_towardzero_test_data): Likewise.
58575         (sin_downward_test_data): Likewise.
58576         (sin_upward_test_data): Likewise.
58577         (sinh_test_data): Likewise.
58578         (sinh_tonearest_test_data): Likewise.
58579         (sinh_towardzero_test_data): Likewise.
58580         (sinh_downward_test_data): Likewise.
58581         (sinh_upward_test_data): Likewise.
58582         (tan_test_data): Likewise.
58583         (tan_tonearest_test_data): Likewise.
58584         (tan_towardzero_test_data): Likewise.
58585         (tan_downward_test_data): Likewise.
58586         (tan_upward_test_data): Likewise.
58587         (tanh_test_data): Likewise.
58588         (tgamma_test_data): Likewise.
58589         (y0_test_data): Likewise.
58590         (y1_test_data): Likewise.
58591         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58592         (special_real_inputs): Add pi/4.
58593         * sysdeps/i386/fpu/libm-test-ulps: Update.
58594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58596 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58598         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58599         "longjmp_target" static probes.
58600         (__longjmp): Rename to __longjmp_symbol.
58601         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58602         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58603         on which longjmp to generate.
58604         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58605         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58606         probe.
58607         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58608         (__sigjmp_save): Rename to __sigjmp_save_symbol.
58609         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58610         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58611         and __sigjmp_save_symbol based on which sigsetjmp to generated.
58612         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58614         __longjmp_symbol based on which __longjmp to generate.
58615         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58616         probe.
58617         (setjmp): Rename to setjmp_symbol.
58618         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58619         (_setjmp): Rename to _setjmp_symbol.
58620         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58621         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58622         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58623         which setjmp to generate.
58624         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58625         "longjmp_target" static probes.
58627 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58629         * benchtests/README: Add note about output arguments.
58630         * benchtests/bench-sincos.c: Remove file.
58631         * benchtests/sincos-inputs: New file.
58632         * scripts/bench.pl: Identify output arguments and define
58633         static variables for them.
58635         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58637         [BZ #15941]
58638         * Makefile (INSTALL): Add install-plain.texi as the primary
58639         dependency.
58640         * manual/install-plain.texi: New file.
58641         * manual/install.texi: Include node directive only for
58642         non-plaintext output.
58644 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
58646         * stdlib/longlong.h: Update from GCC.
58648         [BZ #6807]
58649         [BZ #15901]
58650         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58651         * math/w_j0f.c (y0f): Likewise.
58652         * math/w_j0l.c (__y0l): Likewise.
58653         * math/w_j1.c (y1): Likewise.
58654         * math/w_j1f.c (y1f): Likewise.
58655         * math/w_j1l.c (__y1l): Likewise.
58656         * math/w_jn.c (yn): Likewise.
58657         * math/w_jnf.c (ynf): Likewise.
58658         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58659         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
58660         value for Bessel function domain errors outside _SVID_ mode.
58661         Adjust sign of return value for yn (negative integer, 0).
58662         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58663         by zero in return for negative x and set sign appropriately for
58664         negative n.
58665         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58666         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58667         * math/libm-test.inc (y0_test_data): Add more tests and adjust
58668         expectations in error cases.
58669         (y1_test_data): Likewise.
58670         (yn_test_data): Likewise.
58671         * sysdeps/i386/fpu/libm-test-ulps: Update.
58672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58674 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58676         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58677         "64" to "64-v1".  Add "64-v2".
58678         (abi-64-options): Rename to ...
58679         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
58680         (abi-64-condition): Rename to ...
58681         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
58682         (abi-64-ld-soname): Rename to ...
58683         (abi-64-v1-ld-soname): ... this.
58684         (abi-64-v2-options): Define.
58685         (abi-64-v2-condition): Likewise.
58686         (abi-64-v2-ld-soname): Likewise.
58687         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58688         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58693 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58694             Alan Modra  <amodra@gmail.com>
58696         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58697         New versions for use with the ELFv2 ABI.
58698         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58699         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58700         declaration.
58701         (struct La_ppc64v2_retval): Likewise.
58702         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58703         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58704         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58705         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58706         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58707         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58708         Do not save or restore CR.
58709         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58710         (_dl_profile_resolve): Do no save or restore CR.  Support extended
58711         return values for ELFv2 ABI.  Fix location of FPR return registers.
58712         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58713         updated values for _CALL_ELF == 2.
58714         (La_regs, La_retval, int_retval): Likewise.
58716 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58718         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58719         (FRAME_MIN_SIZE_PARM): Likewise.
58720         (FRAME_BACKCHAIN): Likewise.
58721         (FRAME_CR_SAVE): Likewise.
58722         (FRAME_LR_SAVE): Likewise.
58723         (FRAME_TOC_SAVE): Likewise.
58724         (FRAME_PARM_SAVE): Likewise.
58725         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58726         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58727         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58728         (call_mcount_parm_offset): New macro.
58729         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58730         (PROF): Use symbolic stack frame offsets.
58731         (TAIL_CALL_SYSCALL_ERROR): Likewise.
58732         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58733         Redefine in terms of FRAME_MIN_SIZE.
58734         (_dl_runtime_resolve): Use symbolic stack frame offsets.
58735         (_dl_profile_resolve): Likewise.  Update comment.
58736         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58737         symbols stack frame offsets.
58738         (__sigsetjmp): Likewise.
58739         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58740         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58741         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58742         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58745         (FRAME_BACKCHAIN): Remove.
58746         (FRAME_CR_SAVE): Likewise.
58747         (FRAME_LR_SAVE): Likewise.
58748         (FRAME_COMPILER_DW): Likewise.
58749         (FRAME_LINKER_DW): Likewise.
58750         (FRAME_TOC_SAVE): Likewise.
58751         (FRAME_PARM_SAVE): Likewise.
58752         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58753         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58754         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58756         (CHECK_SP): Use symbolic stack frame offsets.
58757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58758         zone" instead of caller's parameter save area for temp storage.
58759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58760         Likewise.  Also, use symbolic stack frame offsets.
58761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58762         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58763         our own stack frame instead of the caller's.
58764         (__socket): Use symbolic stack frame offsets.
58766 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58767             Alan Modra  <amodra@gmail.com>
58769         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58770         Define.
58771         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58772         (PPC64_LOCAL_ENTRY_OFFSET): Define.
58773         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58774         New function.
58775         (elf_machine_fixup_plt): Call it.
58776         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
58777         reloc arguments.
58778         (elf_machine_rela): Update call to elf_machine_plt_conflict.
58779         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58780         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58781         r2 before calling target.
58783 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58784             Alan Modra  <amodra@gmail.com>
58786         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58787         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58788         versions of macros to support ELFv2 ABI.
58789         (LOCALENTRY): New macro.
58790         (ENTRY, EALIGN): Use it.
58791         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
58792         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
58793         fall through into ENTRY entry point.
58794         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
58795         Only define if _CALL_ELF != 2.
58797         (elf_machine_matches_host): Verify ABI version matches.
58798         (RTLD_START): Use LOCALENTRY.
58799         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
58800         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
58801         (PLT_ENTRY_WORDS): New macro.
58802         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
58803         (elf_machine_runtime_setup): Support ELFv2 ABI.
58804         (elf_machine_fixup_plt): Likewise.
58805         (elf_machine_plt_conflict): Likewise.
58806         (resolve_ifunc): Likewise.
58807         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
58808         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58809         Likewise.
58810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
58811         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
58812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58813         (makecontext): Support ELFv2 ABI.
58814         * elf/elf.h (EF_PPC64_ABI): Define.
58816 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58818         * sysdeps/powerpc/powerpc64/sysdep.h
58819         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
58820         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
58821         (ENTRY) [ASSEMBLER]: ... but instead here ...
58822         (EALIGN) [ASSEMBLER]: ... and here.
58823         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
58824         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
58825         (ENTRY_2) [!ASSEMBLER]: Use it.
58826         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
58827         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
58828         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58829         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
58830         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
58831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
58832         Use PPC64_LOAD_FUNCPTR.
58834         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
58836 2013-12-04  Alan Modra  <amodra@gmail.com>
58838         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
58839         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
58840         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
58841         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
58843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
58844         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
58845         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
58846         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
58847         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
58848         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
58850 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58853         (__makecontext): Fix incorrect CFI when backtracing out of
58854         context created via makecontext.
58855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
58856         (__setcontext): Fix incorrect CFI during switch to new context.
58857         (__novec_setcontext): Likewise.
58859 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58861         [BZ #4772]
58862         * time/strptime_l.c (__strptime_internal): Allow modifiers
58863         in strptime.
58864         * time/tst-strptime.c (day_tests): Add testcase.
58866 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58868         * scripts/bench.pl: Skip over blank lines.
58870 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
58872         [BZ #926]
58873         * manual/time.texi (Calendar Time): Clarify what timezone functions
58874         use.
58876 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58880 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58882         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
58883         implementation.
58884         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
58885         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
58886         * debug/memset_chk.c (__memset_chk): Likewise.
58887         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
58888         * debug/strncpy_chk.c: Likewise.
58890 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58892         [BZ #15268]
58893         [BZ #15425]
58894         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
58895         (__ieee754_exp): For possibly underflowing results, check size of
58896         result and force underflow exception if required.
58897         * math/auto-libm-test-in: Add more tests of exp.
58898         * math/auto-libm-test-out: Regenerated.
58899         * sysdeps/i386/fpu/libm-test-ulps: Update.
58900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58902         [BZ #16283]
58903         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
58904         * math/w_exp2f.c (__exp2f): Likewise.
58905         * math/w_exp2l.c (__exp2l): Likewise.
58906         * math/auto-libm-test-in: Do not allow missing errno on exp2
58907         underflow.
58908         * math/auto-libm-test-out: Regenerated.
58910 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
58912         [BZ #16274]
58913         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
58914         handle filename validation.
58915         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
58916         (do_open): Delete.
58918 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58920         [BZ #6786]
58921         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
58922         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
58923         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
58924         <float.h>.
58925         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
58926         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
58927         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58928         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
58929         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58930         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
58931         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58932         * math/auto-libm-test-in: Don't allow missing errno from erfc.
58933         Add more erfc tests.
58934         * math/auto-libm-test-out: Regenerated.
58935         * sysdeps/i386/fpu/libm-test-ulps: Update.
58936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58938         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
58939         exp2, expm1, j0 and j1.
58940         * math/auto-libm-test-out: Regenerated.
58941         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
58942         (erfc_test_data): Likewise.
58943         (exp_test_data): Likewise.
58944         (exp_tonearest_test_data): Likewise.
58945         (exp_towardzero_test_data): Likewise.
58946         (exp_downward_test_data): Likewise.
58947         (exp_upward_test_data): Likewise.
58948         (exp10_test_data): Likewise.
58949         (exp2_test_data): Likewise.
58950         (expm1_test_data): Likewise.
58951         (j0_test_data): Likewise.
58952         (j1_test_data): Likewise.
58953         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
58954         (input_flag_type): Add flag_xfail_rounding.
58955         (input_flags): Add xfail-rounding.
58956         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
58957         (output_for_one_input_case): Handle flag_xfail_rounding.
58958         * sysdeps/i386/fpu/libm-test-ulps: Update.
58959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58961 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
58963         [BZ #16289]
58964         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
58965         division by 0.
58967 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58969         [BZ #16195]
58970         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
58971         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
58972         (STAP_PROBE0): New macro.
58973         (STAP_PROBE1): Likewise.
58974         (STAP_PROBE2): Likewise.
58975         (STAP_PROBE3): Likewise.
58976         (STAP_PROBE4): Likewise.
58978 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
58980         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
58982 2013-12-02  Steve Ellcey  <sellcey@mips.com>
58984         * benchtests/Makefile (bench): Add sqrt.
58985         (LDLIBS-bench-sqrt): New.
58986         * benchtests/sqrt-input: New.
58988 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
58990         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
58991         (GAIH_EAI): Likewise.
58992         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
58993         (gaih_inet): Likewise.
58994         (getaddrinfo): Don't use GAIH_EAI.
58996         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
58997         (struct gaih): Remove definition.
58999 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59001         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
59002         Use HERRNOP directly.
59004 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59008 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
59010         * math/gen-auto-libm-tests.c (test_functions): Add more
59011         single-argument functions.
59012         (special_fill_pi_2): New function.
59013         (special_fill_minus_pi_2): Likewise.
59014         (special_fill_pi_6): Likewise.
59015         (special_fill_minus_pi_6): Likewise.
59016         (special_fill_pi_3): Likewise.
59017         (special_fill_2pi_3): Likewise.
59018         (special_fill_e): Likewise.
59019         (special_fill_1_e): Likewise.
59020         (special_fill_e_minus_1): Likewise.
59021         (special_real_inputs): Add more special inputs.
59022         (output_for_one_input_case): Do not require ERANGE on underflow to
59023         zero if round-to-nearest result does not underflow to zero, unless
59024         exact results required.
59025         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
59026         atan, atanh, cbrt, cos and cosh.
59027         * math/auto-libm-test-out: Regenerated.
59028         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
59029         (acos_tonearest_test_data): Likewise.
59030         (acos_towardzero_test_data): Likewise.
59031         (acos_downward_test_data): Likewise.
59032         (acos_upward_test_data): Likewise.
59033         (acosh_test_data): Likewise.
59034         (asin_test_data): Likewise.
59035         (asin_tonearest_test_data): Likewise.
59036         (asin_towardzero_test_data): Likewise.
59037         (asin_upward_test_data): Likewise.
59038         (asinh_test_data): Likewise.
59039         (atan_test_data): Likewise.
59040         (atanh_test_data): Likewise.
59041         (cbrt_test_data): Likewise.
59042         (cos_test_data): Likewise.
59043         (cos_tonearest_test_data): Likewise.
59044         (cos_towardzero_test_data): Likewise.
59045         (cos_downward_test_data): Likewise.
59046         (cos_upward_test_data): Likewise.
59047         (cosh_test_data): Likewise.
59048         (cosh_tonearest_test_data): Likewise.
59049         (cosh_towardzero_test_data): Likewise.
59050         (cosh_downward_test_data): Likewise.
59051         (cosh_upward_test_data): Likewise.
59052         * sysdeps/i386/fpu/libm-test-ulps: Update.
59053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59055 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
59057         [BZ #6787]
59058         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
59059         * math/w_exp10f.c (__exp10f): Likewise.
59060         * math/w_exp10l.c (__exp10l): Likewise.
59061         * math/libm-test.inc (exp10_test_data): Add more tests and expect
59062         errno settings in existing tests.
59064         [BZ #14032]
59065         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
59066         precision control set to double precision.
59067         * sysdeps/i386/fpu/w_sqrt.c: New file.
59068         * math/auto-libm-test-in: Add more tests.
59069         * math/auto-libm-test-out: Update.
59071         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
59072         (sqrt_test_tonearest): New function.
59073         (sqrt_towardzero_test_data): New variable.
59074         (sqrt_test_towardzero): New function.
59075         (sqrt_downward_test_data): New variable.
59076         (sqrt_test_downward): New function.
59077         (sqrt_upward_test_data): New variable.
59078         (sqrt_test_upward): New function.
59079         (main): Call the new functions.
59081         * math/gen-auto-libm-tests.c: New file.
59082         * math/auto-libm-test-in: Likewise.
59083         * math/auto-libm-test-out: New generated file.
59084         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59085         variables.
59086         (%beautify): Add generated representations of zero.
59087         (top level): Set $auto_input and call parse_auto_input.
59088         (beautify): Remove trailing "f" from hex float constants.
59089         (parse_args): Handle XFAIL_TEST.
59090         (convert_condition): New function.
59091         (or_value): Likewise.
59092         (or_cond_value): Likewise.
59093         (generate_testfile): Handle AUTO_TESTS_* lines.
59094         (parse_auto_input): New function.
59095         * math/libm-test.inc (XFAIL_TEST): New macro.
59096         (ERRNO_UNCHANGED): Update value.
59097         (ERRNO_EDOM): Likewise.
59098         (ERRNO_ERANGE): Likewise.
59099         (IGNORE_RESULT): Likewise.
59100         (TEST_COND_flt_32): New macro.
59101         (TEST_COND_dbl_64): Likewise.
59102         (TEST_COND_ldbl_96_intel): Likewise.
59103         (TEST_COND_ldbl_96_m68k): Likewise.
59104         (TEST_COND_ldbl_128): Likewise.
59105         (TEST_COND_ldbl_128ibm): Likewise.
59106         (TEST_COND_long32): Likewise.
59107         (TEST_COND_long64): Likewise.
59108         (TEST_COND_before_rounding): Likewise.
59109         (TEST_COND_after_rounding): Likewise.
59110         (enable_test): Handle XFAIL_TEST flag.
59111         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59112         with finite results.
59113         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59114         auto-libm-test-out.
59116 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59117             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59119         [BZ #16214]
59120         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59121         __tls_get_addr_internal instead of __tls_get_offset in order to
59122         avoid GOT pointer dependency.  Make rtld export
59123         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59124         __tls_get_addr since we are a __tls_get_offset platform.
59125         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59126         GOT pointer being set up before.
59127         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59129 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
59131         * manual/math.texi (Errors in Math Functions): Document accuracy
59132         goals.
59134         [BZ #15004]
59135         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59136         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59137         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59138         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59139         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59140         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59141         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59142         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59143         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59144         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59145         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59146         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59147         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59148         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59149         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59150         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59152         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
59153         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
59154         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
59155         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
59156         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
59157         Likewise.
59158         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
59159         Likewise.
59160         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
59161         Likewise.
59162         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
59163         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
59164         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
59165         atomic-feupdateenv and flt-rounds.
59166         * sysdeps/powerpc/nofpu/Versions (libc): Add
59167         __atomic_feholdexcept, __atomic_feclearexcept,
59168         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
59169         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
59170         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
59171         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
59172         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59173         here.
59174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
59175         Update.
59177         * manual/arith.texi (FP Exceptions): Document that exceptions may
59178         not be raised when matherr is used.
59179         (Math Error Reporting): Document overflow in directed rounding
59180         modes.  Document that errno may not be set when finite values are
59181         returned on overflow.  Document intent to set errno on underflow
59182         only for underflow to zero.
59184         [BZ #16271]
59185         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
59186         round-to-nearest then adjust result for other rounding modes.
59187         * include/fenv.h (fegetround): Use libm_hidden_proto.
59188         * math/fegetround.c (fegetround): Use libm_hidden_def.
59189         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
59190         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
59191         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59192         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
59193         Likewise.
59194         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
59195         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59196         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
59197         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
59199 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59201         [BZ #16077]
59202         * nss/Versions (libnss_files): Add
59203         _nss_files_gethostbyname3_r.
59204         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
59205         New function.
59206         (HOST_DB_LOOKUP): Remove macro.
59207         (_nss_files_gethostbyname_r): Implement function without the
59208         HOST_DB_LOOKUP macro.
59209         (_nss_files_gethostbyname2_r): Likewise.
59211 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
59213         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
59215 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
59217         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
59218         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
59219         warning.
59221 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59223         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
59224         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
59225         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
59226         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
59227         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
59228         __fe_nomask_env_priv and attribute_hidden.
59229         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
59230         (libc_feupdateenv_test_ppc): Likewise.
59231         (libc_feresetround_ppc): Likewise.
59232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59233         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
59234         compat_symbol macro.
59235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59236         (__fe_nomask_env): Likewise.
59237         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
59239 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59241         * string/Makefile: Remove ifunc tests.
59242         * string/test-string.h: Define TEST_IFUNC.
59243         * string/test-bcopy-ifunc.c: Remove.
59244         * string/test-bzero-ifunc.c: Likewise.
59245         * string/test-memccpy-ifunc.c: Likewise.
59246         * string/test-memchr-ifunc.c: Likewise.
59247         * string/test-memcmp-ifunc.c: Likewise.
59248         * string/test-memcpy-ifunc.c: Likewise.
59249         * string/test-memmem-ifunc.c: Likewise.
59250         * string/test-memmove-ifunc.c: Likewise.
59251         * string/test-mempcpy-ifunc.c: Likewise.
59252         * string/test-memrchr-ifunc.c: Likewise.
59253         * string/test-memset-ifunc.c: Likewise.
59254         * string/test-rawmemchr-ifunc.c: Likewise.
59255         * string/test-stpcpy-ifunc.c: Likewise.
59256         * string/test-stpncpy-ifunc.c: Likewise.
59257         * string/test-strcasecmp-ifunc.c: Likewise.
59258         * string/test-strcasestr-ifunc.c: Likewise.
59259         * string/test-strcat-ifunc.c: Likewise.
59260         * string/test-strchr-ifunc.c: Likewise.
59261         * string/test-strchrnul-ifunc.c: Likewise.
59262         * string/test-strcmp-ifunc.c: Likewise.
59263         * string/test-strcpy-ifunc.c: Likewise.
59264         * string/test-strcspn-ifunc.c: Likewise.
59265         * string/test-strlen-ifunc.c: Likewise.
59266         * string/test-strncasecmp-ifunc.c: Likewise.
59267         * string/test-strncat-ifunc.c: Likewise.
59268         * string/test-strncmp-ifunc.c: Likewise.
59269         * string/test-strncpy-ifunc.c: Likewise.
59270         * string/test-strnlen-ifunc.c: Likewise.
59271         * string/test-strpbrk-ifunc.c: Likewise.
59272         * string/test-strrchr-ifunc.c: Likewise.
59273         * string/test-strspn-ifunc.c: Likewise.
59274         * string/test-strstr-ifunc.c: Likewise.
59276 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59278         * benchtests/Makefile: Remove ifunc tests.
59279         * benchtests/bench-string.h: Define TEST_IFUNC.
59280         * benchtests/bench-bcopy-ifunc.c: Remove.
59281         * benchtests/bench-bzero-ifunc.c: Likewise.
59282         * benchtests/bench-memccpy-ifunc.c: Likewise.
59283         * benchtests/bench-memchr-ifunc.c: Likewise.
59284         * benchtests/bench-memcmp-ifunc.c: Likewise.
59285         * benchtests/bench-memcpy-ifunc.c: Likewise.
59286         * benchtests/bench-memmem-ifunc.c: Likewise.
59287         * benchtests/bench-memmove-ifunc.c: Likewise.
59288         * benchtests/bench-mempcpy-ifunc.c: Likewise.
59289         * benchtests/bench-memrchr-ifunc.c: Likewise.
59290         * benchtests/bench-memset-ifunc.c: Likewise.
59291         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
59292         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
59293         * benchtests/bench-stpcpy-ifunc.c: Likewise.
59294         * benchtests/bench-stpncpy-ifunc.c: Likewise.
59295         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
59296         * benchtests/bench-strcasestr-ifunc.c: Likewise.
59297         * benchtests/bench-strcat-ifunc.c: Likewise.
59298         * benchtests/bench-strchr-ifunc.c: Likewise.
59299         * benchtests/bench-strchrnul-ifunc.c: Likewise.
59300         * benchtests/bench-strcmp-ifunc.c: Likewise.
59301         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
59302         * benchtests/bench-strcpy-ifunc.c: Likewise.
59303         * benchtests/bench-strcspn-ifunc.c: Likewise.
59304         * benchtests/bench-strlen-ifunc.c: Likewise.
59305         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
59306         * benchtests/bench-strncat-ifunc.c: Likewise.
59307         * benchtests/bench-strncmp-ifunc.c: Likewise.
59308         * benchtests/bench-strncpy-ifunc.c: Likewise.
59309         * benchtests/bench-strnlen-ifunc.c: Likewise.
59310         * benchtests/bench-strpbrk-ifunc.c: Likewise.
59311         * benchtests/bench-strrchr-ifunc.c: Likewise.
59312         * benchtests/bench-strsep-ifunc.c: Likewise.
59313         * benchtests/bench-strspn-ifunc.c: Likewise.
59314         * benchtests/bench-strstr-ifunc.c: Likewise.
59316 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59318         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
59320 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59322         * resolv/netdb.h: Use __glibc_reserved instead __unused.
59323         * rt/aio.h: Likewise.
59324         * sysdeps/gnu/bits/utmp.h: Likewise.
59325         * sysdeps/gnu/bits/utmpx.h: Likewise.
59326         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59327         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
59328         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
59329         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
59330         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
59331         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
59332         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
59333         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
59334         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
59335         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
59336         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
59337         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
59338         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
59339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
59340         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59341         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
59342         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
59343         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
59344         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
59345         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
59346         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
59347         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
59348         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
59349         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59350         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
59351         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59352         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
59353         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
59354         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
59355         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
59356         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
59357         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
59358         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
59359         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
59360         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
59361         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
59362         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
59363         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
59364         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
59365         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
59366         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
59367         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59369 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
59371         [BZ #16245]
59372         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59373         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59375 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
59377         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59378         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59379         Likewise.
59381 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59383         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59384         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59385         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59386         (__fesetround): Remove define.
59387         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59388         rounding and exceptions handling.
59389         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59390         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59391         (__fe_nomask_env): Likewise.
59392         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59393         __fegetround instead of fegetround.
59394         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59395         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59397 2013-11-21  Roland McGrath  <roland@hack.frob.com>
59399         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59400         it's there.
59402         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59404 2013-11-21  Meador Inge  <meadori@codesourcery.com>
59406         [BZ #11157]
59407         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59408         (encrypt_r): Likewise.
59409         * malloc/obstack.h (obstack_free): Likewise.
59410         * posix/unistd.h (encrypt): Likewise.
59412 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
59414         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59415         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59416         DL_CALL_DT_FINI() that call the functions directly.
59417         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59418         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59419         * elf/dl-fini.c: Likewise.
59421 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
59423         * malloc/hooks.c (memalign_check): Add alignment rounding.
59424         * malloc/malloc.c (_mid_memalign): New function.
59425         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59426         Implement by calling _mid_memalign.
59427         * manual/probes.texi (Memory Allocation Probes): Remove
59428         memory_valloc_retry and memory_pvalloc_retry.
59430 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59432         * locale/programs/locarchive.c (open_archive): Add const
59433         qualifier to ARCHIVEFNAME and copy default fname to
59434         DEFAULT_FNAME.
59436         [BZ #15601]
59437         * libio/tst-widetext.input: Rename Oriya to Odia.
59438         * locale/iso-639.def: Likewise.
59440         * manual/probes.texi (Mathematical Function Probes): Add
59441         documentation for sin, cos, asin and acos probes.
59442         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59443         (__sin32): Add slowasin probe.
59444         (__cos32): Add slowacos probe.
59445         (__mpsin): Add slowsin probe.
59446         (__mpcos): Add slowcos probe.
59448 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
59450         [BZ #15483]
59451         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59452         thread-local __sim_exceptions_thread and global
59453         __sim_exceptions_global.
59454         (__sim_disabled_exceptions): Change to thread-local
59455         __sim_disabled_exceptions_thread and global
59456         __sim_disabled_exceptions_global.
59457         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59458         and global __sim_round_mode_global.
59459         (__simulate_exceptions): Use thread-local floating-point state and
59460         set global state from it as needed.
59461         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59462         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59463         __sim_round_mode_thread.
59464         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59465         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59466         and global __sim_exceptions_global.
59467         (__sim_disabled_exceptions): Change to thread-local
59468         __sim_disabled_exceptions_thread and global
59469         __sim_disabled_exceptions_global.
59470         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59471         and global __sim_round_mode_global.
59472         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59473         (SIM_SET_GLOBAL): Likewise.
59474         * sysdeps/powerpc/soft-fp/sfp-machine.h
59475         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59476         __sim_round_mode_thread.
59477         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59478         __sim_disabled_exceptions_thread.
59479         (__sim_exceptions): Change to __sim_exceptions_thread.
59480         (__sim_disabled_exceptions): Change to
59481         __sim_disabled_exceptions_thread.
59482         (__sim_round_mode): Change to __sim_round_mode_thread.
59483         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59484         thread-local floating-point state and set global state from it as
59485         needed.
59486         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59487         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59488         (__sim_disabled_exceptions): Remove extern declaration.
59489         (feenableexcept): Use thread-local floating-point state and set
59490         global state from it as needed.
59491         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59492         extern declaration.
59493         (__sim_disabled_exceptions): Likewise.
59494         (__sim_round_mode): Likewise.
59495         (__fegetenv): Use thread-local floating-point state.
59496         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59497         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59498         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59499         floating-point state and set global state from it as needed.
59500         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59501         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59502         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59503         Likewise.
59504         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59505         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59506         Likewise.
59507         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59508         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59509         Use __sim_round_mode_thread.
59510         * math/test-fenv-tls.c: New file.
59511         * math/Makefile (tests): Add test-fenv-tls.
59512         ($(objpfx)test-fenv-tls): Depend on
59513         $(common-objpfx)nptl/libpthread.so.
59515 2013-11-19  Andreas Schwab  <schwab@suse.de>
59517         * locale/programs/locale.c (show_info): Decode wordarray elements.
59518         * locale/categories.def (LC_MONETARY): Add element for
59519         _NL_MONETARY_CRNCYSTR.
59520         * locale/C-monetary.c (conversion_rate): New variable.
59521         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59522         element.
59524 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59526         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59527         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59529 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59531         * elf/Makefile (tst-auxv): New test.
59532         * elf/tst-auxv.c: New
59533         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59535 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59537         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59538         (hidden_proto): Caller changed.
59539         (hidden_tls_proto): New macro.
59540         (libc_hidden_tls_proto): Likewise.
59541         (rtld_hidden_tls_proto): Likewise.
59542         (libm_hidden_tls_proto): Likewise.
59543         (libresolv_hidden_tls_proto): Likewise.
59544         (librt_hidden_tls_proto): Likewise.
59545         (libdl_hidden_tls_proto): Likewise.
59546         (libnss_files_hidden_tls_proto): Likewise.
59547         (libnsl_hidden_tls_proto): Likewise.
59548         (libnss_nisplus_hidden_tls_proto): Likewise.
59549         (libutil_hidden_tls_proto): Likewise.
59551 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59553         [BZ #10253]
59554         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59555         (decompose_rpath): Defer expansion to fillin_rpath.
59556         (_dl_init_paths): Pass linkmap to fillin_rpath.
59558 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59560         * benchtests/Makefile: Add strsep.
59561         * benchtests/bench-strsep.c: New file: strsep benchtest.
59562         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59564 2013-11-18  Andreas Schwab  <schwab@suse.de>
59566         * locale/programs/locale.c (show_info) [case byte]: Check for
59567         '\377' instead of '\177'.
59568         * locale/C-monetary.c (not_available): Always use "\377".
59569         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59570         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
59571         detect unavailable sign_posn locale elements.
59572         * locale/localeconv.c (__localeconv): For grouping and
59573         mon_grouping handle "\177" and "\377" like no grouping.
59574         (INT_ELEM): New macro.  Use it to set all numeric members.
59575         * locale/programs/ld-monetary.c (monetary_read)
59576         <tok_mon_grouping>: Normalize single -1 to the empty string.
59577         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59578         Likewise.
59580 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59582         [BZ #16055]
59583         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59584         when we match (nil).
59585         * stdio-common/tst-sscanf.c (struct test): Add testcase.
59587 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
59589         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59590         (NO_TEST_INLINE): Update value.
59591         (ERRNO_UNCHANGED): Likewise.
59592         (ERRNO_EDOM): Likewise.
59593         (ERRNO_ERANGE): Likewise.
59594         (IGNORE_RESULT): Likewise.
59595         (check_float_internal): Check signs of NaN results if
59596         TEST_NAN_SIGN used.
59597         (check_complex): Pass TEST_NAN_SIGN flag through to second
59598         check_float_internal call.
59599         (copysign_test_data): Add tests with quiet NaNs as second
59600         argument.  Use TEST_NAN_SIGN.
59601         (fabs_test_data): Add test of negative quiet NaN argument.  Use
59602         TEST_NAN_SIGN.
59603         (signbit_test_data): Add tests of quiet NaN argument.
59604         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59606         * math/gen-libm-test.pl (show_exceptions): Take extra argument
59607         $ignore_result.
59608         (parse_args): Handle function results specified as IGNORE.
59609         * math/libm-test.inc (IGNORE_RESULT): New macro.
59610         (check_float_internal): Do not check numerical result if flag
59611         IGNORE_RESULT set.
59612         (check_complex): Pass through IGNORE_RESULT to second
59613         check_float_internal call.
59614         (check_int): Do not check numerical result if flag IGNORE_RESULT
59615         set.
59616         (check_long): Likewise.
59617         (check_bool): Likewise.
59618         (check_longlong): Likewise.
59619         (lrint_test_data): Add tests of infinite and NaN arguments.
59620         (lrint_tonearest_test_data): Likewise.
59621         (lrint_towardzero_test_data): Likewise.
59622         (lrint_downward_test_data): Likewise.
59623         (lrint_upward_test_data): Likewise.
59624         (llrint_test_data): Likewise.
59625         (llrint_tonearest_test_data): Likewise.
59626         (llrint_towardzero_test_data): Likewise.
59627         (llrint_downward_test_data): Likewise.
59628         (llrint_upward_test_data): Likewise.
59629         (lround_test_data): Likewise.
59630         (llround_test_data): Likewise.
59632         * math/libm-test.inc (NO_TEST_INLINE): New macro.
59633         (ERRNO_UNCHANGED): Update value.
59634         (ERRNO_EDOM): Likewise.
59635         (ERRNO_ERANGE): Likewise.
59636         (NO_TEST_INLINE_FLOAT): New macro.
59637         (NO_TEST_INLINE_DOUBLE): Likewise.
59638         (enable_test): New function.
59639         (RUN_TEST_f_f): Check enable_test before running test.
59640         (RUN_TEST_2_f): Likewise.
59641         (RUN_TEST_fff_f): Likewise.
59642         (RUN_TEST_c_f): Likewise.
59643         (RUN_TEST_f_f1): Likewise.
59644         (RUN_TEST_fF_f1): Likewise.
59645         (RUN_TEST_fI_f1): Likewise.
59646         (RUN_TEST_ffI_f1): Likewise.
59647         (RUN_TEST_c_c): Likewise.
59648         (RUN_TEST_cc_c): Likewise.
59649         (RUN_TEST_f_i): Likewise.
59650         (RUN_TEST_f_i_tg): Likewise.
59651         (RUN_TEST_ff_i_tg): Likewise.
59652         (RUN_TEST_f_b): Likewise.
59653         (RUN_TEST_f_b_tg): Likewise.
59654         (RUN_TEST_f_l): Likewise.
59655         (RUN_TEST_f_L): Likewise.
59656         (RUN_TEST_fFF_11): Likewise.
59657         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59658         conditionals.
59659         (cosh_test_data): Likewise.
59660         (exp_test_data): Likewise.
59661         (expm1_test_data): Likewise.
59662         (hypot_test_data): Likewise.
59663         (pow_test_data): Likewise.
59664         (sinh_test_data): Likewise.
59665         (tanh_test_data): Likewise.
59666         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59667         flags argument.
59669         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59670         tests with quiet NaN input and output.
59671         (acosh_test_data): Likewise.
59672         (asin_test_data): Likewise.
59673         (asinh_test_data): Likewise.
59674         (atan_test_data): Likewise.
59675         (atanh_test_data): Likewise.
59676         (atan2_test_data): Likewise.
59677         (cbrt_test_data): Likewise.
59678         (cos_test_data): Likewise.
59679         (cosh_test_data): Likewise.
59680         (erf_test_data): Likewise.
59681         (erfc_test_data): Likewise.
59682         (exp_test_data): Likewise.
59683         (exp10_test_data): Likewise.
59684         (exp2_test_data): Likewise.
59685         (expm1_test_data): Likewise.
59686         (hypot_test_data): Likewise.
59687         (j0_test_data): Likewise.
59688         (j1_test_data): Likewise.
59689         (jn_test_data): Likewise.
59690         (lgamma_test_data): Likewise.
59691         (log_test_data): Likewise.
59692         (log10_test_data): Likewise.
59693         (log1p_test_data): Likewise.
59694         (log2_test_data): Likewise.
59695         (pow_test_data): Likewise.
59696         (scalb_test_data): Likewise.
59697         (sin_test_data): Likewise.
59698         (sincos_test_data): Likewise.
59699         (sinh_test_data): Likewise.
59700         (tan_test_data): Likewise.
59701         (tanh_test_data): Likewise.
59702         (tgamma_test_data): Likewise.
59703         (y0_test_data): Likewise.
59704         (y1_test_data): Likewise.
59705         (yn_test_data): Likewise.
59707         [BZ #16167]
59708         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59709         argument being NaN and avoid computations with second argument in
59710         that case.
59711         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59712         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59713         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59715 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
59717         * locale/iso-639.def: Add Chitwani Tharu (the).
59719 2013-11-14  Andreas Schwab  <schwab@suse.de>
59721         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59722         word instead of empty string.
59724 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59727         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59729         (__fe_nomask_env): Likewise.
59731 2013-11-13  Steve Ellcey  <sellcey@mips.com>
59733         * benchtests/bench-timing.h: Include time.h.
59735 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
59737         [BZ #15997]
59738         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59739         to 3.4.0 for x32.
59740         * sysdeps/unix/sysv/linux/configure: Regenerated.
59742 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
59744         [BZ #16151]
59745         * stdlib/strtod_l.c (round_and_return): Do not consider
59746         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59747         exponent one less than half the least subnormal exponent.
59748         * stdlib/test-strtod-round-data: Add more tests.
59749         * stdlib/tst-strtod-round.c (tests): Regenerated.
59751 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59753         [BZ #14143]
59754         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59755         (__fe_mask_env): Likewise.
59756         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59757         libm_hidden_proto and add function prototype.
59758         (__fe_mask_env): Add function prototype.
59759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59760         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59762         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59764         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59766 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59768         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59769         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59771 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59773         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59774         of htab_find_slot().
59776 2013-11-11  David S. Miller  <davem@davemloft.net>
59778         [BZ #16150]
59779         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59780         symbol in the non-vis3 case in static builds.
59781         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59782         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59783         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59784         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59786 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
59788         [BZ #387]
59789         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59790         it is empty.
59792 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59794         * benchtests/Makefile: Add bench-strtod.
59795         * benchtests/bench-strtod.c: New file: strtod benchtest
59797 2013-11-11  Andreas Schwab  <schwab@suse.de>
59799         [BZ #16153]
59800         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
59801         terminating NUL in key length.
59803 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59805         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59806         Add artificial ODP entry for vDSO symbol for PPC64.
59807         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
59808         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
59810 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59812         [BZ #15374]
59813         * nss/getent.c (services_keys): Recognize services starting with digit.
59815 2013-11-06  David S. Miller  <davem@davemloft.net>
59817         [BZ #15985]
59818         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
59819         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
59821 2013-11-06  Will Newton  <will.newton@linaro.org>
59823         * manual/memory.texi (Malloc Examples): Remove register
59824         keyword from examples.
59826 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
59828         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
59830 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
59832         [BZ #6981]
59833         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
59834         depending on [__GCC_IEC_559 > 0].
59835         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
59836         depending on [__GCC_IEC_559_COMPLEX > 0].
59838 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
59840         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
59841         to iso-639.def.
59843 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
59845         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
59847 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
59849         [BZ #16112]
59850         * malloc/malloc (malloc_info): Do not handle first bin as
59851         special case.
59853 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
59855         * locale/iso-639.def: Add Central Nahuatl (nhn).
59857 2013-11-01  Bruno Haible  <bruno@clisp.org>
59859         [BZ #7003]
59860         * manual/math.texi (BSD Random): Specify range upper bound as
59861         in POSIX.
59863 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
59865         * locale/iso-639.def: Add Meadow Mari (mhr).
59867 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
59869         [BZ #14752], [BZ #15763]
59870         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
59871         Validate name.
59872         * rt/tst_shm.c: Add test for escaping directory.
59874 2013-10-31  Andreas Schwab  <schwab@suse.de>
59876         [BZ #15917]
59877         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
59878         followed by 'x' as part of digit sequence.
59879         * stdio-common/tst-sscanf.c (double_tests2): New tests.
59881 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
59883         [BZ #16037]
59884         * configure.ac: allow GNU Make 4.0 and greater.
59885         * configure: Regenerated.
59887 2013-10-30  Will Newton  <will.newton@linaro.org>
59889         [BZ #16038]
59890         * malloc/hooks.c (memalign_check): Limit alignment to the
59891         maximum representable power of two.
59892         * malloc/malloc.c (__libc_memalign): Likewise.
59893         * malloc/tst-memalign.c (do_test): Add test for very
59894         large alignment values.
59895         * malloc/tst-posix_memalign.c (do_test): Likewise.
59897 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59899         [BZ #11087]
59900         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
59901         (munmap_chunk): Likewise.
59902         (mremap_chunk): Likewise.
59904 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59906         [BZ #15799]
59907         * stdlib/div.c (div): Remove obsolete code.
59908         * stdlib/ldiv.c (ldiv): Likewise.
59909         * stdlib/lldiv.c (lldiv): Likewise.
59911 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59913         [BZ #16071]
59914         * nss/nss_files/files-XXX.c (get_contents_ret): New
59915         enumerator.
59916         (get_contents): New function.
59917         (internal_getent): Use it.  Expand size of LINEBUFLEN.
59919 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
59921         * configure.in: Moved to ...
59922         * configure.ac: ... here. Change reference to configure.in
59923         to configure.ac.
59924         * sysdeps/arm/preconfigure.ac: ... here.
59925         configure.in to configure.ac.
59926         * sysdeps/gnu/configure.in: Moved to ...
59927         * sysdeps/gnu/configure.ac: ... here.
59928         * sysdeps/i386/configure.in: Moved to ...
59929         * sysdeps/i386/configure.ac: ... here.
59930         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
59931         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
59932         * sysdeps/mach/configure.in: Moved to ...
59933         * sysdeps/mach/configure.ac: ... here.
59934         * sysdeps/mach/hurd/configure.in: Moved to ...
59935         * sysdeps/mach/hurd/configure.ac: ... here.
59936         * sysdeps/powerpc/configure.in: Moved to ...
59937         * sysdeps/powerpc/configure.ac: ... here.
59938         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
59939         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
59940         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
59941         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
59942         * sysdeps/s390/s390-32/configure.in: Moved to ...
59943         * sysdeps/s390/s390-32/configure.ac: ... here.
59944         * sysdeps/s390/s390-64/configure.in: Moved to ...
59945         * sysdeps/s390/s390-64/configure.ac: ... here.
59946         * sysdeps/sh/configure.in: Moved to ...
59947         * sysdeps/sh/configure.ac: ... here.
59948         * sysdeps/sparc/configure.in: Moved to ...
59949         * sysdeps/sparc/configure.ac: ... here.
59950         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
59951         * sysdeps/unix/sysv/linux/configure.ac: ... here.
59952         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
59953         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
59954         * sysdeps/x86_64/configure.in: Moved to ...
59955         * sysdeps/x86_64/configure.ac: ... here.
59956         * sysdeps/x86_64/preconfigure.in: Moved to ...
59957         * sysdeps/x86_64/preconfigure.ac: ... here.
59958         * aclocal.m4: Change reference to configure.in to configure.ac.
59959         * config.h.in: Likewise.
59960         * manual/install.texi: Likewise.
59961         * manual/maint.texi: Likewise.
59962         * Makefile: Likewise.
59963         * malloc/Makefile: Likewise.
59964         * nscd/Makefile: Likewise.
59965         * Makeconfig: Change reference to configure.in and
59966         preconfigure.in to configure.ac and preconfigure.ac
59967         respectively.
59968         * INSTALL: Regenerated.
59969         * configure: Likewise.
59970         * sysdeps/gnu/configure: Likewise.
59971         * sysdeps/i386/configure: Likewise.
59972         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
59973         * sysdeps/mach/configure: Likewise.
59974         * sysdeps/mach/hurd/configure: Likewise.
59975         * sysdeps/powerpc/configure: Likewise.
59976         * sysdeps/powerpc/powerpc32/configure: Likewise.
59977         * sysdeps/powerpc/powerpc64/configure: Likewise.
59978         * sysdeps/s390/s390-32/configure: Likewise.
59979         * sysdeps/s390/s390-64/configure: Likewise.
59980         * sysdeps/sh/configure: Likewise.
59981         * sysdeps/sparc/configure: Likewise.
59982         * sysdeps/unix/sysv/linux/configure: Likewise.
59983         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
59984         * sysdeps/x86_64/configure: Likewise.
59985         * sysdeps/x86_64/preconfigure: Likewise.
59987 2013-10-29  Andreas Schwab  <schwab@suse.de>
59989         * stdio-common/Makefile (tst-swscanf-ENV): Define.
59991 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59993         * benchtests/pow-inputs: Add new inputs.
59995         * benchtests/exp-inputs: Add new inputs.
59997         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
59998         conditional check for return value.
59999         (__cos32): Likewise.
60001 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60003         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
60004         to provide a boost for large inputs with word alignment.
60005         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
60006         implementation based on optimized PPC64 strcpy.
60007         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
60008         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
60009         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
60010         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
60012 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60014         [BZ #2801]
60015         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
60017 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60019         [BZ #14876]
60020         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
60021         * time/tst-strptime.c (day_tests): Add testcase.
60023 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60025         [BZ #14029]
60026         * manual/pattern.texi: Acknowledge that fnmatch can fail.
60028 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
60030         [BZ #16074]
60031         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
60032         MAP_FAILED on error.
60034 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60036         [BZ #16072]
60037         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
60038         heap for large requests.
60040 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
60042         [BZ #9954]
60043         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
60044         result if the result has no associated interface.
60045         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
60046         interface for all 127.X.Y.Z addresses.
60048 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
60050         * locale/iso-639.def: Add Ligurian (lij)
60052 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
60054         [BZ #15825]
60055         * sunrpc/rpc_main.c: Document rpcgen -5.
60057 2013-10-19  Michael Stahl  <mstahl@redhat.com>
60059         * elf/rtld.c (do_preload): Print the reason why preloading failed.
60061 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60063         [BZ #10278]
60064         * posix/glob.c: Match only directories when trailing slash is present.
60065         * posix/tst-gnuglob.c (my_opendir): Do not open files.
60066         (main): Add testcase.
60068 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60070         [BZ #15670]
60071         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
60073 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
60075         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60076         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
60077         AUTH_DES and cindex for FIPS 140-2.
60078         (DES Encryption): Add cindex FIPS 46-3.
60080         * locale/locarchive.h (struct locarhandle): Add fname.
60081         * locale/programs/localedef.c (main): Pass ARGV[remaining]
60082         if an optional argument was specified to --list-archive,
60083         otherwise NULL.
60084         * locale/programs/locarchive.c (show_archive_content): Take new
60085         argument fname and pass it via ah.fname to open_archive.
60086         * locale/programs/localedef.h: Update decl.
60087         (open_archive): If AH->fname is non-null, open that file
60088         rather than the default file name, and don't ignore ENOENT.
60089         (create_archive): Set AH.fname to NULL.
60090         (delete_locales_from_archive): Likewise.
60091         (add_locales_to_archive): Likewise.
60092         * locale/programs/locfile.c (write_all_categories): Likewise.
60094 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
60095             Aldy Hernandez  <aldyh@redhat.com>
60097         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60098         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60099         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60100         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60101         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60102         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60103         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60104         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60105         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60106         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60107         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60108         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60109         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60110         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60111         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60112         Likewise.
60113         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60114         Likewise.
60115         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60116         Likewise.
60117         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60118         Likewise.
60119         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60120         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60121         Likewise.
60122         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60123         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60124         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60125         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60126         Likewise.
60127         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60128         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60129         * sysdeps/powerpc/preconfigure: Likewise.
60130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60131         Likewise.
60132         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60133         Replace contents of file by #include of <fenv_libc.h>.
60134         * sysdeps/powerpc/soft-fp/sfp-machine.h
60135         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60136         and <sys/prctl.h>.
60137         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60138         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60139         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60140         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60141         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60150         Allow copysignl PLT reference to be missing.
60152 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
60153             Joseph Myers  <joseph@codesourcery.com
60155         [BZ #15948]
60156         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
60157         single character.
60158         (add_to_tablewc): Assert sequence of wide characters is nonempty.
60160 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60162         * elf/tst-tls-dlinfo.c: Don't include tls.h.
60163         * elf/tst-tls1.c: Likewise.
60164         * elf/tst-tls10.h: Likewise.
60165         * elf/tst-tls14.c: Likewise.
60166         * elf/tst-tls2.c: Likewise.
60167         * elf/tst-tls3.c: Likewise.
60168         * elf/tst-tls4.c: Likewise.
60169         * elf/tst-tls5.c: Likewise.
60170         * elf/tst-tls6.c: Likewise.
60171         * elf/tst-tls7.c: Likewise.
60172         * elf/tst-tls8.c: Likewise.
60173         * elf/tst-tls9.c: Likewise.
60174         * elf/tst-tlsmod1.c: Likewise.
60175         * elf/tst-tlsmod13.c: Likewise.
60176         * elf/tst-tlsmod13a.c: Likewise.
60177         * elf/tst-tlsmod14a.c: Likewise.
60178         * elf/tst-tlsmod16a.c: Likewise.
60179         * elf/tst-tlsmod16b.c: Likewise.
60180         * elf/tst-tlsmod2.c: Likewise.
60181         * elf/tst-tlsmod3.c: Likewise.
60182         * elf/tst-tlsmod4.c: Likewise.
60183         * elf/tst-tlsmod5.c: Likewise.
60184         * elf/tst-tlsmod6.c: Likewise.
60186 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
60188         [BZ #12486]
60189         * malloc/malloc.c: remove checks for statistics.
60191 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60193         [BZ #15277]
60194         * inet/inet_net.c (inet_network): Detect additional invalid strings.
60195         * inet/tst-network.c: Add testcase.
60197 2013-10-17  Andreas Schwab  <schwab@suse.de>
60199         [BZ #15218]
60200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
60201         to determine canonical name.
60203 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60205         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
60206         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
60207         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60208         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60209         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60210         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60211         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60212         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60213         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60214         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60215         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60216         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60217         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60218         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60219         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60220         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60221         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60222         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60223         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60224         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60225         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60226         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60227         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60228         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
60229         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
60230         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60231         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60232         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
60233         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60234         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
60235         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60236         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60237         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60238         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60239         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60240         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60241         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60242         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60243         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60244         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60245         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60246         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60247         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60248         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60249         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60250         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60251         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60252         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60253         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60254         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60255         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60256         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60257         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60258         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60259         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60260         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60261         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60262         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60264 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
60266         [BZ #16041]
60267         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
60268         make result into a quiet NaN.
60270 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
60272         * soft-fp/adddf3.c: Fix horizontal whitespace.
60273         * soft-fp/addsf3.c: Likewise.
60274         * soft-fp/addtf3.c: Likewise.
60275         * soft-fp/divdf3.c: Likewise.
60276         * soft-fp/divsf3.c: Likewise.
60277         * soft-fp/divtf3.c: Likewise.
60278         * soft-fp/double.h: Likewise.
60279         * soft-fp/eqdf2.c: Likewise.
60280         * soft-fp/eqsf2.c: Likewise.
60281         * soft-fp/eqtf2.c: Likewise.
60282         * soft-fp/extenddftf2.c: Likewise.
60283         * soft-fp/extended.h: Likewise.
60284         * soft-fp/extendsfdf2.c: Likewise.
60285         * soft-fp/extendsftf2.c: Likewise.
60286         * soft-fp/extendxftf2.c: Likewise.
60287         * soft-fp/fixdfdi.c: Likewise.
60288         * soft-fp/fixdfsi.c: Likewise.
60289         * soft-fp/fixdfti.c: Likewise.
60290         * soft-fp/fixsfdi.c: Likewise.
60291         * soft-fp/fixsfsi.c: Likewise.
60292         * soft-fp/fixsfti.c: Likewise.
60293         * soft-fp/fixtfdi.c: Likewise.
60294         * soft-fp/fixtfsi.c: Likewise.
60295         * soft-fp/fixtfti.c: Likewise.
60296         * soft-fp/fixunsdfdi.c: Likewise.
60297         * soft-fp/fixunsdfsi.c: Likewise.
60298         * soft-fp/fixunsdfti.c: Likewise.
60299         * soft-fp/fixunssfdi.c: Likewise.
60300         * soft-fp/fixunssfsi.c: Likewise.
60301         * soft-fp/fixunssfti.c: Likewise.
60302         * soft-fp/fixunstfdi.c: Likewise.
60303         * soft-fp/fixunstfsi.c: Likewise.
60304         * soft-fp/fixunstfti.c: Likewise.
60305         * soft-fp/floatdidf.c: Likewise.
60306         * soft-fp/floatdisf.c: Likewise.
60307         * soft-fp/floatditf.c: Likewise.
60308         * soft-fp/floatsidf.c: Likewise.
60309         * soft-fp/floatsisf.c: Likewise.
60310         * soft-fp/floatsitf.c: Likewise.
60311         * soft-fp/floattidf.c: Likewise.
60312         * soft-fp/floattisf.c: Likewise.
60313         * soft-fp/floattitf.c: Likewise.
60314         * soft-fp/floatundidf.c: Likewise.
60315         * soft-fp/floatundisf.c: Likewise.
60316         * soft-fp/floatunditf.c: Likewise.
60317         * soft-fp/floatunsidf.c: Likewise.
60318         * soft-fp/floatunsisf.c: Likewise.
60319         * soft-fp/floatunsitf.c: Likewise.
60320         * soft-fp/floatuntidf.c: Likewise.
60321         * soft-fp/floatuntisf.c: Likewise.
60322         * soft-fp/floatuntitf.c: Likewise.
60323         * soft-fp/fmadf4.c: Likewise.
60324         * soft-fp/fmasf4.c: Likewise.
60325         * soft-fp/fmatf4.c: Likewise.
60326         * soft-fp/gedf2.c: Likewise.
60327         * soft-fp/gesf2.c: Likewise.
60328         * soft-fp/getf2.c: Likewise.
60329         * soft-fp/ledf2.c: Likewise.
60330         * soft-fp/lesf2.c: Likewise.
60331         * soft-fp/letf2.c: Likewise.
60332         * soft-fp/muldf3.c: Likewise.
60333         * soft-fp/mulsf3.c: Likewise.
60334         * soft-fp/multf3.c: Likewise.
60335         * soft-fp/negdf2.c: Likewise.
60336         * soft-fp/negsf2.c: Likewise.
60337         * soft-fp/negtf2.c: Likewise.
60338         * soft-fp/op-1.h: Likewise.
60339         * soft-fp/op-2.h: Likewise.
60340         * soft-fp/op-4.h: Likewise.
60341         * soft-fp/op-8.h: Likewise.
60342         * soft-fp/op-common.h: Likewise.
60343         * soft-fp/quad.h: Likewise.
60344         * soft-fp/single.h: Likewise.
60345         * soft-fp/soft-fp.h: Likewise.
60346         * soft-fp/sqrtdf2.c: Likewise.
60347         * soft-fp/sqrtsf2.c: Likewise.
60348         * soft-fp/sqrttf2.c: Likewise.
60349         * soft-fp/subdf3.c: Likewise.
60350         * soft-fp/subsf3.c: Likewise.
60351         * soft-fp/subtf3.c: Likewise.
60352         * soft-fp/truncdfsf2.c: Likewise.
60353         * soft-fp/trunctfdf2.c: Likewise.
60354         * soft-fp/trunctfsf2.c: Likewise.
60355         * soft-fp/trunctfxf2.c: Likewise.
60356         * soft-fp/unorddf2.c: Likewise.
60357         * soft-fp/unordsf2.c: Likewise.
60358         * soft-fp/unordtf2.c: Likewise.
60360 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
60362         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
60363         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
60365 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
60367         * elf/dl-libc.c: Clear initfini list after freeing.
60369 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
60371         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
60372         * soft-fp/addsf3.c: Likewise.
60373         * soft-fp/addtf3.c: Likewise.
60374         * soft-fp/divdf3.c: Likewise.
60375         * soft-fp/divsf3.c: Likewise.
60376         * soft-fp/divtf3.c: Likewise.
60377         * soft-fp/double.h: Likewise.
60378         * soft-fp/eqdf2.c: Likewise.
60379         * soft-fp/eqsf2.c: Likewise.
60380         * soft-fp/eqtf2.c: Likewise.
60381         * soft-fp/extenddftf2.c: Likewise.
60382         * soft-fp/extended.h: Likewise.
60383         * soft-fp/extendsfdf2.c: Likewise.
60384         * soft-fp/extendsftf2.c: Likewise.
60385         * soft-fp/extendxftf2.c: Likewise.
60386         * soft-fp/fixdfdi.c: Likewise.
60387         * soft-fp/fixdfsi.c: Likewise.
60388         * soft-fp/fixdfti.c: Likewise.
60389         * soft-fp/fixsfdi.c: Likewise.
60390         * soft-fp/fixsfsi.c: Likewise.
60391         * soft-fp/fixsfti.c: Likewise.
60392         * soft-fp/fixtfdi.c: Likewise.
60393         * soft-fp/fixtfsi.c: Likewise.
60394         * soft-fp/fixtfti.c: Likewise.
60395         * soft-fp/fixunsdfdi.c: Likewise.
60396         * soft-fp/fixunsdfsi.c: Likewise.
60397         * soft-fp/fixunsdfti.c: Likewise.
60398         * soft-fp/fixunssfdi.c: Likewise.
60399         * soft-fp/fixunssfsi.c: Likewise.
60400         * soft-fp/fixunssfti.c: Likewise.
60401         * soft-fp/fixunstfdi.c: Likewise.
60402         * soft-fp/fixunstfsi.c: Likewise.
60403         * soft-fp/fixunstfti.c: Likewise.
60404         * soft-fp/floatdidf.c: Likewise.
60405         * soft-fp/floatdisf.c: Likewise.
60406         * soft-fp/floatditf.c: Likewise.
60407         * soft-fp/floatsidf.c: Likewise.
60408         * soft-fp/floatsisf.c: Likewise.
60409         * soft-fp/floatsitf.c: Likewise.
60410         * soft-fp/floattidf.c: Likewise.
60411         * soft-fp/floattisf.c: Likewise.
60412         * soft-fp/floattitf.c: Likewise.
60413         * soft-fp/floatundidf.c: Likewise.
60414         * soft-fp/floatundisf.c: Likewise.
60415         * soft-fp/floatunsidf.c: Likewise.
60416         * soft-fp/floatunsisf.c: Likewise.
60417         * soft-fp/floatuntidf.c: Likewise.
60418         * soft-fp/floatuntisf.c: Likewise.
60419         * soft-fp/floatuntitf.c: Likewise.
60420         * soft-fp/fmadf4.c: Likewise.
60421         * soft-fp/fmasf4.c: Likewise.
60422         * soft-fp/fmatf4.c: Likewise.
60423         * soft-fp/gedf2.c: Likewise.
60424         * soft-fp/gesf2.c: Likewise.
60425         * soft-fp/getf2.c: Likewise.
60426         * soft-fp/ledf2.c: Likewise.
60427         * soft-fp/lesf2.c: Likewise.
60428         * soft-fp/letf2.c: Likewise.
60429         * soft-fp/muldf3.c: Likewise.
60430         * soft-fp/mulsf3.c: Likewise.
60431         * soft-fp/multf3.c: Likewise.
60432         * soft-fp/negdf2.c: Likewise.
60433         * soft-fp/negsf2.c: Likewise.
60434         * soft-fp/negtf2.c: Likewise.
60435         * soft-fp/op-1.h: Likewise.
60436         * soft-fp/op-2.h: Likewise.
60437         * soft-fp/op-4.h: Likewise.
60438         * soft-fp/op-8.h: Likewise.
60439         * soft-fp/op-common.h: Likewise.
60440         * soft-fp/quad.h: Likewise.
60441         * soft-fp/single.h: Likewise.
60442         * soft-fp/soft-fp.h: Likewise.
60443         * soft-fp/sqrtdf2.c: Likewise.
60444         * soft-fp/sqrtsf2.c: Likewise.
60445         * soft-fp/sqrttf2.c: Likewise.
60446         * soft-fp/subdf3.c: Likewise.
60447         * soft-fp/subsf3.c: Likewise.
60448         * soft-fp/subtf3.c: Likewise.
60449         * soft-fp/truncdfsf2.c: Likewise.
60450         * soft-fp/trunctfdf2.c: Likewise.
60451         * soft-fp/trunctfsf2.c: Likewise.
60452         * soft-fp/trunctfxf2.c: Likewise.
60453         * soft-fp/unorddf2.c: Likewise.
60454         * soft-fp/unordsf2.c: Likewise.
60455         * soft-fp/unordtf2.c: Likewise.
60457 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60459         [BZ #15672]
60460         * misc/error.c (error_tail): Fix possible buffer overflow.
60462 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60464         [BZ #13028]
60465         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60466         address.
60468 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60470         [BZ #832]
60471         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60472         testing pipefail option.
60474 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60476         * soft-fp/double.h: Indent preprocessor directives inside #if.
60477         * soft-fp/extended.h: Likewise.
60478         * soft-fp/op-2.h: Likewise.
60479         * soft-fp/op-4.h: Likewise.
60480         * soft-fp/op-common.h: Likewise.
60481         * soft-fp/quad.h: Likewise.
60482         * soft-fp/single.h: Likewise.
60483         * soft-fp/soft-fp.h: Likewise.
60485 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60487         * iconv/iconv_prog.c: Fix typos.
60488         * stdio-common/psiginfo-data.h: Likewise.
60490 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60492         [BZ #15764]
60493         * locale/setlocale.c: Fix typo.
60495 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60497         [BZ #16036]
60498         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60499         signaling NaN arguments.
60500         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60501         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60503         [BZ #14910]
60504         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60505         unordered operands.
60506         * soft-fp/gesf2.c (__gesf2): Likewise.
60507         * soft-fp/getf2.c (__getf2): Likewise.
60508         * soft-fp/ledf2.c (__ledf2): Likewise.
60509         * soft-fp/lesf2.c (__lesf2): Likewise.
60510         * soft-fp/letf2.c (__letf2): Likewise.
60512         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60513         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60514         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60515         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60516         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60517         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60518         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60519         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60520         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60521         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60522         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60523         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60524         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60525         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60526         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60527         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60528         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60529         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60530         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60531         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60532         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60533         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60534         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60535         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60536         * soft-fp/floattidf.c (__floattidf): Likewise.
60537         * soft-fp/floattisf.c (__floattisf): Likewise.
60538         * soft-fp/floattitf.c (__floattitf): Likewise.
60539         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60540         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60541         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60542         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60543         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60544         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60545         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60546         * soft-fp/gesf2.c (__gesf2): Likewise.
60547         * soft-fp/getf2.c (__getf2): Likewise.
60548         * soft-fp/ledf2.c (__ledf2): Likewise.
60549         * soft-fp/lesf2.c (__lesf2): Likewise.
60550         * soft-fp/letf2.c (__letf2): Likewise.
60552         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60553         Undefine and redefine.
60554         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60555         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60556         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60557         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60558         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60559         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60560         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60561         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60562         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60563         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60564         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60565         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60566         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60567         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60568         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60570         [BZ #16032]
60571         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60572         without decrementing exponent if mantissa >= that for the
60573         denominator, not >.
60574         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60575         denominator, not >.  Decrement exponent in < case instead of
60576         incrementing in >= case.
60577         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60578         without decrementing exponent if mantissa >= that for the
60579         denominator, not >.
60581         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60582         computing saturated result for unsigned overflow.
60584 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60585             Jeff Law  <law@redhat.com>
60587         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60588         (atan2Mp): Add systemtap probe marker.
60589         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60590         (__ieee754_log): Add systemtap probe marker.
60591         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60592         (atanMp): Add systemtap probe marker.
60593         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60594         (tanMp): Add systemtap probe marker.
60595         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60596         (__slowexp): Add systemtap probe marker.
60597         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60598         (__slowpow): Add systemtap probe marker.
60599         * manual/probes.texi: Document probes.
60601 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
60603         [BZ #15362]
60604         * libio/fileops.c (_IO_new_file_write): Return count of bytes
60605         written.
60606         (_IO_new_file_xsputn): Don't return EOF if nothing has been
60607         written.
60608         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60609         written to buffer but not flushed.
60610         * libio/iofwrite_u.c:  Likewise.
60611         * libio/iopadn.c:  Return bytes returned even if EOF was
60612         encountered.
60613         * libio/iowpadn.c:  Likewise.
60614         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60615         if _IO_padn does not write the whole buffer.
60616         [!COMPILE_WPRINTF] (PAD): Likewise.
60618 2013-10-10  David S. Miller  <davem@davemloft.net>
60620         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60621         directory block.
60623 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60625         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
60626         instead of FSF address.
60627         * soft-fp/fixdfti.c: Likewise.
60628         * soft-fp/fixsfti.c: Likewise.
60629         * soft-fp/fixtfti.c: Likewise.
60630         * soft-fp/fixunsdfti.c: Likewise.
60631         * soft-fp/fixunssfti.c: Likewise.
60632         * soft-fp/fixunstfti.c: Likewise.
60633         * soft-fp/floattidf.c: Likewise.
60634         * soft-fp/floattisf.c: Likewise.
60635         * soft-fp/floattitf.c: Likewise.
60636         * soft-fp/floatuntidf.c: Likewise.
60637         * soft-fp/floatuntisf.c: Likewise.
60638         * soft-fp/floatuntitf.c: Likewise.
60639         * soft-fp/trunctfxf2.c: Likewise.
60641         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
60642         * soft-fp/fixdfti.c: Likewise.
60643         * soft-fp/fixsfti.c: Likewise.
60644         * soft-fp/fixtfti.c: Likewise.
60645         * soft-fp/fixunsdfti.c: Likewise.
60646         * soft-fp/fixunssfti.c: Likewise.
60647         * soft-fp/fixunstfti.c: Likewise.
60648         * soft-fp/floattidf.c: Likewise.
60649         * soft-fp/floattisf.c: Likewise.
60650         * soft-fp/floattitf.c: Likewise.
60651         * soft-fp/floatuntidf.c: Likewise.
60652         * soft-fp/floatuntisf.c: Likewise.
60653         * soft-fp/floatuntitf.c: Likewise.
60654         * soft-fp/trunctfxf2.c: Likewise.
60656 2013-10-10  David S. Miller  <davem@davemloft.net>
60658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60660 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
60662         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60663         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60664         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60665         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60666         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60667         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60668         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60670         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60671         for NaNs before doing comparisons on argument.
60672         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60673         Likewise.
60675 2013-10-10  Will Newton  <will.newton@linaro.org>
60677         * malloc/hooks.c (memalign_check): Ensure the value of bytes
60678         passed to _int_memalign does not overflow.
60680 2013-10-10  Torvald Riegel  <triegel@redhat.com>
60682         * scripts/bench.pl: Add include-sources directive.
60683         * benchtests/README: Update documentation.
60685 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60687         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60688         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60689         instead of FP_INIT_ROUNDMODE.
60690         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60691         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60693         [BZ #16034]
60694         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
60695         copy class of input value.
60696         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
60697         not handle exceptions.
60698         * soft-fp/negsf2.c (__negsf2): Likewise.
60699         * soft-fp/negtf2.c (__negtf2): Likewise.
60700         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60702 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
60704         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60705         semicolon.  From Linux kernel.
60707 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
60709         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60711 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
60713         [BZ #156]
60714         * manual/socket.texi: Added statement about buffer
60715         for gethostbyname2_r.
60717 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
60719         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60720         Use .p2align directive instead, throughout.
60721         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60722         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60723         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60724         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60725         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60726         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60727         * sysdeps/x86_64/strchr.S: Likewise.
60728         * sysdeps/x86_64/strrchr.S: Likewise.
60730 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60732         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60734         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60736         * sysdeps/generic/math_private.h (__mpsin1): Remove
60737         declaration.
60738         (__mpcos1): Likewise.
60739         (__mpsin): New argument __range_reduce.
60740         (__mpcos): Likewise.
60741         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60742         (slow): Use __mpsin and __mpcos.
60743         (slow1): Likewise.
60744         (slow2): Likewise.
60745         (sloww): Likewise.
60746         (sloww1): Likewise.
60747         (sloww2): Likewise.
60748         (bsloww): Likewise.
60749         (bsloww1): Likewise.
60750         (bsloww2): Likewise.
60751         (cslow2): Likewise.
60752         (csloww): Likewise.
60753         (csloww1): Likewise.
60754         (csloww2): Likewise.
60755         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60756         range_reduce.  Merge in __mpsin1.
60757         (__mpcos): Likewise.
60758         (__mpsin1): Remove.
60759         (__mpcos1): Likewise.
60761 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
60763         * locale/loadlocale.c (_nl_intern_locale_data): Use
60764         LOCFILE_ALIGNED_P.
60765         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60766         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60767         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60768         obstack data is appropriately aligned.
60769         (obstack_int32_grow_fast): Likewise.
60770         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60771         * locale/programs/locfile.c (add_locale_uint32): Likewise.
60772         (add_locale_uint32_array): Likewise.
60774 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60776         * benchtests/Makefile: Remove ARGLIST and RET variables.
60777         ($(objpfx)bench-%.c): Pass only function name to the script.
60778         * benchtests/README: Update documentation.
60779         * benchtests/acos-inputs: Add new directives.
60780         * benchtests/acosh-inputs: Likewise.
60781         * benchtests/asin-inputs: Likewise.
60782         * benchtests/asinh-inputs: Likewise.
60783         * benchtests/atan-inputs: Likewise.
60784         * benchtests/atanh-inputs: Likewise.
60785         * benchtests/cos-inputs: Likewise.
60786         * benchtests/cosh-inputs: Likewise.
60787         * benchtests/exp-inputs: Likewise.
60788         * benchtests/log-inputs: Likewise.
60789         * benchtests/pow-inputs: Likewise.
60790         * benchtests/rint-inputs: Likewise.
60791         * benchtests/sin-inputs: Likewise.
60792         * benchtests/sinh-inputs: Likewise.
60793         * benchtests/tan-inputs: Likewise.
60794         * benchtests/tanh-inputs: Likewise.
60795         * scripts/bench.pl: Add support for new directives.
60797 2013-10-07  Alan Modra  <amodra@gmail.com>
60799         * README: Fix careless merge.
60801 2013-10-05  Alan Modra  <amodra@gmail.com>
60803         * NEWS: Mention powerpc64le support and bugs fixed.
60804         * README: Both big-endian and little-endian powerpc64 supported.
60806 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60808         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
60809         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
60810         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
60811         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
60813 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
60815         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
60816         match prototype.
60818 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
60820         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
60821         Move -mhard-float appending from
60822         ports/sysdeps/powerpc/powerpc32/Makefile.
60823         [$(with-fp) = yes] (ASFLAGS): Likewise.
60824         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
60825         * sysdeps/powerpc/nofpu: Move directory from
60826         ports/sysdeps/powerpc/nofpu.
60827         * sysdeps/powerpc/soft-fp: Move directory from
60828         ports/sysdeps/powerpc/soft-fp.
60829         * sysdeps/powerpc/powerpc32/405: Move directory from
60830         ports/sysdeps/powerpc/powerpc32/405.
60831         * sysdeps/powerpc/powerpc32/440: Move directory from
60832         ports/sysdeps/powerpc/powerpc32/440.
60833         * sysdeps/powerpc/powerpc32/464: Move directory from
60834         ports/sysdeps/powerpc/powerpc32/464.
60835         * sysdeps/powerpc/powerpc32/476: Move directory from
60836         ports/sysdeps/powerpc/powerpc32/476.
60837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
60838         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
60839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
60840         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
60841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
60842         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
60843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
60844         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
60845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
60846         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
60847         * README: Update for powerpc-*-linux-gnu software floating point
60848         support in libc.
60850         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
60851         case to powerpc/powerpc32*.
60852         * sysdeps/unix/sysv/linux/configure: Regenerated.
60854         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
60855         (_FPU_MASK_OM): Define as 0x04.
60856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
60857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
60858         0x00c10080.
60859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
60860         0x0000003c.
60861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
60863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
60864         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60865         getcontext_e500.
60866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
60867         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60868         setcontext_e500.
60869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
60870         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
60871         and setcontext_e500.
60873 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
60875         * locale/iso-3166.def: Update iso-1366.def and related occurrences
60877 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60879         * manual/threads.texi (Default Thread Attributes): Fix typo.
60881 2013-10-04  Will Newton  <will.newton@linaro.org>
60883         * malloc/Makefile: Add tst-memalign.
60884         * malloc/tst-memalign.c: New file.
60886         * malloc/tst-posix_memalign.c: Add comments.
60887         (do_test): Add comments and call free on all potentially
60888         allocated pointers. Add space after cast.
60890         * malloc/tst-pvalloc.c: Add comments.
60891         (do_test): Add comments and call free on all potentially
60892         allocated pointers. Remove duplicate check for NULL pointer.
60893         Add space after cast.
60895         * malloc/tst-valloc.c: Add comments.
60896         (do_test): Add comments and call free on all potentially
60897         allocated pointers. Remove duplicate check for NULL pointer.
60898         Add space after cast.
60900 2013-10-04  Alan Modra  <amodra@gmail.com>
60902         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60903         Use stdint types in rather than __attribute__((mode())).
60904         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60906 2013-10-04  Alan Modra  <amodra@gmail.com>
60908         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60909         Correct handling of unaligned relocs for little-endian.
60910         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60912 2013-10-04  Alan Modra  <amodra@gmail.com>
60914         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
60915         * configure: Regenerate.
60916         * nptl/shlib-versions: Powerpc*le starts at 2.18.
60917         * shlib-versions: Likewise.
60919 2013-10-04  Alan Modra  <amodra@gmail.com>
60921         * string/tester.c (test_memrchr): Increment reported test cycle.
60923 2013-10-04  Alan Modra  <amodra@gmail.com>
60925         * string/test-memcpy.c (do_one_test): When reporting errors, print
60926         string address and don't overrun end of string.
60928 2013-10-04  Alan Modra  <amodra@gmail.com>
60930         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
60931         insrdi.  Make better use of reg selection to speed exit slightly.
60932         Schedule entry path a little better.  Remove useless "are we done"
60933         checks on entry to main loop.  Handle wrapping around zero address.
60934         Correct main loop count.  Handle single left-over word from main
60935         loop inline rather than by using loop_small.  Remove extra word
60936         case in loop_small caused by wrong loop count.  Add little-endian
60937         support.
60938         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60939         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
60940         cache hint.
60941         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60942         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
60943         support.  Avoid rlwimi.
60944         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
60946 2013-10-04  Alan Modra  <amodra@gmail.com>
60948         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
60949         insrdi.  Formatting.
60950         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
60951         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60952         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
60953         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60954         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60955         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
60957 2013-10-04  Alan Modra  <amodra@gmail.com>
60959         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
60960         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60961         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
60962         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
60963         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60964         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60965         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60966         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60967         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
60968         use of regs.  Use power7 mtocrf.  Tidy function tails.
60970 2013-10-04  Alan Modra  <amodra@gmail.com>
60972         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
60973         Formatting.  Consistently use rXXX register defines or rN defines.
60974         Use early exit labels that avoid restoring unused non-volatile regs.
60975         Make cr field use more consistent with rWORDn compares.  Rename
60976         regs used as shift registers for unaligned loop, using rN defines
60977         for short lifetime/multiple use regs.
60978         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60979         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
60980         addi 1,1,64 to pop stack frame.  Simplify return value code.
60981         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60983 2013-10-04  Alan Modra  <amodra@gmail.com>
60985         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
60986         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
60987         rather than rlwimi.
60988         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
60989         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
60990         little-endian support.  Correct typos.
60991         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
60992         rather than rlwimi.
60993         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
60994         in loop and entry code to keep "and." results.
60995         (strchr): Add little-endian support.  Comment.  Move cntlzd
60996         earlier in tail.
60997         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
60999 2013-10-04  Alan Modra  <amodra@gmail.com>
61001         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
61002         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
61003         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
61004         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
61006 2013-10-04  Alan Modra  <amodra@gmail.com>
61008         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
61009         (rTMP): Define as r11.
61010         (strcmp): Add little-endian support.  Optimise tail.
61011         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
61012         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61013         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61014         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61015         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61016         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61017         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61019 2013-10-04  Alan Modra  <amodra@gmail.com>
61021         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
61022         little-endian support.  Remove unnecessary "are we done" tests.
61023         Handle "s" wrapping around zero and extremely large "size".
61024         Correct main loop count.  Handle single left-over word from main
61025         loop inline rather than by using small_loop.  Correct comments.
61026         Delete "zero" tail, use "end_max" instead.
61027         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
61029 2013-10-04  Alan Modra  <amodra@gmail.com>
61031         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
61032         support.  Don't branch over align.
61033         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
61034         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
61035         support.  Rearrange tmp reg use to suit.  Comment.
61036         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
61038 2013-10-04  Alan Modra  <amodra@gmail.com>
61040         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
61042 2013-10-04  Alan Modra  <amodra@gmail.com>
61044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
61045         conditional form of branch and link when obtaining pc.
61046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
61048 2013-10-04  Alan Modra  <amodra@gmail.com>
61050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
61051         HIWORD/LOWORD.
61052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
61053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
61055 2013-10-04  Alan Modra  <amodra@gmail.com>
61057         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
61058         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
61059         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
61060         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
61061         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
61062         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61063         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
61064         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61065         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
61066         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
61068 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61069             Alistair Popple <alistair@ozlabs.au.ibm.com>
61070             Alan Modra <amodra@gmail.com>
61072         [BZ #15723]
61073         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
61074         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
61075         _dl_hwcap access for little-endian.
61076         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
61077         destroy vmx regs when saving unaligned.
61078         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61079         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
61080         destroy vmx regs when saving unaligned.
61082 2013-10-04  Alan Modra  <amodra@gmail.com>
61084         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61085         Don't use a union to pack hi/low value.
61087 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61089         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61090         for little-endian.
61091         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61093         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61094         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61095         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61097 2013-10-04  Alan Modra  <amodra@gmail.com>
61099         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61100         constants to usual value for .cst8 section, and remove redundant
61101         high address load.
61102         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61103         constant for 0x1p52.  Load little-endian words of double from
61104         correct stack offsets.
61106 2013-10-04  Alan Modra  <amodra@gmail.com>
61108         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61109         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61110         words of double from correct stack offsets.
61111         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61112         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61113         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61114         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61115         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61116         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61117         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61118         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61119         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61120         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61121         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61122         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61123         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61124         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61125         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61126         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61127         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61129 2013-10-04  Alan Modra  <amodra@gmail.com>
61131         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61132         64-bit int/double union.
61133         (_FPU_SETCW): Likewise.
61134         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61135         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61137 2013-10-04  Alan Modra  <amodra@gmail.com>
61139         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61140         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61142 2013-10-04  Alan Modra  <amodra@gmail.com>
61144         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61145         use vector int constants.
61146         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61148 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61150         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61151         array with long long.
61152         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
61153         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
61154         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
61155         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
61156         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61157         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
61158         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
61159         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
61160         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
61161         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
61162         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
61163         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
61164         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61166 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61168         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
61169         (__signbit): Likewise.  Correct for little-endian.
61170         (__signbitl): Call __signbit.
61171         (lrint): Correct for little-endian.
61172         (lrintf): Call lrint.
61174 2013-10-04  Alan Modra  <amodra@gmail.com>
61176         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
61177         union 32-bit int array member with 64-bit int array.
61178         (t515, tm256): Double rather than long double.
61179         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
61181 2013-10-04  Alan Modra  <amodra@gmail.com>
61183         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
61184         Delete.
61185         (IEEE854_LONG_DOUBLE_BIAS): Delete.
61186         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
61187         version of math_ldbl.h.
61189 2013-10-04  Alan Modra  <amodra@gmail.com>
61191         [BZ #15734], [BZ #15735]
61192         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
61193         all uses of ieee875 long double macros and unions.  Simplify test
61194         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
61195         ldbl_extract_mantissa value for ix,iy exponents.  Properly
61196         normalize after ldbl_extract_mantissa, and don't add hidden bit
61197         already handled.  Don't treat low word of ieee854 mantissa like
61198         low word of IBM long double and mask off bit when testing for
61199         zero.
61200         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
61201         all uses of ieee875 long double macros and unions.  Simplify tests
61202         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
61203         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
61204         two1022, instead use their values.  Recognise that tests for large
61205         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
61206         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
61207         Rewrite all uses of ieee875 long double macros and unions.  Simplify
61208         test for 0.0L and nan.  Correct negation.
61209         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
61210         ieee875 long double macros and unions.  Correct output for large
61211         magnitude x.  Correct absolute value calculation.
61212         (__erfcl): Likewise.
61213         * math/libm-test.inc: Add tests for errors discovered in IBM long
61214         double versions of fmodl, remainderl, erfl and erfcl.
61216 2013-10-04  Alan Modra  <amodra@gmail.com>
61218         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
61219         all uses of ieee854 long double macros and unions.  Simplify tests
61220         for long doubles that are fully specified by the high double.
61221         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
61222         Likewise.
61223         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
61224         Remove dead code too.
61225         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61226         (__ieee754_ynl): Likewise.
61227         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
61228         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
61229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
61230         Remove dead code too.
61231         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
61232         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
61233         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
61234         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
61235         Simplify.
61236         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
61237         Simplify.
61238         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
61239         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
61240         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61241         Comment on variable precision.
61242         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
61243         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61244         Likewise.
61245         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
61246         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61247         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61248         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61249         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
61251 2013-10-04  Alan Modra  <amodra@gmail.com>
61253         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
61254         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
61255         all uses of ieee854 long double macros and unions.
61256         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
61257         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61258         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
61259         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
61260         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
61261         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61262         Likewise.
61263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
61264         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61265         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
61266         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61267         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
61268         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
61269         Simplify sign and nan test too.
61270         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
61271         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
61272         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
61273         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
61274         Likewise.
61275         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61276         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
61277         Likewise.
61278         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61279         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
61280         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
61281         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
61282         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
61283         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
61285 2013-10-04  Alan Modra  <amodra@gmail.com>
61287         * stdio-common/printf_size.c (__printf_size): Don't use
61288         union ieee854_long_double in fpnum union.
61289         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
61290         signbit macro to retrieve sign from long double.
61291         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
61292         retrieve sign from long double.
61293         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
61294         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
61295         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
61296         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61297         * math/test-misc.c (main): Don't use union ieee854_long_double.
61299 2013-10-04  Alan Modra  <amodra@gmail.com>
61301         [BZ #15680]
61302         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
61303         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
61304         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
61305         calculation.  Remove unnecessary test for denormal exponent.
61306         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
61307         Correct handling of denormals.  Avoid undefined shift behaviour.
61308         Correct normalisation of low mantissa when low double is denormal.
61309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
61310         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
61311         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
61312         Correct normalisation of low mantissa.  Test for overflow of high
61313         mantissa and normalise.
61314         (ldbl_nearbyint): Use more readable constant for two52.
61315         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
61316         (__mpn_construct_long_double): Fix test for overflow of high
61317         mantissa and correct normalisation.  Avoid undefined shift.
61319 2013-10-04  Alan Modra  <amodra@gmail.com>
61321         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61322         (union ibm_extended_long_double): Define as an array of ieee754_double.
61323         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
61324         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
61325         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
61326         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61327         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61328         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
61329         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61330         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61331         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61332         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
61333         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61335 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
61337         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
61338         page size instead of calling getpagesize.
61340         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
61341         (LOCFILE_ALIGN_MASK): Likewise.
61342         (LOCFILE_ALIGN_UP): Likewise.
61343         (LOCFILE_ALIGNED_P): Likewise.
61344         * locale/programs/ld-collate.c (collate_output): Use the new
61345         macros instead of __alignof__ (int32_t).
61346         * locale/weight.h (findidx): Likewise.
61348 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
61350         [BZ #431]
61351         * manual/string.texi: Fix strncat and wcsncat.
61353 2013-10-03  Brooks Moses  <bmoses@google.com>
61355         [BZ #15915]
61356         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
61357         * Makerules: ...here, and adjust associated comments.
61359 2013-10-02  Will Newton  <will.newton@linaro.org>
61361         * malloc/Makefile: Add tst-pvalloc.
61362         * malloc/tst-pvalloc.c: New file.
61364 2013-10-02  Will Newton  <will.newton@linaro.org>
61366         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
61367         improve test coverage.
61369 2013-10-02  Will Newton  <will.newton@linaro.org>
61371         * malloc/Makefile: Add tst-posix_memalign.
61372         * malloc/tst-posix_memalign.c: New file.
61374 2013-10-01  Eric Blake  <eblake@redhat.com>
61376         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61377         Use __THROWNL rather than __THROW on static functions.
61379 2013-09-30  Petr Machata  <pmachata@redhat.com>
61381         * elf/elf.h (R_AARCH64_ABS16): New macro.
61382         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61383         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61384         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61385         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61386         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61387         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61388         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61389         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61390         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61391         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61392         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61393         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61394         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61395         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61396         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61397         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61398         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61399         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61400         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61401         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61402         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61403         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61404         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61405         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61406         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61407         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61408         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61409         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61410         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61411         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61412         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61413         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61414         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61415         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61416         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61417         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61418         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61419         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61420         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61421         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61422         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61423         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61424         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61425         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61426         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61427         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61428         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61429         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61430         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61431         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61432         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61433         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61434         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61435         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61436         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61437         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61438         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61439         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61440         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61441         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61442         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61443         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61444         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61445         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61446         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61447         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61448         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61449         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61450         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61451         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61452         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61453         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61454         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61455         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61456         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61457         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61458         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61459         (R_AARCH64_TLSDESC_LDR): Likewise.
61460         (R_AARCH64_TLSDESC_ADD): Likewise.
61461         (R_AARCH64_TLSDESC_CALL): Likewise.
61463 2013-09-30  Andreas Schwab  <schwab@suse.de>
61465         [BZ #15048]
61466         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61467         the nss database lookup.
61468         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61471 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61473         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61475 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61477         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61478         ${Bash-specific parameter/pattern/string} parameter expansion.
61479         * sysdeps/unix/make-syscalls.sh: Likewise.
61481 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61483         * sysdeps/sh/stackguard-macros.h: New file.
61485 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61489         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61490         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61491         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61492         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61494 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61496         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61497         Fix thread ID register.
61499 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61501         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61502         [POSIX || UNIX98]: Require rather than permitting all symbols from
61503         <time.h>.
61504         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61505         element of struct sched_param.
61506         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61507         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61508         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61509         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61510         constant.
61512 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61514         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61515         argument calculation.
61517 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61519         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61520         Expect macro.
61521         [POSIX] (pthread_attr_t): Do not require type.
61522         [POSIX] (pthread_cond_t): Likewise.
61523         [POSIX] (pthread_condattr_t): Likewise.
61524         [POSIX] (pthread_key_t): Likewise.
61525         [POSIX] (pthread_mutex_t): Likewise.
61526         [POSIX] (pthread_mutexattr_t): Likewise.
61527         [POSIX] (pthread_once_t): Likewise.
61528         [POSIX] (pthread_t): Likewise.
61529         [POSIX-based standards] (pthread_atfork): Expect function.
61531 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61532             Richard Sandiford  <richard@codesourcery.com>
61534         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61535         (swap_endianness_p): New extern variable.
61536         (set_big_endian): New inline function.
61537         (maybe_swap_uint32): Likewise.
61538         (maybe_swap_uint32_array): Likewise.
61539         (maybe_swap_uint32_obstack): Likewise.
61540         * locale/programs/locfile.c: Include <stdbool.h>.
61541         (swap_endianness_p): New variable.
61542         (add_locale_uint32): Call maybe_swap_uint32.
61543         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61544         (write_locale_data): Call maybe_swap_uint32_array.
61545         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61546         maybe_swap_uint32.
61547         (obstack_int32_grow_fast): Likewise.
61548         (output_weightwc): Call maybe_swap_uint32_obstack.
61549         (collate_output): Likewise.
61550         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61551         (OPT_LITTLE_ENDIAN): Likewise.
61552         (options): Add --little-endian and --big-endian options.
61553         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61554         * locale/programs/locarchive.c: Include "locfile.h".
61555         (GET): New macro.
61556         (SET): Likewise.
61557         (INC): Likewise.
61558         (create_archive): Use the new macros to access fields of
61559         structures directly mapped from or written to locale archives.
61560         (oldlocrecentcmp): Likewise.
61561         (enlarge_archive): Likewise.
61562         (insert_name): Likewise.
61563         (add_alias): Likewise.
61564         (add_locale): Likewise.
61565         (delete_locales_from_archive): Likewise.
61566         (show_archive_content): Likewise.
61567         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
61568         locale data.
61570 2013-09-24  Roland McGrath  <roland@hack.frob.com>
61572         * manual/freemanuals.texi: Updated from (newly) canonical copy at
61573         http://www.gnu.org/doc/freemanuals.texi.
61574         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61576 2013-09-24  Will Newton  <will.newton@linaro.org>
61578         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61579         macro.
61581 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
61583         * locale/hashval.h (compute_hashval): Interpret bytes of key as
61584         unsigned char.
61586 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
61588         * manual/threads.texi (POSIX Threads): Fix a typo.
61590 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61592         [BZ #14547]
61593         * string/tst-strcoll-overflow.c: New test case.
61594         * string/Makefile (xtests): Add tst-strcoll-overflow.
61595         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61596         cache if string sizes may cause integer overflow.
61598         [BZ #14547]
61599         * string/strcoll_l.c (coll_seq): New members rule, idx,
61600         save_idx and back_us.
61601         (get_next_seq_nocache): New function.
61602         (do_compare_nocache): New function.
61603         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61604         when malloc fails.
61606 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
61608         [BZ #15754]
61609         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61610         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61611         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61613         [BZ #15754]
61614         * elf/Makefile (tests): Add tst-ptrguard1.
61615         (tests-static): Add tst-ptrguard1-static.
61616         (tst-ptrguard1-ARGS): Define.
61617         (tst-ptrguard1-static-ARGS): Define.
61618         * elf/tst-ptrguard1.c: New file.
61619         * elf/tst-ptrguard1-static.c: New file.
61620         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61621         * sysdeps/i386/stackguard-macros.h: Likewise.
61622         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61623         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61624         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61625         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61626         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61627         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61629 2013-09-23  Hector Marco  <hecmargi@upv.es>
61630             Ismael Ripoll  <iripoll@disca.upv.es>
61631             Carlos O'Donell  <carlos@redhat.com>
61633         [BZ #15754]
61634         * sysdeps/generic/stackguard-macros.h: Define
61635         __pointer_chk_guard_local and POINTER_CHK_GUARD.
61636         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61637         Define __pointer_chk_guard_local.
61638         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61639         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61641 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
61643         [BZ #15859]
61644         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61646 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
61648         * include/string.h (__ffs): Declare as hidden.
61649         * string/ffs.c (__ffs): Define as hidden.
61650         * sysdeps/i386/ffs.c (__ffs): Likewise.
61651         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61652         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61653         * sysdeps/s390/ffs.c (__ffs): Likewise.
61654         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61656 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
61658         * NEWS: Mention malloc probes.
61660         * malloc/arena.c (new_heap): New memory_heap_new probe.
61661         (grow_heap): New memory_heap_more probe.
61662         (shrink_heap): New memory_heap_less probe.
61663         (heap_trim): New memory_heap_free probe.
61664         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61665         (systrim): New memory_sbrk_less probe.
61666         * manual/probes.texi: Document them.
61668         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61669         * manual/probes.texi: Document it.
61671         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61672         (__libc_realloc): Add memory_realloc_retry probe.
61673         (__libc_memalign): Add memory_memalign_retry probe.
61674         (__libc_valloc): Add memory_valloc_retry probe.
61675         (__libc_pvalloc): Add memory_pvalloc_retry probe.
61676         (__libc_calloc): Add memory_calloc_retry probe.
61677         * manual/probes.texi: Document them.
61679         * malloc/arena.c (get_free_list): Add probe
61680         memory_arena_reuse_free_list.
61681         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61682         and memory_arena_reuse.
61683         (arena_get2) [!PER_THREAD]: Likewise.
61684         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61685         memory_arena_reuse_realloc.
61686         * manual/probes.texi: Document them.
61688         * malloc/malloc.c (__libc_free): Add
61689         memory_mallopt_free_dyn_thresholds probe.
61690         (__libc_mallopt): Add multiple memory_mallopt probes.
61691         * manual/probes.texi: Document them.
61693         * malloc/malloc.c: Include stap-probe.h.
61694         (__libc_mallopt): Add memory_mallopt probe.
61695         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61696         * manual/probes.texi: New.
61697         * manual/Makefile (chapters): Add probes.
61698         * manual/threads.texi: Set next node.
61700 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
61702         [BZ #15963, #13985]
61703         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61704         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61705         Add `Chinese' to `nan' entry name.
61707 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61709         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61710         (POLYNOMIAL): Likewise.
61711         (TAYLOR_SINCOS): Likewise.
61712         (TAYLOR_SLOW): Likewise.
61713         (__sin): Use TAYLOR_SINCOS.
61714         (__cos): Likewise.
61715         (slow): Use TAYLOR_SLOW.
61716         (sloww): Likewise.
61717         (bsloww): Likewise.
61718         (csloww): Likewise.
61720 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61722         * stdlib/strtod_l.c: Fix buffer overrun.
61724 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61726         * benchtests/Makefile (bench): Add sincos.
61727         * benchtests/bench-sincos.c: New file.
61729         * math/libm-test.inc (cos_test_data): New test inputs.
61730         (sin_test_data): Likewise.
61732         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61733         macro.
61734         (__sin): Use it.
61735         (__cos): Likewise.
61736         (slow1): Likewise.
61737         (slow2): Likewise.
61738         (sloww1): Likewise.
61739         (sloww2): Likewise.
61740         (bsloww1): Likewise.
61741         (bsloww2): Likewise.
61742         (cslow2): Likewise.
61743         (csloww1): Likewise.
61744         (csloww2): Likewise.
61746         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61747         function.
61748         (__sin): Use it.
61749         (__cos): Likewise.
61751         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61752         gotos.
61753         (__cos): Likewise.
61755 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
61757         * config.h.in (HAVE_MIPS_NAN2008): New macro.
61758         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61759         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61760         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61761         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61762         * elf/cache.c (print_entry): Handle the new cache flags.
61764 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61765             Aldy Hernandez  <aldyh@redhat.com>
61767         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61768         Change condition to [_SOFT_FLOAT].
61769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61771         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61781         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61784         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61785         declaration.
61787 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61789         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61790         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61791         (__longjmp): Use LOAD_GP to load saved GPRs.
61792         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
61793         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61794         (__sigsetjmp): Use SAVE_GP to save GPRs.
61796         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
61797         Do not append -msoft-float.
61798         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
61800 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61802         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
61804 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
61806         [BZ #15966]
61807         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
61808         (_FPU_GETCW): Use initial "__" on variable and field names but not
61809         on macro parameter name.
61810         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
61811         parentheses around reference to macro parameter.
61813 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
61815         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
61816         prototype.
61817         (ctype_startup): Use uint32_t in cast and sizeof for
61818         ctype->charnames.
61820 2013-09-11  Jia Liu  <proljc@gmail.com>
61822         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
61823         __daddr_t_defined.
61824         [__FreeBSD__]: Likewise.
61826 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
61828         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
61829         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
61830         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
61831         (strchr): Remove __strchr_sse42 ifunc selection.
61832         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
61833         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
61835 2013-09-11  Will Newton  <will.newton@linaro.org>
61837         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
61838         parameter to RES. Remove hardcoded 1000 value.
61839         * benchtests/bench-skeleton.c (main): Pass RES parameter
61840         to TIMING_INIT and multiply result by 1000.
61842 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61846 2013-09-11  Andreas Schwab  <schwab@suse.de>
61848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
61849         if not defined.
61850         (O_TMPFILE) [__USE_GNU]: Define.
61851         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
61852         Define.
61854 2013-09-11  Will Newton  <will.newton@linaro.org>
61856         [BZ #15857]
61857         * malloc/malloc.c (__libc_memalign): Check the value of bytes
61858         does not overflow.
61860 2013-09-11  Will Newton  <will.newton@linaro.org>
61862         [BZ #15856]
61863         * malloc/malloc.c (__libc_valloc): Check the value of bytes
61864         does not overflow.
61866 2013-09-11  Will Newton  <will.newton@linaro.org>
61868         [BZ #15855]
61869         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
61870         does not overflow.
61872 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
61874         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
61875         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61876         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61877         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61878         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61880 2013-09-10  Allan McRae  <allan@archlinux.org>
61882         [BZ #15748]
61883         * manual/arith.texi (Parsing of Floats): Clarify
61884         cross-reference.
61886         [BZ #15849]
61887         * manual/install.texi (Running make install): Mention
61888         --enable-pt-chown.
61889         * INSTALL: Regenerated.
61891 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
61893         * csu/init-first.c (_init): Remove the !SHARED condition around
61894         FPU control word initialization.
61895         * elf/dl-support.c (_dl_fpu_control): New variable.
61896         (_dl_aux_init) <AT_FPUCW>: Initialize it.
61897         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
61898         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
61899         * math/test-fpucw-static.c: New file.
61900         * math/test-fpucw-ieee.c: New file.
61901         * math/test-fpucw-ieee-static.c: New file.
61902         * math/Makefile (tests): Add `test-fpucw-ieee' and
61903         `$(tests-static)'.
61904         (tests-static): New variable.
61905         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
61906         dependency to...
61907         [($(build-shared),yes)]
61908         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
61909         ... this.
61910         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
61911         New dependency.
61913 2013-09-09  Allan McRae  <allan@archlinux.org>
61915         [BZ #15939]
61916         * manual/string.texi (Collation Functions): Fix typo in
61917         strcoll example.
61918         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
61920         [BZ #15893]
61921         * stdlib/isomac.c (get_null_defines): Fix memory leak.
61923         [BZ #15892]
61924         * libio/memstream.c (open_memstream): Fix memory leak.
61925         * libio/wmemstream.c (open_wmemstream): Likewise.
61927         [BZ #15895]
61928         * nscd/netgroupcache.c: Fix nesting of ifdefs.
61930 2013-09-09  Will Newton  <will.newton@linaro.org>
61932         * malloc/Makefile: Add tst-realloc to tests.
61933         * malloc/tst-realloc.c: New file.
61935 2013-09-09  Allan McRae  <allan@archlinux.org>
61937         [BZ #15844]
61938         * COPYING: Update from GNU website to fix FSF address.
61939         * COPYING.LIB: Likewise.
61941 2013-09-06  David S. Miller  <davem@davemloft.net>
61943         * po/zh_TW.po: Update Chinese (traditional) translation from
61944         translation project.
61946 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
61947             Joseph Myers  <joseph@codesourcery.com>
61949         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
61950         "localeinfo.h".
61951         (obstack_chunk_alloc): New macro.
61952         (obstack_chunk_free): Likewise.
61953         (record_offset): New function.
61954         (init_locale_data): Likewise.
61955         (align_locale_data): Likewise.
61956         (add_locale_empty): Likewise.
61957         (add_locale_raw_data): Likewise.
61958         (add_locale_raw_obstack): Likewise.
61959         (add_locale_string): Likewise.
61960         (add_locale_wstring): Likewise.
61961         (add_locale_uint32): Likewise.
61962         (add_locale_uint32_array): Likewise.
61963         (add_locale_char): Likewise.
61964         (start_locale_structure): Likewise.
61965         (end_locale_structure): Likewise.
61966         (start_locale_prelude): Likewise.
61967         (end_locale_prelude): Likewise.
61968         (write_locale_data): Take locale_file structure rather than an
61969         iovec.
61970         * locale/programs/locfile.h: Include "obstack.h".
61971         (struct locale_file): Change to store locale file contents instead
61972         of header.
61973         (init_locale_data): New prototype.
61974         (align_locale_data): Likewise.
61975         (add_locale_empty): Likewise.
61976         (add_locale_raw_data): Likewise.
61977         (add_locale_raw_obstack): Likewise.
61978         (add_locale_string): Likewise.
61979         (add_locale_wstring): Likewise.
61980         (add_locale_uint32): Likewise.
61981         (add_locale_uint32_array): Likewise.
61982         (add_locale_char): Likewise.
61983         (start_locale_structure): Likewise.
61984         (end_locale_structure): Likewise.
61985         (start_locale_prelude): Likewise.
61986         (end_locale_prelude): Likewise.
61987         (write_locale_data): Update prototype.
61988         * locale/programs/3level.h (struct TABLE): Remove result field.
61989         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
61990         Use new locale_file interface.
61991         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
61992         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
61993         * locale/programs/ld-address.c (address_output): Use new
61994         locale_file interface.
61995         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
61996         NO_ADD_LOCALE.
61997         (collate_finish): Don't call collseq_table_finalize.
61998         (collate_output): Use new locale_file interface.
61999         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
62000         in file.
62001         (NO_FINALIZE): Change to NO_ADD_LOCALE.
62002         (TABLE): Move defines earlier in file.
62003         (ELEMENT): Likewise.
62004         (DEFAULT): Likewise.
62005         (wctrans_table_add): Move macro and inline function earlier in
62006         file.
62007         (struct wctype_table): Move type earlier in file.
62008         (add_locale_wctype_table): New static prototype.
62009         (struct locale_ctype_t): Use logical types instead of struct iovec
62010         pointers for members.
62011         (ctype_output): Use new locale_file interface.
62012         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
62013         new locale_file interface.
62014         (allocate_arrays): Update for use of new locale_file interface.
62015         * locale/programs/ld-identification.c (identification_output): Use
62016         new locale_file interface.
62017         * locale/programs/ld-measurement.c (measurement_output): Likewise.
62018         * locale/programs/ld-messages.c (messages_output): Likewise.
62019         * locale/programs/ld-monetary.c (monetary_output): Likewise.
62020         * locale/programs/ld-name.c (name_output): Likewise.
62021         * locale/programs/ld-numeric.c (numeric_output): Likewise.
62022         * locale/programs/ld-paper.c (paper_output): Likewise.
62023         * locale/programs/ld-telephone.c (telephone_output): Likewise.
62024         * locale/programs/ld-time.c (time_output): Likewise.
62026 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62028         * benchtests/Makefile: Add memrchr benchmark.
62029         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
62030         benchmark as memrchr.
62031         * benchtests/bench-memrchr-ifunc.c: New file.
62032         * benchtests/bench-memrchr.c: New file.
62034 2013-09-06   Will Newton  <will.newton@linaro.org>
62036         * benchtests/Makefile (string-bench): Add memcpy.
62038 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
62039             Cong Wang  <amwang@redhat.com>
62041         [BZ #15850]
62042         * sysdeps/unix/sysv/linux/bits/in.h
62043         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
62044         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
62045         before __USE_KERNEL_IPV6_DEFS uses.
62046         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
62047         IPPROTO_BEETPH.
62048         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
62049         sockaddr_in6, or ipv6_mreq.
62051 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62053         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
62054         memory access for final bytes in some large inputs.
62055         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
62057 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62059         * string/test-memrchr.c: New file.
62060         * string/test-memrchr-ifunc.c: New file.
62061         * string/Makefile: Add new memrchr testcase.
62063 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
62065         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
62066         fanotify_init returns EPERM.
62068 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62070         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
62071         errors.
62072         (top level): Treat second token from macro or constant entries for
62073         allowed headers as allowed.
62074         * include/complex.h: Condition internal declarations on
62075         [!_ISOMAC].
62076         * include/fenv.h: Condition include of <stdbool.h> and internal
62077         declarations on [!_ISOMAC].
62079 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
62081         [BZ #15923]
62082         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62084 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62086         * configure.in (--enable-versioning): Remove configure option.
62087         (libc_cv_asm_symver_directive): Remove configure test.
62088         (libc_cv_ld_version_script_option): Likewise.
62089         (VERSIONING): Remove variable and AC_SUBST.
62090         (DO_VERSIONING): Remove AC_DEFINE.
62091         * configure: Regenerated.
62092         * config.h.in (DO_VERSIONING): Remove macro.
62093         * Makerules [$(versioning) = yes]: Change conditionals to
62094         [$(build-shared) = yes].
62095         * config.make.in (versioning): Remove variable.
62096         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62097         [$(build-shared) = yes].
62098         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62099         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62100         * elf/Makefile [$(versioning) = yes]: Change conditionals to
62101         [$(build-shared) = yes].
62102         * extra-lib.mk [$(versioning) = yes]: Likewise.
62103         * hurd/Makefile [$(versioning) = yes]: Likewise.
62104         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62105         [SHARED].
62106         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62107         [SHARED].
62108         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62109         [SHARED && !NO_HIDDEN].
62110         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62111         [SHARED].
62112         [SHARED && DO_VERSIONING]: Likewise..
62113         * libio/Makefile [$(versioning) = yes]: Change conditionals to
62114         [$(build-shared) = yes].
62115         * manual/install.texi (--disable-versioning): Remove
62116         documentation.
62117         * INSTALL: Regenerated.
62118         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62119         to [SHARED].
62120         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62121         [$(build-shared) = yes].
62122         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62123         * sysdeps/i386/i686/multiarch/strstr-c.c
62124         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62125         [SHARED && !NO_HIDDEN].
62126         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62127         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62128         * sysdeps/powerpc/powerpc32/dl-machine.c
62129         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62130         * sysdeps/powerpc/powerpc32/sysdep.h
62131         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62132         to [SHARED && PIC && !NO_HIDDEN].
62133         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62134         conditional to [SHARED].
62136 2013-09-04   Will Newton  <will.newton@linaro.org>
62138         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62139         * benchtests/bench-string.h: Include bench-timing.h instead
62140         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62141         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62142         call to HP_TIMING_DIFF_INIT.
62143         * benchtests/bench-memccpy.c: Use bench-timing.h macros
62144         instead of hp-timing.h macros.
62145         * benchtests/bench-memchr.c: Likewise.
62146         * benchtests/bench-memcmp.c: Likewise.
62147         * benchtests/bench-memcpy.c: Likewise.
62148         * benchtests/bench-memmem.c: Likewise.
62149         * benchtests/bench-memmove.c: Likewise.
62150         * benchtests/bench-memset.c: Likewise.
62151         * benchtests/bench-rawmemchr.c: Likewise.
62152         * benchtests/bench-strcasecmp.c: Likewise.
62153         * benchtests/bench-strcasestr.c: Likewise.
62154         * benchtests/bench-strcat.c: Likewise.
62155         * benchtests/bench-strchr.c: Likewise.
62156         * benchtests/bench-strcmp.c: Likewise.
62157         * benchtests/bench-strcpy.c: Likewise.
62158         * benchtests/bench-strcpy_chk.c: Likewise.
62159         * benchtests/bench-strlen.c: Likewise.
62160         * benchtests/bench-strncasecmp.c: Likewise.
62161         * benchtests/bench-strncat.c: Likewise.
62162         * benchtests/bench-strncmp.c: Likewise.
62163         * benchtests/bench-strncpy.c: Likewise.
62164         * benchtests/bench-strnlen.c: Likewise.
62165         * benchtests/bench-strpbrk.c: Likewise.
62166         * benchtests/bench-strrchr.c: Likewise.
62167         * benchtests/bench-strspn.c: Likewise.
62168         * benchtests/bench-strstr.c: Likewise.
62170 2013-09-04  Will Newton  <will.newton@linaro.org>
62172         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
62174 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
62176         [BZ #15427]
62177         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
62178         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
62179         * math/libm-test.inc (lgamma_test_data): Add more tests.
62180         * sysdeps/i386/fpu/libm-test-ulps: Update.
62181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62183 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
62185         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
62186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62187         Add ifunc.
62188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62189         Add strcmp-sse2-unaligned
62190         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
62192 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62194         * Versions.def (libc): Add GLIBC_2.19.
62196 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62198         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
62199         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
62201 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
62203         [BZ #14155]
62204         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
62205         intermediate calculations in recurrence.
62206         (__ieee754_ynf): Likewise.
62207         * math/libm-test.inc (jn_test_data): Do not allow spurious
62208         underflow exception.  Add more tests.
62209         (yn_test_data): Add more tests.
62210         * sysdeps/i386/fpu/libm-test-ulps: Update.
62211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62213 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
62215         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
62217 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62219         * csu/init-first.c: Fix then/than typos.
62220         * locale/programs/ld-collate.c: Likewise.
62221         * locale/programs/linereader.h: Likewise.
62222         * manual/charset.texi: Likewise.
62223         * manual/filesys.texi: Likewise.
62224         * manual/stdio.texi: Likewise.
62225         * manual/string.texi: Likewise.
62226         * stdlib/fmtmsg.c: Likewise.
62227         * sysdeps/i386/stpncpy.S: Likewise.
62228         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62229         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62230         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62231         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62233 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62235         * elf/dl-open.c: Fix typos.
62236         * iconvdata/gbbig5.c: Likewise.
62237         * iconvdata/iso-2022-jp.c: Likewise.
62238         * iconv/gconv_int.h: Likewise.
62239         * iconv/loop.c: Likewise.
62240         * nis/rpcsvc/nis.h: Likewise.
62241         * resolv/ns_name.c: Likewise.
62242         * stdio-common/vfscanf.c: Likewise.
62243         * streams/stropts.h: Likewise.
62244         * sunrpc/rpc_thread.c: Likewise.
62245         * sysdeps/i386/strpbrk.S: Likewise.
62246         * sysdeps/ieee754/k_standard.c: Likewise.
62247         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62248         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62249         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
62250         * sysdeps/mach/hurd/profil.c: Likewise.
62251         * sysdeps/s390/dl-procinfo.h: Likewise.
62252         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62253         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
62254         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
62255         * sysdeps/x86_64/dl-trampoline.S: Likewise.
62256         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62258 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
62260         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
62261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62263 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
62265         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
62266         aix specific files.
62267         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
62268         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
62269         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
62270         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
62271         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
62272         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
62273         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
62274         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
62276 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62277             Roland McGrath  <roland@hack.frob.com>
62279         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
62280         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
62282 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62284         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
62285         __executable_start symbol instead of _start.
62287 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62289         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
62290         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
62291         Move macros to...
62292         * sysdeps/gnu/ldsodefs.h: ... this new file.
62294         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
62295         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
62296         instead of ELFOSABI_LINUX.
62298         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
62299         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
62300         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
62301         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
62302         Likewise.
62303         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
62304         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
62305         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
62306         Likewise.
62307         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62308         (ibm_extended_long_double): Add ieee_nan member.
62309         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
62310         (do_test): New function.
62312         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
62313         TEST_TRUNC.
62314         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
62315         functions, renamed from truncdfsf_test, trunctfsf_test,
62316         trunctfdf_test.
62317         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
62318         functions.
62319         (do_test): Run all these.
62321 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
62323         * argp/argp-help.c: Fix typos.
62324         * argp/argp-parse.c: Likewise.
62325         * debug/backtracesyms.c: Likewise.
62326         * elf/elf.h: Likewise.
62327         * malloc/malloc.c: Likewise.
62328         * nis/nis_print.c: Likewise.
62329         * resolv/res_comp.c: Likewise.
62330         * stdlib/stdlib.h: Likewise.
62331         * sunrpc/clnt_tcp.c: Likewise.
62332         * sunrpc/clnt_udp.c: Likewise.
62333         * sunrpc/clnt_unix.c: Likewise.
62334         * sysdeps/unix/bsd/ptsname.c: Likewise.
62335         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
62336         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
62337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
62338         Likewise.
62339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
62340         Likewise.
62341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
62342         Likewise.
62343         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62345 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62347         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
62348         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62350 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
62352         [BZ #15897]
62353         * dlfcn/Makefile (tests): Add bug-dl-leaf.
62354         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
62355         ($(objpfx)bug-dl-leaf): New rule.
62356         ($(objpfx)bug-dl-leaf.so): Likewise.
62357         ($(objpfx)bug-dl-leaf.out): Likewise.
62358         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62359         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
62360         * dlfcn/bug-dl-leaf.c: New test.
62361         * dlfcn/bug-dl-leaf-lib.c: Likewise.
62362         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
62363         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
62364         (dlclose): Likewise.
62365         (dlmopen): Likewise.
62367 2013-08-27  Roland McGrath  <roland@hack.frob.com>
62369         * include/netdb.h [!_ISOMAC]:
62370         Don't include <tls.h>.
62371         (h_errno, __libc_h_errno): Move declaration and macros out of
62372         [_LIBC_REENTRANT].
62374         * include/resolv.h [_RESOLV_H_]:
62375         Don't include <tls.h>.
62376         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62377         * resolv/res_libc.c: Don't include <tls.h>.
62378         (_res): Use __attribute__ ((nocommon)) in place of
62379         __attribute__ ((section (".bss"))).
62381         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62382         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62384         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62386         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62387         only under [SIOCGIFCONF && SIOCGIFNETMASK].
62389         * resolv/res_mkquery.c: Include <sys/time.h>.
62391         * inet/ifreq.c: Moved to ...
62392         * sysdeps/unix/ifreq.c: ... here.
62393         * inet/ifreq.c: New file, true stub version.
62395         * socket/sa_len.c: New file.
62396         * socket/Makefile (aux): Add it.
62397         * sysdeps/unix/sysv/linux/Makefile
62398         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62399         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62400         and #include <socket/sa_len.c>.
62401         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62402         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62404         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62405         * bits/socket.h: ... here.
62407         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62408         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62409         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62411 2013-08-27  Andreas Schwab  <schwab@suse.de>
62413         [BZ #15736]
62414         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62415         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62416         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62417         * string/test-strcasecmp.c (test_main): Run tests in several
62418         locales.
62419         * string/test-strncasecmp.c (test_main): Likewise.
62421         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62422         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62423         to __strcasecmp_nonascii and __strncasecmp_nonascii.
62424         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62425         (__strncasecmp_ssse3) [PIC]: Likewise.
62427 2013-08-26  Roland McGrath  <roland@hack.frob.com>
62429         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62431         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62432         instead of explicitly declaring xdecrypt.
62433         * nis/nss_nis/nis-publickey.c: Likewise.
62435 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62437         [BZ #15890]
62438         * nscd/aicache.c: Include res_hconf.h.
62439         (addhstaiX): Initialize res_hconf.
62441 2013-08-26  Andreas Schwab  <schwab@suse.de>
62443         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62444         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62446 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62448         * nscd/aicache.c (addhstaiX): Fix indentation.
62450 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
62452         * configure.ac: Quote $build_pt_chown test.
62453         * configure: Regenerated.
62455 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
62457         [BZ #15532]
62458         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62459         * math/s_cexpf.c (__cexpf): Likewise.
62460         * math/s_cexpl.c (__cexpl): Likewise.
62461         * math/libm-test.inc (cexp_test_data): Correct expected return
62462         value for NaN + i0.  Add another test.
62464 2013-08-22  David S. Miller  <davem@davemloft.net>
62466         * po/ca.po: Update Catalan translation from translation project.
62467         * po/uk.po: Add Ukrainian translations from translation project.
62469 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62471         [BZ #15797]
62472         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62473         is infinite, not alongside NaN test.
62474         * math/s_fdimf.c (__fdimf): Likewise.
62475         * math/s_fdiml.c (__fdiml): Likewise.
62476         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62477         errno is unchanged.
62479 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62481         * argp/argp-help.c: Fix typos.
62482         * crypt/speeds.c: Likewise.
62483         * csu/check_fds.c: Likewise.
62484         * elf/dl-load.c: Likewise.
62485         * elf/dl-open.c: Likewise.
62486         * elf/reldep3.c: Likewise.
62487         * elf/reldep.c: Likewise.
62488         * elf/sprof.c: Likewise.
62489         * iconv/iconv_charmap.c: Likewise.
62490         * iconv/skeleton.c: Likewise.
62491         * iconv/strtab.c: Likewise.
62492         * io/lockf64.c: Likewise.
62493         * libio/libioP.h: Likewise.
62494         * resolv/gai_notify.c: Likewise.
62495         * resolv/ns_name.c: Likewise.
62496         * resolv/ns_samedomain.c: Likewise.
62497         * resolv/res_send.c: Likewise.
62498         * stdlib/random.c: Likewise.
62499         * sunrpc/rpc/xdr.h: Likewise.
62500         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62501         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62502         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62503         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62504         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62505         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62506         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62507         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62508         * sysdeps/mach/hurd/check_fds.c: Likewise.
62509         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62510         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62512         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62513         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62514         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62515         * sysdeps/pthread/aio_notify.c: Likewise.
62516         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62517         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62518         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62519         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62520         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62522 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62524         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62525         version if bit_Slow_SSE4_2 is set.
62526         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62527         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62529 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62531         [BZ #15867]
62532         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62533         trampoline stack frame information.
62534         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62535         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62536         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62537         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62538         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62539         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62540         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62541         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62542         sa_flags value.
62543         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62544         interrupting a syscall and set with option SA_SIGINFO.
62546 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62548         [BZ #15531]
62549         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62550         argument is infinite.
62551         * math/s_cprojf.c (__cprojf): Likewise.
62552         * math/s_cprojl.c (__cprojl): Likewise.
62553         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62554         * math/libm-test.inc (cproj_test_data): Add more tests.
62556         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62558         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62559         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62560         size.  Use __ffs to determine corresponding shift.
62562 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62563             Roland McGrath  <roland@hack.frob.com>
62565         * Makefile (INSTALL): Remove trailing blank lines from output of
62566         makeinfo.
62568 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62570         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62571         Align 32 bit compat elf_greg to 8 bytes.
62573 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
62575         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62577 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62579         * string/strcoll_l.c (coll_seq): New structure.
62580         (get_next_seq_cached): New function.
62581         (get_next_seq): New function.
62582         (do_compare): New function.
62583         (STRCOLL): Use GNU style definition.  Simplify implementation
62584         by using get_next_seq, get_next_seq_cached and do_compare.
62586 2013-08-16  Florian Weimer  <fweimer@redhat.com>
62588         [BZ #14699]
62589         CVE-2013-4237
62590         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62591         member.
62592         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62593         member.
62594         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62595         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62596         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
62597         conditional.
62598         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62599         GETDENTS_64BIT_ALIGNED.
62600         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62601         * manual/filesys.texi (Reading/Closing Directory): Document
62602         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
62603         strongly.
62604         * manual/conf.texi (Limits for Files): Add portability note to
62605         NAME_MAX, PATH_MAX.
62606         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62608 2013-08-13  Andreas Schwab  <schwab@suse.de>
62610         [BZ #15749]
62611         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62612         of fabs.
62613         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62614         LDBL_MAX_EXP >= 16384]: Add tests for it.
62616 2013-08-12  David S. Miller  <davem@davemloft.net>
62618         * version.h (RELEASE): Set to "development".
62619         (VERSION): Set to "2.18.90".
62620         * NEWS: Add 2.19 section.
62622 2013-08-03  David S. Miller  <davem@davemloft.net>
62624         * po/ko.po: Update Korean translation from translation project.
62626 2013-08-01  David S. Miller  <davem@davemloft.net>
62628         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
62629         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62630         Bilka.
62632 2013-07-30  David S. Miller  <davem@davemloft.net>
62634         * po/fr.po: Update French translation from translation project.
62636 2013-07-28  David S. Miller  <davem@davemloft.net>
62638         * po/cs.po: Update Czech translation from translation project.
62640         * po/sv.po: Update Swedish translation from translation project.
62642 2013-07-27  David S. Miller  <davem@davemloft.net>
62644         * po/eo.po: Update Esperanto translation from translation project.
62646         * po/vi.po: Update Vietnamese translation from translation project.
62648         * po/de.po: Update German translation from translation project.
62650 2013-07-26  David S. Miller  <davem@davemloft.net>
62652         * po/bg.po: Update Bulgarian translation from translation project.
62654         * po/nl.po: Update Dutch translation from translation project.
62655         * po/pl.po: Update Polish translation from translation project.
62656         * po/ru.po: Update Russian translation from translation project.
62658 2013-07-24  David S. Miller  <davem@davemloft.net>
62660         * po/libc.pot: Update.
62662 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62664         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62665         variable page size.
62666         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62667         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62668         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62670 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62672         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62674 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62675             Andreas Schwab  <schwab@suse.de>
62676             Roland McGrath  <roland@hack.frob.com>
62677             Joseph Myers  <joseph@codesourcery.com>
62678             Carlos O'Donell  <carlos@redhat.com>
62680         [BZ #15755]
62681         * config.h.in: Define HAVE_PT_CHOWN.
62682         * config.make.in (build-pt-chown): New variable.
62683         * configure.in (--enable-pt_chown): New configure option.
62684         * configure: Regenerate.
62685         * login/Makefile: Include Makeconfig.  Build pt_chown only if
62686         build-pt-chown is enabled.
62687         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62688         pt_chown to fix pty ownership.
62689         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62690         CLOSE_ALL_FDS.
62691         * manual/install.texi (Configuring and compiling): Mention
62692         --enable-pt_chown. Add @findex for grantpt.
62693         * INSTALL: Regenerate.
62695 2013-07-20  David S. Miller  <davem@davemloft.net>
62697         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62698         difference between 32-bit and 64-bit.
62700 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
62702         [BZ #15711]
62703         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62704         Avoid system header dependency with -ffreestanding.
62705         ($(objpfx)bits/syscall%d): Likewise.
62707 2013-07-13  David S. Miller  <davem@davemloft.net>
62709         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62710         underflows from atanl/atan2l due to bug 15319.
62711         (casinh_test_data): Likewise.
62713 2013-07-07  David S. Miller  <davem@davemloft.net>
62715         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62717 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
62719         * sysdeps/i386/fpu/libm-test-ulps: Update.
62720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62722 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62724         * configure.in (--enable-lock-elision): Fix message text.
62725         * INSTALL: Regenerate.
62726         * configure: Regenerate.
62728 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62732 2013-07-03  Andreas Jaeger  <aj@suse.de>
62734         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62735         define.
62736         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62737         (ptrace_peeksiginfo_args): Add.
62738         (__ptrace_peeksiginfo_flags): Add.
62739         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62740         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62741         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62743 2013-07-03  Allan McRae  <allan@archlinux.org>
62745         * sysdeps/i386/fpu/libm-test-ulps: Update.
62747 2013-07-02  David S. Miller  <davem@davemloft.net>
62749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62751 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
62753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62755 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62757         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62760 2013-07-02  Andi Kleen <ak@linux.intel.com>
62762         * config.h.in (ENABLE_LOCK_ELISION): Add.
62763         * configure.in (--enable-lock-elision): Add option.
62764         * manual/install.texi: Document --enable lock elision.
62765         * configure: Regenerate
62766         * INSTALL: Regenerate.
62768 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
62770         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62771         SSE4.2 strcasecmp for libc.a.
62772         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62774 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62776         [BZ #13304]
62777         * soft-fp/op-common.h (_FP_FMA): New macro.
62778         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62779         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
62780         (_FP_MUL_MEAT_1_imm): ... here.
62781         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
62782         (_FP_MUL_MEAT_1_wide): ... here.
62783         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
62784         (_FP_MUL_MEAT_1_hard): ... here.
62785         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62786         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
62787         (_FP_MUL_MEAT_2_wide): ... here.
62788         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
62789         (_FP_MUL_MEAT_2_wide_3mul): ... here.
62790         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
62791         (_FP_MUL_MEAT_2_gmp): ... here.
62792         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
62793         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
62794         (_FP_MUL_MEAT_4_wide): ... here.
62795         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
62796         (_FP_MUL_MEAT_4_gmp): ... here.
62797         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
62798         (_FP_WFRACBITS_DW_S): Likewise.
62799         (_FP_WFRACXBITS_DW_S): Likewise.
62800         (_FP_HIGHBIT_DW_S): Likewise.
62801         (FP_FMA_S): Likewise.
62802         (_FP_FRAC_HIGH_DW_S): Likewise.
62803         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
62804         (_FP_WFRACBITS_DW_D): Likewise.
62805         (_FP_WFRACXBITS_DW_D): Likewise.
62806         (_FP_HIGHBIT_DW_D): Likewise.
62807         (FP_FMA_D): Likewise.
62808         (_FP_FRAC_HIGH_DW_D): Likewise.
62809         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
62810         (_FP_WFRACBITS_DW_E): Likewise.
62811         (_FP_WFRACXBITS_DW_E): Likewise.
62812         (_FP_HIGHBIT_DW_E): Likewise.
62813         (FP_FMA_E): Likewise.
62814         (_FP_FRAC_HIGH_DW_E): Likewise.
62815         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
62816         (_FP_WFRACBITS_DW_Q): Likewise.
62817         (_FP_WFRACXBITS_DW_Q): Likewise.
62818         (_FP_HIGHBIT_DW_Q): Likewise.
62819         (FP_FMA_Q): Likewise.
62820         (_FP_FRAC_HIGH_DW_Q): Likewise.
62821         * soft-fp/fmasf4.c: New file.
62822         * soft-fp/fmadf4.c: Likewise.
62823         * soft-fp/fmatf4.c: Likewise.
62825 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62828         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
62829         Silvermont.
62830         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
62831         macro.
62832         (index_Slow_SSE4_2): Likewise.
62833         (index_Prefer_PMINUB_for_stringop): Likewise.
62834         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
62835         bit_Slow_SSE4_2 is set.
62836         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62837         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62839 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62841         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
62842         rtld_global._dl_hwcap2.
62843         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
62844         POWER8.
62845         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
62846         POWER8 feature descriptions defined in _dl_hwcap2.
62847         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
62848         string handling for POWER8 feature bits.
62849         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
62850         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
62851         _dl_powerpc_cap_flags.
62852         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
62853         * sysdeps/powerpc/rtld-global-offsets.sym
62854         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
62855         _dl_hwcap2 in the rtld_global_ro structure.
62857 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62859         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
62860         hardware capabilities in support of AT_HWCAP2.
62861         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
62862         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
62863         GLRO(dl_hwcap2).
62864         (_dl_show_auxv): Add support for calling _dl_procinfo to display
62865         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
62866         explicitly the unknown a_type display mechanism is used.
62867         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
62868         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
62869         struct member.
62870         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
62871         to macro prototype for AT_HWCAP2 support.
62872         * sysdeps/i386/dl-procinfo.h: Likewise.
62873         * sysdeps/s390/dl-procinfo.h: Likewise.
62874         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
62875         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
62876         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
62877         return -1 for unknown a_type display fallback.
62878         * sysdeps/sparc/dl-procinfo.h: Likewise.
62879         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
62880         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
62882 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
62884         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
62885         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
62887 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
62889         [BZ #12492]
62890         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
62891         mprotect making __stack_prot writable.
62893 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
62894             Joseph Myers  <joseph@codesourcery.com>
62896         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
62897         as being properly aligned.
62899 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
62901         * dlfcn/modstatic5.c: New file.
62902         * dlfcn/tststatic5.c: New file.
62903         * dlfcn/Makefile (tests): Add tststatic5.
62904         (tests-static): Likewise.
62905         (modules-names): Add modstatic5.
62906         (tststatic5-ENV): New variable.
62907         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
62909         [BZ #15022]
62910         * elf/dl-support.c (_dl_main_map): New variable.
62911         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
62912         (_dl_nns, _dl_load_adds): Set to 1.
62913         (_dl_initial_searchlist): Refer to _dl_main_map.
62914         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
62915         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
62916         call to _dl_get_origin.
62917         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
62918         around call_map.
62919         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
62920         * dlfcn/modstatic3.c: New file.
62921         * dlfcn/tststatic3.c: New file.
62922         * dlfcn/tststatic4.c: New file.
62923         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
62924         (tests-static): Likewise.
62925         (modules-names): Add modstatic3.
62926         (tststatic3-ENV, tststatic4-ENV): New variables.
62927         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
62928         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
62930 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
62932         * configure.in (CC): Require GCC version 4.4 or later.
62933         * configure: Regenerated.
62934         * manual/install.texi (Tools for Compilation): Update GCC version
62935         requirement.
62936         * INSTALL: Regenerated.
62938 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62940         [BZ #15674]
62941         * string/test-memcmp.c (check2): New.
62942         (main): Call check2.
62944         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
62946 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
62948         [BZ #15022]
62949         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
62950         over to...
62951         (dl_open_worker) [!SHARED]: ... here.
62953 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62955         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
62957 2013-06-25  Richard Henderson  <rth@redhat.com>
62959         * locale/programs/locarchive.c: Include <libc-internal.h>
62961 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
62963         * manual/texinfo.tex: Update to version 2013-06-21.17, with
62964         trailing whitespace removed.
62966 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62968         [BZ #10283]
62969         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
62970         * locale/programs/locarchive.c: Include libc-mmap.h.
62971         (prepare_address_space): Take two new outputs (the mmap base and len).
62972         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
62973         values.
62974         (create_archive): Declare new mmap base and len values for
62975         prepare_address_space, and store the result in ah.
62976         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
62977         (enlarge_archive): If ah->mmap_base is not NULL, use that and
62978         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62979         Declare new mmap base and len values for
62980         prepare_address_space, and store the result in new_ah.
62981         (open_archive): Declare new mmap base and len values for
62982         prepare_address_space, and store the result in ah.
62983         (close_archive): If ah->mmap_base is not NULL, use that and
62984         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62985         * sysdeps/generic/libc-mmap.h: New file.
62987 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62989         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
62990         (ALIGN_UP): Likewise.
62991         (PTR_ALIGN_DOWN): Likewise.
62992         (PTR_ALIGN_UP): Likewise.
62994 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62996         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
62997         entry mapped to PPC_PLATFORM_POWER8.
62998         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
62999         POWER8.
63000         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
63001         (_dl_string_platform): Add case for exporting platform position for
63002         POWER8.
63003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
63004         search path to sysdeps/powerpc/powerpc32/power8 directory.
63005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
63006         search path to sysdeps/powerpc/powerpc64/power8 directory.
63007         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
63008         power7 directories.
63009         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
63010         power7 directories.
63012 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63014         * INSTALL: Regenerate.
63016         * nscd/connections.c (nscd_init): Fix comment.
63018 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
63020         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
63022         [BZ #15667]
63023         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
63024         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
63026 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63028         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
63029         DL_DST_REQ_STATIC.
63030         (DL_DST_REQ_STATIC): Remove macro.
63032 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
63034         [BZ #7006]
63035         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
63036         with a shift of 0 bits.
63038 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63040         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
63041         $(tststatic-ENV).
63043 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63045         [BZ #15655]
63046         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
63048 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63050         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
63051         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
63052         accepts -fno-tree-loop-distribute-patterns.
63053         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
63054         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
63055         recursive call.
63056         * string/memset.c (memset): Likewise.
63057         * string/test-memmove.c (simple_memmove): Disable loop transformation
63058         to library calls.
63059         * string/test-memset.c (simple_memset): Likewise.
63060         * benchtests/bench-memmove.c (simple_memmove): Likewise.
63061         * benchtests/bench-memset.c (simple_memset): Likewise.
63062         * configure: Regenerated.
63064 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
63066         * math/test-misc.c (main): Ignore fesetround failure when failures
63067         of subsequent rounding tests would be ignored.
63069         [BZ #15654]
63070         * math/fedisblxcpt.c (fedisableexcept): Return 0.
63071         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
63072         * math/fegetenv.c (__fegetenv): Return 0.
63073         * math/fegetexcept.c (fegetexcept): Return 0.
63074         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
63075         FE_TONEAREST.
63076         * math/feholdexcpt.c (feholdexcept): Return 0.
63077         * math/fesetenv.c (__fesetenv): Return 0.
63078         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63079         argument FE_TONEAREST.
63080         * math/feupdateenv.c (__feupdateenv): Return 0.
63081         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63083 2013-06-18  Roland McGrath  <roland@hack.frob.com>
63085         * elf/rtld-Rules (rtld-compile-command.S): New variable.
63086         (rtld-compile-command.s, rtld-compile-command.c): New variables.
63087         ($(objpfx)rtld-%.os rules): Use them.
63089 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63091         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63092         fields.
63094 2013-06-17  Roland McGrath  <roland@hack.frob.com>
63096         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63097         length of target pattern, then descending length of dependency pattern.
63098         * configure.in (AWK): Require gawk 3.1.2 or newer.
63099         * manual/install.texi (Tools for Compilation): Say that we do.
63100         * configure: Regenerated.
63102         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63103         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63104         * scripts/sysd-rules.awk: ... this new script.
63105         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63106         than a glob-style pattern.
63108 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
63110         * math/test-misc.c (main): Do not treat incorrectly rounded
63111         conversions as failure unless ROUNDING_TESTS passes.
63113 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
63115         [BZ #15631]
63116         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63117         restore exception state around main square root computation, then
63118         check for inexactness explicitly.
63120         * math/libm-test.inc (fma_test_data): Add another test.
63122 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63124         * manual/threads.texi (Non-POSIX Extensions): New document
63125         node.  Document pthread_getattr_default_np and
63126         pthread_setattr_default_np.
63128         * Versions.def (libpthread): Add GLIBC_2.18.
63129         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63131         Likewise.
63132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63133         Likewise.
63134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63135         Likewise.
63136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63137         Likewise.
63138         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63139         Likewise.
63140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63141         Likewise.
63142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63143         Likewise.
63144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63145         Likewise.
63146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63147         Likewise.
63149 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63152         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
63154 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63155             H.J. Lu  <hjl.tools@gmail.com>
63157         [BZ #15627]
63158         * sysdeps/x86_64/rtld-memset.c: Remove file.
63159         * sysdeps/x86_64/rtld-memset.S: New file.
63161 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
63163         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
63164         (test_in_one_mode): Take arguments for whether the rounding mode
63165         is supported for each floating-point type.
63166         (do_test): Pass new arguments to test_in_one_mode using
63167         ROUNDING_TESTS.
63169 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63171         * posix/tst-waitid.c (do_test): Distinguish different instances of
63172         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
63173         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
63174         before entering the kernel for waitpid.
63176 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63178         * NEWS: Fix note on clock function precision.  Text by Roland
63179         McGrath.
63181 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63183         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
63184         it into place only when and if the sanity check passes.
63186 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
63188         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
63189         output for whether conversion result is exact.  Take argument
63190         indicating whether type is IBM long double.
63191         (round_for_all): Change need_exact field to ibm_ld.
63192         * stdlib/tst-strtod-round.c (struct exactness): New type.
63193         (struct test): Change bool ld_ok field to struct exactness exact.
63194         (TEST): Update all definitions for change to field.
63195         (tests): Regenerate array contents.
63196         (test_in_one_mode): Take pointer to new field instead of old ld_ok
63197         field value.  Check for IBM long double here.
63198         (do_test): Update calls to test_in_one_mode.
63200 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63202         [BZ #12515]
63203         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
63204         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
63206 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63208         [BZ #15605]
63209         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
63210         generated by the compiler on loop optimizations.
63211         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
63212         general definitions.
63214 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
63216         * math/bug-nextafter.c: Include <math-tests.h>.
63217         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63218         the relevant type.
63219         * math/bug-nexttoward.c: Include <math-tests.h>.
63220         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63221         the relevant type.
63222         * math/test-misc.c: Include <math-tests.h>.
63223         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63224         the relevant type.
63226 2013-06-12  Andreas Jaeger  <aj@suse.de>
63228         * po/ia.po: Update Interlingua translation from translation
63229         project.
63231 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63233         * include/fenv.h: Include stdbool.h.
63234         (struct rm_ctx): New structure.
63235         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
63236         Define macro.
63237         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63238         (SET_RESTORE_ROUNDF): Likewise.
63239         (SET_RESTORE_ROUNDL): Likewise.
63240         (SET_RESTORE_ROUND_NOEX): Likewise.
63241         (SET_RESTORE_ROUND_NOEXF): Likewise.
63242         (SET_RESTORE_ROUND_NOEXL): Likewise.
63243         (SET_RESTORE_ROUND_53BIT): Likewise.
63244         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
63245         (libc_feresetround_noexf_ctx): Likewise.
63246         (libc_feresetround_noexl_ctx): Likewise.
63247         (libc_feholdsetround_53bit_ctx): Likewise.
63248         (libc_feresetround_53bit_ctx): Likewise.
63249         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
63250         (libc_feholdexcept_setround_sse_ctx): New function.
63251         (libc_fesetenv_sse_ctx): Likewise.
63252         (libc_feupdateenv_sse_ctx): Likewise.
63253         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
63254         (libc_feholdexcept_setround_387_ctx): Likewise.
63255         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
63256         (libc_feholdsetround_387_prec_ctx): Likewise.
63257         (libc_feholdsetround_387_ctx): Likewise.
63258         (libc_feholdsetround_387_53bit_ctx): Likewise.
63259         (libc_feholdsetround_sse_ctx): Likewise.
63260         (libc_feresetround_sse_ctx): Likewise.
63261         (libc_feresetround_387_ctx): Likewise.
63262         (libc_feupdateenv_387_ctx): Likewise.
63263         (libc_feholdexcept_setroundf_ctx): Define macro.
63264         (libc_fesetenvf_ctx): Likewise.
63265         (libc_feupdateenvf_ctx): Likewise.
63266         (libc_feholdsetroundf_ctx): Likewise.
63267         (libc_feresetroundf_ctx): Likewise.
63268         (libc_feholdexcept_setround_ctx): Likewise.
63269         (libc_fesetenv_ctx): Likewise.
63270         (libc_feupdateenv_ctx): Likewise.
63271         (libc_feholdsetround_ctx): Likewise.
63272         (libc_feresetround_ctx): Likewise.
63273         (libc_feholdexcept_setroundl_ctx): Likewise.
63274         (libc_feupdateenvl_ctx): Likewise.
63275         (libc_feholdsetroundl_ctx): Likewise.
63276         (libc_feresetroundl_ctx): Likewise.
63277         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
63278         (libc_feresetround_53bit_ctx): Likewise.
63280 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63282         * locale/iso-639.def: Convert to UTF-8.
63284 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
63286         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
63287         (EXCEPTION_TESTS_double): Likewise.
63288         (EXCEPTION_TESTS_long_double): Likewise.
63289         (EXCEPTION_TESTS): Likewise.
63290         * math/libm-test.inc (test_exceptions): Only test exceptions if
63291         EXCEPTION_TESTS (FLOAT).
63293 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63295         * benchtests/Makefile (string-bench): Add strcpy_chk and
63296         stpcpy_chk.
63297         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
63298         * benchtests/bench-stpcpy_chk.c: New file.
63299         * benchtests/bench-strcpy_chk-ifunc.c: New file.
63300         * benchtests/bench-strcpy_chk.c: New file.
63301         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
63302         code.
63303         (do_test): Likewise.
63305 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63307         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
63308         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
63309         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
63310         with tabs where appropriate.
63311         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
63312         dl-procinfo.h.
63313         [PPC_PLATFORM_PPC440]: Likewise.
63314         [PPC_PLATFORM_PPC464]: Likewise.
63315         [PPC_PLATFORM_PPC476]: Likewise.
63316         (_dl_string_platform): Add support for detecting ppc405, ppc440,
63317         ppc464, and ppc476 platform strings merging from ports/
63318         dl-procinfo.h.
63320 2013-06-11  Andreas Schwab  <schwab@suse.de>
63322         [BZ #14991]
63323         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
63324         (from_ucs4_idx): Regenerate.
63325         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
63326         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
63327         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
63328         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
63329         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
63330         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
63331         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
63332         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
63333         from FROM_LOOP and TO_LOOP specific macros.
63334         (BODY): Handle combining characters.
63335         * iconvdata/BIG5HKSCS.irreversible: Update.
63336         * iconvdata/BIG5HKSCS.precomposed: New file.
63337         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
63338         characters.
63339         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
63341 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63343         * include/sys/time.h: Fix indentation and add copyright header.
63345         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
63346         (do_test): Likewise.
63347         * string/test-memchr.c (do_one_test): Likewise.
63348         (do_test): Likewise.
63349         * string/test-memcmp.c (do_one_test): Likewise.
63350         (do_test): Likewise.
63351         * string/test-memcpy.c (do_one_test): Likewise.
63352         (do_test): Likewise.
63353         * string/test-memmem.c (do_one_test): Likewise.
63354         (do_test): Likewise.
63355         (do_random_tests): Likewise.
63356         * string/test-memmove.c (do_one_test): Likewise.
63357         (do_test): Likewise.
63358         * string/test-memset.c (do_one_test): Likewise.
63359         (do_test): Likewise.
63360         * string/test-rawmemchr.c (do_one_test): Likewise.
63361         (do_test): Likewise.
63362         * string/test-strcasecmp.c (do_one_test): Likewise.
63363         (do_test): Likewise.
63364         * string/test-strcasestr.c (do_one_test): Likewise.
63365         (do_test): Likewise.
63366         * string/test-strcat.c (do_one_test): Likewise.
63367         (do_test): Likewise.
63368         * string/test-strchr.c (do_one_test): Likewise.
63369         (do_test): Likewise.
63370         * string/test-strcmp.c (do_one_test): Likewise.
63371         (do_test): Likewise.
63372         * string/test-strcpy.c (do_one_test): Likewise.
63373         (do_test): Likewise.
63374         * string/test-string.h: Likewise.
63375         (test_init): Likewise.
63376         * string/test-strlen.c (do_one_test): Likewise.
63377         (do_test): Likewise.
63378         * string/test-strncasecmp.c (do_one_test): Likewise.
63379         (do_test): Likewise.
63380         * string/test-strncat.c (do_one_test): Likewise.
63381         (do_test): Likewise.
63382         * string/test-strncmp.c (do_one_test): Likewise.
63383         (do_test_limit): Likewise.
63384         (do_test): Likewise.
63385         * string/test-strncpy.c (do_one_test): Likewise.
63386         (do_test): Likewise.
63387         * string/test-strnlen.c (do_one_test): Likewise.
63388         (do_test): Likewise.
63389         * string/test-strpbrk.c (do_one_test): Likewise.
63390         (do_test): Likewise.
63391         * string/test-strrchr.c (do_one_test): Likewise.
63392         (do_test): Likewise.
63393         * string/test-strspn.c (do_one_test): Likewise.
63394         (do_test): Likewise.
63395         * string/test-strstr.c (do_one_test): Likewise.
63396         (do_test): Likewise.
63398         * benchtests/Makefile (string-bench): Add string benchmarks.
63399         * benchtests/bench-bcopy-ifunc.c: New file.
63400         * benchtests/bench-bcopy.c: New file.
63401         * benchtests/bench-bzero-ifunc.c: New file.
63402         * benchtests/bench-bzero.c: New file.
63403         * benchtests/bench-memccpy-ifunc.c: New file.
63404         * benchtests/bench-memccpy.c: New file.
63405         * benchtests/bench-memchr-ifunc.c: New file.
63406         * benchtests/bench-memchr.c: New file.
63407         * benchtests/bench-memcmp-ifunc.c: New file.
63408         * benchtests/bench-memcmp.c: New file.
63409         * benchtests/bench-memmem-ifunc.c: New file.
63410         * benchtests/bench-memmem.c: New file.
63411         * benchtests/bench-memmove-ifunc.c: New file.
63412         * benchtests/bench-memmove.c: New file.
63413         * benchtests/bench-mempcpy-ifunc.c: New file.
63414         * benchtests/bench-mempcpy.c: New file.
63415         * benchtests/bench-memset-ifunc.c: New file.
63416         * benchtests/bench-memset.c: New file.
63417         * benchtests/bench-rawmemchr-ifunc.c: New file.
63418         * benchtests/bench-rawmemchr.c: New file.
63419         * benchtests/bench-stpcpy-ifunc.c: New file.
63420         * benchtests/bench-stpcpy.c: New file.
63421         * benchtests/bench-stpncpy-ifunc.c: New file.
63422         * benchtests/bench-stpncpy.c: New file.
63423         * benchtests/bench-strcasecmp-ifunc.c: New file.
63424         * benchtests/bench-strcasecmp.c: New file.
63425         * benchtests/bench-strcasestr-ifunc.c: New file.
63426         * benchtests/bench-strcasestr.c: New file.
63427         * benchtests/bench-strcat-ifunc.c: New file.
63428         * benchtests/bench-strcat.c: New file.
63429         * benchtests/bench-strchr-ifunc.c: New file.
63430         * benchtests/bench-strchr.c: New file.
63431         * benchtests/bench-strchrnul-ifunc.c: New file.
63432         * benchtests/bench-strchrnul.c: New file.
63433         * benchtests/bench-strcmp-ifunc.c: New file.
63434         * benchtests/bench-strcmp.c: New file.
63435         * benchtests/bench-strcpy-ifunc.c: New file.
63436         * benchtests/bench-strcpy.c: New file.
63437         * benchtests/bench-strcspn-ifunc.c: New file.
63438         * benchtests/bench-strcspn.c: New file.
63439         * benchtests/bench-strlen-ifunc.c: New file.
63440         * benchtests/bench-strlen.c: New file.
63441         * benchtests/bench-strncasecmp-ifunc.c: New file.
63442         * benchtests/bench-strncasecmp.c: New file.
63443         * benchtests/bench-strncat-ifunc.c: New file.
63444         * benchtests/bench-strncat.c: New file.
63445         * benchtests/bench-strncmp-ifunc.c: New file.
63446         * benchtests/bench-strncmp.c: New file.
63447         * benchtests/bench-strncpy-ifunc.c: New file.
63448         * benchtests/bench-strncpy.c: New file.
63449         * benchtests/bench-strnlen-ifunc.c: New file.
63450         * benchtests/bench-strnlen.c: New file.
63451         * benchtests/bench-strpbrk-ifunc.c: New file.
63452         * benchtests/bench-strpbrk.c: New file.
63453         * benchtests/bench-strrchr-ifunc.c: New file.
63454         * benchtests/bench-strrchr.c: New file.
63455         * benchtests/bench-strspn-ifunc.c: New file.
63456         * benchtests/bench-strspn.c: New file.
63457         * benchtests/bench-strstr-ifunc.c: New file.
63458         * benchtests/bench-strstr.c: New file.
63460         * benchtests/Makefile: Disable parallel execution of targets.
63461         (string-bench): Add memcpy.
63462         (benchset): New variable to store a list of benchmark sets.
63463         (bench-func): Renamed from bench.
63464         (bench-set): New target.
63465         (bench): Depend on bench-func and bench-set.
63466         * benchtests/README: Add section on benchmark sets.
63467         * benchtests/bench-memcpy-ifunc.c: New file.
63468         * benchtests/bench-memcpy.c: New file.
63469         * benchtests/bench-string.h: New file.
63471 2013-06-11  Andreas Schwab  <schwab@suse.de>
63473         [BZ #15577]
63474         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63475         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63476         values in the triple.
63477         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63478         terminator in the group key.
63480 2013-06-11  Andreas Jaeger  <aj@suse.de>
63482         * po/zh_TW.po: Update Chinese (traditional) translation from
63483         translation project.
63485 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63487         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63488         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63489         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63490         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63491         (clock_getcpuclockid): Likewise.
63492         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63493         Add weak_alias and libc_hidden_def.
63494         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63495         * rt/clock_gettime.c (clock_gettime): Rename to
63496         __clock_gettime.  Add weak_alias and libc_hidden_def.
63497         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63498         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63499         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63500         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63501         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63502         Likewise.
63503         * rt/clock_settime.c (clock_settime): Rename to
63504         __clock_settime.  Add weak_alias and libc_hidden_def.
63505         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63507 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63509         * mach/err_boot.sub: Remove trailing whitespace.
63510         * mach/err_ipc.sub: Likewise.
63511         * mach/err_mach.sub: Likewise.
63513         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63514         (ROUNDING_TESTS_double): Likewise.
63515         (ROUNDING_TESTS_long_double): Likewise.
63516         (ROUNDING_TESTS): Likewise.
63517         * math/libm-test.inc: Include <math-tests.h>.
63518         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63519         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63520         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63521         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63523 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63525         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63526         of assigning.
63528 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63530         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63531         otherwise empty TRANS lines.
63532         * sysdeps/gnu/errlist.c: Regenerated.
63534         * catgets/gencat.c (error_print): Use (void) in function
63535         definition.
63536         * crypt/crypt_util.c (__init_des): Likewise.
63537         * crypt/speeds.c (Stop): Likewise.
63538         (main): Likewise.
63539         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63540         * inet/ruserpass.c (token): Likewise.
63541         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63542         * intl/localealias.c (extend_alias_table): Likewise.
63543         * intl/plural-exp.c (init_germanic_plural): Likewise.
63544         * libio/fcloseall.c (__fcloseall): Likewise.
63545         * libio/genops.c (_IO_flush_all): Likewise.
63546         (_IO_flush_all_linebuffered): Likewise.
63547         (_IO_cleanup): Likewise.
63548         (_IO_iter_begin): Likewise.
63549         (_IO_iter_end): Likewise.
63550         (_IO_list_lock): Likewise.
63551         (_IO_list_unlock): Likewise.
63552         (_IO_list_resetlock): Likewise.
63553         * libio/getchar.c (getchar): Likewise.
63554         * libio/getchar_u.c (getchar_unlocked): Likewise.
63555         * libio/getwchar.c (getwchar): Likewise.
63556         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63557         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63558         * login/getpt.c (__getpt): Likewise.
63559         * login/tst-utmp.c (main): Likewise.
63560         * malloc/hooks.c (__malloc_check_init): Likewise.
63561         * malloc/malloc.c (__malloc_stats): Likewise.
63562         * malloc/mtrace.c (tr_break): Likewise.
63563         (mtrace): Likewise.
63564         (muntrace): Likewise.
63565         * misc/fstab.c (endfsent): Likewise.
63566         * misc/getclktck.c (__getclktck): Likewise.
63567         * misc/getdtsz.c (__getdtablesize): Likewise.
63568         * misc/gethostid.c (gethostid): Likewise.
63569         * misc/getpagesize.c (__getpagesize): Likewise.
63570         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63571         (__get_nprocs): Likewise.
63572         (__get_phys_pages): Likewise.
63573         (__get_avphys_pages): Likewise.
63574         * misc/getttyent.c (getttyent): Likewise.
63575         (setttyent): Likewise.
63576         (endttyent): Likewise.
63577         * misc/getusershell.c (getusershell): Likewise.
63578         (endusershell): Likewise.
63579         (setusershell): Likewise.
63580         (initshells): Likewise.
63581         * misc/hsearch.c (__hdestroy): Likewise.
63582         * misc/sync.c (sync): Likewise.
63583         * misc/syslog.c (closelog_internal): Likewise.
63584         (closelog): Likewise.
63585         * misc/ttyslot.c (ttyslot): Likewise.
63586         * misc/vhangup.c (vhangup): Likewise.
63587         * posix/fork.c (__fork): Likewise.
63588         * posix/getegid.c (__getegid): Likewise.
63589         * posix/geteuid.c (__geteuid): Likewise.
63590         * posix/getgid.c (__getgid): Likewise.
63591         * posix/getpid.c (__getpid): Likewise.
63592         * posix/getppid.c (__getppid): Likewise.
63593         * posix/getuid.c (__getuid): Likewise.
63594         * posix/pause.c (pause): Likewise.
63595         * posix/setpgrp.c (setpgrp): Likewise.
63596         * posix/setsid.c (__setsid): Likewise.
63597         * posix/test-vfork.c (noop): Likewise.
63598         * resolv/gethnamaddr.c (_endhtent): Likewise.
63599         (_gethtent): Likewise.
63600         (ht_endhostent): Likewise.
63601         (gethostent): Likewise.
63602         (dns_service): Likewise.
63603         * stdlib/drand48.c (drand48): Likewise.
63604         * stdlib/lrand48.c (lrand48): Likewise.
63605         * stdlib/mrand48.c (mrand48): Likewise.
63606         * stdlib/rand.c (rand): Likewise.
63607         * stdlib/random.c (__random): Likewise.
63608         * stdlib/setenv.c (clearenv): Likewise.
63609         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63610         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63611         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63612         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63613         (__get_nprocs): Likewise.
63614         (__get_phys_pages): Likewise.
63615         (__get_avphys_pages): Likewise.
63616         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63617         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63618         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63619         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63620         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63621         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63622         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63623         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63624         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63625         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63626         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63627         * sysdeps/mach/hurd/sync.c (sync): Likewise.
63628         * sysdeps/posix/clock.c (clock): Likewise.
63629         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63630         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63631         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63632         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63633         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63634         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63635         (__get_nprocs_conf): Likewise.
63636         (__get_phys_pages): Likewise.
63637         (__get_avphys_pages): Likewise.
63638         * time/clock.c (clock): Likewise.
63639         * time/tzset.c (__tzname_max): Likewise.
63641 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
63643         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63644         (__bswap_32): Do not use "register".
63645         * crypt/crypt.c (_ufc_doit_r): Likewise.
63646         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63647         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63648         * gmon/gmon.c (__monstartup): Likewise.
63649         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63650         * hurd/hurdmalloc.c (more_memory): Likewise.
63651         (malloc): Likewise.
63652         (free): Likewise.
63653         (realloc): Likewise.
63654         (malloc_fork_prepare): Likewise.
63655         (malloc_fork_parent): Likewise.
63656         (malloc_fork_child): Likewise.
63657         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63658         (_svcauth_des): Likewise.
63659         * inet/inet_lnaof.c (inet_lnaof): Likewise.
63660         * inet/inet_net.c (inet_network): Likewise.
63661         * inet/inet_netof.c (inet_netof): Likewise.
63662         * inet/rcmd.c (__validuser2_sa): Likewise.
63663         * io/fts.c (fts_open): Likewise.
63664         (fts_load): Likewise.
63665         (fts_close): Likewise.
63666         (fts_read): Likewise.
63667         (fts_children): Likewise.
63668         (fts_build): Likewise.
63669         (fts_stat): Likewise.
63670         (fts_sort): Likewise.
63671         (fts_alloc): Likewise.
63672         (fts_lfree): Likewise.
63673         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63674         (_IO_file_xsgetn): Likewise.
63675         (_IO_file_xsgetn_mmap): Likewise.
63676         * libio/iofopncook.c (_IO_cookie_read): Likewise.
63677         (_IO_cookie_write): Likewise.
63678         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63679         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63680         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63681         * malloc/obstack.c (_obstack_begin): Likewise.
63682         (_obstack_begin_1): Likewise.
63683         (_obstack_newchunk): Likewise.
63684         (_obstack_allocated_p): Likewise.
63685         (obstack_free): Likewise.
63686         (_obstack_memory_used): Likewise.
63687         * misc/getttyent.c (getttynam): Likewise.
63688         (getttyent): Likewise.
63689         (skip): Likewise.
63690         (value): Likewise.
63691         * misc/getusershell.c (initshells): Likewise.
63692         * misc/syslog.c (__vsyslog_chk): Likewise.
63693         * misc/ttyslot.c (ttyslot): Likewise.
63694         * nis/nis_hash.c (__nis_hash): Likewise.
63695         * posix/fnmatch_loop.c (FCT): Likewise.
63696         * posix/getconf.c (print_all): Likewise.
63697         (main): Likewise.
63698         * posix/getopt.c (exchange): Likewise.
63699         * posix/glob.c (globfree): Likewise.
63700         (prefix_array): Likewise.
63701         (__glob_pattern_type): Likewise.
63702         * resolv/arpa/nameser.h (NS_GET16): Likewise.
63703         (NS_GET32): Likewise.
63704         (NS_PUT16): Likewise.
63705         (NS_PUT32): Likewise.
63706         * resolv/gethnamaddr.c (getanswer): Likewise.
63707         (gethostbyname2): Likewise.
63708         (gethostbyaddr): Likewise.
63709         (_gethtent): Likewise.
63710         (_gethtbyname2): Likewise.
63711         (_gethtbyaddr): Likewise.
63712         * resolv/ns_print.c (dst_s_get_int16): Likewise.
63713         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63714         * resolv/res_init.c (__res_vinit): Likewise.
63715         (net_mask): Likewise.
63716         * resolv/res_mkquery.c (outchar): Likewise.
63717         (PRINT): Likewise.
63718         * stdio-common/printf_fp.c (outchar): Likewise.
63719         (PRINT): Likewise.
63720         * stdio-common/printf_fphex.c (outchar): Likewise.
63721         (PRINT): Likewise.
63722         * stdio-common/printf_size.c (outchar): Likewise.
63723         (PRINT): Likewise.
63724         * stdio-common/test_rdwr.c (main): Likewise.
63725         * stdio-common/tfformat.c (matches): Likewise.
63726         * stdio-common/vfprintf.c (outchar): Likewise.
63727         (printf_unknown): Likewise.
63728         (buffered_vfprintf): Likewise.
63729         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63730         * stdio-common/xbug.c (AppendToBuffer): Likewise.
63731         (ReadFile): Likewise.
63732         * stdlib/qsort.c (SWAP): Likewise.
63733         (_quicksort): Likewise.
63734         * stdlib/setenv.c (__add_to_environ): Likewise.
63735         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63736         * stdlib/strtol_l.c (__strtol_l): Likewise.
63737         * stdlib/tst-strtod.c (main): Likewise.
63738         * stdlib/tst-strtol.c (main): Likewise.
63739         * stdlib/tst-strtoll.c (main): Likewise.
63740         * string/bits/string2.h (__strcmp_cc): Likewise.
63741         (__strcmp_cg): Likewise.
63742         (__strcspn_c1): Likewise.
63743         (__strcspn_c2): Likewise.
63744         (__strcspn_c3): Likewise.
63745         (__strspn_c1): Likewise.
63746         (__strspn_c2): Likewise.
63747         (__strspn_c3): Likewise.
63748         (__strsep_1c): Likewise.
63749         (__strsep_2c): Likewise.
63750         (__strsep_3c): Likewise.
63751         * string/memccpy.c (__memccpy): Likewise.
63752         * string/stpcpy.c (__stpcpy): Likewise.
63753         * string/strcmp.c (strcmp): Likewise.
63754         * string/strrchr.c (strrchr): Likewise.
63755         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63756         Likewise.
63757         * sysdeps/mach/hurd/getcwd.c
63758         (_hurd_canonicalize_directory_name_internal): Likewise.
63759         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63760         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63761         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63762         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63763         Likewise, in both definitions.
63764         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63765         definitions.
63766         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63767         64] (__bswap_64): Likewise.
63768         * time/test_time.c (main): Likewise.
63769         * time/tzfile.c (__tzfile_read): Likewise.
63770         (__tzfile_compute): Likewise.
63771         * time/tzset.c (__tzset_parse_tz): Likewise.
63772         (tzset_internal): Likewise.
63773         (compute_change): Likewise.
63774         * wcsmbs/wcscat.c (__wcscat): Likewise.
63775         * wcsmbs/wcschr.c (wcschr): Likewise.
63776         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63777         * wcsmbs/wcscspn.c (wcscspn): Likewise.
63778         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63779         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63780         * wcsmbs/wcsspn.c (wcsspn): Likewise.
63781         * wcsmbs/wcsstr.c (wcsstr): Likewise.
63782         * wcsmbs/wmemchr.c (wmemchr): Likewise.
63783         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63784         * wcsmbs/wmemset.c (wmemset): Likewise.
63786 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
63788         * scripts/config.guess: Update to version 2013-05-16.
63789         * scripts/config.sub: Update to version 2013-04-24.
63790         * scripts/install-sh: Update to version 2011-11-20.07.
63791         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
63792         * scripts/move-if-change: Update to version 2012-01-06 07:23.
63794 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
63796         * debug/fgetws_u_chk.c: Fix leading whitespaces.
63797         * elf/sln.c: Likewise.
63798         * hurd/hurd/ioctl.h: Likewise.
63799         * hurd/hurdmalloc.c: Likewise.
63800         * hurd/xattr.c: Likewise.
63801         * include/shlib-compat.h: Likewise.
63802         * inet/ruserpass.c: Likewise.
63803         * libio/iofgets_u.c: Likewise.
63804         * libio/iofgetws_u.c: Likewise.
63805         * locale/programs/ld-identification.c: Likewise.
63806         * locale/programs/ld-time.c: Likewise.
63807         * mach/msg-destroy.c: Likewise.
63808         * nss/nss_files/files-netgrp.c: Likewise.
63809         * resolv/res_data.c: Likewise.
63810         * soft-fp/op-1.h: Likewise.
63811         * soft-fp/op-2.h: Likewise.
63812         * soft-fp/op-4.h: Likewise.
63813         * soft-fp/op-common.h: Likewise.
63814         * stdio-common/printf_fphex.c: Likewise.
63815         * stdlib/strtod_l.c: Likewise.
63816         * sunrpc/rpc/clnt.h: Likewise.
63817         * sysdeps/generic/framestate.c: Likewise.
63818         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63819         * sysdeps/i386/bsd-setjmp.S: Likewise.
63820         * sysdeps/i386/__longjmp.S: Likewise.
63821         * sysdeps/i386/setjmp.S: Likewise.
63822         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63823         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63824         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63825         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63826         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63827         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63828         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63829         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63830         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63831         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63832         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63833         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63834         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63835         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63836         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63837         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63838         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63839         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
63840         * sysdeps/ieee754/support.c: Likewise.
63841         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63842         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
63843         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
63844         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
63845         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
63846         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
63847         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
63848         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
63849         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
63850         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
63851         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
63852         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
63853         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
63854         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
63855         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
63856         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
63857         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
63860 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
63862         * posix/transbug.c: Remove executable mode.
63864 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
63866         * crypt/speeds.c: Remove trailing whitespace.
63867         * dlfcn/default.c: Likewise.
63868         * elf/ifuncdep2.c: Likewise.
63869         * elf/ifuncmain1.c: Likewise.
63870         * elf/ifuncmain1vis.c: Likewise.
63871         * elf/testobj.h: Likewise.
63872         * elf/tst-stackguard1.c: Likewise.
63873         * gmon/sys/gmon.h: Likewise.
63874         * hurd/hurdmsg.c: Likewise.
63875         * hurd/new-fd.c: Likewise.
63876         * hurd/ports-get.c: Likewise.
63877         * iconvdata/ibm1008_420.c: Likewise.
63878         * inet/tst-getni1.c: Likewise.
63879         * inet/tst-getni2.c: Likewise.
63880         * libio/ioungetc.c: Likewise.
63881         * libio/wfiledoalloc.c: Likewise.
63882         * manual/libm-err-tab.pl: Likewise.
63883         * math/w_dremf.c: Likewise.
63884         * misc/ftruncate.c: Likewise.
63885         * posix/bug-glob2.c: Likewise.
63886         * posix/tst-pcre.c: Likewise.
63887         * posix/wait4.c: Likewise.
63888         * resolv/README: Likewise.
63889         * resolv/res_debug.h: Likewise.
63890         * resolv/tst-inet_ntop.c: Likewise.
63891         * setjmp/bug269-setjmp.c: Likewise.
63892         * soft-fp/extended.h: Likewise.
63893         * soft-fp/op-1.h: Likewise.
63894         * soft-fp/op-2.h: Likewise.
63895         * soft-fp/op-4.h: Likewise.
63896         * soft-fp/op-8.h: Likewise.
63897         * soft-fp/testit.c: Likewise.
63898         * stdio-common/bug16.c: Likewise.
63899         * stdlib/random.c: Likewise.
63900         * sunrpc/rpcsvc/rquota.x: Likewise.
63901         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
63902         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63903         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63904         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63905         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63906         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63907         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63908         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63909         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63910         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63911         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63912         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63913         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63914         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63915         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63916         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63917         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63918         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63919         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63920         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63921         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63922         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63923         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
63924         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63925         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63926         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63928         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63929         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63930         * sysdeps/ieee754/s_lib_version.c: Likewise.
63931         * sysdeps/mach/hurd/check_fds.c: Likewise.
63932         * sysdeps/mach/hurd/getsockname.c: Likewise.
63933         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
63934         * sysdeps/mach/hurd/recvfrom.c: Likewise.
63935         * sysdeps/powerpc/bits/link.h: Likewise.
63936         * sysdeps/powerpc/dl-procinfo.c: Likewise.
63937         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
63938         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
63939         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
63940         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63941         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63942         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
63943         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63944         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
63945         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63946         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
63947         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63948         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
63949         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63950         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63951         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63952         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63953         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63954         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63955         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63956         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63957         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
63958         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63959         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
63960         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
63961         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63962         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63963         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63964         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63965         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63966         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63967         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63968         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63969         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63970         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
63971         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63972         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
63973         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63974         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
63975         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
63976         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
63977         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
63978         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
63979         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
63980         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63981         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
63982         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
63983         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63984         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
63985         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
63986         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63987         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63988         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63989         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63990         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
63991         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
63992         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
63993         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63994         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
63995         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
63996         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
63997         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
63998         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
63999         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64000         * sysdeps/powerpc/sysdep.h: Likewise.
64001         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64002         * sysdeps/s390/s390-64/sub_n.S: Likewise.
64003         * sysdeps/sh/dl-trampoline.S: Likewise.
64004         * sysdeps/sh/memset.S: Likewise.
64005         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
64006         * sysdeps/sh/strlen.S: Likewise.
64007         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
64008         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
64009         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
64010         * sysdeps/sparc/sparc32/rem.S: Likewise.
64011         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
64012         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
64013         * sysdeps/sparc/sparc32/strchr.S: Likewise.
64014         * sysdeps/sparc/sparc32/udiv.S: Likewise.
64015         * sysdeps/sparc/sparc32/urem.S: Likewise.
64016         * sysdeps/sparc/sparc64/add_n.S: Likewise.
64017         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64018         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
64019         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
64020         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
64021         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
64022         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
64023         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
64024         * sysdeps/unix/bsd/times.c: Likewise.
64025         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
64026         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
64027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
64028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
64029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
64030         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
64031         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
64032         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
64033         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
64034         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
64035         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
64036         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64037         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
64038         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64039         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64040         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
64041         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64042         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64043         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
64044         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
64045         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
64046         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
64047         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64048         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
64049         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
64050         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
64051         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
64052         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64053         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
64054         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
64055         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
64056         * sysdeps/x86_64/strcspn.S: Likewise.
64058 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64060         * locale/C-translit.h: Revert #include <stdint.h> because this is a
64061         generated file.  Regenerate properly from gen-translit.pl.
64062         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
64063         locale/C-translit.h.
64065 2013-06-05  Andreas Schwab  <schwab@suse.de>
64067         [BZ #15100]
64068         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
64069         week as 6 instead of -1.
64070         * time/tst-strptime.c (day_tests): Add test case.
64072 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64074         * sysdeps/generic/math_private.h
64075         (libc_feholdexcept_setround_53bit): Replace with
64076         libc_feholdsetround_53bit.
64077         (libc_feupdateenv_53bit): Replace with
64078         libc_feresetround_53bit.
64079         (SET_RESTORE_ROUND_53BIT): Adjust.
64081 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64083         * string/test-strchrnul.c: Add copyright header.
64085         * posix/tst-getaddrinfo4.c: Increase test timeout.
64087 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
64089         [BZ #15536]
64090         * math/libm-test.inc (MAX_EXP): Remove
64091         (MIN_EXP): Define.
64092         (ulp): Use MIN_EXP - MANT_DIG.
64093         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64095 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
64097         * po/be.po: Revert last change.
64098         * po/zh_CN.po: Likewise.
64099         * po/header.pot: Likewise.
64101 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
64103         * Makefile ($(common-objpfx)linkobj/libc.so): Define
64104         link-libc-deps to empty as target-specific variable.
64105         * Makerules (link-libc-args): New variable.
64106         (libc-for-link): Likewise.
64107         (link-libc-deps): Likewise.
64108         (lib%.so): Depend on $(link-libc-deps).  Link with
64109         $(link-libc-args).
64110         (build-module): Link with $(link-libc-args).
64111         (build-module-asneeded): Likewise.
64112         (build-module-helper-objlist): Filter out $(link-libc-deps) from
64113         list of objects.
64114         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64115         target-specific variable.
64116         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64117         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64118         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64119         libc.
64120         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64121         libc and ld.so.
64122         ($(objpfx)libpcprofile.so): Likewise.
64123         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64124         libc_nonshared.a.
64125         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64126         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64127         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64128         $(link-libc-deps).
64129         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64130         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64131         * login/Makefile ($(objpfx)libutil.so): Likewise.
64132         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64133         * math/Makefile ($(objpfx)libm.so): Likewise.
64134         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64135         $(objpfx)libnsl.so): Define libc-for-link as target-specific
64136         variable instead of depending directly on libc.
64137         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64138         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64139         $(link-libc-deps).
64140         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64141         libc.
64142         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64143         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64144         ($(objpfx)libanl.so): Likewise.
64145         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64146         ld.so.
64147         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64148         $(link-libc-deps).
64149         * sysdeps/i386/fpu/Makefile: Remove file.
64150         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64151         ($(objpfx)libm.so): Remove dependency on ld.so.
64153 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
64155         [BZ # 15553]
64156         * nis/yp_xdr.c (XDRMAXNAME): Define.
64157         (XDRMAXRECORD): Define.
64158         (xdr_domainname): Use XDRMAXNAME.
64159         (xdr_mapname): Likewise.
64160         (xdr_peername): Likewise.
64161         (xdr_keydat): Use XDRMAXRECORD.
64162         (xdr_valdat): Likewise.
64164 2013-05-30  Jeff Law  <law@redhat.com>
64166         [BZ #14256]
64167         * manual/errno.texi (ESTALE): Update to account for more than
64168         just NFS file systems.
64169         * sysdeps/gnu/errlist.c: Regenerated.
64171 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64173         [BZ #15465]
64174         * elf/Makefile (tests): Add tst-null-argv.
64175         (modules-names):  Add tst-null-argv-lib.
64176         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
64177         (tst-null-argv-ENV): Set environment for tst-null-argv.
64178         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
64179         (RTLD_PROGNAME): New macro.
64180         * elf/tst-null-argv.c: New test case.
64181         * elf/tst-null-argv-lib.c: Library for test case.
64182         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
64183         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
64184         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
64185         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
64186         * elf/dl-init.c (call_init): Likewise.
64187         (_dl_init): Likewise.
64188         * elf/dl-load.c (print_search_path): Likewise.
64189         (_dl_map_object): Likewise.
64190         * elf/dl-lookup.c (do_lookup_x): Likewise.
64191         (add_dependency): Likewise.
64192         (_dl_lookup_symbol_x): Likewise.
64193         (_dl_debug_bindings): Likewise.
64194         * elf/dl-open.c (_dl_show_scope): Likewise.
64195         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
64196         * elf/dl-version.c (match_symbol): Likewise.
64197         (_dl_check_map_versions): Likewise.
64198         * elf/rtld.c (dl_main): Likewise.
64199         (print_unresolved): Use RTLD_PROGNAME.
64200         (print_missing_version): Likewise.
64201         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
64202         (elf_machine_rela): Likewise.
64203         * sysdeps/powerpc/powerpc32/dl-machine.c
64204         (__process_machine_rela): Likewise.
64205         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64206         Likewise.
64207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64208         Likewise.
64209         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
64210         Likewise.
64211         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64212         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
64213         Likewise.
64214         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
64215         Likewise.
64216         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64218 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
64220         * po/be.po: Add descriptive title.
64221         * po/zh_CN.po: Likewise.
64222         * po/header.pot: Likewise.
64224 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
64226         * locale/programs/locarchive.c (create_archive): Inlucde fname in
64227         error message.
64228         (enlarge_archive): Likewise.
64230 2013-05-28  Ben North  <ben@redfrontdoor.org>
64232         * manual/arith.texi (frexp): It is the magnitude of the return
64233         value which lies in [0.5, 1), not the return value itself.
64235 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64239 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
64241         * stdio-common/bug26.c (main): Correct fscanf template.
64243         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
64244         declare _dl_skip_args.
64246         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
64247         Don't declare.
64249         * manual/platform.texi: Add missing @end deftypefun.
64251 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64253         [BZ #15529]
64254         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
64255         bit of mantissa of 2^16382.
64256         * math/libm-test.inc (hypot_test_data): Add more tests.
64258         * math/libm-test.inc: Add drem and pow10 to list of tested
64259         functions.
64260         (pow10_test): New function.
64261         (drem_test): Likewise.
64262         (drem_test_tonearest): Likewise.
64263         (drem_test_towardzero): Likewise.
64264         (drem_test_downward): Likewise.
64265         (drem_test_upward): Likewise.
64266         (main): Call the new functions.
64268         * math/libm-test.inc (finite_test_data): Remove.
64269         (finite_test): Run tests from isfinite_test_data.
64270         (gamma_test_data): Remove.
64271         (gamma_test): Run tests from lgamma_test_data.
64272         * sysdeps/i386/fpu/libm-test-ulps: Update.
64273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64275 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64277         * manual/platform.texi: Add PowerPC PPR function set documentation.
64278         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
64279         implementation.
64281 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
64283         * math/libm-test.inc (MAX_EXP): Define.
64284         (ULPDIFF): Define.
64285         (ulp): New function.
64286         (check_float_internal): Use ULPDIFF.
64287         (cpow_test): Disable failing test.
64288         (check_ulp): Test ulp() implementation.
64289         (main): Call check_ulp before starting tests.
64291 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64293         * math/gen-libm-test.pl (generate_testfile): Do not handle
64294         START_DATA and END_DATA.
64295         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
64296         END_DATA.
64297         (acos_tonearest_test_data): Likewise.
64298         (acos_towardzero_test_data): Likewise.
64299         (acos_downward_test_data): Likewise.
64300         (acos_upward_test_data): Likewise.
64301         (acosh_test_data): Likewise.
64302         (asin_test_data): Likewise.
64303         (asin_tonearest_test_data): Likewise.
64304         (asin_towardzero_test_data): Likewise.
64305         (asin_downward_test_data): Likewise.
64306         (asin_upward_test_data): Likewise.
64307         (asinh_test_data): Likewise.
64308         (atan_test_data): Likewise.
64309         (atanh_test_data): Likewise.
64310         (atan2_test_data): Likewise.
64311         (cabs_test_data): Likewise.
64312         (cacos_test_data): Likewise.
64313         (cacosh_test_data): Likewise.
64314         (carg_test_data): Likewise.
64315         (casin_test_data): Likewise.
64316         (casinh_test_data): Likewise.
64317         (catan_test_data): Likewise.
64318         (catanh_test_data): Likewise.
64319         (cbrt_test_data): Likewise.
64320         (ccos_test_data): Likewise.
64321         (ccosh_test_data): Likewise.
64322         (ceil_test_data): Likewise.
64323         (cexp_test_data): Likewise.
64324         (cimag_test_data): Likewise.
64325         (clog_test_data): Likewise.
64326         (clog10_test_data): Likewise.
64327         (conj_test_data): Likewise.
64328         (copysign_test_data): Likewise.
64329         (cos_test_data): Likewise.
64330         (cos_tonearest_test_data): Likewise.
64331         (cos_towardzero_test_data): Likewise.
64332         (cos_downward_test_data): Likewise.
64333         (cos_upward_test_data): Likewise.
64334         (cosh_test_data): Likewise.
64335         (cosh_tonearest_test_data): Likewise.
64336         (cosh_towardzero_test_data): Likewise.
64337         (cosh_downward_test_data): Likewise.
64338         (cosh_upward_test_data): Likewise.
64339         (cpow_test_data): Likewise.
64340         (cproj_test_data): Likewise.
64341         (creal_test_data): Likewise.
64342         (csin_test_data): Likewise.
64343         (csinh_test_data): Likewise.
64344         (csqrt_test_data): Likewise.
64345         (ctan_test_data): Likewise.
64346         (ctan_tonearest_test_data): Likewise.
64347         (ctan_towardzero_test_data): Likewise.
64348         (ctan_downward_test_data): Likewise.
64349         (ctan_upward_test_data): Likewise.
64350         (ctanh_test_data): Likewise.
64351         (ctanh_tonearest_test_data): Likewise.
64352         (ctanh_towardzero_test_data): Likewise.
64353         (ctanh_downward_test_data): Likewise.
64354         (ctanh_upward_test_data): Likewise.
64355         (erf_test_data): Likewise.
64356         (erfc_test_data): Likewise.
64357         (exp_test_data): Likewise.
64358         (exp_tonearest_test_data): Likewise.
64359         (exp_towardzero_test_data): Likewise.
64360         (exp_downward_test_data): Likewise.
64361         (exp_upward_test_data): Likewise.
64362         (exp10_test_data): Likewise.
64363         (exp2_test_data): Likewise.
64364         (expm1_test_data): Likewise.
64365         (fabs_test_data): Likewise.
64366         (fdim_test_data): Likewise.
64367         (finite_test_data): Likewise.
64368         (floor_test_data): Likewise.
64369         (fma_test_data): Likewise.
64370         (fma_towardzero_test_data): Likewise.
64371         (fma_downward_test_data): Likewise.
64372         (fma_upward_test_data): Likewise.
64373         (fmax_test_data): Likewise.
64374         (fmin_test_data): Likewise.
64375         (fmod_test_data): Likewise.
64376         (fpclassify_test_data): Likewise.
64377         (frexp_test_data): Likewise.
64378         (gamma_test_data): Likewise.
64379         (hypot_test_data): Likewise.
64380         (ilogb_test_data): Likewise.
64381         (isfinite_test_data): Likewise.
64382         (isgreater_test_data): Likewise.
64383         (isgreaterequal_test_data): Likewise.
64384         (isinf_test_data): Likewise.
64385         (isless_test_data): Likewise.
64386         (islessequal_test_data): Likewise.
64387         (islessgreater_test_data): Likewise.
64388         (isnan_test_data): Likewise.
64389         (isnormal_test_data): Likewise.
64390         (issignaling_test_data): Likewise.
64391         (isunordered_test_data): Likewise.
64392         (j0_test_data): Likewise.
64393         (j1_test_data): Likewise.
64394         (jn_test_data): Likewise.
64395         (ldexp_test_data): Likewise.
64396         (lgamma_test_data): Likewise.
64397         (lrint_test_data): Likewise.
64398         (lrint_tonearest_test_data): Likewise.
64399         (lrint_towardzero_test_data): Likewise.
64400         (lrint_downward_test_data): Likewise.
64401         (lrint_upward_test_data): Likewise.
64402         (llrint_test_data): Likewise.
64403         (llrint_tonearest_test_data): Likewise.
64404         (llrint_towardzero_test_data): Likewise.
64405         (llrint_downward_test_data): Likewise.
64406         (llrint_upward_test_data): Likewise.
64407         (log_test_data): Likewise.
64408         (log10_test_data): Likewise.
64409         (log1p_test_data): Likewise.
64410         (log2_test_data): Likewise.
64411         (logb_test_data): Likewise.
64412         (logb_downward_test_data): Likewise.
64413         (lround_test_data): Likewise.
64414         (llround_test_data): Likewise.
64415         (modf_test_data): Likewise.
64416         (nearbyint_test_data): Likewise.
64417         (nextafter_test_data): Likewise.
64418         (nexttoward_test_data): Likewise.
64419         (pow_test_data): Likewise.
64420         (pow_tonearest_test_data): Likewise.
64421         (pow_towardzero_test_data): Likewise.
64422         (pow_downward_test_data): Likewise.
64423         (pow_upward_test_data): Likewise.
64424         (remainder_test_data): Likewise.
64425         (remainder_tonearest_test_data): Likewise.
64426         (remainder_towardzero_test_data): Likewise.
64427         (remainder_downward_test_data): Likewise.
64428         (remainder_upward_test_data): Likewise.
64429         (remquo_test_data): Likewise.
64430         (rint_test_data): Likewise.
64431         (rint_tonearest_test_data): Likewise.
64432         (rint_towardzero_test_data): Likewise.
64433         (rint_downward_test_data): Likewise.
64434         (rint_upward_test_data): Likewise.
64435         (round_test_data): Likewise.
64436         (scalb_test_data): Likewise.
64437         (scalbn_test_data): Likewise.
64438         (scalbln_test_data): Likewise.
64439         (signbit_test_data): Likewise.
64440         (sin_test_data): Likewise.
64441         (sin_tonearest_test_data): Likewise.
64442         (sin_towardzero_test_data): Likewise.
64443         (sin_downward_test_data): Likewise.
64444         (sin_upward_test_data): Likewise.
64445         (sincos_test_data): Likewise.
64446         (sinh_test_data): Likewise.
64447         (sinh_tonearest_test_data): Likewise.
64448         (sinh_towardzero_test_data): Likewise.
64449         (sinh_downward_test_data): Likewise.
64450         (sinh_upward_test_data): Likewise.
64451         (sqrt_test_data): Likewise.
64452         (tan_test_data): Likewise.
64453         (tan_tonearest_test_data): Likewise.
64454         (tan_towardzero_test_data): Likewise.
64455         (tan_downward_test_data): Likewise.
64456         (tan_upward_test_data): Likewise.
64457         (tanh_test_data): Likewise.
64458         (tgamma_test_data): Likewise.
64459         (trunc_test_data): Likewise.
64460         (y0_test_data): Likewise.
64461         (y1_test_data): Likewise.
64462         (yn_test_data): Likewise.
64463         (significand_test_data): Likewise.
64465         * math/gen-libm-test.pl (@functions): Remove variable.
64466         (generate_testfile): Don't handle START and END lines.
64467         * math/libm-test.inc (START): New macro.
64468         (END): Likewise.
64469         (END_COMPLEX): Likewise.
64470         (acos_test): Use END macro without arguments.
64471         (acos_test_tonearest): Likewise.
64472         (acos_test_towardzero): Likewise.
64473         (acos_test_downward): Likewise.
64474         (acos_test_upward): Likewise.
64475         (acosh_test): Likewise.
64476         (asin_test): Likewise.
64477         (asin_test_tonearest): Likewise.
64478         (asin_test_towardzero): Likewise.
64479         (asin_test_downward): Likewise.
64480         (asin_test_upward): Likewise.
64481         (asinh_test): Likewise.
64482         (atan_test): Likewise.
64483         (atanh_test): Likewise.
64484         (atan2_test): Likewise.
64485         (cabs_test): Likewise.
64486         (cacos_test): Use END_COMPLEX macro without arguments.
64487         (cacosh_test): Likewise.
64488         (carg_test): Use END macro without arguments.
64489         (casin_test): Use END_COMPLEX macro without arguments.
64490         (casinh_test): Likewise.
64491         (catan_test): Likewise.
64492         (catanh_test): Likewise.
64493         (cbrt_test): Use END macro without arguments.
64494         (ccos_test): Use END_COMPLEX macro without arguments.
64495         (ccosh_test): Likewise.
64496         (ceil_test): Use END macro without arguments.
64497         (cexp_test): Use END_COMPLEX macro without arguments.
64498         (cimag_test): Use END macro without arguments.
64499         (clog_test): Use END_COMPLEX macro without arguments.
64500         (clog10_test): Likewise.
64501         (conj_test): Likewise.
64502         (copysign_test): Use END macro without arguments.
64503         (cos_test): Likewise.
64504         (cos_test_tonearest): Likewise.
64505         (cos_test_towardzero): Likewise.
64506         (cos_test_downward): Likewise.
64507         (cos_test_upward): Likewise.
64508         (cosh_test): Likewise.
64509         (cosh_test_tonearest): Likewise.
64510         (cosh_test_towardzero): Likewise.
64511         (cosh_test_downward): Likewise.
64512         (cosh_test_upward): Likewise.
64513         (cpow_test): Use END_COMPLEX macro without arguments.
64514         (cproj_test): Likewise.
64515         (creal_test): Use END macro without arguments.
64516         (csin_test): Use END_COMPLEX macro without arguments.
64517         (csinh_test): Likewise.
64518         (csqrt_test): Likewise.
64519         (ctan_test): Likewise.
64520         (ctan_test_tonearest): Likewise.
64521         (ctan_test_towardzero): Likewise.
64522         (ctan_test_downward): Likewise.
64523         (ctan_test_upward): Likewise.
64524         (ctanh_test): Likewise.
64525         (ctanh_test_tonearest): Likewise.
64526         (ctanh_test_towardzero): Likewise.
64527         (ctanh_test_downward): Likewise.
64528         (ctanh_test_upward): Likewise.
64529         (erf_test): Use END macro without arguments.
64530         (erfc_test): Likewise.
64531         (exp_test): Likewise.
64532         (exp_test_tonearest): Likewise.
64533         (exp_test_towardzero): Likewise.
64534         (exp_test_downward): Likewise.
64535         (exp_test_upward): Likewise.
64536         (exp10_test): Likewise.
64537         (exp2_test): Likewise.
64538         (expm1_test): Likewise.
64539         (fabs_test): Likewise.
64540         (fdim_test): Likewise.
64541         (finite_test): Likewise.
64542         (floor_test): Likewise.
64543         (fma_test): Likewise.
64544         (fma_test_towardzero): Likewise.
64545         (fma_test_downward): Likewise.
64546         (fma_test_upward): Likewise.
64547         (fmax_test): Likewise.
64548         (fmin_test): Likewise.
64549         (fmod_test): Likewise.
64550         (fpclassify_test): Likewise.
64551         (frexp_test): Likewise.
64552         (gamma_test): Likewise.
64553         (hypot_test): Likewise.
64554         (ilogb_test): Likewise.
64555         (isfinite_test): Likewise.
64556         (isgreater_test): Likewise.
64557         (isgreaterequal_test): Likewise.
64558         (isinf_test): Likewise.
64559         (isless_test): Likewise.
64560         (islessequal_test): Likewise.
64561         (islessgreater_test): Likewise.
64562         (isnan_test): Likewise.
64563         (isnormal_test): Likewise.
64564         (issignaling_test): Likewise.
64565         (isunordered_test): Likewise.
64566         (j0_test): Likewise.
64567         (j1_test): Likewise.
64568         (jn_test): Likewise.
64569         (ldexp_test): Likewise.
64570         (lgamma_test): Likewise.
64571         (lrint_test): Likewise.
64572         (lrint_test_tonearest): Likewise.
64573         (lrint_test_towardzero): Likewise.
64574         (lrint_test_downward): Likewise.
64575         (lrint_test_upward): Likewise.
64576         (llrint_test): Likewise.
64577         (llrint_test_tonearest): Likewise.
64578         (llrint_test_towardzero): Likewise.
64579         (llrint_test_downward): Likewise.
64580         (llrint_test_upward): Likewise.
64581         (log_test): Likewise.
64582         (log10_test): Likewise.
64583         (log1p_test): Likewise.
64584         (log2_test): Likewise.
64585         (logb_test): Likewise.
64586         (logb_test_downward): Likewise.
64587         (lround_test): Likewise.
64588         (llround_test): Likewise.
64589         (modf_test): Likewise.
64590         (nearbyint_test): Likewise.
64591         (nextafter_test): Likewise.
64592         (nexttoward_test): Likewise.
64593         (pow_test): Likewise.
64594         (pow_test_tonearest): Likewise.
64595         (pow_test_towardzero): Likewise.
64596         (pow_test_downward): Likewise.
64597         (pow_test_upward): Likewise.
64598         (remainder_test): Likewise.
64599         (remainder_test_tonearest): Likewise.
64600         (remainder_test_towardzero): Likewise.
64601         (remainder_test_downward): Likewise.
64602         (remainder_test_upward): Likewise.
64603         (remquo_test): Likewise.
64604         (rint_test): Likewise.
64605         (rint_test_tonearest): Likewise.
64606         (rint_test_towardzero): Likewise.
64607         (rint_test_downward): Likewise.
64608         (rint_test_upward): Likewise.
64609         (round_test): Likewise.
64610         (scalb_test): Likewise.
64611         (scalbn_test): Likewise.
64612         (scalbln_test): Likewise.
64613         (signbit_test): Likewise.
64614         (sin_test): Likewise.
64615         (sin_test_tonearest): Likewise.
64616         (sin_test_towardzero): Likewise.
64617         (sin_test_downward): Likewise.
64618         (sin_test_upward): Likewise.
64619         (sincos_test): Likewise.
64620         (sinh_test): Likewise.
64621         (sinh_test_tonearest): Likewise.
64622         (sinh_test_towardzero): Likewise.
64623         (sinh_test_downward): Likewise.
64624         (sinh_test_upward): Likewise.
64625         (sqrt_test): Likewise.
64626         (tan_test): Likewise.
64627         (tan_test_tonearest): Likewise.
64628         (tan_test_towardzero): Likewise.
64629         (tan_test_downward): Likewise.
64630         (tan_test_upward): Likewise.
64631         (tanh_test): Likewise.
64632         (tgamma_test): Likewise.
64633         (trunc_test): Likewise.
64634         (y0_test): Likewise.
64635         (y1_test): Likewise.
64636         (yn_test): Likewise.
64637         (significand_test): Likewise.
64639 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
64641         [BZ #15381]
64642         * libio/genops.c (_IO_no_init): Initialize wide struct info.
64644 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64646         [BZ #14894]
64647         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64648         __ppc_mdoio and __ppc_mdoom.
64649         * manual/platform.texi: Document new functions __ppc_yield,
64650         __ppc_mdoio and __ppc_mdoom.
64652 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
64654         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64655         (main): Mention "tls" pseudo-hwcap is legacy.
64656         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64658 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64660         * math/gen-libm-test.pl (parse_args): Output only string of
64661         arguments as text for test name, not full call or descriptions of
64662         tests for extra outputs.
64663         (generate_testfile): Do not pass function name to parse_args.
64664         Generate this_func variable from START.
64665         * math/libm-test.inc (struct test_f_f_data): Rename test_name
64666         field to arg_str.
64667         (struct test_ff_f_data): Likewise.
64668         (test_ff_f_data_nexttoward): Likewise.
64669         (struct test_fi_f_data): Likewise.
64670         (struct test_fl_f_data): Likewise.
64671         (struct test_if_f_data): Likewise.
64672         (struct test_fff_f_data): Likewise.
64673         (struct test_c_f_data): Likewise.
64674         (struct test_f_f1_data): Likewise.  Remove field extra_name.
64675         (struct test_fF_f1_data): Likewise.
64676         (struct test_ffI_f1_data): Likewise.
64677         (struct test_c_c_data): Rename test_name field to arg_str.
64678         (struct test_cc_c_data): Likewise.
64679         (struct test_f_i_data): Likewise.
64680         (struct test_ff_i_data): Likewise.
64681         (struct test_f_l_data): Likewise.
64682         (struct test_f_L_data): Likewise.
64683         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
64684         and extra2_name.
64685         (COMMON_TEST_SETUP): New macro.
64686         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64687         (COMMON_TEST_CLEANUP): Likewise.
64688         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64689         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
64690         macros.
64691         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64692         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
64693         macros.
64694         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64695         (RUN_TEST_fff_f): Take argument string.  Call new setup and
64696         cleanup macros.
64697         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64698         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
64699         macros.
64700         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64701         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
64702         macros.
64703         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64704         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
64705         cleanup macros.
64706         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64707         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
64708         cleanup macros.
64709         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64710         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
64711         cleanup macros.
64712         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64713         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
64714         macros.
64715         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64716         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
64717         macros.
64718         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64719         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
64720         macros.
64721         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64722         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
64723         cleanup macros.
64724         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64725         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
64726         cleanup macros.
64727         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64728         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
64729         macros.
64730         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64731         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
64732         cleanup macros.
64733         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64734         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
64735         macros.
64736         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64737         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
64738         macros.
64739         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64740         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
64741         cleanup macros.
64742         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64744 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
64746         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64747         to _sifields.sigfault.
64748         (si_addr_lsb): Define new macro.
64749         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64750         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64751         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64753 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
64755         [BZ #15441]
64756         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64757         returns -1.
64758         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64759         null return -1.
64760         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64761         loading the domain.
64763 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64765         * math/gen-libm-test.pl (parse_args): Do not include expected
64766         result in test name.
64767         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64768         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64769         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64770         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64771         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64774 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64776         * benchtests/Makefile: Sort function entries.
64778         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64779         tanh, asinh, acosh, atanh.
64780         * benchtests/acos-inputs: New file.
64781         * benchtests/acosh-inputs: New file.
64782         * benchtests/asin-inputs: New file.
64783         * benchtests/asinh-inputs: New file.
64784         * benchtests/atanh-inputs: New file.
64785         * benchtests/cosh-inputs: New file.
64786         * benchtests/log-inputs: New file.
64787         * benchtests/sinh-inputs: New file.
64788         * benchtests/tanh-inputs: New file.
64790 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
64792         [BZ #15339]
64793         * posix/tst-getaddrinfo4.c: New test.
64794         * posix/Makefile (tests): Add it.
64796 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64798         [BZ #15339]
64799         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
64800         when no services were used.
64801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
64802         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
64804 2013-05-21  Andreas Schwab  <schwab@suse.de>
64806         [BZ #15014]
64807         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
64808         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
64809         successful.
64810         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
64811         redundant variable declarations and reallocation of buffer when
64812         parsing as IPv6 address.  Always set NSS status when called from
64813         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
64814         buffer too small.  Correct computation of needed size.
64815         * nss/Makefile (tests): Add test-digits-dots.
64816         * nss/test-digits-dots.c: New test.
64818 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64820         * benchtests/Makefile: Remove instructions for adding
64821         benchmark tests.
64822         * benchtests/README: New file to explain how to execute and
64823         enhance the benchmark tests.
64825 2013-05-21  Andreas Schwab  <schwab@suse.de>
64827         [BZ #15493]
64828         * setjmp/Makefile (tests): Add tst-sigsetjmp.
64829         * setjmp/tst-sigsetjmp.c: New test.
64831 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64833         * sysdeps/x86_64/memset.S (memset): New implementation.
64834         (__bzero): Likewise.
64835         (__memset_tail): New function.
64837 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64839         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
64840         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
64841         __memcpy_sse2_unaligned ifunc selection.
64842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64843         Add memcpy-sse2-unaligned.S.
64844         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64845         Add: __memcpy_sse2_unaligned.
64847 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
64849         [BZ #15490]
64850         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64851         math_force_eval before restoring floating-point envrionment.
64852         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
64853         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
64854         Likewise.
64855         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
64856         <math_private.h>.
64857         (__nearbyintl): Use math_force_eval before restoring
64858         floating-point environment.
64859         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
64861         * math/gen-libm-test.pl (special_functions): Remove.
64862         (parse_args): Don't handle TEST_extra.  Handle functions with no
64863         return value.
64864         * math/libm-test.inc (struct test_sincos_data): Replace with
64865         struct test_fFF_11_data.
64866         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
64867         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
64868         (sincos_test_data): Change element type to struct
64869         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
64870         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
64871         RUN_TEST_LOOP_sincos.
64872         * math/README.libm-test: Don't mention special handling of
64873         individual functions.
64874         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
64875         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64876         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64877         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64878         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64881         * math/gen-libm-test.pl (get_variable): Remove function.
64882         (parse_args): Don't show pointer parameters to call in test
64883         names.  Use "extra output N" in test names for extra outputs
64884         rather than naming variables.
64886 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
64888         [BZ #15488]
64889         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
64890         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
64891         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
64892         double tests.
64893         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
64894         disable.
64895         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
64896         check_long_double.
64898         * math/gen-libm-test.pl (@tests): Remove variable.
64899         ($count): Likewise.
64900         (new_test): Remove function.
64901         (show_exceptions): New function.
64902         (special_functions): Use show_exceptions instead of new_test.
64903         (parse_args): Likewise.
64904         (generate_testfile): Pass only function name in generated call to
64905         print_max_error or print_complex_max_error.
64906         (get_ulps): Do not handle complex tests specially.
64907         (output_test): Rename to ...
64908         (get_all_ulps_for_test): ... this.  Return a string rather than
64909         printing to a file.  Require ulps to be present.
64910         (output_ulps): Generate arrays rather than #defines.
64911         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
64912         (struct ulp_data): New type.
64913         (BUILD_COMPLEX_ULP): Remove macro.
64914         (compare_ulp_data): New function.
64915         (find_ulps): Likewise.
64916         (find_test_ulps): Likewise.
64917         (find_function_ulps): Likewise.
64918         (find_complex_function_ulps): Likewise.
64919         (print_max_error): Determine allowed ulps using
64920         find_function_ulps.
64921         (print_complex_max_error): Determine allowed ulps using
64922         find_complex_function_ulps.
64923         (check_float_internal): Determine max ulps using find_test_ulps.
64924         (check_float): Do not take max_ulp parameter.  Update call to
64925         check_float_internal.
64926         (check_complex): Likewise.
64927         (check_int): Do not take max_ulp parameter.
64928         (check_long): Likewise.
64929         (check_bool): Likewise.
64930         (check_longlong): Likewise.
64931         (struct test_f_f_data): Remove max_ulp field.
64932         (struct test_ff_f_data): Likewise.
64933         (struct test_ff_f_data_nexttoward): Likewise.
64934         (struct test_fi_f_data): Likewise.
64935         (struct test_fl_f_data): Likewise.
64936         (struct test_if_f_data): Likewise.
64937         (struct test_fff_f_data): Likewise.
64938         (struct test_c_f_data): Likewise.
64939         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
64940         (struct test_fF_f1_data): Likewise.
64941         (struct test_ffI_f1_data): Likewise.
64942         (struct test_c_c_data): Remove max_ulp field.
64943         (struct test_cc_c_data): Likewise.
64944         (struct test_f_i_data): Likewise.
64945         (struct test_ff_i_data): Likewise.
64946         (struct test_f_l_data): Likewise.
64947         (struct test_f_L_data): Likewise.
64948         (struct test_sincos_data): Likewise.
64949         (RUN_TEST_f_f): Do not handle ulps.
64950         (RUN_TEST_LOOP_f_f): Likewise.
64951         (RUN_TEST_2_f): Likewise.
64952         (RUN_TEST_LOOP_2_f): Likewise.
64953         (RUN_TEST_fff_f): Likewise.
64954         (RUN_TEST_LOOP_fff_f): Likewise.
64955         (RUN_TEST_c_f): Likewise.
64956         (RUN_TEST_LOOP_c_f): Likewise.
64957         (RUN_TEST_f_f1): Likewise.
64958         (RUN_TEST_LOOP_f_f1): Likewise.
64959         (RUN_TEST_fF_f1): Likewise.
64960         (RUN_TEST_LOOP_fF_f1): Likewise.
64961         (RUN_TEST_fI_f1): Likewise.
64962         (RUN_TEST_LOOP_fI_f1): Likewise.
64963         (RUN_TEST_ffI_f1): Likewise.
64964         (RUN_TEST_LOOP_ffI_f1): Likewise.
64965         (RUN_TEST_c_c): Likewise.
64966         (RUN_TEST_LOOP_c_c): Likewise.
64967         (RUN_TEST_cc_c): Likewise.
64968         (RUN_TEST_LOOP_cc_c): Likewise.
64969         (RUN_TEST_f_i): Likewise.
64970         (RUN_TEST_LOOP_f_i): Likewise.
64971         (RUN_TEST_f_i_tg): Likewise.
64972         (RUN_TEST_LOOP_f_i_tg): Likewise.
64973         (RUN_TEST_ff_i_tg): Likewise.
64974         (RUN_TEST_LOOP_ff_i_tg): Likewise.
64975         (RUN_TEST_f_b): Likewise.
64976         (RUN_TEST_LOOP_f_b): Likewise.
64977         (RUN_TEST_f_b_tg): Likewise.
64978         (RUN_TEST_LOOP_f_b_tg): Likewise.
64979         (RUN_TEST_f_l): Likewise.
64980         (RUN_TEST_LOOP_f_l): Likewise.
64981         (RUN_TEST_f_L): Likewise.
64982         (RUN_TEST_LOOP_f_L): Likewise.
64983         (RUN_TEST_sincos): Likewise.
64984         (RUN_TEST_LOOP_sincos): Likewise.
64986 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
64988         [BZ #15480]
64989         [BZ #15485]
64990         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
64991         main case of finite arguments, set rounding mode to FE_TONEAREST
64992         and discard exceptions.
64993         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
64994         exceptions.
64995         (remainder_tonearest_test_data): New variable.
64996         (remainder_test_tonearest): New function.
64997         (remainder_towardzero_test_data): New variable.
64998         (remainder_test_towardzero): New function.
64999         (remainder_downward_test_data): New variable.
65000         (remainder_test_downward): New function.
65001         (remainder_upward_test_data): New variable.
65002         (remainder_test_upward): New function.
65003         (main): Call the new test functions.
65005         * math/libm-test.inc (struct test_f_f1_data): Remove field
65006         extra_init.
65007         (struct test_fF_f1_data): Likewise.
65008         (struct test_ffI_f1_data): Likewise.
65009         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
65010         based on value of EXTRA_EXPECTED.
65011         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65012         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
65013         EXTRA_VAR based on value of EXTRA_EXPECTED.
65014         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65015         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
65016         EXTRA_VAR based on value of EXTRA_EXPECTED.
65017         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65018         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
65019         EXTRA_VAR based on value of EXTRA_EXPECTED.
65020         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65021         * math/gen-libm-test.pl (parse_args): Don't output initializers
65022         for extra output values.
65024         * math/libm-test.inc (check_int): Expect result to be exactly
65025         equal to expected value and do not handle ulps.
65026         (check_long): Likewise.
65027         (check_longlong): Likewise.
65029         * math/libm-test.inc (ceil_test_data): Test for "inexact"
65030         exceptions.
65031         (cimag_test_data): Likewise.
65032         (conj_test_data): Likewise.
65033         (copysign_test_data): Likewise.
65034         (cproj_test_data): Likewise.
65035         (creal_test_data): Likewise.
65036         (fabs_test_data): Likewise.
65037         (fdim_test_data): Likewise.
65038         (finite_test_data): Likewise.
65039         (floor_test_data): Likewise.
65040         (fmax_test_data): Likewise.
65041         (fmin_test_data): Likewise.
65042         (fmod_test_data): Likewise.
65043         (fpclassify_test_data): Likewise.
65044         (frexp_test_data): Likewise.
65045         (ilogb_test_data): Likewise.
65046         (isfinite_test_data): Likewise.
65047         (isgreater_test_data): Likewise.
65048         (isgreaterequal_test_data): Likewise.
65049         (isinf_test_data): Likewise.
65050         (isless_test_data): Likewise.
65051         (islessequal_test_data): Likewise.
65052         (islessgreater_test_data): Likewise.
65053         (isnan_test_data): Likewise.
65054         (isnormal_test_data): Likewise.
65055         (issignaling_test_data): Likewise.
65056         (isunordered_test_data): Likewise.
65057         (ldexp_test_data): Likewise.
65058         (lrint_test_data): Likewise.
65059         (lrint_test_data) [TEST_FLOAT]: Disable one test.
65060         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
65061         (lrint_tonearest_test_data): Test for "inexact" exceptions.
65062         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65063         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
65064         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65065         test input.
65066         (lrint_towardzero_test_data): Test for "inexact" exceptions.
65067         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65068         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
65069         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
65070         that test input.
65071         (lrint_downward_test_data): Test for "inexact" exceptions.
65072         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65073         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
65074         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65075         test input.
65076         (lrint_upward_test_data): Test for "inexact" exceptions.
65077         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
65078         test input.
65079         (llrint_test_data): Test for "inexact" exceptions.
65080         (llrint_test_data) [TEST_FLOAT]: Disable one test.
65081         (llrint_tonearest_test_data): Test for "inexact" exceptions.
65082         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65083         (llrint_towardzero_test_data): Test for "inexact" exceptions.
65084         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65085         (llrint_downward_test_data): Test for "inexact" exceptions.
65086         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65087         (llrint_upward_test_data): Test for "inexact" exceptions.
65088         (logb_test_data): Likewise.
65089         (logb_downward_test_data): Likewise.
65090         (nextafter_test_data): Likewise.
65091         (nexttoward_test_data): Likewise.
65092         (remainder_test_data): Likewise.
65093         (remquo_test_data): Likewise.
65094         (scalbn_test_data): Likewise.
65095         (scalbln_test_data): Likewise.
65096         (signbit_test_data): Likewise.
65097         (sqrt_test_data): Likewise.
65098         (significand_test_data): Likewise.
65100 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65102         [BZ #15424]
65103         * benchtests/bench-modf.c (struct args): Mark arg0 as
65104         volatile.
65105         * scripts/bench.pl: Mark members of struct args as volatile.
65107 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65109         [BZ # 15497]
65110         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65111         negative infinity on POWER6 or lower.
65112         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65114 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
65116         [BZ #15442]
65117         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65118         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65119         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65120         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65121         (_FP_SETQNAN): New macro.
65122         (_FP_SETQNAN_SEMIRAW): Likewise.
65123         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65124         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65125         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65126         (FP_EXTEND): Use _FP_FRAC_SNANP.
65127         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65128         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65129         into account.
65130         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65131         New macro.
65132         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65133         Likewise.
65135 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65137         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65138         with DIVIDE_BY_ZERO_EXCEPTION.
65139         (gamma_test_data): Likewise.
65140         (lgamma_test_data): Likewise.
65141         (log_test_data): Likewise.
65142         (log10_test_data): Likewise.
65143         (log2_test_data): Likewise.
65144         (tgamma_test_data): Likewise.
65146         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65147         (acos_test_tonearest): Likewise.
65148         (acos_test_towardzero): Likewise.
65149         (acos_test_downward): Likewise.
65150         (acos_test_upward): Likewise.
65151         (acosh_test): Likewise.
65152         (asin_test): Likewise.
65153         (asin_test_tonearest): Likewise.
65154         (asin_test_towardzero): Likewise.
65155         (asin_test_downward): Likewise.
65156         (asin_test_upward): Likewise.
65157         (asinh_test): Likewise.
65158         (atan_test): Likewise.
65159         (atanh_test): Likewise.
65160         (atan2_test): Likewise.
65161         (cabs_test): Likewise.
65162         (cacos_test): Likewise.
65163         (cacosh_test): Likewise.
65164         (casin_test): Likewise.
65165         (casinh_test): Likewise.
65166         (catan_test): Likewise.
65167         (catanh_test): Likewise.
65168         (cbrt_test): Likewise.
65169         (ccos_test): Likewise.
65170         (ccosh_test): Likewise.
65171         (cexp_test): Likewise.
65172         (clog_test): Likewise.
65173         (clog10_test): Likewise.
65174         (cos_test): Likewise.
65175         (cos_test_tonearest): Likewise.
65176         (cos_test_towardzero): Likewise.
65177         (cos_test_downward): Likewise.
65178         (cos_test_upward): Likewise.
65179         (cosh_test): Likewise.
65180         (cosh_test_tonearest): Likewise.
65181         (cosh_test_towardzero): Likewise.
65182         (cosh_test_downward): Likewise.
65183         (cosh_test_upward): Likewise.
65184         (cpow_test): Likewise.
65185         (csin_test): Likewise.
65186         (csinh_test): Likewise.
65187         (csqrt_test): Likewise.
65188         (ctan_test): Likewise.
65189         (ctan_test_tonearest): Likewise.
65190         (ctan_test_towardzero): Likewise.
65191         (ctan_test_downward): Likewise.
65192         (ctan_test_upward): Likewise.
65193         (ctanh_test): Likewise.
65194         (ctanh_test_tonearest): Likewise.
65195         (ctanh_test_towardzero): Likewise.
65196         (ctanh_test_downward): Likewise.
65197         (ctanh_test_upward): Likewise.
65198         (erf_test): Likewise.
65199         (erfc_test): Likewise.
65200         (exp_test): Likewise.
65201         (exp_test_tonearest): Likewise.
65202         (exp_test_towardzero): Likewise.
65203         (exp_test_downward): Likewise.
65204         (exp_test_upward): Likewise.
65205         (exp10_test): Likewise.
65206         (exp2_test): Likewise.
65207         (expm1_test): Likewise.
65208         (fmod_test): Likewise.
65209         (gamma_test): Likewise.
65210         (hypot_test): Likewise.
65211         (j0_test): Likewise.
65212         (j1_test): Likewise.
65213         (jn_test): Likewise.
65214         (lgamma_test): Likewise.
65215         (log_test): Likewise.
65216         (log10_test): Likewise.
65217         (log1p_test): Likewise.
65218         (log2_test): Likewise.
65219         (logb_test_downward): Likewise.
65220         (pow_test): Likewise.
65221         (pow_test_tonearest): Likewise.
65222         (pow_test_towardzero): Likewise.
65223         (pow_test_downward): Likewise.
65224         (pow_test_upward): Likewise.
65225         (remainder_test): Likewise.
65226         (remquo_test): Likewise.
65227         (sin_test): Likewise.
65228         (sin_test_tonearest): Likewise.
65229         (sin_test_towardzero): Likewise.
65230         (sin_test_downward): Likewise.
65231         (sin_test_upward): Likewise.
65232         (sincos_test): Likewise.
65233         (sinh_test): Likewise.
65234         (sinh_test_tonearest): Likewise.
65235         (sinh_test_towardzero): Likewise.
65236         (sinh_test_downward): Likewise.
65237         (sinh_test_upward): Likewise.
65238         (sqrt_test): Likewise.
65239         (tan_test): Likewise.
65240         (tan_test_tonearest): Likewise.
65241         (tan_test_towardzero): Likewise.
65242         (tan_test_downward): Likewise.
65243         (tan_test_upward): Likewise.
65244         (tanh_test): Likewise.
65245         (tgamma_test): Likewise.
65246         (y0_test): Likewise.
65247         (y1_test): Likewise.
65248         (yn_test): Likewise.
65250         * math/gen-libm-test.pl (adjust_arg): Remove function.
65251         (special_function): Remove argument $in_func.  Only handle
65252         generating output for tables of tests, not inside functions.
65253         (parse_args): Likewise.
65254         (generate_testfile): Remove variable $in_func.  Update call to
65255         parse_args.
65256         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
65257         (MINUS_ZERO_INIT): Rename macro to minus_zero.
65258         (PLUS_INFTY_INIT): Rename macro to plus_infty.
65259         (MINUS_INFTY_INIT): Rename macro to minus_infty.
65260         (QNAN_VALUE_INIT): Rename macro to qnan_value.
65261         (MAX_VALUE_INIT): Rename macro to max_value.
65262         (MIN_VALUE_INIT): Rename macro to min_value.
65263         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
65264         (plus_zero): Remove variable.
65265         (minus_zero): Likewise.
65266         (plus_infty): Likewise.
65267         (minus_infty): Likewise.
65268         (qnan_value): Likewise.
65269         (max_value): Likewise.
65270         (min_value): Likewise.
65271         (min_subnorm_value): Likewise.
65273 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65275         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
65276         uint64_t or uint32_t usage.
65277         * crypt/sha256-block.c: Likewise.
65278         * crypt/sha256-crypt.c: Likewise.
65279         * crypt/sha256.c: Likewise.
65280         * crypt/sha512-block.c: Likewise.
65281         * crypt/sha512-crypt.c: Likewise.
65282         * crypt/sha512.c: Likewise.
65283         * debug/backtrace-tst.c: Likewise.
65284         * debug/pcprofiledump.c: Likewise.
65285         * elf/cache.c: Likewise.
65286         * elf/dl-cache.c: Likewise.
65287         * elf/dl-misc.c: Likewise.
65288         * elf/dl-profile.c: Likewise.
65289         * elf/dl-support.c: Likewise.
65290         * elf/ldconfig.c: Likewise.
65291         * elf/sprof.c: Likewise.
65292         * iconv/dummy-repertoire.c: Likewise.
65293         * iconv/iconv_charmap.c: Likewise.
65294         * iconv/skeleton.c: Likewise.
65295         * iconvdata/8bit-generic.c: Likewise.
65296         * iconvdata/cp737.h: Likewise.
65297         * iconvdata/cp775.h: Likewise.
65298         * iconvdata/ibm1008.h: Likewise.
65299         * iconvdata/ibm1025.h: Likewise.
65300         * iconvdata/ibm1046.h: Likewise.
65301         * iconvdata/ibm1097.h: Likewise.
65302         * iconvdata/ibm1112.h: Likewise.
65303         * iconvdata/ibm1122.h: Likewise.
65304         * iconvdata/ibm1123.h: Likewise.
65305         * iconvdata/ibm1124.h: Likewise.
65306         * iconvdata/ibm1129.h: Likewise.
65307         * iconvdata/ibm1130.h: Likewise.
65308         * iconvdata/ibm1132.h: Likewise.
65309         * iconvdata/ibm1133.h: Likewise.
65310         * iconvdata/ibm1137.h: Likewise.
65311         * iconvdata/ibm1140.h: Likewise.
65312         * iconvdata/ibm1141.h: Likewise.
65313         * iconvdata/ibm1142.h: Likewise.
65314         * iconvdata/ibm1143.h: Likewise.
65315         * iconvdata/ibm1144.h: Likewise.
65316         * iconvdata/ibm1145.h: Likewise.
65317         * iconvdata/ibm1146.h: Likewise.
65318         * iconvdata/ibm1147.h: Likewise.
65319         * iconvdata/ibm1148.h: Likewise.
65320         * iconvdata/ibm1149.h: Likewise.
65321         * iconvdata/ibm1153.h: Likewise.
65322         * iconvdata/ibm1154.h: Likewise.
65323         * iconvdata/ibm1155.h: Likewise.
65324         * iconvdata/ibm1156.h: Likewise.
65325         * iconvdata/ibm1157.h: Likewise.
65326         * iconvdata/ibm1158.h: Likewise.
65327         * iconvdata/ibm1160.h: Likewise.
65328         * iconvdata/ibm1161.h: Likewise.
65329         * iconvdata/ibm1162.h: Likewise.
65330         * iconvdata/ibm1163.h: Likewise.
65331         * iconvdata/ibm1164.h: Likewise.
65332         * iconvdata/ibm1166.h: Likewise.
65333         * iconvdata/ibm1167.h: Likewise.
65334         * iconvdata/ibm12712.h: Likewise.
65335         * iconvdata/ibm1390.h: Likewise.
65336         * iconvdata/ibm1399.h: Likewise.
65337         * iconvdata/ibm16804.h: Likewise.
65338         * iconvdata/ibm4517.h: Likewise.
65339         * iconvdata/ibm4899.h: Likewise.
65340         * iconvdata/ibm4909.h: Likewise.
65341         * iconvdata/ibm4971.h: Likewise.
65342         * iconvdata/ibm5347.h: Likewise.
65343         * iconvdata/ibm803.h: Likewise.
65344         * iconvdata/ibm856.h: Likewise.
65345         * iconvdata/ibm901.h: Likewise.
65346         * iconvdata/ibm902.h: Likewise.
65347         * iconvdata/ibm9030.h: Likewise.
65348         * iconvdata/ibm9066.h: Likewise.
65349         * iconvdata/ibm921.h: Likewise.
65350         * iconvdata/ibm922.h: Likewise.
65351         * iconvdata/ibm9448.h: Likewise.
65352         * iconvdata/isiri-3342.h: Likewise.
65353         * iconvdata/jis0201.h: Likewise.
65354         * include/link.h: Likewise.
65355         * include/netdb.h: Likewise.
65356         * inet/check_native.c: Likewise.
65357         * inet/check_pf.c: Likewise.
65358         * inet/getipv4sourcefilter.c: Likewise.
65359         * inet/getnameinfo.c: Likewise.
65360         * inet/getsourcefilter.c: Likewise.
65361         * inet/htonl.c: Likewise.
65362         * inet/setipv4sourcefilter.c: Likewise.
65363         * inet/setsourcefilter.c: Likewise.
65364         * inet/test-inet6_opt.c: Likewise.
65365         * inet/tst-network.c: Likewise.
65366         * locale/C-collate.c: Likewise.
65367         * locale/C-ctype.c: Likewise.
65368         * locale/C-time.c: Likewise.
65369         * locale/C-translit.h: Likewise.
65370         * locale/loadarchive.c: Likewise.
65371         * locale/programs/3level.h: Likewise.
65372         * locale/programs/charmap.c: Likewise.
65373         * locale/programs/charmap.h: Likewise.
65374         * locale/programs/ld-address.c: Likewise.
65375         * locale/programs/ld-collate.c: Likewise.
65376         * locale/programs/ld-ctype.c: Likewise.
65377         * locale/programs/ld-identification.c: Likewise.
65378         * locale/programs/ld-measurement.c: Likewise.
65379         * locale/programs/ld-messages.c: Likewise.
65380         * locale/programs/ld-monetary.c: Likewise.
65381         * locale/programs/ld-name.c: Likewise.
65382         * locale/programs/ld-numeric.c: Likewise.
65383         * locale/programs/ld-paper.c: Likewise.
65384         * locale/programs/ld-telephone.c: Likewise.
65385         * locale/programs/ld-time.c: Likewise.
65386         * locale/programs/linereader.c: Likewise.
65387         * locale/programs/locale.c: Likewise.
65388         * locale/programs/locarchive.c: Likewise.
65389         * locale/programs/locfile.h: Likewise.
65390         * locale/programs/repertoire.c: Likewise.
65391         * locale/programs/simple-hash.c: Likewise.
65392         * locale/programs/simple-hash.h: Likewise.
65393         * malloc/memusage.c: Likewise.
65394         * malloc/memusagestat.c: Likewise.
65395         * nis/nis_defaults.c: Likewise.
65396         * nis/nis_hash.c: Likewise.
65397         * nis/nis_print.c: Likewise.
65398         * nis/nis_xdr.c: Likewise.
65399         * nscd/connections.c: Likewise.
65400         * nscd/hstcache.c: Likewise.
65401         * nscd/nscd_gethst_r.c: Likewise.
65402         * nscd/nscd_getserv_r.c: Likewise.
65403         * nscd/nscd_helper.c: Likewise.
65404         * nscd/servicescache.c: Likewise.
65405         * nss/makedb.c: Likewise.
65406         * nss/nss_db/db-XXX.c: Likewise.
65407         * nss/nss_db/db-initgroups.c: Likewise.
65408         * nss/nss_db/db-netgrp.c: Likewise.
65409         * nss/nss_files/files-network.c: Likewise.
65410         * nss/nss_files/files-parse.c: Likewise.
65411         * posix/bug-regex5.c: Likewise.
65412         * posix/fnmatch_loop.c: Likewise.
65413         * posix/regcomp.c: Likewise.
65414         * posix/regexec.c: Likewise.
65415         * posix/tst-rfc3484-2.c: Likewise.
65416         * posix/tst-rfc3484-3.c: Likewise.
65417         * posix/tst-rfc3484.c: Likewise.
65418         * resolv/nss_dns/dns-canon.c: Likewise.
65419         * resolv/nss_dns/dns-network.c: Likewise.
65420         * resolv/res_init.c: Likewise.
65421         * resolv/res_mkquery.c: Likewise.
65422         * resolv/tst-aton.c: Likewise.
65423         * stdlib/cxa_atexit.c: Likewise.
65424         * stdlib/cxa_finalize.c: Likewise.
65425         * stdlib/gen-fpioconst.c: Likewise.
65426         * stdlib/strtol_l.c: Likewise.
65427         * string/tst-endian.c: Likewise.
65428         * sunrpc/auth_des.c: Likewise.
65429         * sunrpc/clnt_udp.c: Likewise.
65430         * sunrpc/rtime.c: Likewise.
65431         * sunrpc/svcauth_des.c: Likewise.
65432         * sunrpc/xdr.c: Likewise.
65433         * sunrpc/xdr_intXX_t.c: Likewise.
65434         * sunrpc/xdr_rec.c: Likewise.
65435         * sysdeps/generic/ldconfig.h: Likewise.
65436         * sysdeps/generic/ldsodefs.h: Likewise.
65437         * sysdeps/generic/memusage.h: Likewise.
65438         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65439         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65440         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65441         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65442         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65443         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65444         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65445         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65446         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65447         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65448         * sysdeps/posix/getaddrinfo.c: Likewise.
65449         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65450         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65451         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65452         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65453         * sysdeps/powerpc/test-gettimebase.c: Likewise.
65454         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65455         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65456         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65457         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65458         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65459         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65460         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65461         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65462         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65463         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65464         * sysdeps/x86_64/dl-tls.h: Likewise.
65465         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65466         * time/alt_digit.c: Likewise.
65467         * time/era.c: Likewise.
65468         * wcsmbs/tst-c16c32-1.c: Likewise.
65470 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65472         * math/libm-test.inc (struct test_sincos_data): New type.
65473         (RUN_TEST_LOOP_sincos): New macro.
65474         (sincos_test_data): New variable.
65475         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65477 2013-05-16  Richard Henderson  <rth@redhat.com>
65479         * math/atest-exp2.c (LIMB64): New macro.
65480         (CONSTSZ): New macro.
65481         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65482         (hexdig): Move ...
65483         (print_mpn_fp): ... to function scope.
65484         (read_mpn_hex): Remove.
65485         (get_log2): Remove.
65486         (exp2_mpn): Use mp_log2.
65487         (main): Use mp_exp1.
65489 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65491         * math/libm-test.inc: Remove comment about not testing "inexact"
65492         exceptions.
65493         (INEXACT_EXCEPTION): New macro.
65494         (NO_INEXACT_EXCEPTION): Likewise.
65495         (INVALID_EXCEPTION_OK): Update value.
65496         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65497         (OVERFLOW_EXCEPTION_OK): Likewise.
65498         (UNDERFLOW_EXCEPTION_OK): Likewise.
65499         (IGNORE_ZERO_INF_SIGN): Likewise.
65500         (ERRNO_UNCHANGED): Likewise.
65501         (ERRNO_EDOM): Likewise.
65502         (ERRNO_ERANGE): Likewise.
65503         (test_exceptions): Handle testing "inexact" exceptions.
65504         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65505         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65506         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65507         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65508         INEXACT_EXCEPTION.
65509         (rint_towardzero_test_data): Likewise.
65510         (rint_downward_test_data): Likewise.
65511         (rint_upward_test_data): Likewise.
65513         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65514         with OVERFLOW_EXCEPTION.
65515         (exp10_test_data): Likewise.
65516         (exp2_test_data): Likewise.
65517         (expm1_test_data): Likewise.
65518         (lgamma_test_data): Likewise.
65519         (pow_test_data): Likewise.
65520         (tgamma_test_data): Likewise.
65521         (yn_test_data): Remove duplicate test of overflow.
65523         * math/libm-test.inc (struct test_cc_c_data): New type.
65524         (RUN_TEST_LOOP_cc_c): New macro.
65525         (cpow_test_data): New variable.
65526         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65528         * math/libm-test.inc (struct test_f_L_data): New type.
65529         (RUN_TEST_LOOP_f_L): New macro.
65530         (llrint_test_data): New variable.
65531         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65532         (llrint_tonearest_test_data): New variable.
65533         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65534         (llrint_towardzero_test_data): New variable.
65535         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65536         (llrint_downward_test_data): New variable.
65537         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65538         (llrint_upward_test_data): New variable.
65539         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65540         (llround_test_data): New variable.
65541         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65543 2013-05-13  Peter Collingbourne  <pcc@google.com>
65545         * math/atest-exp2.c (get_log2): Remove const attribute.
65547 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65549         * math/libm-test.inc (struct test_f_l_data): New type.
65550         (RUN_TEST_LOOP_f_l): New macro.
65551         (lrint_test_data): New variable.
65552         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65553         (lrint_tonearest_test_data): New variable.
65554         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65555         (lrint_towardzero_test_data): New variable.
65556         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65557         (lrint_downward_test_data): New variable.
65558         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65559         (lrint_upward_test_data): New variable.
65560         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65561         (lround_test_data): New variable.
65562         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65564 2013-05-15  Peter Collingbourne  <pcc@google.com>
65566         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65567         (EXTRACT_WORDS64) Use where appropriate.
65568         (INSERT_WORDS64) Likewise.
65570         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65571         constraints with x constraints.
65572         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65574         * malloc/obstack.c (_obstack_compat): Add initializer.
65576 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65578         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65579         si_trapno and add si_addr_lsb to _sifields.sigfault.
65580         (si_trapno): Remove macro.
65581         (si_addr_lsb): Define new macro.
65582         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65584 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65586         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65587         instead of TEST_f_l.
65588         (llrint_test_tonearest): Likewise.
65589         (llrint_test_towardzero): Likewise.
65590         (llrint_test_downward): Likewise.
65591         (llrint_test_upward): Likewise.
65592         (llround_test): Likewise.
65594         * math/libm-test.inc (struct test_f_i_data): Add comment.
65595         (RUN_TEST_LOOP_f_b): New macro.
65596         (RUN_TEST_LOOP_f_b_tg): Likewise.
65597         (finite_test_data): New variable.
65598         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65599         (isfinite_test_data): New variable.
65600         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65601         (isinf_test_data): New variable.
65602         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65603         (isnan_test_data): New variable.
65604         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65605         (isnormal_test_data): New variable.
65606         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65607         (issignaling_test_data): New variable.
65608         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65609         (signbit_test_data): New variable.
65610         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65612         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65613         with INVALID_EXCEPTION.
65614         (acosh_test_data): Likewise.
65615         (asin_test_data): Likewise.
65616         (atanh_test_data): Likewise.
65617         (fmod_test_data): Likewise.
65618         (log_test_data): Likewise.
65619         (log10_test_data): Likewise.
65620         (log2_test_data): Likewise.
65621         (pow_test_data): Likewise.
65622         (sqrt_test_data): Likewise.
65623         (y0_test_data): Likewise.
65624         (y1_test_data): Likewise.
65625         (yn_test_data): Likewise.
65627         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65628         function contents.
65630         * math/libm-test.inc (struct test_ff_i_data): New type.
65631         (RUN_TEST_LOOP_ff_i_tg): New macro.
65632         (isgreater_test_data): New variable.
65633         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65634         (isgreaterequal_test_data): New variable.
65635         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65636         (isless_test_data): New variable.
65637         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65638         (islessequal_test_data): New variable.
65639         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65640         (islessgreater_test_data): New variable.
65641         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65642         (isunordered_test_data): New variable.
65643         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65645 2013-05-14  David S. Miller  <davem@davemloft.net>
65647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65649 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
65651         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65653         * math/libm-test.inc (struct test_fF_f1_data): Change type of
65654         extra_test to int.
65655         (struct test_f_i_data): Change type of max_ulp to int.
65657         * math/libm-test.inc (test_ffI_f1_data): New type.
65658         (RUN_TEST_LOOP_ffI_f1): New macro.
65659         (remquo_test_data): New variable.
65660         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65662         * setjmp/tst-setjmp-fp.c: New file.
65663         * setjmp/Makefile (tests): Add tst-setjmp-fp.
65664         (link-libm): New variable.
65665         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65667         * math/libm-test.inc (struct test_f_i_data): New type.
65668         (RUN_TEST_LOOP_f_i): New macro.
65669         (RUN_TEST_LOOP_f_i_tg): Likewise.
65670         (fpclassify_test_data): New variable.
65671         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65672         (ilogb_test_data): New variable.
65673         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65675         * math/libm-test.inc (scalbln_test): Correct function name in END
65676         call.
65678         * math/libm-test.inc (struct test_f_f1_data): Add comment.
65679         (RUN_TEST_LOOP_fI_f1): New macro.
65680         (frexp_test_data): New variable.
65681         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65683         * math/libm-test.inc (struct test_fF_f1_data): New type.
65684         (RUN_TEST_LOOP_fF_f1): New macro.
65685         (modf_test_data): New variable.
65686         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65688         * math/libm-test.inc (struct test_f_f1_data): New type.
65689         (RUN_TEST_LOOP_f_f1): New macro.
65690         (gamma_test_data): New variable.
65691         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65692         (lgamma_test_data): New variable.
65693         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65695 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
65697         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65698         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65699         (main): Comment "tls" pseudo-hwcap.
65701 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
65703         * math/libm-test.inc (struct test_fl_f_data): New type.
65704         (RUN_TEST_LOOP_fl_f): New variable.
65705         (scalbln_test_data): New variable.
65706         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65708         * math/libm-test.inc (struct test_fi_f_data): New type.
65709         (RUN_TEST_LOOP_fi_f): New macro.
65710         (ldexp_test_data): New variable.
65711         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65712         (scalbn_test_data): New variable.
65713         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65715         * math/libm-test.inc (struct test_c_f_data): New type.
65716         (RUN_TEST_LOOP_c_f): New macro.
65717         (cabs_test_data): New variable.
65718         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65719         (carg_test_data): New variable.
65720         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65721         (cimag_test_data): New variable.
65722         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65723         (creal_test_data): New variable.
65724         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65726         * math/libm-test.inc (struct test_if_f_data): New type.
65727         (RUN_TEST_LOOP_if_f): New macro.
65728         (jn_test_data): New variable.
65729         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65730         (yn_test_data): New variable.
65731         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65733         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65735 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65737         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65738         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65740 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65742         * benchtests/Makefile (CPPFLAGS-nonlib): Add
65743         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65744         (bench-deps): Add bench-timing.h.
65745         * benchtests-bench-skeleton.c: Include bench-timing.h.
65746         (main): Use TIMING_* macros instead of clock_gettime.
65747         * benchtests/bench-timing.h: New file.
65749         [BZ #14582]
65750         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65751         Renamed from _LIB_VERSION.
65752         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65754 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
65756         * math/libm-test.inc (struct test_fff_f_data): New type.
65757         (RUN_TEST_LOOP_fff_f): New macro.
65758         (fma_test_data): New variable.
65759         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65760         (fma_towardzero_test_data): New variable.
65761         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65762         (fma_downward_test_data): New variable.
65763         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65764         (fma_upward_test_data): New variable.
65765         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65767         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65768         (struct test_c_c_data): New type.
65769         (RUN_TEST_LOOP_c_c): New macro.
65770         (cacos_test_data): New variable.
65771         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65772         (cacosh_test_data): New variable.
65773         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65774         (casin_test_data): New variable.
65775         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65776         (casinh_test_data): New variable.
65777         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65778         (catan_test_data): New variable.
65779         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65780         (catanh_test_data): New variable.
65781         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65782         (ccos_test_data): New variable.
65783         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65784         (ccosh_test_data): New variable.
65785         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65786         (cexp_test_data): New variable.
65787         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65788         (clog_test_data): New variable.
65789         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65790         (clog10_test_data): New variable.
65791         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
65792         (conj_test_data): New variable.
65793         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
65794         (cproj_test_data): New variable.
65795         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
65796         (csin_test_data): New variable.
65797         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
65798         (csinh_test_data): New variable.
65799         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
65800         (csqrt_test_data): New variable.
65801         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
65802         (ctan_test_data): New variable.
65803         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
65804         (ctan_tonearest_test_data): New variable.
65805         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65806         (ctan_towardzero_test_data): New variable.
65807         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65808         (ctan_downward_test_data): New variable.
65809         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65810         (ctan_upward_test_data): New variable.
65811         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65812         (ctanh_test_data): New variable.
65813         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
65814         (ctanh_tonearest_test_data): New variable.
65815         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65816         (ctanh_towardzero_test_data): New variable.
65817         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65818         (ctanh_downward_test_data): New variable.
65819         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65820         (ctanh_upward_test_data): New variable.
65821         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65822         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
65823         of BUILD_COMPLEX.
65825         * math/libm-test.inc (struct test_ff_f_data): New type.
65826         (struct test_ff_f_data_nexttoward): Likewise.
65827         (RUN_TEST_LOOP_2_f): New macro.
65828         (RUN_TEST_LOOP_ff_f): Likewise.
65829         (atan2_test_data): New variable.
65830         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
65831         (copysign_test_data): New variable.
65832         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
65833         (fdim_test_data): New variable.
65834         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
65835         (fmax_test_data): New variable.
65836         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
65837         (fmin_test_data): New variable.
65838         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
65839         (fmod_test_data): New variable.
65840         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
65841         (hypot_test_data): New variable.
65842         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
65843         (nextafter_test_data): New variable.
65844         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
65845         (nexttoward_test_data): New variable.
65846         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
65847         (pow_test_data): New variable.
65848         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
65849         (pow_tonearest_test_data): New variable.
65850         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
65851         (pow_towardzero_test_data): New variable.
65852         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
65853         (pow_downward_test_data): New variable.
65854         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
65855         (pow_upward_test_data): New variable.
65856         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
65857         (remainder_test_data): New variable.
65858         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
65859         (scalb_test_data): New variable.
65860         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
65861         * sysdeps/i386/fpu/libm-test-ulps: Update.
65863 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
65865         * math/libm-test.inc (fma_test): Use max_value instead of local
65866         variable fltmax.
65867         (nextafter_test): Likewise.
65869         * math/libm-test.inc (acos_towardzero_test_data): New variable.
65870         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65871         (acos_downward_test_data): New variable.
65872         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65873         (acos_upward_test_data): New variable.
65874         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65875         (acosh_test_data): New variable.
65876         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
65877         (asin_test_data): New variable.
65878         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
65879         (asin_tonearest_test_data): New variable.
65880         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65881         (asin_towardzero_test_data): New variable.
65882         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65883         (asin_downward_test_data): New variable.
65884         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65885         (asin_upward_test_data): New variable.
65886         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65887         (asinh_test_data): New variable.
65888         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
65889         (atan_test_data): New variable.
65890         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
65891         (atanh_test_data): New variable.
65892         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
65893         (cbrt_test_data): New variable.
65894         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
65895         (ceil_test_data): New variable.
65896         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
65897         (cos_test_data): New variable.
65898         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
65899         (cos_tonearest_test_data): New variable.
65900         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65901         (cos_towardzero_test_data): New variable.
65902         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65903         (cos_downward_test_data): New variable.
65904         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65905         (cos_upward_test_data): New variable.
65906         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65907         (cosh_test_data): New variable.
65908         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
65909         (cosh_tonearest_test_data): New variable.
65910         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65911         (cosh_towardzero_test_data): New variable.
65912         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65913         (cosh_downward_test_data): New variable.
65914         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65915         (cosh_upward_test_data): New variable.
65916         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65917         (erf_test_data): New variable.
65918         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
65919         (erfc_test_data): New variable.
65920         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
65921         (exp_test_data): New variable.
65922         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
65923         (exp_tonearest_test_data): New variable.
65924         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65925         (exp_towardzero_test_data): New variable.
65926         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65927         (exp_downward_test_data): New variable.
65928         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65929         (exp_upward_test_data): New variable.
65930         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65931         (exp10_test_data): New variable.
65932         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
65933         (exp2_test_data): New variable.
65934         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
65935         (expm1_test_data): New variable.
65936         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
65937         (fabs_test_data): New variable.
65938         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
65939         (floor_test_data): New variable.
65940         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
65941         (j0_test_data): New variable.
65942         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
65943         (j1_test_data): New variable.
65944         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
65945         (log_test_data): New variable.
65946         (log_test): Run tests with RUN_TEST_LOOP_f_f.
65947         (log10_test_data): New variable.
65948         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
65949         (log1p_test_data): New variable.
65950         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
65951         (log2_test_data): New variable.
65952         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
65953         (logb_test_data): New variable.
65954         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
65955         (logb_downward_test_data): New variable.
65956         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65957         (nearbyint_test_data): New variable.
65958         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
65959         (rint_test_data): New variable.
65960         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
65961         (rint_tonearest_test_data): New variable.
65962         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65963         (rint_towardzero_test_data): New variable.
65964         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65965         (rint_downward_test_data): New variable.
65966         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65967         (rint_upward_test_data): New variable.
65968         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65969         (round_test_data): New variable.
65970         (round_test): Run tests with RUN_TEST_LOOP_f_f.
65971         (sin_test_data): New variable.
65972         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
65973         (sin_tonearest_test_data): New variable.
65974         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65975         (sin_towardzero_test_data): New variable.
65976         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65977         (sin_downward_test_data): New variable.
65978         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65979         (sin_upward_test_data): New variable.
65980         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65981         (sinh_test_data): New variable.
65982         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
65983         (sinh_tonearest_test_data): New variable.
65984         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65985         (sinh_towardzero_test_data): New variable.
65986         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65987         (sinh_downward_test_data): New variable.
65988         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65989         (sinh_upward_test_data): New variable.
65990         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65991         (sqrt_test_data): New variable.
65992         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
65993         (tan_test_data): New variable.
65994         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
65995         (tan_tonearest_test_data): New variable.
65996         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65997         (tan_towardzero_test_data): New variable.
65998         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65999         (tan_downward_test_data): New variable.
66000         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66001         (tan_upward_test_data): New variable.
66002         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66003         (tanh_test_data): New variable.
66004         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
66005         (tgamma_test_data): New variable.
66006         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
66007         (trunc_test_data): New variable.
66008         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
66009         (y0_test_data): New variable.
66010         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
66011         (y1_test_data): New variable.
66012         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
66013         (significand_test_data): New variable.
66014         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
66016 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
66018         [BZ #12387]
66019         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
66021 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66023         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
66025 2013-05-10  Andreas Jaeger  <aj@suse.de>
66027         [BZ #15448]
66028         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
66029         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
66031 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66033         * math/gen-libm-test.pl (adjust_arg): New function.
66034         (special_functions): Handle generating output in both functions
66035         and arrays.
66036         (parse_args): Likewise.
66037         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
66038         $in_func argument to parse_args.
66039         * math/libm-test.inc (struct test_f_f_data): New type.
66040         (IF_ROUND_INIT_): New macro.
66041         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
66042         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
66043         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
66044         (IF_ROUND_INIT_FE_UPWARD): Likewise.
66045         (ROUND_RESTORE_): Likewise.
66046         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
66047         (ROUND_RESTORE_FE_TONEAREST): Likewise.
66048         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
66049         (ROUND_RESTORE_FE_UPWARD): Likewise.
66050         (RUN_TEST_LOOP_f_f): New macro.
66051         (acos_test_data): New variable.
66052         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
66053         (acos_tonearest_test_data): New variable.
66054         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66056 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66058         * benchtests/bench-skeleton.c (startup): Fix coding style.
66060 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66062         [BZ #6809]
66063         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
66064         negative infinity argument.
66065         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
66066         negative infinity argument.
66067         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
66068         negative infinity argument.
66069         * math/libm-test.inc (tgamma_test): Expect errno to be set for
66070         domain errors.
66072 2013-05-10  Florian Weimer  <fweimer@redhat.com>
66074         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
66075         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
66076         * iconv/iconv_prog.c (main): Likewise.
66077         * locale/programs/charmap-dir.c (charmap_readdir)
66078         (fopen_uncompressed): Likewise.
66079         * locale/programs/locfile.c (siblings_uncached)
66080         (write_locale_data): Use lstat64 instead of lstat.
66081         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66082         stat.
66084 2013-05-10  Andreas Jaeger  <aj@suse.de>
66086         [BZ #15395]
66087         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66088         localization.
66089         Include <locale.h>.
66091 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
66093         * elf/dl-close.c (_dl_close_worker): Add comments.
66095 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
66097         [BZ #15359]
66098         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66099         high part of pi/2.
66100         (__ieee754_rem_pio2l): Update comments.
66102         [BZ #15429]
66103         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66104         high part of pi/2.
66105         (__ieee754_rem_pio2l): Update comments.
66107         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66108         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66110         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66111         M_PI_4l.
66113         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66114         (M_PI_34_LOG10El): Likewise.
66115         (M_PI2_LOG10El): Likewise.
66116         (M_PI4_LOG10El): Likewise.
66117         (M_PI_LOG10El): Likewise.
66119 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66123 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
66125         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66126         (MINUS_ZERO_INIT): Likewise.
66127         (PLUS_INFTY_INIT): Likewise.
66128         (MINUS_INFTY_INIT): Likewise.
66129         (QNAN_VALUE_INIT): Likewise.
66130         (MAX_VALUE_INIT): Likewise.
66131         (MIN_VALUE_INIT): Likewise.
66132         (MIN_SUBNORM_VALUE_INIT): Likewise.
66133         (plus_zero): Initialize with PLUS_ZERO_INIT.
66134         (minus_zero): Initialize with MINUS_ZERO_INIT.
66135         (plus_infty): Initialize with PLUS_INFTY_INIT.
66136         (minus_infty): Initialize with MINUS_INFTY_INIT.
66137         (qnan_value): Initialize with QNAN_VALUE_INIT.
66138         (max_value): Initialize with MAX_VALUE_INIT.
66139         (min_value): Initialize with MIN_VALUE_INIT.
66140         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66142         * math/libm-test.inc (RUN_TEST_if_f): New macro.
66143         (jn_test): Use TEST_if_f instead of TEST_ff_f.
66144         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66145         (yn_test): Use TEST_if_f instead of TEST_ff_f.
66147         * math/libm-test.inc (RUN_TEST_f_f): New macro.
66148         (RUN_TEST_2_f): Likewise.
66149         (RUN_TEST_ff_f): Likewise.
66150         (RUN_TEST_fi_f): Likewise.
66151         (RUN_TEST_fl_f): Likewise.
66152         (RUN_TEST_fff_f): Likewise.
66153         (RUN_TEST_c_f): Likewise.
66154         (RUN_TEST_f_f1): Likewise.
66155         (RUN_TEST_fF_f1): Likewise.
66156         (RUN_TEST_fI_f1): Likewise.
66157         (RUN_TEST_ffI_f1): Likewise.
66158         (RUN_TEST_c_c): Likewise.
66159         (RUN_TEST_cc_c): Likewise.
66160         (RUN_TEST_f_i): Likewise.
66161         (RUN_TEST_f_i_tg): Likewise.
66162         (RUN_TEST_ff_i_tg): Likewise.
66163         (RUN_TEST_f_b): Likewise.
66164         (RUN_TEST_f_b_tg): Likewise.
66165         (RUN_TEST_f_l): Likewise.
66166         (RUN_TEST_f_L): Likewise.
66167         (RUN_TEST_sincos): Likewise.
66168         * math/gen-libm-test.pl (new_test): Take new argument to indicate
66169         whether to show exceptions.  Do not include ");\n" in return
66170         value.
66171         (special_functions): Output call to RUN_TEST_sincos instead of
66172         check_float calls.  Update calls to new_test.
66173         (parse_args): Output call to single RUN_TEST_* macro instead of
66174         check_* calls and other assignments.  Update calls to new_test.
66176         [BZ #2546]
66177         [BZ #2560]
66178         [BZ #5159]
66179         [BZ #15426]
66180         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
66181         input to result for tgamma overflow.
66182         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
66183         (gamma_coeff): New variable.
66184         (NCOEFF): New macro.
66185         (gamma_positive): New function.
66186         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
66187         underflow here.  Use gamma_positive instead of exp (lgamma) for
66188         other arguments.
66189         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
66190         (gamma_coeff): New variable.
66191         (NCOEFF): New macro.
66192         (gammaf_positive): New function.
66193         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
66194         underflow here.  Use gamma_positive instead of exp (lgamma) for
66195         other arguments.
66196         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
66197         (gamma_coeff): New variable.
66198         (NCOEFF): New macro.
66199         (gammal_positive): New function.
66200         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
66201         underflow here.  Use gamma_positive instead of exp (lgamma) for
66202         other arguments.
66203         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
66204         (gamma_coeff): New variable.
66205         (NCOEFF): New macro.
66206         (gammal_positive): New function.
66207         (__ieee754_gammal_r): Handle positive infinity, overflow and
66208         underflow here.  Handle NaN the same as positive infinity.  Remove
66209         check x < 0xffffffff for negative integers.  Use gamma_positive
66210         instead of exp (lgamma) for other arguments.
66211         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
66212         (gamma_coeff): New variable.
66213         (NCOEFF): New macro.
66214         (gammal_positive): New function.
66215         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
66216         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
66217         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
66218         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
66219         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
66220         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
66221         * sysdeps/generic/math_private.h (__gamma_productf): New
66222         prototype.
66223         (__gamma_product): Likewise.
66224         (__gamma_productl): Likewise.
66225         * math/Makefile (libm-calls): Add gamma_product.
66226         * math/libm-test.inc (tgamma_test): Add more tests.
66227         * sysdeps/i386/fpu/libm-test-ulps: Update.
66228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66230 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
66232         * benchtests/bench-skeleton.c (main): Preheat CPU.
66234 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
66236         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
66238 2013-05-07  Roland McGrath  <roland@hack.frob.com>
66240         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
66241         and _dl_skip_args_internal.
66243 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
66245         * manual/message.texi (Message Translation): Talk about users.
66246         Message to key mapping impacts design.
66248 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66250         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
66252         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
66254         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
66255         * sysdeps/wordsize-64/glob64.c: ... here.
66257         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
66258         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
66259         New macros.
66261         * debug/getlogin_r_chk.c: Moved to ...
66262         * login/getlogin_r_chk.c: ... here.
66263         * debug/Makefile (routines): Move getlogin_r_chk to ...
66264         * login/Makefile (routines): ... here.
66265         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
66266         * login/Versions (libc: GLIBC_2.4): ... here.
66268         * io/poll.c (__poll): Renamed from poll.
66269         Add libc_hidden_def.
66270         (poll): Define as weak alias.
66272         * debug/ptsname_r_chk.c: Moved to ...
66273         * login/ptsname_r_chk.c: ... here.
66274         * debug/Makefile (routines): Move ptsname_r_chk to ...
66275         * login/Makefile (routines): ... here.
66276         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
66277         * login/Versions (libc: GLIBC_2.4): ... here.
66279         * posix/getlogin.c: Moved to ...
66280         * login/getlogin.c: ... here.
66281         * posix/getlogin_r.c: Moved to ...
66282         * login/getlogin_r.c: ... here.
66283         * posix/getlogin_r.c: Moved to ...
66284         * login/getlogin_r.c: ... here.
66285         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
66286         * login/Makefile (routines): ... here.
66287         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
66288         * login/Versions (libc: GLIBC_2.0): ... here.
66290         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
66291         (setrlimit): Define as weak alias.
66293         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
66294         Call __ names for open, ftruncate, and close.
66295         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
66296         (truncate): Define as weak alias.
66298 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
66300         * math/gen-libm-test.pl (parse_args): Initialize x before each
66301         test of frexp, modf and remquo.
66303         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
66304         test signgam value.
66306 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66308         [BZ #15418]
66309         [BZ #15419]
66310         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
66311         internal tests.
66312         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66314 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66316         * elf/dl-writev.h: New file.
66317         * elf/dl-misc.c: Include it.
66318         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
66319         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
66321 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
66323         * math/libm-test.inc (noXFails): Remove variable.
66324         (noXPasses): Likewise.
66325         (BUILD_COMPLEX_INT): Remove macro.
66326         (print_screen): Remove xfail argument.
66327         (print_screen_max_error): Likewise.
66328         (update_stats): Likewise.
66329         (print_max_error): Likewise.  Update calls to other affected
66330         functions.
66331         (print_complex_max_error): Likewise.
66332         (test_single_exception): Update calls to print_screen.
66333         (test_single_errno): Likewise.
66334         (check_float_internal): Remove xfail argument.  Update calls to
66335         other affected functions.
66336         (check_float): Likewise.
66337         (check_complex): Likewise.
66338         (check_int): Likewise.
66339         (check_long): Likewise.
66340         (check_bool): Likewise.
66341         (check_longlong): Likewise.
66342         (main): Don't print noXFails and noXPasses.
66343         * math/gen-libm-test.pl (top level): Don't mention expected
66344         failure handling in comment.
66345         (new_test): Don't handle expected failures.
66346         (parse_args): Don't mention expected failure handling in comment.
66347         (generate_testfile): Don't handle expected failures.
66348         (parse_ulps): Likewise.
66349         (print_ulps_file): Likewise.
66350         (get_failure): Remove function.
66351         (output_test): Don't handle expected failures.
66352         * make/README.libm-test: Don't mention expected failure handling.
66354         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
66355         (minus_zero): Likewise.
66356         (plus_infty): Likewise.
66357         (minus_infty): Likewise.
66358         (qnan_value): Likewise.
66359         (max_value): Likewise.
66360         (min_value): Likewise.
66361         (min_subnorm_value): Likewise.
66362         (initialize): Do not initialize those variables dynamically.
66364 2013-05-03  Roland McGrath  <roland@hack.frob.com>
66366         * io/open.c (__open_2): Moved to ...
66367         * io/open_2.c: ... this new file.
66368         * io/open64.c (__open64_2): Moved to ...
66369         * io/open64_2.c: ... this new file.
66370         * io/openat.c (__openat_2): Moved to ...
66371         * io/openat_2.c: ... this new file.
66372         * io/openat64.c (__openat64_2): Moved to ...
66373         * io/openat64_2.c: ... this new file.
66374         * io/Makefile (routines): Add them.
66375         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66376         * sysdeps/unix/sysv/linux/open_2.c: File removed.
66377         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66378         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66379         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66380         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66381         (__openat64): Add hidden_ver.
66382         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66383         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66385         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66386         Separately conditionalize setting of GLRO(dl_sysinfo) so
66387         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66388         as well, but the actual setting is only under [NEED_DL_SYSINFO].
66390 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66392         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66393         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66394         definition.
66395         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66396         * sysdeps/unix/sysv/linux/powerpc/init-first.c
66397         (_libc_vdso_platform_setup): Add __vdso_time initialization.
66398         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66399         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66401 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
66403         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66404         test signgam value.
66406         * math/libm-test.inc (hypot_test): Do not use
66407         IGNORE_ZERO_INF_SIGN.
66409 2013-05-03  Andreas Jaeger  <aj@suse.de>
66411         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66412         Linux 3.9.
66413         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66414         (PF_MAX): Adjust for VSOCK change.
66416 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66420 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
66422         [BZ #15264]
66423         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66424         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66425         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66427 2013-05-02  David S. Miller  <davem@davemloft.net>
66429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66431 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
66433         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66435 2013-05-01  Roland McGrath  <roland@hack.frob.com>
66437         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66439 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
66441         [BZ #14952]
66442         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66443         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66444         Use __attribute__ ((__gnu_inline__)).
66445         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66446         Don't use __attribute__ ((__gnu_inline__)).
66448 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
66450         [BZ #15423]
66451         * math/s_catan.c (__catan): Handle small real or imaginary part of
66452         input specially to avoid spurious underflow.
66453         * math/s_catanf.c (__catanf): Likewise.
66454         * math/s_catanh.c (__catanh): Likewise.
66455         * math/s_catanhf.c (__catanhf): Likewise.
66456         * math/s_catanhl.c (__catanhl): Likewise.
66457         * math/s_catanl.c (__catanl): Likewise.
66458         * math/libm-test.inc (catan_test): Add more tests.
66459         (catanh_test): Likewise.
66460         * sysdeps/i386/fpu/libm-test-ulps: Update.
66461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66463 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66467 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66469         [BZ #15416]
66470         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66471         accurately for denominator in atan2.
66472         * math/s_catanf.c (__catanf): Likewise.
66473         * math/s_catanh.c (__catanh): Likewise.
66474         * math/s_catanhf.c (__catanhf): Likewise.
66475         * math/s_catanhl.c (__catanhl): Likewise.
66476         * math/s_catanl.c (__catanl): Likewise.
66477         * math/libm-test.inc (catan_test): Add more tests.
66478         (catanh_test): Likewise.
66479         * sysdeps/i386/fpu/libm-test-ulps: Update.
66480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66482 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66484         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66486         * benchtests/Makefile (bench): Remove slow benchmarks.
66487         * benchtests/atan-inputs: Add slow benchmark inputs.
66488         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66489         (BENCH_FUNC): Accept variant offset.
66490         (VARIANT): Define.
66491         * benchtests/bench-skeleton.c (main): Run benchmark for each
66492         variant.
66493         * benchtests/cos-inputs: Add slow benchmark inputs.
66494         * benchtests/exp-inputs: Likewise.
66495         * benchtests/pow-inputs: Likewise.
66496         * benchtests/sin-inputs: Likewise.
66497         * benchtests/slowatan-inputs: Remove.
66498         * benchtests/slowatan.c: Remove.
66499         * benchtests/slowcos-inputs: Remove.
66500         * benchtests/slowcos.c: Remove.
66501         * benchtests/slowexp-inputs: Remove.
66502         * benchtests/slowexp.c: Remove.
66503         * benchtests/slowpow-inputs: Remove.
66504         * benchtests/slowpow.c: Remove.
66505         * benchtests/slowsin-inputs: Remove.
66506         * benchtests/slowsin.c: Remove.
66507         * benchtests/slowtan-inputs: Remove.
66508         * benchtests/slowtan.c: Remove.
66509         * benchtests/tan-inputs: Add slow benchmark inputs.
66510         * scripts/bench.pl: Parse comments and directives.
66512         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66513         in CPPFLAGS.
66514         ($(objpfx)bench-%.c): Remove *-ITER.
66515         * benchtests/bench-modf.c: Remove definition of ITER.
66516         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66517         (main): Loop for DURATION seconds instead of fixed number of
66518         iterations.
66519         * scripts/bench.pl: Don't expect iterations in parameters.
66521 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66523         * io/fchdir.c (__fchdir): Renamed from fchdir.
66524         (fchdir): Define as weak alias.
66526 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66528         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66529         (ERRNO_EDOM): Likewise.
66530         (ERRNO_ERANGE): Likewise.
66531         (noErrnoTests): New variable.
66532         (init_max_error): Set errno to 0.
66533         (test_single_errno): New function.
66534         (test_errno): Likewise.
66535         (check_float_internal): Call test_errno.  Set errno to 0.
66536         (check_complex): Refer to errno tests in comment.
66537         (check_int): Call test_errno.  Set errno to 0.
66538         (check_long): Likewise.
66539         (check_bool): Likewise.
66540         (check_longlong): Likewise.
66541         (cos_test): Use ERRNO_* flags for errno tests instead of
66542         check_int.
66543         (expm1_test): Likewise.
66544         (fmod_test): Likewise.
66545         (ilogb_test): Likewise.
66546         (lgamma_test): Likewise.
66547         (pow_test): Likewise.
66548         (remainder_test): Likewise.
66549         (sin_test): Likewise.
66550         (tan_test): Likewise.
66551         (yn_test): Likewise.
66552         (initialize): Set errno to 0.
66553         (main): Print number of errno tests.
66554         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66556 2013-04-29  Andreas Jaeger  <aj@suse.de>
66558         [BZ #15084]
66559         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66560         and RES_USEVC.
66562         [BZ #15085]
66563         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66564         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66565         unimplemented.
66567         [BZ #15380]
66568         * stdlib/random.c (__initstate): Return NULL if
66569         __initstate fails.
66571         [BZ #15086]
66572         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66573         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66574         RES_SNGLKUPREOP.
66576 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66580 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66582         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66583         of individual tests.
66584         (casin_test): Likewise.
66585         (casinh_test): Likewise.
66587 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
66589         [BZ #15409]
66590         * math/s_catan.c (__catan): Handle arguments with large real or
66591         imaginary part separately without squaring.
66592         * math/s_catanf.c (__catanf): Likewise.
66593         * math/s_catanh.c (__catanh): Likewise.
66594         * math/s_catanhf.c (__catanhf): Likewise.
66595         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66596         and redefine.
66597         (__catanhl): Handle arguments with large real or imaginary part
66598         separately without squaring.
66599         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66600         and redefine.
66601         (__catanl): Handle arguments with large real or imaginary part
66602         separately without squaring.
66603         * math/libm-test.inc (catan_test): Add more tests.
66604         (catanh_test): Likewise.
66605         * sysdeps/i386/fpu/libm-test-ulps: Update.
66606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66608 2013-04-27  Andreas Jaeger  <aj@suse.de>
66610         [BZ #15007]
66611         * stdlib/stdlib.h: Update guards for qecvt.
66612         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66613         <stdlib.h>.
66615 2013-04-27  Allan McRae  <allan@archlinux.org>
66617         * sysdeps/i386/fpu/libm-test-ulps: Update.
66619 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
66621         [BZ #15406]
66622         * math/s_catan.c: Include <float.h>.
66623         (__catan): Ensure underflow exception occurs for underflowed
66624         result.
66625         * math/s_catanf.c: Include <float.h>.
66626         (__catanf): Ensure underflow exception occurs for underflowed
66627         result.
66628         * math/s_catanh.c: Include <float.h>.
66629         (__catanh): Ensure underflow exception occurs for underflowed
66630         result.
66631         * math/s_catanhf.c: Include <float.h>.
66632         (__catanhf): Ensure underflow exception occurs for underflowed
66633         result.
66634         * math/s_catanhl.c: Include <float.h>.
66635         (__catanhl): Ensure underflow exception occurs for underflowed
66636         result.
66637         * math/s_catanl.c: Include <float.h>.
66638         (__catanl): Ensure underflow exception occurs for underflowed
66639         result.
66640         * math/libm-test.inc (catan_test): Add more tests.
66641         (catanh_test): Likewise.
66643         [BZ #15405]
66644         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66645         underflowed result.
66646         * math/s_ccoshf.c (__ccoshf): Likewise.
66647         * math/s_ccoshl.c (__ccoshl): Likewise.
66648         * math/s_csin.c (__csin): Likewise.
66649         * math/s_csinf.c (__csinf): Likewise.
66650         * math/s_csinh.c (__csinh): Likewise.
66651         * math/s_csinhf.c (__csinhf): Likewise.
66652         * math/s_csinhl.c (__csinhl): Likewise.
66653         * math/s_csinl.c (__csinl): Likewise.
66654         * math/libm-test.inc (ccos_test): Add more tests.
66655         (ccosh_test): Likewise.
66656         (csin_test): Likewise.
66657         (csinh_test): Likewise.
66659 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66661         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66662         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66663         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66664         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66665         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66666         powerpc/power5+/fpu folders.
66667         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66670 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66674 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
66676         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66677         additions to variable.
66678         [$(config-machine) = x86_64] (modules-names): Likewise.
66679         ($(objpfx)tst-audit3): Remove dependency.
66680         ($(objpfx)tst-audit3.out): Likewise.
66681         ($(objpfx)tst-audit4): Likewise.
66682         ($(objpfx)tst-audit4.out): Likewise.
66683         ($(objpfx)tst-audit5): Likewise.
66684         ($(objpfx)tst-audit5.out): Likewise.
66685         ($(objpfx)tst-audit6): Likewise.
66686         ($(objpfx)tst-audit6.out): Likewise.
66687         ($(objpfx)tst-audit7): Likewise.
66688         ($(objpfx)tst-audit7.out): Likewise.
66689         (tst-audit3-ENV): Remove variable.
66690         (tst-audit4-ENV): Likewise.
66691         (tst-audit5-ENV): Likewise.
66692         (tst-audit6-ENV): Likewise.
66693         (tst-audit7-ENV): Likewise.
66694         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66695         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66696         addition to variable.
66697         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66698         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66699         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66700         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66701         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66702         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66703         tst-audit3, tst-audit4 and tst-audit5.
66704         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66705         tst-audit6 and tst-audit7.
66706         [$(subdir) = elf] (modules-names): Add audit modules for those
66707         tests.
66708         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66709         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66710         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66711         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66712         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66713         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66714         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66715         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66716         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66717         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66718         [$(subdir) = elf] (tst-audit3-ENV): New variable.
66719         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66720         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66721         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66722         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66723         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66724         Likewise.
66725         [$(subdir) = elf && $(config-cflags-avx) = yes]
66726         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66727         [$(subdir) = elf && $(config-cflags-avx) = yes]
66728         (CFLAGS-tst-auditmod4a.c): Likewise.
66729         [$(subdir) = elf && $(config-cflags-avx) = yes]
66730         (CFLAGS-tst-auditmod4b.c): Likewise.
66731         [$(subdir) = elf && $(config-cflags-avx) = yes]
66732         (CFLAGS-tst-auditmod6b.c): Likewise.
66733         [$(subdir) = elf && $(config-cflags-avx) = yes]
66734         (CFLAGS-tst-auditmod6c.c): Likewise.
66735         [$(subdir) = elf && $(config-cflags-avx) = yes]
66736         (CFLAGS-tst-auditmod7b.c): Likewise.
66737         * elf/tst-audit3.c: Move to ...
66738         * sysdeps/x86_64/tst-audit3.c: ... here.
66739         * elf/tst-audit4.c: Move to ...
66740         * sysdeps/x86_64/tst-audit4.c: ... here.
66741         * elf/tst-audit5.c: Move to ...
66742         * sysdeps/x86_64/tst-audit5.c: ... here.
66743         * elf/tst-audit6.c: Move to ...
66744         * sysdeps/x86_64/tst-audit6.c: ... here.
66745         * elf/tst-audit7.c: Move to ...
66746         * sysdeps/x86_64/tst-audit7.c: ... here.
66747         * elf/tst-auditmod3a.c: Move to ...
66748         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66749         * elf/tst-auditmod3b.c: Move to ...
66750         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66751         * elf/tst-auditmod4a.c: Move to ...
66752         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66753         * elf/tst-auditmod4b.c: Move to ...
66754         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66755         * elf/tst-auditmod5a.c: Move to ...
66756         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66757         * elf/tst-auditmod5b.c: Move to ...
66758         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66759         * elf/tst-auditmod6a.c: Move to ...
66760         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66761         * elf/tst-auditmod6b.c: Move to ...
66762         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66763         * elf/tst-auditmod6c.c: Move to ...
66764         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66765         * elf/tst-auditmod7a.c: Move to ...
66766         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66767         * elf/tst-auditmod7b.c: Move to ...
66768         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66770 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
66772         [BZ #15366]
66773         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66774         define unconditionally.
66775         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66776         define unconditionally.
66777         (INT8_C, INT16_C, etc.): Likewise.
66779 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
66781         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66782         __ehdr_start with hidden visibility.
66784         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66786 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
66788         * math/libm-test.inc (cos_test): Use accurate hex constants.
66789         (sincost_test): Likewise.
66791 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
66793         * math/libm-test.inc (catan_test): Add more tests.
66794         (catanh_test): Likewise.
66796         * math/s_catanf.c (__catanf): Use suffixed floating-point
66797         constants.
66798         * math/s_catanhf.c (__catanhf): Likewise.
66799         * math/s_catanhl.c (__catanhl): Likewise.
66800         * math/s_catanl.c (__catanl): Likewise.
66802         [BZ #15394]
66803         * math/s_catan.c (__catan): Calculate imaginary part of result
66804         with log1p not log unless computing log of number close to 0.
66805         * math/s_catanf.c (__catanf): Likewise.
66806         * math/s_catanl.c (__catanl): Likewise.
66807         * math/s_catanh.c (__catanh): Calculate real part of result with
66808         log1p not log unless computing log of number close to 0.
66809         * math/s_catanhf.c (__catanhf): Likewise.
66810         * math/s_catanhl.c (__catanhl): Likewise.
66811         * math/libm-test.inc (catan_test): Add more tests.
66812         (catanh_test): Likewise.
66813         * sysdeps/i386/fpu/libm-test-ulps: Update.
66814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66816 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
66818         * benchtests/Makefile: Mention files in which fast and slow
66819         paths of math functions are implemented.
66821 2013-04-23  Roland McGrath  <roland@hack.frob.com>
66823         * sysdeps/posix/timespec_get.c: New file.
66825 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66827         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
66828         POWER.
66829         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
66830         for POWER.
66831         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
66832         powerpc/power5/fpu folders.
66833         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
66834         * benchtests/Makefile: Add modf testcase.
66835         * benchtests/bench-modf.c: New file: Benchmark test for mo
66837 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
66839         [BZ #14888]
66840         * time/Makefile (tests): Add tst-strptime-whitespace.
66841         * time/strptime_l.c (get_number): Use ISSPACE.
66842         (__strptime_internal): Likewise.
66843         * time/tst-strptime-whitespace.c: New test case.
66845 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
66847         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
66848         member.
66849         (_nss_files_init): Set it here.
66851 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
66853         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
66854         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
66855         unsigned.
66857 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
66859         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
66861 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66863         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
66864         size just once.
66866 2013-04-21  David S. Miller  <davem@davemloft.net>
66868         * po/ru.po: Update Russion translation from translation project.
66870 2013-04-17  Adam Conrad  <adconrad@0c3.net>
66872         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
66873         and setfsgid.
66875 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
66877         * configure.in: Remove i386 configure warning. Remove i386 case.
66878         * configure: Regenerate.
66879         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
66880         Add example to error message.
66881         * sysdeps/i386/configure: Regenerate.
66883 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66885         * benchtests/Makefile (bench): Add cos, tan, slowcos and
66886         slowtan.
66887         * benchtests/cos-inputs: New file.
66888         * benchtests/slowcos-inputs: New file.
66889         * benchtests/slowcos.c: New file.
66890         * benchtests/slowtan-inputs: New file.
66891         * benchtests/slowtan.c: New file.
66892         * benchtests/tan-inputs: New file.
66894 2013-04-16  Roland McGrath  <roland@hack.frob.com>
66896         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
66897         considered kosher.
66899 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66901         * benchtests/Makefile: Include cppflags-iterator.mk to add
66902         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
66904         * Makefile.in (bench-clean): New target.
66905         * benchtests/Makefile (bench-clean): Likewise.
66907 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
66909         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
66911 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
66913         * stdio-common/tstdiomisc.c: Fix coding-style violation.
66915 2013-04-15  Andreas Schwab  <schwab@suse.de>
66917         * nscd/grpcache.c (cache_addgr): Properly check for short write.
66918         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66919         * nscd/pwdcache.c (cache_addpw): Likewise.
66920         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
66921         more than recsize.
66923 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66925         * benchtests/Makefile (bench): Write all output to
66926         bench-out.tmp together.
66928 2013-04-15  Andreas Schwab  <schwab@suse.de>
66930         * nscd/nscd.c (main): Don't fork again after closing files.
66932 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66934         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
66936         * benchtests/Rules (bench-deps): Collect dependencies into a
66937         single variable.  Add Makefile to dependencies.
66938         ($(objpfx)bench-%.c): Depend on bench-deps.
66940 2013-04-12  Roland McGrath  <roland@hack.frob.com>
66941             Xavier Roche  <roche+kml2@exalead.com>
66943         [BZ #15361]
66944         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
66945         just that it's a file descriptor.
66946         * manual/llio.texi (Synchronizing AIO Operations): Update description
66947         for EBADF error from aio_fsync.
66949 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
66951         * Rules (bench): Move target definition...
66952         * benchtests/Makefile: ... here.
66954 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
66956         * math/libm-test.inc (cos_test): Fix PI/2 test.
66957         (sincos_test): Likewise.
66958         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
66959         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
66961 2013-04-11  Andreas Schwab  <schwab@suse.de>
66963         [BZ #13988]
66964         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
66965         accept exponent character only when digits were seen.
66966         * stdio-common/Makefile (tests): Add bug26.
66967         * stdio-common/bug26.c: New file.
66969         [BZ #14293]
66970         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
66971         non-freeable.
66973 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66975         * Makeconfig (rtld-prefix): Define built linker prefix.
66976         * Rules (run-bench): Use it.
66977         * math/Makefile (run-regen-ulps): Likewise.
66979         * Rules (bench): Remove eval.
66981 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66982             Roland McGrath  <roland@hack.frob.com>
66983             Ondrej Bilka  <neleai@seznam.cz>
66985         [BZ #15346]
66986         * time/getdate.c: Include ctype.h and alloca.h.
66987         (__getdate_r): Trim leading and trailing spaces of input.
66988         * time/tst-getdate.c (tests): Add tests with leading and
66989         trailing spaces.
66991 2013-04-08  Roland McGrath  <roland@hack.frob.com>
66993         [BZ #14280]
66994         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
66995         when computing value.
66997 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66999         * math/README.libm-test (How can I generate "libm-test-ulps"?):
67000         Use testrun.sh to run libm tests.
67002         [BZ #15309]
67003         * elf/dl-open.c (dl_open_worker): memset all of seen array.
67005 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
67007         [BZ #15264]
67008         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
67010 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67012         * Makefile.in (regen-ulps): New target.
67013         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
67014         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
67015         [ifneq (no,$(PERL)] (regen-ulps): New target.
67016         [ifeq (no,$(PERL)] (regen-ulps): New target.
67017         * math/libm-test.inc (ulps_file_name): Define.
67018         (output_dir): New variable.
67019         (options): Add "output-dir" option.
67020         (parse_opt): Handle 'o' case.
67021         (main): If output_dir is non-NULL use it as a prefix
67022         otherwise use "".
67023         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
67025 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67027         [BZ #10060, #10062]
67028         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
67029         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
67030         fail configure if __sync_val_compare_and_swap is not inlined.
67031         * sysdeps/i386/configure: Regenerate.
67032         * configure.in: Build for i686 when configured for i386.
67033         * configure: Regenerate.
67034         * README: Remove i386 reference.
67036 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67038         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67039         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67041 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67043         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
67044         (lmsnanval): New variables.
67045         (F): Add conversion tests.
67046         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67047         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
67049         * stdio-common/tstdiomisc.c (F): Properly collect individual
67050         tests' results.
67052         [BZ #14686, #15336]
67053         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
67054         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
67055         Instead, use input NaN values or generate a qNaN by arithmetic
67056         operation.  Also fix bugs to comply with the standard.
67057         * math/libm-test.inc (remainder_test): Add more tests.
67059         [BZ #15335, #15342]
67060         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
67061         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
67062         input NaN values or generate a qNaN by arithmetic operation.
67064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
67065         unreachable code.
67067         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
67068         definitions.
67070 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
67072         [BZ #14478]
67073         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
67074         underflowed result.
67075         * math/s_cexpf.c (__cexpf): Likewise.
67076         * math/s_cexpl.c (__cexpl): Likewise.
67077         * math/libm-test.inc (cexp_test): Add more tests.
67079 2013-04-03  Andreas Schwab  <schwab@suse.de>
67081         [BZ #15330]
67082         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67083         order arrays from heap if bigger than alloca cutoff.
67085 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
67087         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67088         (SNAN_TESTS_double): Refer to GCC PR56831.
67089         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67090         GCC PR56828.
67092 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
67094         * Rules (bench): Move bench.out after the run is complete.
67096         * Rules (bench): Echo currently running benchmark.
67098         * benchtests/Makefile (bench): Add atan and slowatan.
67099         * benchtests/atan-inputs: New file.
67100         * benchtests/slowatan-inputs: New file.
67101         * benchtests/slowatan.c: New file.
67103         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67104         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67105         its value.
67107         [BZ #15305]
67108         * sysdeps/unix/sysv/linux/kernel-features.h
67109         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67110         __ASSUME_XFS_RESTRICTED_CHOWN.
67111         * sysdeps/unix/sysv/linux/pathconf.c
67112         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67113         Save and restore errno.
67115 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
67117         [BZ #15327]
67118         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67119         arguments using __kernel_casinh.
67120         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67121         arguments using __kernel_casinhf.
67122         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67123         arguments using __kernel_casinhl.
67124         * math/libm-test.inc (cacosh_test): Add more tests.
67125         * sysdeps/i386/fpu/libm-test-ulps: Update.
67126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67128 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67130         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67131         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67133         * bench/Makefile (bench): Add sin and slowsin.
67134         * benchtests/sin-inputs: New file.
67135         * benchtests/slowsin-inputs: New file.
67136         * benchtests/slowsin.c: New file.
67138         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67139         (bench): Add slowexp and slowpow.
67140         (exp-ITER): Increase iterations.
67141         (pow-ITER): Likewise.
67142         * benchtests/exp-inputs: Change input.
67143         * benchtests/pow-inputs: Likewise.
67144         * benchtests/slowexp-inputs: New file.
67145         * benchtests/slowexp.c: New file.
67146         * benchtests/slowpow-inputs: New file.
67147         * benchtests/slowpow.c: New file.
67149 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67151         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
67152         instructions.
67153         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67154         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
67155         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
67156         * benchtests/Makefile: Add rint benchtest.
67157         * benchtests/rint-inputs: Input for rint benchtest.
67159 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67161         * Versions.def (libm): Add GLIBC_2.18.
67162         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
67163         hidden libm prototypes.
67164         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
67165         * math/Makefile (libm-calls): Add s_issignaling.
67166         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67167         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
67168         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
67169         declaration.
67170         * math/math.h [__USE_GNU] (issignaling): New macro.
67171         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
67172         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
67173         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
67174         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
67175         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
67176         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
67177         * manual/arith.texi (issignaling): New section.
67178         * manual/libm-err-tab.pl (@all_functions): Update comment.
67179         * math/gen-libm-test.pl (parse_args): Apply special handling for
67180         issignaling.
67181         * math/libm-test.inc (print_float, issignaling_test): New
67182         functions.
67183         (check_float_internal): Add issignaling checks.
67184         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
67185         default definition.
67186         * sysdeps/powerpc/math-tests.h: New file.
67187         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
67188         tests.
67189         * math/test-snan.c (TEST_FUNC): Likewise.
67191 2013-03-30  David S. Miller  <davem@davemloft.net>
67193         * po/de.po: Update from translation team.
67195 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
67197         [BZ #10357]
67198         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67199         imaginary part less than 1.0 and real part less than 0.5
67200         specially.
67201         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67202         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67203         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
67204         (cacos_test): Add more tests.
67205         (casin_test): Likewise.
67206         (casinh_test): Likewise.
67207         * sysdeps/i386/fpu/libm-test-ulps: Update.
67208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67210 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67212         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
67213         ONE with its value.
67215         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
67216         (__pow_mp): Replace ONE and MONE with their values.
67217         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67218         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
67219         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67220         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
67221         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67222         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67224         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
67226         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
67227         (__pow_mp): Replace ZERO and MZERO with their values.
67228         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67229         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67230         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67232         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67233         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
67234         (__sqr): Likewise.
67236         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
67238         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
67240 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67242         * include/stdlib.h [!SHARED] (__call_tls_dtors):
67243         Declare with __attribute__ ((weak)).
67244         * stdlib/exit.c (__libc_atexit) [!SHARED]:
67245         Call __call_tls_dtors only if it's not NULL.
67247 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67249         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
67250         didn't do it already, then set _dl_phdr and _dl_phnum based on the
67251         magic __ehdr_start linker symbol if it's defined.
67252         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
67253         them up here if it was already done.
67255         * elf/dl-support.c (_dl_phdr): Make pointer to const.
67256         (_dl_aux_init): Use const in cast when setting it.
67257         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
67258         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
67259         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67261         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
67262         Declare them here.
67263         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
67264         * csu/libc-tls.c: Nor here.
67265         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
67267         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
67268         (__libc_message): Never call vsyslog.
67270 2013-03-28  Alan Modra  <amodra@gmail.com>
67272         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
67273         Define as empty.
67274         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
67275         Likewise.
67277 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67279         [BZ #15214]
67280         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
67281         underflow.
67282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67284 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67286         [BZ #15304]
67287         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67288         Don't add gid passed as argument.
67290         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
67292 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
67294         [BZ #15307]
67295         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67296         imaginary part between 1.0 and 1.5 and real part less than 0.5
67297         specially.
67298         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67299         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67300         * math/libm-test.inc (cacos_test): Add more tests.
67301         (casin_test): Likewise.
67302         (casinh_test): Likewise.
67303         * sysdeps/i386/fpu/libm-test-ulps: Update.
67304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67306 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67308         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
67309         constants.
67310         (norm): Likewise.
67311         (denorm): Likewise.
67312         (__dbl_mp): Likewise.
67313         (add_magnitudes): Likewise.
67314         (sub_magnitudes): Likewise.
67315         (__add): Likewise.
67316         (__sub): Likewise.
67317         (__mul): Likewise.
67318         (__sqr): Likewise.
67319         (__inv): Likewise.
67320         (__dvd): Likewise.
67322         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
67323         commented code.
67324         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67325         (__dubcos): Likewise.
67326         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
67327         (__ieee754_acos): Likewise.
67328         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67329         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
67330         (__exp1): Likewise.
67331         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67332         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67333         (log1): Likewise.
67334         (my_log2): Likewise.
67335         (checkint): Likewise.
67336         * sysdeps/ieee754/dbl-64/e_remainder.c
67337         (__ieee754_remainder): Likewise.
67338         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67339         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
67340         (bsloww): Likewise.
67341         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67343         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67344         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
67345         MANTISSA_STORE_T to store computations on mantissa.  Use
67346         macros for rounding and division.
67347         (denorm): Likewise.
67348         (__dbl_mp): Likewise.
67349         (add_magnitudes): Likewise.
67350         (sub_magnitudes): Likewise.
67351         (__mul): Likewise.
67352         (__sqr): Likewise.
67353         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67354         powers of two in terms of TWOPOW macro.
67355         (mp_no): Make type of mantissa as MANTISSA_T.
67356         [!RADIXI]: Define RADIXI.
67357         [!TWO52]: Define TWO52.
67358         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67360 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67362         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
67363         llroundl symbol when building for PPC32.
67365 2013-03-24  Mark H Weaver  <mhw@netris.org>
67367         * manual/arith.texi (Normalization Functions): Fix prototypes for
67368         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
67370 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67372         [BZ #13889]
67373         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67374         high value to check if expl overflow.
67375         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67376         to check for underflow and overflow.
67377         * math/libm-test.inc: Add exp test.
67379 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
67381         [BZ #11120]
67382         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67383         with NOT_IN_libc.
67385 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67387         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67388         symbol.
67390 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67392         * math/gen-libm-test.pl (parse_args, special_functions): Properly
67393         wrap blocks consisting of several statements.
67395         * sysdeps/generic/math-tests.h: New file.
67396         * sysdeps/i386/fpu/math-tests.h: Likewise.
67397         * math/test-snan.c: Include it.
67398         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67400 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67402         [BZ #15285]
67403         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67404         (__ieee754_j0l): Do not improve calculations using cos of twice
67405         input for inputs above LDBL_MAX / 2.0L.
67406         (__ieee754_y0l): Likewise.
67407         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67408         (__ieee754_j1l): Do not improve calculations using cos of twice
67409         input for inputs above LDBL_MAX / 2.0L.
67410         (__ieee754_y1l): Likewise.
67411         * math/libm-test.inc (j0_test): Add another test.
67412         (j1_test): Likewise.
67413         (y0_test): Likewise.
67414         (y1_test): Likewise.
67415         * sysdeps/i386/fpu/libm-test-ulps: Update.
67417 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67419         * Rules ($(objpfx)bench-%.c): Include code from a C source
67420         file.
67422 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67424         [BZ #15287]
67425         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67426         imaginary part 1.0 and real part less than 0.5 specially.
67427         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67428         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67429         * math/libm-test.inc (cacos_test): Add more tests.
67430         (casin_test): Likewise.
67431         (casinh_test): Likewise.
67432         * sysdeps/i386/fpu/libm-test-ulps: Update.
67433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67435 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67437         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67438         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67440 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
67442         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67443         * config.make.in (config-cflags-sse4): Remove variable.
67444         (config-cflags-avx): Likewise.
67445         (config-cflags-sse2avx): Likewise.
67446         (config-cflags-novzeroupper): Likewise.
67447         (config-asflags-i686): Likewise.
67448         (have-mfma4): Likewise.
67449         (have-as-vis3): Likewise.
67450         (MIG): Likewise.
67451         * configure.in (MIG): Do not AC_SUBST.
67452         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67453         (libc_cv_cc_sse4): Do not AC_SUBST.
67454         (libc_cv_cc_avx): Likewise.
67455         (libc_cv_cc_sse2avx): Likewise.
67456         (libc_cv_cc_novzeroupper): Likewise.
67457         (libc_cv_cc_fma4): Likewise.
67458         (libc_cv_as_i686): Likewise.
67459         (libc_cv_sparc_as_vis3): Likewise.
67460         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67461         LIBC_CONFIG_VAR.
67462         (config-asflags-i686): Likewise.
67463         (config-cflags-avx): Likewise.
67464         (config-cflags-sse2avx): Likewise.
67465         (have-mfma4): Likewise.
67466         (config-cflags-novzeroupper): Likewise.
67467         * sysdeps/mach/configure.in (MIG): Likewise.
67468         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67469         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67470         LIBC_CONFIG_VAR.
67471         (config-cflags-avx): Likewise.
67472         (config-cflags-sse2avx): Likewise.
67473         (have-mfma4): Likewise.
67474         (config-cflags-novzeroupper): Likewise.
67475         * configure: Regenerated.
67476         * sysdeps/i386/configure: Likewise.
67477         * sysdeps/mach/configure: Likewise.
67478         * sysdeps/sparc/configure: Likewise.
67479         * sysdeps/x86_64/configure: Likewise.
67481 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67483         [BZ #14812]
67484         * locale/programs/localedef.c (options): Put N_ translation marker
67485         on argument names, not just descriptions.
67487 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67489         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67491 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67493         [BZ #14176]
67494         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67496 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67498         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67499         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67500         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67501         [!BEFORE_ABORT] (before_abort): New function.
67502         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67503         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67504         (writev_for_fatal): New function.
67505         (WRITEV_FOR_FATAL): New macro; call that.
67506         (backtrace_and_maps): New function.
67507         (BEFORE_ABORT): New macro; call that.
67508         (struct str_list): Type removed.
67509         (__libc_message, __libc_fatal): Functions removed.
67510         Include <sysdeps/posix/libc_fatal.c> instead.
67512 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67514         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67515         constants.
67516         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67517         double constants.
67519 2013-03-19  Andreas Schwab  <schwab@suse.de>
67521         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67522         * sysdeps/gnu/configure: Regenerate.
67524         * configure.in: Substitute libc_cv_rtlddir.
67525         * configure: Regenerate.
67526         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67527         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67528         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67529         * elf/Makefile (install-others, CFLAGS-interp.c)
67530         (ldso_install, common-ldd-rewrite): Likewise.
67531         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67532         $(inst_slibdir)/$(rtld-installed-name).
67533         * scripts/rellns-sh: Add -p option.
67534         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67535         for source.
67537 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67539         * manual/nptl.texi: Renamed to ...
67540         * manual/threads.texi: ... this.
67541         * manual/Makefile (chapters): Update.
67543 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67545         [BZ #14812]
67546         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67547         on argument names, not just descriptions.
67548         * malloc/memusagestat.c (options): Likewise.
67549         * nss/getent.c (options): Likewise.
67551 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67553         [BZ #14812]
67554         * iconv/iconv_prog.c (options): Put N_ translation marker
67555         on argument names, not just descriptions.
67556         * iconv/iconvconfig.c (options): Likewise.
67558 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67560         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67561         implementation which is faster on all x86_64 architectures.
67562         Tested on AMD, Intel Nehalem, SNB, IVB.
67563         * sysdeps/x86_64/strnlen.S: Likewise.
67565         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67566         Remove all multiarch strlen and strnlen versions.
67567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67568         Remove strlen and strnlen related parts.
67570         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67571         Inline strlen part.
67572         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67574         * sysdeps/x86_64/multiarch/strlen.S: Remove.
67575         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67576         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67577         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67578         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67579         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67581 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
67583         * manual/memory.texi (Malloc Tunable Parameters):
67584         Sort parameters alphabetically. Add comments for missing entries.
67586 2013-03-17  David S. Miller  <davem@davemloft.net>
67588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67590 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
67592         [BZ #15283]
67593         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67594         for arguments at most half maximum finite value.
67595         * math/libm-test.inc (j0_test): Add more tests.
67596         (j1_test): Likewise.
67597         (y0_test): Likewise.
67598         (y1_test): Likewise.
67599         * sysdeps/i386/fpu/libm-test-ulps: Update.
67600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67602         [BZ #14155]
67603         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67604         1 / x and functions P and Q for arguments above 0x1p256L.
67605         (__ieee754_y0l): Likewise.
67606         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67607         (__ieee754_y1l): Likewise.
67608         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67609         (j1_test): Likewise.
67610         (y0_test): Likewise.
67611         (y1_test): Likewise.
67613 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
67615         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67616         variable.
67618 2013-03-15  Roland McGrath  <roland@hack.frob.com>
67620         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67621         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67622         zero since it's initialized to EXEC_PAGESIZE.
67624         * sysdeps/unix/sysv/linux/ldsodefs.h
67625         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67626         * sysdeps/generic/ldsodefs.h: ... here.
67628 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
67630         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67632         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67633         math/test-snan.c.
67634         * math/test-snan.c: Renamed from
67635         sysdeps/powerpc/fpu/test-powerpc-snan.c.
67636         * math/Makefile (tests): Add test-snan.
67637         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67638         test-powerpc-snan.
67640         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67641         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
67642         functions.
67643         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
67644         __builtin_nan family of functions.
67645         * math/libm-test.inc (initialize): Initialize qnan_value with
67646         __builtin_nan family of functions.
67647         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67648         Remove variables.
67649         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67650         Remove functions.
67651         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
67652         storage class.  Initialize qNaN_var and sNaN_var with
67653         __builtin_nan and __builtin_nans families of functions,
67654         respectively.
67656         * math/libm-test.inc (acosh_test): Also test with qNaN input.
67657         (sqrt_test): Remove duplicate test with qNaN input.
67658         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67659         (round_test, signbit_test, significand_test): Note missing +/-Inf
67660         as well as qNaN tests.
67662         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67663         qNaN_var.  Fix a few strings, too.
67664         * math/libm-test.inc (nan_value): Rename to qnan_value.
67665         * math/gen-libm-test.pl (%beautify): Adjust to that.
67666         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67667         * math/test-misc.c (main): Likewise.
67668         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67669         to __qnan_bytes, and __qnan_union, respectively.
67670         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67671         Likewise.
67672         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67673         and lqnanval, respectively.
67674         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67675         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67676         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67677         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67679         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67680         * math/test-misc.c (main) [__x86_64__]: Enable test for long
67681         doubles.
67683         * math/test-misc.c (main): Fix copy'n'pastos.
67684         * misc/tst-efgcvt.c (special): Likewise.
67686         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67687         Remove declarations.
67689 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67691         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67692         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67693         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67694         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67696 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67698         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67699         macro to return vdso values correctly in IFUNC implementations.
67700         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67701         Optimization by using IFUNC.
67703 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67704             Richard Henderson  <rth@redhat.com>
67705             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67707         * Makefile.in (bench): New target.
67708         * NEWS: Mention the benchmark framework.
67709         * Rules (bench): Likewise.
67710         (binaries-bench): Generate binaries for functions to
67711         benchmark.
67712         * benchtests/Makefile: New makefile for benchmark tests.
67713         * benchtests/bench-skeleton.c: New skeleton file for benchmark
67714         programs.
67715         * benchtests/exp-inputs: New input file for EXP function.
67716         * benchtests/pow-inputs: New input file for POW function.
67717         * scripts/bench.pl: New script to generate source files for
67718         benchmark programs.
67720 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67722         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67723         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67724         computations on mantissa.  Use macros for rounding and
67725         division.
67726         (denorm): Likewise.
67727         (__dbl_mp): Likewise.
67728         (add_magnitudes): Likewise.
67729         (sub_magnitudes): Likewise.
67730         (__mul): Likewise.
67731         (__sqr): Likewise.
67732         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67733         powers of two in terms of TWOPOW macro.
67734         (mp_no): Make type of mantissa as MANTISSA_T.
67735         [!RADIXI]: Define RADIXI.
67736         [!TWO52]: Define TWO52.
67737         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67739         * manual/nptl.texi (cindex): Modify threads to pthreads.
67741 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
67743         * sysdeps/x86_64/preconfigure: Regenerated.
67745 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
67747         [BZ #14155]
67748         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67749         0x1p28 and above.
67750         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67751         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67752         0x1p28 and above.
67753         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67754         * math/libm-test.inc (j0_test): Do not allow one spurious
67755         underflow exception.
67756         (y1_test): Likewise.
67758 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67760         * manual/Makefile (chapters): Add nptl.
67761         * manual/debug.texi (Debugging Support): Add link to Threads
67762         chapter.
67763         * manual/nptl.texi: New file.
67765         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67767 2013-03-14  Petr Baudis  <pasky@ucw.cz>
67769         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67770         for non-NULL pointer before the memory validity test. Pointed
67771         out by Holger Brunck <holger.brunck@keymile.com>.
67773 2013-03-13  Andreas Schwab  <schwab@suse.de>
67775         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67776         instead of .os.
67778 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
67780         * timezone/zic.c: Update from tzcode 2013b.
67782 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
67784         * manual/install.texi (Configuring and compiling):
67785         Mention i686 and i586.
67786         * INSTALL: Regenerate.
67788 2013-03-12  Roland McGrath  <roland@hack.frob.com>
67790         * sysdeps/init_array/elf-init.c: New file.
67791         * csu/elf-init.c
67792         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
67793         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
67795         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
67796         __gmon_start__ as global, but as static with a .preinit_array pointer.
67797         * sysdeps/init_array/gmon-start.c: New file.  Use that.
67798         * sysdeps/init_array/crti.S: New file, empty except for comments.
67799         * sysdeps/init_array/crtn.S: Likewise.
67801 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
67803         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
67804         definining bcopy.
67805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67806         Remove Prefer_SSE_for_memop.
67807         * sysdeps/x86_64/multiarch/init-arch.h: Remove
67808         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
67809         HAS_PREFER_SSE_FOR_MEMOP.
67810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
67811         memset-x86-64.
67812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
67813         Remove bzero, memset ifunc support.
67814         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
67815         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
67816         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67817         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67819 2013-03-11  Andreas Schwab  <schwab@suse.de>
67821         [BZ #15234]
67822         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
67823         by SHLIB_COMPAT.
67824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
67825         (GLIBC_2.16): Remove pthread_atfork.
67827 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
67829         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
67830         (ptestcases.h): Likewise.
67832 2013-03-08  Roland McGrath  <roland@hack.frob.com>
67834         * Makeconfig ($(common-objpfx)config.status): Depend on
67835         sysdeps/*/preconfigure{,.in} too.
67837 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
67839         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
67840         (__free_hook): Use void * instead of __malloc_ptr_t.
67841         (__malloc_hook): Likewise.
67842         (__realloc_hook): Likewise.
67843         (__memalign_hook): Likewise.
67844         (__after_morecore_hook): Likewise.
67845         * malloc/arena.c (save_malloc_hook): Likewise.
67846         (save_free_hook): Likewise.
67847         * malloc/hooks.c (malloc_hook_ini): Likewise.
67848         (realloc_hook_ini): Likewise.
67849         (memalign_hook_ini): Likewise.
67850         * malloc/malloc.c (malloc_hook_ini): Likewise.
67851         (realloc_hook_ini): Likewise.
67852         (memalign_hook_ini): Likewise.
67853         (__free_hook): Likewise.
67854         (__malloc_hook): Likewise.
67855         (__realloc_hook): Likewise.
67856         (__memalign_hook): Likewise.
67857         (__libc_malloc): Likewise.
67858         (__libc_free): Likewise.
67859         (__libc_realloc): Likewise.
67860         (__libc_memalign): Likewise.
67861         (__libc_valloc): Likewise.
67862         (__libc_pvalloc): Likewise.
67863         (__libc_calloc): Likewise.
67864         (__posix_memalign): Likewise.
67865         * malloc/morecore.c (__sbrk): Likewise.
67866         (__default_morecore): Likewise.
67868         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
67870         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
67871         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
67872         __malloc_ptrdiff_t.
67874         * malloc/malloc.h (__malloc_size_t): Remove macro.
67875         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
67876         __malloc_size_t.
67877         (old_memalign_hook): Likewise.
67878         (old_realloc_hook): Likewise.
67879         (struct hdr): Likewise.
67880         (flood): Likewise.
67881         (mallochook): Likewise.
67882         (memalignhook): Likewise.
67883         (reallochook): Likewise.
67884         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
67885         (tr_old_realloc_hook): Likewise.
67886         (tr_old_memalign_hook): Likewise.
67887         (tr_mallochook): Likewise.
67888         (tr_reallochook): Likewise.
67889         (tr_memalignhook): Likewise.
67891 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67893         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
67894         default_ldbl_pack and using as default implementation.
67895         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
67896         implementation.
67897         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
67898         redundant definition.
67899         (ldbl_insert_mantissa): Likewise.
67900         (ldbl_canonicalize): Likewise.
67901         (ldbl_nearbyint): Likewise.
67902         (ldbl_pack): Rename to ldbl_pack_ppc.
67903         (ldbl_unpack): Rename to ldbl_unpack_ppc.
67904         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
67905         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
67907 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
67910         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
67911         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
67912         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
67913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
67914         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
67915         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
67916         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
67918 2013-03-07  Andreas Jaeger  <aj@suse.de>
67920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67921         bits/mman-linux.h.
67923 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
67925         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
67926         Include mpa.h and declare __MPEXP.
67927         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
67928         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67929         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67930         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
67931         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67932         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67933         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
67935         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
67936         (__slowpow): Use long double EXPL and LOGL functions to
67937         compute POW.
67938         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67939         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67940         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
67941         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67942         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67943         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
67945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
67946         intermediate variable to calculate exponent.
67947         (__sqr): Likewise.
67948         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67949         Likewise.
67950         (__sqr): Likewise.
67952         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
67953         [!NO__SQR]: Define __sqr.
67954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
67955         and NO__SQR.  Remove all code except __mul and __sqr.  Include
67956         sysdeps/ieee754/dbl-64/mpa.c.
67957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67959         [BZ #12723]
67960         * posix/Makefile (tests): Add tst-pathconf.
67961         * posix/tst-pathconf.c: New test case.
67962         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
67963         _PC_PIPE_BUF.
67964         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
67966 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
67968         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
67970 2013-03-06  Andreas Jaeger  <aj@suse.de>
67972         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
67973         definition via __MAP_ANONYMOUS.
67975         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
67976         it's not part of Linux headers.
67978         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
67979         (MAP_HUGE_MASK): Define.
67981         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67982         Define.
67983         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67984         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67985         Define.
67986         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67987         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67988         Define.
67989         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67990         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
67991         Define.
67992         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67994         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
67995         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
67996         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
67997         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
67998         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
67999         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
68001         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68002         Handle f2fs.
68004         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68005         Handle f2fs and efivarfs.
68007         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
68008         f2fs.
68010         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
68011         (EFIVARFS_MAGIC): Add.
68012         (F2FS_LINK_MAX): Add.
68014 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68016         * stdio-common/vfprintf.c: Replace __builtin_expect with
68017         __glibc_unlikely.
68019 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
68021         [BZ #13550]
68022         * sysdeps/generic/bp-sym.h: Remove file.
68023         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
68024         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
68025         <bp-sym.h> and <bp-asm.h>.
68026         (__longjmp): Don't use BP_SYM.
68027         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
68028         and <bp-asm.h>.
68029         (memcpy): Don't use BP_SYM.
68030         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
68031         <bp-sym.h> and <bp-asm.h>.
68032         (memcpy): Don't use BP_SYM.
68033         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
68034         <bp-asm.h>.
68035         (memcpy): Don't use BP_SYM.
68036         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68037         <bp-asm.h>.
68038         (memset): Don't use BP_SYM.
68039         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68040         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68041         (__bzero): Don't use BP_SYM.
68042         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68043         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68044         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
68045         <bp-sym.h> and <bp-asm.h>.
68046         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68047         pointers.
68048         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
68049         <bp-sym.h> and <bp-asm.h>.
68050         (memcpy): Don't use BP_SYM.
68051         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
68052         <bp-sym.h> and <bp-asm.h>.
68053         (memset): Don't use BP_SYM.
68054         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68055         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68056         (__bzero): Don't use BP_SYM.
68057         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68058         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68059         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
68060         <bp-sym.h> and <bp-asm.h>.
68061         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68062         pointers.
68063         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
68064         <bp-sym.h> and <bp-asm.h>.
68065         (memcpy): Don't use BP_SYM.
68066         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
68067         <bp-sym.h> and <bp-asm.h>.
68068         (memset): Don't use BP_SYM.
68069         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68070         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68071         (__bzero): Don't use BP_SYM.
68072         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68073         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68074         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
68075         <bp-sym.h> and <bp-asm.h>.
68076         (__memchr): Don't use BP_SYM.
68077         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
68078         <bp-sym.h> and <bp-asm.h>.
68079         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68080         pointers.
68081         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68082         <bp-sym.h> and <bp-asm.h>.
68083         (memcpy): Don't use BP_SYM.
68084         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68085         <bp-sym.h> and <bp-asm.h>.
68086         (__mempcpy): Don't use BP_SYM.
68087         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68088         <bp-sym.h> and <bp-asm.h>.
68089         (__memrchr): Don't use BP_SYM.
68090         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68091         <bp-sym.h> and <bp-asm.h>.
68092         (memset): Don't use BP_SYM.
68093         (__bzero): Likewise.
68094         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68095         <bp-sym.h> and <bp-asm.h>.
68096         (__rawmemchr): Don't use BP_SYM.
68097         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68098         <bp-sym.h> and <bp-asm.h>.
68099         (__STRCMP): Don't use BP_SYM.
68100         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68101         <bp-sym.h> and <bp-asm.h>.
68102         (strchr): Don't use BP_SYM.
68103         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68104         <bp-sym.h> and <bp-asm.h>.
68105         (__strchrnul): Don't use BP_SYM.
68106         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68107         <bp-sym.h> and <bp-asm.h>.
68108         (strlen): Don't use BP_SYM.
68109         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68110         <bp-sym.h> and <bp-asm.h>.
68111         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68112         pointers.
68113         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68114         <bp-sym.h> and <bp-asm.h>.
68115         (__strnlen): Don't use BP_SYM.
68116         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68117         <bp-sym.h> and <bp-asm.h>.
68118         (__GI__setjmp): Don't use BP_SYM.
68119         (_setjmp): Likewise.
68120         (__sigsetjmp): Likewise.
68121         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68122         (L(start_addresses)): Don't use BP_SYM.
68123         (_start): Likewise.
68124         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68125         <bp-asm.h>.
68126         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68127         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68128         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68129         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68130         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68131         <bp-asm.h>.
68132         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68133         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
68134         about bounded pointers.
68135         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68136         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68137         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68138         <bp-asm.h>.
68139         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68140         about bounded pointers.  Remove GKM FIXME comments.
68141         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68142         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68143         <bp-asm.h>.
68144         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68145         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
68146         Remove GKM FIXME comments.
68147         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68148         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68149         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68150         <bp-asm.h>.
68151         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68152         about bounded pointers.  Remove GKM FIXME comment.
68153         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
68154         and <bp-asm.h>.
68155         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68156         pointers.
68157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
68158         <bp-sym.h> and <bp-asm.h>.
68159         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
68161         <bp-sym.h> and <bp-asm.h>.
68162         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68163         comment.
68165 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68167         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
68168         call free(NULL).
68170 2013-03-05  David S. Miller  <davem@davemloft.net>
68172         * po/es.po: Update from translation team.
68174 2013-03-05  Andreas Jaeger  <aj@suse.de>
68176         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
68177         <bits/mman-linux.h>.
68178         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68179         is fine.
68180         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
68181         <bits/mman-linux.h> to end of file.
68182         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68183         is fine.
68184         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
68185         <bits/mman-linux.h> to end of file.
68186         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68187         is fine.
68188         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
68189         <bits/mman-linux.h> to end of file.
68191         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
68192         (MCL_CURRENT, MCL_FUTURE): Define here.
68194 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68196         [BZ #15232]
68197         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
68198         attribute_hidden.
68199         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68201 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68203         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
68204         fourth parameter needed for rt_sigprocmask syscall.
68205         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68206         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
68207         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
68208         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
68209         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
68210         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
68212 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
68214         [BZ #13550]
68215         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
68216         comment about bounded pointers.
68217         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
68218         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
68220 2013-03-04  Andreas Jaeger  <aj@suse.de>
68222         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
68223         common definitions.
68225         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
68226         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
68227         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
68228         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68229         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68230         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68232 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68234         [BZ #15055]
68235         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
68236         __ieee754_sqrl instead of __sqrl.
68238 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
68240         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
68241         * sysdeps/powerpc/fpu_control.h: ... here.
68242         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
68243         * sysdeps/powerpc/bits/fenvinline.h: ... here.
68244         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
68245         * sysdeps/powerpc/bits/mathinline.h: ... here.
68247 2013-03-01  Roland McGrath  <roland@hack.frob.com>
68249         * elf/dl-hwcaps.c (_dl_important_hwcaps):
68250         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
68251         to just [NEED_DL_SYSINFO_DSO].
68252         * elf/dl-support.c: Likewise.
68253         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
68254         * elf/rtld.c (dl_main): Likewise.
68255         * elf/setup-vdso.h (setup_vdso): Likewise.
68256         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
68257         * sysdeps/unix/sysv/linux/dl-sysdep.c
68258         (_dl_discover_osversion): Likewise.
68260 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
68262         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
68263         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68265 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
68267         * NEWS: Mention libm performance improvements and non-x86 PI
68268         futex support.
68270         * csu/libc-start.c (__pthread_initialize_minimal): Change
68271         function arguments.
68272         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68274 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
68276         [BZ #13550]
68277         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
68278         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
68279         <bp-sym.h> and <bp-asm.h>.
68280         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68281         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
68282         and <bp-asm.h>.
68283         (memcpy): Don't use BP_SYM.
68284         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
68285         <bp-asm.h>.
68286         (__mpn_add_n): Don't use BP_SYM.
68287         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
68288         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
68289         and <bp-asm.h>.
68290         (__mpn_addmul_1): Don't use BP_SYM.
68291         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68292         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
68293         <bp-sym.h>.
68294         (_setjmp): Don't use BP_SYM.
68295         (__novmx_setjmp): Likewise.
68296         (__GI__setjmp): Likewise.
68297         (__vmx_setjmp): Likewise.
68298         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
68299         <bp-sym.h>.
68300         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
68301         (__bzero): Don't use BP_SYM.
68302         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68303         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68304         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68305         <bp-sym.h> and <bp-asm.h>.
68306         (memcpy): Don't use BP_SYM.
68307         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
68308         <bp-sym.h> and <bp-asm.h>.
68309         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68310         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
68311         <bp-sym.h> and <bp-asm.h>.
68312         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68313         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
68314         <bp-asm.h>.
68315         (__mpn_lshift): Don't use BP_SYM.
68316         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68317         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
68318         <bp-asm.h>.
68319         (memset): Don't use BP_SYM.
68320         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68321         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68322         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
68323         <bp-asm.h>.
68324         (__mpn_mul_1): Don't use BP_SYM.
68325         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68326         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68327         <bp-sym.h> and <bp-asm.h>.
68328         (memcmp): Don't use BP_SYM.
68329         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
68330         <bp-sym.h> and <bp-asm.h>.
68331         (memcpy): Don't use BP_SYM.
68332         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
68333         <bp-sym.h> and <bp-asm.h>.
68334         (memset): Don't use BP_SYM.
68335         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
68336         <bp-sym.h> and <bp-asm.h>.
68337         (strncmp): Don't use BP_SYM.
68338         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
68339         <bp-sym.h> and <bp-asm.h>.
68340         (memcpy): Don't use BP_SYM.
68341         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
68342         <bp-sym.h> and <bp-asm.h>.
68343         (memset): Don't use BP_SYM.
68344         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
68345         <bp-sym.h> and <bp-asm.h>.
68346         (__memchr): Don't use BP_SYM.
68347         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
68348         <bp-sym.h> and <bp-asm.h>.
68349         (memcmp): Don't use BP_SYM.
68350         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
68351         <bp-sym.h> and <bp-asm.h>.
68352         (memcpy): Don't use BP_SYM.
68353         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
68354         <bp-sym.h> and <bp-asm.h>.
68355         (__mempcpy): Don't use BP_SYM.
68356         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
68357         <bp-sym.h> and <bp-asm.h>.
68358         (__memrchr): Don't use BP_SYM.
68359         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
68360         <bp-sym.h> and <bp-asm.h>.
68361         (memset): Don't use BP_SYM.
68362         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
68363         <bp-sym.h> and <bp-asm.h>.
68364         (__rawmemchr): Don't use BP_SYM.
68365         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
68366         <bp-sym.h> and <bp-asm.h>.
68367         (__STRCMP): Don't use BP_SYM.
68368         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
68369         <bp-sym.h> and <bp-asm.h>.
68370         (strchr): Don't use BP_SYM.
68371         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
68372         <bp-sym.h> and <bp-asm.h>.
68373         (__strchrnul): Don't use BP_SYM.
68374         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68375         <bp-sym.h> and <bp-asm.h>.
68376         (strlen): Don't use BP_SYM.
68377         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68378         <bp-sym.h> and <bp-asm.h>.
68379         (strncmp): Don't use BP_SYM.
68380         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68381         <bp-sym.h> and <bp-asm.h>.
68382         (__strnlen): Don't use BP_SYM.
68383         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68384         <bp-asm.h>.
68385         (__mpn_rshift): Don't use BP_SYM.
68386         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68387         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68388         <bp-sym.h> and <bp-asm.h>.
68389         (__sigsetjmp): Don't use BP_SYM.
68390         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68391         (L(start_addresses)): Don't use BP_SYM.
68392         (_start): Likewise.
68393         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68394         <bp-asm.h>.
68395         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68396         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68397         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68398         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68399         <bp-asm.h>.
68400         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68401         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68402         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68403         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68404         <bp-asm.h>.
68405         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68406         comments.
68407         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68408         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68409         <bp-asm.h>.
68410         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
68411         FIXME comments.
68412         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68413         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68414         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68415         <bp-asm.h>.
68416         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68417         comment.
68418         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68419         and <bp-asm.h>.
68420         (strncmp): Don't use BP_SYM,
68421         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68422         <bp-asm.h>.
68423         (__mpn_sub_n): Don't use BP_SYM.
68424         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68425         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68426         and <bp-asm.h>.
68427         (__mpn_submul_1): Don't use BP_SYM.
68428         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68430         <bp-sym.h> and <bp-asm.h>.
68431         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68433         <bp-sym.h> and <bp-asm.h>.
68434         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68435         comment.
68437 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68440         Use ZK to minimize writes to Z.
68441         (sub_magnitudes): Simplify code a bit.
68442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68443         Use ZK to minimize writes to Z.
68444         (sub_magnitudes): Simplify code a bit.
68446 2013-02-27  Roland McGrath  <roland@hack.frob.com>
68448         * csu/gmon-start.c: Add special exception to license text.
68450 2013-02-27  Richard Henderson  <rth@redhat.com>
68452         * scripts/config.guess: Update from config.git.
68453         * scripts/config.sub: Likewise.
68455 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68457         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68459         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68461         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68463         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68465         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68467 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68469         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68470         [$(build-shared = yes].
68472 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68474         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68475         (__mul): Reduce iterations for calculating mantissa.
68477         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68478         MPTWO.
68479         (__mpranred): Likewise.
68481         [BZ #15160]
68482         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68483         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68485 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68487         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68488         Define __attribute__.
68490 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68492         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68493         unused.
68494         * posix/regex_internal.h (__attribute): Remove.
68495         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68496         (re_string_context_at): Likewise.
68497         (bitset_not): Use __attribute__ and mark function as possibly
68498         unused.
68499         (bitset_merge): Likewise.
68500         (bitset_mask): Likewise.
68501         (re_string_char_size_at): Likewise.
68502         (re_string_wchar_at): Likewise.
68503         (re_string_elem_size_at): Likewise.
68505 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68507         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68508         code.
68509         (cc32): Likewise.
68511         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68512         (__acr): Likewise.
68513         (__cpy): Likewise.
68514         (norm): Likewise.
68515         (denorm): Likewise.
68516         (__dbl_mp): Likewise.
68517         (add_magnitudes): Likewise.
68518         (sub_magnitudes): Likewise.
68519         (__mul): Likewise.
68520         (__inv): Likewise.
68522         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68523         style.
68525         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68526         style.
68528         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68529         code.
68531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68532         up changes with default code.
68533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68534         Likewise.
68536 2013-02-24  Allan McRae  <allan@archlinux.org>
68538         * manual/socket.texi (The Internet Namespace): Order menu items
68539         to match that in the file.
68541         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68542         node listing of the info page menu.
68544 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68546         [BZ #13550]
68547         * sysdeps/i386/bp-asm.h: Remove file.
68548         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68549         (PARMS): Do not use macros from bp-asm.h.
68550         (S1): Likewise.
68551         (S2): Likewise.
68552         (SIZE): Likewise.
68553         (__mpn_add_n): Do not use BP_SYM
68554         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68555         "bp-asm.h".
68556         (PARMS): Do not use macros from bp-asm.h.
68557         (S1): Likewise.
68558         (SIZE): Likewise.
68559         (__mpn_addmul_1): Do not use BP_SYM
68560         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68561         "bp-asm.h".
68562         (PARMS): Do not use macros from bp-asm.h.
68563         (SIGMSK): Likewise.
68564         (_setjmp): Likewise.  Do not use BP_SYM.
68565         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
68566         "bp-asm.h".
68567         (PARMS): Do not use macros from bp-asm.h.
68568         (SIGMSK): Likewise.
68569         (setjmp): Likewise.  Do not use BP_SYM.
68570         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
68571         "bp-asm.h".
68572         (PARMS): Do not use macros from bp-asm.h.
68573         (__frexp): Do not use BP_SYM.
68574         (frexp): Likewise.
68575         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68576         "bp-asm.h".
68577         (PARMS): Do not use macros from bp-asm.h.
68578         (__frexpf): Do not use BP_SYM.
68579         (frexpf): Likewise.
68580         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68581         "bp-asm.h".
68582         (PARMS): Do not use macros from bp-asm.h.
68583         (__frexpl): Do not use BP_SYM.
68584         (frexpl): Likewise.
68585         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68586         "bp-asm.h".
68587         (PARMS): Do not use macros from bp-asm.h.
68588         (__remquo): Do not use BP_SYM.
68589         (remquo): Likewise.
68590         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68591         "bp-asm.h".
68592         (PARMS): Do not use macros from bp-asm.h.
68593         (__remquof): Do not use BP_SYM.
68594         (remquof): Likewise.
68595         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68596         "bp-asm.h".
68597         (PARMS): Do not use macros from bp-asm.h.
68598         (__remquol): Do not use BP_SYM.
68599         (remquol): Likewise.
68600         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68601         "bp-asm.h".
68602         (PARMS): Do not use macros from bp-asm.h.
68603         (DEST): Likewise.
68604         (SRC): Likewise.
68605         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
68606         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68607         "bp-asm.h".
68608         (PARMS): Do not use macros from bp-asm.h.
68609         (strlen): Do not use BP_SYM.
68610         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68611         "bp-asm.h".
68612         (PARMS): Do not use macros from bp-asm.h.
68613         (S1): Likewise.
68614         (S2): Likewise.
68615         (SIZE): Likewise.
68616         (__mpn_add_n): Do not use BP_SYM.
68617         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68618         "bp-asm.h".
68619         (PARMS): Do not use macros from bp-asm.h.
68620         (S1): Likewise.
68621         (SIZE): Likewise.
68622         (__mpn_addmul_1): Do not use BP_SYM.
68623         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68624         weak_alias.
68625         (bzero): Likewise.
68626         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68627         "bp-asm.h".
68628         (PARMS): Do not use macros from bp-asm.h.
68629         (S): Likewise.
68630         (SIZE): Likewise.
68631         (__mpn_lshift): Do not use BP_SYM.
68632         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68633         "bp-asm.h".
68634         (PARMS): Do not use macros from bp-asm.h.
68635         (DEST): Likewise.
68636         (SRC): Likewise.
68637         (LEN): Likewise.
68638         (memcpy): Likewise.  Do not use BP_SYM.
68639         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68640         libc_hidden_def and weak_alias.
68641         (mempcpy): Do not use BP_SYM in weak_alias.
68642         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68643         "bp-asm.h".
68644         (PARMS): Do not use macros from bp-asm.h.
68645         (DEST): Likewise.
68646         (LEN): Likewise.
68647         [!BZERO_P] (CHR): Likewise.
68648         (memset): Likewise.  Do not use BP_SYM.
68649         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68650         "bp-asm.h".
68651         (PARMS): Do not use macros from bp-asm.h.
68652         (S1): Likewise.
68653         (SIZE): Likewise.
68654         (__mpn_mul_1): Do not use BP_SYM.
68655         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68656         "bp-asm.h".
68657         (PARMS): Do not use macros from bp-asm.h.
68658         (S): Likewise.
68659         (SIZE): Likewise.
68660         (__mpn_rshift): Do not use BP_SYM.
68661         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68662         "bp-asm.h".
68663         (PARMS): Do not use macros from bp-asm.h.
68664         (STR): Likewise.
68665         (CHR): Likewise.
68666         (strchr): Likewise.  Do not use BP_SYM.
68667         (index): Do not use BP_SYM in weak_alias.
68668         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68669         "bp-asm.h".
68670         (PARMS): Do not use macros from bp-asm.h.
68671         (DEST): Likewise.
68672         (SRC): Likewise.
68673         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
68674         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68675         "bp-asm.h".
68676         (PARMS): Do not use macros from bp-asm.h.
68677         (strlen): Do not use BP_SYM.
68678         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68679         "bp-asm.h".
68680         (PARMS): Do not use macros from bp-asm.h.
68681         (S1): Likewise.
68682         (S2): Likewise.
68683         (SIZE): Likewise.
68684         (__mpn_sub_n): Do not use BP_SYM.
68685         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68686         "bp-asm.h".
68687         (PARMS): Do not use macros from bp-asm.h.
68688         (S1): Likewise.
68689         (SIZE): Likewise.
68690         (__mpn_submul_1): Do not use BP_SYM.
68691         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68692         "bp-asm.h".
68693         (PARMS): Do not use macros from bp-asm.h.
68694         (S1): Likewise.
68695         (S2): Likewise.
68696         (SIZE): Likewise.
68697         (__mpn_add_n): Do not use BP_SYM.
68698         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68699         weak_alias.
68700         (bzero): Likewise.
68701         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68702         "bp-asm.h".
68703         (PARMS): Do not use macros from bp-asm.h.
68704         (BLK2): Likewise.
68705         (LEN): Likewise.
68706         (memcmp): Do not use BP_SYM.
68707         (bcmp): Do not use BP_SYM in weak_alias.
68708         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68709         "bp-asm.h".
68710         (PARMS): Do not use macros from bp-asm.h.
68711         (DEST): Likewise.
68712         (SRC): Likewise.
68713         (LEN): Likewise.
68714         (memcpy): Likewise.  Do not use BP_SYM.
68715         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68716         "bp-asm.h".
68717         (PARMS): Do not use macros from bp-asm.h.
68718         (DEST): Likewise.
68719         (SRC): Likewise.
68720         (LEN): Likewise.
68721         (memmove): Likewise.  Do not use BP_SYM.
68722         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68723         "bp-asm.h".
68724         (PARMS): Do not use macros from bp-asm.h.
68725         (DEST): Likewise.
68726         (SRC): Likewise.
68727         (LEN): Likewise.
68728         (__mempcpy): Likewise.  Do not use BP_SYM.
68729         (mempcpy): Do not use BP_SYM in weak_alias.
68730         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
68731         "bp-asm.h".
68732         (PARMS): Do not use macros from bp-asm.h.
68733         (DEST): Likewise.
68734         (LEN): Likewise.
68735         [!BZERO_P] (CHR): Likewise.
68736         (memset): Likewise.  Do not use BP_SYM.
68737         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68738         "bp-asm.h".
68739         (PARMS): Do not use macros from bp-asm.h.
68740         (STR2): Likewise.
68741         (strcmp): Do not use BP_SYM.
68742         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68743         "bp-asm.h".
68744         (PARMS): Do not use macros from bp-asm.h.
68745         (STR): Likewise.
68746         (DELIM): Likewise.
68747         [USE_AS_STRTOK_R] (SAVE): Likewise.
68748         (FUNCTION): Likewise.  Do not use BP_SYM.
68749         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68750         aliases.
68751         (strtok_r): Likewise.
68752         (__GI___strtok_r): Likewise.
68753         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68754         (PARMS): Do not use macros from bp-asm.h.
68755         (S): Likewise.
68756         (SIZE): Likewise.
68757         (__mpn_lshift): Do not use BP_SYM.
68758         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68759         (PARMS): Do not use macros from bp-asm.h.
68760         (STR): Likewise.
68761         (CHR): Likewise.
68762         (__memchr): Do not use BP_SYM.
68763         (memchr): Do not use BP_SYM in weak_alias.
68764         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68765         (PARMS): Do not use macros from bp-asm.h.
68766         (BLK2): Likewise.
68767         (LEN): Likewise.
68768         (memcmp): Do not use BP_SYM.
68769         (bcmp): Do not use BP_SYM in weak_alias.
68770         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68771         (PARMS): Do not use macros from bp-asm.h.
68772         (S1): Likewise.
68773         (SIZE): Likewise.
68774         (__mpn_mul_1): Do not use BP_SYM.
68775         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68776         "bp-asm.h".
68777         (PARMS): Do not use macros from bp-asm.h.
68778         (STR): Likewise.
68779         (CHR): Likewise.
68780         (__rawmemchr): Do not use BP_SYM.
68781         (rawmemchr): Do not use BP_SYM in weak_alias.
68782         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68783         (PARMS): Do not use macros from bp-asm.h.
68784         (S): Likewise.
68785         (SIZE): Likewise.
68786         (__mpn_rshift): Do not use BP_SYM.
68787         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68788         (PARMS): Do not use macros from bp-asm.h.
68789         (SIGMSK): Likewise.
68790         (__sigsetjmp): Likewise.  Do not use BP_SYM.
68791         * sysdeps/i386/start.S: Do not include "bp-sym.h".
68792         (_start): Do not use BP_SYM.
68793         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
68794         (PARMS): Do not use macros from bp-asm.h.
68795         (DEST): Likewise.
68796         (SRC): Likewise.
68797         (__stpcpy): Likewise.  Do not use BP_SYM.
68798         (stpcpy): Do not use BP_SYM in weak_alias.
68799         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
68800         "bp-asm.h".
68801         (PARMS): Do not use macros from bp-asm.h.
68802         (DEST): Likewise.
68803         (SRC): Likewise.
68804         (LEN): Likewise.
68805         (__stpncpy): Likewise.  Do not use BP_SYM.
68806         (stpncpy): Do not use BP_SYM in weak_alias.
68807         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68808         (PARMS): Do not use macros from bp-asm.h.
68809         (STR): Likewise.
68810         (CHR): Likewise.
68811         (strchr): Likewise.  Do not use BP_SYM.
68812         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
68813         "bp-asm.h".
68814         (PARMS): Do not use macros from bp-asm.h.
68815         (STR): Likewise.
68816         (CHR): Likewise.
68817         (__strchrnul): Likewise.  Do not use BP_SYM.
68818         (strchrnul): Do not use BP_SYM in weak_alias.
68819         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
68820         "bp-asm.h".
68821         (PARMS): Do not use macros from bp-asm.h.
68822         (STOP): Likewise.
68823         (strcspn): Do not use BP_SYM.
68824         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
68825         "bp-asm.h".
68826         (PARMS): Do not use macros from bp-asm.h.
68827         (STR): Likewise.
68828         (STOP): Likewise.
68829         (strpbrk): Likewise.  Do not use BP_SYM.
68830         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
68831         "bp-asm.h".
68832         (PARMS): Do not use macros from bp-asm.h.
68833         (STR): Likewise.
68834         (CHR): Likewise.
68835         (strrchr): Likewise.  Do not use BP_SYM.
68836         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
68837         (PARMS): Do not use macros from bp-asm.h.
68838         (SKIP): Likewise.
68839         (strspn): Do not use BP_SYM.
68840         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
68841         (PARMS): Do not use macros from bp-asm.h.
68842         (STR): Likewise.
68843         (DELIM): Likewise.
68844         (SAVE): Likewise.
68845         (FUNCTION): Likewise.  Do not use BP_SYM.
68846         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
68847         aliases.
68848         (strtok_r): Likewise.
68849         (__GI___strtok_r): Likewise.
68850         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68851         (PARMS): Do not use macros from bp-asm.h.
68852         (S1): Likewise.
68853         (S2): Likewise.
68854         (SIZE): Likewise.
68855         (__mpn_sub_n): Do not use BP_SYM.
68856         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
68857         "bp-asm.h".
68858         (PARMS): Do not use macros from bp-asm.h.
68859         (S1): Likewise.
68860         (SIZE): Likewise.
68861         (__mpn_submul_1): Do not use BP_SYM.
68862         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
68863         <bp-sym.h>.
68864         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
68865         and <bp-asm.h>.
68866         (PARMS): Do not use macros from bp-asm.h.
68867         (FLAGS): Likewise.
68868         (PTID): Likewise.
68869         (TLS): Likewise.
68870         (CTID): Likewise.
68871         (__clone): Do not use BP_SYM.
68872         (clone): Do not use BP_SYM in weak_alias.
68873         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
68874         and <bp-asm.h>.
68875         (PARMS): Do not use macros from bp-asm.h.
68876         (LEN): Likewise.
68877         (__mmap64): Do not use BP_SYM.
68878         (mmap64): Do not use BP_SYM in weak_alias.
68879         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68880         <bp-sym.h> and <bp-asm.h>.
68881         (PARMS): Do not use macros from bp-asm.h.
68882         (__posix_fadvise64_l64): Do not use BP_SYM.
68883         * sysdeps/unix/sysv/linux/i386/semtimedop.S
68884         (PARMS): Do not use macros from bp-asm.h.
68885         (NSOPS): Likewise.
68886         (semtimedop): Do not use BP_SYM.
68887         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
68888         and <bp-asm.h>.
68890 2013-02-21  Allan McRae  <allan@archlinux.org>
68892         * manual/message.texi (Charset conversion in gettext):
68893         Move @end statement to beginning of line.
68895 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
68898         static.
68899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68900         Likewise.
68902         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
68903         (denorm): Likewise.
68904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
68905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
68907 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68909         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
68910         tail-call to the resolved function if pltexit isn't needed.
68912 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
68915         or Y being zero as being unlikely.
68916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68917         Likewise.
68919 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
68921         * manual/nss.texi (System Databases and Name Service Switch):
68922         Remove frobnicate @pxref.
68924 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68926         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68927         __attribute__ ((unused)) to __attribute__ ((__unused__)).
68929 2013-02-20  Petr Machata  <pmachata@redhat.com>
68931         * elf/elf.h (R_ARM_TARGET1): New macro.
68932         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
68933         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
68934         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
68935         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
68936         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
68937         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
68938         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
68939         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
68940         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
68941         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
68942         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
68943         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
68944         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
68945         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
68946         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
68947         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
68948         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
68949         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
68950         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
68951         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
68952         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
68953         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
68954         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
68955         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
68956         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
68957         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
68958         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
68959         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
68960         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
68961         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
68962         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
68963         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
68964         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
68965         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
68966         (R_ARM_THM_GOT_BREL12): Likewise.
68967         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
68968         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
68969         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
68970         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
68971         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
68972         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
68973         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
68974         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
68975         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
68977 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68979         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68980         __attribute_used__ to __attribute__ ((unused)).
68982 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68984         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
68985         powerpc mpa.c.
68986         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
68987         comment formatting.
68988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
68990 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
68992         [BZ #13550]
68993         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
68994         Remove macro.
68995         (ENTER): Remove both macro definitions.
68996         (LEAVE): Likewise.
68997         (CHECK_BOUNDS_LOW): Likewise.
68998         (CHECK_BOUNDS_HIGH): Likewise.
68999         (CHECK_BOUNDS_BOTH): Likewise.
69000         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
69001         (RETURN_BOUNDED_POINTER): Likewise.
69002         (RETURN_NULL_BOUNDED_POINTER): Likewise.
69003         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
69004         (POP_ERRNO_LOCATION_RETURN): Likewise.
69005         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
69006         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69007         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
69008         macros.
69009         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69010         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
69011         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
69012         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
69013         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
69014         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
69015         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
69016         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
69017         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
69018         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
69019         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
69020         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
69021         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69022         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
69023         removed macros.
69024         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69025         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
69026         macros.
69027         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69028         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
69029         * sysdeps/i386/i586/memset.S (memset): Likewise.
69030         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
69031         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69032         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
69033         macros.
69034         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69035         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
69036         Change uses of L(2) to L(out).
69037         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
69038         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
69039         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
69040         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69041         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
69042         removed macros.
69043         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69044         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
69045         macros.
69046         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69047         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
69048         (RETURN): Do not use macro LEAVE.
69049         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69050         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
69051         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
69052         * sysdeps/i386/i686/memset.S (memset): Likewise.
69053         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
69054         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
69055         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69056         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
69057         Likewise.
69058         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69059         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
69060         L(1_2) and L(1_3) into L(1).
69061         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69062         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
69063         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69064         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
69065         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69066         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
69067         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
69068         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69069         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
69070         macros.
69071         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
69072         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69073         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
69074         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
69075         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
69076         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69077         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
69078         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69079         * sysdeps/i386/strcspn.S (strcspn): Likewise.
69080         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69081         * sysdeps/i386/strrchr.S (strrchr): Likewise.
69082         * sysdeps/i386/strspn.S (strspn): Likewise.
69083         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69084         conditional code.
69085         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69086         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69087         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69088         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
69089         L(1_3) into L(1_1).
69090         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69091         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69092         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69093         macros.
69094         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69096 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
69098         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69099         macro.
69101 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69103         * math/atest-exp.c (exp_mpn): Remove ROUND.
69104         * math/atest-exp2.c (exp_mpn): Likewise.
69105         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69107         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69108         * stdlib/tst-tls-atexit-lib.c: Likewise.
69109         * stdlib/tst-tls-atexit.c: Likewise.
69111 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69113         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69114         and __attribute_alloc_size__.
69116 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69118         * include/programs/xmalloc.h: Change __attribute_alloc_size to
69119         __attribute_alloc_size__.
69120         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69121         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69123 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69125         * include/programs/xmalloc.h: New file.
69126         * catgets/gencat.c: Include it.
69127         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69128         * elf/pldd.c: Likewise.
69129         * iconv/iconv_charmap.c: Likewise.
69130         * iconv/iconvconfig.c: Likewise.
69131         * iconv/strtab.c: Likewise.
69132         * locale/programs/locale.c: Likewise.
69133         * locale/programs/localedef.h: Likewise.
69134         * locale/programs/simple-hash.c: Likewise.
69135         * nscd/nscd.h: Likewise.
69136         * nss/makedb.c: Likewise.
69137         * sysdeps/generic/ldconfig.h: Likewise.
69139 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69141         * Versions.def: Add GLIBC_2.18.
69142         * include/link.h (struct link_map): New member l_tls_dtor_count.
69143         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69144         (__call_tls_dtors): Likewise.
69145         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69146         __cxa_thread_atexit_impl.
69147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69148         Likewise.
69149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69150         Likewise.
69151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
69152         Likewise.
69153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
69154         Likewise.
69155         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
69157         Likewise.
69158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
69159         Likewise.
69160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69162         Likewise.
69163         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
69164         (tests): Add test case tst-tls-atexit.
69165         (modules-names): Add shared library for tst-tls-atexit.
69166         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
69167         (GLIBC_PRIVATE): Add __call_tls_dtors.
69168         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69169         for libstdc++.
69170         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
69171         * stdlib/tst-tls-atexit.c: New test case.
69172         * stdlib/tst-tls-atexit-lib.c: New test case.
69174         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
69176         * elf/Versions (ld): Add _dl_find_dso_for_object.
69177         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
69178         * elf/dl-open.c (_dl_find_dso_for_object): New function.
69179         (dl_open_worker): Use _dl_find_dso_for_object.
69180         * elf/dl-sym.c (do_sym): Likewise.
69181         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
69183 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69185         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
69186         Syntactic changes only.
69187         (_dl_runtime_profile): Do a tail-call to the resolved function.
69189 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
69191         [BZ #13550]
69192         * sysdeps/x86_64/bp-asm.h: Remove file.
69193         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
69194         <bp-sym.h> and <bp-asm.h>.
69195         (__clone): Do not use BP_SYM.
69196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
69197         <bp-sym.h> and <bp-asm.h>.
69198         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69199         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
69200         "bp-asm.h".
69201         (_setjmp): Do not use BP_SYM.
69202         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
69203         "bp-asm.h".
69204         (setjmp): Do not use BP_SYM.
69205         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
69206         libc_hidden_def.
69207         (mempcpy): Do not use BP_SYM in weak_alias.
69208         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
69209         "bp-asm.h".
69210         (strchr): Do not use BP_SYM.
69211         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
69212         "bp-asm.h".
69213         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
69214         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
69215         (_start): Do not use BP_SYM.
69216         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
69217         "bp-asm.h".
69218         (strcat): Do not use BP_SYM.
69219         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
69220         "bp-asm.h".
69221         (STRCMP): Do not use BP_SYM.
69222         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
69223         "bp-asm.h".
69224         (STRCPY): Do not use BP_SYM.
69225         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
69226         "bp-asm.h".
69227         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
69228         "bp-asm.h".
69229         (FUNCTION): Do not use BP_SYM.
69230         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
69231         weak_alias.
69232         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
69234 2013-02-17  Andreas Jaeger  <aj@suse.de>
69236         * time/Versions: Sort entries.
69237         * string/Versions: Likewise.
69238         * resolv/Versions: Likewise.
69239         * posix/Versions: Likewise.
69240         * iconv/Versions: Likewise.
69241         * elf/Versions: Likewise.
69242         * wcsmbs/Versions: Likewise.
69244 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69246         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
69247         loop termination condition.
69249         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
69250         variable to calculate EZ.
69251         (__sqr): Likewise.
69253         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
69254         the lower precision input.
69256 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
69258         [BZ #13550]
69259         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
69260         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
69261         (run-via-rtld-prefix): Do not handle %-bp tests.
69262         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
69263         (all-object-suffixes): Remove .ob.
69264         (bppfx): Remove variable.
69265         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
69266         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
69267         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
69268         [$(build-bounded) = yes] (libtype.ob): Likewise.
69269         * Makerules (elide-routines.ob): Remove variable.
69270         (do-tests-clean): Do not handle *-bp.out.
69271         (common-mostlyclean): Do not handle *-bp and *-bp.out.
69272         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
69273         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
69274         (tests): Do not include $(tests-bp.out).
69275         (xtests): Do not include $(xtests-bp.out).
69276         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
69277         [$(build-bounded) = yes] ($(addprefix
69278         $(objpfx),$(binaries-bounded))): Remove rule.
69279         ($(objpfx)%-bp.out): Remove rule.
69280         * config.make.in (build-bounded): Remove variable.
69281         * crypt/Makefile [$(build-bounded) = yes]
69282         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
69283         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
69284         append to variable.
69285         [$(build-bounded) = yes] (install-lib): Likewise.
69286         [$(build-bounded) = yes] (generated): Likewise.
69287         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
69288         Remove rule.
69289         * intl/Makefile [$(build-bounded) = yes]
69290         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
69291         * math/Makefile [$(build-bounded) = yes]
69292         ($(tests:%=$(objpfx)%-bp): Likewise.
69293         * misc/Makefile [$(build-bounded) = yes]
69294         ($(objpfx)tst-tsearch-bp): Likewise.
69295         * nptl/Makeconfig (bounded-thread-library): Remove variable.
69296         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
69297         Remove dependency.
69298         * string/Makefile (o-objects.ob): Remove variable.
69299         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
69300         (CFLAGS-.ob): Remove variable.
69301         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69302         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
69303         both definitions of variable.
69304         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
69305         (ASFLAGS-.ob): Remove variable.
69307 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
69309         [BZ #13550]
69310         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
69311         Remove __BOUNDED_POINTERS__ from condition.
69312         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
69313         * string/bits/string2.h [!__NO_STRING_INLINES &&
69314         !__BOUNDED_POINTERS__]: Likewise.
69315         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
69316         Likewise.
69317         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
69318         Remove conditional code.
69319         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
69320         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
69321         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
69322         condition.
69324         [BZ #13550]
69325         * csu/libc-start.c: Do not include <bp-sym.h>.
69326         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
69327         * elf/dl-open.c: Do not include <bp-sym.h>.
69328         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
69329         * math/fegetenv.c: Do not include <bp-sym.h>.
69330         (fegetenv): Do not use BP_SYM in versioned symbols.
69331         * nptl/sysdeps/pthread/bits/libc-lockP.h
69332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
69333         <bp-sym.h>.
69334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69335         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
69336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69337         (__pthread_mutex_destroy): Likewise.
69338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69339         (__pthread_mutex_lock): Likewise.
69340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69341         (__pthread_mutex_trylock): Likewise.
69342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69343         (__pthread_mutex_unlock): Likewise.
69344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69345         (__pthread_mutexattr_init): Likewise.
69346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69347         (__pthread_mutexattr_destroy): Likewise.
69348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69349         (__pthread_mutexattr_settype): Likewise.
69350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69351         (__pthread_rwlock_init): Likewise.
69352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69353         (__pthread_rwlock_destroy): Likewise.
69354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69355         (__pthread_rwlock_rdlock): Likewise.
69356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69357         (__pthread_rwlock_tryrdlock): Likewise.
69358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69359         (__pthread_rwlock_wrlock): Likewise.
69360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69361         (__pthread_rwlock_trywrlock): Likewise.
69362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69363         (__pthread_rwlock_unlock): Likewise.
69364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69365         (__pthread_key_create): Likewise.
69366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69367         (__pthread_setspecific): Likewise.
69368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69369         (__pthread_getspecific): Likewise.
69370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
69371         Likewise.
69372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69373         (_pthread_cleanup_push_defer): Likewise.
69374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69375         (_pthread_cleanup_pop_restore): Likewise.
69376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69377         (pthread_setcancelstate): Likewise.
69378         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69379         <bp-sym.h>.
69380         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69381         (memchr): Do not use BP_SYM in weak_alias.
69382         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69383         (fegetenv): Do not use BP_SYM in versioned symbols.
69384         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69385         (fesetenv): Do not use BP_SYM in versioned symbols.
69386         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69387         (feupdateenv): Do not use BP_SYM in versioned symbols.
69388         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69389         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69390         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69391         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69392         (open64): Do not use BP_SYM in weak_alias.
69393         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69394         (fegetenv): Do not use BP_SYM in versioned symbols.
69395         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69396         (fesetenv): Do not use BP_SYM in versioned symbols.
69397         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69398         (feupdateenv): Do not use BP_SYM in versioned symbols.
69399         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69400         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69401         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69402         (feraiseexcept): Do not use BP_SYM in versioned symbols.
69403         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69404         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69405         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69406         <bp-sym.h>.
69407         (__libc_start_main): Do not use BP_SYM.
69409 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69412         redundant return line.
69413         (norm): Likewise.
69414         (denorm): Likewise.
69415         (dbl_mp): Likewise.
69416         (sub_magnitudes): Likewise.
69417         (__add): Likewise.
69418         (__sub): Likewise.
69419         (__mul): Likewise.
69420         (__inv): Likewise.
69421         (__dvd): Likewise.
69422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69423         (norm): Likewise.
69424         (denorm): Likewise.
69425         (dbl_mp): Likewise.
69426         (sub_magnitudes): Likewise.
69427         (__add): Likewise.
69428         (__sub): Likewise.
69429         (__mul): Likewise.
69430         (__inv): Likewise.
69431         (__dvd): Likewise.
69433         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69434         instead of __mul.
69435         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69436         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69437         (cc32): Likewise.
69439         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69440         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69441         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69442         of __mul for squares.
69443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69444         function
69445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69446         Likewise.
69447         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69448         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69450 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
69452         [BZ #13550]
69453         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69454         code.
69455         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69456         prototype or function definition.  Rename ubp_* variables and
69457         parameters.  Remove argv definitions conditional on
69458         [__BOUNDED_POINTERS__].
69459         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69460         * elf/dl-runtime.c (_dl_fixup): Likewise.
69461         * include/set-hooks.h (RUN_HOOK): Likewise.
69462         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69463         definition.
69464         * string/strcpy.c (strcpy): Do not use __unbounded.
69465         * sysdeps/generic/frame.h (struct layout): Likewise.
69466         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69467         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69468         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69469         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69470         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69471         (__backtrace): Likewise.
69472         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69473         use __ptrvalue.
69474         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69475         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69476         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69477         Likewise.
69478         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69479         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69480         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69481         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69482         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69483         Do not use __unbounded.
69484         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69485         Rename __unboundedrlimits parameter to rlimits in prototype.
69486         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69487         Do not use __unbounded.
69488         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69489         not use __ptrvalue.
69490         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69491         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69492         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69493         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69494         __ptrvalue or __unbounded.
69495         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69496         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69497         use __unbounded.
69498         (__new_msgctl): Do not use __ptrvalue.
69499         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69500         __unbounded.
69501         (__libc_msgrcv): Do not use __ptrvalue.
69502         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69503         startup_info): Do not use __unbounded.
69504         (__libc_start_main): Likewise.  Rename ubp_* variables and
69505         parameters.  Remove argv definitions conditional on
69506         [__BOUNDED_POINTERS__].
69507         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69508         __ptrvalue.
69509         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69510         use __unbounded.
69511         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69512         or __ptrvalue.
69513         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69514         use __unbounded.
69515         (__new_shmctl): Do not use __ptrvalue.
69516         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69517         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69518         Likewise.
69519         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69520         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69521         (__libc_sigaction): Likewise.
69522         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69523         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69524         Likewise.
69525         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69527 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69529         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69531         * string/mempcpy.c: Implement by calling memcpy.
69533 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69538         evaluation.
69540         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69541         values in the mantissa.
69543         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69544         minimize writes to Z.
69545         (sub_magnitudes): Simplify code a bit.
69547 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69549         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69550         from the message.  The linker prefixes all warnings with that already.
69552 2013-02-12  Andreas Schwab  <schwab@suse.de>
69554         [BZ #15078]
69555         * posix/regexec.c (extend_buffers): Add parameter min_len.
69556         (check_matching): Pass minimum needed length.
69557         (clean_state_log_if_needed): Likewise.
69558         (get_subexp): Likewise.
69559         * posix/Makefile (tests): Add bug-regex34.
69560         (bug-regex34-ENV): Define.
69561         * posix/bug-regex34.c: New file.
69563         [BZ #11561]
69564         * posix/regcomp.c (parse_bracket_exp): When looking up collating
69565         elements compare against the byte sequence of it, not its name.
69566         * posix/Makefile (tests): Add bug-regex35.
69567         (bug-regex35-ENV): Define.
69568         * posix/bug-regex35.c: New file.
69570 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69572         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
69573         comment.
69574         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69575         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69576         (CHECK_EOL): Add undef.
69578 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
69580         * bits/stdlib-bsearch.h: New file.
69581         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69582         * stdlib/stdlib.h: Likewise.
69584 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69586         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69587         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69588         declaration.
69589         * manual/search.texi (Array Search Function): Add missing const in
69590         lfind prototype.
69591         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69592         declaration to use rlim_t.
69593         (Basic Scheduling Functions): Remove erroneous const from
69594         sched_getparam prototype.  Remove erroneous * from
69595         sched_get_priority_max and sched_get_priority_min prototypes.
69596         (Resource Usage): Fix summary @comment on vtimes to refer to
69597         sys/vtimes.h rather than vtimes.h.
69598         Add missing *s in vtimes prototype.
69599         (Limits on Resources): Fix ulimit prototype to return long int.
69600         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69601         prototypes to use long int rather than double.
69602         (BSD Random): Fix initstate and setstate to use char *, not void *.
69603         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69604         prototype to make second argument 'struct aiocb64 *const[]'.
69605         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69606         (Status of AIO Operations): Remove erroneous const in aio_return and
69607         aio_return64 prototypes.
69608         (Synchronizing I/O): Fix sync prototype to return void.
69609         * manual/startup.texi (Suboptions): Remove an erroneous const in
69610         getsubopt prototype.
69611         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69612         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69613         use size_t rather than int.
69614         (Scanning All Users): Likewise for getpwent_r.
69615         (Setting Groups): Add missing const to setgroups prototype.
69616         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69617         * manual/socket.texi (Host Names): Fix gethostbyaddr and
69618         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69619         'const void *' rather than 'const char *'.
69620         (Host Address Functions): Likewise for inet_ntop.
69621         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69622         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69623         ssize_t for return value.
69624         (Sending Data): Likewise for send, sendto, sendmsg.
69625         (Socket Option Functions): Add a missing const in setsockopt prototype.
69626         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69627         use wchar_t for the argument.
69628         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69629         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69630         take no arguments.
69631         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69632         double/float/long double for second argument.
69633         Fix return types of significand, significandf, significandl.
69634         * manual/filesys.texi (Setting Permissions): Use mode_t for second
69635         argument in fchmod prototype.
69636         (File Owner): Use uid_t and gid_t in fchown prototype.
69637         (File Times): Add const to utimes, futimes, and lutimes prototypes.
69638         (Making Special Files): Use mode_t and dev_t in mknod prototype.
69639         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69640         use 'const struct dirent **' as argument types to CMP function pointer
69641         argument.
69642         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69643         (File Times): Fix summary magic @comment for struct utimbuf and utime
69644         to refer to utime.h, not time.h.
69645         * manual/string.texi (Argz Functions): Add missing const in
69646         argz_extract and argz_next prototypes.
69647         (Finding Tokens in a String): Likewise for basename.
69648         (String/Array Comparison): Fix typo in wcscasecmp prototype.
69649         (Copying and Concatenation): Fix typo in wmemmove prototype.
69650         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69651         (Signal Stack): Remove erroneous const in sigstack prototype.
69652         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69653         prototype.
69654         (Simple Calendar Time): Likewise for stime.
69655         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69656         prototype.
69657         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69658         say sys/sysctl.h instead.
69659         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69660         and vsyslog prototypes.
69662 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69664         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69665         Remove.
69667 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69669         * misc/sys/mman.h: Fix typo in mremap comment.
69671 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69673         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69674         the '\0' terminator.
69676 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69678         [BZ #13550]
69679         * debug/segfault.c: Don't include <bp-checks.h>.
69680         * sysdeps/generic/bp-checks.h: Remove file.
69681         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69682         (__GETDENTS): Don't use CHECK_N.
69683         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69684         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69685         (__getgroups): Don't use CHECK_N.
69686         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69687         (setgroups): Don't use CHECK_N.
69688         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69689         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69690         (__libc_msgrcv): Don't use CHECK_N.
69691         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69692         (__libc_msgsnd): Don't use CHECK_N.
69693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69694         <bp-checks.h>.
69695         (__libc_pread): Don't use CHECK_N.
69696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69697         include <bp-checks.h>.
69698         (__libc_pread64): Don't use CHECK_N.
69699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69700         include <bp-checks.h>.
69701         (__libc_pwrite): Don't use CHECK_N.
69702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69703         include <bp-checks.h>.
69704         (__libc_pwrite64): Don't use CHECK_N.
69705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69706         <bp-checks.h>.
69707         (__libc_pread): Don't use CHECK_N.
69708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69709         include <bp-checks.h>.
69710         (__libc_pread64): Don't use CHECK_N.
69711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69712         include <bp-checks.h>.
69713         (__libc_pwrite): Don't use CHECK_N.
69714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69715         include <bp-checks.h>.
69716         (__libc_pwrite64): Don't use CHECK_N.
69717         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69718         (do_pread): Don't use CHECK_N.
69719         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69720         (do_pread64): Don't use CHECK_N.
69721         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69722         (do_pwrite): Don't use CHECK_N.
69723         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69724         (do_pwrite64): Don't use CHECK_N.
69725         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69726         (__libc_readv): Don't use CHECK_N.
69727         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69728         (semop): Don't use CHECK_N.
69729         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69730         <bp-checks.h>.
69731         (semtimedop): Don't use CHECK_N.
69732         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69733         (__libc_pread): Don't use CHECK_N.
69734         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69735         <bp-checks.h>.
69736         (__libc_pread64): Don't use CHECK_N.
69737         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69738         <bp-checks.h>.
69739         (__libc_pwrite): Don't use CHECK_N.
69740         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69741         <bp-checks.h>.
69742         (__libc_pwrite64): Don't use CHECK_N.
69743         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69744         <bp-checks.h>.
69745         (__libc_msgrcv): Don't use CHECK_N.
69746         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69747         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
69748         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69749         (__libc_writev): Don't use CHECK_N.
69751 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69753         * string/strcpy.c: Removed unused variable.
69755         * Makeconfig (+sysdep-includes): Define with := rather than =.
69756         Use an existing include/ subdir of each sysdeps dir before it.
69758 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69760         * nscd/connection.c (register_traced_file): Comment function.
69761         [HAVE_INOTIFY] (union __inev): Define.
69762         [HAVE_INOTIFY] (inotify_check_files): New function.
69763         [HAVE_INOTIFY] (clear_db_cache): Likewise.
69764         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69765         clear_db_cache.
69766         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69768 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69770         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69771         loaded if not already and that a failure is permanent.
69773 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69775         [BZ #15006]
69776         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69777         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69779 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69781         [BZ #13550]
69782         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69783         (CHECK_1_NULL_OK): Likewise.
69784         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69785         (__fxstat): Do not use CHECK_1.
69786         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69787         <bp-checks.h>.
69788         (___fxstat64): Do not use CHECK_1.
69789         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69790         <bp-checks.h>.
69791         (__fxstatat): Do not use CHECK_1.
69792         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
69793         <bp-checks.h>.
69794         (__fxstatat64): Do not use CHECK_1.
69795         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
69796         <bp-checks.h>.
69797         (__fxstat): Do not use CHECK_1.
69798         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
69799         <bp-checks.h>.
69800         (__fxstatat): Do not use CHECK_1.
69801         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69802         <bp-checks.h>.
69803         (__getresgid): Do not use CHECK_1.
69804         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69805         <bp-checks.h>.
69806         (__getresuid): Do not use CHECK_1.
69807         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
69808         <bp-checks.h>.
69809         (__lxstat): Do not use CHECK_1.
69810         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69811         <bp-checks.h>.
69812         (__old_msgctl): Do not use CHECK_1.
69813         (__new_msgctl): Likewise.
69814         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
69815         <bp-checks.h>.
69816         (__new_setrlimit): Do not use CHECK_1.
69817         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69818         <bp-checks.h>.
69819         (__old_shmctl): Do not use CHECK_1.
69820         (__new_shmctl): Likewise.
69821         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
69822         <bp-checks.h>.
69823         (__xstat): Do not use CHECK_1.
69824         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
69825         (__lxstat): Do not use CHECK_1.
69826         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
69827         <bp-checks.h>.
69828         (___lxstat64): Do not use CHECK_1.
69829         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
69830         (__old_msgctl): Do not use CHECK_1.
69831         (__new_msgctl): Likewise.
69832         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
69833         <bp-checks.h>.
69834         (__gettimeofday): Do not use CHECK_1.
69835         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
69836         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
69837         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
69838         <bp-checks.h>.
69839         (__gettimeofday): Do not use CHECK_1.
69840         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
69841         (__old_shmctl): Do not use CHECK_1_NULL_OK.
69842         (__new_shmctl): Do not use CHECK_1.
69843         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
69844         <bp-checks.h>.
69845         (do_sigtimedwait): Do not use CHECK_1.
69846         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
69847         <bp-checks.h>.
69848         (do_sigwaitinfo): Do not use CHECK_1.
69849         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
69850         <bp-checks.h>.
69851         (msgctl): Do not use CHECK_1.
69852         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
69853         <bp-checks.h>.
69854         (shmctl): Do not use CHECK_1.
69855         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
69856         (ustat): Do not use CHECK_1.
69857         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
69858         <bp-checks.h>.
69859         (__fxstat): Do not use CHECK_1.
69860         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
69861         <bp-checks.h>.
69862         (__fxstatat): Do not use CHECK_1.
69863         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
69864         <bp-checks.h>.
69865         (__lxstat): Do not use CHECK_1.
69866         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
69867         <bp-checks.h>.
69868         (__xstat): Do not use CHECK_1.
69869         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
69870         (__xstat): Do not use CHECK_1.
69871         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
69872         (___xstat64): Do not use CHECK_1.
69874         [BZ #13550]
69875         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
69876         definitions.
69877         (CHECK_BOUNDS_HIGH): Likewise.
69878         * string/strcpy.c: Do not include <bp-checks.h>.
69879         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
69881 2013-02-07  Roland McGrath  <roland@hack.frob.com>
69883         * nscd/nscd-client.h (__nscd_drop_map_ref):
69884         Add __attribute__ ((unused)).
69885         * nis/nss-nisplus.h (niserr2nss): Likewise.
69887         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
69888         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
69890         * csu/libc-tls.c (init_static_tls, init_slotinfo):
69891         Remove inline keyword.
69892         * include/rounding-mode.h (round_away): Likewise.
69893         * libio/wfileops.c (adjust_wide_data): Likewise.
69894         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
69895         (__m128i_strloadu_tolower): Likewise.
69896         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
69897         (__m128i_strloadu_tolower): Likewise.
69898         * time/mktime.c (ydhms_diff): Likewise.
69899         * locale/elem-hash.h (elem_hash): Likewise.
69900         * locale/setlocale.c (setdata): Likewise.
69901         * posix/regex_internal.h (re_string_char_size_at): Likewise.
69902         (re_string_wchar_at): Likewise.
69903         (bitset_not, bitset_merge, bitset_mask): Likewise.
69904         [!(__GNUC__ > 3)] (inline): Remove macro.
69905         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
69906         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
69907         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
69908         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
69909         * string/memcmp.c (memcmp_bytes): Likewise.
69910         * locale/programs/locarchive.c (compute_hashval): Likewise.
69911         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
69912         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
69913         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
69914         * nss/getent.c (print_rpc, print_protocols): Likewise.
69915         (print_passwd, print_group, print_aliases): Likewise.
69916         * nis/nss-nisplus.h (niserr2nss): Likewise.
69917         * nscd/connections.c (restart_p): Likewise.
69918         Change return type to bool.
69920 2013-02-05  Roland McGrath  <roland@hack.frob.com>
69922         * Makeconfig (all-Depend-files): Add existing
69923         $(sorted-subdirs:=/Depend) files.
69924         (all-subdirs): Remove nss.
69925         * sysdeps/unix/inet/Subdirs: Add it here instead.
69926         * hesiod/Depend: New file.
69928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
69929         instead of calling alloca.
69931         * io/lseek.c (__lseek): Rename to __libc_lseek.
69932         Define __lseek as an alias.
69934         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
69936 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
69938         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
69939         else clause and remove check for non-standard endianness.
69941 2013-02-04  David S. Miller  <davem@davemloft.net>
69943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69945 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
69947         [BZ #13550]
69948         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
69949         (__ubp_memchr): Remove prototype.
69950         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
69951         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69952         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
69953         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69954         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
69955         Remove alias.
69956         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
69957         (__ubp_memchr): Likewise.
69958         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
69959         (__ubp_memchr): Likewise.
69960         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
69961         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
69962         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
69963         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
69964         CHECK_STRING.
69965         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
69966         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
69967         (__getcwd): Do not use CHECK_STRING.
69968         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69969         <bp-checks.h>.
69970         (__real_chown): Do not use CHECK_STRING.
69971         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
69972         <bp-checks.h>.
69973         (fchownat): Do not use CHECK_STRING.
69974         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
69975         CHECK_STRING.
69976         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69977         <bp-checks.h>.
69978         (__lchown): Do not use CHECK_STRING.
69979         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69980         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69981         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69982         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
69983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69984         include <bp-checks.h>.
69985         (truncate64): Do not use CHECK_STRING.
69986         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69987         <bp-checks.h>.
69988         (__real_chown): Do not use CHECK_STRING.
69989         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69990         <bp-checks.h>.
69991         (__lchown): Do not use CHECK_STRING.
69992         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69993         <bp-checks.h>.
69994         (__chown): Do not use CHECK_STRING.
69995         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
69996         <bp-checks.h>.
69997         (truncate64): Do not use CHECK_STRING.
69998         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
69999         Likewise.
70000         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
70001         (__xmknod): Do not use CHECK_STRING.
70002         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
70003         <bp-checks.h>.
70004         (__xmknodat): Do not use CHECK_STRING.
70005         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70006         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
70008 2013-02-04  Andreas Schwab  <schwab@suse.de>
70010         [BZ #14142]
70011         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
70012         * include/netdb.h: Likewise for h_errno.
70013         * elf/tst-stackguard1.c: Include <tls.h>.
70015 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
70017         * elf/link.h (struct link_map): Extend the l_addr comment.
70018         * include/link.h (struct link_map): Likewise.
70020 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
70022         [BZ #13550]
70023         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
70024         (BOUNDED_1): Remove macro.
70025         * debug/backtrace.c: Don't include <bp-checks.h>.
70026         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
70027         (__backtrace): Likewise.
70028         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
70029         <bp-checks.h>.
70030         (__backtrace): Don't use BOUNDED_1.
70031         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
70032         <bp-checks.h>.
70033         (__backtrace): Don't use BOUNDED_1.
70034         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
70035         (__backtrace): Don't use BOUNDED_1.
70036         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
70037         (shmat): Don't use BOUNDED_N.
70039 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
70041         [BZ #13550]
70042         * sysdeps/generic/bp-start.h: Remove file.
70043         * csu/libc-start.c: Don't include <bp-start.h>.
70044         (LIBC_START_MAIN): Set up __environ directly instead of using
70045         INIT_ARGV_and_ENVIRON.
70046         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
70047         <bp-start.h>.
70049         [BZ #13550]
70050         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
70051         definitions.
70052         (CHECK_FCNTL): Likewise.
70053         (CHECK_N_PAGES): Likewise.
70055         [BZ #13550]
70056         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
70057         definitions.
70058         (CHECK_SIGSET_NULL_OK): Likewise.
70059         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
70060         <bp-checks.h>.
70061         (sigpending): Don't use CHECK_SIGSET.
70062         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
70063         <bp-checks.h>.
70064         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70065         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
70066         <bp-checks.h>.
70067         (do_sigsuspend): Don't use CHECK_SIGSET.
70068         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
70069         use CHECK_SIGSET.
70070         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
70071         (do_sigwait): Don't use CHECK_SIGSET.
70072         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
70073         use CHECK_SIGSET.
70074         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
70075         include <bp-checks.h>.
70076         (sigpending): Don't use CHECK_SIGSET.
70077         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
70078         include <bp-checks.h>.
70079         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70080         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70081         <bp-checks.h>.
70082         (sigpending): Don't use CHECK_SIGSET.
70083         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70084         <bp-checks.h>.
70085         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70087         [BZ #13550]
70088         * sysdeps/generic/bp-semctl.h: Remove file.
70089         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70090         <bp-checks.h> and <bp-semctl.h>.
70091         (__old_semctl): Don't use CHECK_SEMCTL.
70092         (__new_semctl): Likewise.
70093         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70094         and <bp-semctl.h>.
70095         (__old_semctl): Don't use CHECK_SEMCTL.
70096         (__new_semctl): Likewise.
70097         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70098         <bp-checks.h> and <bp-semctl.h>.
70099         (__old_semctl): Don't use CHECK_SEMCTL.
70100         (__new_semctl): Likewise.
70101         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70102         <bp-checks.h> and <bp-semctl.h>.
70103         (semctl): Don't use CHECK_SEMCTL.
70105         [BZ #13550]
70106         * Makerules (elide-bp-thunks): Remove variable.
70107         (elide-routines.oS): Don't use $(elide-bp-thunks).
70108         (elide-routines.os): Likewise.
70109         (elide-routines.o): Likewise.
70110         (elide-routines.op): Likewise.
70111         (elide-routines.og): Likewise.
70112         (objects): Don't use $(bp-thunks).
70113         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70114         include.
70115         (common-generated): Do not add s-proto-bp.d.
70116         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70117         (int): Likewise.
70118         (typ): Likewise.
70119         Do not generate makefile rules for bounded-pointer thunks.
70120         * sysdeps/generic/bp-thunks.h: Remove file.
70121         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70122         * sysdeps/unix/s-proto-bp.S: Likewise.
70124         [BZ #15062]
70125         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70126         parts of result separately when argument is not close to line from
70127         -i to i and one part of argument is small.
70128         * math/k_casinhf.c (__kernel_casinhf): Likewise.
70129         * math/k_casinhl.c (__kernel_casinhl): Likewise.
70130         * math/libm-test.inc (cacos_test): Add more tests.
70131         (casin_test): Likewise.
70132         (casinh_test): Likewise.
70133         * sysdeps/i386/fpu/libm-test-ulps: Update.
70134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70136 2013-01-31  David S. Miller  <davem@davemloft.net>
70138         * po/de.po: Update from translation team.
70140 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
70142         * time/tzfile.c: Include stdint.h for SIZE_MAX.
70144 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
70146         * configure.in (_AC_PROG_CC_C89): New definition.
70147         * configure: Regenerate.
70149         * configure.in (AC_PROG_CPP): New definition.
70150         * configure: Regenerate.
70152 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70154         * debug/tst-backtrace.h: New file.
70155         * debug/tst-backtrace2.c: Include tst-backtrace.h.
70156         (ret): Remove variable.
70157         (x): Likewise.
70158         (FAIL): Remove macro.
70159         (NO_INLINE): Likewise.
70160         (fn1): Use match function instead of strstr.
70161         * debug/tst-backtrace3.c: Include tst-backtrace.h.
70162         (ret): Remove variable.
70163         (x): Likewise.
70164         (FAIL): Remove macro.
70165         (NO_INLINE): Likewise.
70166         (fn): Use match function instead of strstr.
70167         * debug/tst-backtrace4.c: Include tst-backtrace.h.
70168         (ret): Remove variable.
70169         (x): Likewise.
70170         (FAIL): Remove macro.
70171         (NO_INLINE): Likewise.
70172         (handle_signal): Use match function instead of strstr.
70173         * debug/tst-backtrace5.c: Include tst-backtrace.h.
70174         (ret): Remove variable.
70175         (x): Likewise.
70176         (FAIL): Remove macro.
70177         (NO_INLINE): Likewise.
70178         (handle_signal): Use match function instead of strstr.
70180 2013-01-23  Roland McGrath  <roland@hack.frob.com>
70182         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
70184 2013-01-23  David S. Miller  <davem@davemloft.net>
70186         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
70187         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
70188         argument of CAS if possible.
70189         * sysdeps/sparc/sparc64/bits/atomic.h
70190         (__arch_compare_and_exchange_val_32_acq): Likewise.
70191         (__arch_compare_and_exchange_val_64_acq): Likewise.
70193 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
70195         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
70196         * sysdeps/posix/ulimit.c: ... this.
70197         Include <limits.h>.
70198         * sysdeps/unix/bsd/ulimit.c: Remove file.
70200 2013-01-23  Adam Conrad  <adconrad@0c3.net>
70202         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
70203         (LDFLAGS-tst-array5): Likewise.
70205 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70207         [BZ #15036]
70208         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
70209         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
70210         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
70211         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
70213 2013-01-21  David S. Miller  <davem@davemloft.net>
70215         * sysdeps/sparc/backtrace.c: New file.
70216         * sysdeps/sparc/sparc32/backtrace.h: New file.
70217         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
70218         * sysdeps/sparc/sparc64/backtrace.h: New file.
70219         * sysdeps/sparc/sparc64/backtrace.c: Delete.
70220         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
70221         -funwind-tables.
70223 2013-01-21  Andreas Schwab  <schwab@suse.de>
70225         [BZ #15020]
70226         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
70227         closed its stdout.
70229 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
70231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
70232         "mpa2.h".
70233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70235 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
70236             Mark Mitchell  <mark@codesourcery.com>
70237             Tom de Vries  <tom@codesourcery.com>
70238             Paul Pluzhnikov  <ppluzhnikov@google.com>
70240         * debug/tst-backtrace2.c: New file.
70241         * debug/tst-backtrace3.c: Likewise.
70242         * debug/tst-backtrace4.c: Likewise.
70243         * debug/tst-backtrace5.c: Likewise.
70244         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
70245         (CFLAGS-tst-backtrace3.c): Likewise.
70246         (CFLAGS-tst-backtrace4.c): Likewise.
70247         (CFLAGS-tst-backtrace5.c): Likewise.
70248         (LDFLAGS-tst-backtrace2): Likewise.
70249         (LDFLAGS-tst-backtrace3): Likewise.
70250         (LDFLAGS-tst-backtrace4): Likewise.
70251         (LDFLAGS-tst-backtrace5): Likewise.
70252         (tests): Add new tests tst-backtrace2, tst-backtrace3,
70253         tst-backtrace4 and tst-backtrace5.
70255 2013-01-18  Anton Blanchard  <anton@samba.org>
70256             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70258         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
70259         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
70260         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
70261         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
70262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70263         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70264         "+r" and remove output regs list as redundant.  Add explicit inline
70265         asm to specify register of return val to work around compiler codegen
70266         bug.  Remove (int) cast on return value.  Add return type parameter to
70267         use in macro so that this macro does not truncate return value for
70268         64-bit values.
70269         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
70270         pass to INTERNAL_VSYSCALL_NCS.
70271         (INLINE_VSYSCALL): Add 'long int' as return type to
70272         INTERNAL_VSYSCALL_NCS macro invocation.
70273         (INTERNAL_VSYSCALL): Add 'long int' as return type to
70274         INTERNAL_VSYSCALL_NCS macro invocation.
70275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70277 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70279         [BZ #14496]
70280         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
70281         Fix application of SIMD FP exception mask.
70283         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
70284         mp_no from a power of two.
70285         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
70286         __mpexp_twomm1.  Use __pow_mp.
70288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
70289         multiplication.
70291 2013-01-17  David S. Miller  <davem@davemloft.net>
70293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70295 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70297         [BZ #15023]
70298         * include/complex.h: Condition contents on [!_COMPLEX_H].
70299         (__kernel_casinhf): New prototype.
70300         (__kernel_casinh): Likewise.
70301         (__kernel_casinhl): Likewise.
70302         * math/Makefile (libm_calls): Add k_casinh.
70303         * math/k_casinh.c: New file.
70304         * math/k_casinhf.c: Likewise.
70305         * math/k_casinhl.c: Likewise.
70306         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
70307         finite nonzero arguments.
70308         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
70309         finite nonzero arguments.
70310         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
70311         finite nonzero arguments.
70312         * math/s_casinh.c: Do not include <float.h>.
70313         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
70314         * math/s_casinhf.c: Do not include <float.h>.
70315         (__casinhf): Move code for finite nonzero arguments to
70316         k_casinhf.c.
70317         * math/s_casinhl.c: Do not include <float.h>.
70318         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
70319         redefine.
70320         (__casinhl): Move code for finite nonzero arguments to
70321         k_casinhl.c.
70322         * math/libm-test.inc (cacos_test): Add more tests.
70323         * sysdeps/i386/fpu/libm-test-ulps: Update.
70324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70326 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
70328         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
70329         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
70330         [!HAVE_MREMAP]: Remove [defined linux] case.
70331         * malloc/arena.c: Do not include <malloc-sysdep.h>.
70333 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
70335         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
70337 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
70339         * elf/elf.h (R_386_SIZE32): New relocation.
70340         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
70341         R_386_SIZE32.
70342         (elf_machine_rela): Likewise.
70343         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70344         R_X86_64_SIZE64 and R_X86_64_SIZE32.
70346 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70348         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
70349         (FP_FAST_FMA): Do not define.
70350         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
70351         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
70352         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
70353         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
70354         !_SOFT_FLOAT]: Likewise.
70355         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
70356         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
70357         value.
70358         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
70359         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
70360         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
70361         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
70362         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
70363         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
70364         file.
70366 2013-01-16  Andreas Schwab  <schwab@suse.de>
70368         [BZ #14327]
70369         * include/stdlib.h (__mktemp): Add declaration.
70370         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
70371         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70373 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70375         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70376         definitions.
70377         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70378         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70379         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70380         definitions here.
70381         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70382         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70383         definitions.
70384         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70385         and ONE.
70386         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70387         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70388         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70389         definitions.
70390         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70391         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70392         definitions.
70393         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70395         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70397 2013-01-15  David S. Miller  <davem@davemloft.net>
70399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70400         trunc{,f} to libm-sysdep_routes.
70401         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70403         file.
70404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70406         file.
70407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70408         file.
70409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70411         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70412         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70413         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70414         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70415         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70416         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70419         nearbyint{,f} to libm-sysdep_routes.
70420         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70422         New file.
70423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70424         file.
70425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70426         New file.
70427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70428         file.
70429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70431         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70432         file.
70433         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70434         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70435         file.
70436         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70437         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70438         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70440         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70441         libc_feholdexcept and libc_fesetenv.
70443 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
70445         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70447 2013-01-14  David S. Miller  <davem@davemloft.net>
70449         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70450         (SPARC_ASM_VIS2_IFUNC): Likewise.
70451         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70453         use of 'siam' instruction.
70454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70455         Likewise.
70456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70457         Likewise.
70458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70459         Likewise.
70460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70465         file.
70466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70467         file.
70468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70469         file.
70470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70471         file.
70472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70473         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70477         new VIS2 routines.
70478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70481         Likewise.
70482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70484         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70487         routines to libm-sysdep_routines.
70488         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70491         fdim/fdimf to libm-sysdep_routines.
70492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70493         file.
70494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70496         file.
70497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70500         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70501         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70502         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70503         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70505 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70507         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70508         to optimize copies.
70510         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70511         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70515         local variable MPTWO.
70516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70517         Likewise.
70519 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70521         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70522         GLOB_NOESCAPE.
70524 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70526         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70528 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70530         * manual/pattern.texi (glob_t): Document gl_flags.
70531         (glob64_t): Likewise.
70533 2013-01-11  David S. Miller  <davem@davemloft.net>
70535         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70536         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70537         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70538         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70539         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70540         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70541         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70542         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70543         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70544         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70545         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70546         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70547         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70549         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70550         sparc V9 rather than using V8 code.
70551         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70552         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70554         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70555         Move to...
70556         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70557         Here.
70559 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70561         [BZ #14941]
70562         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70563         not in the main loop.
70564         * configure: Regenerated.
70566 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
70568         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70569         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70570         to just #else.
70571         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
70572         [!__GLIBC_HAVE_LONG_LONG] case.
70573         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70574         condition to just #else.
70575         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70576         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70577         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70578         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70579         unconditional.
70580         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70581         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70582         #elif condition to just #else.
70583         * sysdeps/unix/sysv/linux/sys/sysmacros.h
70584         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70585         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70586         #elif condition to just #else.
70588 2013-01-11  Steve Ellcey  <sellcey@mips.com>
70590         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70591         (EF_MIPS_ARCH_64): Fix value.
70592         (EF_MIPS_ARCH_32R2): New.
70593         (EF_MIPS_ARCH_64R2): New.
70595 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
70597         * Makeconfig (+link-pie-before-libc): New.
70598         (+link-pie-after-libc): Likewise.
70599         (+link-pie-tests): Likewise.
70600         (+link-pie): Rewritten.
70601         (link-before-libc): Remove $(config-LDFLAGS).
70602         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70603         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70604         (config-LDFLAGS): Renamed to ...
70605         (rtld-LDFLAGS): This.
70606         (rtld-tests-LDFLAGS): New macro.
70607         (link-libc-rpath-link): Likewise.
70608         (link-libc-tests-rpath-link): Likewise.
70609         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70610         (link-libc): Prepand $(link-libc-rpath-link).
70611         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70612         (test-program-prefix): New macro.
70613         (test-via-rtld-prefix): Likewise.
70614         (test-program-cmd): Likewise.
70615         (host-test-program-cmd): Likewise.
70616         * Makefile ($(common-objpfx)testrun.sh): Replace
70617         $(run-program-prefix) with $(test-program-prefix).
70618         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70619         $(rtld-LDFLAGS).
70620         ($(common-objpfx)shlib.lds): Likewise.
70621         (build-module-helper): Likewise.
70622         ($(common-objpfx)format.lds): Likewise.
70623         * Rules (binaries-pie-tests): New.
70624         (binaries-pie-notests): Likewise.
70625         (binaries-pie): Rewritten.
70626         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70627         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70628         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70629         (make-test-out): Replace $(host-built-program-cmd) with
70630         $(host-test-program-cmd).
70631         * config.make.in (build-hardcoded-path-in-tests): New variable.
70632         * configure.in (--enable-hardcoded-path-in-tests): New configure
70633         option.
70634         (hardcoded_path_in_tests): New AC_SUBST.
70635         * configure: Regenerated.
70636         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70637         $(built-program-cmd) with $(test-program-cmd).
70638         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70639         (test_program_cmd): This.
70640         * elf/Makefile ($(objpfx)order.out): Run test with
70641         $(test-program-prefix).
70642         ($(objpfx)order2.out): Likewise.
70643         ($(objpfx)tst-initorder.out): Likewise.
70644         ($(objpfx)tst-initorder2.out): Likewise.
70645         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70646         $(test-program-cmd).
70647         ($(objpfx)tst-array1-static.out): Likewise.
70648         ($(objpfx)tst-array2.out): Likewise.
70649         ($(objpfx)tst-array3.out): Likewise.
70650         ($(objpfx)tst-array4.out): Likewise.
70651         ($(objpfx)tst-array5.out): Likewise.
70652         ($(objpfx)tst-array5-static.out): Likewise.
70653         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70654         $(test-program-cmd).
70655         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70656         $(run-program-prefix) with $(test-program-prefix).
70657         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70658         (test_program_prefix): This.
70659         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70660         $(run-program-prefix) with $(test-program-prefix).
70661         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70662         (test_program_prefix): This.
70663         * iconvdata/tst-tables.sh: Likewise.
70664         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70665         $(run-program-prefix) with $(test-program-prefix).
70666         ($(objpfx)tst-translit.out): Likewise.
70667         ($(objpfx)tst-gettext2.out): Likewise.
70668         ($(objpfx)tst-gettext4.out): Likewise.
70669         ($(objpfx)tst-gettext6.out): Likewise.
70670         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70671         (test_program_prefix): This.
70672         * intl/tst-gettext2.sh: Likewise.
70673         * intl/tst-gettext4.sh  Likewise.
70674         * intl/tst-gettext6.sh: Likewise.
70675         * intl/tst-translit.sh: Likewise.
70676         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70677         with $(test-program-cmd).
70678         * libio/Makefile ($(objpfx)test-freopen.out): Replace
70679         $(run-program-prefix) with $(test-program-prefix).
70680         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70681         (test_program_prefix): This.
70682         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70683         $(run-program-prefix) with $(test-program-prefix).
70684         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70685         (test_program_prefix): This.
70686         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70687         * posix/Makefile ($(objpfx)globtest.out): Replace
70688         $(run-via-rtld-prefix) and $(test-wrapper) with
70689         $(test-program-prefix) and $(test-via-rtld-prefix).
70690         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70691         $(test-program-prefix).
70692         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70693         $(host-test-program-cmd).
70694         (tst-spawn-ARGS): Likewise.
70695         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70696         $(test-program-prefix).
70697         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70698         (test_via_rtld_prefix): This.
70699         (test_wrapper): Renamed to ...
70700         (test_program_prefix): This.
70701         (run_program_prefix): Replaced by test_program_prefix.
70702         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70703         (test_program_prefix): This.
70704         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70705         with $(host-test-program-cmd).
70706         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70707         $(run-program-prefix) with $(test-program-prefix).
70708         ($(objpfx)tst-printf.out): Likewise.
70709         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70710         $(test-program-cmd).
70711         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70712         (test_program_prefix): This.
70713         * stdio-common/tst-unbputc.sh: Likewise.
70714         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70715         $(run-program-prefix) with $(test-program-prefix).
70716         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70717         (test_program_prefix): This.
70718         * string/Makefile ($(objpfx)tst-svc.out):  Replace
70719         $(built-program-cmd) with $(test-program-cmd).
70721 2013-01-11  Andreas Jaeger  <aj@suse.de>
70723         [BZ #15003]
70724         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70725         value. Sync with Linux 3.7.
70727 2013-01-10  David S. Miller  <davem@davemloft.net>
70729         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70730         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70731         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70733 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70735         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70736         never set.
70737         * configure: Regenerated.
70739 2013-01-10  David S. Miller  <davem@davemloft.net>
70741         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70742         sparc V9 rather than using V8 code.
70743         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70744         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70746 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70748         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70749         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70750         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70751         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70752         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70753         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70754         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70755         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70756         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70757         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70758         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70759         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70760         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70761         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70762         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70763         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70764         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70765         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70766         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70767         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70768         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70769         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70770         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70771         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70772         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70773         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70774         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70776 2013-01-10  David S. Miller  <davem@davemloft.net>
70778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70780 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70782         * posix/Makefile (tests-static): New variable.
70783         (tests): Add $(tests-static).
70784         (tst-exec-static-ARGS): New variable.
70785         (tst-spawn-static-ARGS): Likewise.
70786         * posix/tst-exec-static.c: New file.
70787         * posix/tst-spawn-static.c: Likewise.
70788         * posix/tst-exec.c: Support run directly.
70789         * posix/tst-spawn.c: Likewise.
70791 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
70793         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
70794         long.
70795         * math/bits/mathcalls.h (llrint): Likewise.
70796         (llround): Likewise.
70797         * stdlib/stdlib.h (struct drand48_data): Likewise.
70798         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
70799         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
70800         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
70801         Likewise.
70802         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
70803         Likewise.
70804         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
70805         (elf_greg_t): Likewise.
70806         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
70807         (__jmp_buf): Likewise.
70808         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
70809         definitions.
70810         (llrint): Likewise, for all definitions.
70811         (llrintl): Likewise.
70813         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
70814         Remove [__GNUC__] condition.
70815         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
70816         condition to just [__USE_ISOC99].
70817         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
70819 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70821         [BZ #14200]
70822         * sysdeps/unix/sysv/linux/x86/bits/environments.h
70823         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
70824         defined.
70825         (_POSIX_V6_ILP32_OFF32): Likewise.
70826         (_XBS5_ILP32_OFF32): Likewise.
70827         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
70828         (__ILP32_OFFBIG_LDFLAGS): Likewise.
70830 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70832         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
70834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
70835         doubles __mpexp_twomm1.  Adjust usage.
70836         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
70837         Remove.
70839 2013-01-10  Andreas Schwab  <schwab@suse.de>
70841         [BZ #14964]
70842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
70843         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
70845 2013-01-09  David S. Miller  <davem@davemloft.net>
70847         [BZ #15003]
70848         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
70849         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
70850         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
70851         (TCP_FASTOPEN): Define.
70852         (tcp_repair_opt): New structure.
70853         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
70854         enum values.
70855         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
70856         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
70857         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
70858         (tcp_cookie_transactions): New structure.
70860 2013-01-09  Anton Blanchard  <anton@samba.org>
70862         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
70863         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
70864         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
70865         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
70867 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
70869         * include/features.h (__USE_ANSI): Remove.
70871 2013-01-09  Roland McGrath  <roland@hack.frob.com>
70873         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
70875         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
70877 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
70879         * sysdeps/s390/fpu/libm-test-ulps: Update.
70881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70883         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
70884         (__acr): Likewise.
70885         (__cpy): Likewise.
70886         (norm): Likewise.
70887         (denorm): Likewise.
70888         (__mp_dbl): Likewise.
70889         (__dbl_mp): Likewise.
70890         (add_magnitudes): Likewise.
70891         (sub_magnitudes): Likewise.
70892         (__add): Likewise.
70893         (__sub): Likewise.
70894         (__mul): Likewise.
70895         (__inv): Likewise.
70896         (__dvd): Likewise.
70897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
70898         (__acr): Likewise.
70899         (__cpy): Likewise.
70900         (norm): Likewise.
70901         (denorm): Likewise.
70902         (__mp_dbl): Likewise.
70903         (__dbl_mp): Likewise.
70904         (add_magnitudes): Likewise.
70905         (sub_magnitudes): Likewise.
70906         (__add): Likewise.
70907         (__sub): Likewise.
70908         (__mul): Likewise.
70909         (__inv): Likewise.
70910         (__dvd): Likewise.
70911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
70912         (__acr): Likewise.
70913         (__cpy): Likewise.
70914         (norm): Likewise.
70915         (denorm): Likewise.
70916         (__mp_dbl): Likewise.
70917         (__dbl_mp): Likewise.
70918         (add_magnitudes): Likewise.
70919         (sub_magnitudes): Likewise.
70920         (__add): Likewise.
70921         (__sub): Likewise.
70922         (__mul): Likewise.
70923         (__inv): Likewise.
70924         (__dvd): Likewise.
70926 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
70928         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
70929         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
70930         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
70931         2 && __USE_EXTERN_INLINES]: Likewise.
70933 2013-01-08  Andreas Jaeger  <aj@suse.de>
70935         [BZ #14985]
70936         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
70937         Remove.
70938         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70939         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70941 2013-01-07  Anton Blanchard  <anton@samba.org>
70943         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
70944         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
70945         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
70946         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
70947         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
70948         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70949         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
70950         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70952         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70953         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70954         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70955         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70956         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
70957         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
70958         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70959         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70960         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
70961         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
70962         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
70963         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
70964         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
70965         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70966         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
70967         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
70968         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
70969         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70970         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
70971         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
70972         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70973         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
70974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70975         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70976         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
70977         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
70978         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70979         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
70980         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70981         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
70982         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
70983         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
70984         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70985         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
70987 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
70989         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
70990         (__MALLOC_PMT): Likewise.
70991         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
70992         [__GNUC__], only on [_LIBC].
70993         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70994         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
70995         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70996         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
70997         forward declaration.
70998         (realloc_hook_ini): Likewise.
70999         (memalign_hook_ini): Likewise.
71000         (__libc_memalign): Do not use __MALLOC_PMT in variable
71001         declaration.
71002         (__libc_valloc): Likewise.
71003         (__libc_pvalloc): Likewise.
71004         (__libc_calloc): Likewise.
71005         (__posix_memalign): Likewise.
71007         [BZ #14996]
71008         * math/s_casinh.c: Include <float.h>.
71009         (__casinh): Do not do computation with squaring and square root
71010         for large arguments.
71011         * math/s_casinhf.c: Include <float.h>.
71012         (__casinhf): Do not do computation with squaring and square root
71013         for large arguments.
71014         * math/s_casinhl.c: Include <float.h>.
71015         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
71016         (__casinhl): Do not do computation with squaring and square root
71017         for large arguments.
71018         * math/libm-test.inc (casin_test): Add more tests.
71019         (casinh_test): Likewise.
71020         * sysdeps/i386/fpu/libm-test-ulps: Update.
71021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71023 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
71025         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
71026         (__x86_64_raw_data_cache_size): Likewise.
71027         (__x86_64_data_cache_size_half): Likewise.
71028         (__x86_64_raw_data_cache_size_half): Likewise.
71029         (__x86_64_shared_cache_size): Likewise.
71030         (__x86_64_raw_shared_cache_size): Likewise.
71031         (__x86_64_shared_cache_size_half): Likewise.
71032         (__x86_64_raw_shared_cache_size_half): Likewise.
71033         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
71034         to ...
71035         (__x86_data_cache_size): This.
71036         (__x86_64_raw_data_cache_size): Renamed to ...
71037         (__x86_raw_data_cache_size): This.
71038         (__x86_64_data_cache_size_half): Renamed to ...
71039         (__x86_data_cache_size_half): This.
71040         (__x86_64_raw_data_cache_size_half): Renamed to ...
71041         (__x86_raw_data_cache_size_half): This.
71042         (__x86_64_shared_cache_size): Renamed to ...
71043         (__x86_shared_cache_size): This.
71044         (__x86_64_raw_shared_cache_size): Renamed to ...
71045         (__x86_raw_shared_cache_size): This.
71046         (__x86_64_shared_cache_size_half): Renamed to ...
71047         (__x86_shared_cache_size_half): This.
71048         (__x86_64_raw_shared_cache_size_half): Renamed to ...
71049         (__x86_raw_shared_cache_size_half): This.
71050         * sysdeps/x86_64/memcpy.S: Updated.
71051         * sysdeps/x86_64/memset.S: Likewise.
71052         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
71053         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71054         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71056 2013-01-04  David S. Miller  <davem@davemloft.net>
71058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71060 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
71062         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
71063         1 to avoid redefinition warning.
71064         (__USE_GNU): Don't define.
71065         (init_signaling_nan): Protoize.
71067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71069 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71071         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
71072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
71073         (__cpymn): Likewise.
71074         (norm): Remove commented code.
71075         (denorm): Likewise.
71076         (__mp_dbl): Likewise.
71077         (__inv): Likewise.
71078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71079         (__cpymn): Likewise.
71080         (norm): Remove commented code.
71081         (denorm): Likewise.
71082         (__mp_dbl): Likewise.
71083         (__inv): Likewise.
71085         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71086         mp_no value for 1.0 and 2.0.
71087         (norm): Use RADIXI instead of radixi.d.
71088         (denorm): Likewise.
71089         (__mul): Use 0.0 instead of zero.d.
71090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
71091         mp_no value for 1.0 and 2.0.
71092         (norm): Use RADIXI instead of radixi.d.
71093         (denorm): Likewise.
71094         (__mul): Use 0.0 instead of zero.d.
71096 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
71098         [BZ #14994]
71099         * math/s_casinh.c (__casinh): Reduce finite argument to first
71100         quadrant then set signs of results at the end.
71101         * math/s_casinhf.c (__casinhf): Likewise.
71102         * math/s_casinhl.c (__casinhl): Likewise.
71103         * math/libm-test.inc (casin_test): Add more tests.
71104         (casinh_test): Likewise.
71105         * sysdeps/i386/fpu/libm-test-ulps: Update.
71106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71108 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71110         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71112         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71114         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71115         declarations.
71116         (denorm): Likewise.
71117         (__mp_dbl): Likewise.
71118         (__inv): Likewise.
71120         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71121         and adjust the header comment.
71123         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71124         variable name from declaration.
71126 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
71128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71129         Initialize COMMON_CPUID_INDEX_7 element.
71130         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71131         (CPUID_RTM): Likewise.
71132         (HAS_RTM): Likewise.
71133         (COMMON_CPUID_INDEX_7): New enum.
71135 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
71137         [BZ #14981]
71138         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71139         size is zero, record memory as freed.
71141 2013-01-03  Andreas Jaeger  <aj@suse.de>
71143         * po/ia.po: Add new Interlingua translation.
71145 2012-01-03  Allan McRae  <allan@archlinux.org>
71147         * locale/programs/localedef.c: Fix description of '--posix' flag.
71149 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
71151         * NEWS: Update dates in second copyright notice.
71152         * README: Update copyright dates in example.
71153         * manual/libc.texinfo: Update copyright dates.
71154         * scripts/test-installation.pl: Update copyright date in --version
71155         output.
71157         * hurd/ctty-input.c: Fix copyright notice formatting.
71158         * hurd/ctty-output.c: Likewise.
71159         * hurd/dtable.c: Likewise.
71160         * hurd/hurd-raise.c: Likewise.
71161         * hurd/hurdprio.c: Likewise.
71162         * hurd/msgportdemux.c: Likewise.
71163         * misc/sys/file.h: Likewise.
71164         * misc/sys/ioctl.h: Likewise.
71165         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
71166         * sysdeps/mach/hurd/chdir.c: Likewise.
71167         * sysdeps/mach/hurd/fchdir.c: Likewise.
71168         * sysdeps/mach/hurd/rename.c: Likewise.
71169         * sysdeps/mach/hurd/rmdir.c: Likewise.
71170         * sysdeps/mach/hurd/seekdir.c: Likewise.
71171         * sysdeps/mach/hurd/setsid.c: Likewise.
71172         * sysdeps/posix/wait3.c: Likewise.
71174         * All files with FSF copyright notices: Update copyright dates
71175         using scripts/update-copyrights.
71176         * intl/plural.c: Regenerated.
71177         * locale/programs/charmap-kw.h: Likewise.
71178         * locale/programs/locfile-kw.h: Likewise.
71180 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
71182         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
71183         four values.
71185         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
71186         calculation loop and add branch prediction.
71188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
71189         check access beyond bounds of m1np.
71191         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71192         MPTWO.
71193         (__inv): Remove local variable MPTWO to use the global
71194         constant.
71195         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71196         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71197         variable MPTWO.
71198         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
71199         MP3HALFS static const.
71201 2013-01-01  David S. Miller  <davem@davemloft.net>
71203         * po/ca.po: Update from translation team.
71205 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
71207         * scripts/update-copyrights: New file.
71208         * Makeconfig: Reformat copyright notice.
71209         * ctype/ctype.h: Likewise.
71210         * debug/swprintf_chk.c: Likewise.
71211         * elf/dl-cache.c: Likewise.
71212         * elf/dl-debug.c: Likewise.
71213         * elf/dl-object.c: Likewise.
71214         * grp/initgroups.c: Likewise.
71215         * hurd/Makefile: Likewise.
71216         * hurd/hurd/signal.h: Likewise.
71217         * hurd/hurdfault.c: Likewise.
71218         * hurd/hurdioctl.c: Likewise.
71219         * hurd/hurdlookup.c: Likewise.
71220         * hurd/intr-msg.c: Likewise.
71221         * iconv/gconv_open.c: Likewise.
71222         * libio/swprintf.c: Likewise.
71223         * locale/lc-ctype.c: Likewise.
71224         * locale/nl_langinfo.c: Likewise.
71225         * mach/Machrules: Likewise.
71226         * mach/Makefile: Likewise.
71227         * malloc/obstack.h: Likewise.
71228         * manual/Makefile: Likewise.
71229         * manual/tsort.awk: Likewise.
71230         * misc/bits/stab.def: Likewise.
71231         * nis/nis_print_group_entry.c: Likewise.
71232         * nis/nis_table.c: Likewise.
71233         * nis/nss_compat/compat-pwd.c: Likewise.
71234         * nis/nss_compat/compat-spwd.c: Likewise.
71235         * po/Makefile: Likewise.
71236         * posix/fnmatch.c: Likewise.
71237         * posix/regex.h: Likewise.
71238         * resolv/Makefile: Likewise.
71239         * resolv/nss_dns/dns-network.c: Likewise.
71240         * resolv/res_hconf.c: Likewise.
71241         * scripts/gen-sorted.awk: Likewise.
71242         * soft-fp/soft-fp.h: Likewise.
71243         * stdio-common/printf.h: Likewise.
71244         * stdlib/monetary.h: Likewise.
71245         * stdlib/random.c: Likewise.
71246         * stdlib/random_r.c: Likewise.
71247         * sysdeps/generic/Makefile: Likewise.
71248         * sysdeps/gnu/Makefile: Likewise.
71249         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71250         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71251         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71252         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71253         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71254         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71255         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71256         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71257         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71258         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71259         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71260         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71261         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71262         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71263         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
71264         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71265         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71266         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71267         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71268         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71269         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71270         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71271         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71272         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
71273         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
71274         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71275         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
71276         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
71277         * sysdeps/mach/hurd/errnos.awk: Likewise.
71278         * sysdeps/mach/hurd/fork.c: Likewise.
71279         * sysdeps/mach/hurd/getcwd.c: Likewise.
71280         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
71281         * sysdeps/mach/hurd/mmap.c: Likewise.
71282         * sysdeps/mach/hurd/utimes.c: Likewise.
71283         * sysdeps/mach/hurd/xmknod.c: Likewise.
71284         * sysdeps/posix/profil.c: Likewise.
71285         * sysdeps/posix/readdir_r.c: Likewise.
71286         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71287         * sysdeps/powerpc/bits/setjmp.h: Likewise.
71288         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
71289         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71290         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71291         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71292         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71293         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71295         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71296         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71297         * sysdeps/pthread/lio_listio.c: Likewise.
71298         * sysdeps/sparc/dl-procinfo.h: Likewise.
71299         * sysdeps/unix/i386/sysdep.S: Likewise.
71300         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
71301         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
71302         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
71303         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
71304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71305         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
71306         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
71307         * sysdeps/unix/sysv/linux/speed.c: Likewise.
71308         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
71309         * sysdeps/wordsize-32/divdi3.c: Likewise.
71310         * time/sys/time.h: Likewise.
71311         * wcsmbs/Makefile: Likewise.
71313 2013-01-01  David S. Miller  <davem@davemloft.net>
71315         * po/fr.po: Update from translation team.
71317         * catgets/gencat.c: Update copyright year.
71318         * csu/version.c: Likewise.
71319         * debug/catchsegv.sh: Likewise.
71320         * debug/pcprofiledump.c: Likewise.
71321         * debug/xtrace.sh: Likewise.
71322         * elf/ldconfig.c: Likewise.
71323         * elf/ldd.bash.in: Likewise.
71324         * elf/pldd.c: Likewise.
71325         * elf/sotruss.ksh: Likewise.
71326         * elf/sprof.c: Likewise.
71327         * iconv/iconv_prog.c: Likewise.
71328         * iconv/iconvconfig.c: Likewise.
71329         * locale/programs/locale.c: Likewise.
71330         * locale/programs/localedef.c: Likewise.
71331         * login/programs/pt_chown.c: Likewise.
71332         * malloc/memusage.sh: Likewise.
71333         * malloc/memusagestat.c: Likewise.
71334         * malloc/mtrace.pl: Likewise.
71335         * nscd/nscd.c: Likewise.
71336         * nss/getent.c: Likewise.
71337         * nss/makedb.c: Likewise.
71338         * posix/getconf.c: Likewise.
71340 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71342         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
71343         numbers.
71345 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
71347         * math/bits/mathcalls.h (modf): Use __nonnull.
71349 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71351         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
71352         (split): Use macro CN instead of the bare value.
71353         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
71354         could be used.
71355         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
71356         instead of the bare value.
71357         (power1): Likewise.
71359 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71361         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
71362         __ATAN_TWOM.
71363         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71365         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
71366         their values.
71367         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71368         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
71369         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
71370         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71372 2012-12-28  Andreas Jaeger  <aj@suse.de>
71374         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
71375         values are from Linux 3.7.
71377         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71378         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
71380 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71382         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71383         TRUE case.
71385         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71386         (norm): Likewise.
71387         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71388         variables with preprocessor constants.
71389         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71390         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71391         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71393 2012-12-27  Bruno Haible  <bruno@clisp.org>
71395         [BZ #14317]
71396         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71397         only if needed.
71399 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71401         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71402         and use variable directly.
71403         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71405         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71406         MPONE.
71407         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71408         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71409         variable MPONE.
71410         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71411         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71412         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71413         include directive.  Remove local variable MPONE.
71414         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71415         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71416         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71418 2012-12-25  David S. Miller  <davem@davemloft.net>
71420         * version.h (RELEASE): Set to "development".
71421         (VERSION): Set to "2.17.90".
71422         * NEWS: Add 2.18 section.
71424 2012-12-21  David S. Miller  <davem@davemloft.net>
71426         * po/hr.po: Update from translation team.
71428 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71430         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71432 2012-12-19  Steve Ellcey  <sellcey@mips.com>
71434         * NEWS:  Mention new memcpy for MIPS.
71436 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71438         * manual/contrib.texi (Contributors): Spelling correction.
71440 2012-12-15  David S. Miller  <davem@davemloft.net>
71442         * po/ru.po: Update from translation team.
71444 2012-12-13  David S. Miller  <davem@davemloft.net>
71446         * NEWS: Mention IFUNC testsuite enhancements.
71448         * po/pl.po: Update from translation team.
71449         * po/bg.po: Likewise.
71451         * manual/contrib.texi (Contributors): Update entries for Hongjiu
71452         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
71454 2012-12-11  David S. Miller  <davem@davemloft.net>
71456         * po/sv.po: Update from translation team.
71458         * po/vi.po: Update from translation team.
71460         * po/cs.po: Update from translation team.
71462         * po/de.po: Update from translation team.
71463         * po/eo.po: Likewise.
71464         * po/nl.po: Likewise.
71466 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71468         [BZ #14246]
71469         * manual/argp.texi (Argp Helper Functions): Move node to follow
71470         Argp Parsing State.
71472         [BZ #14872]
71473         * manual/conf.texi (Limits on File System Capacity): Mention if
71474         terminating null is included in the max size.
71476 2012-12-10  Andreas Jaeger  <aj@suse.de>
71478         * po/cs.po: Update from translation team.
71480 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71482         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71483         void pointer and cast to uintptr_t.
71484         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71485         path.
71486         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71487         * sysdeps/s390/s390-64/memset.S: Likewise.
71489 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71491         [BZ #14833]
71492         * menual/message.texi (Message Translation): Fix typos.
71493         (Helper programs for gettext): Likewise.
71495 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71497         [BZ #14898]
71498         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71499         Change to -1.
71501 2012-12-07  David S. Miller  <davem@davemloft.net>
71503         * po/libc.pot: Update.
71505 2012-12-07  Richard Henderson  <rth@redhat.com>
71507         [BZ #10114]
71508         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71509         normal/normal case to before the switch.
71510         (_FP_DIV): Likewise.
71512 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71513             Mike Frysinger  <vapier@gentoo.org>
71515         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71516         check for __NR_fadvise64_64.
71518 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71520         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71521         0, not just to plain "0" as a statement.
71522         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71523         with cw.
71525 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71527         * NEWS: Use sourceware.org in Bugzilla URL.
71529 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71532         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71534         * stdio-common/tst-put-error.c (do_test): Add newline to the
71535         padded test to ensure flush.
71537 2012-12-05  Jeff Law  <law@redhat.com>
71539         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71541 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71543         * README: Don't refer to ports add-on as distributed separately.
71544         Mention AArch64 in list of systems supported in the ports add-on.
71546         * LICENSES: Add more non-FSF copyright and license notices.
71548         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71549         ((unused)).
71551         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71553         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71554         10000 as width of padded output.
71556 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71558         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71560         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71561         variable LX with __attribute__ ((unused)).
71562         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71563         Likewise.
71564         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71565         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71566         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71567         with __attribute__ ((unused)).
71569 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
71571         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71573 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71575         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71576         (CFLAGS-nldbl-acos.c): New variable.
71577         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71578         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71579         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71580         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71581         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71582         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71583         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71584         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71585         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71586         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71587         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71588         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71589         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71590         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71591         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71592         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71593         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71594         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71595         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71596         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71597         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71598         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71599         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71600         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71601         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71602         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71603         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71604         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71605         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71606         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71607         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71608         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71609         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71610         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71611         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71612         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71613         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71614         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71615         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71616         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71617         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71618         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71619         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71620         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71621         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71622         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71623         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71624         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71625         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71626         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71627         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71628         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71629         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71630         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71631         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71632         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71633         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71634         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71635         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71636         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71637         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71638         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71639         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71640         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71641         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71642         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71643         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71644         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71645         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71646         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71647         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71648         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71649         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71650         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71651         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71652         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71653         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71654         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71655         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71656         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71657         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71658         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71659         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71660         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71661         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71662         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71663         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71664         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71665         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71666         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71667         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71668         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71669         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71670         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71671         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71672         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71673         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71676         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71678         [BZ #14914]
71679         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71680         whole low double instead of just low 47 bits when splitting values
71681         into two parts.
71683 2012-12-03  Allan McRae  <allan@archlinux.org>
71685         * manual/stdio.texi (Predefined Printf Handlers): Remove
71686         @hsep and @vsep usage.
71688 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
71690         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71691         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71693 2012-12-03  Jeff Law  <law@redhat.com>
71695         * time/sys/time.h (settimeofday): Do not mark TV argument
71696         as __nonnull.
71698 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
71700         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71701         when currently writing and seek to current position when not.
71702         * libio/Makefile (tests): Remove bug-fclose1.
71703         * libio/bug-fclose1.c: Delete.
71705 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
71707         * manual/arith.texi (feenableexcept): Fix typo.
71708         (fedisableexcept): Likewise.
71710 2012-11-30  Roland McGrath  <roland@hack.frob.com>
71712         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71713         second, differently-typed declaration, rather than a cast.
71715 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71717         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71718         * include/rpc/svc.h: ... here.
71720 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
71722         [BZ #13013]
71723         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71724         depending n and resplen2 to catch cases where answer
71725         equals answerp2.
71727 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
71729         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71730         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71732 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
71734         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71736 2012-11-29  Roland McGrath  <roland@hack.frob.com>
71738         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71740 2012-11-28  Jeff Law  <law@redhat.com>
71742         [BZ #13761]
71743         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71744         dataset_temporary.  Track alloca usage into alloca_used.
71745         If dataset is large allocate and release it via malloc/free.
71747 2012-06-04  Florian Weimer  <fweimer@redhat.com>
71749         [BZ #14197]
71750         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71752 2012-11-28  David S. Miller  <davem@davemloft.net>
71754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71756 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71758         [BZ #14803]
71759         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71760         of pi/2 rounded to nearest to 64 bits.
71761         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71762         nearest to 64 bits.
71763         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71764         bits.
71766 2012-11-28  Jeff Law <law@redhat.com>
71767             Martin Osvald <mosvald@redhat.com>
71769         [BZ #14889]
71770         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71771         * sunrpc/svc.c: Include time.h.
71772         (__svc_accept_failed): New function.
71773         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71774         any reason other than EINTR, call __svc_accept_failed.
71775         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71776         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71778 2012-11-28  Andreas Schwab  <schwab@suse.de>
71780         * scripts/abilist.awk: Also handle indirect functions in .opd
71781         section.
71783 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71785         [BZ #13881]
71786         * sysdeps/x86/fpu/powl_helper.c: New file.
71787         * sysdeps/x86/fpu/Makefile: Likewise.
71788         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71789         (p3): New object.
71790         (__ieee754_powl): Use __powl_helper for finite arguments except
71791         integer exponents below 8.
71792         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
71793         (p3): New object.
71794         (__ieee754_powl): Use __powl_helper for finite arguments except
71795         integer exponents below 8.
71796         * math/libm-test.inc (pow_test): Add more tests and enable some
71797         previously disabled tests.
71798         * sysdeps/i386/fpu/libm-test-ulps: Update.
71799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71801 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71802             Carlos O'Donell  <carlos_odonell@mentor.com>
71804         * nss/makedb.c (is_prime): Assert that input is odd and greater
71805         than 4.  Note that fact in a comment too.
71806         (next_prime): Add 4 to input.
71808 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71810         [BZ #11741]
71811         * libio/Makefile (tests): Add test case tst-fwrite-error.
71812         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
71813         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
71814         * libio/tst-fwrite-error.c: New test case.
71816 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
71818         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
71819         before casting to void *.
71820         * include/libc-internal.h (__pointer_type): New macro.
71821         (__integer_if_pointer_type_sub): Likewise.
71822         (__integer_if_pointer_type): Likewise.
71823         (cast_to_integer): Likewise.
71824         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
71825         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
71826         before casting to atomic64_t.
71827         (atomic_exchange_acq): Likewise.
71828         (__arch_exchange_and_add_body): Likewise.
71829         (__arch_add_body): Likewise.
71830         (atomic_add_negative): Likewise.
71831         (atomic_add_zero): Likewise.
71833 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
71835         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
71836         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
71837         (add_fdes): Likewise.
71838         (linear_search_fdes): Likewise.
71839         (binary_search_unencoded_fdes): Likewise.
71841 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
71843         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
71845 2012-11-24  Adam Conrad  <adconrad@0c3.net>
71847         * configure.in: Autodetect C++ header directories.
71848         * configure: Regenerated.
71850 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
71852         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
71854 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
71856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71858 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
71860         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
71861         LDBL_MANT_DIG == 106]: Disable some tests.
71862         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71863         Likewise.
71864         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71865         Likewise.
71867         [BZ #14871]
71868         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
71869         input for small inputs.  Return +/- pi/2 for large inputs.
71870         * math/libm-test.inc (atan_test): Add more tests.
71872         * sysdeps/generic/unwind-dw2-fde-glibc.c
71873         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
71874         __attribute__ ((unused)).
71876         [BZ #14645]
71877         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
71878         x * y if x and y are nonzero and z is zero.
71880         [BZ #14811]
71881         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
71882         nonzero exponents with absolute value below 0x1p-117 to +/-
71883         0x1p-117.
71885         [BZ #14869]
71886         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
71887         up arguments below 2**-450, not just those below 2**-500.
71888         * math/libm-test.inc (hypot_test): Add another test.
71890         [BZ #14868]
71891         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
71892         Return a+b for ratio over 2**120, not 2**60.
71893         * math/libm-test.inc (hypot_test): Add another test.
71895         * math/libm-test.inc (clog_test): Use
71896         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
71897         (clog10_test): Likewise.
71899         [BZ #6778]
71900         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
71902 2012-11-22  Andreas Schwab  <schwab@suse.de>
71904         * sysdeps/i386/fpu/libm-test-ulps: Update.
71906 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
71908         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
71909         printf output with newline.
71911 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
71913         [BZ #14865]
71914         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
71915         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
71916         -z nodlopen, -z initfirst and -z execstack support.
71917         * configure: Regenerated.
71919         * elf/elf.h (DF_1_NODIRECT): New macro.
71920         (DF_1_IGNMULDEF): Likewise.
71921         (DF_1_NOKSYMS): Likewise.
71922         (DF_1_NOHDR): Likewise.
71923         (DF_1_EDITED): Likewise.
71924         (DF_1_NORELOC): Likewise.
71925         (DF_1_SYMINTPOSE): Likewise.
71926         (DF_1_GLOBAUDIT): Likewise.
71927         (DF_1_SINGLETON): Likewise.
71928         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
71929         DT_1_SUPPORTED_MASK bits.
71930         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
71932 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
71934         * sysdeps/unix/make-syscalls.sh: Document prefixes.
71936 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
71938         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
71939         macro.
71941         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
71942         (sendmmsg): Move declarations...
71943         * socket/sys/socket.h: ... here.
71944         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
71945         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
71946         include it from...
71947         * socket/recvmmsg.c: ... this new file.
71948         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
71949         (sendmmsg): Rename to __sendmmsg, create weak alias and make
71950         definition of __sendmmsg hidden.
71951         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
71952         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
71953         Move ENOSYS stub into and include it from...
71954         * socket/sendmmsg.c: ... this new file.
71955         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
71956         (sysdep_routines): Move recvmmsg and sendmmsg...
71957         * socket/Makefile (routines): ... here.
71958         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
71959         (GLIBC_PRIVATE): Add __sendmmsg.
71960         * include/sys/socket.h (__sendmmsg): Add declarations.
71961         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
71962         sendmmsg.
71964 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
71966         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
71967         variable I1 with __attribute__ ((unused)).
71968         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71970 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71972         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
71973         DUMMY variables with __attribute__ ((unused)).
71975         * bits/byteswap.h: Include <bits/types.h>.
71976         (__bswap_64): Use __uint64_t instead of unsigned long long int.
71978 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71980         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
71981         string_t.  Do not manually set errno.
71982         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
71983         length with __strnlen.  Make sure to both set errno and return it on
71984         failure.
71986 2012-11-19  David S. Miller  <davem@davemloft.net>
71988         With help from Joseph Myers.
71989         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
71990         very large arguments properly.
71991         * math/libm-test.inc (atan_test): New tests.
71992         (atan2_test): New tests.
71993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71996 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71998         [BZ #14856]
71999         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
72000         Define to 3.
72002         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
72003         [POSIX] (EADDRNOTAVAIL): Likewise.
72004         [POSIX] (EAFNOSUPPORT): Likewise.
72005         [POSIX] (EALREADY): Likewise.
72006         [POSIX] (ECONNABORTED): Likewise.
72007         [POSIX] (ECONNREFUSED): Likewise.
72008         [POSIX] (ECONNRESET): Likewise.
72009         [POSIX] (EDESTADDRREQ): Likewise.
72010         [POSIX] (EDQUOT): Likewise.
72011         [POSIX] (EHOSTUNREACH): Likewise.
72012         [POSIX] (EIDRM): Likewise.
72013         [POSIX] (EISCONN): Likewise.
72014         [POSIX] (ELOOP): Likewise.
72015         [POSIX] (EMULTIHOP): Likewise.
72016         [POSIX] (ENETDOWN): Likewise.
72017         [POSIX] (ENETUNREACH): Likewise.
72018         [POSIX] (ENOBUFS): Likewise.
72019         [POSIX] (ENODATA): Likewise.
72020         [POSIX] (ENOLINK): Likewise.
72021         [POSIX] (ENOMSG): Likewise.
72022         [POSIX] (ENOPROTOOPT): Likewise.
72023         [POSIX] (ENOSR): Likewise.
72024         [POSIX] (ENOSTR): Likewise.
72025         [POSIX] (ENOTCONN): Likewise.
72026         [POSIX] (ENOTSOCK): Likewise.
72027         [POSIX] (EOPNOTSUPP): Likewise.
72028         [POSIX] (EOVERFLOW): Likewise.
72029         [POSIX] (EPROTO): Likewise.
72030         [POSIX] (EPROTONOSUPPORT): Likewise.
72031         [POSIX] (EPROTOTYPE): Likewise.
72032         [POSIX] (ESTALE): Likewise.
72033         [POSIX] (ETIME): Likewise.
72034         [POSIX] (ETXTBSY): Likewise.
72035         [POSIX] (EWOULDBLOCK): Likewise.
72036         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
72037         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
72038         [POSIX] (SEEK_CUR): Likewise.
72039         [POSIX] (SEEK_END): Likewise.
72040         [POSIX || UNIX98] (mode_t): Do not require.
72041         [POSIX] (off_t): Likewise.
72042         [POSIX] (pid_t): Likewise.
72043         [POSIX] (sys/stat.h): Do not allow header.
72044         [POSIX] (unistd.h): Likewise.
72045         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
72046         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
72047         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
72048         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
72049         require.
72050         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
72051         sigevent): Specify elements.
72052         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
72053         entry.
72054         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
72055         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
72057         * conform/data/cpio.h-data [POSIX]: Disable whole file.
72058         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
72059         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
72060         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
72061         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
72062         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
72063         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
72064         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
72065         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
72066         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
72067         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
72068         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
72069         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
72070         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72071         Likewise.
72072         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
72073         Likewise.
72074         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
72075         Likewise.
72076         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
72077         Likewise.
72078         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72079         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72080         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72081         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72082         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72083         Specify lower bound on value.
72084         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72085         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72086         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72087         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72088         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72089         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72090         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72091         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72092         value.
72093         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72094         as optional.
72095         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72096         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72097         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72098         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72099         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72100         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72101         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72102         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72103         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72104         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72105         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72106         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72107         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72108         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72109         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72110         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72111         entry.
72112         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72113         optional.
72114         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72115         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72116         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72117         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72118         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72119         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72120         Likewise.
72121         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72122         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72123         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72124         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72125         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
72126         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72127         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72128         as optional.
72129         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72130         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72131         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72132         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72133         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72134         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72135         specify as optional.
72136         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72137         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72138         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72139         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72140         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72141         [XPG3] (NL_LANGMAX): Likewise.
72142         [POSIX || XPG3] (NL_MSGMAX): Likewise.
72143         [POSIX || XPG3] (NL_NMAX): Likewise.
72144         [POSIX || XPG3] (NL_SETMAX): Likewise.
72145         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72146         [XPG3] (NZERO): Likewise.
72147         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72148         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72149         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72150         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72151         (REG_ERANGE): Expect.
72152         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
72153         optional-constant.
72154         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
72155         Use (void) in prototype.
72156         [POSIX] (*_t): Allow.
72157         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
72158         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
72159         (WRDE_BADVAL): Expect.
72161         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
72162         expect.
72163         [XPG3 || XPG4] (O_RSYNC): Likewise.
72164         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
72165         Likewise.
72166         [XPG3 || XPG4] (pthread_sigmask): Likewise.
72167         [XPG3 || XPG4] (sigqueue): Likewise.
72168         [XPG3 || XPG4] (sigtimedwait): Likewise.
72169         [XPG3 || XPG4] (sigwaitinfo): Likewise.
72170         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
72171         [XPG3 || XPG4] (vsnprintf): Likewise.
72172         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
72173         Likewise.
72174         [XPG3 || XPG4] (blksize_t): Likewise.
72175         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
72176         Likewise.
72177         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
72178         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
72179         [XPG3 || XPG4] (struct itimerspec): Likewise.
72180         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
72181         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
72182         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
72183         [XPG3 || XPG4] (clockid_t): Likewise.
72184         [XPG3 || XPG4] (timer_t): Likewise.
72185         [XPG3 || XPG4] (clock_getres): Likewise.
72186         [XPG3 || XPG4] (clock_gettime): Likewise.
72187         [XPG3 || XPG4] (clock_settime): Likewise.
72188         [XPG3 || XPG4] (nanosleep): Likewise.
72189         [XPG3 || XPG4] (timer_create): Likewise.
72190         [XPG3 || XPG4] (timer_delete): Likewise.
72191         [XPG3 || XPG4] (timer_gettime): Likewise.
72192         [XPG3 || XPG4] (timer_getoverrun): Likewise.
72193         [XPG3 || XPG4] (timer_settime): Likewise.
72194         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
72195         [XPG3 || XPG4] (getlogin_r): Likewise.
72196         [XPG3 || XPG4] (pread): Likewise.
72197         [XPG3 || XPG4] (pthread_atfork): Likewise.
72198         [XPG3 || XPG4] (pwrite): Likewise.
72200         [BZ #14835]
72201         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
72202         <bits/siginfo.h>.
72204 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72206         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
72207         finalizing MALLSTREAM.
72209         * sysdeps/mach/hurd/syncfs.c: New file.
72211 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
72213         [BZ #14719]
72214         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
72215         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
72216         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
72217         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
72218         (_nss_dns_gethostbyname4_r): Likewise.
72219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
72220         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
72222 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
72224         [BZ #13763]
72225         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
72227 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
72229         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
72230         * elf/cache.c (print_entry): Print ",AArch64" for
72231         FLAG_AARCH64_LIB64
72233         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
72234         * elf/cache.c (print_entry): Print ",hard-float" for
72235         FLAG_ARM_LIBHF.
72237 2012-11-18  David S. Miller  <davem@davemloft.net>
72239         With help from Joseph Myers.
72240         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
72241         cutoff to 2**-13.
72242         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
72243         cutoff to 2**-25.
72244         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
72245         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
72246         small.
72247         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
72248         * math/libm-test.inc (y0_test): New tests.
72249         (y1_test): New tests.
72250         * sysdeps/i386/fpu/libm-test-ulps: Update.
72251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72254 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
72256         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
72257         64-bit targets.
72258         * configure: Regenerated.
72260 2012-11-17  David S. Miller  <davem@davemloft.net>
72262         [BZ #14811]
72263         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
72264         nonzero exponents with absolute value below 0x1p-128 to +/-
72265         0x1p-128.
72267 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
72269         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
72271         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
72273         * posix/getconf-speclist.c: New file.
72274         * posix/posix-envs.def: Likewise.
72275         * posix/confstr.c (START_ENV_GROUP): New macro.
72276         (END_ENV_GROUP): Likewise.
72277         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72278         (KNOWN_PRESENT_ENV_STRING): Likewise.
72279         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72280         (UNKNOWN_ENVIRONMENT): Likewise.
72281         (confstr): Include posix-envs.def instead of handling
72282         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
72283         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
72284         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
72285         (END_ENV_GROUP): Likewise.
72286         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72287         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72288         (UNKNOWN_ENVIRONMENT): Likewise.
72289         (__sysconf): Include posix-envs.def instead of handling associated
72290         cases directly here.
72291         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
72292         preprocessing getconf-speclist.c rather than running getconf or
72293         generating empty file.
72295 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
72297         * scripts/check-local-headers.sh: Ignore 'mach' headers.
72299 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
72301         [BZ #14672]
72302         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
72304 2012-11-16  David S. Miller  <davem@davemloft.net>
72306         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
72307         smaller than LDBL_EPSILON/2.0L, just return xm1.
72309 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
72311         * elf/tst-array1.c (init): Set constructor priority to 1000.
72312         (fini): Set destructor priority to 1000.
72313         * elf/tst-array2dep.c: Likewise.
72315 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72317         [BZ #11741]
72318         * libio/fileops.c (_IO_new_file_write): Correctly return error.
72319         (_IO_new_file_xsputn): Also return EOF if none of the input
72320         data was written when overflow failed.
72321         * libio/iopadn.c (_IO_padn): Likewise.
72322         * libio/iowpadn.c (_IO_wpadn): Likewise.
72323         * stdio-common/tst-put-error.c: Add copyright notice.
72324         (do_test): Add case for printing padded string.
72325         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
72326         _IO_padn returned error.
72327         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
72328         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
72329         return EOF.
72331 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72333         * libio/libioP.h: Add comment note that the references to C++
72334         bits are now obsolete.
72336 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72338         * math/libm-test.inc (check_complex): Use asprintf.
72340 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
72342         * debug/pcprofiledump.c (print_version): Update copyright year.
72343         * malloc/memusagestat.c (print_version): Likewise.
72345 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
72347         [BZ #14831]
72348         * elf/Makefile (tests): Add tst-audit8.
72349         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
72350         ($(objpfx)tst-audit8.out): New target.
72351         (tst-audit8-ENV): New variable.
72352         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
72353         audit if l_reloc_result is NULL.
72354         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
72355         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
72356         * elf/tst-audit8.c: New file.
72358 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72360         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
72361         * misc/Makefile (CFLAGS-select.c): Define.
72362         * posix/Makefile (CFLAGS-pause.c): Define.
72364 2012-11-13  David S. Miller  <davem@davemloft.net>
72366         * crypt/Makefile: Move test targets after toplevel Rules
72367         inclusion.  Grab any necessary sysdep routines when linking.
72368         * crypt/md5.c (md5_process_block): Remove define, we will always
72369         name it __md5_process_block.
72370         (md5_finish_ctx): Update md5_process_block call.
72371         (md5_stream): Likewise.
72372         (md5_process_bytes): Likewise.
72373         (md5_process_block): Rename to __md5_process_block and move to ...
72374         * crypt/md5-block.c: ... here.
72375         * crypt/sha256.c (sha256_process_block): Move to ...
72376         * crypt/sha256-block.c: ... here.
72377         * crypt/sha512.c (sha512_process_block): Move to ...
72378         * crypt/sha512-block.c: ... here.
72379         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72380         path.
72381         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72382         * sysdeps/sparc/sparc64/multiarch/Makefile
72383         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72384         crypt subdir.
72385         (localedef-aux): Add md5 crypto assembler when in locale subdir.
72386         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72387         multiarch changes.
72388         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72389         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72390         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72391         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72392         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72393         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72394         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72395         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72396         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72397         file.
72398         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72399         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72400         file.
72401         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72403 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
72405         * timezone/tzselect.ksh: Update from tzcode git revision
72406         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72407         * timezone/zdump.c: Likewise.
72408         * timezone/zic.c: Likewise.
72409         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72410         in TZVERSION setting, not $(PKGVERSION).
72411         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
72412         REPORT_BUGS_TO settings.
72414         [BZ #14838]
72415         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72416         macro.
72418 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72420         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72421         detection to immediately after _FP_ROUND().
72422         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72423         bits are 0.
72425 2012-11-11  David S. Miller  <davem@davemloft.net>
72427         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72428         inttypes.h
72429         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72430         __close rather than their public counterparts.
72432 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
72434         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72435         file.
72436         [UNIX98] (sem_timedwait): Do not expect.
72437         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72438         [XPG4 || UNIX98] (sockatmark): Do not expect.
72439         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72440         (clock_getcpuclockid): Do not expect.
72441         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72442         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72443         Do not expect.
72444         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72445         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72446         [UNIX98] (vwscanf): Likewise.
72447         [UNIX98] (vswscanf): Likewise.
72449 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
72451         * timezone/version.h: Remove file.
72452         * timezone/README: Do not refer to version.h.
72453         * timezone/Makefile ($(objpfx)zic.o): New dependency on
72454         $(objpfx)version.h.
72455         ($(objpfx)zdump.o): Likewise.
72456         ($(objpfx)version.h): New target.
72458         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72459         2012i.
72460         * timezone/README: Don't mention modification to tzselect.ksh.
72461         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72462         work on unmodified tzselect.ksh.  Substitute version numbers in
72463         tzselect.ksh.
72465         * Makefile (format-me): Remove.
72466         (INSTALL): Adjust indentation.  Use commands directly instead of
72467         using $(format-me).
72469         * aclocal.m4 (ACX_PKGVERSION): New macro.
72470         (ACX_BUGURL): Likewise.
72471         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72472         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72473         (REPORT_BUGS_TO): Likewise.
72474         * configure: Regenerated.
72475         * config.h.in (PKGVERSION): New macro.
72476         (REPORT_BUGS_TO): Likewise.
72477         * config.make.in (PKGVERSION): New variable.
72478         (PKGVERSION_TEXI): Likewise.
72479         (REPORT_BUGS_TO): Likewise.
72480         (REPORT_BUGS_TEXI): Likewise.
72481         * Makefile (format-me): Use -I$(common-objpfx)manual.
72482         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72483         ($(common-objpfx)manual/%): New target.
72484         (manual/%): Remove target.
72485         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72486         (print_version): Use PKGVERSION.
72487         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72488         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72489         and REPORT_BUGS_TO.
72490         ($(objpfx)xtrace): Likewise.
72491         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72492         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72493         (print_version): Use PKGVERSION.
72494         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72495         (do_version): Use PKGVERSION.
72496         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72497         REPORT_BUGS_TO.
72498         (common-ldd-rewrite): Likewise.
72499         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72500         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72501         (print_version): Use PKGVERSION.
72502         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72503         * elf/pldd.c (argp_program_bug_address): Remove variable.
72504         (more_help): New function.
72505         (argp): Use more_help.
72506         (print_version): Use PKGVERSION.
72507         * elf/sln.c (main): Use PKGVERSION.
72508         (usage): Use REPORT_BUGS_TO.
72509         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72510         (top level): Use PKGVERSION.
72511         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72512         (print_version): Use PKGVERSION.
72513         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72514         (print_version): Use PKGVERSION.
72515         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72516         (print_version): Use PKGVERSION.
72517         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72518         (print_version): Use PKGVERSION.
72519         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72520         (print_version): Use PKGVERSION.
72521         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72522         (print_version): Use PKGVERSION.
72523         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72524         and BUGURL.
72525         ($(objpfx)memusage): Likewise.
72526         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72527         (do_version): Use PKGVERSION.
72528         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72529         (print_version): Use PKGVERSION.
72530         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72531         ($PKGVERSION): New variable.
72532         ($REPORT_BUGS_TO): Likewise.
72533         (usage): Use $REPORT_BUGS_TO.
72534         (top level): Use $PKGVERSION.
72535         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72536         ($(objpfx)pkgvers.texi): New rule.
72537         ($(objpfx)stamp-pkgvers): Likewise.
72538         * manual/install.texi: Include pkgvers.texi.
72539         (--with-pkgversion): Document new configure option.
72540         (--with-bugurl): Likewise.
72541         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72542         than necessarily for this particular distribution.  Use
72543         REPORT_BUGS_TO for where to report bugs.
72544         * INSTALL: Regenerated.
72545         * manual/libc.texinfo: Include pkgvers.texi.
72546         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72547         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72548         (print_version): Use PKGVERSION.
72549         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72550         (print_version): Use PKGVERSION.
72551         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72552         (print_version): Use PKGVERSION.
72553         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72554         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72555         macro.
72556         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72557         (print_version): Use PKGVERSION.
72558         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72559         (print_version): Use PKGVERSION.
72560         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72561         and PKGVERSION.
72563         * timezone/checktab.awk: Update from tzcode 2012i.
72564         * timezone/ialloc.c: Likewise.
72565         * timezone/private.h: Likewise.
72566         * timezone/scheck.c: Likewise.
72567         * timezone/tzfile.h: Likewise.
72568         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72569         (TZVERSION): Hardcode tzcode version number.
72570         * timezone/zdump.c: Update from tzcode 2012i.
72571         * timezone/zic.c: Likewise.
72572         * timezone/version.h: New file.
72573         * timezone/README: Describe version.h.  Update upstream location.
72575         [BZ #14824]
72576         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72577         (mktemp): Enable declaration.
72578         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72579         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72580         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72581         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72582         Likewise.
72583         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72584         Likewise.
72585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72586         Likewise.
72587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72588         Likewise.
72589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72590         Likewise.
72591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72592         Likewise.
72594         [BZ #14821]
72595         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72596         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
72597         for copies of such integer values.
72598         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72599         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72601 2012-11-09  Andreas Jaeger  <aj@suse.de>
72603         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72604         definitions and declarations that are provided by
72605         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72607 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72609         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72610         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72611         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72612         definition.
72614 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72616         * elf/elf.h: Update comment before AArch64 relocations.
72618 2012-11-07  David S. Miller  <davem@davemloft.net>
72620         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72621         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72622         (__start_context): Declare.
72623         (__makecontext_ret): Delete.
72624         (__makecontext): Hook up __start_context instead of
72625         __makecontext_ret.
72626         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72627         (sysdep_routines): Add __start_context when in stdlib.
72629 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72631         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72632         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72633         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
72634         hardcoded "nm".
72635         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
72636         (READELF): New variable.  Use it instead of hardcoded "readelf".
72638 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72640         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72641         * sysdeps/x86/Makefile: Here.
72642         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72643         * sysdeps/x86/tst-xmmymm.sh: This.
72645 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72647         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72648         expectations.
72649         [UNIX98] (pthread_barrier_t): Do not expect.
72650         [UNIX98] (pthread_barrierattr_t): Likewise.
72651         [UNIX98] (pthread_spinlock_t): Likewise.
72652         [UNIX98] (pthread_barrier_destroy): Likewise.
72653         [UNIX98] (pthread_barrier_init): Likewise.
72654         [UNIX98] (pthread_barrier_wait): Likewise.
72655         [UNIX98] (pthread_barrierattr_destroy): Likewise.
72656         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72657         [UNIX98] (pthread_barrierattr_init): Likewise.
72658         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72659         [UNIX98] (pthread_getcpuclockid): Likewise.
72660         [UNIX98] (pthread_mutex_timedlock): Likewise.
72661         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72662         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72663         [UNIX98] (pthread_sigmask): Likewise.
72664         [UNIX98] (pthread_spin_destroy): Likewise.
72665         [UNIX98] (pthread_spin_init): Likewise.
72666         [UNIX98] (pthread_spin_lock): Likewise.
72667         [UNIX98] (pthread_spin_trylock): Likewise.
72668         [UNIX98] (pthread_spin_unlock): Likewise.
72669         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72670         Do not expect.
72671         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72672         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72673         [XPG3 || XPG4] (pthread_cond_t): Likewise.
72674         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72675         [XPG3 || XPG4] (pthread_key_t): Likewise.
72676         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72677         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72678         [XPG3 || XPG4] (pthread_once_t): Likewise.
72679         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72680         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72681         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72682         [XPG3 || XPG4] (pthread_t): Likewise.
72684         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72685         not expect.
72686         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72688         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72689         Change function return type to int.
72691         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72692         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72693         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72694         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72695         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72696         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72697         [!POSIX] (posix_madvise): Likewise.
72698         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72699         && !UNIX98].
72700         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72701         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72702         (mode_t): Likewise.
72703         (posix_mem_offset): Likewise.
72704         (posix_typed_mem_get_info): Likewise.
72705         (posix_typed_mem_open): Likewise.
72707         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72708         Change condition to [XOPEN2K8].
72710         * conform/conformtest.pl: Preprocess allow-header data with -x c
72711         instead of from stdin.
72712         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72713         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72714         [C99-based standards] (cerfc): Likewise.
72715         [C99-based standards] (cexp2): Likewise.
72716         [C99-based standards] (cexpm1): Likewise.
72717         [C99-based standards] (clog10): Likewise.
72718         [C99-based standards] (clog1p): Likewise.
72719         [C99-based standards] (clog2): Likewise.
72720         [C99-based standards] (clgamma): Likewise.
72721         [C99-based standards] (ctgamma): Likewise.
72722         [C99-based standards] (cerff): Likewise.
72723         [C99-based standards] (cerfcf): Likewise.
72724         [C99-based standards] (cexp2f): Likewise.
72725         [C99-based standards] (cexpm1f): Likewise.
72726         [C99-based standards] (clog10f): Likewise.
72727         [C99-based standards] (clog1pf): Likewise.
72728         [C99-based standards] (clog2f): Likewise.
72729         [C99-based standards] (clgammaf): Likewise.
72730         [C99-based standards] (ctgammaf): Likewise.
72731         [C99-based standards] (cerfl): Likewise.
72732         [C99-based standards] (cerfcl): Likewise.
72733         [C99-based standards] (cexp2l): Likewise.
72734         [C99-based standards] (cexpm1l): Likewise.
72735         [C99-based standards] (clog10l): Likewise.
72736         [C99-based standards] (clog1pl): Likewise.
72737         [C99-based standards] (clog2l): Likewise.
72738         [C99-based standards] (clgammal): Likewise.
72739         [C99-based standards] (ctgammal): Likewise.
72740         * conform/data/inttypes.h-data [C99-based standards]: Include
72741         stdint.h-data.  Remove all expectations for stdint.h contents.
72742         [C99-based standards] (PRI*): Do not allow.
72743         [C99-based standards] (SCN*): Likewise.
72744         [C99-based standards] (*_t): Likewise.
72745         [C99-based-standards] (PRId8): Expect macro.
72746         [C99-based-standards] (PRIi8): Likewise.
72747         [C99-based-standards] (PRIo8): Likewise.
72748         [C99-based-standards] (PRIu8): Likewise.
72749         [C99-based-standards] (PRIx8): Likewise.
72750         [C99-based-standards] (PRIX8): Likewise.
72751         [C99-based-standards] (SCNd8): Likewise.
72752         [C99-based-standards] (SCNi8): Likewise.
72753         [C99-based-standards] (SCNo8): Likewise.
72754         [C99-based-standards] (SCNu8): Likewise.
72755         [C99-based-standards] (SCNx8): Likewise.
72756         [C99-based-standards] (PRIdLEAST8): Likewise.
72757         [C99-based-standards] (PRIiLEAST8): Likewise.
72758         [C99-based-standards] (PRIoLEAST8): Likewise.
72759         [C99-based-standards] (PRIuLEAST8): Likewise.
72760         [C99-based-standards] (PRIxLEAST8): Likewise.
72761         [C99-based-standards] (PRIXLEAST8): Likewise.
72762         [C99-based-standards] (SCNdLEAST8): Likewise.
72763         [C99-based-standards] (SCNiLEAST8): Likewise.
72764         [C99-based-standards] (SCNoLEAST8): Likewise.
72765         [C99-based-standards] (SCNuLEAST8): Likewise.
72766         [C99-based-standards] (SCNxLEAST8): Likewise.
72767         [C99-based-standards] (PRIdFAST8): Likewise.
72768         [C99-based-standards] (PRIiFAST8): Likewise.
72769         [C99-based-standards] (PRIoFAST8): Likewise.
72770         [C99-based-standards] (PRIuFAST8): Likewise.
72771         [C99-based-standards] (PRIxFAST8): Likewise.
72772         [C99-based-standards] (PRIXFAST8): Likewise.
72773         [C99-based-standards] (SCNdFAST8): Likewise.
72774         [C99-based-standards] (SCNiFAST8): Likewise.
72775         [C99-based-standards] (SCNoFAST8): Likewise.
72776         [C99-based-standards] (SCNuFAST8): Likewise.
72777         [C99-based-standards] (SCNxFAST8): Likewise.
72778         [C99-based-standards] (PRId16): Likewise.
72779         [C99-based-standards] (PRIi16): Likewise.
72780         [C99-based-standards] (PRIo16): Likewise.
72781         [C99-based-standards] (PRIu16): Likewise.
72782         [C99-based-standards] (PRIx16): Likewise.
72783         [C99-based-standards] (PRIX16): Likewise.
72784         [C99-based-standards] (SCNd16): Likewise.
72785         [C99-based-standards] (SCNi16): Likewise.
72786         [C99-based-standards] (SCNo16): Likewise.
72787         [C99-based-standards] (SCNu16): Likewise.
72788         [C99-based-standards] (SCNx16): Likewise.
72789         [C99-based-standards] (PRIdLEAST16): Likewise.
72790         [C99-based-standards] (PRIiLEAST16): Likewise.
72791         [C99-based-standards] (PRIoLEAST16): Likewise.
72792         [C99-based-standards] (PRIuLEAST16): Likewise.
72793         [C99-based-standards] (PRIxLEAST16): Likewise.
72794         [C99-based-standards] (PRIXLEAST16): Likewise.
72795         [C99-based-standards] (SCNdLEAST16): Likewise.
72796         [C99-based-standards] (SCNiLEAST16): Likewise.
72797         [C99-based-standards] (SCNoLEAST16): Likewise.
72798         [C99-based-standards] (SCNuLEAST16): Likewise.
72799         [C99-based-standards] (SCNxLEAST16): Likewise.
72800         [C99-based-standards] (PRIdFAST16): Likewise.
72801         [C99-based-standards] (PRIiFAST16): Likewise.
72802         [C99-based-standards] (PRIoFAST16): Likewise.
72803         [C99-based-standards] (PRIuFAST16): Likewise.
72804         [C99-based-standards] (PRIxFAST16): Likewise.
72805         [C99-based-standards] (PRIXFAST16): Likewise.
72806         [C99-based-standards] (SCNdFAST16): Likewise.
72807         [C99-based-standards] (SCNiFAST16): Likewise.
72808         [C99-based-standards] (SCNoFAST16): Likewise.
72809         [C99-based-standards] (SCNuFAST16): Likewise.
72810         [C99-based-standards] (SCNxFAST16): Likewise.
72811         [C99-based-standards] (PRId32): Likewise.
72812         [C99-based-standards] (PRIi32): Likewise.
72813         [C99-based-standards] (PRIo32): Likewise.
72814         [C99-based-standards] (PRIu32): Likewise.
72815         [C99-based-standards] (PRIx32): Likewise.
72816         [C99-based-standards] (PRIX32): Likewise.
72817         [C99-based-standards] (SCNd32): Likewise.
72818         [C99-based-standards] (SCNi32): Likewise.
72819         [C99-based-standards] (SCNo32): Likewise.
72820         [C99-based-standards] (SCNu32): Likewise.
72821         [C99-based-standards] (SCNx32): Likewise.
72822         [C99-based-standards] (PRIdLEAST32): Likewise.
72823         [C99-based-standards] (PRIiLEAST32): Likewise.
72824         [C99-based-standards] (PRIoLEAST32): Likewise.
72825         [C99-based-standards] (PRIuLEAST32): Likewise.
72826         [C99-based-standards] (PRIxLEAST32): Likewise.
72827         [C99-based-standards] (PRIXLEAST32): Likewise.
72828         [C99-based-standards] (SCNdLEAST32): Likewise.
72829         [C99-based-standards] (SCNiLEAST32): Likewise.
72830         [C99-based-standards] (SCNoLEAST32): Likewise.
72831         [C99-based-standards] (SCNuLEAST32): Likewise.
72832         [C99-based-standards] (SCNxLEAST32): Likewise.
72833         [C99-based-standards] (PRIdFAST32): Likewise.
72834         [C99-based-standards] (PRIiFAST32): Likewise.
72835         [C99-based-standards] (PRIoFAST32): Likewise.
72836         [C99-based-standards] (PRIuFAST32): Likewise.
72837         [C99-based-standards] (PRIxFAST32): Likewise.
72838         [C99-based-standards] (PRIXFAST32): Likewise.
72839         [C99-based-standards] (SCNdFAST32): Likewise.
72840         [C99-based-standards] (SCNiFAST32): Likewise.
72841         [C99-based-standards] (SCNoFAST32): Likewise.
72842         [C99-based-standards] (SCNuFAST32): Likewise.
72843         [C99-based-standards] (SCNxFAST32): Likewise.
72844         [C99-based-standards] (PRId64): Likewise.
72845         [C99-based-standards] (PRIi64): Likewise.
72846         [C99-based-standards] (PRIo64): Likewise.
72847         [C99-based-standards] (PRIu64): Likewise.
72848         [C99-based-standards] (PRIx64): Likewise.
72849         [C99-based-standards] (PRIX64): Likewise.
72850         [C99-based-standards] (SCNd64): Likewise.
72851         [C99-based-standards] (SCNi64): Likewise.
72852         [C99-based-standards] (SCNo64): Likewise.
72853         [C99-based-standards] (SCNu64): Likewise.
72854         [C99-based-standards] (SCNx64): Likewise.
72855         [C99-based-standards] (PRIdLEAST64): Likewise.
72856         [C99-based-standards] (PRIiLEAST64): Likewise.
72857         [C99-based-standards] (PRIoLEAST64): Likewise.
72858         [C99-based-standards] (PRIuLEAST64): Likewise.
72859         [C99-based-standards] (PRIxLEAST64): Likewise.
72860         [C99-based-standards] (PRIXLEAST64): Likewise.
72861         [C99-based-standards] (SCNdLEAST64): Likewise.
72862         [C99-based-standards] (SCNiLEAST64): Likewise.
72863         [C99-based-standards] (SCNoLEAST64): Likewise.
72864         [C99-based-standards] (SCNuLEAST64): Likewise.
72865         [C99-based-standards] (SCNxLEAST64): Likewise.
72866         [C99-based-standards] (PRIdFAST64): Likewise.
72867         [C99-based-standards] (PRIiFAST64): Likewise.
72868         [C99-based-standards] (PRIoFAST64): Likewise.
72869         [C99-based-standards] (PRIuFAST64): Likewise.
72870         [C99-based-standards] (PRIxFAST64): Likewise.
72871         [C99-based-standards] (PRIXFAST64): Likewise.
72872         [C99-based-standards] (SCNdFAST64): Likewise.
72873         [C99-based-standards] (SCNiFAST64): Likewise.
72874         [C99-based-standards] (SCNoFAST64): Likewise.
72875         [C99-based-standards] (SCNuFAST64): Likewise.
72876         [C99-based-standards] (SCNxFAST64): Likewise.
72877         [C99-based-standards] (PRIdMAX): Likewise.
72878         [C99-based-standards] (PRIiMAX): Likewise.
72879         [C99-based-standards] (PRIoMAX): Likewise.
72880         [C99-based-standards] (PRIuMAX): Likewise.
72881         [C99-based-standards] (PRIxMAX): Likewise.
72882         [C99-based-standards] (PRIXMAX): Likewise.
72883         [C99-based-standards] (SCNdMAX): Likewise.
72884         [C99-based-standards] (SCNiMAX): Likewise.
72885         [C99-based-standards] (SCNoMAX): Likewise.
72886         [C99-based-standards] (SCNuMAX): Likewise.
72887         [C99-based-standards] (SCNxMAX): Likewise.
72888         [C99-based-standards] (PRIdPTR): Likewise.
72889         [C99-based-standards] (PRIiPTR): Likewise.
72890         [C99-based-standards] (PRIoPTR): Likewise.
72891         [C99-based-standards] (PRIuPTR): Likewise.
72892         [C99-based-standards] (PRIxPTR): Likewise.
72893         [C99-based-standards] (PRIXPTR): Likewise.
72894         [C99-based-standards] (SCNdPTR): Likewise.
72895         [C99-based-standards] (SCNiPTR): Likewise.
72896         [C99-based-standards] (SCNoPTR): Likewise.
72897         [C99-based-standards] (SCNuPTR): Likewise.
72898         [C99-based-standards] (SCNxPTR): Likewise.
72899         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
72900         allow.
72901         * conform/data/stdint.h-data: Update comments to clarify
72902         requirements.
72903         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
72904         type.
72905         [C99-based standards] (INT8_MAX): Likewise.
72906         [C99-based standards] (INT16_MIN): Likewise.
72907         [C99-based standards] (INT16_MAX): Likewise.
72908         [C99-based standards] (INT32_MIN): Likewise.
72909         [C99-based standards] (INT32_MAX): Likewise.
72910         [C99-based standards] (INT64_MIN): Likewise.
72911         [C99-based standards] (INT64_MAX): Likewise.
72912         [C99-based standards] (UINT8_MAX): Likewise.
72913         [C99-based standards] (UINT16_MAX): Likewise.
72914         [C99-based standards] (UINT32_MAX): Likewise.
72915         [C99-based standards] (UINT64_MAX): Likewise.
72916         [C99-based standards] (INT_LEAST8_MIN): Likewise.
72917         [C99-based standards] (INT_LEAST8_MAX): Likewise.
72918         [C99-based standards] (INT_LEAST16_MIN): Likewise.
72919         [C99-based standards] (INT_LEAST16_MAX): Likewise.
72920         [C99-based standards] (INT_LEAST32_MIN): Likewise.
72921         [C99-based standards] (INT_LEAST32_MAX): Likewise.
72922         [C99-based standards] (INT_LEAST64_MIN): Likewise.
72923         [C99-based standards] (INT_LEAST64_MAX): Likewise.
72924         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
72925         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
72926         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
72927         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
72928         [C99-based standards] (INT_FAST8_MIN): Likewise.
72929         [C99-based standards] (INT_FAST8_MAX): Likewise.
72930         [C99-based standards] (INT_FAST16_MIN): Likewise.
72931         [C99-based standards] (INT_FAST16_MAX): Likewise.
72932         [C99-based standards] (INT_FAST32_MIN): Likewise.
72933         [C99-based standards] (INT_FAST32_MAX): Likewise.
72934         [C99-based standards] (INT_FAST64_MIN): Likewise.
72935         [C99-based standards] (INT_FAST64_MAX): Likewise.
72936         [C99-based standards] (UINT_FAST8_MAX): Likewise.
72937         [C99-based standards] (UINT_FAST16_MAX): Likewise.
72938         [C99-based standards] (UINT_FAST32_MAX): Likewise.
72939         [C99-based standards] (UINT_FAST64_MAX): Likewise.
72940         [C99-based standards] (INTPTR_MIN): Likewise.
72941         [C99-based standards] (INTPTR_MAX): Likewise.
72942         [C99-based standards] (UINTPTR_MAX): Likewise.
72943         [C99-based standards] (INTMAX_MIN): Likewise.
72944         [C99-based standards] (INTMAX_MAX): Likewise.
72945         [C99-based standards] (UINTMAX_MAX): Likewise.
72946         [C99-based standards] (PTRDIFF_MIN): Likewise.
72947         [C99-based standards] (PTRDIFF_MAX): Likewise.
72948         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
72949         [C99-based standards] (SIZE_MAX): Likewise.
72950         [C99-based standards] (WCHAR_MAX): Likewise.
72951         [C99-based standards] (WINT_MAX): Likewise.
72952         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
72953         constraint on value.
72954         [C99-based standards] (WCHAR_MIN): Likewise.
72955         [C99-based standards] (WINT_MIN): Likewise.
72956         [C99-based standards] (*_t): Allow.
72957         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
72958         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
72959         Include math.h-data and complex.h-data.  Remove all expectations
72960         of math.h and complex.h contents.
72961         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
72962         at end of line.
72963         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
72964         (struct tm): Expect tag.
72965         [C99-based-standards] (wcstof): Expect function.
72966         [C99-based-standards] (wcstold): Likewise.
72967         [C99-based-standards] (wcstoll): Likewise.
72968         [C99-based-standards] (wcstoull): Likewise.
72969         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
72970         macro-int-constant.  Specify type.
72971         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
72972         constraint on value.
72973         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72974         Specify type.
72975         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
72976         Specify value.
72977         [ISO C standards]: Do not allow headers.
72978         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
72979         wcs[abcdefghijklmnopqrstuvwxyz]*.
72980         [ISO C standards] (*_t): Do not allow.
72981         * conform/data/wctype.h-data [C99-based standards] (iswblank):
72982         Expect function.
72983         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
72984         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72985         Specify type.
72986         [ISO C standards]: Do not allow headers.
72987         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
72988         is[abcdefghijklmnopqrstuvwxyz]*.
72989         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
72990         to[abcdefghijklmnopqrstuvwxyz]*.
72991         [ISO C standards] (*_t): Do not allow.
72992         * conform/data/stdalign.h-data: New file.
72993         * conform/data/stdbool.h-data: Likewise.
72994         * conform/data/stdnoreturn.h-data: Likewise.
72996 2012-11-07  Roland McGrath  <roland@hack.frob.com>
72998         [BZ #14815]
72999         * manual/filesys.texi (Directory Entries): Typo fix.
73000         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
73002 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73004         * elf/elf.h (EM_AARCH64): New macro.
73005         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
73006         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
73007         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
73008         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
73009         (R_AARCH64_TLSDESC): Likewise.
73010         (NT_ARM_TLS): Likewise.
73011         (NT_ARM_HW_BREAK): Likewise.
73012         (NT_ARM_HW_WATCH): Likewise.
73014 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73016         [BZ #14811]
73017         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
73018         (__ieee754_powl): Saturate nonzero exponents with absolute value
73019         below 0x1p-79 to +/- 0x1p-79.
73020         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
73021         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
73022         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
73023         nonzero exponents with absolute value below 0x1p-32 to +/-
73024         0x1p-32.
73025         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
73026         (__ieee754_powl): Saturate nonzero exponents with absolute value
73027         below 0x1p-79 to +/- 0x1p-79.
73028         * math/libm-test.inc (pow_test): Add more tests.
73030 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73032         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
73033         _dl_s390_cap_flags with kernel. Increase string length.
73034         (_dl_s390_platforms): Add z196 and zEC12.
73036 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73038         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
73039         Change XOPEN21K to XOPEN2K.
73041 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
73043         * string/memmove.c: Use memcpy when possible.
73045 2012-11-06  Andreas Jaeger  <aj@suse.de>
73047         * po/eo.po: Update from translation team.
73049 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
73051         [BZ #14793]
73052         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
73053         exponent and small x and y exponents, scale x or y up.  Increase
73054         by 2 the exponent used in scaling up.
73055         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73056         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73057         * math/libm-test.inc (fma_test): Add more tests.
73058         (fma_test_towardzero): Likewise.
73059         (fma_test_downward): Likewise.
73060         (fma_test_upward): Likewise.
73062 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
73064         [BZ #14805]
73065         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
73066         fenv_t *.
73068         [BZ #14801]
73069         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
73070         namespace for names of struct fields.
73071         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
73072         fenv_t fields.
73073         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
73074         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
73076 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73078         [BZ #3665]
73079         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73081 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73083         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73084         PTR_DEMANGLE.
73086         [BZ #5246]
73087         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73088         PTR_DEMANGLE.
73090 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
73092         [BZ #14797]
73093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73094         definitely overflow as x * y not x * y + z.
73095         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73096         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73097         * math/libm-test.inc (fma_test): Add more tests.
73098         (fma_test_towardzero): Likewise.
73099         (fma_test_downward): Likewise.
73100         (fma_test_upward): Likewise.
73102 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73104         [BZ #157]
73106         * include/stub-tag.h: Remove file.
73107         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73108         '#include' of it.
73109         * manual/maint.texi (Porting): Don't reference it.
73110         * Makerules ($(objpfx)stubs): Likewise.
73111         * dirent/closedir.c: Don't include <stub-tag.h>.
73112         * dirent/dirfd.c: Likewise.
73113         * dirent/fdopendir.c: Likewise.
73114         * dirent/getdents.c: Likewise.
73115         * dirent/getdents64.c: Likewise.
73116         * dirent/opendir.c: Likewise.
73117         * dirent/readdir.c: Likewise.
73118         * dirent/readdir64.c: Likewise.
73119         * dirent/readdir64_r.c: Likewise.
73120         * dirent/readdir_r.c: Likewise.
73121         * dirent/rewinddir.c: Likewise.
73122         * dirent/seekdir.c: Likewise.
73123         * dirent/telldir.c: Likewise.
73124         * gmon/profil.c: Likewise.
73125         * grp/setgroups.c: Likewise.
73126         * inet/if_index.c: Likewise.
73127         * io/access.c: Likewise.
73128         * io/chdir.c: Likewise.
73129         * io/chmod.c: Likewise.
73130         * io/chown.c: Likewise.
73131         * io/close.c: Likewise.
73132         * io/dup.c: Likewise.
73133         * io/dup2.c: Likewise.
73134         * io/dup3.c: Likewise.
73135         * io/euidaccess.c: Likewise.
73136         * io/faccessat.c: Likewise.
73137         * io/fchdir.c: Likewise.
73138         * io/fchmod.c: Likewise.
73139         * io/fchmodat.c: Likewise.
73140         * io/fchown.c: Likewise.
73141         * io/fchownat.c: Likewise.
73142         * io/fcntl.c: Likewise.
73143         * io/flock.c: Likewise.
73144         * io/fstatfs.c: Likewise.
73145         * io/fstatfs64.c: Likewise.
73146         * io/fstatvfs.c: Likewise.
73147         * io/fstatvfs64.c: Likewise.
73148         * io/futimens.c: Likewise.
73149         * io/fxstat.c: Likewise.
73150         * io/fxstat64.c: Likewise.
73151         * io/fxstatat.c: Likewise.
73152         * io/fxstatat64.c: Likewise.
73153         * io/getcwd.c: Likewise.
73154         * io/isatty.c: Likewise.
73155         * io/lchmod.c: Likewise.
73156         * io/lchown.c: Likewise.
73157         * io/link.c: Likewise.
73158         * io/linkat.c: Likewise.
73159         * io/lseek.c: Likewise.
73160         * io/lseek64.c: Likewise.
73161         * io/lxstat64.c: Likewise.
73162         * io/mkdir.c: Likewise.
73163         * io/mkdirat.c: Likewise.
73164         * io/mkfifo.c: Likewise.
73165         * io/mkfifoat.c: Likewise.
73166         * io/open.c: Likewise.
73167         * io/open64.c: Likewise.
73168         * io/openat.c: Likewise.
73169         * io/openat64.c: Likewise.
73170         * io/pipe.c: Likewise.
73171         * io/pipe2.c: Likewise.
73172         * io/poll.c: Likewise.
73173         * io/posix_fadvise.c: Likewise.
73174         * io/posix_fadvise64.c: Likewise.
73175         * io/posix_fallocate.c: Likewise.
73176         * io/posix_fallocate64.c: Likewise.
73177         * io/read.c: Likewise.
73178         * io/readlink.c: Likewise.
73179         * io/readlinkat.c: Likewise.
73180         * io/rmdir.c: Likewise.
73181         * io/sendfile.c: Likewise.
73182         * io/sendfile64.c: Likewise.
73183         * io/statfs.c: Likewise.
73184         * io/statfs64.c: Likewise.
73185         * io/statvfs.c: Likewise.
73186         * io/statvfs64.c: Likewise.
73187         * io/symlink.c: Likewise.
73188         * io/symlinkat.c: Likewise.
73189         * io/ttyname.c: Likewise.
73190         * io/ttyname_r.c: Likewise.
73191         * io/umask.c: Likewise.
73192         * io/unlink.c: Likewise.
73193         * io/unlinkat.c: Likewise.
73194         * io/utime.c: Likewise.
73195         * io/utimensat.c: Likewise.
73196         * io/write.c: Likewise.
73197         * io/xmknod.c: Likewise.
73198         * io/xmknodat.c: Likewise.
73199         * io/xstat.c: Likewise.
73200         * io/xstat64.c: Likewise.
73201         * login/getpt.c: Likewise.
73202         * login/grantpt.c: Likewise.
73203         * login/unlockpt.c: Likewise.
73204         * math/e_acoshl.c: Likewise.
73205         * math/e_acosl.c: Likewise.
73206         * math/e_asinl.c: Likewise.
73207         * math/e_atan2l.c: Likewise.
73208         * math/e_atanhl.c: Likewise.
73209         * math/e_coshl.c: Likewise.
73210         * math/e_expl.c: Likewise.
73211         * math/e_fmodl.c: Likewise.
73212         * math/e_gammal_r.c: Likewise.
73213         * math/e_hypotl.c: Likewise.
73214         * math/e_j0l.c: Likewise.
73215         * math/e_j1l.c: Likewise.
73216         * math/e_jnl.c: Likewise.
73217         * math/e_lgammal_r.c: Likewise.
73218         * math/e_log10l.c: Likewise.
73219         * math/e_log2l.c: Likewise.
73220         * math/e_logl.c: Likewise.
73221         * math/e_powl.c: Likewise.
73222         * math/e_rem_pio2l.c: Likewise.
73223         * math/e_sinhl.c: Likewise.
73224         * math/e_sqrtl.c: Likewise.
73225         * math/fclrexcpt.c: Likewise.
73226         * math/fedisblxcpt.c: Likewise.
73227         * math/feenablxcpt.c: Likewise.
73228         * math/fegetenv.c: Likewise.
73229         * math/fegetexcept.c: Likewise.
73230         * math/fegetround.c: Likewise.
73231         * math/feholdexcpt.c: Likewise.
73232         * math/fesetenv.c: Likewise.
73233         * math/fesetround.c: Likewise.
73234         * math/feupdateenv.c: Likewise.
73235         * math/fgetexcptflg.c: Likewise.
73236         * math/fraiseexcpt.c: Likewise.
73237         * math/fsetexcptflg.c: Likewise.
73238         * math/ftestexcept.c: Likewise.
73239         * math/k_cosl.c: Likewise.
73240         * math/k_rem_pio2l.c: Likewise.
73241         * math/k_sinl.c: Likewise.
73242         * math/k_tanl.c: Likewise.
73243         * math/s_asinhl.c: Likewise.
73244         * math/s_atanl.c: Likewise.
73245         * math/s_cbrtl.c: Likewise.
73246         * math/s_erfl.c: Likewise.
73247         * math/s_expm1l.c: Likewise.
73248         * math/s_log1pl.c: Likewise.
73249         * math/s_tanhl.c: Likewise.
73250         * misc/acct.c: Likewise.
73251         * misc/brk.c: Likewise.
73252         * misc/chflags.c: Likewise.
73253         * misc/chroot.c: Likewise.
73254         * misc/fchflags.c: Likewise.
73255         * misc/fgetxattr.c: Likewise.
73256         * misc/flistxattr.c: Likewise.
73257         * misc/fremovexattr.c: Likewise.
73258         * misc/fsetxattr.c: Likewise.
73259         * misc/fsync.c: Likewise.
73260         * misc/ftruncate.c: Likewise.
73261         * misc/futimes.c: Likewise.
73262         * misc/futimesat.c: Likewise.
73263         * misc/getdomain.c: Likewise.
73264         * misc/getdtsz.c: Likewise.
73265         * misc/gethostid.c: Likewise.
73266         * misc/gethostname.c: Likewise.
73267         * misc/getloadavg.c: Likewise.
73268         * misc/getpagesize.c: Likewise.
73269         * misc/getsysstats.c: Likewise.
73270         * misc/getxattr.c: Likewise.
73271         * misc/gtty.c: Likewise.
73272         * misc/ioctl.c: Likewise.
73273         * misc/lgetxattr.c: Likewise.
73274         * misc/listxattr.c: Likewise.
73275         * misc/llistxattr.c: Likewise.
73276         * misc/lremovexattr.c: Likewise.
73277         * misc/lsetxattr.c: Likewise.
73278         * misc/lutimes.c: Likewise.
73279         * misc/madvise.c: Likewise.
73280         * misc/mincore.c: Likewise.
73281         * misc/mlock.c: Likewise.
73282         * misc/mlockall.c: Likewise.
73283         * misc/mmap.c: Likewise.
73284         * misc/mprotect.c: Likewise.
73285         * misc/msync.c: Likewise.
73286         * misc/munlock.c: Likewise.
73287         * misc/munlockall.c: Likewise.
73288         * misc/munmap.c: Likewise.
73289         * misc/preadv.c: Likewise.
73290         * misc/preadv64.c: Likewise.
73291         * misc/ptrace.c: Likewise.
73292         * misc/pwritev.c: Likewise.
73293         * misc/pwritev64.c: Likewise.
73294         * misc/readv.c: Likewise.
73295         * misc/reboot.c: Likewise.
73296         * misc/remap_file_pages.c: Likewise.
73297         * misc/removexattr.c: Likewise.
73298         * misc/revoke.c: Likewise.
73299         * misc/select.c: Likewise.
73300         * misc/setdomain.c: Likewise.
73301         * misc/setegid.c: Likewise.
73302         * misc/seteuid.c: Likewise.
73303         * misc/sethostid.c: Likewise.
73304         * misc/sethostname.c: Likewise.
73305         * misc/setregid.c: Likewise.
73306         * misc/setreuid.c: Likewise.
73307         * misc/setxattr.c: Likewise.
73308         * misc/sstk.c: Likewise.
73309         * misc/stty.c: Likewise.
73310         * misc/swapoff.c: Likewise.
73311         * misc/swapon.c: Likewise.
73312         * misc/sync.c: Likewise.
73313         * misc/syncfs.c: Likewise.
73314         * misc/syscall.c: Likewise.
73315         * misc/truncate.c: Likewise.
73316         * misc/ualarm.c: Likewise.
73317         * misc/usleep.c: Likewise.
73318         * misc/ustat.c: Likewise.
73319         * misc/utimes.c: Likewise.
73320         * misc/vhangup.c: Likewise.
73321         * misc/writev.c: Likewise.
73322         * posix/_exit.c: Likewise.
73323         * posix/alarm.c: Likewise.
73324         * posix/execve.c: Likewise.
73325         * posix/fexecve.c: Likewise.
73326         * posix/fork.c: Likewise.
73327         * posix/fpathconf.c: Likewise.
73328         * posix/getaddrinfo.c: Likewise.
73329         * posix/getegid.c: Likewise.
73330         * posix/geteuid.c: Likewise.
73331         * posix/getgid.c: Likewise.
73332         * posix/getgroups.c: Likewise.
73333         * posix/getlogin.c: Likewise.
73334         * posix/getlogin_r.c: Likewise.
73335         * posix/getpgid.c: Likewise.
73336         * posix/getpid.c: Likewise.
73337         * posix/getppid.c: Likewise.
73338         * posix/getresgid.c: Likewise.
73339         * posix/getresuid.c: Likewise.
73340         * posix/getsid.c: Likewise.
73341         * posix/getuid.c: Likewise.
73342         * posix/glob64.c: Likewise.
73343         * posix/nanosleep.c: Likewise.
73344         * posix/pathconf.c: Likewise.
73345         * posix/pause.c: Likewise.
73346         * posix/posix_madvise.c: Likewise.
73347         * posix/pread.c: Likewise.
73348         * posix/pread64.c: Likewise.
73349         * posix/pwrite.c: Likewise.
73350         * posix/pwrite64.c: Likewise.
73351         * posix/sched_getaffinity.c: Likewise.
73352         * posix/sched_getp.c: Likewise.
73353         * posix/sched_gets.c: Likewise.
73354         * posix/sched_primax.c: Likewise.
73355         * posix/sched_primin.c: Likewise.
73356         * posix/sched_rr_gi.c: Likewise.
73357         * posix/sched_setaffinity.c: Likewise.
73358         * posix/sched_setp.c: Likewise.
73359         * posix/sched_sets.c: Likewise.
73360         * posix/sched_yield.c: Likewise.
73361         * posix/setgid.c: Likewise.
73362         * posix/setlogin.c: Likewise.
73363         * posix/setpgid.c: Likewise.
73364         * posix/setresgid.c: Likewise.
73365         * posix/setresuid.c: Likewise.
73366         * posix/setsid.c: Likewise.
73367         * posix/setuid.c: Likewise.
73368         * posix/sleep.c: Likewise.
73369         * posix/spawni.c: Likewise.
73370         * posix/sysconf.c: Likewise.
73371         * posix/times.c: Likewise.
73372         * posix/wait.c: Likewise.
73373         * posix/wait3.c: Likewise.
73374         * posix/wait4.c: Likewise.
73375         * posix/waitpid.c: Likewise.
73376         * resolv/gai_sigqueue.c: Likewise.
73377         * resource/getpriority.c: Likewise.
73378         * resource/getrlimit.c: Likewise.
73379         * resource/getrusage.c: Likewise.
73380         * resource/nice.c: Likewise.
73381         * resource/setpriority.c: Likewise.
73382         * resource/setrlimit.c: Likewise.
73383         * resource/ulimit.c: Likewise.
73384         * rt/aio_cancel.c: Likewise.
73385         * rt/aio_fsync.c: Likewise.
73386         * rt/aio_read.c: Likewise.
73387         * rt/aio_sigqueue.c: Likewise.
73388         * rt/aio_suspend.c: Likewise.
73389         * rt/aio_write.c: Likewise.
73390         * rt/clock_getres.c: Likewise.
73391         * rt/clock_gettime.c: Likewise.
73392         * rt/clock_nanosleep.c: Likewise.
73393         * rt/clock_settime.c: Likewise.
73394         * rt/lio_listio.c: Likewise.
73395         * rt/mq_close.c: Likewise.
73396         * rt/mq_getattr.c: Likewise.
73397         * rt/mq_notify.c: Likewise.
73398         * rt/mq_open.c: Likewise.
73399         * rt/mq_receive.c: Likewise.
73400         * rt/mq_send.c: Likewise.
73401         * rt/mq_setattr.c: Likewise.
73402         * rt/mq_timedreceive.c: Likewise.
73403         * rt/mq_timedsend.c: Likewise.
73404         * rt/mq_unlink.c: Likewise.
73405         * rt/shm_open.c: Likewise.
73406         * rt/shm_unlink.c: Likewise.
73407         * rt/timer_create.c: Likewise.
73408         * rt/timer_delete.c: Likewise.
73409         * rt/timer_getoverr.c: Likewise.
73410         * rt/timer_gettime.c: Likewise.
73411         * rt/timer_settime.c: Likewise.
73412         * setjmp/__longjmp.c: Likewise.
73413         * setjmp/setjmp.c: Likewise.
73414         * signal/kill.c: Likewise.
73415         * signal/killpg.c: Likewise.
73416         * signal/raise.c: Likewise.
73417         * signal/sigaction.c: Likewise.
73418         * signal/sigaltstack.c: Likewise.
73419         * signal/sigblock.c: Likewise.
73420         * signal/sigignore.c: Likewise.
73421         * signal/sigintr.c: Likewise.
73422         * signal/signal.c: Likewise.
73423         * signal/sigpause.c: Likewise.
73424         * signal/sigpending.c: Likewise.
73425         * signal/sigqueue.c: Likewise.
73426         * signal/sigreturn.c: Likewise.
73427         * signal/sigset.c: Likewise.
73428         * signal/sigsetmask.c: Likewise.
73429         * signal/sigstack.c: Likewise.
73430         * signal/sigsuspend.c: Likewise.
73431         * signal/sigtimedwait.c: Likewise.
73432         * signal/sigvec.c: Likewise.
73433         * signal/sigwait.c: Likewise.
73434         * signal/sigwaitinfo.c: Likewise.
73435         * signal/sysv_signal.c: Likewise.
73436         * socket/accept.c: Likewise.
73437         * socket/accept4.c: Likewise.
73438         * socket/bind.c: Likewise.
73439         * socket/connect.c: Likewise.
73440         * socket/getpeername.c: Likewise.
73441         * socket/getsockname.c: Likewise.
73442         * socket/getsockopt.c: Likewise.
73443         * socket/isfdtype.c: Likewise.
73444         * socket/listen.c: Likewise.
73445         * socket/recv.c: Likewise.
73446         * socket/recvfrom.c: Likewise.
73447         * socket/recvmsg.c: Likewise.
73448         * socket/send.c: Likewise.
73449         * socket/sendmsg.c: Likewise.
73450         * socket/sendto.c: Likewise.
73451         * socket/setsockopt.c: Likewise.
73452         * socket/shutdown.c: Likewise.
73453         * socket/sockatmark.c: Likewise.
73454         * socket/socket.c: Likewise.
73455         * socket/socketpair.c: Likewise.
73456         * stdio-common/ctermid.c: Likewise.
73457         * stdio-common/cuserid.c: Likewise.
73458         * stdio-common/remove.c: Likewise.
73459         * stdio-common/rename.c: Likewise.
73460         * stdio-common/renameat.c: Likewise.
73461         * stdio-common/tempname.c: Likewise.
73462         * stdlib/getcontext.c: Likewise.
73463         * stdlib/makecontext.c: Likewise.
73464         * stdlib/setcontext.c: Likewise.
73465         * stdlib/swapcontext.c: Likewise.
73466         * stdlib/system.c: Likewise.
73467         * streams/fattach.c: Likewise.
73468         * streams/fdetach.c: Likewise.
73469         * streams/getmsg.c: Likewise.
73470         * streams/getpmsg.c: Likewise.
73471         * streams/putmsg.c: Likewise.
73472         * streams/putpmsg.c: Likewise.
73473         * sysdeps/unix/bsd/getpt.c: Likewise.
73474         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73475         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73476         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73478         Likewise.
73479         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73480         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73481         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73482         * sysvipc/msgctl.c: Likewise.
73483         * sysvipc/msgget.c: Likewise.
73484         * sysvipc/msgrcv.c: Likewise.
73485         * sysvipc/msgsnd.c: Likewise.
73486         * sysvipc/semctl.c: Likewise.
73487         * sysvipc/semget.c: Likewise.
73488         * sysvipc/semop.c: Likewise.
73489         * sysvipc/semtimedop.c: Likewise.
73490         * sysvipc/shmat.c: Likewise.
73491         * sysvipc/shmctl.c: Likewise.
73492         * sysvipc/shmdt.c: Likewise.
73493         * sysvipc/shmget.c: Likewise.
73494         * termios/tcdrain.c: Likewise.
73495         * termios/tcflow.c: Likewise.
73496         * termios/tcflush.c: Likewise.
73497         * termios/tcgetattr.c: Likewise.
73498         * termios/tcgetpgrp.c: Likewise.
73499         * termios/tcsendbrk.c: Likewise.
73500         * termios/tcsetattr.c: Likewise.
73501         * termios/tcsetpgrp.c: Likewise.
73502         * time/adjtime.c: Likewise.
73503         * time/clock.c: Likewise.
73504         * time/getitimer.c: Likewise.
73505         * time/gettimeofday.c: Likewise.
73506         * time/setitimer.c: Likewise.
73507         * time/settimeofday.c: Likewise.
73508         * time/stime.c: Likewise.
73509         * time/time.c: Likewise.
73511 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73513         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73514         /usr/old/bin.
73516         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73517         instead of spaces.
73518         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73520 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73522         [BZ #14796]
73523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73524         FE_TONEAREST before applying Dekker multiplication and Knuth
73525         addition.  Clear inexact exceptions and check for exact zero
73526         results afterwards.
73527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73528         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73529         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73530         * math/libm-test.inc (fma_test): Add more tests.
73531         (fma_test_towardzero): Likewise.
73532         (fma_test_downward): Likewise.
73533         (fma_test_upward): Likewise.
73534         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73535         function.
73536         (libc_fesetround): New macro.
73537         (libc_fesetroundf): Likewise.
73538         (libc_fesetroundl): Likewise.
73539         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73540         function.
73541         (libc_fesetround_387): Likewise.
73542         (libc_fesetroundf): New macro.
73543         (libc_fesetround): Likewise.
73544         (libc_fesetroundl): Likewise.
73545         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73546         function.
73547         (libc_fesetroundf): New macro.
73548         (libc_fesetround): Likewise.
73549         (libc_fesetroundl): Likewise.
73550         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73551         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73552         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73553         libm_hidden_ver.
73554         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73555         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73556         libm_hidden_def.
73557         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73558         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73559         libm_hidden_ver.
73560         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73561         libm_hidden_def.
73563         [BZ #3439]
73564         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73565         integer constant usable in #if and use that to give value to enum
73566         constant.
73567         (FE_DIVBYZERO): Likewise.
73568         (FE_UNDERFLOW): Likewise.
73569         (FE_OVERFLOW): Likewise.
73570         (FE_INVALID): Likewise.
73571         (FE_INVALID_SNAN): Likewise.
73572         (FE_INVALID_ISI): Likewise.
73573         (FE_INVALID_IDI): Likewise.
73574         (FE_INVALID_ZDZ): Likewise.
73575         (FE_INVALID_IMZ): Likewise.
73576         (FE_INVALID_COMPARE): Likewise.
73577         (FE_INVALID_SOFTWARE): Likewise.
73578         (FE_INVALID_SQRT): Likewise.
73579         (FE_INVALID_INTEGER_CONVERSION): Likewise.
73580         (FE_TONEAREST): Likewise.
73581         (FE_TOWARDZERO): Likewise.
73582         (FE_UPWARD): Likewise.
73583         (FE_DOWNWARD): Likewise.
73584         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73585         (FE_DIVBYZERO): Likewise.
73586         (FE_OVERFLOW): Likewise.
73587         (FE_UNDERFLOW): Likewise.
73588         (FE_INEXACT): Likewise.
73589         (FE_TONEAREST): Likewise.
73590         (FE_DOWNWARD): Likewise.
73591         (FE_UPWARD): Likewise.
73592         (FE_TOWARDZERO): Likewise.
73593         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73594         (FE_UNDERFLOW): Likewise.
73595         (FE_OVERFLOW): Likewise.
73596         (FE_DIVBYZERO): Likewise.
73597         (FE_INVALID): Likewise.
73598         (FE_TONEAREST): Likewise.
73599         (FE_TOWARDZERO): Likewise.
73600         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73601         (FE_OVERFLOW): Likewise.
73602         (FE_UNDERFLOW): Likewise.
73603         (FE_DIVBYZERO): Likewise.
73604         (FE_INEXACT): Likewise.
73605         (FE_TONEAREST): Likewise.
73606         (FE_TOWARDZERO): Likewise.
73607         (FE_UPWARD): Likewise.
73608         (FE_DOWNWARD): Likewise.
73609         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73610         (FE_DIVBYZERO): Likewise.
73611         (FE_OVERFLOW): Likewise.
73612         (FE_UNDERFLOW): Likewise.
73613         (FE_INEXACT): Likewise.
73614         (FE_TONEAREST): Likewise.
73615         (FE_DOWNWARD): Likewise.
73616         (FE_UPWARD): Likewise.
73617         (FE_TOWARDZERO): Likewise.
73619 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
73621         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73623 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
73625         * scripts/cross-test-ssh.sh (command): Use newlines to separate
73626         commands.  Quote $PWD.
73627         (blacklist_exports): Don't use remove_newlines.  Replace "declare
73628         -x" by "export".
73629         (remove_newlines): Remove.
73631 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
73633         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73634         * stdlib/stdlib.h (atof): Moved to ...
73635         * include/bits/stdlib-float.h: Here.  New file.
73636         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73637         * stdlib/bits/stdlib-float.h: New file.
73638         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73639         -mno-sse -mno-mmx.
73640         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73641         <xmmintrin.h>.
73643 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73645         * conform/conformtest.pl (@headers): Add fenv.h.
73646         * conform/data/fenv.h-data: New file.
73647         * include/fenv.h [_ISOMAC]: Disable all contents of file except
73648         include of <math/fenv.h>.
73650         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73651         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73652         && !UNIX98].  Enables tests for XOPEN2K8.
73653         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73654         POSIX2008]: Likewise.
73656         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73657         (struct rusage): Do not expect type or its members.
73659         [BZ #3439]
73660         * math/math.h (FP_NAN): Define macro to integer constant usable in
73661         #if and use that to give value to enum constant.
73662         (FP_INFINITE): Likewise.
73663         (FP_ZERO): Likewise.
73664         (FP_SUBNORMAL): Likewise.
73665         (FP_NORMAL): Likewise.
73667 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
73669         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73670         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73671         arguments.
73673 2012-11-02  Roland McGrath  <roland@hack.frob.com>
73675         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73676         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73677         autoconf-time if not.
73678         * configure.in: Remove AC_PREREQ.
73680 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73682         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73683         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73684         of the internal implementation.
73686 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73688         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73689         except include of <misc/sys/syslog.h>.
73691 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73694         function returns with a NULL context exit with zero.
73696 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73698         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73700 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
73702         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73703         (run_program_cmd): This.
73704         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73705         (tst_langinfo): New variable.  Use it.
73707 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
73709         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73710         floating point opcodes.
73712 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73714         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73715         variable.
73717         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73719         * sysdeps/mach/hurd/powerpc: Remove directory.
73720         * sysdeps/mach/powerpc: Likewise.
73722 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73724         * scripts/check-local-headers.sh: Ignore c++ headers.
73726 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73728         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73729         __libc_cleanup_region_start argument.
73731 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
73733         [BZ #14784]
73734         [BZ #14785]
73735         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73736         x * y using scaling, not as x * y + z.
73737         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73738         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73739         * math/libm-test.inc (fma_test): Add more tests.
73740         (fma_test_towardzero): Likewise.
73741         (fma_test_downward): Likewise.
73742         (fma_test_upward): Likewise.
73744 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73746         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73748 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73750         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73751         New variable.
73753 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
73755         * rt/tst-shm.c (worker): Correct checking for mmap failure.
73757 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73760         Fix sort order.
73761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73762         Likewise.
73764 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73767         Fix the order of the list for glibc 2.17.
73768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73769         Likewise.
73771 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73775 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73777         [BZ #14610]
73778         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73779         for low part of x being zero before using __atanl (y).
73780         * math/libm-test.inc (atan2_test): Add another test.
73782         * manual/install.texi (Configuring and compiling): Document
73783         general use of test-wrapper and test-wrapper-env.
73784         * INSTALL: Regenerated.
73786         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73787         (__fma): Do not extract and scale down low bits on after-rounding
73788         systems when result rounded to normal precision would have normal
73789         exponent.
73790         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73791         (__fmal): Do not extract and scale down low bits on after-rounding
73792         systems when result rounded to normal precision would have normal
73793         exponent.
73794         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
73795         (__fmal): Do not extract and scale down low bits on after-rounding
73796         systems when result rounded to normal precision would have normal
73797         exponent.
73798         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
73799         macro.
73800         (fma_test): Add more tests.
73801         (fma_test_towardzero): Likewise.
73802         (fma_test_downward): Likewise.
73803         (fma_test_upward): Likewise.
73805 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
73807         * sysdeps/i386/tininess.h: Renamed to ...
73808         * sysdeps/x86/tininess.h: This.
73809         * sysdeps/x86_64/tininess.h: Removed.
73811 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73813         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
73814         input.  Use $(build-program-cmd).
73815         ($(objpfx)tst-array1-static.out): Likewise.
73816         ($(objpfx)tst-array2.out): Likewise.
73817         ($(objpfx)tst-array3.out): Likewise.
73818         ($(objpfx)tst-array4.out): Likewise.
73819         ($(objpfx)tst-array5.out): Likewise.
73820         ($(objpfx)tst-array5-static.out): Likewise.
73822 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
73824         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
73825         if defined.
73827         * nss/nsswitch.h (nss_interface_function): Provide new
73828         macro for use with NSS functions.
73829         * grp/initgroups.c: Use new macro.
73830         * nss/getXXbyYY.c: Likewise.
73831         * nss/getXXbyYY_r.c: Likewise.
73832         * nss/getXXent.c: Likewise.
73833         * nss/getXXent_r.c: Likewise.
73834         * sysdeps/posix/getaddrinfo.c: Likewise.
73836 2012-10-30  Andreas Jaeger  <aj@suse.de>
73838         * po/ru.po: Update Russion translation from translation project.
73840 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73842         [BZ #14152]
73843         [BZ #14783]
73844         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
73845         result and shift together with sticky bit instead of replicating
73846         round-to-nearest rounding.
73847         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73848         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73849         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
73850         missing underflow exceptions.
73851         (fma_test_towardzero): Add more tests.
73852         (fma_test_downward): Likewise.
73853         (fma_test_upward): Likewise.
73855         [BZ #14047]
73856         * sysdeps/generic/tininess.h: New file.
73857         * sysdeps/i386/tininess.h: Likewise.
73858         * sysdeps/sh/tininess.h: Likewise.
73859         * sysdeps/x86_64/tininess.h: Likewise.
73860         * stdlib/tst-strtod-underflow.c: Likewise.
73861         * stdlib/tst-tininess.c: Likewise.
73862         * stdlib/strtod_l.c: Include <tininess.h>.
73863         (round_and_return): Do not set errno for exact underflow cases.
73864         Force an underflow exception when setting errno for underflow.
73865         Determine underflow based on rounding to normal precision if
73866         TININESS_AFTER_ROUNDING.
73867         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
73868         ERANGE for exact underflow cases.
73869         * stdlib/Makefile (tests): Add tst-tininess and
73870         tst-strtod-underflow.
73871         ($(objpfx)tst-tininess): Use $(link-libm).
73872         ($(objpfx)tst-strtod-underflow): Likewise.
73874 2012-10-30  Andreas Jaeger  <aj@suse.de>
73876         [BZ #14767]
73877         * elf/Makefile (tests): Remove conditional for have-initfini-array
73878         since this is now always required and the variable does not exist
73879         anymore.
73880         (tests-static): Likewise.
73881         (modules-names): Likewise.
73883         * po/eo.po: Add Esperanto translation from translation project.
73885         * elf/tst-array1.c (fini_array): Make writeable so that it can be
73886         merged with constructor/destructor.
73887         (init_array): Likewise.
73888         * elf/tst-array2dep.c (fini_array): Likewise.
73889         (init_array): Likewise.
73891 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
73893         * manual/message.texi: Delete @cartouche tags.
73895 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
73897         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
73898         EOPNOTSUPP.
73899         * sysdeps/mach/hurd/fsync.c: Likewise.
73901         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
73902         [_POSIX_REALTIME_SIGNALS]: Change condition to
73903         [_POSIX_REALTIME_SIGNALS > 0].
73905 2012-10-27  Andreas Jaeger  <aj@suse.de>
73907         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
73908         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
73909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
73910         [__WORDSIZE != 64]: Likewise.
73912 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
73914         *  iconvdata/tst-table.sh: Remove ${SHELL}.
73915         *  iconvdata/tst-tables.sh: Likewise.
73917 2012-10-25  David S. Miller  <davem@davemloft.net>
73919         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73920         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
73921         of strtoull.
73923         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
73924         ifunc-impl-list.c
73925         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73926         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
73927         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
73928         file.
73930 2012-10-25  Roland McGrath  <roland@hack.frob.com>
73932         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73933         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
73934         __getdirentries.
73936 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73937             Jim Blandy  <jimb@codesourcery.com>
73939         * scripts/cross-test-ssh.sh: New file.
73940         * manual/install.texi (Configuring and compiling): Document use of
73941         cross-test-ssh.sh.
73942         * INSTALL: Regenerated.
73944 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
73946         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
73947         EOPNOTSUPP.
73949 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73951         * Makeconfig (run-program-prefix): Fix comment.
73953 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
73954             Jim Blandy  <jimb@codesourcery.com>
73956         * Makeconfig (test-wrapper): New variable,
73957         (test-wrapper-env): Likewise.
73958         [$(cross-compiling) = yes && $(test-wrapper) != ""]
73959         (run-built-tests): Define to yes.
73960         (run-program-prefix): Use $(test-wrapper).
73961         (built-program-cmd): Likewise.
73962         * Rules (make-test-out): Use $(test-wrapper-env) and
73963         $(host-built-program-cmd).
73964         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
73965         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
73966         tst-pathopt.sh.
73967         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
73968         $(test-wrapper-env) to tst-rtld-load-self.sh.
73969         ($(objpfx)order2.out): Use $(test-wrapper).
73970         ($(objpfx)tst-initorder.out): Likewise.
73971         ($(objpfx)tst-initorder2.out): Likewise.
73972         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
73973         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
73974         (test_wrapper_env): New variable.  Use it to run ld.so.
73975         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
73976         Use it to run ld.so.
73977         (test_wrapper_env): Likewise.
73978         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
73979         $(test-wrapper) to run-iconv-test.sh.
73980         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
73981         (ICONV): Use $test_wrapper.
73982         * posix/Makefile ($(objpfx)globtest.out): Pass
73983         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
73984         globtest.sh, not $(run-program-prefix).
73985         * posix/globtest.sh (run_via_rtld_prefix): New variable.
73986         (test_wrapper): Likewise.
73987         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
73988         set together with run_via_rtld_prefix.
73989         (run_program_prefix): Define in terms of test_wrapper and
73990         run_via_rtld_prefix.
73992 2012-10-24  Roland McGrath  <roland@hack.frob.com>
73994         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
73995         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
73996         Targets removed.
73998         [BZ #14743]
73999         * include/time.h: Remove librt_hidden_proto (clock_gettime).
74000         Declare __clock_getres, __clock_gettime, __clock_settime,
74001         __clock_nanosleep, and __clock_getcpuclockid.
74002         * rt/clock_gettime.c: Define __clock_gettime as an alias.
74003         Remove librt_hidden_def (clock_gettime).
74004         * sysdeps/unix/clock_gettime.c: Likewise.
74005         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
74006         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
74007         * rt/clock_getres.c: Define __clock_getres as an alias.
74008         * sysdeps/posix/clock_getres.c: Likewise.
74009         * rt/clock_settime.c: Define __clock_settime as an alias.
74010         * sysdeps/unix/clock_settime.c: Likewise.
74011         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
74012         * sysdeps/unix/clock_nanosleep.c: Likewise.
74013         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
74014         * rt/clock-compat.c: New file.
74015         * rt/Makefile (librt-routines): Add clock-compat and move
74016         $(clock-routines) to ...
74017         (routines): ... here, new variable.
74018         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
74019         Don't add get_clockfreq here.
74020         * rt/Versions (libc: GLIBC_2.17): New version set.
74021         Add clock_* symbols here.
74022         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
74023         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
74024         (GLIBC_2.17): Add clock_* symbols.
74025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74027         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74029         Likewise.
74030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74031         Likewise.
74032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74036         * NEWS: Mention the move.
74038         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
74039         Use __open, __read, __close rather than their public counterparts.
74040         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74041         (__get_clockfreq_via_cpuinfo): Likewise.
74042         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
74043         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
74045         * config.h.in (HAVE_IFUNC): New #undef.
74046         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
74047         was successful.
74048         * configure: Regenerated.
74050 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74052         * configure.in: Move READELF check to start of file.
74053         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
74054         libc_cv_asm_gnu_indirect_function in the process.
74055         * configure: Regenerated.
74057 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74059         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
74060         send the output to /dev/null.
74061         (libc_cv_cc_with_libunwind): Likewise.
74062         (libc_cv_as_noexecstack): Likewise.
74063         * configure: Regenerate.
74065 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74067         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
74069         * posix/globtest.sh (TMPDIR): Do not set.
74070         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
74071         (testout): Likewise.
74073 2012-10-24  Andreas Jaeger  <aj@suse.de>
74075         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
74076         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
74077         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
74078         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74079         posix_fadvise64, posix_fallocate64.
74081         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74082         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74083         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74084         Likewise.
74085         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74086         Likewise.
74087         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74089         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74090         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74091         <bits/fcntl-linux.h>.
74092         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74094         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74095         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74096         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74097         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74098         [__WORDSIZE != 64]: Likewise.
74100 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74102         * Makeconfig (run-built-tests): New variable.
74103         * Rules [$(cross-compiling) = yes]: Change condition to
74104         [$(run-built-tests) = no].
74105         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74106         to [$(run-built-tests) = yes].
74107         * elf/Makefile [$(cross-compiling) = no]: Likewise.
74108         * grp/Makefile [$(cross-compiling) = no]: Likewise.
74109         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74110         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74111         * intl/Makefile [$(cross-compiling) = no]: Likewise.
74112         * io/Makefile [$(cross-compiling) = no]: Likewise.
74113         * libio/Makefile [$(cross-compiling) = no]: Likewise.
74114         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74115         * misc/Makefile [$(cross-compiling) = no]: Likewise.
74116         * posix/Makefile [$(cross-compiling) = no]: Likewise.
74117         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74118         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74119         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74120         * string/Makefile [$(cross-compiling) = no]: Likewise.
74122         * posix/Makefile ($(objpfx)globtest.out): Pass
74123         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74124         $(rtld-installed-name).
74125         * posix/globtest.sh (elf_objpfx): Remove variable.
74126         (rtld_installed_name): Likewise.
74127         (library_path): Likewise.
74128         (run_program_prefix): New variable.  Use for running globtest
74129         binary.
74131 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
74132             Joseph Myers  <joseph@codesourcery.com>
74134         * Makeconfig (host-built-program-cmd): New variable.
74135         * elf/Makefile (tst-stackguard1-ARGS): Use
74136         $(host-built-program-cmd).
74137         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74138         (tst-spawn-ARGS): Likewise.
74139         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74141 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74142             Jim Blandy  <jimb@codesourcery.com>
74144         * Makeconfig (run-via-rtld-prefix): New variable.
74145         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74146         (built-program-cmd): Likewise.
74148 2012-10-22  Andreas Jaeger  <aj@suse.de>
74150         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74151         __O_RSYNC if it exists, otherwise to O_SYNC.
74153 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
74154             Joseph Myers  <joseph@codesourcery.com>
74156         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
74157         /dev/null.
74158         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
74159         from /dev/null
74160         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
74161         /dev/null.
74163 2012-10-22  Andreas Jaeger  <aj@suse.de>
74165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
74166         Define always.
74167         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
74169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74170         bits/fcntl-linux.h.
74172         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
74173         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
74175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
74176         to __O_LARGEFILE.
74177         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
74178         to __O_LARGEFILE.
74180 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
74181             Joseph Myers  <joseph@codesourcery.com>
74183         * config.make.in (NM): New variable.
74185 2012-10-21  Andreas Jaeger  <aj@suse.de>
74187         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
74188         definitions and declarations that are provided by
74189         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74191 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74193         [BZ #14683]
74194         * elf/Makefile (tests-static): Add tst-leaks1-static.
74195         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
74196         ($(objpfx)tst-leaks1-static): New rule.
74197         ($(objpfx)tst-leaks1-static-mem): Likewise.
74198         (tst-leaks1-static-ENV): New macro.
74199         * elf/dl-open.c (dl_open_worker): Check the main application
74200         only if SHARED is defined.
74201         * elf/tst-leaks1-static.c: New file.
74203 2012-10-20  Andreas Jaeger  <aj@suse.de>
74205         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
74206         generic values for Linux.
74207         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
74208         and declarations that are provided by <bits/fcntl-linux.h> and
74209         include <bits/fcntl-linux.h>.
74210         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74211         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74213 2012-10-20  Roland McGrath  <roland@hack.frob.com>
74215         * io/fcntl.h: Move include of <bits/types.h> to the top and
74216         include it unconditionally.
74218 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74220         * wcsmbs/Makefile (tests-ifunc): New variable.
74221         (tests): Add $(tests-ifunc).
74222         * wcsmbs/test-wcschr-ifunc.c: New file.
74223         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
74224         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
74225         * wcsmbs/test-wcslen-ifunc.c: Likewise.
74226         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
74227         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
74229         * string/Makefile (tests-ifunc): New variable.
74230         (tests): Add $(tests-ifunc).
74231         * string/test-memccpy.c (TEST_NAME): New macro.
74232         * string/test-memchr.c (TEST_NAME): Likewise.
74233         * string/test-memcmp.c (TEST_NAME): Likewise.
74234         * string/test-memcpy.c (TEST_NAME): Likewise.
74235         * string/test-memmem.c (TEST_NAME): Likewise.
74236         * string/test-memmove.c (TEST_NAME): Likewise.
74237         * string/test-memset.c (TEST_NAME): Likewise.
74238         * string/test-rawmemchr.c (TEST_NAME): Likewise.
74239         * string/test-stpcpy.c (TEST_NAME): Likewise.
74240         * string/test-stpncpy.c (TEST_NAME): Likewise.
74241         * string/test-strcasecmp.c (TEST_NAME): Likewise.
74242         * string/test-strcasestr.c (TEST_NAME): Likewise.
74243         * string/test-strcat.c (TEST_NAME): Likewise.
74244         * string/test-strchr.c (TEST_NAME): Likewise.
74245         * string/test-strcmp.c(TEST_NAME): Likewise.
74246         * string/test-strcpy.c (TEST_NAME): Likewise.
74247         * string/test-strcspn.c (TEST_NAME): Likewise.
74248         * string/test-strlen.c (TEST_NAME): Likewise.
74249         * string/test-strncasecmp.c (TEST_NAME): Likewise.
74250         * string/test-strncmp.c (TEST_NAME): Likewise.
74251         * string/test-strncpy.c (TEST_NAME): Likewise.
74252         * string/test-strnlen.c (TEST_NAME): Likewise.
74253         * string/test-strpbrk.c (TEST_NAME): Likewise.
74254         * string/test-strrchr.c (TEST_NAME): Likewise.
74255         * string/test-strspn.c (TEST_NAME): Likewise.
74256         * string/test-strstr.c (TEST_NAME): Likewise.
74257         * string/test-bcopy-ifunc.c: New file.
74258         * string/test-bzero-ifunc.c: Likewise.
74259         * string/test-memccpy-ifunc.c: Likewise.
74260         * string/test-memchr-ifunc.c: Likewise.
74261         * string/test-memcmp-ifunc.c: Likewise.
74262         * string/test-memcpy-ifunc.c: Likewise.
74263         * string/test-memmem-ifunc.c: Likewise.
74264         * string/test-memmove-ifunc.c: Likewise.
74265         * string/test-mempcpy-ifunc.c: Likewise.
74266         * string/test-memset-ifunc.c: Likewise.
74267         * string/test-rawmemchr-ifunc.c: Likewise.
74268         * string/test-stpcpy-ifunc.c: Likewise.
74269         * string/test-stpncpy-ifunc.c: Likewise.
74270         * string/test-strcasecmp-ifunc.c: Likewise.
74271         * string/test-strcasestr-ifunc.c: Likewise.
74272         * string/test-strcat-ifunc.c: Likewise.
74273         * string/test-strchr-ifunc.c: Likewise.
74274         * string/test-strchrnul-ifunc.c: Likewise.
74275         * string/test-strcmp-ifunc.c: Likewise.
74276         * string/test-strcpy-ifunc.c: Likewise.
74277         * string/test-strcspn-ifunc.c: Likewise.
74278         * string/test-strlen-ifunc.c: Likewise.
74279         * string/test-strncasecmp-ifunc.c: Likewise.
74280         * string/test-strncat-ifunc.c: Likewise.
74281         * string/test-strncmp-ifunc.c: Likewise.
74282         * string/test-strncpy-ifunc.c: Likewise.
74283         * string/test-strnlen-ifunc.c: Likewise.
74284         * string/test-strpbrk-ifunc.c: Likewise.
74285         * string/test-strrchr-ifunc.c: Likewise.
74286         * string/test-strspn-ifunc.c: Likewise.
74287         * string/test-strstr-ifunc.c: Likewise.
74289         * debug/Makefile (tests-ifunc): New variable.
74290         (tests): Add $(tests-ifunc).
74291         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
74292         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
74293         * debug/test-stpcpy_chk-ifunc.c: New file.
74294         * debug/test-strcpy_chk-ifunc.c: Likewise.
74296 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
74298         [BZ #13601]
74299         * elf/dl-load.c (open_verify): Retry read if the entire ELF
74300         header is not read in.
74302 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
74304         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
74305         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
74306         directly.  Pass built executable to script as
74307         $(built-program-cmd).
74308         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
74309         $testprogram without using LD_LIBRARY_PATH and $ldso.
74311         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
74312         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
74313         $(rtld-installed-name).
74314         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
74315         (rtld_installed_name): Likewise.
74316         (library_path): Likewise.
74317         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
74318         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
74319         $(run-program-prefix) to tst-tables.sh.
74320         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
74321         it to run tst-table-from and tst-table-to.
74322         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
74323         Pass it to tst-table.sh.
74324         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
74325         $(run-program-prefix) to tst-gettext.sh.
74326         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
74327         tst-translit.sh.
74328         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
74329         tst-gettext2.sh.
74330         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
74331         to run tst-gettext.
74332         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
74333         to run tst-gettext2.
74334         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
74335         to run tst-translit.
74336         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
74337         $(run-program-prefix) to tst-mtrace.sh.
74338         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
74339         to run tst-mtrace.
74340         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
74341         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
74342         $(rtld-installed-name).
74343         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
74344         (rtld_installed_name): Likewise.
74345         (run_program_prefix): New variable.  Use it to run wordexp-test.
74347         * Makeconfig (ARCH): Remove all definitions.
74348         (machine): Likewise.
74349         [ARCH]: Remove conditional code.
74350         [!objdir]: Give error.
74351         [!objdir] (objpfx): Remove.
74352         [!objdir] (common-objpfx): Likewise.
74353         [!objdir] (common-objdir): Likewise.
74354         * configure.in (config_makefile): Remove.  Hardcode Makefile in
74355         AC_CONFIG_FILES call.
74356         * configure: Regenerated.
74358         [BZ #13888]
74359         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
74360         or TMPDIR.
74361         (testout): Likewise.
74363         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
74364         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
74365         $(rtld-installed-name).
74366         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
74367         (rtld_installed_name): Likewise.
74368         (runit): Remove function.
74369         (run_getconf): New variable,  Use it for running getconf binary.
74371 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
74373         [BZ #14716]
74374         * string/test-memmem.c (check_result): New function.
74375         (do_one_test): Use it.
74376         (check1): New function.
74377         (test_main): Use it.
74379 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
74381         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74383 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
74385         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74386         (_G_LSEEK64): Likewise.
74387         (_G_MMAP64): Likewise.
74388         (_G_FSTAT64): Likewise.
74389         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74390         (_G_LSEEK64): Likewise.
74391         (_G_MMAP64): Likewise.
74392         (_G_FSTAT64): Likewise.
74393         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74394         unconditional.  Call __mmap64 directly.
74395         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74396         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
74397         __lseek64 directly.
74398         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74399         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
74400         __mmap64 directly.
74401         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74402         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74403         __lseek64 directly.
74404         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74405         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74406         __lseek64 directly.
74407         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74408         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
74409         __lseek64 directly.
74410         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74411         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
74412         __fxstat64 directly.
74413         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74414         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74415         unconditional.
74416         (freopen64) [!_G_OPEN64]: Remove conditional code.
74417         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74418         unconditional.
74419         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74420         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74421         unconditional.
74422         (ftello64) [!_G_LSEEK64]: Remove conditional code.
74423         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74424         unconditional.
74425         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74426         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74427         unconditional.
74428         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74429         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74430         unconditional.
74431         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74432         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74433         unconditional.
74434         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74435         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74436         unconditional.
74437         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74439 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
74441         [BZ #12140]
74442         * manual/memory.texi (Malloc Tunable Parameters): Add note
74443         about free list pointers overwriting some perturb bytes.
74444         Wording suggested by Roland McGrath.
74446 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
74448         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74449         (lgamma_test): Likewise.
74450         (tgamma_test): Likewise.
74452 2012-10-16  Florian Weimer  <fweimer@redhat.com>
74454         [BZ #14700]
74455         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74456         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74458 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74460         * NEWS: Mention BZ #14716.
74461         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74462         when removing AVAILABLE1_USES_J macro.
74464 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74466         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74467         (__bswap_64): __uint64_t for unsigned 64-bit int.
74469 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74471         * include/string.h (memmem): Declare libc hidden alias.
74472         * string/memmem.c (memmem): Define libc hidden alias.
74473         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74474         __read, __close instead of open, read, close.
74476 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74479         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74480         global and hidden.
74481         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74482         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74483         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74484         Likewise.
74485         (__rawmemchr_sse2): Likewise.
74486         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74487         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74488         (__strchr_sse2): Likewise.
74489         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74490         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74491         (__strcasecmp_sse2): Likewise.
74492         (__strncasecmp_sse2): Likewise.
74493         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74494         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74495         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74496         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74497         (__strrchr_sse2): Likewise.
74498         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74499         ifunc-impl-list.c.
74500         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74501         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74502         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74503         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74504         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74505         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74506         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74507         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74508         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74509         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74510         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74511         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74512         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74513         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74514         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74515         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74516         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74517         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74518         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74519         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74520         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74521         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74522         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74523         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74524         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74525         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74526         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74527         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74528         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74529         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74531         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74532         global and hidden.
74533         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74534         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74535         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74536         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74537         Likewise.
74538         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74539         Likewise.
74540         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74541         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74542         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74543         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74544         ifunc-impl-list.c.
74545         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74546         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74547         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74548         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74549         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74550         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74551         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74552         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74553         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74554         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74555         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74556         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74557         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74558         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74559         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74560         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74561         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74562         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74563         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74564         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74565         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74566         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74567         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74568         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74569         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74570         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74571         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74572         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74573         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74574         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74575         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74576         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74577         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74578         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74579         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74580         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74581         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74582         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74583         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74584         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74585         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74587         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74588         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74589         * include/ifunc-impl-list.h: New file.
74590         * misc/ifunc-impl-list.c: Likewise.
74591         * misc/Makefile (routines): Add ifunc-impl-list.
74592         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74593         * string/test-string.h: Include <ifunc-impl-list.h>.
74594         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74595         TEST_NAME]: New variables.
74596         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74597         are defined.
74598         (test_init): Call __libc_ifunc_impl_list to initialize
74599         func_list if TEST_IFUNC and TEST_NAME are defined.
74601         * string/Makefile (strop-tests): Add bcopy and bzero.
74602         * string/test-bcopy.c: New file.
74603         * string/test-bzero.c: Likewise.
74604         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74605         defined.
74606         * string/test-memset.c: Support bzero test if TEST_BZERO is
74607         defined.
74608         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74609         __libc_memmove.
74610         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74611         __libc_memset.
74612         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74613         of memset.
74615 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
74617         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74618         * configure: Regenerated.
74620         * Makeconfig (+link-static-before-libc): Don't include
74621         $(link-static-libc).
74623         * libio/libio.h (_IO_pos_t): Remove.
74625 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74627         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
74628         McGrath.
74630 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74632         * crypt/crypt-entry.c: Include fips-private.h.
74633         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74634         * crypt/md5c-test.c (main): Tolerate disabled MD5.
74635         * sysdeps/unix/sysv/linux/fips-private.h: New file.
74636         * sysdeps/generic/fips-private.h: New file, dummy fallback.
74638 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74640         * crypt/crypt-private.h: Include stdbool.h.
74641         (_ufc_setup_salt_r): Return bool.
74642         * crypt/crypt-entry.c: Include errno.h.
74643         (__crypt_r): Return NULL with EINVAL for bad salt.
74644         * crypt/crypt_util.c (bad_for_salt): New.
74645         (_ufc_setup_salt_r): Check that salt is long enough and within
74646         the specified alphabet.
74647         * crypt/badsalttest.c: New file.
74648         * crypt/Makefile (tests): Add it.
74649         ($(objpfx)badsalttest): New.
74651 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
74653         * NEWS: Add entry for BZ #14602.
74655 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74657         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74658         type-generic.
74659         * math/libm-test.inc: Update comment listing what functions and
74660         macros are tested.
74661         (isgreater_test): New function.
74662         (isgreaterequal_test): Likewise.
74663         (isless_test): Likewise.
74664         (islessequal_test): Likewise.
74665         (islessgreater_test): Likewise.
74666         (isunordered_test): Likewise.
74667         (main): Call the new functions.
74669 2012-10-09  Roland McGrath  <roland@hack.frob.com>
74671         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74672         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74673         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74674         * sysdeps/i386/configure: Regenerated.
74675         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74676         * sysdeps/mach/configure: Regenerated.
74677         * sysdeps/mach/hurd/configure: Regenerated.
74678         * sysdeps/powerpc/configure: Regenerated.
74679         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74680         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74681         * sysdeps/s390/s390-32/configure: Regenerated.
74682         * sysdeps/s390/s390-64/configure: Regenerated.
74683         * sysdeps/sh/configure: Regenerated.
74684         * sysdeps/sparc/configure: Regenerated.
74685         * sysdeps/unix/sysv/linux/configure: Regenerated.
74686         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74687         * sysdeps/x86_64/configure: Regenerated.
74689         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74690         defined.  Don't check if MAP is NULL.
74692 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74694         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74695         (_G_stat64): Likewise.
74696         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74697         (_G_stat64): Likewise.
74698         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74699         instead of struct _G_stat64.
74700         * libio/fileops.c (mmap_remap_check): Likewise.
74701         (decide_maybe_mmap): Likewise.
74702         (_IO_new_file_seekoff): Likewise.
74703         (_IO_file_stat): Likewise.
74704         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74705         _G_off64_t.
74706         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74707         instead of struct _G_stat64.
74708         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74710 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
74712         [BZ #14602]
74713         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74714         Replace with ...
74715         (CHECK_EOL): New macro.
74716         (two_way_short_needle): Check beginning of haystack for EOL.  Use
74717         CHECK_EOL.
74718         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74719         Replace with CHECK_EOL.
74720         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74721         Replace with CHECK_EOL.
74723 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
74725         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74726         type-generic.
74727         * math/libm-test.inc: Update comment listing what functions and
74728         macros are tested.
74729         (finite_test): New function.
74730         (isinf_test): Likewise.
74731         (isnan_test): Likewise.
74732         (fpclassify_test): Test subnormal input.
74733         (isfinite_test): Likewise.
74734         (isnormal_test): Likewise.
74735         (main): Call the new functions.
74737 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
74739         [BZ #14660]
74740         * Makerules (%.dynsym): Force C locale when running
74741         $(OBJDUMP) --dynamic-syms.
74743 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
74745         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74746         <stdint.h>.
74748 2012-10-06  David S. Miller  <davem@davemloft.net>
74750         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74751         upper 32-bits of the length value in %o2 since we use branch-on-register
74752         tests which consider the entire 64-bit register.
74754 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
74756         * string/test-strstr.c (check2): Add a test for page boundary.
74758 2012-10-05  David S. Miller  <davem@davemloft.net>
74760         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74761         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74762         file.
74763         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74764         sysdep_routines.
74765         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74766         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74767         and bzero when HWCAP_SPARC_CRYPTO is present.
74769 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
74771         [BZ #14602]
74772         * string/test-strstr.c (check2): New function.
74773         (test_main): Call check2.
74775         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74776         and bug-strchr1.
74777         * string/bug-strcasestr1.c (do_test): Moved to ...
74778         * string/test-strcasestr.c (check1): Here.  New function.
74779         (do_one_test): Break out result checking code into ...
74780         (check_result): This.  New function.
74781         (do_one_test): Call check_result.
74782         (test_main): Call check1.
74783         * string/bug-strchr1.c (do_test): Moved to ...
74784         * string/test-strchr.c (check1): Here.  New function.
74785         (do_one_test): Break out result checking code into ...
74786         (check_result): This.  New function.
74787         (do_one_test): Call check_result.
74788         (test_main): Call check1.
74789         * string/bug-strstr1.c (main): Moved to ...
74790         * string/test-strstr.c (check1): Here.  New function.
74791         (do_one_test): Break out result checking code into ...
74792         (check_result): This.  New function.
74793         (do_one_test): Call check_result.
74794         (test_main): Call check1.
74795         * string/bug-strcasestr1.c: Removed.
74796         * string/bug-strchr1.c: Likewise.
74797         * string/bug-strstr1.c: Likewise.
74799         * elf/Makefile (dl-routines): Add hwcaps.
74800         * elf/dl-support.c (_dl_important_hwcaps): Removed.
74801         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
74802         (_dl_important_hwcaps): Moved to ...
74803         * elf/dl-hwcaps.c: Here.  New file.
74804         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
74806         [BZ #14557]
74807         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
74808         if IS_IN_rtld isn't defined.
74810         * elf/dl-support.c (_dl_sysinfo_map): New.
74811         Include "get-dynamic-info.h" and "setup-vdso.h".
74812         (_dl_non_dynamic_init): Call setup_vdso.
74813         * elf/dynamic-link.h: Don't include <assert.h>.
74814         (elf_get_dynamic_info): Moved to ...
74815         * elf/get-dynamic-info.h: Here.  New file.
74816         * elf/dynamic-link.h: Include "get-dynamic-info.h".
74817         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
74818         * elf/setup-vdso.h: Here.  New file.
74819         * elf/rtld.c: Include "setup-vdso.h".
74820         (dl_main): Call setup_vdso.
74822 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
74824         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
74825         creal in comment listing functions tested.  List finite, isinf,
74826         isnan, isless, islessequal, isgreater, isgreaterequal,
74827         islessgreater, isunordered, lgamma_r and pow10 as functions and
74828         macros not tested.  Mention which functions not tested are aliases
74829         for other functions.  Fix typo.  Note that signs of NaNs are not
74830         tested.
74832         * scripts/config.guess: Update from config.git.
74833         * scripts/config.sub: Likewise.
74835 2012-10-04  Roland McGrath  <roland@hack.frob.com>
74837         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
74838         * misc/madvise.c (madvise): Renamed to __madvise.
74839         Make madvise a weak alias.
74840         * include/sys/mman.h: Declare __madvise.
74841         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
74842         * sysdeps/unix/syscalls.list
74843         (madvise): Make __madvise the strong name, and madvise a weak alias.
74844         * sysdeps/unix/sysv/linux/syscalls.list
74845         (madvise, mmap): Remove redundant entries.
74846         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
74847         * malloc/malloc.c (mtrim): Likewise.
74848         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
74850 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74852         * sysdeps/mach/hurd/dl-cache.c: File removed.
74853         * config.h.in (USE_LDCONFIG): New #undef.
74854         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
74855         * configure: Regenerated.
74856         * elf/Makefile (dl-routines): Add dl-cache only under
74857         [$(use-ldconfig) = yes].
74858         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
74859         cache on [USE_LDCONFIG].
74860         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
74861         [USE_LDCONFIG].
74862         * elf/rtld.c (dl_main): Likewise.
74864 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
74866         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
74867         _SC_LEVEL4_CACHE_LINESIZE.
74869 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74871         * sysdeps/unix/bsd/confstr.h: File removed.
74873 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
74875         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
74876         sys/sdt-config.h.
74878 2012-10-02  Roland McGrath  <roland@hack.frob.com>
74880         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
74881         Make 'mapoff' field ElfW(Off) rather than off_t.
74883 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
74885         * nscd/Makefile: Remove nscd-cflags and all its users.
74886         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
74887         (CFLAGS-nonlib): Add compiler flags for nscd modules.
74889         [BZ #10631]
74890         * malloc.c (malloc_printerr): Clarify error message.
74892 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
74894         [BZ #14648]
74895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74896         Set bit_FMA_Usable if FMA is supported.
74897         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
74898         macro.
74899         (bit_FMA4_Usable): Updated.
74900         (index_FMA_Usable): New macro.
74901         (CPUID_FMA): Likewise.
74902         (HAS_FMA): Defined with bit_FMA_Usable.
74904 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74906         * bits/types.h (__swblk_t): Type removed.
74907         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
74908         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
74909         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74910         (__SWBLK_T_TYPE): Likewise.
74911         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74912         (__SWBLK_T_TYPE): Likewise.
74913         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74914         (__SWBLK_T_TYPE): Likewise.
74915         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74916         (__SWBLK_T_TYPE): Likewise.
74918 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
74919             Honza Horak <hhorak@redhat.com>
74921         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
74922         (xdr_mapname): Use YPMAXMAP as maxsize.
74923         (xdr_peername): Use YPMAXPEER as maxsize.
74924         (xdr_keydat): Use YPAXRECORD as maxsize.
74925         (xdr_valdat): Use YPMAXRECORD as maxsize.
74927 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74929         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
74931         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
74932         * csu/init-first.c: ... here.
74933         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
74934         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
74935         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
74936         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
74937         * sysdeps/i386/init-first.c: File removed.
74938         * sysdeps/sh/init-first.c: File removed.
74940 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
74942         [BZ #14645]
74943         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
74944         if x * y might underflow to zero and z is zero.
74945         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74946         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74947         * math/libm-test.inc (min_subnorm_value): New variable.
74948         (fma_test): Add more tests.
74949         (fma_test_towardzero): Likewise.
74950         (fma_test_downward): Likewise.
74951         (fma_test_upward): Likewise.
74952         (initialize): Set min_subnorm_value.
74954 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
74956         [BZ #14638]
74957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
74958         0 + 0.
74959         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
74960         mode for addition resulting in exact zero.
74961         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
74962         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
74963         exact 0 + 0.
74964         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74965         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74966         * math/libm-test.inc (fma_test): Add more tests.
74967         (fma_test_towardzero): New function.
74968         (fma_test_downward): Likewise.
74969         (fma_test_upward): Likewise.
74970         (main): Call the new functions.
74972 2012-09-28  David S. Miller  <davem@davemloft.net>
74974         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
74976 2012-09-28  Roland McGrath  <roland@hack.frob.com>
74978         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
74979         instead of SIGALRM.
74981         * sysdeps/gnu/_G_config.h: Moved to ...
74982         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
74983         * sysdeps/mach/hurd/_G_config.h: Moved to ...
74984         * sysdeps/generic/_G_config.h: ... here.
74986         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
74988         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
74990         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
74991         Conditionalize target on [libnss_test1.so-version].
74993         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
74995         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
74996         (elfobjdir): Move out of conditionals.
74998         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
74999         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
75000         (__nss_lookup_function): Conditionalize label remove_from_tree on
75001         [!DO_STATIC_NSS || SHARED], matching its only use.
75003 2012-09-28  David S. Miller  <davem@davemloft.net>
75005         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
75006         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
75007         file.
75008         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75009         sysdep_routines.
75010         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75011         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
75012         when HWCAP_SPARC_CRYPTO is present.
75014 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75016         * io/tst-mknodat.c: Create a FIFO instead of a socket.
75018 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
75020         [BZ #6530]
75021         * stdio-common/vfprintf.c (process_string_arg): Revert
75022         2000-07-22 change.
75024 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
75026         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
75027         for testcase.
75028         * stdio-common/tst-sprintf.c: Include <locale.h>
75029         (main): Test sprintf's handling of incomplete multibyte
75030         characters.
75032 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
75034         * elf/dl-runtime.c (VERSYMIDX): Removed.
75035         * elf/dl-version.c (VERSYMIDX): Likewise.
75036         * elf/do-rel.h (VERSYMIDX): Likewise.
75037         (VALIDX): Likewise.
75038         * elf/dynamic-link.h (VERSYMIDX): Likewise.
75039         * elf/rtld.c (VALIDX): Likewise.
75040         (ADDRIDX): Likewise.
75041         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
75042         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
75043         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
75044         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
75045         (VALIDX): Likewise.
75046         (ADDRIDX): Likewise.
75048 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75050         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
75052 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
75054         [BZ #11438]
75055         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
75056         to global scope.
75057         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
75058         addresses are in the same scope as 192.0.2/24.
75059         * posix/gai.conf: Document new scope table defaults.
75061 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75063         [BZ #5298]
75064         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
75065         for ftell.  Compute offsets from write pointers instead.
75066         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75068 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75070         [BZ #14543]
75071         * libio/Makefile (tests): New test case tst-fseek.
75072         * libio/tst-fseek.c: New test case to verify that fseek/ftell
75073         combination works in wide mode.
75074         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
75075         state when the external buffer state changes.
75077 2012-09-27  David S. Miller  <davem@davemloft.net>
75079         [BZ #14376]
75080         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75081         pass reloc->r_addend in as the 'high' argument to
75082         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75086 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75088         * rt/tst-aio2.c: Include <pthread.h>.
75089         * rt/tst-aio3.c: Likewise.
75091 2012-09-27  Steve Ellcey  <sellcey@mips.com>
75093         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75095 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
75097         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75098         contents on [SHARED].
75100 2012-09-26  Marek Polacek  <polacek@redhat.com>
75102         [BZ #14530]
75103         [BZ #13741]
75104         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75105         for C++ and GCC <4.3 as well as for non GCC compilers.
75107 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
75109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75111 2012-09-25  Roland McGrath  <roland@hack.frob.com>
75113         * Makefile.in (all, install): Declare with .PHONY.
75114         Reported by Michael Hope <michael.hope@linaro.org>.
75116 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75118         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75119         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75120         system header.
75121         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75122         Likewise.
75123         (sydep_routines): Add the new and the internal functions.
75124         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75125         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75127         (GLIBC_2.17): Add the new function.
75128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75129         (GLIBC_2.17): Likewise.
75130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75131         (GLIBC_2.17): Likewise.
75132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75133         (GLIBC_2.17): Likewise.
75134         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75136 2012-09-25  Alan Modra  <amodra@gmail.com>
75138         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75139         Add release barrier before setting once_control to say
75140         initialisation is done.  Add hints on lwarx.  Use macro in
75141         place of isync.
75142         (clear_once_control): Add release barrier.
75144 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75146         [BZ #13629]
75147         * math/s_clog.c (__clog): Handle more values close to |z| = 1
75148         specially.
75149         * math/s_clog10.c (__clog10): Likewise.
75150         * math/s_clog10f.c (__clog10f): Likewise.
75151         * math/s_clog10l.c (__clog10l): Likewise.
75152         * math/s_clogf.c (__clogf): Likewise.
75153         * math/s_clogl.c (__clogl): Likewise.
75154         * math/Makefile (libm-calls): Add x2y2m1.
75155         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
75156         (__x2y2m1): Likewise.
75157         (__x2y2m1l): Likewise.
75158         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
75159         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
75160         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
75161         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
75162         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
75163         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
75164         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75165         * sysdeps/i386/fpu/libm-test-ulps: Update.
75166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75168         [BZ #14621]
75169         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
75170         int as type of variable DEPTH.
75171         (glob): Use size_t instead of int as type of variables NEWCOUNT
75172         and OLD_PATHC.
75174 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75176         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75177         Add s_sincosf-sse2.
75178         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
75179         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
75180         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
75181         macros for using routine as __sincosf_ia32.
75182         Use macro for function declaration and weak_alias.
75183         * sysdeps/i386/fpu/libm-test-ulps: Update.
75185         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
75186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75188         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
75189         subnormal argument.
75190         * math/s_cexpf.c (__cexpf): Likewise.
75191         * math/s_csinf.c (__csinf): Likewise.
75192         * math/s_csinhf.c (__csinhf): Likewise.
75193         * math/s_ctanf.c (__ctanf): Likewise.
75194         * math/s_ctanhf.c (__ctanhf): Likewise.
75195         * math/s_ccosh.c (__ccoshf): Likewise.
75196         * math/s_cexp.c (__cexpl): Likewise.
75197         * math/s_csin.c (__csin): Likewise.
75198         * math/s_csinh.c (__csinh): Likewise.
75199         * math/s_ctan.c (__ctan): Likewise.
75200         * math/s_ctanh.c (ctanh): Likewise.
75201         * math/s_ccoshl.c (__ccoshl): Likewise.
75202         * math/s_cexpl.c (__cexpl): Likewise.
75203         * math/s_csinl.c (__csinl): Likewise.
75204         * math/s_csinhl.c (__csinhl): Likewise.
75205         * math/s_ctanl.c (__ctanl): Likewise.
75206         * math/s_ctanhl.c (__ctanhl): Likewise.
75208 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75210         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
75211         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
75212         (_IO_off_t): Define to __off_t, not _G_off_t.
75213         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
75214         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
75215         (_IO_wint_t): Define to wint_t, not _G_wint_t.
75216         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
75217         type of __dummy and __dummy2 fields.
75218         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
75219         (_G_ssize_t): Likewise.
75220         (_G_off_t): Likewise.
75221         (_G_pid_t): Likewise.
75222         (_G_uid_t): Likewise.
75223         (_G_wchar_t): Likewise.
75224         (_G_wint_t): Likewise.
75225         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
75226         (_G_ssize_t): Likewise.
75227         (_G_off_t): Likewise.
75228         (_G_pid_t): Likewise.
75229         (_G_uid_t): Likewise.
75230         (_G_wchar_t): Likewise.
75231         (_G_wint_t): Likewise.
75232         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
75233         (_G_ssize_t): Likewise.
75234         (_G_off_t): Likewise.
75235         (_G_pid_t): Likewise.
75236         (_G_uid_t): Likewise.
75237         (_G_wchar_t): Likewise.
75238         (_G_wint_t): Likewise.
75240 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75242         * malloc/arena.c: Include malloc-sysdep.h.
75243         (shrink_heap): Use check_may_shrink_heap to decide if madvise
75244         is sufficient to shrink the heap or an unmap is needed.
75245         * sysdeps/generic/malloc-sysdep.h: New file.  Define
75246         new function check_may_shrink_heap.
75247         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
75248         new function check_may_shrink_heap.
75250 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75252         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
75253         comments.
75255 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
75257         * catgets/test-gencat.sh: Add "set -e".
75258         * elf/tst-pathopt.sh: Likewise.
75259         * grp/tst_fgetgrent.sh: Likewise.
75260         * iconvdata/run-iconv-test.sh: Likewise.
75261         * intl/tst-gettext.sh: Likewise.
75262         * intl/tst-gettext2.sh: Likewise.
75263         * intl/tst-gettext4.sh: Likewise.
75264         * intl/tst-gettext6.sh: Likewise.
75265         * intl/tst-translit.sh: Likewise.
75266         * io/ftwtest-sh: Likewise.
75267         * libio/test-freopen.sh: Likewise.
75268         * malloc/tst-mtrace.sh: Likewise.
75269         * posix/globtest.sh: Likewise.
75270         * posix/tst-getconf.sh: Likewise.
75271         * posix/wordexp-tst.sh: Likewise.
75272         * stdio-common/tst-printf.sh: Likewise.
75273         * stdio-common/tst-unbputc.sh: Likewise.
75274         * stdlib/tst-fmtmsg.sh: Likewise.
75275         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75276         * catgets/Makefile: Do not specify -e option when running
75277         testsuite shell scripts.
75278         * elf/Makefile: Likewise.
75279         * grp/Makefile: Likewise.
75280         * iconvdata/Makefile: Likewise.
75281         * intl/Makefile: Likewise.
75282         * io/Makefile: Likewise.
75283         * libio/Makefile: Likewise.
75284         * malloc/Makefile: Likewise.
75285         * posix/Makefile: Likewise.
75286         * stdio-common/Makefile: Likewise.
75287         * stdlib/Makefile: Likewise.
75288         * sysdeps/x86_64/Makefile: Likewise.
75290         * io/ftwtest-sh: Add copyright header.
75291         * posix/globtest.sh: Likewise.
75292         * posix/tst-getconf.sh: Likewise.
75293         * posix/wordexp-tst.sh: Likewise.
75294         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75296 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
75298         [BZ #13679]
75299         * Makeconfig (+link): Defined as $(+link-static) if
75300         $(build-shared) isn't yes.
75301         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
75302         isn't yes.
75303         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
75305         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
75307         [BZ #14562]
75308         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
75309         new chunk size with MALLOC_ALIGN_MASK.
75311 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
75313         [BZ #5044]
75314         * stdio-common/printf_fphex.c: Include <stdbool.h> and
75315         <rounding-mode.h>.
75316         (__printf_fphex): Determine rounding using get_rounding_mode and
75317         round_away.
75318         * stdio-common/tst-printf-round.c (struct hex_test): New
75319         structure.
75320         (hex_tests): New variable.
75321         (test_hex_in_one_mode): New function.
75322         (do_test): Also run tests for hex float output.
75324 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
75326         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75327         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75328         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
75329         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75330         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75331         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
75332         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75333         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75335 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
75337         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
75338         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
75339         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
75340         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
75342 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
75344         [BZ #14579]
75345         * elf/rtld.c (dl_main): Limit the check for self loading to normal
75346         mode only.
75347         * elf/tst-rtld-load-self.sh: New test.
75348         * elf/Makefile: Run it.
75350 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
75352         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
75353         (tst-writev-ENV): Remove.
75354         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
75356 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
75358         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
75360 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
75362         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
75363         unconditional.
75364         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
75365         Likewise.
75366         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
75367         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
75368         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
75369         Likewise.
75371 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
75373         [BZ #14587]
75374         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75375         * config.make.in (have-cpp-asm-debuginfo): Removed.
75376         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75377         * configure: Regenerated.
75379 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
75381         [BZ #5044]
75382         * stdio-common/printf_fp.c: Include <stdbool.h> and
75383         <rounding-mode.h>.
75384         (___printf_fp): Determine rounding using get_rounding_mode and
75385         round_away.
75386         * stdio-common/tst-printf-round.c: New file.
75387         * stdio-common/Makefile (tests): Add tst-printf-round.
75388         (link-libm): New variable.
75389         ($(objpfx)tst-printf-round): Depend in $(link-libm).
75391 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
75393         [BZ #14576]
75394         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75395         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75396         Likewise.
75397         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75398         Likewise.
75400 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
75402         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75403         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75404         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75405         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75407 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
75409         [BZ #14518]
75410         * include/rounding-mode.h: New file.
75411         * sysdeps/generic/get-rounding-mode.h: Likewise.
75412         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75413         * stdlib/strtod_l.c: Include <rounding-mode.h>.
75414         (MAX_VALUE): New macro.
75415         (MIN_VALUE): Likewise.
75416         (overflow_value): New function.
75417         (underflow_value): Likewise.
75418         (round_and_return): Use overflow_value and underflow_value to
75419         determine return values in overflow and underflow cases.  Use
75420         round_away to determine rounding depending on rounding mode.
75421         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75422         determine return values in overflow and underflow cases.
75423         * stdlib/tst-strtod-round.c: Include <fenv.h>.
75424         (struct test_results): New structure.
75425         (struct test): Use struct test_results to store expected results
75426         for all rounding modes.
75427         (TEST): Include expected results for all rounding modes.
75428         (test_in_one_mode): New function.
75429         (do_test): Use test_in_one_mode to compute and check results.
75430         Check results for all rounding modes.
75431         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75432         $(link-libm).
75434 2012-12-09  Allan McRae  <allan@archlinux.org>
75436         * sysdeps/i386/fpu/libm-test-ulps: Update
75438 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
75440         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75441         (_G_int32_t): Likewise.
75442         (_G_uint16_t): Likewise.
75443         (_G_uint32_t): Likewise.
75444         (_G_HAVE_BOOL): Likewise.
75445         (_G_HAVE_ATEXIT): Likewise.
75446         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75447         (_G_HAVE_IO_FILE_OPEN): Likewise.
75448         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75449         (_G_int32_t): Likewise.
75450         (_G_uint16_t): Likewise.
75451         (_G_uint32_t): Likewise.
75452         (_G_HAVE_BOOL): Likewise.
75453         (_G_HAVE_ATEXIT): Likewise.
75454         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75455         (_G_HAVE_IO_FILE_OPEN): Likewise.
75456         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75457         (_G_int32_t): Likewise.
75458         (_G_uint16_t): Likewise.
75459         (_G_uint32_t): Likewise.
75460         (_G_HAVE_BOOL): Likewise.
75461         (_G_HAVE_ATEXIT): Likewise.
75462         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75463         (_G_HAVE_IO_FILE_OPEN): Likewise.
75465 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75467         * csu/libc-tls.c: Update copyright years.
75469 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75471         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75472         [!_G_USING_THUNKS]: Remove conditional code.
75473         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75474         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75476         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75477         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75478         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75479         (_G_VTABLE_LABEL_PREFIX): Likewise.
75480         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75481         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75482         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75483         (_G_VTABLE_LABEL_PREFIX): Likewise.
75484         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75485         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75486         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75487         (_G_VTABLE_LABEL_PREFIX): Likewise.
75488         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75490 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75492         * libio/Makefile: Include ../Makeconfig before tests.
75493         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75494         only if $(build-shared) is yes.
75496         * iconv/gconv_db.c: Update copyright years.
75498 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75500         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75501         unwind info if defined PIC. Fix special cases description.
75502         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75504         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75505         DP_HI_MASK entry.
75506         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75508 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75510         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75512         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75513         is NULL.
75515         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75516         (LDLIBS-tst-chk4): This.
75517         (LDFLAGS-tst-chk5): Renamed to ...
75518         (LDLIBS-tst-chk5): This.
75519         (LDFLAGS-tst-chk6): Renamed to ...
75520         (LDLIBS-tst-chk6): This.
75521         (LDFLAGS-tst-lfschk4): Renamed to ...
75522         (LDLIBS-tst-lfschk4): This.
75523         (LDFLAGS-tst-lfschk5): Renamed to ...
75524         (LDLIBS-tst-lfschk5): This.
75525         (LDFLAGS-tst-lfschk6): Renamed to ...
75526         (LDLIBS-tst-lfschk6): This.
75528         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75529         on $(common-objpfx)soversions.mk.
75531 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75533         [BZ #10014]
75534         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75535         example host name.
75537 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75539         * malloc/arena.c (arena_get_retry): New function that gets
75540         another arena for the caller to try its request on.
75541         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75542         current arena cannot fulfill the request.
75543         (__libc_memalign): Likewise.
75544         (__libc_memalign): Likewise.
75545         (__libc_pvalloc): Likewise.
75546         (__libc_calloc): Likewise.
75548 2012-09-05  John Tobey  <john.tobey@gmail.com>
75550         [BZ #13542]
75551         * manual/arith.texi (Operations on Complex): Fix description
75552         of carg branch cut.
75554 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75556         [BZ #10014]
75557         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75558         host name.
75560         [BZ #10038]
75561         * manual/memory.texi (Memory): Make order of menu items match
75562         order of sections.
75564 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75566         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75567         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
75568         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75570 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75572         * csu/libc-tls.c (static_dtv): Renamed to ...
75573         (_dl_static_dtv): This.  Make it global.
75574         (_dl_initial_dtv): Removed.
75575         (__libc_setup_tls): Updated.
75576         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75577         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75578         DL_INITIAL_DTV.
75580 2012-09-06  Petr Machata  <pmachata@redhat.com>
75582         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75583         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75584         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75585         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75587 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75589         [BZ #14545]
75590         * csu/libc-tls.c (_dl_initial_dtv): New variable.
75591         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75592         freeing dtv[-1].
75594 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75596         [BZ #14544]
75597         * Makeconfig (link-static-before-libc): Replace $(+prector)
75598         with $(+prectorT).
75599         (link-static-after-libc): Replace $(+postctor) with
75600         $(+postctorT).
75601         (link-bounded): Replace $(+prector)/$(+postctor) with
75602         $(+prectorT)/$(+postctorT).
75603         (+prectorT): New macro.
75604         (+postctorT): Likewise.
75606 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75608         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75609         (round_str): Handle values above the maximum for IBM long double
75610         as inexact.
75611         * stdlib/tst-strtod-round.c (tests): Regenerated.
75613 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75615         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75616         assembler flag.
75617         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75618         zarch_nohighgprs around the zarch optimized routines.
75619         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75620         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75621         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75622         for zarch.
75624 2012-09-05  David S. Miller  <davem@davemloft.net>
75626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75628         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75629         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75630         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75631         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75632         entries.
75634 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75636         * malloc/arena.c: Fold copyright years.
75637         * malloc/mcheck.c, malloc/memusage.c: Likewise.
75639 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75641         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75643 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75645         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
75647 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75649         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75650         change internal state upon failure.
75652 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75654         * malloc/mcheck.c (mcheck_check_all): Fix typo.
75655         * malloc/memusage.c (mmap): Likewise.
75656         (mmap64, mremap): Likewise.  Adjust name in comment.
75658 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75660         * libio/fileops.c: Fix typos in comments.
75661         * libio/oldfileops.c: Likewise.
75662         * libio/wfileops.c: Likewise.
75664 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75666         [BZ #1349]
75667         * malloc/Makefile (tests): Add tst-malloc-usable test case.
75668         (tst-malloc-usable-ENV): Set environment for test case.
75669         * malloc/hooks.c (malloc_check_get_size): New function to get
75670         requested size.
75671         * malloc/malloc.c (musable): Use malloc_check_get_size.
75672         * malloc/tst-malloc-usable.c: New test case.
75674 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75676         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75678 2012-09-05  Allan McRae  <allan@archlinux.org>
75680         [BZ #13966]
75681         * configure.in (CXX_SYSINCLUDES): Use compiler output to
75682         determine header location.
75683         * configure: Regenerated.
75685 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75687         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75688         float format.
75689         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75690         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75691         format.
75692         (test): Regenerate.
75694 2012-09-04  David S. Miller  <davem@davemloft.net>
75696         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75697         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75698         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75700 2012-09-04  Florian Weimer  <fweimer@redhat.com>
75702         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75703         failures.
75705         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75707 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
75709         [BZ #9914]
75710         * libio/iogetdelim.c: Include <limits.h>.
75711         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75712         + len + 1 would overflow.
75714 2012-09-03  Andreas Jaeger  <aj@suse.de>
75716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75717         * sysdeps/i386/fpu/libm-test-ulps: Update.
75719 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75721         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75722         Add s_sinf-sse2, s_conf-sse2.
75724         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75725         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75726         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75727         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75729         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75730         for using routine as __sinf_ia32.
75731         Use macro for function declaration and weak_alias.
75732         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75733         for using routine as __cosf_ia32.
75734         Use macro for function declaration and weak_alias.
75736         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75737         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75739         * sysdeps/x86_64/fpu/s_sinf.S: New file.
75740         * sysdeps/x86_64/fpu/s_cosf.S: New file.
75741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75743         * math/libm-test.inc (cos_test): Add more test cases.
75744         (sin_test): Likewise.
75745         (sincos_test): Likewise.
75747 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75749         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75750         (IFUNC_RESOLVE): Make pointers to the specialized implementations
75751         hidden.
75752         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75754 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
75756         [BZ #14538]
75757         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75758         first element of the GOT.
75759         (elf_machine_load_address): Return the difference between
75760         the runtime address of _DYNAMIC and elf_machine_dynamic ().
75762 2012-09-01  Allan McRae  <allan@archlinux.org>
75764         [BZ #13412]
75765         * configure.in (AWK): Require gawk version 3.0 or later.
75766         * configure: Regenerated.
75768 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
75770         * sysdeps/unix/sysv/linux/kernel-features.h
75771         (__ASSUME_POSIX_CPU_TIMERS): Remove.
75772         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75773         [__NR_clock_getres]: Make code unconditional.
75774         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75775         (clock_getcpuclockid): Remove code left unreachable by removal of
75776         conditionals.
75777         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75778         code unconditional.
75779         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75780         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75781         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75782         Make code unconditional.
75783         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75784         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75785         * sysdeps/unix/sysv/linux/clock_settime.c
75786         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75787         conditional code.
75788         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75789         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75791 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
75793         [BZ #14476]
75794         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
75795         scripts/test-installation.pl.
75797         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
75798         and $ld_so_version if it is set.
75800 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
75802         [BZ #14516]
75803         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
75804         failure if reading from procfs failed.
75805         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
75807 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75809         * sysdeps/unix/sysv/linux/kernel-features.h
75810         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
75811         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75812         Remove conditional code.
75813         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75814         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
75815         Remove conditional code.
75816         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75817         * sysdeps/unix/sysv/linux/i386/fxstat.c
75818         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75819         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75820         * sysdeps/unix/sysv/linux/i386/fxstatat.c
75821         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75822         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75823         * sysdeps/unix/sysv/linux/i386/lxstat.c
75824         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75825         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75826         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
75827         Remove conditional code.
75828         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75829         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75830         Remove conditional code.
75831         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75832         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
75833         <kernel-features.h>.
75834         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
75835         Remove.
75836         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
75837         Remove conditional code.
75838         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75839         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
75840         Remove conditional.
75842 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
75844         [BZ #5400]
75845         * NEWS: Add fixed bug number.
75847 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75849         [BZ #14519]
75850         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
75851         underflowing exponent in case of negative sign.
75852         * stdlib/tst-strtod-round-data: Add more tests.
75853         * stdlib/tst-strtod-round.c (tests): Regenerated.
75855         [BZ #3479]
75856         * stdlib/strtod_l.c (NDIG): Remove.
75857         (HEXNDIG): Likewise.
75858         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
75859         smallest representable value.
75860         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
75861         lie within an exact representation of 1/2 ulp of the result.
75862         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
75863         unconditionally.
75864         (TENS_P9_IDX): Define unconditionally.
75865         (TENS_P9_SIZE): Likewise.
75866         (TENS_P10_IDX): Likewise.
75867         (TENS_P10_SIZE): Likewise.
75868         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
75869         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
75870         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
75871         entries for 10^2^13 and 10^2^14.
75872         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
75873         (TENS_P13_IDX): Define.
75874         (TENS_P13_SIZE): Likewise.
75875         (TENS_P14_IDX): Likewise.
75876         (TENS_P14_SIZE): Likewise.
75877         (_fpioconst_pow10): Change array size to
75878         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
75879         unconditional.
75880         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
75881         1024]: Add entries for 10^2^13 and 10^2^14.
75882         [LAST_POW10 > _LAST_POW10]: Remove #error.
75883         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
75884         (_fpioconst_pow10): Change array size to
75885         FPIOCONST_POW10_ARRAY_SIZE.
75886         * stdlib/gen-fpioconst.c: New file.
75887         * stdlib/gen-tst-strtod-round.c: Likewise.
75888         * stdlib/tst-strtod-round-data: Likewise.
75889         * stdlib/tst-strtod-round.c: Likewise.
75890         * stdlib/Makefile (tests): Add tst-strtod-round.
75892         [BZ #14459]
75893         * stdlib/strtod_l.c: Include <stdint.h>.
75894         (NDEBUG): Do not define.
75895         (round_and_return): Change EXPONENT parameter to type intmax_t.
75896         Rearrange calculations to avoid internal overflow possibilities.
75897         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
75898         Rearrange calculations to avoid internal overflow possibilities.
75899         Assert that number fits inside MPNSIZE limbs.
75900         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
75901         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
75902         calculations and add assertions to avoid internal overflow
75903         possibilities.  Add casts to avoid signed/unsigned operations.
75904         * stdlib/tst-strtod-overflow.c: New file.
75905         * stdlib/Makefile (tests): Add tst-strtod-overflow.
75907 2012-08-25  Marek Polacek  <polacek@redhat.com>
75909         * time/time.h: Fix some typos in comments.
75911 2012-08-23  Roland McGrath  <roland@hack.frob.com>
75913         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
75914         * posix/tst-rfc3484-2.c: Likewise.
75915         * posix/tst-rfc3484-3.c: Likewise.
75917 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
75919         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
75920         (EF_ARM_ABI_FLOAT_HARD): Likewise.
75922 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
75924         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
75925         #include of fxstatat64.c.
75927 2012-08-22  Roland McGrath  <roland@hack.frob.com>
75929         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
75930         * shadow/getspent_r.c: Likewise.
75931         * shadow/getspnam.c: Likewise.
75932         * shadow/getspnam_r.c: Likewise.
75933         * gshadow/getsgent.c: Likewise.
75934         * gshadow/getsgent_r.c: Likewise.
75935         * gshadow/getsgnam.c: Likewise.
75936         * gshadow/getsgnam_r.c: Likewise.
75937         * inet/getnetbyad.c: Likewise.
75938         * inet/getnetbyad_r.c: Likewise.
75939         * inet/getnetbynm.c: Likewise.
75940         * inet/getnetbynm_r.c: Likewise.
75941         * inet/getnetent.c: Likewise.
75942         * inet/getnetent_r.c: Likewise.
75943         * inet/getproto.c: Likewise.
75944         * inet/getproto_r.c: Likewise.
75945         * inet/getprtent.c: Likewise.
75946         * inet/getprtent_r.c: Likewise.
75947         * inet/getprtname.c: Likewise.
75948         * inet/getprtname_r.c: Likewise.
75949         * inet/getrpcbyname.c: Likewise.
75950         * inet/getrpcbyname_r.c: Likewise.
75951         * inet/getrpcbynumber.c: Likewise.
75952         * inet/getrpcbynumber_r.c: Likewise.
75953         * inet/getrpcent.c: Likewise.
75954         * inet/getrpcent_r.c: Likewise.
75955         * inet/getaliasent.c: Likewise.
75956         * inet/getaliasent_r.c: Likewise.
75957         * inet/getaliasname.c: Likewise.
75958         * inet/getaliasname_r.c: Likewise.
75959         * nscd/getgrgid_r.c: Likewise.
75960         * nscd/getgrnam_r.c: Likewise.
75961         * nscd/gethstbyad_r.c: Likewise.
75962         * nscd/gethstbynm3_r.c: Likewise.
75963         * nscd/getpwnam_r.c: Likewise.
75964         * nscd/getpwuid_r.c: Likewise.
75965         * nscd/getsrvbynm_r.c: Likewise.
75966         * nscd/getsrvbypt_r.c: Likewise.
75967         * nscd/gai.c: Likewise.
75969         * configure.in (build_nscd): New substituted variable, set
75970         by --disable-build-nscd and defaults to $use_nscd.
75971         * configure: Regenerated.
75972         * config.make.in (build-nscd): New substituted variable.
75973         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
75974         Change conditional to require [$(build-nscd) = yes] as well.
75975         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
75977         [BZ #13696]
75978         * configure.in (use_nscd): New substituted variable, set by
75979         --disable-nscd.  If enabled, define USE_NSCD.
75980         * configure: Regenerated.
75981         * config.h.in: Add USE_NSCD.
75982         * config.make.in (use-nscd): New substituted variable.
75983         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
75984         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
75985         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
75986         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
75987         (CFLAGS-getgrnam_r.c): Likewise.
75988         (CFLAGS-initgroups.c): Likewise.
75989         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
75990         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
75991         Variables removed.
75992         * inet/getnetgrent_r.c
75993         (nscd_setnetgrent): New function, broken out of ...
75994         (setnetgrent): ... here.  Call it.
75995         (innetgr): Conditionalize nscd bits on [USE_NSCD].
75996         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
75997         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
75998         * nscd/Makefile (routines, aux): Move definitions after include of
75999         Makeconfig.  Conditionalize on [$(use-nscd) != no].
76000         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
76001         Conditionalize on [USE_NSCD].
76002         (is_nscd, nscd_init_cb): Likewise.
76003         (nss_load_library): Conditionalize init callback on [USE_NSCD].
76004         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
76005         * nss/nss_db/db-init.c: Likewise.
76006         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
76007         [USE_NSCD].
76008         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
76009         (make_request): Use it.
76010         (cache_valid_p): New function.
76011         (__check_pf): Use it.
76012         * NEWS: Add item for --disable-nscd.
76014 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
76016         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
76017         to support sed >= 4.2.1-20-ga9bf076.
76018         * configure: Regenerated.
76020 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76022         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
76023         Conditionalize whole body on [IREL].
76025 2012-08-22  Jeff Law <law@redhat.com>
76027         [BZ #14505]
76028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
76029         if the family is PF_UNSPEC.
76031 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
76033         * Makerules (lib-version): Rename from V.
76034         (install-lib-nosubdir): Change V to lib-version.
76036 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
76038         [BZ #14252]
76039         * powerpc32/power6/wcschr.c: New file.
76040         * powerpc32/power6/wcscpy.c: New file.
76041         * powerpc32/power6/wcsrchr.c: New file.
76042         * powerpc64/power6/wcschr.c: New file.
76043         * powerpc64/power6/wcscpy.c: New file.
76044         * powerpc64/power6/wcsrchr.c: New file.
76046 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76048         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
76049         (two_way_short_needle): Use it.
76050         * string/strstr.c (AVAILABLE1_USES_J): Define.
76051         * string/strcasestr.c: Likewise.
76053         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
76054         array references.
76055         * string/strcasestr.c (TOLOWER): Make side-effect safe.
76057         [BZ #11607]
76058         * NEWS: Add an entry.
76059         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
76060         define their defaults.
76061         (two_way_short_needle): Detect end-of-string on-the-fly.
76062         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
76063         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
76064         * string/bug-strcasestr1.c: New test.
76065         * string/Makefile: Run it.
76067 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76069         [BZ #11607]
76070         * string/str-two-way.h (two_way_short_needle): Optimize matching of
76071         the first character.
76073 2012-08-21  Roland McGrath  <roland@hack.frob.com>
76075         * csu/elf-init.c (__libc_csu_irel): Function removed.
76076         * csu/libc-start.c (apply_irel): New function.
76077         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
76079 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
76081         * sysdeps/unix/sysv/linux/kernel-features.h
76082         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76083         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76084         <kernel-features.h>.
76085         [__NR_fadvise64_64]: Make code unconditional.
76086         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76087         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76088         !__NR_fadvise64_64)]: Likewise.
76089         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76090         !__NR_fadvise64_64))]: Likewise.
76091         [__NR_fadvise64]: Make code unconditional.
76092         [!__NR_fadvise64]: Remove conditional code.
76093         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76094         <kernel-features.h>.
76095         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76096         unconditional.
76097         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76098         conditional code.
76099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76100         not include <kernel-features.h>.
76101         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76102         unconditional.
76103         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76104         conditional code.
76105         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76106         include <kernel-features.h>.
76107         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76108         unconditional.
76109         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76110         conditional code.
76112 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76114         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76115         slight instruction rearrangements per scrollpipe analysis.
76116         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76118 2012-08-20  Roland McGrath  <roland@hack.frob.com>
76120         * manual/syslog.texi (syslog; vsyslog, closelog):
76121         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76122         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76124         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76125         DSOCAPS to match condition on defining it.
76127 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
76129         * sysdeps/unix/sysv/linux/kernel-features.h
76130         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76132         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76133         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76135         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76136         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76138         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76139         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76141         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76142         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76144         * sysdeps/unix/sysv/linux/kernel-features.h
76145         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76146         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76147         unconditional.
76148         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76149         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76150         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76151         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76152         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
76153         Make code unconditional.
76154         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76155         (__mmap64) [!__NR_mmap2]: Likewise.
76156         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
76157         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76158         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76159         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
76160         [__NR_mmap2]: Make code unconditional.
76161         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76162         (__mmap64) [!__NR_mmap2]: Likewise.
76164 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76166         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
76168 2012-08-18  Andreas Jaeger  <aj@suse.de>
76170         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
76172 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76174         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
76175         * include/unistd.h (__have_sock_cloexec): Likewise.
76176         (__have_pipe2): Likewise.
76177         (__have_dup3): Likewise.
76179 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76181         [BZ #9685]
76182         * include/unistd.h (__have_pipe2): Change define into an extern int.
76183         (__have_dup3): Likewise.
76184         * socket/have_sock_cloexec.c: Include fcntl.h.
76185         (__have_pipe2): New variable.
76186         (__have_dup3): Likewise.
76188 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
76190         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
76192 2012-08-17  Marek Polacek  <polacek@redhat.com>
76194         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
76195         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
76197 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76199         * configure.in: Add AC_SUBST for sysheaders.
76200         * configure: Regenerated.
76201         * config.make.in (sysheaders): New substituted variable.
76203         * sysdeps/unix/mkfifo.c: Moved ...
76204         * sysdeps/posix/mkfifo.c: ... here.
76205         * sysdeps/unix/mkfifoat.c: Moved ...
76206         * sysdeps/posix/mkfifoat.c: ... here.
76208         * sysdeps/unix/utime.c: Moved ...
76209         * sysdeps/posix/utime.c: ... here.
76211         * sysdeps/unix/time.c: Moved ...
76212         * sysdeps/posix/time.c: ... here.
76213         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
76214         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
76216         * sysdeps/unix/nice.c: Moved ...
76217         * sysdeps/posix/nice.c: ... here.
76219         * sysdeps/unix/alarm.c: Moved ...
76220         * sysdeps/posix/alarm.c: ... here.
76222         * intl/Makefile ($(codeset_mo)): Depend on the input file.
76224 2012-08-17  Jeff Law <law@redhat.com>
76226         * intl/Makefile (codeset_mo): New variable.
76227         ($(codeset_mo)): New target.
76228         (tst-codeset.out): Depend on that.  Remove explicit rule.
76229         (tst-gettext3.out, tst-gettext5.out): Likewise.
76230         (LOCPATH-ENV, tst-codeset-ENV): New variables.
76231         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
76232         * intl/tst-codeset.sh: Remove.
76233         * intl/tst-gettext3.sh: Likewise.
76234         * intl/tst-gettext5.sh: Likewise.
76236 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76238         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
76239         * sysdeps/unix/syscalls.list: ... here.
76241         * sysdeps/posix/getaddrinfo.c
76242         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
76243         (gaiconf_init, gaiconf_reload): Use them.
76244         [!_STATBUF_ST_NSEC]
76245         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
76246         Define using time_t rather than struct timespec.
76248         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
76249         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
76250         Macros removed.
76251         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
76252         [!NO_THREADS].
76253         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76254         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
76255         Likewise.
76257         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
76258         __libc_cleanup_push argument.
76260         * bits/param.h: New file.
76261         * misc/sys/param.h: New file.
76262         * include/sys/param.h: New file.
76263         * misc/Makefile (headers): Add bits/param.h.
76264         * sysdeps/generic/sys/param.h: File removed.
76265         * sysdeps/unix/sysv/linux/bits/param.h: New file.
76266         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76267         * sysdeps/mach/hurd/bits/param.h: New file.
76268         * sysdeps/mach/hurd/sys/param.h: File removed.
76270         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
76271         last change.
76273         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
76274         [_IO_MTSAFE_IO].
76275         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
76276         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
76277         New macros.
76279         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
76280         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
76281         rather than -D_IO_MTSAFE_IO conditionally.
76282         * stdio-common/Makefile (CPPFLAGS): Likewise.
76283         * wcsmbs/Makefile (CPPFLAGS): Likewise.
76284         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
76285         Use $(libio-mtsafe).
76286         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
76287         of -D_IO_MTSAFE_IO.
76288         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
76289         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
76290         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
76291         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
76292         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
76293         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
76294         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76295         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
76296         (CFLAGS-fread_u_chk.c): Likewise.
76297         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
76298         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76299         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
76300         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
76301         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
76302         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
76303         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
76304         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
76305         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
76307         * libio/Makefile: Test [$(libc-reentrant) = yes]
76308         instead of [$(filter %REENTRANT, $(defines)) nonempty].
76310         * Makeconfig
76311         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
76312         * sysdeps/pthread/configure: File removed.
76313         * sysdeps/pthread/Makeconfig: New file.
76314         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
76315         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
76317 2012-08-16  Gary Benson  <gbenson@redhat.com>
76319         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
76320         unmapping the first object in a namespace.
76322 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76324         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
76325         (__internal_setnetgrent): ... this.  Add internal_function to
76326         definition.  Add libc_hidden_def.
76327         (setnetgrent): Update caller.
76328         (internal_endnetgrent): Renamed to ...
76329         (__internal_endnetgrent): ... this.  Add internal_function to
76330         definition.  Add libc_hidden_def.
76331         (endnetgrent): Update caller.
76332         (internal_getnetgrent_r): Renamed to ...
76333         (__internal_getnetgrent_r): ... this.  Add internal_function to
76334         definition.  Add libc_hidden_def.
76335         (__getnetgrent_r): Update caller.
76336         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
76338 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76340         * stdlib/longlong.h: Update from GCC.
76342 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76344         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
76345         on _QL, which is set by umul_ppmm but never used.
76346         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
76347         variables, which are set by GMP macros but never used.
76348         * stdio-common/_itowa.c (_itowa): Likewise.
76349         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
76350         * stdlib/mod_1.c (mpn_mod_1): Likewise.
76352 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
76354         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
76355         struct La_sh_regs is not constant.
76356         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
76357         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
76358         and struct La_sparc64_regs are not constant.
76360 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76362         * sysdeps/unix/sysv/linux/kernel-features.h
76363         (__ASSUME_POSIX_TIMERS): Remove.
76364         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76365         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76366         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
76367         Make code unconditional.
76368         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76369         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
76370         Make code unconditional.
76371         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76372         * sysdeps/unix/sysv/linux/clock_nanosleep.c
76373         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76374         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76375         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76376         Make code unconditional.
76377         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76378         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76379         (__libc_missing_posix_timers): Remove.
76381 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76383         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76384         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76386         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76388         * elf/dl-sym.c: Include <stdlib.h>.
76390         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76391         constants, which avoids warnings in 32-bit builds.
76393         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76394         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76396         * misc/lseek.c: File moved to ...
76397         * io/lseek.c: ... here.
76399         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76401         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76402         shifting LEN more than 31 bits at once.
76404 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76406         [BZ #14195]
76407         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76408         segmentation fault for a case of two empty input strings.
76409         * string/test-strncasecmp.c (check1): Renamed to...
76410         (bz12205): ...this.
76411         (bz14195): Add new testcase for two empty input strings and N > 0.
76412         (test_main): Call new testcase, adapt for renamed function.
76414 2012-08-15  Andreas Jaeger  <aj@suse.de>
76416         [BZ #14090]
76417         * crypt/md5test2.c: New test, based on test supplied by Serge
76418         Belyshev <belyshev@depni.sinp.msu.ru>.
76419         * crypt/Makefile (xtests): Add md5test-giant..
76420         * crypt/Makefile ($(objpfx)md5test-giant): Add.
76422 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
76424         [BZ #14090]
76425         * crypt/md5.c (md5_process_block): Don't assume the buffer
76426         length is less than 2**32.
76427         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76428         length is less than 2**64.
76430 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76432         * string/str-two-way.h: Include <sys/param.h>.
76433         (MAX): Macro removed.
76435         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76436         Move #define and #undef of memmove to just before and after
76437         including <string.h>.
76439         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76440         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76441         and after including <string.h>.  Move declarations of
76442         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76443         to before #include "string/memmove.c".
76445         * include/dirent.h: Declare __getdirentries.
76447         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76448         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76450 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
76452         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76453         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76454         * sysdeps/i386/configure: Regenerated.
76455         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76456         STABS_CURRENT_FILE, and STABS_FUN.
76457         (END): Remove call to STABS_FUN_END.
76458         (STABS_CURRENT_FILE1): Delete.
76459         (STABS_CURRENT_FILE): Likewise.
76460         (STABS_FUN): Likewise.
76461         (STABS_FUN_END): Likewise.
76462         (STABS_FUN2): Likewise.
76463         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76464         * sysdeps/x86_64/configure: Regenerated.
76466 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76468         * elf/dl-open.c: Include <atomic.h>.
76469         * elf/dl-lookup.c: Likewise.
76471 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76473         * sysdeps/unix/sysv/linux/kernel-features.h
76474         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76475         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76476         unconditionally.
76477         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76478         unconditionally.
76479         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76480         condition on __ASSUME_CLONE_THREAD_FLAGS.
76482 2012-08-14  Andreas Jaeger  <aj@suse.de>
76484         * sysdeps/i386/fpu/libm-test-ulps: Update.
76486 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76488         * include/atomic.h (atomic_exchange_and_add): Split into ...
76489         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76490         New atomic macros.
76492 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76494         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76496 2012-08-13  Jeff Law <law@redhat.com>
76498         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76499         null byte in the output string.
76501 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76503         * sysdeps/unix/sysv/linux/kernel-features.h
76504         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76505         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76506         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76507         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76508         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76509         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76510         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76512 2012-08-09  Jeff Law <law@redhat.com>
76514         [BZ #13939]
76515         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76516         When avoid_arena is set, don't retry in the that arena.  Pick the
76517         next one, whatever it might be.
76518         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76519         (arena_lock): Pass in new parameter to arena_get2.
76520         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76521         arena_get2.
76522         (__libc_malloc): Unify retrying after main arena failure with
76523         __libc_memalign version.
76524         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76526 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76528         [BZ #14166]
76529         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76530         to __redirect_strstr.
76531         (__strstr_sse42): Use typeof __redirect_strstr.
76532         (__strstr_ia32): Likewise.
76533         (__libc_strstr): New prototype.
76534         (strstr): Renamed to ...
76535         (__libc_strstr): This.
76536         (strstr): New strong alias of __libc_strstr.
76537         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76538         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76539         __redirect_time.
76540         Include <time.h>.
76541         (__libc_time): New prototype.
76542         (time_ifunc): Replace time with __libc_time.
76543         (time): New strong alias and hidden definition of __libc_time.
76544         (__GI_time): Remove strong alias.
76545         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76546         Include <stddef.h>.
76547         (memmove): Redefined to __redirect_memmove.
76548         (__memmove_sse2): Use typeof __redirect_memmove.
76549         (__memmove_ssse3): Likewise.
76550         (__memmove_ssse3_back): Likewise.
76551         (__libc_memmove): New prototype.
76552         (memmove): Renamed to ...
76553         (__libc_memmove): This.
76554         (memmove): New strong alias of __libc_memmove.
76556 2012-08-08  Mark Salter  <msalter@redhat.com>
76558         * elf/elf.h
76559         (R_MN10300_TLS_GD): Define.
76560         (R_MN10300_TLS_LD): Likewise.
76561         (R_MN10300_TLS_LDO): Likewise.
76562         (R_MN10300_TLS_GOTIE): Likewise.
76563         (R_MN10300_TLS_IE): Likewise.
76564         (R_MN10300_TLS_LE): Likewise.
76565         (R_MN10300_TLS_DTPMOD): Likewise.
76566         (R_MN10300_TLS_DTPOFF): Likewise.
76567         (R_MN10300_TLS_TPOFF): Likewise.
76568         (R_MN10300_SYM_DIFF): Likewise.
76569         (R_MN10300_ALIGN): Likewise.
76570         (R_MN10300_NUM): Update.
76572 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
76574         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76575         Remove.
76577 2012-08-08  Roland McGrath  <roland@hack.frob.com>
76579         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76581         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76582         sysdeps/unix -> sysdeps/posix move.
76583         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76585 2012-08-07      Allan McRae     <allan@archlinux.org>
76587         [BZ #14303]
76588         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76589         (SUNOS_CPP): Likewise.
76590         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76591         not found.
76592         (open_input): Call CPP using execvp.
76594 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76596         * sysdeps/unix/sysv/linux/kernel-features.h
76597         (__ASSUME_PROT_GROWSUPDOWN): Remove.
76598         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76599         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76600         (__ASSUME_WAITID_SYSCALL): Likewise.
76601         * sysdeps/unix/sysv/linux/dl-execstack.c
76602         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76603         code unconditional.
76604         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76605         conditional code.
76606         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76607         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76608         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76609         code.
76610         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76611         unconditional.
76612         [__ASSUME_WAITID_SYSCALL]: Likewise.
76613         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76615 2012-08-07  Roland McGrath  <roland@hack.frob.com>
76617         * sysdeps/unix/closedir.c: Renamed to ...
76618         * sysdeps/posix/closedir.c: ... here.
76619         * sysdeps/unix/dirfd.c: Renamed to ...
76620         * sysdeps/posix/dirfd.c: ... here.
76621         * sysdeps/unix/dirstream.h: Renamed to ...
76622         * sysdeps/posix/dirstream.h: ... here.
76623         * sysdeps/unix/fdopendir.c: Renamed to ...
76624         * sysdeps/posix/fdopendir.c: ... here.
76625         * sysdeps/unix/opendir.c: Renamed to ...
76626         * sysdeps/posix/opendir.c: ... here.
76627         * sysdeps/unix/readdir.c: Renamed to ...
76628         * sysdeps/posix/readdir.c: ... here.
76629         * sysdeps/unix/readdir_r.c: Renamed to ...
76630         * sysdeps/posix/readdir_r.c: ... here.
76631         * sysdeps/unix/rewinddir.c: Renamed to ...
76632         * sysdeps/posix/rewinddir.c: ... here.
76633         * sysdeps/unix/seekdir.c: Renamed to ...
76634         * sysdeps/posix/seekdir.c: ... here.
76635         * sysdeps/unix/telldir.c: Renamed to ...
76636         * sysdeps/posix/telldir.c: ... here.
76637         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76638         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76639         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76640         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76642         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76643         * bits/fcntl.h: ... here.
76645         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76646         not 0.
76647         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76648         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76649         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76650         (struct flock): Move l_start, l_len to the beginning.
76651         Use __pid_t for l_pid.
76652         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76653         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76654         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76655         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76656         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76657         [__USE_LARGEFILE64] (struct flock64): New type.
76658         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76660         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76661         * bits/dirent.h: ... here.
76663         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76664         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76666 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76668         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76669         Change from 2.6.0 to 2.6.16.
76670         * sysdeps/unix/sysv/linux/configure: Regenerated.
76671         * sysdeps/unix/sysv/linux/kernel-features.h
76672         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76673         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76674         version.
76675         (__ASSUME_UTIMES): Likewise.
76676         (__ASSUME_CLONE_STOPPED): Remove.
76677         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76678         architectures, not kernel version.
76679         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76680         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76681         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76682         (__ASSUME_WAITID_SYSCALL): Likewise.
76683         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76684         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76685         * README: State 2.6.16 as minimum Linux kernel version.  Do not
76686         refer to older versions.
76688 2012-08-06  Roland McGrath  <roland@hack.frob.com>
76690         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76691         Define alphasort64 as an alias.
76692         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76693         Define versionsort64 as an alias.
76694         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76695         Define scandir64 as an alias.
76696         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76697         Define scandirat64 as an alias.
76698         * dirent/alphasort64.c (alphasort64):
76699         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76700         * dirent/versionsort64.c: Likewise.
76701         * dirent/scandir64.c: Likewise.
76702         * dirent/scandirat64.c: Likewise.
76703         * sysdeps/wordsize-64/alphasort.c: File removed.
76704         * sysdeps/wordsize-64/alphasort64.c: File removed.
76705         * sysdeps/wordsize-64/scandir.c: File removed.
76706         * sysdeps/wordsize-64/scandir64.c: File removed.
76707         * sysdeps/wordsize-64/scandirat.c: File removed.
76708         * sysdeps/wordsize-64/scandirat64.c: File removed.
76709         * sysdeps/wordsize-64/versionsort.c: File removed.
76710         * sysdeps/wordsize-64/versionsort64.c: File removed.
76711         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76712         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76713         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76714         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76715         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76716         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76717         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76718         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76720         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76721         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76722         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76724         [defined __arch64__ || defined __sparcv9]
76725         (__INO_T_MATCHES_INO64_T): New macro.
76726         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76727         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76728         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76729         * sysdeps/unix/sysv/linux/bits/dirent.h
76730         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76731         (_DIRENT_MATCHES_DIRENT64): New macro.
76733         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76734         Define lockf64 as an alias.
76735         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76736         Define fseeko64 as an alias.
76737         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76738         Define ftello64 as an alias.
76739         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76740         Define _IO_fgetpos64 and fgetpos64 as aliases.
76741         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76742         Define _IO_fsetpos64 and fsetpos64 as aliases.
76743         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76744         Conditionalize body on this.
76745         * libio/fseeko64.c: Likewise.
76746         * libio/ftello64.c: Likewise.
76747         * libio/iofgetpos64.c: Likewise.
76748         * libio/iofsetpos64.c: Likewise.
76749         * sysdeps/wordsize-64/lockf.c: File removed.
76750         * sysdeps/wordsize-64/lockf64.c: File removed.
76751         * sysdeps/wordsize-64/fseeko.c: File removed.
76752         * sysdeps/wordsize-64/fseeko64.c: File removed.
76753         * sysdeps/wordsize-64/ftello.c: File removed.
76754         * sysdeps/wordsize-64/ftello64.c: File removed.
76755         * sysdeps/wordsize-64/iofgetpos.c: File removed.
76756         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76757         * sysdeps/wordsize-64/iofsetpos.c: File removed.
76758         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76759         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76760         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76761         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76762         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76763         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76764         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76765         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76766         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76767         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76768         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76770         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76771         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76772         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76773         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76774         [defined __arch64__ || defined __sparcv9]
76775         (__OFF_T_MATCHES_OFF64_T): New macro.
76776         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76777         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76778         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76779         (__OFF_T_MATCHES_OFF64_T): New macro.
76781 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76783         * stdlib/secure-getenv.c (__secure_getenv): Replace
76784         GLIBC_2_16 with GLIBC_2_17.
76786 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76788         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76789         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76791 2012-08-03  David S. Miller  <davem@davemloft.net>
76793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76795 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76797         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
76798         Remove.
76799         (__ASSUME_CORRECT_SI_PID): Likewise.
76800         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
76801         (__ASSUME_TMPFS_NAME): Likewise.
76802         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
76803         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
76804         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
76805         (HAVE_AUX_SECURE): Make definition unconditional.
76806         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
76807         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
76809 2012-08-03  Roland McGrath  <roland@hack.frob.com>
76811         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
76812         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
76813         * sysdeps/mach/hurd/eloop-threshold.h: New file.
76814         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76815         __eloop_threshold instead of SYMLOOP_MAX.
76817         * sysdeps/generic/eloop-threshold.h: New file.
76818         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
76819         of MAXSYMLINKS.
76820         * elf/chroot_canon.c (chroot_canon): Likewise.
76822 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76824         [BZ #13717]
76825         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76826         Change to 2.6.0 everywhere.
76827         * sysdeps/unix/sysv/linux/configure: Regenerated.
76828         * sysdeps/unix/sysv/linux/kernel-features.h
76829         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
76830         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
76831         kernel versions.
76832         (__ASSUME_POSIX_TIMERS): Define unconditionally.
76833         (__ASSUME_FUTEX_REQUEUE): Remove.
76834         (__ASSUME_STATFS64): Define unconditionally.
76835         (__ASSUME_AT_SECURE): Likewise.
76836         (__ASSUME_CORRECT_SI_PID): Likewise.
76837         (__ASSUME_TGKILL): Define without depending on kernel version for
76838         i386.
76839         (__ASSUME_UTIMES): Likewise.
76840         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
76841         kernel version.
76842         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
76843         (__ASSUME_TMPFS_NAME): Likewise.
76844         * README: Update reference to Linux kernel versions.
76846 2012-08-02  Marek Polacek  <polacek@redhat.com>
76848         [BZ #14150]
76849         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
76850         libc_cv_asm_type_prefix with %.
76851         * configure: Regenerated.
76852         * include/libc-symbols.h: Remove comment about
76853         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76854         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
76855         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
76856         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
76857         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
76858         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76859         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
76860         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
76861         * elf/tst-unique2mod1.c: Likewise.
76862         * elf/tst-unique1mod2.c: Likewise.
76863         * elf/tst-unique1mod1.c: Likewise.
76864         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
76865         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
76866         Replace ASM_TYPE_DIRECTIVE with .type.
76867         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76868         * sysdeps/i386/sysdep.h: Likewise.
76869         * sysdeps/x86_64/sysdep.h: Likewise.
76870         * sysdeps/sh/sysdep.h: Likewise.
76871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76872         Do not define ASM_TYPE_DIRECTIVE.
76873         * sysdeps/powerpc/sysdep.h: Likewise.
76874         * sysdeps/powerpc/powerpc32/sysdep.h:
76875         Replace ASM_TYPE_DIRECTIVE with .type.
76876         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76877         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76878         * sysdeps/i386/fpu/e_powf.S: Likewise.
76879         * sysdeps/i386/fpu/e_expl.S: Likewise.
76880         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76881         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76882         * sysdeps/i386/fpu/e_pow.S: Likewise.
76883         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76884         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76885         * sysdeps/i386/fpu/s_expm1.S: Likewise.
76886         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76887         * sysdeps/i386/fpu/e_log2.S: Likewise.
76888         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76889         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76890         * sysdeps/i386/fpu/e_powl.S: Likewise.
76891         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76892         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76893         * sysdeps/i386/fpu/e_logl.S: Likewise.
76894         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76895         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76896         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76897         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76898         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76899         * sysdeps/i386/fpu/e_log.S: Likewise.
76900         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76901         * sysdeps/i386/fpu/e_logf.S: Likewise.
76902         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76903         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76904         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76905         * sysdeps/i386/fpu/e_log10.S: Likewise.
76906         * sysdeps/i386/fpu/s_frexp.S: Likewise.
76907         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76908         * sysdeps/i386/fpu/s_asinh.S: Likewise.
76909         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76910         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76911         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
76912         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76913         * sysdeps/i386/i686/strtok.S: Likewise.
76914         * sysdeps/i386/i386-mcount.S: Likewise.
76915         * sysdeps/i386/strtok.S: Likewise.
76916         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
76917         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76918         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76919         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76920         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76921         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76922         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76923         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76924         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76925         * sysdeps/x86_64/_mcount.S: Likewise.
76926         * sysdeps/x86_64/strtok.S: Likewise.
76927         * sysdeps/sh/_mcount.S: Likewise.
76929 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76931         * libio/iofopen.c: Include <fcntl.h>.
76932         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
76933         (_IO_fopen64, fopen64): Define as aliases.
76934         * libio/iofopen64.c: Include <fcntl.h>.
76935         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
76936         Conditionalize body on this.
76937         * sysdeps/wordsize-64/iofopen.c: File removed.
76938         * sysdeps/wordsize-64/iofopen64.c: File removed.
76940 2012-08-01  Marek Polacek  <polacek@redhat.com>
76942         * libc/Makeconfig: Use elf in place of binfmt-subdir.
76943         Use dlfcn directly instead of a variable.
76944         (binfmt-subdir): Do not define.
76945         (dlfcn): Likewise.
76947 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
76949         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
76950         Remove all definitions.
76951         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
76952         <kernel-features.h>.
76953         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76954         (miss_F_GETOWN_EX): Remove all definitions.
76955         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
76956         macro definition.
76957         [!__ASSUME_FCNTL64]: Remove conditional code.
76958         [__ASSUME_FCNTL64]: Make code unconditional.
76959         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
76960         <kernel-features.h>.
76961         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76962         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
76963         (lockf64) [__NR_fcntl64]: Make code unconditional.
76964         (lockf64) [__ASSUME_FCNTL64]: Likewise.
76966         * sysdeps/unix/sysv/linux/kernel-features.h
76967         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
76968         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
76969         Make code unconditional.
76970         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76971         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
76973         [__NR_vfork]: Make code unconditional.
76974         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76975         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
76977         [__NR_vfork]: Make code unconditional.
76978         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76979         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76981 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76983         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
76984         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
76986         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76987         Define mkstemp64 as an alias.
76988         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76989         Define mkstemps64 as an alias.
76990         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76991         Define mkostemp64 as an alias.
76992         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76993         Define mkostemps64 as an alias.
76994         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
76995         Conditionalize body on this.
76996         * misc/mkostemp64.c: Likewise.
76997         * misc/mkostemps64.c: Likewise.
76998         * misc/mkstemps64.c: Likewise.
76999         * sysdeps/wordsize-64/mkstemp64.c: File removed.
77000         * sysdeps/wordsize-64/mkostemp64.c: File removed.
77001         * sysdeps/wordsize-64/mkostemp.c: File removed.
77002         * sysdeps/wordsize-64/mkstemp.c: File removed.
77003         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
77004         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77005         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
77006         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
77008         [BZ #14138]
77009         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
77010         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
77011         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
77012         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
77014         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
77015         compat_symbol macros from <shlib-compat.h> rather than the underlying
77016         default_symbol_version and symbol_version macros, so that DEFAULT
77017         lines in shlib-versions are respected.
77018         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
77020 2012-08-01  Florian Weimer  <fweimer@redhat.com>
77022         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77023         Declare with warn_unused_result.
77024         (setgid, setregid, setegid, setresgid): Likewise.
77025         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
77026         Likewise.
77027         * WUR-REPORT: Remove set*id functions.
77029 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
77031         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
77033 2012-07-31  Roland McGrath  <roland@hack.frob.com>
77035         [BZ #10191]
77036         * include/sys/socket.h (__libc_accept, __libc_accept4):
77037         Add attribute_hidden.
77038         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
77040         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
77041         use of PTR_MANGLE.
77042         * inet/getnetgrent_r.c (setup): Likewise.
77044         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
77046 2012-07-31  David S. Miller  <davem@davemloft.net>
77048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77050 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
77052         [BZ #13629]
77053         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
77054         value between 1.0 and 2.0 and smaller part has absolute value less
77055         than 1.0.
77056         * math/s_clog10.c (__clog10): Likewise.
77057         * math/s_clog10f.c (__clog10f): Likewise.
77058         * math/s_clog10l.c (__clog10l): Likewise.
77059         * math/s_clogf.c (__clogf): Likewise.
77060         * math/s_clogl.c (__clogl): Likewise.
77061         * math/libm-test.inc (clog_test): Add more tests.
77062         (clog10_test): Likewise.
77063         * sysdeps/i386/fpu/libm-test-ulps: Update.
77064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77066 2012-07-31  Florian Weimer  <fweimer@redhat.com>
77068         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
77069         Exit with zero in case no suitable GID is found, and write a
77070         message to standard error.
77072 2012-07-30  Roland McGrath  <roland@hack.frob.com>
77074         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
77075         rather than to 1.
77076         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
77077         (MAXPATHLEN): Removed.
77078         (NOGROUP, NODEV): New macros.
77079         (setbit, clrbit, isset, isclr): New macros.
77080         (howmany, roundup, powerof2): New macros.
77081         (DEV_BSIZE): New macro.
77083         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77084         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77086         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77087         definition on [!__NO_LONG_DOUBLE_MATH].
77089         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77090         PTR_MANGLE and PTR_DEMANGLE.
77092         * socket/accept4.c (accept4): Rename to __libc_accept4.
77093         Define accept4 as a weak alias.
77095         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77096         on [_DIRENT_HAVE_D_TYPE].
77097         * io/ftw.c (ftw_dir): Likewise.
77099         * io/xmknod.c (__xmknod): Don't check PATH for being null.
77101         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77103         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77104         Use the BSD numbers rather than the arbitrary ones we had.
77105         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77106         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77107         (SIGXCPU, SIGXFSZ): New macros.
77108         (_NSIG): Now 32.
77110         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77111         initializer on [_LIBC_REENTRANT].
77113         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77114         definitions inside [_POSIX_MAPPED_FILES].
77116         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77118         * dirent/opendir.c: Include <fcntl.h>.
77120         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77121         (__libc_getspecific): Likewise.
77122         (__libc_key_create): Likewise.
77124         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77125         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77126         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77127         (tmpfile64): Define as alias.
77128         * sysdeps/wordsize-64/tmpfile.c: File removed.
77129         * sysdeps/wordsize-64/tmpfile64.c: File removed.
77130         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77131         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77133         * stdio-common/vfscanf.c: Include <stdbool.h>.
77134         * nss/makedb.c: Likewise.
77135         * stdio-common/_i18n_number.h: Likewise.
77136         * argp/argp-help.c: Likewise.
77137         * posix/wordexp.c: Likewise.
77138         * sysdeps/posix/spawni.c: Likewise.
77139         * nss/nss_files/files-initgroups.c: Likewise.
77140         * stdio-common/reg-modifier.c: Include <stdlib.h>.
77141         * nss/nss_files/files-initgroups.c: Likewise.
77142         * nss/nss_db/db-netgrp.c: Likewise.
77143         * nss/nss_db/db-initgroups.c: Likewise.
77144         * io/fchmodat.c: Include <sys/stat.h>.
77146         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77147         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77149         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77150         [HAVE_MMAP].
77152         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
77153         Add multiple inclusion protection.
77155 2012-07-27  David S. Miller  <davem@davemloft.net>
77157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77159 2012-07-27  Gary Benson  <gbenson@redhat.com>
77161         [BZ #14298]
77162         * elf/rtld.c: Include <stap-probe.h>.
77163         (dl_main): Added static probes "init_start" and "init_complete".
77164         * elf/dl-load.c: Include <stap-probe.h>.
77165         (lose): Take new parameter "nsid".
77166         Added static probe "map_failed".
77167         (_dl_map_object_from_fd): Pass namespace id to lose.
77168         Added static probe "map_start".
77169         (open_verify): Pass namespace id to lose.
77170         * elf/dl-open.c: Include <stap-probe.h>.
77171         (dl_open_worker) Added static probes "map_complete", "reloc_start"
77172         and "reloc_complete".
77173         * elf/dl-close.c: Include <stap-probe.h>.
77174         (_dl_close_worker): Added static probes "unmap_start" and
77175         "unmap_complete".
77176         * elf/rtld-debugger-interface.txt: New file documenting the above.
77178 2012-07-26  Roland McGrath  <roland@hack.frob.com>
77180         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
77181         rather than a string variable.
77182         * sunrpc/rpc_main.c (h_output): Likewise.
77183         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
77185 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
77187         * inet/check_native.c: New file.
77189 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
77191         [BZ #13629]
77192         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
77193         if larger part has absolute value 1.0.
77194         * math/s_clog10.c (__clog10): Likewise.
77195         * math/s_clog10f.c (__clog10f): Likewise.
77196         * math/s_clog10l.c (__clog10l): Likewise.
77197         * math/s_clogf.c (__clogf): Likewise.
77198         * math/s_clogl.c (__clogl): Likewise.
77199         * math/libm-test.inc (clog_test): Add more tests.
77200         (clog10_test): Likewise.
77201         * sysdeps/i386/fpu/libm-test-ulps: Update.
77202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77204         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
77205         (pltexit): Likewise.
77206         (La_regs): Likewise.
77207         (La_retval): Likewise.
77208         (int_retval): Likewise.
77209         Update #error for removed macros to refer only to definitions in
77210         tst-audit.h.
77211         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
77212         macro.
77213         (pltexit): Likewise.
77214         (La_regs): Likewise.
77215         (La_retval): Likewise.
77216         (int_retval): Likewise.
77217         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
77218         macro.
77219         (pltexit): Likewise.
77220         (La_regs): Likewise.
77221         (La_retval): Likewise.
77222         (int_retval): Likewise.
77223         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
77224         macro.
77225         (pltexit): Likewise.
77226         (La_regs): Likewise.
77227         (La_retval): Likewise.
77228         (int_retval): Likewise.
77229         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
77230         macro.
77231         (pltexit): Likewise.
77232         (La_regs): Likewise.
77233         (La_retval): Likewise.
77234         (int_retval): Likewise.
77235         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
77236         macro.
77237         (pltexit): Likewise.
77238         (La_regs): Likewise.
77239         (La_retval): Likewise.
77240         (int_retval): Likewise.
77241         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
77242         macro.
77243         (pltexit): Likewise.
77244         (La_regs): Likewise.
77245         (La_retval): Likewise.
77246         (int_retval): Likewise.
77247         * sysdeps/generic/tst-audit.h: Update comment to refer only to
77248         macro definitions in tst-audit.h.
77249         * sysdeps/i386/tst-audit.h: New file.
77250         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
77251         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
77252         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
77253         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
77254         * sysdeps/sh/tst-audit.h: Likewise.
77255         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
77256         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
77257         * sysdeps/x86_64/tst-audit.h: Likewise.
77259 2012-07-26  Andreas Jaeger  <aj@suse.de>
77261         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
77262         ptrace.
77264         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77265         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
77266         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
77267         PTRACE_O_MASK.
77268         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
77269         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
77270         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
77272         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
77273         value.
77275         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
77276         _sigsys.
77277         (si_call_addr, si_syscall, si_arch): Define new macro.
77278         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
77279         _sigsys.
77280         (si_call_addr, si_syscall, si_arch): Define new marcro.
77281         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
77282         _sigsys.
77283         (si_call_addr, si_syscall, si_arch): Define new macro.
77284         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
77285         _sigsys.
77286         (si_call_addr, si_syscall, si_arch): Define new macro.
77288 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77290         [BZ #13717]
77291         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77292         Change to 2.4.21 where previously 2.4.1.
77293         * sysdeps/unix/sysv/linux/configure: Regenerated.
77294         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
77295         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
77296         Linux kernel version.
77297         (__ASSUME_STD_AUXV): Remove.
77298         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
77299         kernel version.
77300         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
77301         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
77302         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
77303         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
77304         (__ASSUME_NETLINK_SUPPORT): Likewise.
77305         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
77306         (__no_netlink_support): Remove conditional definition.
77307         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
77308         Remove.
77309         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77310         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
77311         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
77312         (if_nameindex_ioctl): Remove.
77313         (if_nameindex_netlink): Do not handle __no_netlink_support.
77314         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77315         code.
77316         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
77317         Remove conditional code.
77318         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77319         code.
77320         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
77321         unconditional.
77322         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77323         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
77324         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
77325         Remove.
77326         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
77327         [!__ASSUME_STD_AUXV]: Remove conditional code.
77328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
77329         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
77330         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
77331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
77332         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
77333         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77334         code.
77335         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
77337         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
77338         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77339         conditional code.
77340         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
77342         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77343         code.
77344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
77345         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77346         conditional code.
77347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
77348         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77349         code unconditional.
77350         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77351         conditional code.
77352         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77353         unconditional.
77354         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77355         conditional code.
77356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77357         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77358         unconditional.
77359         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77360         conditional code.
77361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
77362         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77363         code unconditional.
77364         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77365         conditional code.
77366         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77367         unconditional.
77368         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77369         conditional code.
77370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
77371         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77372         code unconditional.
77373         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77374         conditional code.
77375         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77376         unconditional.
77377         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77378         conditional code.
77380 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
77382         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77383         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77384         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77385         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77386         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77387         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77388         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77389         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77390         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77391         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77392         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77393         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77394         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77395         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77396         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77397         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77398         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77399         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77400         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77402         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77403         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77404         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77406 2012-07-25  Florian Weimer  <fweimer@redhat.com>
77408         * Versions.def: Add GLIBC_2.17.
77409         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77410         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77411         Introduce __libc_secure_getenv.
77412         * stdlib/Versions (2.17): Add secure_getenv
77413         (GLIBC_PRIVATE): Add __libc_secure_getenv.
77414         * stdlib/secure-getenv.c: Rename __secure_getenv to
77415         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
77416         symbol __secure_getenv for GLIBC_2.0.
77417         * stdlib/tst-secure-getenv.c: New.
77418         * stdlib/Makefile (tests): Add testcase.
77419         * manual/startup.texi (Environment Access): Document
77420         secure_getenv.
77421         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77422         __libc_secure_getenv.
77423         * inet/ruserpass.c (ruserpass): Likewise.
77424         * malloc/mtrace.c (mtrace): Likewise.
77425         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77426         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77427         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77428         * sysdeps/posix/tempname.c: Likewise.  Evaluate
77429         HAVE_SECURE_GETENV.
77430         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77431         __secure_getenv to __libc_secure_getenv.
77432         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77434         Likewise.
77435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77436         Likewise.
77437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77445 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77447         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77448         (struct La_i86_retval): Likewise.
77449         (struct La_x86_64_regs): Likewise.
77450         (struct La_x86_64_retval): Likewise.
77451         (struct La_x32_regs): Likewise.
77452         (struct La_x32_retval): Likewise.
77453         (struct La_ppc32_regs): Likewise.
77454         (struct La_ppc32_retval): Likewise.
77455         (struct La_ppc64_regs): Likewise.
77456         (struct La_ppc64_retval): Likewise.
77457         (struct La_sh_regs): Likewise.
77458         (struct La_sh_retval): Likewise.
77459         (struct La_s390_32_regs): Likewise.
77460         (struct La_s390_32_retval): Likewise.
77461         (struct La_s390_64_regs): Likewise.
77462         (struct La_s390_64_retval): Likewise.
77463         (struct La_sparc32_regs): Likewise.
77464         (struct La_sparc32_retval): Likewise.
77465         (struct La_sparc64_regs): Likewise.
77466         (struct La_sparc64_retval): Likewise.
77467         (struct audit_ifaces): Remove architecture-specific pltenter and
77468         pltexit members.
77469         * sysdeps/i386/ldsodefs.h: New file.
77470         * sysdeps/powerpc/ldsodefs.h: Likewise.
77471         * sysdeps/s390/ldsodefs.h: Likewise.
77472         * sysdeps/sh/ldsodefs.h: Likewise.
77473         * sysdeps/sparc/ldsodefs.h: Likewise.
77474         * sysdeps/x86_64/ldsodefs.h: Likewise.
77476 2012-07-25  Marek Polacek  <polacek@redhat.com>
77478         [BZ #6808]
77479         * math/libm-test.inc (yn_test): Add another test.
77480         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77481         to ERANGE when the result is +-Inf.
77482         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77483         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77484         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77485         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77487 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77489         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77490         equal to 0.
77491         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77492         clock_t.
77493         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77495 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77497         * configure.in <sysdeps resolving>: Correct printing
77498         Implies_before.
77499         * configure: Regenerate.
77501 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77503         * math/w_ilogb.c: Include <limits.h>.
77504         * math/w_ilogbl.c: Likewise.
77506 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77508         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77509         va_copy.  Document allowing for unavailable va_copy only as
77510         pre-C99 compatibility.
77511         * manual/string.texi (Copying and Concatenation): Use va_copy
77512         instead of __va_copy in concat example.
77514 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77516         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77517         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77518         it if not null.
77520         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77521         with O_NOLINK passed to __file_name_lookup.
77523         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77524         with O_NOLINK passed to __file_name_lookup.
77526         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77527         negative N or less than NGIDS.
77529         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77530         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77531         enough.  Use memcpy instead of strncpy.
77533 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77535         * elf/Makefile (check-data): Remove.
77536         (localplt.data): New vpath directive.
77537         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77538         instead of $(check-data).
77539         * scripts/data/localplt-generic.data: Move to ...
77540         * sysdeps/generic/localplt.data: ... here.
77541         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77542         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77543         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77545         ... here.
77546         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77548         ... here.
77549         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77551         ... here.
77552         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77554         ... here.
77555         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77557         ... here.
77558         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77560         ... here.
77562 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77564         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77565         PPC32 and PPC64 files.
77566         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77567         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77569 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77571         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77572         __makecontext_ret to ...
77573         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77574         ... here and call exit if uc_link is NULL.  New file.
77575         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77576         __makecontext_ret.S.
77577         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77578         __makecontext_ret to ...
77579         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77580         ... here and call exit if uc_link is NULL.  New file.
77581         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77582         __makecontext_ret.S.
77584 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77586         * elf/elf.h (R_390_IRELATIVE): New definition.
77587         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77588         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
77589         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77590         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77591         (elf_machine_lazy_rel): Likewise.
77592         * sysdeps/s390/dl-irel.h: New file.
77593         * sysdeps/s390/s390-64/memcpy.S: New asm code.
77594         * sysdeps/s390/s390-64/memset.S: New asm code.
77595         * sysdeps/s390/s390-64/memcmp.S: New asm code.
77596         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77597         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77598         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77599         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77600         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77601         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77602         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77603         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77604         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77605         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77606         * sysdeps/s390/s390-32/memcpy.S: New asm code.
77607         * sysdeps/s390/s390-32/memset.S: New asm code.
77608         * sysdeps/s390/s390-32/memcmp.S: New asm code.
77610 2012-07-17  Marek Polacek  <polacek@redhat.com>
77612         [BZ #14349]
77613         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77614         * sysdeps/s390/s390-64/configure.in: Likewise.
77615         * sysdeps/sparc/configure.in: Likewise.
77616         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77617         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77618         * sysdeps/i386/configure.in: Likewise.
77619         * sysdeps/x86_64/configure.in: Likewise.
77620         * sysdeps/sh/configure.in: Likewise.
77621         * sysdeps/s390/s390-32/configure: Regenerated.
77622         * sysdeps/s390/s390-64/configure: Likewise.
77623         * sysdeps/x86_64/configure: Likewise.
77624         * sysdeps/sh/configure: Likewise.
77625         * sysdeps/powerpc/powerpc64/configure: Likewise.
77626         * sysdeps/powerpc/powerpc32/configure: Likewise.
77627         * sysdeps/sparc/configure: Likewise.
77628         * sysdeps/i386/configure: Likewise.
77630         * elf/dl-open.c: Comment fixes.
77632 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
77634         * Makefile [CXX] (check-data): Remove.
77635         [CXX] (c++-types.data): New vpath directive.
77636         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77637         vpath.  Do not allow for C++ type data being missing.
77638         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77639         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77640         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77641         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77642         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77643         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77644         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77646         ... here.
77647         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77649         ... here.
77650         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77652         ... here.
77653         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77655         ... here.
77656         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77658         ... here.
77659         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77661         ... here.
77662         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77664         ... here.
77665         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77668         * elf/tls-macros.h (TLS_LE): Move architecture-specific
77669         definitions to architecture-specific files.
77670         (TLS_IE): Likewise.
77671         (TLS_LD): Likewise.
77672         (TLS_GD): Likewise.
77673         * sysdeps/i386/tls-macros.h: New file.
77674         * sysdeps/powerpc/tls-macros.h: Likewise.
77675         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77676         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77677         * sysdeps/sh/tls-macros.h: Likewise.
77678         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77679         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77680         * sysdeps/x86_64/tls-macros.h: Likewise.
77682 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77684         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77685         zero value for regular exit case.
77687         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77688         (__start_context): Preserve zero value for regular exit case.
77690 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77691             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77693         * manual/setjmp.texi (setcontext): Clarify normal process
77694         termination when uc_link is the null pointer.
77695         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77696         exit call.
77698 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
77700         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77701         preprocessor.  Test for each exception mask separately.
77703 2012-07-16  Andreas Jaeger  <aj@suse.de>
77705         * po/ru.po: Update from translation team.
77707 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
77709         * conform/data/string.h-data (NULL): Use macro-constant.  Require
77710         equal to 0.
77711         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77712         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77713         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77714         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77715         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77717 2012-07-13  Andreas Jaeger  <aj@suse.de>
77719         * po/fr.po: Update from translation team.
77721 2012-07-12  Marek Polacek  <polacek@redhat.com>
77723         [BZ #14173]
77724         * math/libm-test.inc (yn_test): Add test for BZ #14173.
77725         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77726         loop condition.
77728 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
77730         [BZ #13717]
77731         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77732         Change to 2.4.1 where previously 2.4.0.
77733         * sysdeps/unix/sysv/linux/configure: Regenerated.
77734         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77735         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77736         version.
77737         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77738         (__ASSUME_AT_CLKTCK): Remove.
77739         (__ASSUME_AT_PAGESIZE): Likewise.
77740         (__ASSUME_AT_XID): Likewise.
77741         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77742         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77743         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77744         unconditionally.
77745         (HAVE_AUX_PAGESIZE): Likewise.
77746         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77747         [__ASSUME_AT_CLKTCK]: Make code unconditional.
77748         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77750 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
77752         [BZ #14307]
77753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77754         the temporary buffer used to invoke __gethostbyname2_r,
77755         __gethostbyaddr_r and gethostbyname4_r to make room for struct
77756         host_data / struct gaih_addrtuple.
77757         * resolv/nss_dns/dns-host.c (global scope): Move definition of
77758         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77759         header file nss/nsswitch.h.
77760         * nss/nsswitch.h (global scope): Add definition of implementation
77761         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77762         resolv/nss_dns/dns-host.c).
77764 2012-07-11  Andreas Jaeger  <aj@suse.de>
77766         * po/fr.po: Update from translation team.
77768         * po/sv.po: Update from translation team
77769         * po/fr.po: Another update from translation team.
77771 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77773         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77774         for subnormals or multiply small sinh result by itself.
77775         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77778 2012-07-11  David S. Miller  <davem@davemloft.net>
77780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77782 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
77784         [BZ #14347]
77785         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77786         (INTERNAL_MARK): Shift it here.
77788 2012-07-10  Marek Polacek  <polacek@redhat.com>
77790         [BZ #14151]
77791         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
77792         libc_cv_asm_global_directive with .globl.
77793         * configure: Regenerated.
77794         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
77795         with .globl.
77796         * sysdeps/i386/configure: Regenerated.
77797         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
77798         with .globl.
77799         * sysdeps/x86_64/configure: Regenerated.
77800         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
77801         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
77802         * elf/tst-unique2mod2.c: Likewise.
77803         * elf/tst-unique2mod1.c: Likewise.
77804         * elf/tst-unique1mod2.c: Likewise.
77805         * elf/tst-unique1mod1.c: Likewise.
77806         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77807         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77808         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77809         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77810         * sysdeps/mach/sysdep.h: Likewise.
77811         * sysdeps/i386/sysdep.h: Likewise.
77812         * sysdeps/i386/i386-mcount.S: Likewise.
77813         * sysdeps/x86_64/_mcount.S: Likewise.
77814         * sysdeps/x86_64/sysdep.h: Likewise.
77815         * sysdeps/sh/_mcount.S: Likewise.
77816         * sysdeps/sh/sysdep.h: Likewise.
77817         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
77818         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
77819         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
77820         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77821         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
77822         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
77823         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
77824         * locale/localeinfo.h: Likewise.
77825         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
77826         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
77828 2012-07-09  Roland McGrath  <roland@hack.frob.com>
77830         [BZ #14336]
77831         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
77832         system".
77833         * manual/message.texi (The Uniforum approach): Likewise.
77834         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
77835         (glibc iconv Implementation): Likewise.
77837 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
77839         [BZ #14337]
77840         * math/s_clog.c (__clog): Avoid scaling a value down where that
77841         could result in underflow.
77842         * math/s_clog10.c (__clog10): Likewise.
77843         * math/s_clog10f.c (__clog10f): Likewise.
77844         * math/s_clog10l.c (__clog10l): Likewise.
77845         * math/s_clogf.c (__clogf): Likewise.
77846         * math/s_clogl.c (__clogl): Likewise.
77847         * math/libm-test.inc (clog_test): Add more tests.
77848         (clog10_test): Likewise.
77849         * sysdeps/i386/fpu/libm-test-ulps: Update.
77850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77852 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
77854         [BZ #14283]
77855         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
77856         by 7 not 8 to examine high bit of fractional part.
77858         [BZ #14042]
77859         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
77860         for call to __mcount_internal.
77861         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
77862         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
77863         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
77865 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
77867         [BZ #14154]
77868         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
77869         approximation for values within 0x1p-13f of an odd multiple of
77870         pi/4.
77871         * math/libm-test.inc (tan_test): Do not allow spurious underflow
77872         exception.  Add more tests.
77873         * sysdeps/i386/fpu/libm-test-ulps: Update.
77875         [BZ #6778]
77876         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
77877         inputs and return -1 for them.  Do not check for +Inf in case not
77878         reachable for +Inf.
77879         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
77880         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
77881         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77882         and return -1 for them.  Do not check for +Inf in case not
77883         reachable for +Inf.
77884         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
77885         define.
77886         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77887         and return -1 for them.  Do not check for +Inf in case not
77888         reachable for +Inf.
77889         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
77890         spurious underflow.
77891         * sysdeps/i386/fpu/libm-test-ulps: Update.
77892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77894 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
77896         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
77898 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
77900         [BZ #14157]
77901         [BZ #14331]
77902         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
77903         could result in spurious underflow.  Scale down values above
77904         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
77905         * math/s_csqrtf.c (__csqrtf): Likewise.
77906         * math/s_csqrtl.c (__csqrtl): Likewise.
77907         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
77908         spurious underflow.
77909         * sysdeps/i386/fpu/libm-test-ulps: Update.
77910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77912 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
77914         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
77915         xopen-msg.sed.
77916         * catgets/xopen-msg.awk: New file.
77917         * catgets/xopen-msg.sed: Removed.
77919         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
77920         po2text.sed.
77921         * intl/po2test.awk: New file.
77922         * intl/po2test.sed: Removed.
77924 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
77926         [BZ #14328]
77927         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
77928         or multiply small sinh result by itself.
77929         * math/s_ctanf.c (__ctanf): Likewise.
77930         * math/s_ctanh.c (__ctanh): Likewise.
77931         * math/s_ctanhf.c (__ctanhf): Likewise.
77932         * math/s_ctanhl.c (__ctanhl): Likewise.
77933         * math/s_ctanl.c (__ctanl): Likewise.
77934         * math/libm-test.inc (ctan_test_tonearest): New function.
77935         (ctan_test_towardzero): Likewise.
77936         (ctan_test_downward): Likewise.
77937         (ctan_test_upward): Likewise.
77938         (ctanh_test_tonearest): Likewise.
77939         (ctanh_test_towardzero): Likewise.
77940         (ctanh_test_downward): Likewise.
77941         (ctanh_test_upward): Likewise.
77942         (main): Call these new functions.
77943         * sysdeps/i386/fpu/libm-test-ulps: Update.
77944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77946 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
77948         * .gitignore: Delete /ports entry.
77950 2012-07-03  Andreas Jaeger  <aj@suse.de>
77952         * po/bg.po: Update from translation team.
77953         * po/cs.po: Likewise.
77954         * po/de.po: Likewise.
77955         * po/hr.po: Likewise.
77956         * po/nl.pl: Likewise.
77957         * po/pl.po: Likewise.
77958         * po/vi.po: Likewise.
77960 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
77962         * Makeconfig [!+link] (+link-before-libc): New variable.
77963         [!+link] (+link-after-libc): Likewise.
77964         [!+link] (+link-tests): Likewise.
77965         [!+link] (+link): Define in terms of $(+link-before-libc) and
77966         $(+link-after-libc).
77967         [!+link-static] (+link-static-before-libc): New variable.
77968         [!+link-static] (+link-static-after-libc): Likewise.
77969         [!+link-static] (+link-static-tests): Likewise.
77970         [!+link-static] (+link-static): Define in terms of
77971         $(+link-static-before-libc) and $(+link-static-after-libc).
77972         [build-shared] (link-libc-before-gnulib): New variable.
77973         [build-shared] (link-libc-tests): Likewise.
77974         [build-shared] (link-libc): Define in terms of
77975         $(link-libc-before-gnulib).
77976         [!build-shared] (link-libc-tests): New variable.
77977         (link-libc-static-tests): New variable.
77978         [!gnulib] (gnulib-arch): New variable.
77979         [!gnulib] (gnulib-tests): Likewise.
77980         [!gnulib] (static-gnulib-arch): Likewise.
77981         [!gnulib] (static-gnulib-tests): Likewise.
77982         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
77983         Define with "=" instead of ":=".
77984         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
77985         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
77986         * Rules (binaries-all-notests): New variable.
77987         (binaries-all-tests): Likewise.
77988         (binaries-static-notests): Likewise.
77989         (binaries-static-tests): Likewise.
77990         (binaries-all): Define using $(binaries-all-notests) and
77991         $(binaries-all-tests).
77992         (binaries-static): Define using $(binaries-static-notests) and
77993         $(binaries-static-tests).
77994         (binaries-shared-tests): New variable.
77995         (binaries-shared-notests): Likewise.
77996         (binaries-shared): Remove variable.
77997         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
77998         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
77999         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
78000         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
78001         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
78002         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
78003         * elf/Makefile (sln-modules): New variable.
78004         (extra-objs): Add $(sln-modules:=.o).
78005         (ldconfig-modules): Add static-stubs.
78006         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
78007         * elf/static-stubs.c: New file.
78009         [BZ #14283]
78010         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
78011         by 7 not 8 to examine high bit of fractional part.  Use volatile
78012         variables when splitting into final array of floats if
78013         __FLT_EVAL_METHOD__ != 0.
78014         * math/libm-test.inc (cos_test): Add another test.
78015         (sin_test): Likewise.
78016         * sysdeps/i386/fpu/libm-test-ulps: Update.
78018         [BZ #14273]
78019         * math/libm-test.inc (cosh_test): Add more tests.
78021         * version.h (RELEASE): Set to "development".
78022         (VERSION): Set to "2.16.90".
78024 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
78026         * NEWS: Update copyright. Remove last-updated date.
78027         Mention math library bug fixes and timezone data changes.
78028         * README: Mention GNU/Hurd, x32, and HPPA support status.
78030 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
78032         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
78034 2012-06-27  Andreas Jaeger  <aj@suse.de>
78036         * manual/contrib.texi (Contributors): Add Samuel Thibault.
78038 2012-06-25  Andreas Jaeger  <aj@suse.de>
78040         * sysdeps/s390/fpu/libm-test-ulps: Update.
78042 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
78043             Thomas Schwinge  <thomas@codesourcery.com>
78045         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
78046         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
78047         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
78048         fanotify_mark.
78050 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
78052         * sysdeps/mach/start.c: Remove file.
78053         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
78054         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
78055         * sysdeps/sh/init-first.c: Likewise.
78057         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
78058         registers for frame unwinding purposes, add CFI directives.
78059         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78060         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
78061         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
78062         Likewise.
78064         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
78065         __fortify_fail returning.
78066         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78068         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
78069         sysdeps/sh/____longjmp_chk.S.
78070         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
78071         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
78072         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
78073         (gen-as-const-headers): Append sigaltstack-offsets.sym.
78075         * sysdeps/sh/abort-instr.h: New file.
78076         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
78077         process in case exit returns.
78079         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78080         initialize the GOT register before use.
78082         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78083         calculation of ARGC > 4.
78085         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78086         meaningful names to some local labels.
78088 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78089             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78091         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78092         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78093         (__arch_compare_and_exchange_val_16_acq): Likewise.
78094         (__arch_compare_and_exchange_val_32_acq): Likewise.
78095         (atomic_exchange_and_add): Fix gUSA sequence.
78096         (atomic_add): Likewise.
78097         (atomic_add_negative): Likewise.
78098         (atomic_add_zero): Likewise.
78099         (atomic_bit_test_set): Likewise.
78101 2012-06-22  Andreas Schwab  <schwab@redhat.com>
78103         [BZ #13579]
78104         * include/link.h (struct link_map): Add l_free_initfini.
78105         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78106         l_initfini.
78107         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78108         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78109         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78110         set.
78112 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
78114         * configure.in: Use AC_LANG_SOURCE.
78115         * configure: Regenerate.
78117 2012-06-22  Roland McGrath  <roland@hack.frob.com>
78119         * configure.in (libc_cv_localstatedir): New substituted variable.
78120         * configure: Regenerated.
78121         * config.make.in (localstatedir): New variable, substituted from
78122         libc_cv_localstatedir.
78123         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78124         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78125         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78126         * sysdeps/gnu/configure: Regenerated.
78128 2012-06-21  Jeff Law  <law@redhat.com>
78130         [BZ #14277]
78131         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78132         free.  Simplify list management for _LIBC case.
78134 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
78136         [BZ #14273]
78137         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78138         Clear sign bit of 64-bit integer value before comparing against
78139         overflow value.
78141         * sysdeps/mach/configure: Regenerated.
78143 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
78145         [BZ #14278]
78146         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78148 2012-06-21  Jeff Law  <law@redhat.com>
78150         [BZ #13882]
78151         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
78152         uint16_t for elements in the "seen" array to avoid char overflows.
78153         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78154         * elf/dl-open.c (dl_open_worker): Likewise.
78156 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
78158         * scripts/list-sources.sh: Scan PORTS for translations.
78159         * po/libc.pot: Regenerated.
78161 2012-06-21  Andreas Jaeger  <aj@suse.de>
78163         [BZ #12194]
78164         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78165         warning.
78166         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
78167         * bits/byteswap-16.h (__bswap_16): Likewise.
78168         * bits/byteswap.h (__bswap_constant_16): Likewise.
78170 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
78172         [BZ #14117]
78173         * sysdeps/i386/fpu_control.h: Removed.
78174         * sysdeps/x86_64/fpu_control.h: Moved to ...
78175         * sysdeps/x86/fpu_control.h: Here.
78177         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
78178         (_FPU_SETCW): Likewise.
78180 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
78182         [BZ #14117]
78183         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
78184         * sysdeps/x86/fpu/bits/mathinline.h: This.
78185         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
78187         [BZ #14050]
78188         [BZ #14117]
78189         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
78190         functions if __x86_64__ is defined.
78192 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
78194         * string/endian.h: Add !__ASSEMBLER__ condition for including
78195         conversion interfaces.
78197 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
78199         [BZ #14241]
78200         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
78201         of ABS(x) in calculating zero to negative powers other than odd
78202         integers.
78203         * math/libm-test.inc (pow_test): Add more tests.
78205 2012-06-15  Andreas Jaeger  <aj@suse.de>
78207         * manual/contrib.texi (Contributors): Update entry of Liubov
78208         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
78209         Machado Filho.
78211 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
78213         * string/string.h: Add __wur to GNU version of strerror_r.
78215 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
78217         [BZ #14229]
78218         * string/Makefile (tests): Add tst-strtok_r.
78219         * string/tst-strtok_r.c: New file.
78220         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
78221         RAX_LP/RDX_LP on SAVE_PTR.
78223 2012-06-14  Roland McGrath  <roland@hack.frob.com>
78225         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
78227 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
78229         * libm_test.inc (csqrt_test): Allow more spurious underflow
78230         exceptions.
78231         (j0_test): Likewise.
78232         (j1_test): Likewise.
78233         (y0_test): Likewise.
78234         (y1_test): Likewise.
78236 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
78238         * po/Makefile (libc.pot): Use UTF-8 charset.
78240 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
78242         [BZ #14210]
78243         Suppress sign-conversion warning from FD_SET.
78244         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
78245         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
78246         not unsigned long int.
78247         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
78249 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
78251         [BZ #14050]
78252         [BZ #14117]
78253         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
78254         __extern_always_inline instead of __extern_inline.
78255         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
78256         (__signbit): Likewise.
78257         (__signbitl): Support C++ namespace.
78258         (lrintf): New inline function.
78259         (lrint): Likewise.
78260         (llrintf): Likewise.
78261         (llrint): Likewise.
78262         (fmaxf): Likewise.
78263         (fmax): Likewise.
78264         (fminf): Likewise.
78265         (fmin): Likewise.
78266         (rint): Likewise.
78267         (rintf): Likewise.
78268         (ceil): Likewise.
78269         (ceilf): Likewise.
78270         (floor): Likewise.
78271         (floorf): Likewise.
78272         (nearbyint): Likewise.
78273         (nearbyintf): Likewise.
78275 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
78277         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
78278         non-default versions.
78280 2012-06-11  Roland McGrath  <roland@hack.frob.com>
78282         [BZ #14218]
78283         * manual/argp.texi (Argp): Reword argp_parse description slightly.
78285 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
78287         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78288         (FE_UPWARD, FE_DOWNWARD): Don't define.
78289         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
78290         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78292         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
78293         reading it.
78294         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78295         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78297 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78299         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78300         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
78301         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
78302         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
78304 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
78306         [BZ #14117]
78307         * sysdeps/i386/fpu/bits/fenv.h: Removed.
78308         * sysdeps/i386/fpu/Implies: New file.
78309         * sysdeps/x86_64/fpu/Implies: Likewise.
78310         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
78311         * sysdeps/x86/fpu/bits/fenv.h: This.
78313         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
78314         __SSE_MATH__.
78316 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
78318         [BZ #14134]
78319         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
78320         character 0xffff that matches the last element of the
78321         conversion table.
78323 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78325         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
78326         fmodl commit.
78328 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78330         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
78331         values higher than 25.6283.
78333 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78335         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
78336         subnormal exponent extraction and add some __builtin_expect.
78337         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
78338         Fix for subnormal mantissa calculation.
78340 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
78342         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
78343         cpu2 is -1 and errno is not ENOSYS.
78345 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
78347         [BZ #14117]
78348         * sysdeps/i386/i486/bits/string.h: Renamed to ...
78349         * sysdeps/x86/bits/string.h: This.
78350         * sysdeps/x86_64/bits/string.h: Removed.
78352         * sysdeps/i386/i486/bits/string.h: Define inline functions only
78353         if not compiling for x86-64, but compiling for >= i486.
78355         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
78356         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
78358         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
78359         New macro from Linux kernel 3.4.0.
78360         (FP_XSTATE_MAGIC2): Likewise.
78361         (FP_XSTATE_MAGIC2_SIZE): Likewise.
78362         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
78363         (struct _fpx_sw_bytes): New struct.
78364         (struct _xsave_hdr): Likewise.
78365         (struct _ymmh_state): Likewise.
78366         (struct _xstate): Likewise.
78368         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
78369         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
78370         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
78371         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
78372         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78373         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78375         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78376         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78377         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78378         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78379         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78380         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78382 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78384         [BZ #13743]
78385         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78386         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78387         (sysdep_headers): Include sys/platform/ppc.h.
78388         * sysdeps/powerpc/test-gettimebase.c: Test for
78389         __ppc_get_timebase() to catch future ISA opcode/insn changes.
78390         * manual/Makefile (appendices): Include platform.texi.
78391         * manual/contrib.texi (Contributors): Update @node pointers.
78392         * manual/maint.texi (Maintenance): Likewise.
78393         (Platform): New node.
78394         * manual/platform.texi: New file.  Document the new features.
78396 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
78397             Jakub Jelinek  <jakub@redhat.com>
78399         [BZ #14188]
78400         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78401         where __builtin_expect is unavailable.
78403 2012-06-03  David S. Miller  <davem@davemloft.net>
78405         * stdlib/longlong.h: Updated from GCC.
78407 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
78409         [BZ #14042]
78410         * sysdeps/powerpc/powerpc32/mcount.c: New file.
78411         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78412         __mcount_internal.
78413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78414         (GLIBC_2.16): Likewise.
78416 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78418         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78420 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78423         (default-abi): New variable.
78424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78425         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78426         variable.
78427         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78428         Likewise.
78429         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78430         Likewise.
78431         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78432         Likewise.
78434         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78435         definition.  Document in comment.
78437 2012-06-01  David S. Miller  <davem@davemloft.net>
78439         * stdlib/longlong.h: Updated from GCC.
78441 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78443         [BZ #14117]
78444         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78445         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78446         sys/debugreg.h sys/io.h here.
78447         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78448         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78449         sys/io.h.
78450         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78451         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78452         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78453         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78454         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78455         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78457         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78458         Define only if __x86_64__ is defined.
78460 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78462         [BZ #14048]
78463         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78464         Use int64_t for variable i.
78465         * math/libm-test.inc (fmod_test): Add more tests.
78467         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78468         z computation is not scheduled after fetestexcept.
78469         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78470         Use math_force_eval instead of asm to ensure calculation scheduled
78471         before exception test.
78472         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78473         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78475 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78478         computation is not scheduled after fetestexcept.
78480 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78482         [BZ #14117]
78483         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78484         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78486 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78488         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78489         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78491 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78493         [BZ #14117]
78494         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78495         <bits/wordsize.h>.
78496         (__WCHAR_MIN): Support __WORDSIZE == 64.
78497         (__WCHAR_MAX): Likewise.
78499         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78500         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78502         [BZ #14183]
78503         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78504         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78506         [BZ #14117]
78507         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78508         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78510         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78511         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78513         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78514         Defined to 1 if __x86_64__ isn't defined.
78515         (_STAT_VER_LINUX_OLD): New.
78516         (st_atime): Remove duplicate.
78517         (st_mtime): Likewise.
78518         (st_ctime): Likewise.
78520 2012-05-31  David S. Miller  <davem@davemloft.net>
78522         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78523         entries.
78525 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78527         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78528         gen-libm-test.pl.
78530         [BZ #14132]
78531         * elf/dl-reloc.c: Include <_itoa.h>.
78532         (_dl_reloc_bad_type): Remove use of INTUSE.
78533         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78534         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78535         * stdio-common/psiginfo.c (psiginfo): Likewise.
78536         * stdio-common/psignal.c (psignal): Likewise.
78537         * string/strsignal.c (strsignal): Likewise.
78538         * include/signal.h (_sys_siglist): Declare hidden proto.
78539         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78540         INTVARDEF with libc_hidden_data_def.
78541         * stdio-common/itoa-udigits.c: Likewise.
78542         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78543         (_itoa_lower_digits_internal): Remove declaration.
78544         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78545         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78546         (_sys_sigabbrev_internal): Remove aliases.
78547         (_sys_siglist): Define hidden alias.
78549 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78551         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78552         bits/sysctl.h.
78554 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78556         [BZ #14117]
78557         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78558         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78560         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78561         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78562         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78563         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78564         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78565         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78567         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78568         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78569         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78571         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78572         with __addr.
78573         (insw): Likewise.
78574         (insl): Likewise.
78575         (outsb): Likewise.
78576         (outsw): Likewise.
78577         (outsl): Likewise.
78579         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78580         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78581         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78583         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78584         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78585         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78586         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78587         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78588         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78590         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78591         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78593         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78594         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78596         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78597         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78598         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78600         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78601         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78602         to ...
78603         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78605         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78606         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78607         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78609         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78610         for x86-64.
78611         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78613 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
78615         * math/math.h (M_El): Use two more decimal places.
78616         (M_LOG2El): Likewise.
78617         (M_LOG10El): Likewise.
78618         (M_LN2l): Likewise.
78619         (M_LN10l): Likewise.
78620         (M_PIl): Likewise.
78621         (M_PI_2l): Likewise.
78622         (M_PI_4l): Likewise.
78623         (M_1_PIl): Likewise.
78624         (M_2_PIl): Likewise.
78625         (M_2_SQRTPIl): Likewise.
78626         (M_SQRT2l): Likewise.
78627         (M_SQRT1_2l): Likewise.
78629 2012-05-31  David S. Miller  <davem@davemloft.net>
78631         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78632         values between float registers.
78633         * sysdeps/sparc/sparc64/memset.S: Likewise.
78634         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78636 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
78638         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78639         -D_FORTIFY_SOURCE=1.
78640         (CPPFLAGS-tst-longjmp_chk.c): Define.
78641         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78642         (CPPFLAGS-tst-longjmp_chk2.c): Define.
78643         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78644         CFLAGS-tst-wchar-h.c.
78646 2012-05-31  Marek Polacek  <polacek@redhat.com>
78648         [BZ #14132]
78649         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78650         __endmntent_internal): Remove declaration.
78651         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78652         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78653         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78655 2012-05-30  David S. Miller  <davem@davemloft.net>
78657         * sysdeps/sparc/sparc32/soft-fp/q_util.c
78658         (___Q_simulate_exceptions): Use real FP ops rather than writing
78659         into the %fsr.
78660         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78661         Likewise.
78663 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78665         [BZ #14117]
78666         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78667         * sysdeps/x86/bits/xtitypes.h: This.
78669         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78670         * sysdeps/x86/bits/wordsize.h: This.
78672         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78673         * sysdeps/x86/bits/huge_vall.h: This.
78675         * sysdeps/i386/bits/select.h: Removed.
78676         * sysdeps/x86_64/bits/select.h: Renamed to ...
78677         * sysdeps/x86/bits/select.h: This.
78679         * sysdeps/i386/bits/setjmp.h: Removed.
78680         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78681         * sysdeps/x86/bits/setjmp.h: This.
78683         * sysdeps/i386/bits/mathdef.h: Removed.
78684         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78685         * sysdeps/x86/bits/mathdef.h: This.
78687 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
78689         [BZ #14132]
78690         * include/sys/socket.h (__connect_internal)
78691         (__libc_sa_len_internal): Remove declaration.
78692         (__connect, __libc_sa_len): Declare hidden_proto.
78693         (SA_LEN): Remove use of INTUSE.
78694         * socket/connect.c: Add libc_hidden_def.
78695         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78696         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78697         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78698         alias.
78699         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78700         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78701         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78702         of adding _internal alias.
78704 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78706         [BZ #14117]
78707         * sysdeps/i386/bits/link.h: Removed.
78708         * sysdeps/i386/bits/linkmap.h: Likewise.
78709         * sysdeps/x86_64/bits/link.h: Renamed to ...
78710         * sysdeps/x86/bits/link.h: This.
78711         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78712         * sysdeps/x86/bits/linkmap.h: This.
78714         * sysdeps/i386/bits/endian.h: Removed.
78715         * sysdeps/x86_64/bits/endian.h: Renamed to ...
78716         * sysdeps/x86/bits/endian.h: This.
78718         * sysdeps/i386/bits/byteswap.h: Removed.
78719         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78720         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78721         * sysdeps/x86/bits/byteswap.h: This.
78722         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78723         * sysdeps/x86/bits/byteswap-16.h: This.
78724         * sysdeps/i386/Implies: Add x86.
78725         * sysdeps/x86_64/Implies: Likewise.
78727 2012-05-30  David S. Miller  <davem@davemloft.net>
78729         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78730         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78731         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78732         (FP_TRAPPING_EXCEPTIONS): Define.
78733         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78734         (FP_TRAPPING_EXCEPTIONS): Define.
78735         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78736         subnormals only when inexact has been signalled or underflow
78737         exceptions are enabled.
78738         (_FP_PACK_CANONICAL): Likewise.
78740 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78742         [BZ #14183]
78743         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78744         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78746 2012-05-30  Richard Henderson  <rth@twiddle.net>
78748         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78749         with #ifndef NOT_IN_libc.
78751         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
78752         marked to avoid plt entry.
78754 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78756         [BZ #14112]
78757         * Makeconfig (default-abi): New macro.
78758         (abi-includes): Likewise.
78759         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
78760         $(abi-$(default-abi)-lib-soname) for soname if defined.
78761         ($(common-objpfx)gnu/lib-names.stmp): Generate from
78762         abi-variants.
78763         * Makefile (installed-stubs): Likewise.
78764         * include/stubs-biarch.h: Removed.
78765         * scripts/lib-names.awk: Only handle one library at a time.
78766         * scripts/soversions.awk: Remove WORDSIZE support.
78767         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78768         entries.
78769         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78770         Removed.
78771         (syscall-list-default-condition): Likewise.
78772         (syscall-list-default-condition): Likewise.
78773         (syscall-list-includes): Likewise.
78774         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78775         syscall-list-* with abi-*.  Handle undefined abi-variants.
78776         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78777         * sysdeps/unix/sysv/linux/i386/Implies: New file.
78778         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78779         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78780         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78781         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78782         Removed.
78783         (syscall-list-32-options): Likewise.
78784         (syscall-list-32-condition): Likewise.
78785         (syscall-list-64-options): Likewise.
78786         (syscall-list-64-condition): Likewise.
78787         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78788         macro.
78789         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78790         Renamed to ...
78791         (abi-*): This.
78792         (abi-64-ld-soname): New macro.
78793         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
78794         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
78795         Renamed to ...
78796         (abi-*): This.
78797         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
78798         * sysdeps/x86_64/x32/shlib-versions: Likewise.
78800 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
78802         * sysdeps/unix/sysv/linux/kernel-features.h
78803         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
78804         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
78805         include <kernel-features.h>.
78806         [!__NR_ftruncate64]: Remove conditional code.
78807         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78808         [__NR_ftruncate64]: Make code unconditional.
78809         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78810         * sysdeps/unix/sysv/linux/truncate64.c: Do not
78811         include <kernel-features.h>.
78812         [!__NR_ftruncate64]: Remove conditional code.
78813         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78814         [__NR_ftruncate64]: Make code unconditional.
78815         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
78817         include <kernel-features.h>.
78818         [!__NR_ftruncate64]: Remove conditional code.
78819         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78820         [__NR_ftruncate64]: Make code unconditional.
78821         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
78823         include <kernel-features.h>.
78824         [!__NR_ftruncate64]: Remove conditional code.
78825         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78826         [__NR_ftruncate64]: Make code unconditional.
78827         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78829         * configure.in (libc_cv_fpie): Weaken to a compile test using
78830         LIBC_TRY_CC_OPTION.
78831         * configure: Regenerated.
78833 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
78836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
78837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
78838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78839         Refreshed.
78840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
78841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
78842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
78843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
78844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
78845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78846         Refreshed.
78848 2012-05-27  David S. Miller  <davem@davemloft.net>
78850         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
78851         (___Q_zero): New.
78852         (__Q_simulate_exceptions): Return void.  Change to simulate
78853         exceptions by writing into the %fsr.
78854         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
78855         (__Qp_handle_exceptions): Likewise.
78856         (numbers): Delete.
78857         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
78858         __Qp_handle_exceptions.
78859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
78860         __Qp_handle_exceptions.
78861         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78862         as unused and give dummy FP_RND_NEAREST initializer.
78863         (FP_INHIBIT_RESULTS): Define.
78864         (___Q_simulate_exceptions): Update declaration.
78865         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
78866         formatting.
78867         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78868         as unused and give dummy FP_RND_NEAREST initializer.
78869         (__Qp_handle_exceptions): Update declaration.
78870         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
78871         formatting.
78873 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
78875         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
78876         the temporary FPU control word.
78877         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
78878         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
78879         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
78880         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78881         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
78882         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
78883         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
78884         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78885         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
78886         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
78887         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78889 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78891         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
78892         fields.
78894 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
78896         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
78897         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
78898         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
78899         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
78900         Likewise.
78901         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
78902         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
78903         Likewise.
78905 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
78907         * po/h.po: Update from translation team.
78909 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
78911         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
78913         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
78914         handling of denormals.
78915         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78916         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
78917         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78918         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78919         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78920         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
78921         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
78922         Likewise.
78924 2012-05-26  Marek Polacek  <polacek@redhat.com>
78926         [BZ #14152]
78927         * math/libm-test.inc (fma_test): Don't always expect underflow
78928         exception.
78930 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78932         [BZ #12416]
78933         * elf/tst-execstack.c: Include stackinfo.h.
78934         (do_test): Adjust test case to ensure that pthread_getattr_np
78935         behaviour remains the same after marking stack executable.
78937 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78939         * sysdeps/unix/sysv/linux/kernel-features.h
78940         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
78941         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
78942         kernel-features.h.
78943         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78944         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78945         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
78946         kernel-features.h.
78947         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78948         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78950 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
78952         * configure.in: Define the default includes to being none.
78953         * configure: Regenerated.
78955 2012-05-25  Roland McGrath  <roland@hack.frob.com>
78957         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
78958         * sysdeps/x86_64/setjmp.S: Likewise.
78959         * sysdeps/i386/bsd-setjmp.S: Likewise.
78960         * sysdeps/i386/bsd-_setjmp.S: Likewise.
78961         * sysdeps/i386/setjmp.S: Likewise.
78962         * sysdeps/i386/__longjmp.S: Likewise.
78963         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78964         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
78966         * include/stap-probe.h: New file.
78967         * configure.in: Handle --enable-systemtap.
78968         * configure: Regenerated.
78969         * config.h.in (USE_STAP_PROBE): New #undef.
78970         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
78971         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
78972         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
78974 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78976         [BZ #13717]
78977         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78978         to 2.4.0 where earlier.
78979         * sysdeps/unix/sysv/linux/configure: Regenerated.
78980         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
78981         <kernel-features.h>.
78982         [__ASSUME_32BITUIDS]: Make code unconditional.
78983         [!__ASSUME_32BITUIDS]: Remove conditional code.
78984         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
78985         <kernel-features.h>.
78986         [__ASSUME_32BITUIDS]: Make code unconditional.
78987         [!__ASSUME_32BITUIDS]: Remove conditional code.
78988         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
78989         [__ASSUME_32BITUIDS]: Make code unconditional.
78990         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
78991         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
78992         <kernel-features.h>.
78993         [__ASSUME_32BITUIDS]: Make code unconditional.
78994         [!__ASSUME_32BITUIDS]: Remove conditional code.
78995         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
78996         <kernel-features.h>.
78997         [__ASSUME_32BITUIDS]: Make code unconditional.
78998         [!__ASSUME_32BITUIDS]: Remove conditional code.
78999         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
79000         <kernel-features.h>.
79001         [__ASSUME_32BITUIDS]: Make code unconditional.
79002         [!__ASSUME_32BITUIDS]: Remove conditional code.
79003         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
79004         <kernel-features.h>.
79005         [__ASSUME_32BITUIDS]: Make code unconditional.
79006         [!__ASSUME_32BITUIDS]: Remove conditional code.
79007         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
79008         <kernel-features.h>.
79009         [__ASSUME_32BITUIDS]: Make code unconditional.
79010         [!__ASSUME_32BITUIDS]: Remove conditional code.
79011         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
79012         <kernel-features.h>.
79013         [__ASSUME_32BITUIDS]: Make code unconditional.
79014         [!__ASSUME_32BITUIDS]: Remove conditional code.
79015         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
79016         <kernel-features.h>.
79017         [__ASSUME_32BITUIDS]: Make code unconditional.
79018         [!__ASSUME_32BITUIDS]: Remove conditional code.
79019         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
79020         <kernel-features.h>.
79021         [__ASSUME_32BITUIDS]: Make code unconditional.
79022         [!__ASSUME_32BITUIDS]: Remove conditional code.
79023         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
79024         <kernel-features.h>.
79025         [__ASSUME_32BITUIDS]: Make code unconditional.
79026         [!__ASSUME_32BITUIDS]: Remove conditional code.
79027         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
79028         <kernel-features.h>.
79029         [__ASSUME_32BITUIDS]: Make code unconditional.
79030         [!__ASSUME_32BITUIDS]: Remove conditional code.
79031         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79032         <kernel-features.h>.
79033         [__NR_setresgid] (__setresgid): Do not declare.
79034         [__ASSUME_32BITUIDS]: Make code unconditional.
79035         [!__ASSUME_32BITUIDS]: Remove conditional code.
79036         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
79037         <kernel-features.h>.
79038         [__NR_setresuid] (__setresuid): Do not declare.
79039         [__ASSUME_32BITUIDS]: Make code unconditional.
79040         [!__ASSUME_32BITUIDS]: Remove conditional code.
79041         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
79042         <kernel-features.h>.
79043         [__ASSUME_32BITUIDS]: Make code unconditional.
79044         [!__ASSUME_32BITUIDS]: Remove conditional code.
79045         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
79046         <kernel-features.h>.
79047         [__ASSUME_32BITUIDS]: Make code unconditional.
79048         [!__ASSUME_32BITUIDS]: Remove conditional code.
79049         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
79050         <kernel-features.h>.
79051         [__ASSUME_32BITUIDS]: Make code unconditional.
79052         [!__ASSUME_32BITUIDS]: Remove conditional code.
79053         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
79054         <kernel-features.h>.
79055         [__ASSUME_32BITUIDS]: Make code unconditional.
79056         [!__ASSUME_32BITUIDS]: Remove conditional code.
79057         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
79058         <kernel-features.h>.
79059         [__ASSUME_32BITUIDS]: Make code unconditional.
79060         [!__ASSUME_32BITUIDS]: Remove conditional code.
79061         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
79062         <kernel-features.h>.
79063         [__ASSUME_32BITUIDS]: Make code unconditional.
79064         [!__ASSUME_32BITUIDS]: Remove conditional code.
79065         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
79066         <kernel-features.h>.
79067         [__ASSUME_32BITUIDS]: Make code unconditional.
79068         [!__ASSUME_32BITUIDS]: Remove conditional code.
79069         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
79070         <kernel-features.h>.
79071         [__ASSUME_32BITUIDS]: Make code unconditional.
79072         [!__ASSUME_32BITUIDS]: Remove conditional code.
79073         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
79074         <kernel-features.h>.
79075         [__ASSUME_32BITUIDS]: Make code unconditional.
79076         [!__ASSUME_32BITUIDS]: Remove conditional code.
79077         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
79078         <kernel-features.h>.
79079         [__ASSUME_32BITUIDS]: Make code unconditional.
79080         [!__ASSUME_32BITUIDS]: Remove conditional code.
79081         * sysdeps/unix/sysv/linux/kernel-features.h
79082         (__ASSUME_SETRESUID_SYSCALL): Remove.
79083         (__ASSUME_SETRESGID_SYSCALL): Likewise.
79084         (__ASSUME_32BITUIDS): Likewise.
79085         (__ASSUME_LDT_WORKS): Likewise.
79086         (__ASSUME_O_DIRECTORY): Likewise.
79087         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79088         architecture but not kernel version.
79089         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79090         (__ASSUME_MMAP2_SYSCALL): Likewise.
79091         (__ASSUME_STAT64_SYSCALL): Likewise.
79092         (__ASSUME_IPC64): Likewise.
79093         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79094         <kernel-features.h>.
79095         [__ASSUME_32BITUIDS]: Make code unconditional.
79096         [!__ASSUME_32BITUIDS]: Remove conditional code.
79097         * sysdeps/unix/sysv/linux/opendir.c: Do not include
79098         <kernel-features.h>.
79099         [__ASSUME_O_DIRECTORY]: Make code unconditional.
79100         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79101         132096]: Remove conditional code.
79102         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79103         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79104         <kernel-features.h>.
79105         [__ASSUME_32BITUIDS]: Make code unconditional.
79106         [!__ASSUME_32BITUIDS]: Remove conditional code.
79107         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79108         <kernel-features.h>.
79109         [__ASSUME_32BITUIDS]: Make code unconditional.
79110         [!__ASSUME_32BITUIDS]: Remove conditional code.
79111         * sysdeps/unix/sysv/linux/setegid.c: Do not include
79112         <kernel-features.h>.
79113         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79114         unconditional.
79115         (__setresgid): Do not declare.
79116         [__ASSUME_32BITUIDS]: Make code unconditional.
79117         [!__ASSUME_32BITUIDS]: Remove conditional code.
79118         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79119         <kernel-features.h>.
79120         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79121         unconditional.
79122         (__setresuid): Do not declare.
79123         [__ASSUME_32BITUIDS]: Make code unconditional.
79124         [!__ASSUME_32BITUIDS]: Remove conditional code.
79125         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
79126         <kernel-features.h>.
79127         [__ASSUME_32BITUIDS]: Make code unconditional.
79128         [!__ASSUME_32BITUIDS]: Remove conditional code.
79129         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
79130         <kernel-features.h>.
79131         [__ASSUME_32BITUIDS]: Make code unconditional.
79132         [!__ASSUME_32BITUIDS]: Remove conditional code.
79134 2012-05-25  Richard Henderson  <rth@twiddle.net>
79136         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79137         dl_hwcap to ifunc resolver.
79138         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79139         elf_ifunc_invoke.
79140         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79141         dl_hwcap to ifunc resolver.
79142         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79144 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79146         [BZ #14153]
79147         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79148         for |x| <= 2**-26, not 2**-57.
79149         * math/libm-test.inc (acos_test): Do not allow spurious underflow
79150         exception.
79152 2012-05-24  Jeff Law  <law@redhat.com>
79154         * stdio-common/Makefile (tests): Add bug25.
79155         * stdio-common/bug25.c: New test.
79157 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79159         [BZ #13576]
79160         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
79161         multiple of MALLOC_ALIGNMENT in size.
79162         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
79164 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79166         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
79167         Require >= 256.
79168         (FILENAME_MAX): Use macro-int-constant.
79169         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
79170         (_IOFBF): Use macro-int-constant.
79171         (_IOLBF): Likewise.
79172         (_IONBF): Likewise.
79173         (SEEK_CUR): Likewise.
79174         (SEEK_END): Likewise.
79175         (SEEK_SET): Likewise.
79176         (TMP_MAX): Likewise.
79177         (EOF): Use macro-int-constant.  Require < 0.
79178         (NULL): Use macro-constant.  Require == 0.
79179         (stdin): Require type to be FILE *.
79180         (stdout): Likewise.
79181         (stderr): Likewise.
79182         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
79183         macro-int-constant.
79184         (EXIT_SUCCESS): Likewise.
79185         (NULL): Use macro-constant.  Require == 0.
79186         (RAND_MAX): Use macro-int-constant.
79187         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
79188         [C99-based standards] (strtof): Require function.
79189         [C99-based standards] (strtold): Likewise.
79190         [C99-based standards] (strtoll): Likewise.
79191         [C99-based standards] (strtoull): Likewise.
79192         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79193         [ISO || ISO99 || ISO11] (limits.h): Likewise.
79194         [ISO || ISO99 || ISO11] (math.h): Likewise.
79195         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
79196         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79197         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79199 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
79201         [BZ #14132]
79202         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
79203         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
79204         * intl/dgettext.c (DCGETTEXT): Likewise.
79205         * intl/gettext.c (DCGETTEXT): Likewise.
79206         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
79207         * posix/regex_internal.h (gettext): Likewise.
79208         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
79209         Remove declaration.
79210         * include/argz.h (__argz_count_internal)
79211         (__argz_stringify_internal): Remove declaration.
79212         (__argz_count, __argz_stringify): Declare hidden proto.
79213         * intl/dcgettext.c: Remove use of INTDEF.
79214         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
79215         * string/argz-stringify.c: Likewise.
79216         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79217         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79218         Declare hidden proto.
79219         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79220         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79221         Declare hidden proto.
79222         * include/stdio.h (__asprintf_internal): Don't declare.
79223         (__asprintf): Don't define as macro.  Declare hidden proto.
79224         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
79225         (__fsetlocking): Declare hidden proto.
79226         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
79227         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
79228         hidden proto.
79229         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79230         (_IO_setlinebuf): Remove use of INTUSE.
79231         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
79232         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
79233         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
79234         Remove declaration.
79235         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
79236         (_IO_do_flush): Remove use of INTUSE.
79237         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
79238         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
79239         (_IO_adjust_column, _IO_least_wmarker)
79240         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
79241         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
79242         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
79243         (_IO_default_doallocate, _IO_wdefault_doallocate)
79244         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
79245         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
79246         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
79247         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
79248         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
79249         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
79250         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
79251         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
79252         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
79253         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
79254         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
79255         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
79256         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
79257         proto.
79258         (_IO_flush_all_internal, _IO_adjust_column_internal)
79259         (_IO_default_uflow_internal, _IO_default_finish_internal)
79260         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
79261         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
79262         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
79263         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
79264         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
79265         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
79266         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
79267         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
79268         (_IO_file_close_internal, _IO_file_close_it_internal)
79269         (_IO_file_underflow_internal, _IO_file_overflow_internal)
79270         (_IO_file_init_internal, _IO_file_attach_internal)
79271         (_IO_file_fopen_internal, _IO_file_read_internal)
79272         (_IO_file_sync_internal, _IO_file_seek_internal)
79273         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
79274         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
79275         (_IO_str_underflow_internal, _IO_str_overflow_internal)
79276         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
79277         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
79278         (_IO_list_all_internal, _IO_link_in_internal)
79279         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
79280         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
79281         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
79282         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
79283         (_IO_do_write_internal, _IO_padn_internal)
79284         (_IO_getline_info_internal, _IO_getline_internal)
79285         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
79286         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
79287         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
79288         (_IO_vfscanf_internal, _IO_vfprintf_internal)
79289         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
79290         (_IO_init_internal, _IO_un_link_internal): Don't declare.
79291         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
79292         with libc_hidden_ver, remove use of INTUSE.
79293         * libio/genops.c: Likewise.
79294         * libio/freopen.c: Likewise.
79295         * libio/freopen64.c: Likewise.
79296         * libio/iofclose.c: Likewise.
79297         * libio/iofdopen.c: Likewise.
79298         * libio/iofflush.c: Likewise.
79299         * libio/iofflush_u.c: Likewise.
79300         * libio/iofgets.c: Likewise.
79301         * libio/iofgets_u.c: Likewise.
79302         * libio/iofopen.c: Likewise.
79303         * libio/iofopncook.c: Likewise.
79304         * libio/iofread.c: Likewise.
79305         * libio/iofread_u.c: Likewise.
79306         * libio/ioftell.c: Likewise.
79307         * libio/iofwrite.c: Likewise.
79308         * libio/iogetline.c: Likewise.
79309         * libio/iogets.c: Likewise.
79310         * libio/iogetwline.c: Likewise.
79311         * libio/iopadn.c: Likewise.
79312         * libio/iopopen.c: Likewise.
79313         * libio/ioseekoff.c: Likewise.
79314         * libio/ioseekpos.c: Likewise.
79315         * libio/iosetbuffer.c: Likewise.
79316         * libio/iosetvbuf.c: Likewise.
79317         * libio/ioungetc.c: Likewise.
79318         * libio/ioungetwc.c: Likewise.
79319         * libio/iovdprintf.c: Likewise.
79320         * libio/iovsprintf.c: Likewise.
79321         * libio/iovsscanf.c: Likewise.
79322         * libio/memstream.c: Likewise.
79323         * libio/obprintf.c: Likewise.
79324         * libio/oldfileops.c: Likewise.
79325         * libio/oldiofclose.c: Likewise.
79326         * libio/oldiofdopen.c: Likewise.
79327         * libio/oldiofopen.c: Likewise.
79328         * libio/oldiopopen.c: Likewise.
79329         * libio/oldstdfiles.c: Likewise.
79330         * libio/putc.c: Likewise.
79331         * libio/setbuf.c: Likewise.
79332         * libio/setlinebuf.c: Likewise.
79333         * libio/stdfiles.c: Likewise.
79334         * libio/strops.c: Likewise.
79335         * libio/vasprintf.c: Likewise.
79336         * libio/vscanf.c: Likewise.
79337         * libio/vsnprintf.c: Likewise.
79338         * libio/vswprintf.c: Likewise.
79339         * libio/wfiledoalloc.c: Likewise.
79340         * libio/wfileops.c: Likewise.
79341         * libio/wgenops.c: Likewise.
79342         * libio/wmemstream.c: Likewise.
79343         * libio/wstrops.c: Likewise.
79344         * libio/__fpurge.c: Likewise.
79345         * libio/__fsetlocking.c: Likewise.
79346         * assert/assert.c: Likewise.
79347         * debug/fgets_chk.c: Likewise.
79348         * debug/fgets_u_chk.c: Likewise.
79349         * debug/fread_chk.c: Likewise.
79350         * debug/fread_u_chk.c: Likewise.
79351         * debug/gets_chk.c: Likewise.
79352         * debug/obprintf_chk.c: Likewise.
79353         * debug/vasprintf_chk.c: Likewise.
79354         * debug/vdprintf_chk.c: Likewise.
79355         * debug/vsnprintf_chk.c: Likewise.
79356         * debug/vsprintf_chk.c: Likewise.
79357         * malloc/mtrace.c: Likewise.
79358         * misc/error.c: Likewise.
79359         * misc/syslog.c: Likewise.
79360         * stdio-common/asprintf.c: Likewise.
79361         * stdio-common/fxprintf.c: Likewise.
79362         * stdio-common/getw.c: Likewise.
79363         * stdio-common/isoc99_fscanf.c: Likewise.
79364         * stdio-common/isoc99_scanf.c: Likewise.
79365         * stdio-common/isoc99_vfscanf.c: Likewise.
79366         * stdio-common/isoc99_vscanf.c: Likewise.
79367         * stdio-common/isoc99_vsscanf.c: Likewise.
79368         * stdio-common/printf-prs.c: Likewise.
79369         * stdio-common/printf_fp.c: Likewise.
79370         * stdio-common/printf_fphex.c: Likewise.
79371         * stdio-common/printf_size.c: Likewise.
79372         * stdio-common/putw.c: Likewise.
79373         * stdio-common/scanf.c: Likewise.
79374         * stdio-common/sprintf.c: Likewise.
79375         * stdio-common/tmpfile.c: Likewise.
79376         * stdio-common/vfprintf.c: Likewise.
79377         * stdio-common/vfscanf.c: Likewise.
79378         * stdlib/strfmon_l.c: Likewise.
79379         * sunrpc/openchild.c: Likewise.
79380         * sunrpc/xdr_stdio.c: Likewise.
79381         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79382         * sysdeps/mach/hurd/tmpfile.c: Likewise.
79384 2012-05-24  Roland McGrath  <roland@hack.frob.com>
79386         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79388         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79389         in the third column, to generate for the shared library an IFUNC
79390         that uses _dl_vdso_vsym.
79391         * Makerules (COMPILE.c, compile-stdin.c): New variables.
79392         * Makeconfig (object-suffixes-noshared): New variable.
79394         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79395         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79396         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79397         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79399         [BZ #14132]
79400         * include/sys/time.h (__gettimeofday): Remove macro.
79401         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79402         * time/gettimeofday.c (__gettimeofday): Remove #undef.
79403         Remove INTDEF.
79404         (__gettimeofday): Add libc_hidden_def.
79405         (gettimeofday): Add libc_hidden_weak.
79406         * sysdeps/mach/gettimeofday.c: Likewise.
79407         * sysdeps/posix/gettimeofday.c: Likewise.
79408         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79409         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79410         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79411         (__gettimeofday_internal): Remove strong_alias.
79412         (__gettimeofday): Add libc_hidden_def.
79413         (gettimeofday): Add libc_hidden_weak.
79414         * sysdeps/unix/syscalls.list (gettimeofday):
79415         Remove __gettimeofday_internal alias.
79417 2012-05-24  Daniel Jacobowitz  <drow@false.org>
79418             H.J. Lu  <hongjiu.lu@intel.com>
79420         [BZ #12495]
79421         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79422         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79423         (largebin_index_32_big): New.
79424         (largebin_index): Use it for 16-byte alignment.
79425         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
79426         correction with front_misalign.
79428 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79432         Likewise.
79433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79434         Likewise.
79435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79436         Likewise.
79437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79438         Likewise.
79439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79440         Likewise.
79441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79442         Likewise.
79443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79444         Likewise.
79445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79446         Likewise.
79447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79448         Likewise.
79449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79450         Likewise.
79451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79452         Likewise.
79453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79454         Likewise.
79456         * scripts/data/c++-types-x32-linux-gnu.data: New file.
79457         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79459 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79461         [BZ #10846]
79462         [BZ #14036]
79463         * math/libm-test.inc (exp_test): Add test from bug 14036.
79464         (pow_test): Add test from bug 10846.
79466         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79467         and other flags.
79468         (special_function): Do not include flags in test name.
79469         (parse_args): Likewise.
79470         * sysdeps/i386/fpu/libm-test-ulps: Update.
79471         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79472         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79473         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79476         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79477         exceptions.
79478         * math/libm-test.inc ("Philosophy"): Update comment about
79479         exception testing.
79480         (UNDERFLOW_EXCEPTION): New macro.
79481         (UNDERFLOW_EXCEPTION_OK): Likewise.
79482         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79483         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79484         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79485         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79486         (INVALID_EXCEPTION_OK): Update value.
79487         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79488         (OVERFLOW_EXCEPTION_OK): Likewise.
79489         (IGNORE_ZERO_INF_SIGN): Likewise.
79490         (test_exceptions): Handle underflow exceptions.
79491         (acos_test): Update for underflow exception expectations.
79492         (cexp_test): Likewise.
79493         (clog_test): Likewise.
79494         (clog10_test): Likewise.
79495         (csqrt_test): Likewise.
79496         (ctan_test): Likewise.
79497         (ctanh_test): Likewise.
79498         (exp_test): Likewise.
79499         (exp10_test): Likewise.
79500         (exp2_test): Likewise.
79501         (expm1_test): Likewise.
79502         (fma_test): Likewise.
79503         (j0_test): Likewise.
79504         (jn_test): Likewise.
79505         (nexttoward_test): Likewise.
79506         (pow_test): Likewise.
79507         (scalbn_test): Likewise.
79508         (scalbln_test): Likewise.
79509         (tan_test): Likewise.
79510         (y1_test): Likewise.
79511         * sysdeps/i386/fpu/libm-test-ulps: Update.
79512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79514 2012-05-23  David S. Miller  <davem@davemloft.net>
79516         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79517         (__libc_sigaction): Remove unused local variables.
79519 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79521         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79523 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79525         mktime: avoid signed integer overflow
79526         * time/mktime.c (__mktime_internal): Do not mishandle the case
79527         where diff == INT_MIN.
79529         mktime: simplify computation of average
79530         * time/mktime.c (ranged_convert): Use new time_t_avg function
79531         instead of rolling our own (probably-slower) code.
79533         mktime: do not assume signed right shift propagates sign bit
79534         * time/mktime.c (isdst_differ): New static function.
79535         (__mktime_internal): No need to normalize tm_isdst now.
79536         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79537         tm_isdst values.
79539         mktime: merge another wrapv change from gnulib
79540         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79541         from some compilers.
79543         mktime: remove incorrect attempt at unusual arithmetics
79544         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79545         The code didn't really work on such machines anyway.
79546         (TYPE_MINIMUM): Assume two's complement.
79547         (twos_complement_arithmetic): Verify that long_int and time_t
79548         are two's complement (or unsigned, in the latter case).
79550         mktime: check signed shifts on long_int and time_t, too
79551         * time/mktime.c (SHR): Check that shifts work as desired
79552         on the types long_int and time_t too, as SHR is used on
79553         such types.
79555         mktime: do not assume 'long' is wide enough
79556         * time/mktime.c (verify): Move decl up.
79557         (long_int): New type.
79558         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79559         to remove assumption in the code that 'long' is wide enough to
79560         store year values.  This assumption is not true on x32 and on
79561         some non-glibc platforms.
79563         mktime: merge wrapv change from gnulib
79564         * time/mktime.c (WRAPV): New macro.
79565         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79566         (guess_time_tm, __mktime_internal): Do not assume that signed
79567         integer overflow wraps around; modern compilers generate code
79568         where this assumption is no longer valid.
79570 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79572         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79573         Replace "jmp L(pseudo_end)" with "ret".
79574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79575         Likewise.
79577 2012-05-23  Andreas Jaeger  <aj@suse.de>
79579         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79580         * sysdeps/unix/sysv/linux/poll.c: Remove file.
79582 2012-05-23  Andreas Jaeger  <aj@suse.de>
79583             Maximilian Attems  <max@stro.at>
79585         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79586         New macros.
79588 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79590         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79591         code so that pseudo_end is just ret and the stack pointer is
79592         correct also for static library in error case.
79594 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
79596         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79597         move to syscalls.list.
79598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79603         * manual/install.texi (Running make install): Do not mention Linux
79604         kernel version for which pt_chown is not needed.
79605         (Linux): Do not mention problems with nscd with 2.0 kernels.
79606         * INSTALL: Regenerated.
79608 2012-05-23  Andreas Jaeger  <aj@suse.de>
79610         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79611         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79612         macro.
79613         * sysdeps/unix/sysv/linux/s390/bits/mman.h
79614         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79615         * sysdeps/unix/sysv/linux/sh/bits/mman.h
79616         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79617         * sysdeps/unix/sysv/linux/i386/bits/mman.h
79618         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79619         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79620         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79621         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79622         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79623         * sysdeps/unix/sysv/linux/bits/in.h
79624         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79626 2012-05-22  Roland McGrath  <roland@hack.frob.com>
79628         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79629         (PREPARE_VERSION): Just use assert instead, it will be elided
79630         under [NDEBUG] anyway.
79632 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79634         * sysdeps/unix/sysv/linux/Makefile: Include
79635         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79636         (sysdep_routines): Remove sysctl.
79637         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79638         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79639         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79640         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79641         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79643 2012-05-22  Andreas Jaeger  <aj@suse.de>
79645         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79646         that pseudo_end is just ret and the stack pointer is correct also
79647         for static library in error case.
79649 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
79651         [BZ #14122]
79652         * nss/nsswitch.c (defconfig_entries): New variable.
79653         (__nss_database_lookup): Don't leak defconfig entries.
79654         (nss_parse_service_list): Don't leak on error paths.
79655         (free_database_entries): New function.
79656         (free_defconfig): New function.
79657         (free_mem): Move common code to free_database_entries.
79659 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79661         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79662         Add arch_prctl.
79663         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79665         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79666         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79668         New macro.
79669         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79670         (INTERNAL_SYSCALL_TYPES): Likewise.
79671         (LOAD_ARGS_TYPES_[1-6]): Likewise.
79672         (LOAD_REGS_TYPES_[1-6]): Likewise.
79673         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79674         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79676 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79678         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79679         copysignl for GLIBC_2_0.
79680         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79681         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79682         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79683         logbl for GLIBC_2_0.
79684         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79685         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79687 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79689         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79690         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79692         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79693         Use "neg %eax".
79695         * time/mktime.c: Update copyright years.
79697 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
79699         mktime: merge comment-quoting-style change from gnulib
79700         * time/mktime.c: Quote 'like this' in comments.
79701         The GNU coding standards suggest that we no longer quote `like this',
79702         as "`" and "'" are typically rendered asymmetrically nowadays.
79703         The typical gnulib style is to quote 'like this' when quoting
79704         code, and "like this" when quoting English.
79706         * time/mktime.c (compile-command): Add "-I.".
79708         mktime: merge mktime-internal.h change from gnulib
79709         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79711         mktime: merge time_r change from gnulib
79712         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79714         mktime: merge DEBUG change from gnulib
79715         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79716         case system <time.h> has a #define.
79718         mktime: merge <sys/types.h> change from gnulib
79719         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79720         since <time.t> is now guaranteed to define time_t.
79722         mktime: merge HAVE_CONFIG_H change from gnulib
79723         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79725 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79728         Use "neg %eax".
79730         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79731         __rlim_t cast.
79732         (struct rusage): Use anonymous union to pad each field to
79733         __syscall_slong_t.
79735 2012-05-21  David S. Miller  <davem@davemloft.net>
79737         * Makefules (o-iterator): Remove .s cases.
79738         (compile-command.s): Delete.
79739         (COMPILE.s): Delete.
79740         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79742 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
79744         * configure.in (libc_cv_predef_stack_protector): Only consider
79745         "foobar" and "__stack_chk_fail" lines in libc_undefs.
79746         * configure: Regenerated.
79748 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79750         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79751         New macro.  Use R*LP on int and pointer.
79752         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79753         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79754         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79755         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79757         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79758         [__WORDSIZE_TIME64_COMPAT32] instead of
79759         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79760         (struct utmp): Likewise.
79761         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79762         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79763         Renamed to ...
79764         (__WORDSIZE_TIME64_COMPAT32): This.
79765         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79766         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79767         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79768         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79769         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79770         (__WORDSIZE_TIME64_COMPAT32): New macro.
79772 2012-05-21  Andreas Jaeger  <aj@suse.de>
79774         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79775         only if [SHARED]. Add prototype for __wcschr_ia32.
79777 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79779         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79780         of %rbp unmolested in the jmp_buf while mangling the low bits.
79781         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79782         unmolested high bits of %rbp while demangling the low bits.
79783         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79785 2012-05-21  Andreas Jaeger  <aj@suse.de>
79787         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79788         * sunrpc/svc_simple.c: Use it for registerrpc.
79789         * sunrpc/xcrypt.c: Use it for passwd2des.
79791         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
79793 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79795         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
79796         Don't define if [__SYSCALL_WORDSIZE != 32].
79797         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
79798         New macro.
79800 2012-05-21  Bruno Haible  <bruno@clisp.org>
79801             Andreas Jaeger  <aj@suse.de>
79803         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
79804         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
79805         inptr and inend for must_buffer_ch.
79806         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
79807         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
79808         * stdio-common/Makefile (tests): Remove bug15.
79809         (bug15-ENV): Remove macro.
79810         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
79811         anymore.
79813 2012-05-19  Andreas Jaeger  <aj@suse.de>
79814             Roland McGrath  <roland@hack.frob.com>
79816         * manual/contrib.texi: Completely rewritten. It contains now an
79817         alphabetical list of contributors and their contributions.
79819 2012-05-21  Richard Henderson  <rth@twiddle.net>
79821         * misc/getauxval.c (__getauxval): Use unsigned long int.
79822         * misc/sys/auxv.h: Include <sys/cdefs.h>.
79823         (getauxval): Use unsigned long int.
79825 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79827         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79829 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79831         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
79832         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
79833         __alignof__ (long double).
79835 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79839 2012-05-20  Richard Henderson  <rth@twiddle.net>
79841         * misc/getauxval.c: New file.
79842         * misc/sys/auxv.h: New file.
79843         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
79844         (routines): Add getauxval.
79845         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
79846         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
79847         * elf/dl-sysdep.c (_dl_auxv): Remove.
79848         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
79849         * elf/dl-support.c (_dl_auxv): New variable.
79850         (_dl_aux_init): Initialize it.
79851         * manual/startup.texi (Auxiliary Vector): New node.
79852         * sysdeps/generic/bits/hwcap.h: New file.
79853         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
79854         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
79855         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
79856         * sysdeps/sparc/sysdep.h: ... here.  Include it.
79857         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
79858         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
79859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79860         Update.
79861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
79862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
79863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
79864         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
79865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
79868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
79870 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79874 2012-05-19  David S. Miller  <davem@davemloft.net>
79876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79878 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79880         [BZ #14123]
79881         * math/s_ccosh.c: Include <float.h>
79882         (__ccosh): Avoid internal overflow calculating sinh and cosh
79883         values before multiplying by sin and cos values.
79884         * math/s_ccoshf.c: Likewise.
79885         * math/s_ccoshl.c: Likewise.
79886         * math/s_csin.c: Likewise.
79887         * math/s_csinf.c: Likewise.
79888         * math/s_csinl.c: Likewise.
79889         * math/s_csinh.c: Likewise.
79890         * math/s_csinhf.c: Likewise.
79891         * math/s_csinhl.c: Likewise.
79892         * math/libm-test.inc (ccos_test): Add more tests.
79893         (ccosh_test): Likewise.
79894         (csin_test): Likewise.
79895         (csinh_test): Likewise.
79896         * sysdeps/i386/fpu/libm-test-ulps: Update.
79897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79899 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
79901         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
79902         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
79904         * sysdeps/x86_64/x32/_itoa.h: Add comment.
79906 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79908         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
79909         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
79910         * sysdeps/powerpc/soft-fp/Versions: Likewise.
79911         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
79912         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
79913         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
79914         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
79915         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
79916         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
79917         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
79918         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
79919         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
79920         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
79921         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
79922         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
79923         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
79924         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
79925         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
79926         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
79927         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
79928         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
79929         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
79930         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
79931         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
79932         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
79933         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
79934         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
79935         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
79936         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
79937         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
79938         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
79940 2012-05-18  Andreas Jaeger  <aj@suse.de>
79942         * csu/.gitignore: Delete.
79944 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79946         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
79947         (timex): Use __syscall_slong_t.
79949 2012-05-18  Andreas Jaeger  <aj@suse.de>
79950             Carlos O'Donell  <carlos_odonell@mentor.com>
79952         * manual/install.texi (Configuring and compiling): Update
79953         description about files modified in the source directory.
79954         * INSTALL: Regenerated.
79956 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79958         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
79959         value.  Use "or" to set return value to -1.
79960         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
79961         negate return value.
79963 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79965         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
79966         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
79967         failure if the compiler has Graphite support disabled.
79968         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
79969         Likewise.
79970         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
79971         (CFLAGS-memmove.c): Likewise.
79972         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
79973         Likewise.
79975 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79977         * sysdeps/x86_64/x32/_itoa.h: New file.
79979         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
79980         getdents system call only if kernel and user dirents have the
79981         same d_ino and d_off.
79983         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79984         LLONG_MAX != LONG_MAX.
79985         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79986         (_fitoa_word): Likewise.
79988         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
79989         years.
79990         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
79991         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
79992         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
79994         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
79995         include <bits/wordsize.h>.  Check __x86_64__ instead of
79996         __WORDSIZE.
79997         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
79998         if __x86_64__ is defined.  Use anonymous union on fpstate.
80000         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
80001         anonymous union.
80003 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
80005         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
80006         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
80007         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
80008         Refer to _rtld_local_ro instead of _rtld_global_ro.
80009         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
80010         Likewise.
80011         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
80012         Likewise.
80013         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
80014         Likewise.
80015         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
80016         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
80017         of _rtld_global, and rtld_progname instead of _dl_argv[0].
80019         [BZ #10882]
80020         * sysdeps/powerpc/powerpc32/dl-machine.c
80021         (__elf_machine_runtime_setup) [PROF]: Don't reference
80022         _dl_prof_resolve.
80024 2012-05-18  Andreas Jaeger  <aj@suse.de>
80026         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
80027         function only available for GCCs before 3.4 since GCC 3.4
80028         introduced a builtin.
80029         (lrint): Likewise.
80030         (llrintf): Likewise.
80031         (llrint): Likewise.
80032         (fmaxf): Likewise.
80033         (fmax): Likewise.
80034         (fminf): Likewise.
80035         (fmin): Likewise.
80036         (rint): Likewise.
80037         (rintf): Likewise.
80038         (nearbyint): Likewise.
80039         (nearbyintf): Likewise.
80040         (ceil): Likewise.
80041         (ceilf): Likewise.
80042         (floor): Likewise.
80043         (floorf): Likewise.
80045 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80047         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
80048         on both fields and cast pointer to __syscall_ulong_t.
80050         * bits/types.h (__fsword_t): New type.
80051         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
80052         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
80053         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80054         (__FSWORD_T_TYPE): Likewise.
80055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80056         (__FSWORD_T_TYPE): Likewise.
80057         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80058         (__FSWORD_T_TYPE): Likewise.
80059         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
80060         (__FSWORD_T_TYPE): Likewise.
80061         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
80062         __SWORD_TYPE with __fsword_t.
80063         (statfs64): Likewise.
80065 2012-05-17  David S. Miller  <davem@davemloft.net>
80067         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
80069 2012-05-17  Andreas Jaeger  <aj@suse.de>
80071         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
80072         warning.
80074 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80076         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
80078 2012-05-17  Andreas Jaeger  <aj@suse.de>
80080         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80081         when it is used.
80083 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80085         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80087 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80089         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80090         * sysdeps/x86_64/tst-mallocalign1.c: New file.
80092 2012-05-17  Andreas Jaeger  <aj@suse.de>
80093             Carlos O'Donell  <carlos_odonell@mentor.com>
80095         [BZ #14059]
80096         * sysdeps/x86_64/multiarch/init-arch.h
80097         (bit_YMM_Usable): Rename to...
80098         (bit_AVX_Usable): ... this.
80099         (bit_FMA4_Usable): New macro.
80100         (bit_XMM_state): New macro.
80101         (bit_YMM_state): New macro.
80102         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80103         [__ASSEMBLER__] (index_AVX_Usable): ... this.
80104         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80105         (CPUID_OSXSAVE): New macro.
80106         (CPUID_AVX): New macro.
80107         (CPUID_FMA4): New macro.
80108         (index_YMM_Usable): Rename to...
80109         (index_AVX_Usable): ... this.
80110         (HAS_AVX): Use HAS_ARCH_FEATURE.
80111         (HAS_FMA4): Likewise.
80112         (HAS_YMM_USABLE): Remove.
80113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80114         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80115         are present.
80116         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80117         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80118         * sysdeps/x86_64/multiarch/Makefile: Likewise.
80119         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80120         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80122 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80124         * math/libm-test.c: Support platforms without multiple rounding modes.
80125         * math/bug-nextafter.c: Support platforms without FP exceptions.
80126         * math/bug-nexttoward.c: Likewise.
80127         * math/test-fenv.c: Likewise.
80128         * math/test-misc.c: Likewise.
80129         * stdlib/bug-getcontext.c: Likewise.
80131 2012-05-17  Andreas Jaeger  <aj@suse.de>
80133         * manual/examples/search.c (critter_cmp): Change signature to
80134         avoid warnings.
80135         * manual/string.texi (Collation Functions): Likewise.
80137 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80139         * bits/types.h: Fold copyright years.
80140         * bits/typesizes.h: Likewise.
80141         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80142         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80144         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80145         * time/time.h: Likewise.
80147 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
80149         [BZ #208]
80150         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80151         in instead of returning them.  Return void.
80152         (__libc_mallinfo): Accumulate over all arenas.
80153         (__malloc_stats): Adjust for change in int_mallinfo interface.
80155 2012-05-16  Roland McGrath  <roland@hack.frob.com>
80157         [BZ #10375]
80158         * configure.in (NM): Add AC_CHECK_TOOL for it.
80159         (libc_extra_cflags): New substituted variable.
80160         Check for -fstack-protector being used implicitly.
80161         * configure: Regenerated.
80162         * config.make.in (config-extra-cflags): New variable,
80163         gets @libc_extra_cflags@.
80164         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
80166         [BZ #10375]
80167         * configure.in: Check for _FORTIFY_SOURCE being predefined.
80168         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
80169         * configure: Regenerated.
80170         * config.make.in (CPPUNDEFS): New substituted variable.
80171         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
80172         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
80173         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
80175 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80177         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
80178         (mq_attr): Use __syscall_slong_t.
80180 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80182         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
80183         Check __x86_64__ instead of __WORDSIZE.
80184         (_STAT_VER_LINUX): Likewise.
80185         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
80186         __syscall_ulong_t and __syscall_slong_t.
80187         (stat64): Likewise.
80189 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
80193 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80195         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
80197 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80199         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
80200         __syscall_ulong_t.
80202         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
80203         include <bits/wordsize.h>.  Check __x86_64__ instead of
80204         __WORDSIZE.
80205         (greg_t): Use "__extension__ long long int" if __x86_64__ is
80206         defined.
80207         (mcontext_t): Replace "unsigned long" with "unsigned long long".
80209         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
80210         include <bits/wordsize.h>.  Check __x86_64__ instead of
80211         __WORDSIZE.
80212         (user_regs_struct): Use "__extension__ unsigned long long"
80213         instead of "unsigned long" if __x86_64__ is defined.
80214         (user): Likewise.  Pad after pointer field if __ILP32__ is
80215         defined.
80217 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
80219         * configure.in (makeinfo): Require version 4.5 or later.  Allow
80220         versions 5 to 9.
80221         * configure: Regenerated.
80222         * manual/install.texi (texinfo): Increase version requirement to
80223         4.5 or later.
80224         * INSTALL: Regenerated.
80226         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
80228 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80230         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
80232         * sysdeps/x86_64/x32/ffs.c: New file.
80234         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
80235         __syscall_ulong_t.
80236         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
80237         defined.  Use __syscall_ulong_t.
80238         (shminfo): Use __syscall_ulong_t.
80239         (shm_info): Likewise.
80241         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
80242         __syscall_ulong_t.
80244         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
80245         <bits/wordsize.h>.
80246         (msgqnum_t): Use __syscall_ulong_t.
80247         (msglen_t): Likewise.
80248         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
80249         __syscall_ulong_t.
80251         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
80252         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80254         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
80256         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
80257         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
80259         * sysvipc/sys/msg.h (msgbuf): Replace long int with
80260         __syscall_slong_t.
80262         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
80263         include <bits/wordsize.h>.  Check __x86_64__ instead of
80264         __WORDSIZE.
80266         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
80267         "unsigned long long int" if __x86_64__ is defined.
80268         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
80270         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
80271         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80272         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
80274         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
80275         <stdint.h>.
80276         (GET_PC): Cast to uintptr_t first.
80277         (GET_FRAME): Likewise.
80278         (GET_STACK): Likewise.
80280         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
80281         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
80282         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
80283         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
80284         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
80285         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
80286         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
80287         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
80288         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80289         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
80290         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
80291         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
80292         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
80293         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
80294         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
80295         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
80296         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
80297         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
80298         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
80299         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
80300         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
80301         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
80302         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
80303         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
80304         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
80305         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
80306         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
80307         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
80308         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
80310 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
80312         * Makerules (+depfiles): Also collect depfiles from .oS in
80313         $(extra-objs).
80314         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
80315         .oS, $(libnldbl-routines)).
80317         * Makerules (native-compile-mkdep-flags): Define.
80318         * sunrpc/Makefile (extra-objs): Add $(addprefix
80319         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
80320         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
80321         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
80322         calling $(make-target-directory).
80324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80326         * bits/types.h (__snseconds_t): Removed.
80327         * time/time.h (struct timespec): Replace __snseconds_t with
80328         __syscall_slong_t.
80329         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
80330         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
80331         Likewise.
80332         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80333         (__SNSECONDS_T_TYPE): Likewise.
80334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80335         (__SNSECONDS_T_TYPE): Likewise.
80336         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80337         (__SNSECONDS_T_TYPE): Likewise.
80339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80341         * sysdeps/mach/hurd/bits/typesizes.h
80342         (__SYSCALL_SLONG_TYPE): New macro.
80343         (__SYSCALL_ULONG_TYPE): Likewise.
80345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80347         * bits/types.h (__syscall_slong_t): New type.
80348         (__syscall_ulong_t): Likewise.
80350         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
80351         (__SYSCALL_ULONG_TYPE): Likewise.
80352         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80353         (__SYSCALL_SLONG_TYPE): Likewise.
80354         (__SYSCALL_ULONG_TYPE): Likewise.
80355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80356         (__SYSCALL_SLONG_TYPE): Likewise.
80357         (__SYSCALL_ULONG_TYPE): Likewise.
80358         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80359         (__SYSCALL_SLONG_TYPE): Likewise.
80360         (__SYSCALL_ULONG_TYPE): Likewise.
80362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80364         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
80365         Add sigaltstack-offsets.sym.
80366         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
80367         <sigaltstack-offsets.h>.
80368         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
80369         longjmp_msg pointer.
80370         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
80371         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
80372         signal stack.
80373         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80375 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80377         * elf/stackguard-macros.h: Remove file.
80378         * sysdeps/generic/stackguard-macros.h: New file.
80379         * sysdeps/i386/stackguard-macros.h: Likewise.
80380         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80381         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80382         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80383         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80384         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80385         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80386         * sysdeps/x86_64/stackguard-macros.h: Likewise.
80387         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80388         <elf/stackguard-macros.h>.
80390         [BZ #14109]
80391         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80392         __aligned__ in attribute.
80393         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80394         (gregset_t): Likewise.
80396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80398         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80399         * sysdeps/x86_64/64/Implies-after: Here.  New file.
80400         * sysdeps/x86_64/x32/Implies-after: New file.
80402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80404         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80405         and access return value for _dl_profile_fixup.  Use R10_LP to
80406         load frame size.
80408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80410         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80414         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80415         * sysdeps/x86_64/x32/sysdep.h: New file.
80417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80419         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80420         * sysdeps/x86_64/setjmp.S: Likewise.
80422 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80424         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80425         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80426         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80427         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80428         remove unused global constant.
80430 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
80432         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80433         include of <not-cancel.h>.
80435 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80437         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80439 2012-05-15  Jeff Law  <law@redhat.com>
80440             Andreas Jaeger  <aj@suse.de>
80442         [BZ #13594]
80443         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80444         out from...
80445         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80446         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80447         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80448         code changing __hst_map_handle.map.
80450 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80452         * configure.in (sysnames): Look for Implies-before and Implies-after
80453         files.
80454         * configure: Regenerated.
80456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80458         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80459         8-byte data alignment with LP_SIZE alignment.
80461 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80463         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80464         into R10_LP.
80466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80468         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80472         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80473         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80474         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80475         Likewise.
80476         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80480         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80481         (stackinfo_sub_sp): Likewise.
80483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80485         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80486         RAX_LP.
80488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80490         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80491         into R*_LP.
80493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80495         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80496         sizes into R*_LP.
80498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80500         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80504         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80505         into R11_LP and load __x86_64_shared_cache_size_half into
80506         R8_LP.
80508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80510         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80511         R8_LP.
80513 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80516         logb for POWER7.
80517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80518         logbf for POWER7.
80519         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80520         logbl for POWER7.
80521         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80522         powerpc32/power7/fpu/s_logb.c via #include.
80523         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80524         powerpc32/power7/fpu/s_logbf.c via #include.
80525         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80526         powerpc32/power7/fpu/s_logbl.c via #include.
80528 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80530         * README.libm: Remove file.
80532 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80534         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80535         count for x32.  Use R*_LP and omit operand-size suffix.
80537 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80539         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80540         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80541         * sysdeps/x86_64/x32/shlib-versions: New file.
80543 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80545         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80546         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80547         Use _dl_fatal_printf instead.
80549 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80551         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80552         set if not set by the user.  Do not allow for being unset.
80553         * sysdeps/unix/sysv/linux/configure: Regenerated.
80555 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80557         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80558         the `q' suffix from lea and replace .quad with ASM_ADDR.
80560 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80563         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
80564         instead of $17.
80565         (PTR_DEMANGLE): Likewise.
80567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80569         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80570         (LP_OP): Likewise.
80571         (ASM_ADDR): Likewise.
80572         (RAX_LP): Likewise.
80573         (RBP_LP): Likewise.
80574         (RBX_LP): Likewise.
80575         (RCX_LP): Likewise.
80576         (RDI_LP): Likewise.
80577         (RSI_LP): Likewise.
80578         (RSP_LP): Likewise.
80579         (R8_LP): Likewise.
80580         (R9_LP): Likewise.
80581         (R10_LP): Likewise.
80582         (R10_LP): Likewise.
80583         (R11_LP): Likewise.
80584         (R12_LP): Likewise.
80585         (R13_LP): Likewise.
80586         (R14_LP): Likewise.
80587         (R15_LP): Likewise.
80589 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80591         * sysdeps/x86_64/x32/dl-machine.h: New file.
80593 2012-05-14  Andreas Jaeger  <aj@suse.de>
80595         * manual/Makefile (subdir): Remove export of subdir.
80596         (all): Remove target.
80597         (.PHONY): Remove all from list.
80598         (mkinstalldirs): Remove.
80599         (.PHONY): Remove installdirs from list.
80600         ($(inst_infodir)/libc.info): Use make-target-directory.
80601         (installdirs): Remove.
80602         (subdir_%): Remove.
80603         (glibc-targets): Remove.
80604         (lib): Remove.
80605         (stubs): Remove.
80606         ($(objpfx)stubs ../po/manual.pot): Remove.
80607         ($(objpfx)stamp%): Remove.
80608         (make-target-directory): Remove.
80609         (subdir_install): Remove.
80610         (routines): Remove.
80611         (aux): Remove.
80612         (sources): Remove.
80613         (objects): Remove.
80614         (headers): Remove.
80616         [BZ #13750]
80617         * manual/.gitignore: Remove, it's not needed anymore.
80618         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80619         all files in it.
80620         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80621         directory.
80622         (texis): Renamed to $(objpfx)texis.
80623         (texis-path): New, contains path to generated files.
80624         (chapters.%): Use texis-path for complete path, add extra argument
80625         libc-texinfo.sh.
80626         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80627         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80628         (summary,texi, stamp-summary): Use complete path of
80629         files. Generate files in build dir.
80630         (dir-add.texi): Build in build dir.
80631         (libm-err.texi,stamp-libm-err): Likewise.
80632         (version.texi, stamp-version): Likewise.
80633         (.%c.texi): Likewise.
80634         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80635         (mostlyclean): Remove target.
80636         (realclean): Remove target.
80637         (generated): Add new variable with contents from mostlyclean and
80638         realclean, remove entries duplicated in common-mostlyclean, add
80639         stamp-libm-err and stamp-version.
80640         (generated-dirs): Add libc directory.
80641         ($(inst_infodir)/libc.info): Install files from build dir.
80643         * manual/install.texi (Configuring and compiling): Adjust since
80644         the info files are not part of the tar ball anymore.
80646 2012-05-14  Andreas Jaeger  <aj@suse.de>
80648         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80649         variable.
80651 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80653         [BZ #13717]
80654         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80655         to 2.2.0 where earlier.
80656         * sysdeps/unix/sysv/linux/configure: Regenerated.
80657         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80658         Remove conditional code.
80659         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80660         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80661         Remove conditional code.
80662         [!__NR_lchown]: Likewise.
80663         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80664         [__NR_lchown]: Likewise.
80665         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80666         comment referencing __ASSUME_LCHOWN_SYSCALL.
80667         * sysdeps/unix/sysv/linux/i386/sigaction.c
80668         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80669         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80670         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80671         Remove conditional code.
80672         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80673         (__protocol_available): Remove #if 0 code.
80674         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80675         conditional code.
80676         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80677         * sysdeps/unix/sysv/linux/kernel-features.h
80678         (__ASSUME_GETCWD_SYSCALL): Don't define.
80679         (__ASSUME_REALTIME_SIGNALS): Likewise.
80680         (__ASSUME_PREAD_SYSCALL): Likewise.
80681         (__ASSUME_PWRITE_SYSCALL): Likewise.
80682         (__ASSUME_POLL_SYSCALL): Likewise.
80683         (__ASSUME_LCHOWN_SYSCALL): Likewise.
80684         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80685         non-SPARC.
80686         (__ASSUME_SIOCGIFNAME): Don't define.
80687         (__ASSUME_MSG_NOSIGNAL): Likewise.
80688         (__ASSUME_SENDFILE): Define unconditionally.
80689         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80690         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80691         conditional code.
80692         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80693         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80694         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80695         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80696         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80697         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80698         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80700         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80701         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80703         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80704         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80706         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80707         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80709         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80710         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80712         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80713         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80715         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80716         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80718         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80719         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80721         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80722         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80723         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80724         Remove conditional code.
80725         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80726         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80727         Remove conditional code.
80728         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80729         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80730         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80731         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80732         Remove conditional code.
80733         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80734         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80735         Remove conditional code.
80736         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80737         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80738         Remove conditional code.
80739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80740         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80741         Remove conditional code.
80742         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80743         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80744         Remove conditional code.
80745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80746         * sysdeps/unix/sysv/linux/sh/pwrite64.c
80747         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80749         * sysdeps/unix/sysv/linux/sigaction.c
80750         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80751         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80752         * sysdeps/unix/sysv/linux/sigpending.c
80753         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80754         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80755         * sysdeps/unix/sysv/linux/sigprocmask.c
80756         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80757         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80758         * sysdeps/unix/sysv/linux/sigsuspend.c
80759         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80760         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80761         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80762         (__libc_missing_rt_sigs): Remove.
80763         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80764         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80765         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80766         Remove conditional code.
80767         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80768         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80769         return 1.
80770         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80771         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80772         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80773         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80775 2012-05-14  Andreas Jaeger  <aj@suse.de>
80777         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80778         it's not used in glibc.
80779         (__coshm1): Likewise.
80780         (__acosh1p): Likewise.
80781         (__sgn): Likewise.
80783         * manual/string.texi (Copying and Concatenation): Add missing
80784         variable in concat example.
80785         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80787 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80789         [BZ #14103]
80790         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80791         __builtin_clzl with __builtin_clzll.
80793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80795         [BZ #14104]
80796         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
80797         libc_freeres_ptr.
80799 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80801         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
80802         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
80803         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
80804         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
80806 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
80808         * NEWS: Update ia64 info.
80810 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
80812         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
80813         used as bcopy.
80815 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
80817         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
80818         * sysdeps/unix/syscalls.list (dup3): Likewise.
80819         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
80820         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
80822 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80824         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
80825         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
80827 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80829         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
80830         thread pointer.
80831         (TLS_IE): Use mov/add instead of movq/addq to load thread
80832         pointer.
80833         (TLS_GD_PREFIX): New.
80834         (TLS_GD): Use it.
80836 2012-05-11  David S. Miller  <davem@davemloft.net>
80838         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
80839         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
80840         (_FPU_SETCW): Likewise.
80842 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80844         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
80845         is 32-byte aligned.
80847 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
80849         [BZ #11837]
80850         * iconvdata/gb18030.c: Update tables.
80851         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
80852         characters specially.
80853         (BODY for TO_LOOP): Add encoding of missing ranges.
80855 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
80857         [BZ #13673]
80858         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
80859         * sysdeps/mach/hurd/dup3.c: Likewise.
80860         * sysdeps/mach/hurd/readlinkat.c: Likewise.
80861         * sysdeps/powerpc/memmove.c:: Likewise.
80863 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80865         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
80866         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
80868 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80870         * elf/elf.h (R_X86_64_RELATIVE64): New.
80871         (R_X86_64_NUM): Updated.
80872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
80873         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
80874         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
80875         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
80876         tst-quad1pie tst-quad2pie
80877         (modules-names): Add tst-quadmod1 tst-quadmod2.
80878         ($(objpfx)tst-quad1): New dependency.
80879         ($(objpfx)tst-quad2): Likewise.
80880         ($(objpfx)tst-quad1pie): Likewise.
80881         ($(objpfx)tst-quad2pie): Likewise.
80882         * sysdeps/x86_64/tst-quad1.c: New file.
80883         * sysdeps/x86_64/tst-quad1pie.c: New file.
80884         * sysdeps/x86_64/tst-quad2.c: Likewise.
80885         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
80886         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
80887         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
80888         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
80889         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
80891 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80893         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
80894         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
80895         * streams/stropts.h (t_scalar_t): Define type.
80897         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
80898         (_PATH_PRESERVE): Set to "/var/lib".
80899         (_PATH_RWHODIR): Set to "/var/spool/rwho".
80901         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
80902         instead of int.
80904         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
80905         if __dir_mkfile succeeded.
80907         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
80908         checking for _hurd_dtablesize.  Unlock it right after having
80909         finished _hurd_dtable allocation.
80911 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80913         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
80914         * sysdeps/mach/hurd/configure: Regenerated.
80915         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
80916         special-casing to...
80917         * sysdeps/gnu/configure.in: ... this new file.
80918         * sysdeps/unix/sysv/linux/configure: Regenerated.
80919         * sysdeps/gnu/configure: New generated file.
80921         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
80922         for Linux: use nsec instead of usec, as well as:
80923         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
80924         members of type struct timespec.
80925         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
80926         New macros.
80927         (struct stat64): Likewise.
80928         (_STATBUF_ST_NSEC): New macro.
80929         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
80931         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
80932         __strtoul_internal rather than strtoul.
80934 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80936         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
80937         and reject them.
80939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80941         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
80942         which preserves existing values.
80943         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
80945 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80947         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
80948         TIMEOUT values.  Return EINVAL for NFDS values either negative or
80949         greater than FD_SETSIZE.
80951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80953         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
80954         allocated, call __vm_protect to finish enabling the existing space, and
80955         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
80956         allocate the remainder.
80958 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80960         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
80961         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
80963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80965         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
80966         sysdeps/mach/hurd/readlink.c.
80968         * posix/tst-sysconf.c (posix_options): Only use
80969         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
80970         _POSIX_SYNCHRONIZED_IO when they are defined
80971         * sysdeps/mach/hurd/bits/posix_opt.h:
80972         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
80973         (_XOPEN_REALTIME): Undefine macro.
80974         (_XOPEN_REALTIME_THREADS): Undefine macro.
80975         (_XOPEN_SHM): Undefine macro.
80976         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
80977         macro to -1.
80978         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
80979         macro to -1.
80980         (_POSIX_ASYNC_IO): Undefine macro.
80981         (_POSIX_PRIORITIZED_IO): Undefine macro.
80982         (_POSIX_SPIN_LOCKS): Define macro to -1.
80984         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
80985         SA_NODEFER, SA_RESETHAND.
80986         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
80987         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
80988         F_DUPFD_CLOEXEC.
80990 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80992         * elf/Makefile (pldd-modules): Define unconditionally.
80994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80996         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
80998 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81000         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
81001         Return ENOENT when name is empty.
81002         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
81004 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81006         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
81008         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
81010 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81012         Fix mlock in all cases except non-readable pages.
81013         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
81014         instead of VM_PROT_ALL as parameter to __vm_wire function.
81016         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
81017         (__mkdir): When path is `/', just fail with EEXIST.
81018         * sysdeps/mach/hurd/mkdirat.c: Likewise.
81020 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81022         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
81023         <sys/uio.h> (for writev).
81024         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
81025         and <sys/param.h> (for MIN).
81027 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81029         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
81030         REQUESTED_TIME.  Properly set the remaining time and return EINTR
81031         if interrupted.
81033 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81035         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
81036         Depend on against $(link-rpcuserlibs).
81038 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81040         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
81041         (__libc_stack_end): Do not use attribute_relro.
81042         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81043         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
81044         to libthread-provided value.
81045         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
81046         attribute_relro.
81048 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81050         [BZ #3748]
81051         * bits/libc-lock.h (__libc_once_get): New macro.
81052         * sysdeps/mach/bits/libc-lock.h: Likewise.
81053         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
81054         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
81055         instead of using implementation details.
81057         * libio/fileops.c: Unconditionally include <kernel-features.h>.
81058         * libio/freopen.c: Likewise.
81059         * libio/freopen64.c: Likewise.
81060         * misc/syslog.c: Likewise.
81061         * nscd/connections.c: Likewise.
81062         * nscd/netgroupcache.c: Likewise.
81063         * sysdeps/posix/getcwd.c: Likewise.
81065 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81067         * math/w_ilogbf.c: Add #include <limits.h>.
81069 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81071         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
81072         path instead of returning without unlocking.
81074         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
81075         immediate-write ioctls.
81076         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81078 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81080         * sysdeps/mach/hurd/i386/init-first.c (init): Use
81081         __builtin_frame_address instead of making assumptions about the
81082         location of the return address relative to DATA.  Force early load of
81083         the return address.
81084         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81085         __builtin_frame_address.
81087         dup3 for GNU Hurd.
81088         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81089         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
81090         implement dup3 and do some further code clean-ups.
81091         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81092         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81094 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81096         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81098         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81099         HURD_CRITICAL_END around holding _hurd_dtable_lock.
81100         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81101         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81102         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81103         d->port.lock.
81105         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81106         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
81107         when handler == SIG_ERR, not when handler != SIG_ERR.
81109 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81111         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81112         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81113         definitions.
81115         accept4 for GNU Hurd.
81116         * include/sys/socket.h (__libc_accept4): New prototype.
81117         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
81118         to implement __libc_accept4.
81119         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81120         __libc_accept4.
81121         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81123         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81124         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81125         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81126         signal-defines.sym.
81128 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81130         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81132 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81134         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81135         assertion on O_CLOEXEC flag.
81136         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81137         * hurd/intern-fd.c: Likewise.
81138         * hurd/port2fd.c: Likewise.
81140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81142         [BZ #3906]
81143         * bits/in.h (IPV6_PKTINFO): Define new macro.
81144         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81146 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81148         [BZ #13954]
81149         [BZ #13955]
81150         [BZ #13956]
81151         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
81152         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
81153         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
81154         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
81155         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
81156         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
81157         * math/libm-test.inc (logb_test) : Additional logb tests.
81159 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
81160             Andreas Jaeger  <aj@suse.de>
81162         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
81163         * configure: Regenerated.
81164         * config.h.in (LINK_OBSOLETE_RPC): New macro.
81165         * config.make.in (link-obsolete-rpc): New substituted variable.
81166         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
81167         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
81168         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81169         (shared-only-routines): Don't set it under [link-obsolete-rpc],
81170         so that libc.a contains the symbols.
81171         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81172         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
81173         * sunrpc/auth_none.c: Likewise.
81174         * sunrpc/auth_unix.c: Likewise.
81175         * sunrpc/authdes_prot.c: Likewise.
81176         * sunrpc/authuxprot.c: Likewise.
81177         * sunrpc/clnt_gen.c: Likewise.
81178         * sunrpc/clnt_perr.c: Likewise.
81179         * sunrpc/clnt_raw.c: Likewise.
81180         * sunrpc/clnt_simp.c: Likewise.
81181         * sunrpc/clnt_tcp.c: Likewise.
81182         * sunrpc/clnt_udp.c: Likewise.
81183         * sunrpc/clnt_unix.c: Likewise.
81184         * sunrpc/des_crypt.c: Likewise.
81185         * sunrpc/des_soft.c: Likewise.
81186         * sunrpc/get_myaddr.c: Likewise.
81187         * sunrpc/key_call.c: Likewise.
81188         * sunrpc/key_prot.c: Likewise.
81189         * sunrpc/netname.c: Likewise.
81190         * sunrpc/pm_getmaps.c: Likewise.
81191         * sunrpc/pm_getport.c: Likewise.
81192         * sunrpc/pmap_clnt.c: Likewise.
81193         * sunrpc/pmap_prot.c: Likewise.
81194         * sunrpc/pmap_prot2.c: Likewise.
81195         * sunrpc/pmap_rmt.c: Likewise.
81196         * sunrpc/publickey.c: Likewise.
81197         * sunrpc/rpc_cmsg.c: Likewise.
81198         * sunrpc/rpc_common.c: Likewise.
81199         * sunrpc/rpc_dtable.c: Likewise.
81200         * sunrpc/rpc_prot.c: Likewise.
81201         * sunrpc/rpc_thread.c: Likewise.
81202         * sunrpc/rtime.c: Likewise.
81203         * sunrpc/svc.c: Likewise.
81204         * sunrpc/svc_auth.c: Likewise.
81205         * sunrpc/svc_raw.c: Likewise.
81206         * sunrpc/svc_run.c: Likewise.
81207         * sunrpc/svc_tcp.c: Likewise.
81208         * sunrpc/svc_udp.c: Likewise.
81209         * sunrpc/svc_unix.c: Likewise.
81210         * sunrpc/svcauth_des.c: Likewise.
81211         * sunrpc/xcrypt.c: Likewise.
81212         * sunrpc/xdr.c: Likewise.
81213         * sunrpc/xdr_array.c: Likewise.
81214         * sunrpc/xdr_float.c: Likewise.
81215         * sunrpc/xdr_intXX_t.c: Likewise.
81216         * sunrpc/xdr_mem.c: Likewise.
81217         * sunrpc/xdr_rec.c: Likewise.
81218         * sunrpc/xdr_ref.c: Likewise.
81219         * sunrpc/xdr_sizeof.c: Likewise.
81220         * sunrpc/xdr_stdio.c: Likewise.
81222 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81224         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
81225         change.  Update copyright years.
81227 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81229         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
81231 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
81232             Joseph Myers  <joseph@codesourcery.com>
81233             Paul Pluzhnikov  <ppluzhnikov@google.com>
81235         [BZ #14012]
81236         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
81237         requiring rpcgen.
81238         [cross-compiling] (extra-libs): Likewise.
81239         [cross-compiling] (extra-libs-others): Likewise.
81240         [cross-compiling] (librpcsvc-routines): Likewise.
81241         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
81242         [cross-compiling] (omit-deps): Likewise.
81243         (sunrpc-CPPFLAGS): New variable.
81244         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
81245         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
81246         (cross-rpcgen-objs): New variable.
81247         (extra-objs): Append $(cross-rpcgen-objs).
81248         ($(cross-rpcgen-objs)): New rule.
81249         ($(objpfx)cross-rpcgen): Likewise.
81250         (rpcgen-cmd): Define to use $(built-program-file).  Expand
81251         comment.
81252         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
81253         ($(objpfx)x%.stmp): Likewise.
81254         * sunrpc/proto.h [IS_IN_build] (_): Define.
81255         [IS_IN_build] (_libc_intl_domainname): Likewise.
81257 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81259         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
81260         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
81261         and R_X86_64_TPOFF64.
81263 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81265         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
81266         sysdeps/unix/sysv/syscalls.list.
81267         (stime): Likewise.
81268         (utime): Likewise.
81269         * sysdeps/unix/sysv/syscalls.list: Remove file.
81271 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
81273         [BZ #3440]
81274         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
81275         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
81276         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
81277         (__LC_IDENTIFICATION): Make these macros useful in #if
81278         expressions, as required by C99.
81280 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
81282         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
81283         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
81284         after this.
81286 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
81288         * stdlib/longlong.h: Updated from GCC.
81290 2012-05-09  Andreas Jaeger  <aj@suse.de>
81292         * nscd/nscd.c (run_modes): Make named enum, reorder so that
81293         default is first entry.
81294         (run_mode): Set type.
81295         (main): Remove informal message about syslog.
81296         (options): Fix typo.
81298         [BZ #14053]
81299         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
81300         to asm.
81301         (lrint): Likewise.
81302         (llrintf): Likewise.
81303         (llrint): Likewise.
81304         (rint): Likewise.
81305         (rintf): Likewise.
81306         (nearbyint): Likewise.
81307         (nearbyintf): Likewise.
81309 2012-05-09  Andreas Jaeger  <aj@suse.de>
81310             Pedro Alves  <palves@redhat.com>
81312         * nscd/nscd.c (run_mode): Use enum.
81313         (main): Cleanup coding style issue.
81315 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
81316             Andreas Jaeger  <aj@suse.de>
81318         * nscd/nscd.c (go_background): Replaced with...
81319         (run_mode): ... this.
81320         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
81321         (options): Add -F --foreground.
81322         (main): Implement it.
81323         (parse_opt): Parse it.
81325 2012-05-09  Andreas Jaeger  <aj@suse.de>
81327         [BZ #14083]
81328         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
81329         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
81330         -Wconversion warning.
81331         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
81332         Likewise.
81334 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
81336         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
81337         == 0.
81338         (LC_ALL): Use macro-int-constant.
81339         (LC_COLLATE): Likewise.
81340         (LC_CTYPE): Likewise.
81341         (LC_MESSAGES): Likewise.
81342         (LC_MONETARY): Likewise.
81343         (LC_NUMERIC): Likewise.
81344         (LC_TIME): Likewise.
81345         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
81346         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81347         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81348         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
81349         Specify type.
81350         [C99-based standards] (float_t): Expect type.
81351         [C99-based standards] (double_t): Expect type.
81352         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
81353         type.
81354         [C99-based standards] (HUGE_VALL): Likewise.
81355         [C99-based standards] (INFINITY): Likewise.
81356         [C99-based standards] (NAN): Likewise.
81357         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
81358         [C99-based standards] (FP_NAN): Likewise.
81359         [C99-based standards] (FP_NORMAL): Likewise.
81360         [C99-based standards] (FP_SUBNORMAL): Likewise.
81361         [C99-based standards] (FP_ZERO): Likewise.
81362         [C99-based standards] (FP_FAST_FMA): Use
81363         optional-macro-int-constant.  Specify type.  Require == 1.
81364         [C99-based standards] (FP_FAST_FMAF): Likewise.
81365         [C99-based standards] (FP_FAST_FMAL): Likewise.
81366         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
81367         [C99-based standards] (FP_ILOGBNAN): Likewise.
81368         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
81369         Specify type.
81370         [C99-based standards] (MATH_ERREXCEPT): Likewise.
81371         [C99-based standards] (math_errhandling): Specify type.
81372         [ISO99 || ISO11] (signgam): Do not allow.
81373         [non-C99-based standards] (copysignf): Do not allow.
81374         [non-C99-based standards] (exp2f): Likewise.
81375         [non-C99-based standards] (log2f): Likewise.
81376         [non-C99-based standards] (modff): Allow.
81377         [non-C99-based standards] (erff): Do not allow.
81378         [non-C99-based standards] (erfcf): Likewise.
81379         [non-C99-based standards] (gammaf): Likewise.
81380         [non-C99-based standards] (hypotf): Likewise.
81381         [non-C99-based standards] (j0f): Likewise.
81382         [non-C99-based standards] (j1f): Likewise.
81383         [non-C99-based standards] (jnf): Likewise.
81384         [non-C99-based standards] (lgammaf): Likewise.
81385         [non-C99-based standards] (tgammaf): Likewise.
81386         [non-C99-based standards] (y0f): Likewise.
81387         [non-C99-based standards] (y1f): Likewise.
81388         [non-C99-based standards] (ynf): Likewise.
81389         [non-C99-based standards] (isnanf): Likewise.
81390         [non-C99-based standards] (acoshf): Likewise.
81391         [non-C99-based standards] (asinhf): Likewise.
81392         [non-C99-based standards] (atanhf): Likewise.
81393         [non-C99-based standards] (cbrtf): Likewise.
81394         [non-C99-based standards] (expm1f): Likewise.
81395         [non-C99-based standards] (ilogbf): Likewise.
81396         [non-C99-based standards] (log1pf): Likewise.
81397         [non-C99-based standards] (logbf): Likewise.
81398         [non-C99-based standards] (nextafterf): Likewise.
81399         [non-C99-based standards] (remainderf): Likewise.
81400         [non-C99-based standards] (rintf): Likewise.
81401         [non-C99-based standards] (scalbf): Likewise.
81402         [non-C99-based standards] (copysignl): Likewise.
81403         [non-C99-based standards] (exp2l): Likewise.
81404         [non-C99-based standards] (log2l): Likewise.
81405         [non-C99-based standards] (modfl): Allow.
81406         [non-C99-based standards] (erfl): Do not allow.
81407         [non-C99-based standards] (erfcl): Likewise.
81408         [non-C99-based standards] (gammal): Likewise.
81409         [non-C99-based standards] (hypotl): Likewise.
81410         [non-C99-based standards] (j0l): Likewise.
81411         [non-C99-based standards] (j1l): Likewise.
81412         [non-C99-based standards] (jnl): Likewise.
81413         [non-C99-based standards] (lgammal): Likewise.
81414         [non-C99-based standards] (tgammal): Likewise.
81415         [non-C99-based standards] (y0l): Likewise.
81416         [non-C99-based standards] (y1l): Likewise.
81417         [non-C99-based standards] (ynl): Likewise.
81418         [non-C99-based standards] (isnanl): Likewise.
81419         [non-C99-based standards] (acoshl): Likewise.
81420         [non-C99-based standards] (asinhl): Likewise.
81421         [non-C99-based standards] (atanhl): Likewise.
81422         [non-C99-based standards] (cbrtl): Likewise.
81423         [non-C99-based standards] (expm1l): Likewise.
81424         [non-C99-based standards] (ilogbl): Likewise.
81425         [non-C99-based standards] (log1pl): Likewise.
81426         [non-C99-based standards] (logbl): Likewise.
81427         [non-C99-based standards] (nextafterl): Likewise.
81428         [non-C99-based standards] (remainderl): Likewise.
81429         [non-C99-based standards] (rintl): Likewise.
81430         [non-C99-based standards] (scalbl): Likewise.
81431         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81432         [non-C99-based standards] (FP_*): Do not allow.
81433         [C99-based standards] (FP_*): Change to
81434         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81435         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81436         allow.
81437         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81438         (SIG_ERR): Likewise.
81439         [X/Open-based standards] (SIG_HOLD): Likewise.
81440         (SIG_IGN): Likewise.
81441         (SIGABRT): Use macro-int-constant.  Specify type.  Require
81442         positive value.
81443         (SIGFPE): Likewise.
81444         (SIGILL): Likewise.
81445         (SIGINT): Likewise.
81446         (SIGSEGV): Likewise.
81447         (SIGTER): Likewise.
81448         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81449         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81450         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81451         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81452         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81453         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81454         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81455         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81456         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81457         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81458         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81459         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81460         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81461         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81462         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81463         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81464         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81465         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81466         [X/Open-based standards] (SIGTRAP): Likewise.
81467         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81468         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81469         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81470         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81471         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81472         allow.
81474 2012-05-08  Ian Wienand  <ianw@vmware.com>
81476         [BZ #14080]
81477         * time/tzset.c (__tzset_parse_tz): Update default rules for
81478         daylight time changes in the Energy Policy Act of 2005.
81480 2012-05-09  Andreas Jaeger  <aj@suse.de>
81482         [BZ #13983]
81483         * elf/ldconfig.c (parse_conf): Change string to make clear that
81484         ldconfig only issued a warning if ld.so.conf does not exist.
81486 2012-05-08  David S. Miller  <davem@davemloft.net>
81488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81489         movxtod instead of popping the value on the stack.
81491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81493 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81495         * config.h.in: Add HAVE_ARM_PCS_VFP.
81497 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81499         [BZ #13979]
81500         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81501         checking but the checks are disabled for any reason.
81503 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81505         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81506         and ELF64_R_TYPE with ELFW(R_TYPE).
81508 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81510         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81511         (ulimit): Likewise.
81513         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81514         (settimeofday): Likewise.
81516 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81518         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81519         a struct th_u2 inside the union, and move tu_block/tu_code into
81520         a new th_u3 union of tu_block/tu_code inside of that.  Move
81521         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81522         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81523         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81524         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81525         (th_stuff): Change to th_u1.tu_stuff.
81526         (th_data): Define.
81527         (th_msg): Change to th_u1.th_u2.tu_data.
81529 2012-05-07  David S. Miller  <davem@davemloft.net>
81531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81533         [BZ #14074]
81534         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81535         (SETUP_PIC_REG): Use it.
81536         (SETUP_PIC_REG_LEAF): Use it.
81538 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81540         [BZ #13885]
81541         [BZ #13923]
81542         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81543         USE_AS_EXPM1L.
81544         (EXPL_FINITE): Likewise.
81545         (FLDLOG): Likewise.
81546         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81547         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81548         e_expl.S.
81549         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81550         USE_AS_EXPM1L.
81551         (EXPL_FINITE): Likewise.
81552         (FLDLOG): Likewise.
81553         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81554         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81555         e_expl.S.
81556         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81557         test of -max_value argument for long double.
81558         * sysdeps/i386/fpu/libm-test-ulps: Update.
81559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81561 2012-05-06  David S. Miller  <davem@davemloft.net>
81563         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81564         quad soft-float symbols whose references which are compiler
81565         generated.
81566         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81568 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
81570         [BZ #13884]
81571         [BZ #13914]
81572         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81573         USE_AS_EXP10L.
81574         (EXPL_FINITE): Likewise.
81575         (FLDLOG): Likewise.
81576         (c0): Likewise.
81577         (c1): Likewise.
81578         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81579         Adjust comments for base varying.
81580         (__expl_finite): Change alias to EXPL_FINITE.
81581         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81582         e_expl.S.
81583         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81584         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81585         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81586         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81587         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81588         USE_AS_EXP10L.
81589         (EXPL_FINITE): Likewise.
81590         (FLDLOG): Likewise.
81591         (c0): Likewise.
81592         (c1): Likewise.
81593         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81594         Adjust comments for base varying.
81595         (__expl_finite): Change alias to EXPL_FINITE.
81596         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
81597         tests for bugs.
81598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81600         [BZ #14064]
81601         * math/libm-test.inc (check_float_internal): Correct ulp
81602         calculation for subnormal expected results.
81604 2012-05-06  Andreas Jaeger  <aj@suse.de>
81606         * Makeconfig (+math-flags): New, set to -frounding-math.
81607         (+cflags): Add +math-flags so that all of glibc gets compiled with
81608         it.
81610         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81612 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
81614         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81615         Disable one test.
81617         [BZ #13787]
81618         [BZ #13922]
81619         [BZ #14036]
81620         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81621         (__ieee754_expl): Allow for and saturate large arguments.
81622         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81623         (u_threshold): Likewise.
81624         (__exp): Call __ieee754_exp before checking for overflow and
81625         underflow.
81626         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81627         (u_threshold): Likewise.
81628         (__expf): Call __ieee754_expf before checking for overflow and
81629         underflow.
81630         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81631         (u_threshold): Likewise.
81632         (__expl): Call __ieee754_expl before checking for overflow and
81633         underflow.
81634         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81635         (__ieee754_expl): Allow for and saturate large arguments.
81636         * math/libm-test.inc (exp_test): Add another test.  Do not allow
81637         missing overflow exception on overflow.
81638         (expm1_test): Do not allow missing overflow exception on overflow.
81640         * sysdeps/i386/fpu/e_expl.c: Move to ...
81641         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
81642         rather than using inline asm.
81643         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81644         * sysdeps/x86_64/fpu/e_expl.S: Copy from
81645         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81647         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81648         (nice): Likewise.
81649         (poll): Likewise.
81650         (signal): Likewise.
81651         (time): Likewise.
81652         (times): Likewise.
81654 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81656         * sysdeps/unix/syscalls.list (adjtime): Add entry from
81657         sysdeps/unix/common/syscalls.list.
81658         (fchmod): Likewise.
81659         (fchown): Likewise.
81660         (ftruncate): Likewise.
81661         (getrusage): Likewise.
81662         (gettimeofday): Likewise.
81663         (setpgid): Likewise.
81664         (setregid): Likewise.
81665         (setreuid): Likewise.
81666         (sigaction): Likewise.
81667         (truncate): Likewise.
81668         (vhangup): Likewise.
81669         * sysdeps/unix/common/syscalls.list: Remove file.
81670         * sysdeps/unix/bsd/Implies: Don't include unix/common.
81671         * sysdeps/unix/sysv/linux/Implies: Likewise.
81673 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
81675         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81677         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81678         Moved to ...
81679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81680         Here.
81681         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81682         to ...
81683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81684         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81685         to ...
81686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81687         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81688         to ...
81689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81690         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81691         to ...
81692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81693         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81694         to ...
81695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81696         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81697         to ...
81698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81699         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81700         to ...
81701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81702         Here.
81703         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81704         to ...
81705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81706         Here.
81707         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81708         to ...
81709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81710         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81711         Moved to ...
81712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81713         Here.
81714         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81715         to ...
81716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81718 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81720         * sysdeps/unix/common/bits/dirent.h: Remove file.
81721         * sysdeps/unix/common/bits/fcntl.h: Likewise.
81723         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81724         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81725         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81726         * sysdeps/unix/bsd/isatty.c: Likewise.
81727         * sysdeps/unix/bsd/tcdrain.c: Likewise.
81728         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81729         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81731 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81733         [BZ #13563]
81734         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81735         long double comparison inaccuracies.
81736         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81739 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
81741         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81742         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81744 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81746         [BZ #14049]
81747         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81748         nonzero digits before rounding a hex value.
81749         * stdlib/tst-strtod.c (tests): Add another test.
81751 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81753         * sysdeps/s390/fpu/libm-test-ulps: Update.
81755 2012-05-03  Andreas Jaeger  <aj@suse.de>
81757         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81758         does not get optimized out.
81759         (malloc_opt_barrier): New.
81761 2012-05-03  Andreas Jaeger  <aj@suse.de>
81762             Roland McGrath  <roland@hack.frob.com>
81764         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81765         intermediate file deletion.
81766         (generated): Add .symlist files.
81768 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
81770         [BZ #13775]
81771         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81772         Redirect under this condition.
81773         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81774         [__USE_GNU] (__dprintf_chk): Not under this condition.
81775         [__USE_GNU] (__vdprintf_chk): Likewise.
81776         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81777         under this condition.
81778         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81779         [__USE_XOPEN2K8] (dprintf): Define under this condition.
81780         [__USE_XOPEN2K8] (vdprintf): Likewise.
81781         [__USE_GNU] (__dprintf_chk): Not under this condition.
81782         [__USE_GNU] (__vdprintf_chk): Likewise.
81783         [__USE_GNU] (dprintf): Likewise.
81784         [__USE_GNU] (vdprintf): Likewise.
81786 2012-05-03  Roland McGrath  <roland@hack.frob.com>
81788         * elf/Makefile (common-generated): Set this instead of generated for
81789         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
81790         $(all-built-dso)-derived lists.
81792 2012-05-03  Andreas Jaeger  <aj@suse.de>
81794         * sysdeps/i386/fpu/libm-test-ulps: Update.
81796         * FAQ: Removed.
81797         * FAQ.in: Likewise.
81798         * scripts/gen-FAQ.pl: Likewise.
81799         * manual/install.texi (Installation): Point to online location of
81800         FAQ.
81801         * Makefile (files-for-dist): Remove FAQ.
81802         (FAQ): Remove.
81804 2012-05-02  Allan McRae  <allan@archlinux.org>
81806         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
81807         (LDFLAGS-reldepmod5.so): Likewise.
81808         (LDFLAGS-reldep6mod1.so): Likewise.
81809         (LDFLAGS-reldep6mod4.so): Likewise.
81810         (LDFLAGS-reldep8mod3.so): Likewise.
81811         (LDFLAGS-unload4mod1.so): Likewise.
81812         (LDFLAGS-unload4mod2.so): Likewise.
81813         (LDFLAGS-tst-initorder): Likewise.
81814         (LDFLAGS-tst-initordera2.so): Likewise.
81815         (LDFLAGS-tst-initordera3.so): Likewise.
81816         (LDFLAGS-tst-initordera4.so): Likewise.
81817         (LDFLAGS-tst-initorderb2.so): Likewise.
81818         (LDFLAGS-noload): Likewise.
81819         (LDFLAGS-next): Likewise.
81820         (LDFLAGS-order2mod1.so): Likewise.
81821         (LDFLAGS-order2mod2.so): Likewise.
81822         (LDFLAGS-tst-initorder2): Likewise.
81823         (LDFLAGS-tst-initorder2a.so): Likewise.
81824         (LDFLAGS-tst-initorder2b.so): Likewise.
81825         (LDFLAGS-tst-initorder2c.so): Likewise.
81826         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
81828 2012-05-02  David S. Miller  <davem@davemloft.net>
81830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81832 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
81834         [BZ #14055]
81835         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
81837 2012-05-02  Andreas Jaeger  <aj@suse.de>
81839         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
81840         since we manipulate rounding mode.
81841         (CPPFLAGS-test-idouble.c): Likewise.
81842         (CPPFLAGS-test-ifloat.c): Likewise.
81843         (CFLAGS-test-ldouble.c): Likewise.
81844         (CFLAGS-test-double.c): Likewise.
81845         (CFLAGS-test-float.c): Likewise.
81846         (CFLAGS-test-misc.c): Likewise.
81847         (CFLAGS-test-test-fenv.c): Likewise.
81849 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81851         [BZ #2550]
81852         [BZ #2570]
81853         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
81854         comparisons to determine direction to adjust input.
81856 2012-05-01  Roland McGrath  <roland@hack.frob.com>
81858         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
81859         output to the target.
81861         * scripts/localplt.awk: New file.
81862         * elf/Makefile ($(objpfx)check-localplt): Target removed.
81863         (check-localplt-CFLAGS): Variable removed.
81864         ($(all-built-dso:=.jmprel)): New static pattern rule.
81865         (generated): Add those targets.
81866         (localplt-built-dso): New variable.
81867         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
81869         * elf/check-localplt.c: File removed.
81871         * scripts/check-execstack.awk: New file.
81872         * elf/Makefile ($(objpfx)check-execstack): Target removed.
81873         (check-execstack-CFLAGS): Variable removed.
81874         ($(objpfx)check-execstack.h): Target removed.
81875         ($(objpfx)execstack-default): New target.
81876         (generated): Add that instead of check-execstack.h.
81877         ($(all-built-dso:=.phdr)): New static pattern rule.
81878         (generated): Add those targets.
81879         * elf/check-execstack.c: File removed.
81881         * scripts/check-textrel.awk: New file.
81882         * elf/Makefile ($(objpfx)check-textrel): Target removed.
81883         (check-textrel-CFLAGS): Variable removed.
81884         (all-built-dso): Use := to define.o
81885         ($(all-built-dso:=.dyn)): New static pattern rule.
81886         (generated): Add those targets.
81887         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
81888         * config.make.in (READELF): New substituted variable.
81889         * elf/check-textrel.c: File removed.
81891 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81893         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81894         allow.
81895         * conform/data/ctype.h-data [C99-based standards] (isblank):
81896         Expect function.
81897         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
81898         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
81899         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81900         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
81901         Specify type.  Require positive value.
81902         (EILSEQ): Likewise.
81903         (ERANGE): Likewise.
81904         [ISO || POSIX] (EILSEQ): Do not expect.
81905         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
81906         Specify type.  Require positive value.
81907         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
81908         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
81909         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
81910         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
81911         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
81912         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
81913         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
81914         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
81915         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
81916         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
81917         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
81918         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
81919         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
81920         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
81921         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
81922         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
81923         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
81924         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
81925         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
81926         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
81927         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
81928         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
81929         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
81930         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
81931         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
81932         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
81933         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
81934         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
81935         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
81936         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
81937         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
81938         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
81939         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
81940         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
81941         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
81942         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
81943         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
81944         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
81945         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
81946         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
81947         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
81948         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
81949         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
81950         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
81951         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
81952         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
81953         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
81954         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
81955         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
81956         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
81957         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
81958         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
81959         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
81960         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
81961         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
81962         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
81963         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
81964         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
81965         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
81966         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
81967         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
81968         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
81969         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
81970         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
81971         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
81972         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
81973         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
81974         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
81975         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
81976         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
81977         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
81978         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
81979         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
81980         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
81981         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
81982         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
81983         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
81984         Require >= 2.
81985         (FLT_ROUNDS): Expect as macro, not constant.
81986         (FLT_MANT_DIG): Use macro-int-constant.
81987         (DBL_MANT_DIG): Likewise.
81988         (LDBL_MANT_DIG): Likewise.
81989         (FLT_DIG): Likewise.
81990         (DBL_DIG): Likewise.
81991         (LDBL_DIG): Likewise.
81992         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
81993         (DBL_MIN_EXP): Likewise.
81994         (LDBL_MIN_EXP): Likewise.
81995         (FLT_MAX_EXP): Use macro-int-constant.
81996         (DBL_MAX_EXP): Likewise.
81997         (LDBL_MAX_EXP): Likewise.
81998         (FLT_MAX_10_EXP): Likewise.
81999         (DBL_MAX_10_EXP): Likewise.
82000         (LDBL_MAX_10_EXP): Likewise.
82001         (FLT_MAX): Use macro-constant.
82002         (DBL_MAX): Likewise.
82003         (LDBL_MAX): Likewise.
82004         (FLT_EPSILON): Use macro-constant.  Give upper bound.
82005         (DBL_EPSILON): Likewise.
82006         (LDBL_EPSILON): Likewise.
82007         (FLT_MIN): Likewise.
82008         (DBL_MIN): Likewise.
82009         (LDBL_MIN): Likewise.
82010         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
82011         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
82012         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
82013         [ISO11] (FLT_HAS_SUBNORM): Likewise.
82014         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
82015         [ISO11] (DBL_DECIMAL_DIG): Likewise.
82016         [ISO11] (FLT_DECIMAL_DIG): Likewise.
82017         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
82018         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
82019         [ISO11] (FLT_TRUE_MIN): Likewise.
82020         [ISO11] (LDBL_TRUE_MIN): Likewise.
82021         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82022         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
82023         (SCHAR_MIN): Use macro-int-constant.  Specify type.
82024         (SCHAR_MAX): Likewise.
82025         (UCHAR_MAX): Likewise.
82026         (CHAR_MIN): Likewise.
82027         (CHAR_MAX): Likewise.
82028         (MB_LEN_MAX): Use macro-int-constant.
82029         (SHRT_MIN): Use macro-int-constant.  Specify type.
82030         (SHRT_MAX): Likewise.
82031         (USHRT_MAX): Likewise.
82032         (INT_MAX): Likewise.
82033         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
82034         bound negative.
82035         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82036         bound with "U".
82037         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82038         bound with "L".
82039         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
82040         bound negative.  Suffix upper bound with "L".
82041         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82042         bound with "UL".
82043         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
82044         Specify type.
82045         [C99-based standards] (LLONG_MAX): Likewise.
82046         [C99-based standards] (ULLONG_MAX): Likewise.
82047         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
82048         == 0.
82049         [ISO11] (max_align_t): Require type.
82050         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82052         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
82053         from $CFLAGS, without defining away __attribute__ calls.
82054         (checknamespace): Use $CFLAGS_namespace.
82056         * conform/conformtest.pl (@keywords): Only include C99 keywords
82057         for standards based on C99 or C11.
82059         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
82060         Disable tests.
82061         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
82062         UNIX98]: Likewise.
82064         * conform/conformtest.pl: Handle "macro-int-constant" and test for
82065         usability of symbols in #if.
82067         * conform/conformtest.pl: If macro or constant types start
82068         "promoted:", expect the symbol to be of the following type
82069         promoted by the integer promotions.
82071         * conform/conformtest.pl: Parse all "constant" and "macro" lines
82072         in one place.  Also handle "macro-constant".
82074         * conform/conformtest.pl: Only accept expected macro values with
82075         "==".  Parse all "macro" lines in one place.
82076         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
82078         * conform/conformtest.pl: Handle braced types on "constant" lines
82079         instead of handling "typed-constant".
82080         * conform/data/signal.h-data: Use "constant" instead of
82081         "typed-constant".
82083         * conform/conformtest.pl: Handle "optional-" at start of lines in
82084         one place rather than duplicating several cases.  Handle each
82085         format of "macro" line with initial "optional-".
82087         * conform/conformtest.pl: Only accept expected constant or
82088         optional-constant values with "==".  Parse all "constant" lines in
82089         one place.  Parse all "optional-constant" lines in one place.
82090         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82091         * conform/data/fmtmsg.h-data: Likewise.
82092         * conform/data/netinet/in.h-data: Likewise.
82093         * conform/data/tar.h-data: Likewise.
82094         * conform/data/limits.h-data: Use "==" form on "constant" and
82095         "optional-constant" lines.
82097         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82098         Use -std=c99 for XOPEN2K.
82099         (@knownproblems): Remove.
82100         (newtoken): Don't check %isknown.
82102         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82103         Do not expect macro.
82104         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82105         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82106         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82107         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82108         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82109         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82110         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82111         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82112         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82113         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82114         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82115         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82116         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82117         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82118         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82119         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82120         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82121         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82122         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82123         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82124         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82125         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82126         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82127         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82128         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82129         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82130         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82131         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82132         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82133         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82134         [XPG3] (acosh): Likewise.
82135         [XPG3] (asinh): Likewise.
82136         [XPG3] (atanh): Likewise.
82137         [XPG3] (cbrt): Likewise.
82138         [XPG3] (expm1): Likewise.
82139         [XPG3] (ilogb): Likewise.
82140         [XPG3] (log1p): Likewise.
82141         [XPG3] (logb): Likewise.
82142         [XPG3] (nextafter): Likewise.
82143         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82144         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82145         [XPG3] (remainder): Likewise.
82146         [XPG3] (rint): Likewise.
82147         [XPG3 || XPG4 || UNIX98] (round): Likewise.
82148         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82149         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82150         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82151         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
82152         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82153         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
82154         [UNIX98 || XOPEN2K] (scalb): Expect.
82155         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
82156         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82157         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
82158         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
82159         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
82160         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
82161         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82162         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
82163         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
82164         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
82165         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82166         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
82167         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
82168         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
82169         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
82170         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
82171         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
82172         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
82173         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
82174         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
82175         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
82176         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
82177         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
82178         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
82179         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
82180         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
82181         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
82182         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
82183         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
82184         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
82185         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
82186         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
82187         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
82188         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
82189         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
82190         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
82191         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
82192         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
82193         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
82194         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
82195         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
82196         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
82197         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
82198         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
82199         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
82200         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
82201         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
82202         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
82203         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
82204         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
82205         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
82206         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
82207         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
82208         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
82209         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
82210         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
82211         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
82212         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
82213         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
82214         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
82215         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
82216         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
82217         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
82218         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
82219         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
82220         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
82221         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
82222         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
82223         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
82224         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
82225         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
82226         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
82227         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
82228         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
82229         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
82230         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
82231         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
82232         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
82233         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
82234         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
82235         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
82236         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
82237         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
82238         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
82239         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
82240         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
82241         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
82242         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
82243         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
82244         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
82245         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
82246         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
82247         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
82248         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
82249         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
82250         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
82251         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
82252         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
82253         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
82254         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
82255         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
82256         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
82257         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
82258         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
82259         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
82260         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
82261         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
82262         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
82263         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
82264         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
82265         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
82266         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
82267         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
82268         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
82269         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
82270         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
82271         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
82272         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
82273         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
82274         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
82275         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
82276         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
82277         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
82278         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
82279         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
82280         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
82281         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
82282         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
82283         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
82284         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
82285         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
82286         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
82287         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
82288         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
82289         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
82290         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
82291         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
82293         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
82294         _XOPEN_SOURCE_EXTENDED for XPG4.
82296         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
82298         * Makeconfig (localtime): Remove variable.
82299         (inst_localtime-file): Likewise.
82301 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
82304         Update.
82305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82306         Update.
82307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
82308         Update.
82309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
82310         Update.
82311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
82312         Update.
82313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
82314         Update.
82315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
82316         Update.
82317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
82318         Update.
82319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82320         Update.
82322 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82324         [BZ #2550]
82325         [BZ #2570]
82326         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
82327         comparisons to determine direction to adjust input.
82328         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
82329         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
82330         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
82331         Likewise.
82332         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
82333         Likewise.
82334         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
82335         Likewise.
82336         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
82337         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
82338         Likewise.
82339         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
82340         Likewise.
82341         * math/libm-test.inc (nexttoward_test): Add more tests.
82343 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82345         [BZ #14040]
82346         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
82347         in version GLIBC_2.1, not GLIBC_2.0.
82348         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
82349         Likewise.
82351 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
82353         [BZ #13942]
82354         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
82355         (1 - x) * (1 + x).
82356         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82357         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
82358         * math/libm-test.inc (acos_test): Add more tests.
82359         (asin_test): Likewise.
82360         * sysdeps/i386/fpu/libm-test-ulps: Update.
82361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82363         [BZ #14034]
82364         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
82365         of square root.
82366         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
82367         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82368         * math/libm-test.inc (acos_test_tonearest): New function.
82369         (acos_test_towardzero): Likewise.
82370         (acos_test_downward): Likewise.
82371         (acos_test_upward): Likewise.
82372         (asin_test_tonearest): Likewise.
82373         (asin_test_towardzero): Likewise.
82374         (asin_test_downward): Likewise.
82375         (asin_test_upward): Likewise.
82376         (main): Call the new functions.
82377         * sysdeps/i386/fpu/libm-test-ulps: Update.
82378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82380         [BZ #13884]
82381         [BZ #13924]
82382         * math/e_exp10.c: Include <float.h>.
82383         (__ieee754_exp10): Handle underflow here rather than multiplying
82384         large negative argument by M_LN10.
82385         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82386         of __ieee754_expf.
82387         * math/e_exp10l.c: Include <float.h>.
82388         (__ieee754_exp10l): Handle underflow here rather than multiplying
82389         large negative argument by M_LN10l.
82390         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
82391         spurious overflow exception on underflow.
82393 2012-04-29  Marek Polacek  <polacek@redhat.com>
82395         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82396         (__fortify_function): New macro.
82397         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82398         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82399         __extern_always_inline.
82400         * libio/bits/stdio2.h: Likewise.
82401         * libio/bits/stdio.h: Likewise.
82402         * string/string.h: Likewise.
82403         * string/bits/string3.h: Likewise.
82404         * include/stdio.h: Likewise.
82405         * stdlib/bits/stdlib.h: Likewise.
82406         * stdlib/stdlib.h: Likewise.
82407         * rt/bits/mqueue2.h: Likewise.
82408         * rt/mqueue.h: Likewise.
82409         * posix/bits/unistd.h: Likewise.
82410         * posix/unistd.h: Likewise.
82411         * io/bits/poll2.h: Likewise.
82412         * io/bits/fcntl2.h: Likewise.
82413         * io/fcntl.h: Likewise.
82414         * io/sys/poll.h: Likewise.
82415         * misc/bits/syslog.h: Likewise.
82416         * misc/bits/syslog-ldbl.h: Likewise.
82417         * misc/sys/syslog.h: Likewise.
82418         * socket/bits/socket2.h: Likewise.
82419         * socket/sys/socket.h: Likewise.
82420         * debug/tst-chk1.c: Likewise.
82421         * wcsmbs/bits/wchar2.h: Likewise.
82422         * wcsmbs/bits/wchar-ldbl.h: Likewise.
82423         * wcsmbs/wchar.h: Likewise.
82425 2012-04-29  Andreas Jaeger  <aj@suse.de>
82427         * Makerules (tests): Remove enable-check-abi protection.
82428         (check-abi-warn): Remove.
82429         (check-abi-%): Remove check-abi-warn usage.
82431         * configure.in: Remove check-abi configure option.
82432         * configure: Regenerated.
82433         * config.make.in (enable-check-abi): Remove.
82435 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
82437         [BZ #14033]
82438         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82439         double functions to double *_finite functions.
82441         [BZ #13941]
82442         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82443         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82444         LDBL_MIN_EXP.
82445         * stdio-common/Makefile (tests): Add tst-sprintf3.
82446         * stdio-common/tst-sprintf3.c: New file.
82448         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82449         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82451 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82453         * conform/conformtest.pl: Remove duplicate typed-constant
82454         handling.
82456 2012-04-28  David S. Miller  <davem@davemloft.net>
82458         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82459         (check-abi-%): Remove AWK script prerequisite and explicit
82460         abilist directory.
82461         (check-abi): Rewrite to just diff the symlist with the abilist.
82462         (config-tls, config-abi-config): Delete, no longer used.
82463         (update-abi-%): Remove AWK script and explicit abilist directory.
82464         (update-abi): Rewrite to simply compare and conditionally copy the
82465         symlist and the sysdep abilist file.  Remove update-abi-config
82466         checks.
82467         * abilist/ld.abilist: Remove.
82468         * abilist/libBrokenLocale.abilist: Remove.
82469         * abilist/libanl.abilist: Remove.
82470         * abilist/libcrypt.abilist: Remove.
82471         * abilist/libdl.abilist: Remove.
82472         * abilist/librt.abilist: Remove.
82473         * abilist/libthread_db.abilist: Remove.
82474         * abilist/libutil.abilist: Remove.
82475         * scripts/extract-abilist.awk: Remove.
82476         * scripts/merge-abilist.awk: Remove.
82477         * sysdeps/generic/libcidn.abilist: New file.
82478         * sysdeps/generic/libnss_compat.abilist: New file.
82479         * sysdeps/generic/libnss_db.abilist: New file.
82480         * sysdeps/generic/libnss_dns.abilist: New file.
82481         * sysdeps/generic/libnss_files.abilist: New file.
82482         * sysdeps/generic/libnss_hesiod.abilist: New file.
82483         * sysdeps/generic/libnss_nis.abilist: New file.
82484         * sysdeps/generic/libnss_nisplus.abilist: New file.
82485         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82486         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82487         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82488         file.
82489         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82490         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82491         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82492         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82493         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82494         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82495         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82496         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82497         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82498         file.
82499         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82500         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82501         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82502         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82503         file.
82504         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82505         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82506         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82507         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82508         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82509         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82510         file.
82511         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82512         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82513         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82514         file.
82515         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82516         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82517         New file.
82518         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82519         New file.
82520         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82521         New file.
82522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82523         New file.
82524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82525         New file.
82526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82527         New file.
82528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82529         New file.
82530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82531         New file.
82532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82533         New file.
82534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82535         New file.
82536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82537         New file.
82538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82539         New file.
82540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82541         New file.
82542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82543         file.
82544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82545         New file.
82546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82547         New file.
82548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82549         file.
82550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82551         New file.
82552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82553         New file.
82554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82555         file.
82556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82557         New file.
82558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82559         New file.
82560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82561         New file.
82562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82563         New file.
82564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82565         New file.
82566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82567         New file.
82568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82570         file.
82571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82572         New file.
82573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82574         file.
82575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82576         file.
82577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82578         file.
82579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82580         file.
82581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82582         file.
82583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82584         New file.
82585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82586         file.
82587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82588         file.
82589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82590         New file.
82591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82592         file.
82593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82595         file.
82596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82597         New file.
82598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82599         file.
82600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82601         file.
82602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82603         file.
82604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82605         file.
82606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82607         file.
82608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82609         New file.
82610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82611         file.
82612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82613         file.
82614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82615         New file.
82616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82617         file.
82618         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82619         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82620         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82621         file.
82622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82623         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82624         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82625         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82626         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82627         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82628         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82629         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82630         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82631         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82634         file.
82635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82636         New file.
82637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82638         file.
82639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82640         file.
82641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82642         file.
82643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82644         file.
82645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82646         file.
82647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82648         New file.
82649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82650         New file.
82651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82652         file.
82653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82654         New file.
82655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82656         file.
82657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82659         file.
82660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82661         New file.
82662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82663         file.
82664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82665         file.
82666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82667         file.
82668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82669         file.
82670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82671         file.
82672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82673         New file.
82674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82675         New file.
82676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82677         file.
82678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82679         New file.
82680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82681         file.
82683 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82685         * conform/conformtest.pl: Fix typo in handling typed-constant from
82686         allow-header.
82688 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82690         * README: Cut down references to pre-2.6 Linux kernels and
82691         Linuxthreads.  Update lists of configurations in libc and ports
82692         and sort alphabetically.  Say "or newer" with Linux kernel version
82693         requirements.
82695         * config.h.in [IS_IN_build]: Allow compiling without optimization.
82697 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
82699         [BZ #887]
82700         * math/libm-test.inc (logb_test_downward): New test to expose
82701         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82702         rounding mode.
82704 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82706         [BZ #14027]
82707         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82708         to be done.
82709         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82710         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82712 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
82714         * sysdeps/unix/i386/brk.S: Remove file.
82715         * sysdeps/unix/i386/dl-brk.S: Likewise.
82716         * sysdeps/unix/i386/pipe.S: Likewise.
82717         * sysdeps/unix/i386/sigreturn.S: Likewise.
82718         * sysdeps/unix/i386/syscall.S: Likewise.
82719         * sysdeps/unix/i386/vfork.S: Likewise.
82720         * sysdeps/unix/i386/wait.S: Likewise.
82722         * sysdeps/unix/common/tcsendbrk.c: Move to ...
82723         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82725         * configure.in (arm*-none*): Do not allow without
82726         --enable-hacker-mode.
82727         (netbsd*): Remove case setting base_os.
82728         (386bsd*): Likewise.
82729         (freebsd*): Likewise.
82730         (bsdi*): Likewise.
82731         (osf*): Likewise.
82732         (sunos*): Likewise.
82733         (ultrix*): Likewise.
82734         (newsos*): Likewise.
82735         (dynix*): Likewise.
82736         (*bsd*): Likewise.
82737         (sysv*): Likewise.
82738         (isc*): Likewise.
82739         (esix*): Likewise.
82740         (sco*): Likewise.
82741         (minix*): Likewise.
82742         (irix4*): Likewise.
82743         (irix6*): Likewise.
82744         (solaris[2-9]*): Likewise.
82745         (none): Likewise.
82746         * configure: Regenerated.
82748 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82750         [BZ #11521]
82751         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82752         overflow or cancellation in calculating denominator.
82753         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82754         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82755         down expression to avoid unexpected rounding in newer GCCs.
82756         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82758 2012-04-26  David S. Miller  <davem@davemloft.net>
82760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82761         long-double compat symbols.
82762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82776 2012-04-25  David S. Miller  <davem@davemloft.net>
82778         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82779         HWCAP_* values only after the memory barriers have been defined.
82780         (atomic_full_barrier): Define.
82781         (atomic_read_barrier): Define.
82782         (atomic_write_barrier): Define.
82784 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82786         * shlib-versions: Add libgcc_s version information.
82787         * sysdeps/generic/libgcc_s.h: Remove.
82788         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82789         libgcc_s.h.
82790         * sysdeps/gnu/unwind-resume.c: Likewise.
82791         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
82793 2012-04-25  David S. Miller  <davem@davemloft.net>
82795         * sysdeps/unix/sparc/brk.S: Delete.
82796         * sysdeps/unix/sparc/dl-brk.S: Delete.
82797         * sysdeps/unix/sparc/pipe.S: Delete.
82798         * sysdeps/unix/sparc/sysdep.S: Delete.
82799         * sysdeps/unix/sparc/sysdep.h: Delete.
82800         * sysdeps/unix/sparc/vfork.S: Delete.
82801         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
82802         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
82803         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
82804         (ret_ERRVAL, r0, r1, MOVE): Define.
82805         (JUMPTARGET): Remove.
82806         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
82807         sysdeps/unix/sparc/sysdep.h
82808         (ENTRY, END): Remove.
82809         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82811 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
82813         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
82814         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
82815         -DIS_IN_build.
82817         * timezone/README: Update upstream location and email address for
82818         tzcode and tzdata.
82819         * timezone/zdump.c: Update from tzcode 2012b.
82820         * timezone/zic.c: Likewise.
82822         * configure.in (libc_cv_as_needed): Remove test.
82823         * configure: Regenerated.
82824         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
82825         conditional definition.
82826         [$(have-as-needed) != yes] (no-as-needed): Likewise.
82827         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
82828         * config.make.in (have-as-needed): Remove variable.
82830 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
82831             Paul Pluzhnikov  <ppluzhnikov@google.com>
82833         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
82834         strings correctly.
82836 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
82838         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
82839         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
82840         * sysdeps/sh/strlen.S: Likewise.
82842 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82844         * sysdeps/unix/fork.S: Remove file.
82845         * sysdeps/unix/i386/fork.S: Likewise.
82846         * sysdeps/unix/sparc/fork.S: Likewise.
82848         * sysdeps/unix/system.c: Remove file.
82849         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
82851         * sysdeps/unix/getegid.S: Remove file.
82852         * sysdeps/unix/geteuid.S: Likewise.
82854 2012-04-24  Roland McGrath  <roland@hack.frob.com>
82856         * scripts/check-localplt.awk: New file.
82857         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
82858         of diff.
82859         * scripts/data/localplt-generic.data: Add a comment.
82861         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
82862         NODE when __dir_mkfile failed.
82863         * sysdeps/mach/hurd/symlinkat.c: Likewise.
82864         Reported by Ludovic Courtès <ludo@gnu.org>.
82866 2012-04-24  Andreas Jaeger  <aj@suse.de>
82868         * Makerules (common-clean): Also remove gen-as-const-headers
82869         files.
82871 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82873         * Makerules (native-compile): Do not change working directory for
82874         build.  Use $(OUTPUT_OPTION) in command.
82875         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
82877 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82879         [BZ #13886]
82880         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
82881         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
82882         * math/libm-test.inc (floor_test): Add more tests.
82883         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
82885 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82887         * sysdeps/unix/getdents.c: Remove file.
82888         * sysdeps/unix/sysv/getdents.c: Likewise.
82889         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
82891         * sysdeps/unix/syscalls.list (madvise): Add syscall from
82892         sysdeps/unix/mman/syscalls.list.
82893         (mmap): Likewise.
82894         (mprotect): Likewise.
82895         (msync): Likewise.
82896         (munmap): Likewise.
82897         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
82898         * sysdeps/unix/mman/syscalls.list: Remove.
82899         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
82901         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
82902         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
82903         * configure: Regenerated.
82904         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
82905         $(libgcc_s_suffix).
82906         * config.make.in (libgcc_s_suffix): Remove variable.
82908 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
82910         * sysdeps/unix/sysv/gethostname.c: Move to ...
82911         * sysdeps/posix/gethostname.c: ... here.
82913         * sysdeps/unix/execve.S: Remove file.
82915         * sysdeps/unix/_exit.S: Remove file.
82917 2012-04-23  Andreas Jaeger  <aj@suse.de>
82919         [BZ #13739]
82920         * manual/Makefile: Remove make dist support, there's no
82921         need for a stand-alone documentation tar ball.
82922         (TEXI2DVI): Define always, it's not in Makeconfig.
82923         (dist): Removed.
82924         (tar-it): Removed.
82925         (edition): Removed.
82926         (glibc-doc-$(edition).tar): Removed
82927         (%.Z): Removed.
82928         (%.gz): Removed.
82929         (%.uu): Removed.
82930         (ETAGS): Remove, it's in Makeconfig.
82931         (move-if-change): Remove, it's in Makeconfig.
82933 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
82935         [BZ #13970]
82936         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
82937         (strtod, strtof, strtold, strtol, strtoul, strtoq)
82938         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
82939         (strtod_l, strtof_l, strtold_l): Remove __wur.
82940         It is not necessarily an error to ignore strtol's return value.
82941         One can reliably look at the stored endptr to decide whether
82942         the number had valid syntax.
82944 2012-04-21  Andreas Jaeger  <aj@suse.de>
82946         [BZ #13739]
82947         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
82949 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
82951         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
82952         * sysdeps/unix/sysv/Versions: Remove file.
82954 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
82956         [BZ #13927]
82957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82959 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
82961         [BZ #7064]
82962         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
82963         version from __vm86.
82965 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
82967         * sysdeps/unix/common/lxstat.c: Remove file.
82968         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
82970         * sysdeps/unix/sysv/Makefile: Remove file.
82972         * sysdeps/unix/sysv/direct.h: Remove file.
82974         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
82975         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
82976         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
82977         * sysdeps/unix/sysv/bits/signum.h: Likewise.
82978         * sysdeps/unix/sysv/bits/stat.h: Likewise.
82979         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
82980         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
82982         * sysdeps/unix/sysv/setrlimit.c: Remove file.
82984         * sysdeps/unix/xmknod.c: Remove file.
82985         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
82987         * sysdeps/unix/sysv/settimeofday.c: Remove file.
82989         * sysdeps/unix/sysv/i386/time.S: Remove file.
82991         * sysdeps/unix/fxstat.c: Remove file.
82992         * sysdeps/unix/xstat.c: Likewise.
82993         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
82995         * sysdeps/unix/sysv/sigaction.c: Remove file.
82997         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
82998         (sysdep_headers): Remove variable.
82999         [termio.h not in sysdep_headers] (generated): Likewise.
83000         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
83001         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
83002         * sysdeps/unix/sysv/tcdrain.c: Likewise.
83003         * sysdeps/unix/sysv/tcflow.c: Likewise.
83004         * sysdeps/unix/sysv/tcflush.c: Likewise.
83005         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
83006         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
83007         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
83008         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
83009         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
83011         * sysdeps/unix/siglist.c: Remove file.
83013         * sysdeps/unix/getppid.S: Remove file.
83015         * sysdeps/unix/mkdir.c: Remove file.
83016         * sysdeps/unix/rmdir.c: Likewise.
83018 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
83020         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
83021         ERR_MAX value.
83022         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
83023         errlist-compat value.
83025 2012-04-18  David S. Miller  <davem@davemloft.net>
83027         * sysdeps/generic/memcopy.h (reg_char): Delete.
83028         * debug/strcat_chk.c: Use char, not reg_char.
83029         * debug/strcpy_chk.c: Likewise.
83030         * debug/strncat_chk.c: Likewise.
83031         * debug/strncpy_chk.c: Likewise.
83032         * string/memchr.c: Likewise.
83033         * string/memrchr.c: Likewise.
83034         * string/rawmemchr.c: Likewise.
83035         * string/strcat.c: Likewise.
83036         * string/strchr.c: Likewise.
83037         * string/strchrnul.c: Likewise.
83038         * string/strcmp.c: Likewise.
83039         * string/strcpy.c: Likewise.
83040         * string/strncat.c: Likewise.
83041         * string/strncmp.c: Likewise.
83042         * string/strncpy.c: Likewise.
83044 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83046         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
83047         __builtin_memcopy is called when src and dest ranges are known to not
83048         overlap.
83050 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83052         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
83053         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
83054         fwd_align_merge macro call.
83055         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
83056         bwd_align_merge macro call.
83057         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83059 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83061         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
83062         bwd_align_merge macros.
83063         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
83064         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
83065         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83067 2012-04-18  David S. Miller  <davem@davemloft.net>
83069         * sysdeps/sparc/sparc64/memcopy.h: Delete.
83071 2012-04-18  Andreas Jaeger  <aj@suse.de>
83073         [BZ #6794]
83074         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
83075         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
83076         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83078         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83079         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83080         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83082         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83083         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83084         Adjust for changed ldbl-128 files.
83086         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83087         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83088         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83090 2012-04-17  David S. Miller  <davem@davemloft.net>
83092         * sysdeps/sparc/sparc32/memcopy.h: Delete.
83094 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
83096         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83097         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83098         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83099         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83100         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83101         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83103 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83105         [BZ #6794]
83106         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83107         * math/libm-test.inc: Add ilogb errno and exception tests.
83108         * math/w_ilogb.c: New file: ilogb wrapper.
83109         * math/w_ilogbf.c: New file: ilogbf wrapper.
83110         * math/w_ilogbl.c: New file: ilogbl wrapper.
83111         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83112         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83113         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83114         exception being thrown with 0.0 as argument.
83115         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83116         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83117         exception being thrown with 0.0 as argument.
83118         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83119         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83120         exception being thrown with 0.0 as argument.
83121         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83122         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83123         exception being thrown with 0.0 as argument.
83124         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83125         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83126         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83127         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83128         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83129         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83130         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83131         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83132         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83134 2012-04-17  Petr Baudis  <pasky@ucw.cz>
83136         * include/sys/uio.h: Change __vector to __iovec to avoid clash
83137         with altivec.
83139 2012-04-16  Marek Polacek  <polacek@redhat.com>
83141         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83143 2012-04-16  Marek Polacek  <polacek@redhat.com>
83145         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83146         operands of fdivp instruction.
83148 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83150         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83151         * elf/tst-auditmod3b.c: Likewise.
83152         * elf/tst-auditmod4b.c: Likewise.
83153         * elf/tst-auditmod5b.c: Likewise.
83154         * elf/tst-auditmod6b.c: Likewise.
83155         * elf/tst-auditmod6c.c: Likewise.
83156         * elf/tst-auditmod7b.c: Likewise.
83157         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
83158         * sysdeps/x86_64/preconfigure.in: Likewise.
83159         * sysdeps/x86_64/preconfigure: Regenerated.
83161 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83163         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
83164         __ILP32__.
83166 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
83168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83169         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
83171 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
83173         [BZ #13973]
83174         * locale/iso-639.def: Fix gl language name. Spotted by
83175         Yaron Shahrabani.
83177 2012-04-12  Roland McGrath  <roland@hack.frob.com>
83179         [BZ #2074]
83180         * libio/libio.h (__io_write_fn): Update comment.
83182 2012-04-12  Petr Baudis  <pasky@ucw.cz>
83184         [BZ #2074]
83185         * stdio.texi (Hook Functions): The user provided writer function
83186         is not allowed to return -1.
83188 2012-04-11  David S. Miller  <davem@davemloft.net>
83190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83192 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
83194         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
83195         Add a leading slash to rtkaio.
83197 2012-04-11  Jim Meyering  <meyering@redhat.com>
83199         [BZ #11959]
83200         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
83201         It is not necessarily an error to ignore fwrite's return
83202         value.  One can reliably use ferror to test for errors after
83203         the fact.
83205 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83207         * bits/types.h (__snseconds_t): New type.
83208         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
83210         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
83211         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
83212         (__SNSECONDS_T_TYPE): Likewise.
83213         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
83214         (__SNSECONDS_T_TYPE): Likewise.
83215         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83216         (__SNSECONDS_T_TYPE): Likewise.
83218 2012-04-10  Andreas Jaeger  <aj@suse.de>
83220         [BZ #2636]
83221         * manual/time.texi (Processor Time): Return type of times is
83222         elapsed real time since an arbitrary point in the past.
83223         (CPU Time): Move CLK_TCK from here...
83224         (Processor Time): ...to here.  Correct description.
83225         * manual/conf.texi (Constants for Sysconf): Correct description of
83226         _SC_CLK_TCK.
83228 2012-04-10  David S. Miller  <davem@davemloft.net>
83230         [BZ #13967]
83231         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
83232         where the is a gap between DT_REL(A) and DT_JMPREL.
83234 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83236         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
83237         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83238         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83240 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
83242         * elf/dl-support.c (_dl_inhibit_cache): New variable.
83243         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
83244         (dl_main): Handle --inhibit-cache.
83245         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
83246         _dl_inhibit_cache.
83247         * elf/dl-load.c (_dl_map_object): Use it.
83248         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
83250 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83252         [BZ #13872]
83253         * sysdeps/i386/fpu/e_powl.S (p78): New object.
83254         (__ieee754_powl): Saturate large exponents rather than testing for
83255         overflow of y*log2(x).
83256         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83257         * math/libm-test.inc (pow_test): Do not permit spurious overflow
83258         exceptions.
83260         [BZ #11521]
83261         * math/s_ctan.c: Include <float.h>.
83262         (__ctan): Avoid internal overflow or cancellation in calculating
83263         denominator.
83264         * math/s_ctanf.c: Likewise.
83265         * math/s_ctanl.c: Likewise.
83266         * math/s_ctanh.c: Likewise.
83267         * math/s_ctanhf.c: Likewise.
83268         * math/s_ctanhl.c: Likewise.
83269         * math/libm-test.inc (ctan_test): Add more tests.
83270         (ctanh_test): Likewise.
83271         * sysdeps/i386/fpu/libm-test-ulps: Update.
83272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83274 2012-04-09  Andreas Jaeger  <aj@suse.de>
83276         [BZ #6894]
83277         * manual/filesys.texi (Directory Entries): Mention that d_namlen
83278         is an optional BSD extension.
83280         [BZ #10254]
83281         * manual/stdio.texi (Opening Streams): Document additional fopen
83282         parameters.
83284 2012-04-09  Roland McGrath  <roland@hack.frob.com>
83286         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83287         %eax without telling the compiler.
83289 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
83291         [BZ # 13963]
83292         * manual/install.texi: Use sourceware.org.
83294 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83296         [BZ #13873]
83297         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
83298         (__ieee754_pow): Generate overflow and underflow using huge*huge
83299         and tiny*tiny rather than just returning constant infinity or zero
83300         for large exponents.
83301         * math/libm-test.inc (pow_test): Require overflow exceptions for
83302         applicable cases of large exponents.
83304         [BZ #706]
83305         * sysdeps/i386/fpu/e_pow.S (p10): New object.
83306         (__ieee754_pow): Use iterative multiplication algorithm only for
83307         integer exponents with absolute value below 1024.  Check for odd
83308         integer exponents when using algorithm for real exponents.
83309         * math/libm-test.inc (pow_test): Add more tests.
83310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83312 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
83314         [BZ #13705]
83315         * math/libm-test.inc (exp_test): Do not allow overflow exception
83316         on underflow test.
83318 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
83320         [BZ #13705]
83321         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83322         instead of __kernel_standard_f.
83324 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
83326         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
83327         * sysdeps/x86_64/memset_chk.S: Likewise.
83329 2012-04-08  Andreas Jaeger  <aj@suse.de>
83331         [BZ #10153]
83332         * manual/startup.texi (Environment Access): Describe return value
83333         for putenv and setenv.
83335         [BZ #6895]
83336         * manual/filesys.texi (Directory Entries): Add description for
83337         DT_LNK.
83339         [BZ #6890]
83340         * manual/filesys.texi (Directory Entries): Clarify that it's file
83341         system not operating system in the description of DT_UNKNOWN.
83343         [BZ #6578]
83344         * manual/syslog.texi (closelog): Fix reference, it's openlog.
83346 2012-04-08  Stephen Compall  <s11@member.fsf.org>
83348         [BZ #6649]
83349         * manual/llio.texi (Opening and Closing Files): Add cross
83350         reference to explain mode argument.
83352 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
83354         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
83355         * sysdeps/x86_64/memset_chk.S: Likewise.
83357 2012-04-07  David S. Miller  <davem@davemloft.net>
83359         * elf/elf.h (R_SPARC_WDISP10): Define.
83360         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
83361         R_SPARC_SIZE32.
83362         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
83363         R_SPARC_SIZE64 and R_SPARC_H34.
83365 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
83367         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
83368         conditions and remove no longer applicable assertion.
83370 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83372         * bits/byteswap.h: Include <features.h>.
83373         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83374         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83376 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83378         * bits/byteswap.h (__bswap_16): Removed.
83379         Include <bits/byteswap-16.h> to get __bswap_16.
83380         * sysdeps/i386/bits/byteswap.h: Likewise.
83381         * sysdeps/s390/bits/byteswap.h: Likewise.
83382         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83383         * bits/byteswap-16.h: New file.
83384         * sysdeps/i386/bits/byteswap-16.h: Likewise.
83385         * sysdeps/s390/bits/byteswap-16.h: Likewise.
83386         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83387         * string/Makefile (headers): Add bits/byteswap-16.h.
83389 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83391         [BZ #13895]
83392         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83393         extra indirection.
83394         * nss/Makefile (tests-static, tests): Add tst-nss-static.
83395         * nss/tst-nss-static.c: New.
83397 2012-04-06  Robert Millan  <rmh@gnu.org>
83399         [BZ #6486]
83400         * manual/llio.texi (File Position Primitive): lseek
83401         refers to WHENCE when it really means OFFSET.
83403 2012-04-06  Andreas Jaeger  <aj@suse.de>
83405         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83406         strncmp declarations.
83408         * abilist/libc.abilist: Add __poll and __ppoll.
83410 2012-04-05  David S. Miller  <davem@davemloft.net>
83412         * scripts/check-local-headers.sh: Accept a host triplet in the
83413         path matched by the exclude regexp.
83415         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83416         definition.
83417         * sysdeps/powerpc/powerpc32/dl-machine.h
83418         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83419         * sysdeps/s390/s390-32/dl-machine.h
83420         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83421         * sysdeps/sparc/sparc32/dl-machine.h
83422         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83423         * sysdeps/sparc/sparc64/dl-machine.h
83424         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83426         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83427         lazy binding.
83428         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83429         undefined symbol errors.
83431         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83432         DT_NEEDED entries.
83434 2012-04-05  Michael Matz  <matz@suse.de>
83436         [BZ #13592]
83437         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83439 2012-04-05  Andreas Jaeger  <aj@suse.de>
83441         [BZ #13908]
83442         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83443         comment.
83445 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83447         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83448         which ROUND is no valid rounding mode.
83450 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83452         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83453         read again.
83454         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83456 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83458         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83459         an exception using FPU order intentionally.
83461 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83463         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83464         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83465         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83466         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83468 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83470         [BZ #12340]
83471         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83472         EINVAL when BUFLEN is too smal.
83474 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83476         [BZ #13553]
83477         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83478         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83480 2012-04-03  Andreas Jaeger  <aj@suse.de>
83482         [BZ #13938]
83483         * manual/setjmp.texi (System V contexts): Fix sentence.
83485         [BZ #13926]
83486         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83487         New macro for this case.
83488         [!__GNUC__] (__bswap_64): New inline function for this case.
83489         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83490         * bits/byteswap.h: Likewise.
83491         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83492         ull, guard with __GLIBC_HAVE_LONG_LONG.
83494         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83495         __GLIBC_HAVE_LONG_LONG.
83497         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83498         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83500 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83502         [BZ #13691]
83503         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83504         inptr and inend, rather than using last_ch.
83506 2012-04-02  David S. Miller  <davem@davemloft.net>
83508         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83509         * stdio-common/printf-parse.h (read_int): Change return type to
83510         'int', return -1 on INT_MAX overflow.
83511         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83512         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83513         overflows INT_MAX.  Check for overflow of in-format-string precision
83514         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83515         SIZE_MAX not INT_MAX for integer overflow test.
83516         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83517         skip the construct in the format string but do not record anything.
83518         * stdio-common/bug22.c: Adjust to test both width/prevision
83519         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83520         explicitly for proper errno values.
83522 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83524         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83525         CHAR_MAX.
83526         * string/test-strcmp.c [! WIDE]: Likewise.
83527         * time/tst-mktime2.c: Likewise for INT_MAX.
83528         * string/test-string.h: #include <sys/param.h> for MIN.
83530         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83531         * sysdeps/i386/init-first.c (init): Likewise.
83532         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83533         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83534         * sysdeps/sh/init-first.c (init): Likewise.
83536 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83538         * po/ru.po: Update from translation team.
83539         * po/vi.po: Likewise.
83541 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83543         * resolv/nss_dns/dns-host.c: Merge copyright years.
83545 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83547         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83548         Optimize memcpy with prefetch if
83549         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83550         src, dst pointers have unequal 16 byte alignments.
83552 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83554         [BZ #13928]
83555         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83556         from a CNAME entry and return the minimum ttl for the query.
83557         (gaih_getanswer_slice): Likewise.
83559 2012-03-30  Jeff Law  <law@redhat.com>
83561         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83562         due to long keys.
83563         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83564         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83566         * resolv/nss_dns/dns-host.c: Update copyright year.
83568 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
83570         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83571         requests to save a system call.  Fix check that all bytes are sent.
83573         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83574         comments for sendmmsg.
83576 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
83578         [BZ #13691]
83579         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83580         with only 1 character between 0x0041 and 0x01b0.
83581         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83582         * wcsmbs/tst-mbsnrtowcs.c: New file.
83584 2012-03-29  David S. Miller  <davem@davemloft.net>
83586         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83587         small copies by hand.
83589 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
83591         [BZ #13761]
83592         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83593         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83594         group memberships.
83596 2012-03-28  David S. Miller  <davem@davemloft.net>
83598         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83599         that branches into memcpy.
83600         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83601         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83603         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83604         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83605         bits.
83606         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83607         implementation too.
83608         * sysdeps/sparc/mempcpy.S: New file.
83610         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83611         the IFUNC routine in the libc case.
83612         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83614         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83615         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83616         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83617         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83618         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83619         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83620         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83621         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83623         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83624         loop to 256 bytes instead of 64 bytes and fix test signedness.
83626         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83627         * sysdeps/sparc/sparc32/Makefile: rather than here...
83628         * sysdeps/sparc/sparc64/Makefile: and here.
83630 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
83632         * malloc/mallocbug.c: Avoid warnings about unused variables.
83634 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
83636         [BZ #13760]
83637         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83638         in the right place. Discard and retry query if response is
83639         larger than input buffer size.
83641 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
83643         [BZ #369]
83644         [BZ #2678]
83645         [BZ #3866]
83646         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83647         x for large integer exponent.
83648         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83649         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
83650         sign of result as needed afterwards.
83651         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83652         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83653         result for underflowing pow the same as for overflow.
83654         (__kernel_standard_l): Handle powl overflow and underflow here
83655         rather than calling __kernel_standard.
83656         * math/libm-test.inc (pow_test): Add more tests.
83658         [BZ #3868]
83659         [BZ #13879]
83660         [BZ #13910]
83661         [BZ #13911]
83662         [BZ #13912]
83663         [BZ #13913]
83664         [BZ #13915]
83665         [BZ #13916]
83666         [BZ #13917]
83667         [BZ #13918]
83668         [BZ #13919]
83669         [BZ #13920]
83670         [BZ #13921]
83671         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83672         * sysdeps/ieee754/k_standard.c: Include <float.h>.
83673         (__kernel_standard_l): New function.
83674         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83675         __kernel_standard.
83676         * math/w_acosl.c (__acosl): Likewise.
83677         * math/w_asinl.c (__asinl): Likewise.
83678         * math/w_atan2l.c (__atan2l): Likewise.
83679         * math/w_atanhl.c (__atanhl): Likewise.
83680         * math/w_coshl.c (__coshl): Likewise.
83681         * math/w_exp10l.c (__exp10l): Likewise.
83682         * math/w_exp2l.c (__exp2l): Likewise.
83683         * math/w_fmodl.c (__fmodl): Likewise.
83684         * math/w_hypotl.c (__hypotl): Likewise.
83685         * math/w_j0l.c (__j0l, __y0l): Likewise.
83686         * math/w_j1l.c (__j1l, __y1l): Likewise.
83687         * math/w_jnl.c (__jnl, __ynl): Likewise.
83688         * math/w_lgammal.c (__lgammal): Likewise.
83689         * math/w_log10l.c (__log10l): Likewise.
83690         * math/w_log2l.c (__log2l): Likewise.
83691         * math/w_logl.c (__logl): Likewise.
83692         * math/w_powl.c (__powl): Likewise.
83693         * math/w_remainderl.c (__remainderl): Likewise.
83694         * math/w_scalbl.c (sysv_scalbl): Likewise.
83695         * math/w_sinhl.c (__sinhl): Likewise.
83696         * math/w_sqrtl.c (__sqrtl): Likewise.
83697         * math/w_tgammal.c (__tgammal): Likewise.
83698         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83699         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83700         * math/libm-test.inc (acos_test): Add more tests.
83701         (acosh_test): Likewise.
83702         (asin_test): Likewise.
83703         (atanh_test): Likewise.
83704         (exp_test): Likewise.
83705         (exp10_test): Likewise.
83706         (exp2_test): Likewise.
83707         (expm1_test): Likewise.
83708         (lgamma_test): Likewise.
83709         (log_test): Likewise.
83710         (log10_test): Likewise.
83711         (log1p_test): Likewise.
83712         (log2_test): Likewise.
83713         (pow_test): Do not allow some spurious overflow exceptions.
83714         (sqrt_test): Add more tests.
83715         (tgamma_test): Likewise.
83716         (y0_test): Likewise.
83717         (y1_test): Likewise.
83718         (yn_test): Likewise.
83720 2012-03-27  Anton Blanchard  <anton@samba.org>
83722         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83723         MAP_HUGETLB.
83724         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83725         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83726         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83728 2012-03-27  David S. Miller  <davem@davemloft.net>
83730         * conform/Makefile: Run run-conformtest.sh using $(BASH).
83732         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83733         have-as-vis3 check.
83735 2012-03-27  Andreas Jaeger  <aj@suse.de>
83737         * sysdeps/x86_64/elf/configure.in: Moved to ...
83738         * sysdeps/x86_64/configure.in: ... here.
83739         * sysdeps/x86_64/elf/start.S: Moved to ...
83740         * sysdeps/x86_64/start.S: ... here.
83741         * sysdeps/x86_64/elf/configure: Delete.
83743         * sysdeps/x86_64/configure.in: Merge contents from
83744         sysdeps/i386/configure.in (without i686 check).
83746         * sysdeps/i386/elf/Versions: Merge into ...
83747         * sysdeps/i386/Versions: ... this.
83748         * sysdeps/i386/elf/Versions: Delete file.
83749         * sysdeps/i386/elf/start.S: Moved to ...
83750         * sysdeps/i386/start.S: ...here.
83751         * sysdeps/i386/elf/configure.in: Merge into...
83752         * sysdeps/i386/configure.in: ...here.
83753         * sysdeps/i386/elf/configure.in: Delete file.
83754         * sysdeps/i386/elf/configure: Delete file.
83756         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83757         * debug/backtracesyms.c: ... here.
83758         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83759         * debug/backtracesymsfd.c: ... here.
83760         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83761         * sysdeps/generic/ifunc-sel.h: ... here.
83763         * sysdeps/unix/i386/start.c: Delete file.
83764         * sysdeps/unix/sparc/start.c: Delete file.
83765         * sysdeps/unix/start.c: Delete file.
83767         * sysdeps/sh/elf/configure.in: Moved to ...
83768         * sysdeps/sh/configure.in: ... here.
83769         * sysdeps/sh/elf/start.S: Moved to ...
83770         * sysdeps/sh/start.S: ... here.
83771         * sysdeps/sh/elf/configure: Delete file.
83773         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83774         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83775         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83776         * sysdeps/powerpc/powerpc64/entry.h: ... here.
83777         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83778         * sysdeps/powerpc/powerpc64/start.S: here.
83779         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83780         * sysdeps/powerpc/powerpc64/Makefile: ... this.
83781         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83782         * sysdeps/powerpc/powerpc64/configure.in: ... this.
83783         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83785         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83786         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83787         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83788         * sysdeps/powerpc/powerpc32/start.S: ... here.
83789         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83790         * sysdeps/powerpc/powerpc32/configure.in: ... this.
83791         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
83793         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
83794         * sysdeps/powerpc/ifunc-sel.h: ... here.
83795         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
83796         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
83798         * sysdeps/sparc/elf/configure.in: Moved to ...
83799         * sysdeps/sparc/configure.in: ... here.
83800         * sysdeps/sparc/elf/configure: Delete file.
83801         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
83802         * sysdeps/sparc/sparc32/start.S: ... here.
83803         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
83804         * sysdeps/sparc/sparc64/start.S: ... here.
83805         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
83806         * sysdeps/sparc/sparc32/Makefile: ... this.
83807         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
83808         * sysdeps/sparc/sparc64/Makefile: ... this.
83810         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
83811         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
83812         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
83813         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
83814         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
83815         * sysdeps/s390/s390-32/setjmp.S: ... here.
83816         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
83817         * sysdeps/s390/s390-32/configure.in: ... here.
83818         * sysdeps/s390/s390-32/elf/configure: Delete file.
83819         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
83820         * sysdeps/s390/s390-32/start.S: ... here.
83822         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
83823         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
83824         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
83825         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
83826         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
83827         * sysdeps/s390/s390-64/setjmp.S: ... here.
83828         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
83829         * sysdeps/s390/s390-64/configure.in: ... here
83830         * sysdeps/s390/s390-64/elf/configure: Delete file.
83831         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
83832         * sysdeps/s390/s390-64/start.S: ... here.
83833         * sysdeps/s390/s390-64/elf/configure: Delete.
83835         * configure.in: Remove support for elf directories in sysdeps.
83837         * configure: Regenerated.
83838         * sysdeps/i386/configure: Regenerated.
83839         * sysdeps/powerpc/powerpc32/configure: Regenerated.
83840         * sysdeps/powerpc/powerpc64/configure: Regenerated.
83841         * sysdeps/s390/s390-32/configure: Regenerated.
83842         * sysdeps/s390/s390-64/configure: Regenerated.
83843         * sysdeps/sh/configure: Regenerated.
83844         * sysdeps/sparc/configure: Regenerated.
83845         * sysdeps/x86_64/configure: Regenerated.
83847 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
83849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
83852         denormal result into account.
83854 2012-03-25  Roland McGrath  <roland@hack.frob.com>
83856         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
83857         Reported by Allan McRae <allan@archlinux.org>.
83859 2012-03-23  Jeff Law  <law@redhat.com>
83861         * nss/getnssent.c (__nss_getent): Fix typo.
83863 2012-03-23  David S. Miller  <davem@davemloft.net>
83865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83867 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
83869         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
83870         to pad to uint64_t for each field.
83871         (dl_tls_index): Replace unsigned long with uint64_t.
83873 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
83874         Paul Pluzhnikov  <ppluzhnikov@google.com>
83876         [BZ #6528]
83877         * grp/Makefile (otherlibs): Don't set it.
83878         * inet/Makefile (otherlibs): Likewise.
83879         * login/Makefile (otherlibs): Likewise.
83880         * nscd/Makefile (otherlibs): Likewise.
83881         * posix/Makefile (otherlibs): Likewise.
83882         * pwd/Makefile (otherlibs): Likewise.
83883         * rt/Makefile (otherlibs): Likewise.
83884         * sunrpc/Makefile (otherlibs): Likewise.
83885         * nss/Makefile (otherlibs): Likewise.
83886         Add libnss_files to routines and static-only-routines.
83887         ($(objpfx)getent): Remove rule.
83888         * resolv/Makefile: Add libnss_dns and libresolv to routines and
83889         static-only-routines.
83891 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83893         [BZ #13892]
83894         * math/s_cexp.c: Include <float.h>.
83895         (__cexp): Handle exp result overflowing not necessarily
83896         overflowing both real and imaginary parts of result.
83897         * math/s_cexpf.c: Likewise.
83898         * math/s_cexpl.c: Likewise.
83899         * math/libm-test.inc (cexp_test): Add more tests.
83900         * sysdeps/i386/fpu/libm-test-ulps: Update.
83901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83903 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83905         * include/link.h (ELFW): New macro.
83906         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
83907         Replace ELF64_R_TYPE with ELFW(R_TYPE).
83909 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83911         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
83912         with uint64_t.
83914 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83916         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
83917         declaration.
83918         (struct La_x32_retval): Likewise.
83920 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83922         * sysdeps/x86_64/preconfigure.in: New file.
83923         * sysdeps/x86_64/preconfigure: New generated file.
83925 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83927         [BZ #13824]
83928         * math/e_exp2l.c: Include <float.h>.
83929         (__ieee754_exp2l): Handle overflow and underflow cases
83930         separately.  Only pass fractional part of argument to
83931         __ieee754_expl.
83932         * math/libm-test.inc (exp2_test): Add more tests.
83934         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
83935         negating x to take absolute value.
83936         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
83937         Likewise.
83938         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
83939         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
83940         Likewise.
83941         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
83942         computing low part if x was negated.
83943         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
83945 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83947         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
83948         la_x32_gnu_pltexit.
83949         (pltexit): Cast int_retval to ptrdiff_t.
83950         * elf/tst-auditmod3b.c: Likewise.
83951         * elf/tst-auditmod4b.c: Likewise.
83952         * elf/tst-auditmod5b.c: Likewise.
83953         * elf/tst-auditmod6b.c: Likewise.
83954         * elf/tst-auditmod6c.c: Likewise.
83955         * elf/tst-auditmod7b.c: Likewise.
83957         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
83958         and x32_gnu_pltexit.
83960         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
83961         __ELF_NATIVE_CLASS.
83962         (La_x32_regs): New macro.
83963         (La_x32_retval): Likewise.
83964         (la_x32_gnu_pltenter): New function prototype.
83965         (la_x32_gnu_pltexit): Likewise.
83967 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
83969         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
83970         exponent.
83972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83974         * configure.in (libc_cv_cc_nofma): Check for option to disable
83975         generation of FMA instructions.
83976         * configure: Regenerate.
83977         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
83978         * sysdeps/ieee754/dbl-64/Makefile: New file.
83979         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
83980         Remove brandred-fma4.
83981         (CFLAGS-brandred-fma4.c): Remove.
83982         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
83983         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
83984         define.
83985         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
83986         define.
83988 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83990         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
83991         LLONG_MAX != LONG_MAX.
83992         (_itoa_word): Use _ITOA_WORD_TYPE on value.
83993         (_fitoa_word): Likewise.
83994         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
83995         LLONG_MAX != LONG_MAX.
83996         * stdio-common/_itowa.h: Include <_itoa.h>.
83997         (_itowa_word): Use _ITOA_WORD_TYPE on value.
83998         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
83999         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
84000         only if not defined.
84001         (_ITOA_WORD_TYPE): Likewise.
84002         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84003         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
84005 2012-03-21  David S. Miller  <davem@davemloft.net>
84007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84009 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84011         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
84012         of x86_64 when setting libc_cv_slibdir, libdir and
84013         libc_cv_localedir.
84014         * sysdeps/unix/sysv/linux/configure: Regenerated.
84016 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84018         * manual/lang.texi (Old Varargs): Remove section.
84019         (How Variadic): Update menu.
84020         (va_start): Do not mention varargs.h.
84022 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84023             Joseph Myers  <joseph@codesourcery.com>
84025         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
84026         link test.
84027         * configure: Regenerated.
84029 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84031         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
84032         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
84033         conformtest.pl
84035 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84037         * NOTES: Remove.
84038         * Makefile (files-for-dist): Remove NOTES.
84039         (NOTES): Remove rule.
84040         * README: Don't refer to NOTES.
84041         * manual/creature.texi: Don't include macros.texi.
84042         * manual/intro.texi (creature.texi): Remove comment referring to
84043         NOTES.
84045         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
84046         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
84047         * configure: Regenerated.
84048         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
84049         LIBC_TRY_CC_OPTION.
84050         (libc_cv_as_i686): Likewise.
84051         (libc_cv_cc_avx): Likewise.
84052         (libc_cv_cc_sse2avx): Likewise.
84053         (libc_cv_cc_fma4): Likewise.
84054         (libc_cv_cc_novzeroupper): Likewise.
84055         * sysdeps/i386/configure: Regenerated.
84057         [BZ #13883]
84058         * sysdeps/i386/fpu/s_cexp.S: Remove.
84059         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84060         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84061         * math/libm-test.inc (cexp_test): Add more tests.
84062         * sysdeps/i386/fpu/libm-test-ulps: Update.
84063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84065 2012-03-21  Allan McRae  <allan@archlinux.org>
84067         * timezone/Makefile: Do not install iso3166.tab and zone.tab
84069 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84071         [BZ #13871]
84072         * math/w_exp2.c: Do not include <float.h>.
84073         (o_threshold, u_threshold): Remove.
84074         (__exp2): Calculate result before checking finiteness and calling
84075         __kernel_standard.
84076         * math/w_exp2f.c: Likewise.
84077         * math/w_exp2l.c: Likewise.
84078         * math/libm-test.inc (exp2_test): Require overflow exception for
84079         1e6 input.
84081         [BZ #3866]
84082         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84083         range of signed 64-bit integers before using fistpll.  Remove
84084         checks for whether integers fit in mantissa bits.
84085         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84086         the range of signed 32-bit integers before using fistpl.  Remove
84087         checks for whether integers fit in mantissa bits.
84088         * sysdeps/i386/fpu/e_powl.S (p64): New object.
84089         (__ieee754_powl): Test for y outside the range of signed 64-bit
84090         integers before using fistpll.  Reduce 64-bit values to 63-bit
84091         ones as needed.
84092         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84093         divide-by-zero is raised for zero to large negative powers.
84094         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84095         (__ieee754_powl): Test for y outside the range of signed 64-bit
84096         integers before using fistpll.  Reduce 64-bit values to 63-bit
84097         ones as needed.
84098         * math/libm-test.inc (pow_test): Add more tests.
84100 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84102         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84103         <stdio-common/_itoa.h>.
84104         * debug/segfault.c: Likewise.
84105         * elf/dl-cache.c: Likewise.
84106         * elf/dl-minimal.c: Likewise.
84107         * elf/dl-misc.c: Likewise.
84108         * elf/dl-sysdep.c: Likewise.
84109         * elf/dl-version.c: Likewise.
84110         * elf/rtld.c: Likewise.
84111         * hurd/hurdsock.c: Likewise.
84112         * hurd/lookup-retry.c: Likewise.
84113         * malloc/malloc.c: Likewise.
84114         * malloc/mtrace.c: Likewise.
84115         * nscd/nscd_getgr_r.c: Likewise.
84116         * nscd/nscd_getpw_r.c: Likewise.
84117         * nscd/nscd_getserv_r.c: Likewise.
84118         * posix/getopt_init.c: Likewise.
84119         * posix/wordexp.c: Likewise.
84120         * stdio-common/_itoa.c: Likewise.
84121         * stdio-common/printf_fphex.c: Likewise.
84122         * stdio-common/vfprintf.c: Likewise.
84123         * string/_strerror.c: Likewise.
84124         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84125         * sysdeps/i386/i686/hp-timing.h: Likewise.
84126         * sysdeps/mach/_strerror.c: Likewise.
84127         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84128         * sysdeps/mach/hurd/sethostid.c: Likewise.
84129         * sysdeps/mach/hurd/xmknodat.c: Likewise.
84130         * sysdeps/mach/xpg-strerror.c: Likewise.
84131         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84132         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84133         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84134         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84135         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84136         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84137         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84138         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84139         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84140         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84141         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84142         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84143         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84144         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84145         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84146         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84147         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84148         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84149         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84150         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84151         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
84153         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
84155         * stdio-common/_itoa.h: Moved to ...
84156         * sysdeps/generic/_itoa.h: Here.
84158         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
84160         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
84161         instead of "_itoa.h" and "_itowa.h".
84162         * stdio-common/vfprintf.: Likewise.
84164 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84166         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
84167         <bits/wordsize.h>.
84168         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
84169         (__signbit): Likewise.
84170         (llrintf): Likewise.
84171         (llrint): Likewise.
84173 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84175         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
84176         __WORDSIZE != 64.
84178 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
84180         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
84181         OVERFLOW_EXCEPTION_OK.
84182         * math/libm-test.inc ("Philosophy"): Update comment about
84183         exception testing.
84184         (OVERFLOW_EXCEPTION): Define.
84185         (OVERFLOW_EXCEPTION_OK): Likewise.
84186         (INVALID_EXCEPTION_OK): Renumber.
84187         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
84188         (IGNORE_ZERO_INF_SIGN): Likewise.
84189         (test_exceptions): Handle FE_OVERFLOW.
84190         (exp10_test): Expect overflow exceptions.
84191         (exp2_test): Likewise.
84192         (expm1_test): Likewise.
84193         (nextafter_test): Likewise.
84194         (pow_test): Likewise.
84195         (scalbn_test): Likewise.
84196         (scalbln_test): Likewise.
84198 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84200         * sysdeps/x86_64/bits/atomic.h
84201         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
84202         64bit integer.
84203         (atomic_exchange_acq): Likewise.
84204         (__arch_exchange_and_add_body): Likewise.
84205         (__arch_add_body): Likewise.
84206         (atomic_add_negative): Likewise.
84207         (atomic_add_zero): Likewise.
84209 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84211         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
84212         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
84214 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84216         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
84217         Check __x86_64__ instead of __WORDSIZE.
84219 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84221         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
84223 2012-03-19  David S. Miller  <davem@davemloft.net>
84225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84227         * sysdeps/sparc/fpu/fenv_private.h: New file.
84228         * sysdeps/sparc/fpu/math_private.h: Use it.
84229         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
84230         Remove.
84231         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
84232         (libc_feholdexcept_setroundl): Remove.
84233         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
84234         Remove.
84235         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
84236         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
84238 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84240         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
84241         int64_t instead of long int.
84242         (INSERT_WORDS64): Likewise.
84244 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84246         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
84247         _Unwind_GetCFA return to _Unwind_Ptr first.
84249 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
84251         [BZ #13629]
84252         * math/s_clog.c: Include <float.h>.
84253         (__clog): Scale large or subnormal inputs.
84254         * math/s_clogf.c: Likewise.
84255         * math/s_clogl.c: Likewise.
84256         * math/s_clog10.c: Include <float.h>.
84257         (M_LOG10_2): Define.
84258         (__clog10): Scale large or subnormal inputs.
84259         * math/s_clog10f.c: Likewise.
84260         * math/s_clog10l.c: Likewise.
84261         * math/libm-test.inc (clog_test): Add more tests.
84262         (clog10_test): Likewise.
84263         * sysdeps/i386/fpu/libm-test-ulps: Update.
84264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84266         [BZ #11451]
84267         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
84268         x and y.
84269         * math/libm-test.inc (atan2_test): Add another test.
84271         * Makerules (common-objdir-compile): Remove.
84272         * sysdeps/unix/Makefile (config-generated): Do not add
84273         $(unix-generated) to variable.
84274         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
84275         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
84276         Remove rule.
84277         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
84278         Likewise.
84279         [generic bits/local_lim.h] (before-compile): Do not append to
84280         variable.
84281         [generic bits/local_lim.h] (common-generated): Likewise.
84282         [generic sys/param.h] (before-compile): Do not append to variable.
84283         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
84284         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
84285         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
84286         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
84287         include.
84288         [generic sys/param.h] (sys/param.h-includes): Remove variable.
84289         [generic sys/param.h] (sys/param.h-includes): Remove rule.
84290         [generic sys/param.h] ($(addprefix
84291         $(common-objpfx),$(sys/param.h-includes))): Likewise.
84292         [generic sys/param.h] (common-generated): Do not append to
84293         variable.
84294         [generic sys/param.h] (sysdep_headers): Likewise.
84295         [generic bits/errno.h] (before-compile): Do not append to
84296         variable.
84297         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
84298         rule.
84299         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
84300         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
84301         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
84302         [generic bits/errno.h] (common-generated): Do not append to
84303         variable.
84304         [generic bits/ioctls.h] (before-compile): Do not append to
84305         variable.
84306         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
84307         rule.
84308         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
84309         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
84310         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
84311         rule.
84312         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
84313         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
84314         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
84315         [generic bits/ioctls.h] (common-generated): Do not append to
84316         variable.
84317         [generic sys/syscall.h] (syscall.h): Remove variable.
84318         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
84319         rule.
84320         [generic sys/syscall.h] (before-compile): Do not append to
84321         variable.
84322         [generic sys/syscall.h] (common-generated): Likewise.
84323         * sysdeps/unix/errnos-tmpl.c: Remove file.
84324         * sysdeps/unix/errnos.awk: Likewise.
84325         * sysdeps/unix/ioctls-tmpl.c: Likewise.
84326         * sysdeps/unix/ioctls.awk: Likewise.
84327         * sysdeps/unix/mk-local_lim.c: Likewise.
84328         * sysdeps/unix/snarf-ioctls: Likewise.
84330 2012-03-19  Richard Henderson  <rth@twiddle.net>
84332         * sysdeps/i386/fpu/fenv_private.h: New file.
84333         * sysdeps/i386/fpu/math_private.h: Use it.
84334         (math_opt_barrier, math_force_eval): Remove.
84335         (libc_feholdexcept_setround_53bit): Remove.
84336         (libc_feupdateenv_53bit): Remove.
84337         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84338         (math_opt_barrier, math_force_eval): Remove.
84339         (libc_feholdexcept): Remove.
84340         (libc_feholdexcept_setround): Remove.
84341         (libc_fetestexcept, libc_fesetenv): Remove.
84342         (libc_feupdateenv_test): Remove.
84343         (libc_feupdateenv, libc_feholdsetround): Remove.
84344         (libc_feresetround): Remove.
84346         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84347         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
84349         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
84350         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
84351         (libc_feupdateenv_testl): New.
84352         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
84353         (libc_feupdateenv_testf): New.
84354         (libc_feupdateenv): Use libc_feupdateenv_test.
84355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
84356         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
84358         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
84359         (libc_feholdsetroundf, libc_feholdsetroundl): New.
84360         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
84361         (libc_feresetround_noex): New.
84362         (libc_feresetround_noexf): New.
84363         (libc_feresetround_noexl): New.
84364         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
84365         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
84366         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
84367         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
84368         SET_RESTORE_ROUND.
84369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
84370         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
84371         (__cos): Likewise.
84372         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84373         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84374         SET_RESTORE_ROUND_NOEX.
84375         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84376         SET_RESTORE_ROUND_NOEXF.
84377         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84378         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84379         (libc_feholdsetroundf): New.
84380         (libc_feresetround, libc_feresetroundf): New.
84382         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84383         (libc_feholdexcept_setround_53bit): Convert from macro to function.
84384         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
84386         * sysdeps/generic/math_private.h: Include <fenv.h>.
84387         (default_libc_feholdexcept): New.
84388         (default_libc_feholdexcept_setround): New.
84389         (default_libc_fesetenv, default_libc_feupdateenv): New.
84390         (libc_feholdexcept): Only define if undefined.
84391         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84392         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84393         (libc_feholdexcept_setroundl): Likewise.
84394         (libc_feholdexcept_setround_53bit): Likewise.
84395         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84396         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84397         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84398         (libc_feupdateenv_53bit): Likewise.
84399         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84400         (libc_feholdexcept): Convert from macro to inline function.
84401         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84402         (libc_fesetenv, libc_feupdateenv): Likewise.
84404         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84405         not previously defined.
84406         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84407         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84408         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84409         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84410         * sysdeps/ieee754/flt-32/math_private.h: New file.
84411         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84412         math_private.h below SET_FLOAT_WORD.
84413         (__isnan, __isinf_ns, __finite): Remove.
84414         (__isnanf, __isinf_nsf, __finitef): Remove.
84416 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
84418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84420 2012-03-17  David S. Miller  <davem@davemloft.net>
84422         [BZ #6471]
84423         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84424         for 2.16.
84426 2012-03-16  David S. Miller  <davem@davemloft.net>
84428         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84429         warnings.
84431         [BZ #6471]
84432         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84433         properly.
84434         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84435         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84436         sysdep_routines when subdir is sysvipc.
84437         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84438         __getshmlba helper.
84440         * sysdeps/sparc/fpu/libm-test/ulps: Update.
84442 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84444         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84445         [__LP64__].
84447 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84449         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84450         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84451         (__lround): Renamed to ...
84452         (__llround): This.  Replace long int with long long int.
84453         Define lround functions as aliases of llround functions.
84454         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84456 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84458         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84459         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84460         adresses to uintptr_t.  Replace "long int" and "unsigned long
84461         int" with "greg_t" on va_arg.
84463 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84465         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84466         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84468         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84469         Move e_machine check before EI_CLASS check.  Handle x32
84470         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84471         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84472         SKIP_EM_IA_64 and include
84473         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84475         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84476         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84477         (add_system_dir): New macro.
84479         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84480         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84482 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84484         [BZ #2551]
84485         [BZ #2552]
84486         [BZ #2553]
84487         [BZ #2554]
84488         [BZ #2562]
84489         [BZ #2563]
84490         [BZ #2565]
84491         [BZ #2566]
84492         [BZ #2576]
84493         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84494         (y0): Likewise.
84495         * math/w_j0f.c (j0f): Likewise.
84496         (y0f): Likewise.
84497         * math/w_j0l.c (__j0l): Likewise.
84498         (__y0l): Likewise.
84499         * math/w_j1.c (j1): Likewise.
84500         (y1): Likewise.
84501         * math/w_j1f.c (j1f): Likewise.
84502         (y1f): Likewise.
84503         * math/w_j1l.c (__j1l): Likewise.
84504         (__y1l): Likewise.
84505         * math/w_jn.c (jn): Likewise.
84506         (yn): Likewise.
84507         * math/w_jnf.c (jnf): Likewise.
84508         (ynf): Likewise.
84509         * math/w_jnl.c (__jnl): Likewise.
84510         (__ynl): Likewise.
84511         * math/libm-test.inc (j0_test): Add more tests.
84512         (j1_test): Likewise.
84513         (jn_test): Likewise.  Add trailing semicolon to existing test.
84514         (y0_test): Likewise.
84515         (y1_test): Likewise.
84516         * sysdeps/i386/fpu/libm-test-ulps: Update.
84517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84519         [BZ #13851]
84520         [BZ #13854]
84521         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84522         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84523         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84524         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84525         (__tanl): Set errno for infinite argument.
84526         * sysdeps/i386/fpu/mptan.c: Remove.
84527         * sysdeps/i386/fpu/s_tan.S: Likewise.
84528         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84529         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84530         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84531         * math/libm-test.inc (tan_test): Add more tests and enable more
84532         tests for double and long double.
84533         * sysdeps/i386/fpu/libm-test-ulps: Update.
84534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84536 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84538         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84539         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84541 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84543         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84544         * configure.in: Use it for both main tree and add-ons.
84545         * configure: Regenerated.
84547 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84549         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84551 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84553         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84554         in comment.
84556         [BZ #13851]
84557         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84558         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84559         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84560         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84561         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84562         infinite argument.
84563         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84565         != 0 for prec == 2.
84566         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84567         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84568         * sysdeps/i386/fpu/s_cosl.S: Likewise.
84569         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84570         * sysdeps/i386/fpu/s_sinl.S: Likewise.
84571         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84572         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84573         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84574         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84575         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84576         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84577         * math/libm-test.inc (cos_test): Add more tests and enable more
84578         tests for long double.
84579         (sin_test): Likewise.
84580         (sincos_test): Likewise.
84581         * sysdeps/i386/fpu/libm-test-ulps: Update.
84582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84584 2012-03-16  David S. Miller  <davem@davemloft.net>
84586         * sysdeps/sparc/fpu/math_private.h: New file.
84588 2012-03-15  David S. Miller  <davem@davemloft.net>
84590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84591         file.
84592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84594         file.
84595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84601         sysdep routines.
84602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84604         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84605         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84607         * sysdeps/sparc/sparc-ifunc.h: New file.
84608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84609         sparc-ifunc.h
84610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84612         Likewise.
84613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84614         Likewise.
84615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84619         Likewise.
84620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84625         Likewise.
84626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84627         Likewise.
84628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84632         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84634         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84635         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84636         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84642         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84646         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84647         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84648         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84649         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84650         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84651         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84653 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84655         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84656         scaling.
84657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84659 2012-03-15  Andreas Jaeger  <aj@suse.de>
84661         [BZ #13852]
84662         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84663         ieee754/flt-32 implementation for sin, cos and sincos.
84664         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84665         * sysdeps/i386/fpu/s_cosf.S: Likewise.
84666         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84667         * sysdeps/i386/fpu/s_sinf.S: Likewise.
84668         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84669         ieee754/flt-32 implementation for tan.
84671         * math/libm-test.inc (cos_test): Enable some large input tests for
84672         float as well
84673         (sin_test): Likewise.
84674         (sincos_test): Likewise.
84675         (tan_test): Add tests for large input.
84677         * sysdeps/i386/fpu/libm-test-ulps: Update.
84679 2012-03-15  Andreas Jaeger  <aj@suse.de>
84681         [BZ #13658]
84682         * math/libm-test.inc (cos_test): Add more test cases.
84683         (sin_test): Likewise.
84684         (sincos_test): Likewise.
84686 2012-03-15  Andreas Jaeger  <aj@suse.de>
84688         [BZ #13837]
84689         * math/libm-test.inc (cos_test): Add a test case for large input
84690         value.
84691         (sin_test): Likewise.
84692         (sincos_test): Likewise.
84694 2012-03-15  Andreas Jaeger  <aj@suse.de>
84695             Joseph Myers  <joseph@codesourcery.com>
84697         [BZ #13658]
84698         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84699         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84700         * sysdeps/i386/fpu/branred.c: Likewise.
84701         * sysdeps/i386/fpu/dosincos.c: Likewise.
84702         * sysdeps/i386/fpu/mpa.c: Likewise.
84703         * sysdeps/i386/fpu/s_cos.S: Likewise.
84704         * sysdeps/i386/fpu/s_sin.S: Likewise.
84705         * sysdeps/i386/fpu/s_sincos.S: Likewise.
84706         * sysdeps/i386/fpu/sincos32.c: Likewise.
84708         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84709         Define.
84710         (libc_feupdateenv_53bit): Define.
84711         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84712         Define.
84713         (libc_feupdateenv_53bit): Define.
84715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84716         53 bit (without extend i386 double precision).
84718         * math/libm-test.inc (sincos_test): Add tests for large input.
84719         (sin): Likewise.
84720         (cos): Likewise.
84722         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84724 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84728 2012-03-15  David S. Miller  <davem@davemloft.net>
84730         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84731         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84732         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84733         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84746         file.
84747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84749         file.
84750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84752         file.
84753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84755         file.
84756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84757         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84758         fmin/fmax sysdep routines.
84759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84761 2012-03-14  David S. Miller  <davem@davemloft.net>
84763         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84767         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84768         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84769         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84783         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84784         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84785         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84787         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84789         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84790         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84791         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
84792         routines.
84793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
84794         file.
84795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
84796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
84797         file.
84798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
84799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
84800         file.
84801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
84802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
84803         file.
84804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
84805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
84806         file.
84807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
84808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
84809         file.
84810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
84811         file.
84812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
84813         file.
84814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
84815         file.
84816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
84817         New file.
84818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
84819         file.
84820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
84821         file.
84822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
84823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
84824         file.
84825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
84826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
84827         file.
84828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
84829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
84830         file.
84831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
84832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
84833         VIS3 routines.
84835         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
84836         New file.
84838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84840         * sysdeps/sparc/configure.in: New file.
84841         * sysdeps/sparc/configure: Generate.
84842         * configure.in (libc_cv_sparc_as_vis3): Substitute.
84843         * configure: Regenerate.
84844         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
84845         * config.make.in (have-as-vis3): New.
84846         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
84847         available use -Av9d instead of -Av9a.
84848         * sysdeps/sparc/sparc64/Makefile: Likewise.
84849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
84850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
84851         New file.
84852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
84853         file.
84854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
84855         New file.
84856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
84857         file.
84858         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
84859         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
84860         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
84861         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
84862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
84864         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
84865         fzeros/fnegs to load 0x80000000 into a float register instead of
84866         using the stack.
84867         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
84869 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84871         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84872         bits/syscall.h.
84873         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
84874         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
84875         ($(inst_includedir)/bits/syscall.h): Remove rule.
84876         ($(objpfx)bits/syscall.d): Include instead of
84877         $(objpfx)syscall-list.d.
84878         (generated): Change syscall-list.h and syscall-list.d to
84879         bits/syscall.h and bits/syscall.d.
84881 2012-03-14  Roland McGrath  <roland@hack.frob.com>
84883         [BZ #13846]
84884         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
84886 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84888         [BZ #13841]
84889         * math/s_csqrt.c: Include <float.h>.
84890         (__csqrt): Scale large or subnormal inputs.
84891         * math/s_csqrtf.c: Likewise.
84892         * math/s_csqrtl.c: Likewise.
84893         * math/libm-test.inc (csqrt_test): Add more tests.
84894         * sysdeps/i386/fpu/libm-test-ulps: Update.
84895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84897         [BZ #13840]
84898         * math/libm-test.inc (hypot_test): Add more tests.
84900 2012-03-13  David S. Miller  <davem@davemloft.net>
84902         [BZ #13840]
84903         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
84904         double-precision for the calculation instead of scaling.
84906 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
84908         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
84909         manipulate bits before adding and subtracting TWO52[sx].
84910         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
84911         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
84912         Likewise.
84913         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
84915 2012-03-13  David S. Miller  <davem@davemloft.net>
84917         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
84918         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
84919         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
84920         rtld-global-offsets.h
84921         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84923         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
84924         large parameters.
84926         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
84928         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
84929         'err' in the ifdef scope in which it is actually used.
84931         * nss/nss_db/db-init.c: Include string.h
84933 2012-03-12  David S. Miller  <davem@davemloft.net>
84935         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84936         masking out of the most significant byte of random value used.
84937         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84938         Fix coding style in previous change.
84940         * sysdeps/unix/sysv/linux/kernel-features.h
84941         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
84942         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
84943         expression.
84944         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
84945         later.
84947 2012-03-11  David S. Miller  <davem@davemloft.net>
84949         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
84950         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
84951         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
84952         for 'resultvar' otherwise things get truncated on 64-bit.
84954         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84955         Fix masking out of the most significant byte of random value used.
84957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84959 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
84961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84963 2012-03-09  David S. Miller  <davem@davemloft.net>
84965         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
84966         variables with appropriate CPP guards.
84967         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
84968         from the frame pointer, not the stack pointer.  Correct layout
84969         comments.  Fix test on resulting framesize and the management of
84970         the outregs buffer for pltexit.  Preserve floating point return
84971         values across _dl_call_pltexit call.
84972         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
84973         framesize and the management of the outregs buffer for pltexit.
84974         Preserve floating point return values across _dl_call_pltexit
84975         call.
84976         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
84977         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
84978         (la_sparc64_gnu_pltexit): New functions.
84979         (print_exit): Fix format string for return register value.
84981 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
84983         * sunrpc/Makefile (others): Add rpcgen.
84984         ($(objpfx)rpcgen): Remove special build rule and dependency on
84985         libc.
84986         * sunrpc/rpcgen.c: New file.
84988 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
84990         [BZ #13673]
84991         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
84992         * stdio-common/bug-vfprintf-nargs.c: Likewise.
84993         * sysdeps/i386/crti.S: Likewise.
84994         * sysdeps/i386/crtn.S: Likewise.
84995         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
84996         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
84997         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
84998         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
84999         * sysdeps/sh/crti.S: Likewise.
85000         * sysdeps/sh/crtn.S: Likewise.
85001         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
85003         [BZ #13673]
85004         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
85005         with URL.
85006         * locale/programs/locfile-kw.gperf: Likewise.
85007         * locale/programs/charmap-kw.h: Regenerated.
85008         * locale/programs/locfile-kw.h: Likewise.
85010         [BZ #13673]
85011         * intl/plural.y: Replace FSF snail mail address with URL.
85012         * intl/plural.c: Regenerated.
85014 2012-03-09  Richard Henderson  <rth@twiddle.net>
85016         * include/math_private.h: Remove file.
85017         * math/math_private.h: Move file ...
85018         * sysdeps/generic/math_private.h: ... here.
85020         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
85021         * sysdeps/powerpc/fpu/math_private.h: Likewise.
85022         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85024         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
85025         and <math_private.h>.
85026         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85027         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85028         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85029         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85030         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85031         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
85032         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85033         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85034         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85035         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85037         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85038         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85039         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85040         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85041         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85042         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85043         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85044         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85045         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85047         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85048         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85050         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
85051         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85052         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85053         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85054         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85055         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85056         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85057         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85058         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
85059         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85060         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85061         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85062         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85063         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85064         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85065         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85066         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
85067         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85068         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85069         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
85070         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
85071         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85072         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
85073         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
85074         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85075         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85076         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
85077         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
85078         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85079         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85080         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85081         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85082         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85083         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85084         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85085         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85086         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85087         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85088         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85089         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85090         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85091         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85092         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85093         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85094         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85095         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85096         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85097         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85098         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85099         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85100         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85101         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85102         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85104         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85105         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85106         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85107         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85108         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85109         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85110         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85111         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85113         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85114         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85115         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85116         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85117         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85118         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85119         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85120         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85121         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85122         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85123         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85124         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85125         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85126         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85127         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85128         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85129         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85130         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85131         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85132         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85133         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85134         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85135         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85136         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85137         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85138         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85139         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85140         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85141         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85142         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85143         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85144         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85145         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85146         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85147         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85148         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85149         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85150         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85151         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85152         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85153         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
85154         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85155         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
85156         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
85157         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85158         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85159         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
85160         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
85161         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85162         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85163         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85164         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
85165         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85166         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85167         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85168         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85169         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
85170         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
85171         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85172         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85173         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85174         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
85175         * sysdeps/ieee754/k_standard.c: Likewise.
85176         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85177         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85178         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85179         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85180         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85181         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85182         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85183         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85184         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85185         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85186         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85187         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85188         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85189         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85190         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85191         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85192         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
85193         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85194         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85195         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
85196         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
85197         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
85198         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85199         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85200         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
85201         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
85202         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85203         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85204         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85205         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85206         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
85207         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85208         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85209         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85210         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
85211         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85212         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85213         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
85214         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
85215         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85216         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
85217         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
85218         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
85219         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85220         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85221         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
85222         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85223         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85224         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85225         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85226         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85227         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
85228         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85229         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
85230         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85231         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85232         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
85233         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
85234         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85235         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85236         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85237         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
85238         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85239         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85240         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85241         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85242         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85243         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85244         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85245         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85246         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85247         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85248         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85249         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85250         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85251         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85252         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
85253         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85254         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85255         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
85256         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
85257         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
85258         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85259         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85260         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
85261         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85262         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85263         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
85264         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
85265         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85266         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
85267         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85268         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
85269         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
85270         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85271         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85272         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
85273         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
85274         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
85275         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
85276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85277         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85278         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85279         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85280         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
85281         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85282         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85283         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
85284         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
85285         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85286         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85287         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85288         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85289         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85290         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85291         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85292         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85293         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85294         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85295         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85296         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85297         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85298         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85299         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85300         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85301         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
85302         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85303         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85304         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85305         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85306         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85307         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85308         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85309         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
85310         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85311         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85312         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
85313         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
85314         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85315         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
85316         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
85317         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85318         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
85319         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
85320         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85321         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85322         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85323         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85324         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85325         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
85326         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85327         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85328         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85329         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85330         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
85331         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
85332         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85333         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85334         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85335         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
85336         * sysdeps/ieee754/s_lib_version.c: Likewise.
85337         * sysdeps/ieee754/s_matherr.c: Likewise.
85338         * sysdeps/ieee754/s_signgam.c: Likewise.
85339         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85340         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85341         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
85342         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
85343         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
85344         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
85345         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
85346         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
85347         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
85348         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
85349         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
85350         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
85351         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85352         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85353         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
85354         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
85355         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
85356         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
85357         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
85358         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85361 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85363         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
85364         * sunrpc/rpc_main.c: Likewise.
85365         * sunrpc/rpc_svcout.c: Likewise.
85367 2012-03-09  David S. Miller  <davem@davemloft.net>
85369         * include/math_private.h: New file.
85371 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85373         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85374         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85375         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85376         from <bits/socket_type.h>.
85377         (enum __socket_type): Don't define here.
85378         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85379         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85380         bits/socket_type.h.
85382         [BZ #13566]
85383         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85384         checking __USE_GNU.
85386         * Makerules ($(inst_includedir)/%.h): New rule.
85387         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85388         (install-others): Remove variable setting.
85389         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85391 2012-03-08  Richard Henderson  <rth@twiddle.net>
85393         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85394         from macro to inline function; merge with the
85395         !__LIBC_INTERNAL_MATH_INLINES version.
85396         (__ieee754_sqrtf): Likewise.
85398         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85399         to inline function.
85400         (__rintf, __floor, __floorf): Likewise.
85402         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85403         macro to inline function.
85404         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85406         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85407         not <math/math_private.h>.
85409 2012-03-08  David S. Miller  <davem@davemloft.net>
85411         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85412         copyright year.
85413         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85415 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
85417         * resolv/gai_misc.c (handle_requests): Fix struct timespec
85418         normalization.
85419         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85420         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85422 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
85424         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
85425         be defined individually, they must be defined as a block.  Define
85426         S for printing a string instead of hidint the different by using a
85427         macro for adding the 'l'.
85428         * stdio-common/tst-fphex-wide.c: Adjust.
85430 2012-03-07  Marek Polacek  <polacek@redhat.com>
85432         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85434 2012-03-08  Marek Polacek  <polacek@redhat.com>
85436         [BZ #13806]
85437         * stdio-common/Makefile (tests): Add tst-fphex-wide.
85438         * stdio-common/tst-fphex.c: Define a few macros to make the
85439         test reusable.  Use them.
85440         * stdio-common/tst-fphex-wide.c: New file.
85442 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
85444         [BZ #6911]
85445         * manual/macros.texi (gnusystems): New macro.
85446         (nongnusystems): Likewise.
85447         (gnulinuxhurdsystems): Likewise.
85448         (gnuhurdsystems): Likewise..
85449         (gnulinuxsystems): Likewise.
85450         * manual/charset.texi: Use new macros or @theglibc{} to refer to
85451         variants of the GNU system, not "GNU system".
85452         * manual/conf.texi: Likewise.
85453         * manual/errno.texi: Likewise.  Update example of errno macro
85454         expansion.
85455         * manual/filesys.texi: Likewise.
85456         (getumask): Document as specific to GNU/Hurd.
85457         * manual/install.texi: Likewise.  Reword some references to
85458         GNU/Linux.
85459         * manual/intro.texi: Likewise.
85460         * manual/io.texi: Likewise.
85461         (File Name Portability): Detail which constraints are inapplicable
85462         to all GNU systems and which are only inapplicable to GNU/Hurd.
85463         * manual/job.texi: Likewise.
85464         * manual/llio.texi: Likewise.
85465         (O_NOCTTY): Document as present on GNU/Linux.
85466         * manual/maint.texi: Likewise.
85467         * manual/memory.texi: Likewise.
85468         * manual/pattern.texi: Likewise.
85469         * manual/pipe.texi: Likewise.
85470         * manual/process.texi: Likewise.
85471         * manual/resource.texi: Likewise.
85472         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85473         child on GNU/Hurd.
85474         * manual/setjmp.texi: Likewise.
85475         * manual/signal.texi: Likewise.
85476         * manual/startup.texi: Likewise.
85477         * manual/stdio.texi: Likewise.
85478         * manual/terminal.texi: Likewise.
85479         (ONLCR): Document as POSIX.
85480         (OXTABS): Document availability on GNU/Linux as XTABS.
85481         (ONOEOT): Document availability separately from other bits.
85482         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85483         * manual/time.texi: Likewise.
85484         * manual/users.texi: Likewise.
85485         * INSTALL: Regenerated.
85486         * sysdeps/gnu/errlist.c: Regenerated.
85488         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85489         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85490         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85491         puts.
85492         * configure: Regenerated.
85494 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85496         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85497         default includes instead of AC_HEADER_CHECK.
85498         * sysdeps/i386/configure: Regenerated.
85500         [BZ #10716]
85501         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85502         * math/s_cacoshf.c (__cacoshf): Likewise.
85503         * math/s_cacoshl.c (__cacoshl): Likewise.
85504         * math/s_casinh.c (__casinh): Set signs of result from argument.
85505         * math/s_casinhf.c (__casinhf): Likewise.
85506         * math/s_casinhl.c (__casinhl): Likewise.
85507         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85508         (casinh_test): Add more tests.
85509         * sysdeps/i386/fpu/libm-test-ulps: Update.
85510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85512 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85514         * po/zh_TW.po: Update from translation team.
85516         * login/Makefile (distribute): Remove variable.
85517         * catgets/Makefile: Likewise.
85518         * mach/Makefile: Likewise.
85519         * malloc/Makefile: Likewise.
85520         * misc/Makefile: Likewise.
85521         * iconv/Makefile: Likewise.
85522         * nscd/Makefile: Likewise.
85523         * hurd/Makefile: Likewise.
85524         * manual/Makefile: Likewise.
85525         * locale/Makefile: Likewise.
85526         * intl/Makefile: Likewise.
85527         * conform/Makefile: Likewise.
85528         * nss/Makefile: Likewise.
85529         * time/Makefile: Likewise.
85530         * soft-fp/Makefile: Likewise.
85531         * dirent/Makefile: Likewise.
85532         * gmon/Makefile: Likewise.
85533         * po/Makefile: Likewise.
85534         * rt/Makefile: Likewise.
85535         * socket/Makefile: Likewise.
85536         * math/Makefile: Likewise.
85537         * signal/Makefile: Likewise.
85538         * debug/Makefile: Likewise.
85539         * elf/Makefile: Likewise.
85540         * timezone/Makefile: Likewise.
85541         * stdlib/Makefile: Likewise.
85542         * iconvdata/Makefile: Likewise.
85543         * sunrpc/Makefile: Likewise.
85544         * io/Makefile: Likewise.
85545         * argp/Makefile: Likewise.
85546         * inet/Makefile: Likewise.
85547         * hesiod/Makefile: Likewise.
85548         * grp/Makefile: Likewise.
85549         * csu/Makefile: Likewise.
85550         * wctype/Makefile: Likewise.
85551         * crypt/Makefile: Likewise.
85552         * libio/Makefile: Likewise.
85553         * string/Makefile: Likewise.
85554         * nis/Makefile: Likewise.
85555         * resolv/Makefile: Likewise.
85556         * stdio-common/Makefile: Likewise.
85557         * wcsmbs/Makefile: Likewise.
85558         * dlfcn/Makefile: Likewise.
85559         * posix/Makefile: Likewise.
85561         [BZ #6959]
85562         * timezone/Makefile: Don't install timezone files, just the programs
85563         and scripts.
85565 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
85567         * nss/databases.def: Add missing gshadow entry.
85569         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
85571 2012-03-06  Marek Polacek  <polacek@redhat.com>
85573         [BZ #13726]
85574         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85575         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85576         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85577         * stdio-common/tst-long-dbl-fphex.c: New file.
85579 2012-03-06  David S. Miller  <davem@davemloft.net>
85581         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85582         (set_obp_int): New function.
85583         (get_obp_int): New function.
85584         (__get_clockfreq_via_dev_openprom): Likewise.
85585         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85586         Avoid unused variable warnings on 'val' and use builtin_expect.
85587         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85588         __builtin_expect.
85589         (INLINE_CLONE_SYSCALL): Likewise.
85591 2012-03-05  David S. Miller  <davem@davemloft.net>
85593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85595 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
85597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85599         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85600         only for |x| >= 40.
85601         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85603 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
85605         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85606         Replace gettimeofday with __vdso_gettimeofday.
85608         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85609         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85610         __vdso_clock_gettime and __vdso_getcpu.
85612         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85613         time with __vdso_time.
85615 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85617         * manual/lang.texi (size_t): Note types to which size_t may be
85618         equivalent with the GNU C Library, but do not describe when
85619         differences between them are significant.
85621 2012-03-05  Andreas Jaeger  <aj@suse.de>
85623         * sysdeps/i386/fpu/libm-test-ulps: Update.
85625 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85627         [BZ #3976]
85628         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85629         (__ieee754_pow): Save and restore rounding mode and use
85630         round-to-nearest for main computations.
85631         * math/libm-test.inc (pow_test_tonearest): New function.
85632         (pow_test_towardzero): Likewise.
85633         (pow_test_downward): Likewise.
85634         (pow_test_upward): Likewise.
85635         (main): Call the new functions.
85636         * sysdeps/i386/fpu/libm-test-ulps: Update.
85637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85639         [BZ #3976]
85640         * math/libm-test.inc (cosh_test_tonearest): New function.
85641         (cosh_test_towardzero): Likewise.
85642         (cosh_test_downward): Likewise.
85643         (cosh_test_upward): Likewise.
85644         (sinh_test_tonearest): Likewise.
85645         (sinh_test_towardzero): Likewise.
85646         (sinh_test_downward): Likewise.
85647         (sinh_test_upward): Likewise.
85648         (main): Call the new functions.
85649         * sysdeps/i386/fpu/libm-test-ulps: Update.
85650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85652 2012-03-05  Tom de Vries  <tom@codesourcery.com>
85654         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85655         default stack guard is set in last bytes.
85656         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85658 2012-03-05  Kees Cook  <keescook@chromium.org>
85660         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85662         [BZ #13656]
85663         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85664         possibly allocate from heap instead of stack.
85665         * stdio-common/bug-vfprintf-nargs.c: New file.
85666         * stdio-common/Makefile (tests): Add nargs overflow test.
85668 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
85670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85672 2012-03-03  Marek Polacek  <polacek@redhat.com>
85674         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85675         * math/math_private.h: Likewise.
85676         * stdlib/tst-strtod.c: Likewise.
85677         * sysdeps/i386/i486/bits/atomic.h: Likewise.
85678         * sysdeps/x86_64/bits/atomic.h: Likewise.
85680 2012-03-02  David S. Miller  <davem@davemloft.net>
85682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85686         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85687         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85688         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85689         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85691 2012-03-02  Roland McGrath  <roland@hack.frob.com>
85693         [BZ #13792]
85694         * manual/examples/README: New file, says the example source files
85695         can be used under GPL>=2.
85696         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85697         line containing just "*/".
85698         * manual/examples/add.c: Add copyright header (GPL>=2).
85699         * manual/examples/argp-ex1.c: Likewise.
85700         * manual/examples/argp-ex2.c: Likewise.
85701         * manual/examples/argp-ex3.c: Likewise.
85702         * manual/examples/argp-ex4.c: Likewise.
85703         * manual/examples/atexit.c: Likewise.
85704         * manual/examples/db.c: Likewise.
85705         * manual/examples/dir.c: Likewise.
85706         * manual/examples/dir2.c: Likewise.
85707         * manual/examples/execinfo.c: Likewise.
85708         * manual/examples/filecli.c: Likewise.
85709         * manual/examples/filesrv.c: Likewise.
85710         * manual/examples/fmtmsgexpl.c: Likewise.
85711         * manual/examples/genpass.c: Likewise.
85712         * manual/examples/inetcli.c: Likewise.
85713         * manual/examples/inetsrv.c: Likewise.
85714         * manual/examples/isockad.c: Likewise.
85715         * manual/examples/longopt.c: Likewise.
85716         * manual/examples/memopen.c: Likewise.
85717         * manual/examples/memstrm.c: Likewise.
85718         * manual/examples/mkfsock.c: Likewise.
85719         * manual/examples/mkisock.c: Likewise.
85720         * manual/examples/mygetpass.c: Likewise.
85721         * manual/examples/pipe.c: Likewise.
85722         * manual/examples/popen.c: Likewise.
85723         * manual/examples/rprintf.c: Likewise.
85724         * manual/examples/search.c: Likewise.
85725         * manual/examples/select.c: Likewise.
85726         * manual/examples/setjmp.c: Likewise.
85727         * manual/examples/sigh1.c: Likewise.
85728         * manual/examples/sigusr.c: Likewise.
85729         * manual/examples/stpcpy.c: Likewise.
85730         * manual/examples/strdupa.c: Likewise.
85731         * manual/examples/strftim.c: Likewise.
85732         * manual/examples/strncat.c: Likewise.
85733         * manual/examples/subopt.c: Likewise.
85734         * manual/examples/swapcontext.c: Likewise.
85735         * manual/examples/termios.c: Likewise.
85736         * manual/examples/testopt.c: Likewise.
85737         * manual/examples/testpass.c: Likewise.
85738         * manual/examples/timeval_subtract.c: Likewise.
85740         [BZ #13792]
85741         * manual/time.texi (Elapsed Time): Move timeval_subtract example
85742         function to ...
85743         * manual/timeval_subtract.c.texi: ... here, new file.
85745 2012-03-02  David S. Miller  <davem@davemloft.net>
85747         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85749 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
85751         [BZ #3976]
85752         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85753         (__sin): Save and restore rounding mode and use round-to-nearest
85754         for all computations.
85755         (__cos): Save and restore rounding mode and use round-to-nearest
85756         for all computations.
85757         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85758         <fenv.h>.
85759         (tan): Save and restore rounding mode and use round-to-nearest for
85760         all computations.
85761         * math/libm-test.inc (cos_test_tonearest): New function.
85762         (cos_test_towardzero): Likewise.
85763         (cos_test_downward): Likewise.
85764         (cos_test_upward): Likewise.
85765         (sin_test_tonearest): Likewise.
85766         (sin_test_towardzero): Likewise.
85767         (sin_test_downward): Likewise.
85768         (sin_test_upward): Likewise.
85769         (tan_test_tonearest): Likewise.
85770         (tan_test_towardzero): Likewise.
85771         (tan_test_downward): Likewise.
85772         (tan_test_upward): Likewise.
85773         (main): Call the new functions.
85774         * sysdeps/i386/fpu/libm-test-ulps: Update.
85775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85777         [BZ #10135]
85778         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85779         small n, then large n, before computing and testing k+n.
85780         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85781         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85782         Likewise.
85783         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85784         Likewise.
85785         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85786         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85787         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85788         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85789         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85790         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85791         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
85792         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
85793         * math/libm-test.inc (scalbn_test): Add more tests.
85794         (scalbln_test): Likewise.
85796         * manual/filesys.texi (mode_t): Describe constraints on size and
85797         signedness, not exact equivalence to a particular type.
85798         (ino_t): Likewise.
85799         (ino64_t): Likewise.
85800         (dev_t): Likewise.
85801         (nlink_t): Likewise.
85802         (blkcnt_t): Likewise.
85803         (blkcnt64_t): Likewise.
85804         * manual/llio.texi (off_t): Likewise.
85806         [BZ #3976]
85807         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
85808         (__ieee754_exp): Save and restore rounding mode and use
85809         round-to-nearest for all computations.
85810         * math/libm-test.inc (exp_test_tonearest): New function.
85811         (exp_test_towardzero): Likewise.
85812         (exp_test_downward): Likewise.
85813         (exp_test_upward): Likewise.
85814         (main): Call the new functions.
85815         * sysdeps/i386/fpu/libm-test-ulps: Update.
85816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85818 2012-03-01  Chris Demetriou  <cgd@google.com>
85820         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
85821         have predictable order.
85823 2012-03-01  David S. Miller  <davem@davemloft.net>
85825         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
85827         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
85828         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
85829         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
85830         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
85832         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
85833         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
85834         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
85835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
85836         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
85837         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
85838         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
85839         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
85840         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
85842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85844         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
85845         * sysdeps/sparc/fpu/libm-test-ulps: to here.
85846         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
85848         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
85849         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85850         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85851         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
85852         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
85853         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
85854         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
85855         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85856         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85857         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
85858         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
85859         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85860         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85861         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85862         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85863         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85864         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
85865         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
85866         * sysdeps/sparc/elf/configure: Regenerated.
85868 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
85870         * configure.in (AS, LD): Require binutils 2.20 or later.
85871         * configure: Regenerated.
85872         * manual/install.texi (Tools for Compilation): Give binutils 2.20
85873         as required minimum version.
85874         * INSTALL: Regenerated.
85876         [BZ #2541]
85877         [BZ #4108]
85878         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
85879         before squaring exponent.
85880         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
85881         bottom long double and 27 bits of top long double before squaring
85882         exponent.
85883         * math/libm-test.inc (erfc_test): Add more tests.
85884         * sysdeps/i386/fpu/libm-test-ulps: Update.
85885         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85888 2012-03-01  Kai Tietz  <ktietz@redhat.com>
85890         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
85891         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
85892         containing bit-fields.
85893         * soft-fp/extended.h (_FP_UNION_E): Likewise.
85894         * soft-fp/single.h (_FP_UNION_S): Likewise.
85895         * soft-fp/double.h (_FP_UNION_D): Likewise.
85897 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85899         [BZ #13786]
85900         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
85901         not include ../strcmp.S.
85902         [USE_AS_STRNCASECMP_L]: Likewise.
85903         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
85904         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
85905         * sysdeps/i386/i686/multiarch/strncase_l-c.c
85906         (__strncasecmp_l_ia32): Define as alias to
85907         __strncasecmp_l_nonascii.
85909         [BZ #5794]
85910         * math/libm-test.inc (expm1_test): Add test for bug 5794.
85911         * sysdeps/i386/fpu/libm-test-ulps: Update.
85912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85914         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
85915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85917 2012-02-29  Jeff Law  <law@redhat.com>
85919         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
85920         out of bounds read.
85922 2012-02-29  Marek Polacek  <polacek@redhat.com>
85924         [BZ #13706]
85925         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
85926         * elf/Makefile: Add rules to run tst-unused-dep.out.
85928 2012-02-28  David S. Miller  <davem@davemloft.net>
85930         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
85931         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
85932         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
85933         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
85934         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
85935         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
85937 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85939         * math/libm-test.inc (llround_test): Move one test from
85940         lround_test.  Use TEST_f_L in moved test.
85941         (lround_test): Move misplaced test to llround_test.  Add testcase
85942         from bug 2561.
85944 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
85946         * sysdeps/x86_64/fpu/e_expf.S: New file.
85947         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
85949 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
85951         [BZ #13637]
85952         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
85953         of remain_len that may cause incomplete multi-byte character and
85954         false match.
85955         * posix/bug-regex33.c: New file.
85956         * posix/Makefile (tests): Add bug-regex33.
85958 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
85960         * manual/macros.texi: New file.
85961         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
85962         * manual/libc.texinfo: Include macros.texi.
85963         * manual/creatute.texi: Likewise.
85964         * manual/install.texi: Likewise.
85965         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
85966         @glibcadj{} in references to the GNU C Library.
85967         * manual/charset.texi: Likewise.
85968         * manual/conf.texi: Likewise.
85969         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
85970         when not using those macros.
85971         * manual/creature.texi: Likewise.
85972         * manual/crypt.texi: Likewise.
85973         * manual/errno.texi: Likewise.
85974         * manual/filesys.texi: Likewise.
85975         * manual/header.texi: Likewise.
85976         * manual/install.texi: Likewise.
85977         * manual/intro.texi: Likewise.
85978         * manual/io.texi: Likewise.
85979         * manual/job.texi: Likewise.
85980         * manual/lang.texi: Likewise.
85981         * manual/libc.texiinfo: Likewise.
85982         * manual/llio.texi: Likewise.
85983         * manual/locale.texi: Likewise.
85984         * manual/maint.texi: Likewise.
85985         * manual/math.texi: Likewise.
85986         * manual/memory.texi: Likewise.
85987         * manual/message.texi: Likewise.
85988         * manual/nss.texi: Likewise.
85989         * manual/pattern.texi: Likewise.
85990         * manual/process.texi: Likewise.
85991         * manual/resource.texi: Likewise.
85992         * manual/search.texi: Likewise.
85993         * manual/setjmp.texi: Likewise.
85994         * manual/signal.texi: Likewise.
85995         * manual/socket.texi: Likewise.
85996         * manual/startup.texi: Likewise.
85997         * manual/stdio.texi: Likewise.
85998         * manual/string.texi: Likewise.
85999         * manual/sysinfo.texi: Likewise.
86000         * manual/syslog.texi: Likewise.
86001         * manual/terminal.texi: Likewise.
86002         * manual/time.texi: Likewise.
86003         * manual/users.texi: Likewise.
86004         * INSTALL: Regenerated.
86005         * NOTES: Regenerated.
86006         * sysdeps/gnu/errlist.c: Regenerated.
86008 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
86010         * include/dirent.h: Include <dirstream.h> before
86011         <dirent/dirent.h>.
86013 2012-02-28  David S. Miller  <davem@davemloft.net>
86015         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
86016         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
86017         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
86018         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
86020 2012-02-27  David S. Miller  <davem@davemloft.net>
86022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
86023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
86024         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
86025         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
86027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
86028         frame pointer instead of stack pointer relative arg slot.
86029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86030         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86031         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86033 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
86035         [BZ #3992]
86036         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
86038 2012-02-27  David S. Miller  <davem@davemloft.net>
86040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
86041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
86043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
86044         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86045         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86046         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
86047         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
86049 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86051         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
86052         later.  Allow versions 5-9.
86053         * configure: Regenerated.
86054         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
86055         required minimum version and 4.6 as recommended version.  Do not
86056         mention bugs in GCC 2.7 and 2.8.
86057         * INSTALL: Regenerated.
86059 2012-02-27  David S. Miller  <davem@davemloft.net>
86061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
86062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
86063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
86064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
86065         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
86066         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
86067         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
86068         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
86070         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
86071         manipulate bits before adding and subtracting TWO112[sx].
86072         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
86074 2012-02-27  Roland McGrath  <roland@hack.frob.com>
86076         [BZ #13775]
86077         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
86078         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86079         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86080         being in POSIX, because they are in 1003.1-2008.
86082         * rt/tst-aio.c: Include <fcntl.h>.
86083         * rt/tst-aio7.c: Likewise.
86084         * rt/tst-aio64.c: Likewise.
86086         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86088 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86090         * manual/install.texi (--with-headers): Describe headers as
86091         interface headers, not private headers.
86092         (Specific advice for GNU/Linux systems): Describe use of headers
86093         from "make headers_install", not private headers from older
86094         kernels.
86095         * INSTALL: Regenerated.
86096         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86097         Change to 2.6.19.
86098         * sysdeps/unix/sysv/linux/configure: Regenerated.
86100         * manual/llio.texi (fclean): Remove documentation.
86102         * manual/Makefile (libc-texi-generated): New variable.  Include
86103         version.texi.
86104         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86105         $(libc-texi-generated), not duplicated list of files.
86106         (version.texi, stamp-version): New rules.
86107         (realclean): Remove $(libc-texi-generated), not individual files
86108         from that list.  Do not remove dir-add.texinfo.
86109         * manual/libc.texinfo: Comment out uses of edition numbers and
86110         references to printed manual.  Remove last-updated dates.
86111         (EDITION): Comment out.
86112         (ISBN): Likewise.
86113         (VERSION, UPDATED): Remove.
86114         (version.texi): Include.
86116 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
86118         * sysdeps/posix/spawni.c: Include <signal.h>.
86119         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86120         * sysdeps/pthread/aio_fsync.c: Likewise.
86122 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
86124         * conform/Makefile (tests): Run only when not cross-compiling and
86125         when fast-check is not defined.
86127         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86128         * conform/data/limits.h-data: Fixes for POSIX2008.
86129         * conform/run-conformtest.sh: Run all tests.
86130         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86131         headers.
86132         * include/bits/dlfcn.h: Likewise.
86133         * include/langinfo.h: Likewise.
86134         * include/monetary.h: Likewise.
86135         * include/sys/poll.h: Likewise.
86137         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86138         for __USE_GNU.
86139         * posix/spawn.h: Define __need_sigset_t.
86140         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86141         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86142         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
86143         to get sigevent_t only.
86144         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86145         only for __USE_GNU.
86146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86147         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86148         process_vm_writev only for __USE_GNU.
86149         * termios/termios.h: Declare tcgetsid also for POSIX2008.
86151         * conform/Makefile: For now ignore errors from run-conformtest.
86152         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
86153         POSIX to avoid namespace pollution.  Don't prepend headers.
86154         * conform/data/aio.h-data: Fixes for POSIX testing.
86155         * conform/data/fcntl.h-data: Likewise.
86156         * conform/data/glob.h-data: Likewise.
86157         * conform/data/grp.h-data: Likewise.
86158         * conform/data/pthread.h-data: Likewise.
86159         * conform/data/pwd.h-data: Likewise.
86160         * conform/data/signal.h-data: Likewise.
86161         * conform/data/spawn.h-data: Likewise.
86162         * conform/data/stdio.h-data: Likewise.
86163         * conform/data/stdlib.h-data: Likewise.
86164         * conform/data/stropts.h-data: Likewise.
86165         * conform/data/sys/mman.h-data: Likewise.
86166         * conform/data/sys/stat.h-data: Likewise.
86167         * conform/data/sys/types.h-data: Likewise.
86168         * conform/data/sys/wait.h-data: Likewise.
86169         * conform/data/time.h-data: Likewise.
86170         * conform/data/unistd.h-data: Likewise.
86171         * conform/data/utime.h-data: Likewise.
86173         * io/sys/stat.h: fchmod was always in POSIX.
86174         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
86175         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
86176         * rt/aio.h: Define __need_timespec before including <time.h>.
86177         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
86178         struct.  Add forward declaration of pthread_attr_t and use it in
86179         sigevent.
86180         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86181         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86182         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
86183         always remove CLK_TCK definition.
86185 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
86187         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
86189 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
86191         * conform/run-conformtest.sh: New file.
86192         * conform/Makefile: Run run-conformtest for tests.
86193         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
86194         support.
86196         * conform/data/uchar.h-data: New file.
86197         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
86198         * conform/data/arpa/inet.h-data: Likewise.
86199         * conform/data/assert.h-data: Likewise.
86200         * conform/data/complex.h-data: Likewise.
86201         * conform/data/cpio.h-data: Likewise.
86202         * conform/data/ctype.h-data: Likewise.
86203         * conform/data/dirent.h-data: Likewise.
86204         * conform/data/dlfcn.h-data: Likewise.
86205         * conform/data/errno.h-data: Likewise.
86206         * conform/data/fcntl.h-data: Likewise.
86207         * conform/data/float.h-data: Likewise.
86208         * conform/data/fmtmsg.h-data: Likewise.
86209         * conform/data/fnmatch.h-data: Likewise.
86210         * conform/data/ftw.h-data: Likewise.
86211         * conform/data/glob.h-data: Likewise.
86212         * conform/data/grp.h-data: Likewise.
86213         * conform/data/iconv.h-data: Likewise.
86214         * conform/data/inttypes.h-data: Likewise.
86215         * conform/data/langinfo.h-data: Likewise.
86216         * conform/data/libgen.h-data: Likewise.
86217         * conform/data/limits.h-data: Likewise.
86218         * conform/data/locale.h-data: Likewise.
86219         * conform/data/math.h-data: Likewise.
86220         * conform/data/monetary.h-data: Likewise.
86221         * conform/data/mqueue.h-data: Likewise.
86222         * conform/data/ndbm.h-data: Likewise.
86223         * conform/data/net/if.h-data: Likewise.
86224         * conform/data/netdb.h-data: Likewise.
86225         * conform/data/netinet/in.h-data: Likewise.
86226         * conform/data/nl_types.h-data: Likewise.
86227         * conform/data/poll.h-data: Likewise.
86228         * conform/data/pthread.h-data: Likewise.
86229         * conform/data/pwd.h-data: Likewise.
86230         * conform/data/regex.h-data: Likewise.
86231         * conform/data/sched.h-data: Likewise.
86232         * conform/data/search.h-data: Likewise.
86233         * conform/data/semaphore.h-data: Likewise.
86234         * conform/data/setjmp.h-data: Likewise.
86235         * conform/data/signal.h-data: Likewise.
86236         * conform/data/spawn.h-data: Likewise.
86237         * conform/data/stdarg.h-data: Likewise.
86238         * conform/data/stdio.h-data: Likewise.
86239         * conform/data/stdlib.h-data: Likewise.
86240         * conform/data/string.h-data: Likewise.
86241         * conform/data/strings.h-data: Likewise.
86242         * conform/data/stropts.h-data: Likewise.
86243         * conform/data/sys/ipc.h-data: Likewise.
86244         * conform/data/sys/mman.h-data: Likewise.
86245         * conform/data/sys/msg.h-data: Likewise.
86246         * conform/data/sys/resource.h-data: Likewise.
86247         * conform/data/sys/select.h-data: Likewise.
86248         * conform/data/sys/sem.h-data: Likewise.
86249         * conform/data/sys/shm.h-data: Likewise.
86250         * conform/data/sys/socket.h-data: Likewise.
86251         * conform/data/sys/stat.h-data: Likewise.
86252         * conform/data/sys/statvfs.h-data: Likewise.
86253         * conform/data/sys/time.h-data: Likewise.
86254         * conform/data/sys/timeb.h-data: Likewise.
86255         * conform/data/sys/times.h-data: Likewise.
86256         * conform/data/sys/types.h-data: Likewise.
86257         * conform/data/sys/uio.h-data: Likewise.
86258         * conform/data/sys/un.h-data: Likewise.
86259         * conform/data/sys/utsname.h-data: Likewise.
86260         * conform/data/sys/wait.h-data: Likewise.
86261         * conform/data/syslog.h-data: Likewise.
86262         * conform/data/tar.h-data: Likewise.
86263         * conform/data/termios.h-data: Likewise.
86264         * conform/data/utime.h-data: Likewise.
86265         * conform/data/utmpx.h-data: Likewise.
86266         * conform/data/varargs.h-data: Likewise.
86267         * conform/data/wchar.h-data: Likewise.
86268         * conform/data/wctype.h-data: Likewise.
86269         * conform/data/wordexp.h-data: Likewise.
86271         * include/stropts.h: New file.
86272         * include/uchar.h: New file.
86273         * include/aio.h: Changes to allow conformtest.pl to use the headers.
86274         * include/assert.h: Likewise.
86275         * include/ctype.h: Likewise.
86276         * include/dirent.h: Likewise.
86277         * include/dlfcn.h: Likewise.
86278         * include/fcntl.h: Likewise.
86279         * include/fnmatch.h: Likewise.
86280         * include/glob.h: Likewise.
86281         * include/grp.h: Likewise.
86282         * include/libio.h: Likewise.
86283         * include/locale.h: Likewise.
86284         * include/math.h: Likewise.
86285         * include/net/if.h: Likewise.
86286         * include/netdb.h: Likewise.
86287         * include/netinet/in.h: Likewise.
86288         * include/pthread.h: Likewise.
86289         * include/pwd.h: Likewise.
86290         * include/regex.h: Likewise.
86291         * include/sched.h: Likewise.
86292         * include/search.h: Likewise.
86293         * include/setjmp.h: Likewise.
86294         * include/signal.h: Likewise.
86295         * include/stdio.h: Likewise.
86296         * include/stdlib.h: Likewise.
86297         * include/string.h: Likewise.
86298         * include/sys/cdefs.h: Likewise.
86299         * include/sys/mman.h: Likewise.
86300         * include/sys/msg.h: Likewise.
86301         * include/sys/resource.h: Likewise.
86302         * include/sys/select.h: Likewise.
86303         * include/sys/socket.h: Likewise.
86304         * include/sys/stat.h: Likewise.
86305         * include/sys/statvfs.h: Likewise.
86306         * include/sys/time.h: Likewise.
86307         * include/sys/times.h: Likewise.
86308         * include/sys/uio.h: Likewise.
86309         * include/sys/utsname.h: Likewise.
86310         * include/sys/wait.h: Likewise.
86311         * include/termios.h: Likewise.
86312         * include/time.h: Likewise.
86313         * include/ulimit.h: Likewise.
86314         * include/unistd.h: Likewise.
86315         * include/utime.h: Likewise.
86316         * include/wchar.h: Likewise.
86317         * include/wctype.h: Likewise.
86318         * include/wordexp.h: Likewise.
86320         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
86322         * time/time.h: TIME_UTC must be a macro.
86323         Make timespec_get available for ISO C11 only as well.
86325 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
86327         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
86328         Reported by Peng Haitao <penght@cn.fujitsu.com>.
86330 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86332         * configure.in: Use -o not -a in test for unsupported multi-arch.
86334 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86336         * manual/texinfo.tex: Update to version 2012-01-19.16.
86338 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86340         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
86342 2012-02-24  Roland McGrath  <roland@hack.frob.com>
86344         [BZ #13738]
86345         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
86346         * manual/fdl-1.3.texi: New file.
86347         * manual/fdl-1.1.texi: File removed.
86349         [BZ #13738]
86350         * manual/libc.texinfo (FDL_VERSION): New @set.
86351         Use it for mention of FDL in cover text.
86352         (Documentation License): Use it in @include file name.
86354 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86355             Roland McGrath  <roland@hack.frob.com>
86357         [BZ #5461]
86358         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
86359         (not LONG_LONG_MAX and LONG_LONG_MIN.
86360         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
86361         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
86362         name.
86363         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
86365 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86367         [BZ #2547]
86368         [BZ #11365]
86369         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
86370         manipulate bits before adding and subtracting TWO23[sx].
86371         * math/libm-test.inc (nearbyint_test): Add more tests.
86373 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86375         [BZ #2548]
86376         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86377         bits before adding and subtracting TWO23[sx].
86378         * math/libm-test.inc (rint_test): Add more tests.
86379         (rint_test_tonearest): Likewise.
86380         (rint_test_towardzero): Likewise.
86381         (rint_test_downward): Likewise.
86382         (rint_test_upward: Likewise.
86384 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86386         [BZ #10110]
86387         * include/stdc-predef.h: New file.  Extracted from features.h.
86388         * include/features.h: Include stdc-predef.h.
86389         * Makefile (headers): Add stdc-predef.h.
86390         * CONFORMANCE (Compiler limitations): Update.
86392 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86394         * manual/libc.texinfo (VERSION, UPDATED): Revert.
86396 2012-02-21  David S. Miller  <davem@davemloft.net>
86398         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86399         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86401 2012-02-20  David S. Miller  <davem@davemloft.net>
86403         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86404         using a normal save/restore sequence, rather than allocating a
86405         dummy stack frame just to store a frame pointer and restore.
86406         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86408 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86410         * manual/install.texi: Fix stray word in line-wrapped comment.
86412 2012-02-20  David S. Miller  <davem@davemloft.net>
86414         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86415         both binutils and gcc support GOTDATA.
86417         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86418         "rd %pc" in the PIC register setup sequences.
86420         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86421         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86422         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86423         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86424         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86426         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86427         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86429         (SYSCALL_ERROR_HANDLER): Likewise.
86430         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86431         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86432         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86433         (SYSCALL_ERROR_HANDLER): Likewise.
86435         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86436         (HAVE_GCC_GOTDATA): New.
86437         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86438         relocation support in both binutils and gcc.
86439         * sysdeps/sparc/elf/configure: Regenerate.
86441         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86442         * sysdeps/sparc/sparc32/elf/configure: Delete.
86443         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86444         * sysdeps/sparc/sparc64/elf/configure: Delete.
86445         * sysdeps/sparc/elf/configure.in: New file.
86446         * sysdeps/sparc/elf/configure: Generate.
86448         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86449         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86450         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86451         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86452         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86454 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86456         * manual/install.texi: Do not mention specific glibc version
86457         numbers.
86458         * manual/libc.texinfo (VERSION, UPDATED): Update.
86459         (@copying): Use @copyright{} and range of years.
86461 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86463         [BZ #13695]
86464         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86465         [crti.S not in sysdirs] (generated): Do not append.
86466         [crti.S not in sysdirs] (omit-deps): Likewise.
86467         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86468         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86469         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86470         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86471         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86472         Likewise.
86473         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86474         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86475         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86476         * csu/defs.awk: Remove file.
86477         * sysdeps/generic/initfini.c: Likewise.
86478         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86479         variable.
86480         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86481         Likewise.
86483 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86485         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86486         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86487         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86488         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86489         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86490         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86491         <bits/epoll.h>.
86492         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86493         (__EPOLL_PACKED): Define to empty if not defined by
86494         <bits/epoll.h>.
86495         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86497         bits/epoll.h.
86499 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86501         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86502         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86503         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86504         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86505         <bits/timerfd.h>.
86506         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86508         bits/timerfd.h.
86510 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86512         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86513         in C locale.
86514         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86515         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86516         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86519 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86522         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86524 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86526         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86527         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86528         defined.
86529         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86530         Likewise.
86531         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86532         entry for 2.16.
86534 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86536         * math/w_acos.c: Use non-signaling floating-point comparisons.
86537         * math/w_acosf.c: Likewise.
86538         * math/w_acosh.c: Likewise.
86539         * math/w_acoshf.c: Likewise.
86540         * math/w_acoshl.c: Likewise.
86541         * math/w_acosl.c: Likewise.
86542         * math/w_asin.c: Likewise.
86543         * math/w_asinf.c: Likewise.
86544         * math/w_asinl.c: Likewise.
86545         * math/w_atanh.c: Likewise.
86546         * math/w_atanhf.c: Likewise.
86547         * math/w_atanhl.c: Likewise.
86548         * math/w_exp2.c: Likewise.
86549         * math/w_exp2f.c: Likewise.
86550         * math/w_exp2l.c: Likewise.
86551         * math/w_j0.c: Likewise.
86552         * math/w_j0f.c: Likewise.
86553         * math/w_j0l.c: Likewise.
86554         * math/w_j1.c: Likewise.
86555         * math/w_j1f.c: Likewise.
86556         * math/w_j1l.c: Likewise.
86557         * math/w_jn.c: Likewise.
86558         * math/w_jnf.c: Likewise.
86559         * math/w_log.c: Likewise.
86560         * math/w_log10.c: Likewise.
86561         * math/w_log10f.c: Likewise.
86562         * math/w_log10l.c: Likewise.
86563         * math/w_log2.c: Likewise.
86564         * math/w_log2f.c: Likewise.
86565         * math/w_log2l.c: Likewise.
86566         * math/w_logf.c: Likewise.
86567         * math/w_logl.c: Likewise.
86568         * math/w_sqrt.c: Likewise.
86569         * math/w_sqrtf.c: Likewise.
86570         * math/w_sqrtl.c: Likewise.
86571         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86572         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86573         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86574         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86575         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86577 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86579         [BZ #9739]
86580         * manual/string.texi (strnlen): Use correct parameter name in
86581         equivalent expression.
86583 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86585         [BZ #11174]
86586         * manual/users.texi (seteuid): Consistently use neweuid for
86587         argument name.
86589 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86591         [BZ #13704]
86592         * manual/nss.texi (Services in the NSS configuration): Correct
86593         list of services in example configuration file.
86595 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
86597         [BZ #11322]
86598         * manual/arith.texi: Remove statements about negative zero
86599         behaving identically to zero.
86601 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86603         [BZ #5993]
86604         * manual/install.texi: Do not document upgrading from libc5.
86606 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86608         [BZ #4596]
86609         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86611 2012-02-18  David S. Miller  <davem@davemloft.net>
86613         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86614         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86615         %o7 across the call.
86616         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86617         instead.
86618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86619         SETUP_PIC_REG_LEAF.
86620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86621         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86622         * sysdeps/sparc/crtn.S: Likewise.
86624 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
86626         * aout/Makefile: Remove.
86628 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
86630         [BZ #13058]
86631         * manual/examples/argp-ex1.c (main): Format definition in GNU
86632         style.
86633         * manual/examples/argp-ex2.c (main): Likewise.
86634         * manual/examples/argp-ex3.c (main): Likewise.
86635         * manual/examples/argp-ex4.c (main): Likewise.
86636         * manual/examples/longopt.c (main): Use new-style prototype
86637         definition.
86638         * manual/examples/strncat.c (main): Specify return type and use
86639         (void) for arguments.
86640         * manual/examples/subopt.c (main): Use char **argv argument.
86642 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86644         [BZ #5077]
86645         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86646         rounding modes.
86648 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
86650         [BZ #6907]
86651         * manual/string.texi (strchr): Change when strchrnul is
86652         recommended.
86654 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
86656         [BZ #174]
86657         * manual/locale.texi (setlocale): Document LOCPATH.
86659 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86661         [BZ #10210]
86662         * manual/process.texi (execle): Move @dots{} before last argument.
86664 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
86666         [BZ #12047]
86667         * manual/charset.texi (Generic Charset Conversion): Fix typo
86668         (LC_TYPE -> LC_CTYPE).
86670 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
86672         [BZ #5805]
86673         * manual/arith.texi (scalbn): Use @var{} on parameter names.
86674         (scalbnf): Likewise.
86675         (scalbnl): Likewise.
86676         (scalbln): Likewise.
86677         (scalblnf): Likewise.
86678         (scalblnl): Likewise.
86679         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86680         (vwarnx): Likewise.
86681         (verr): Likewise.
86682         (verrx): Likewise.
86683         * manual/filesys.texi (telldir): Use braces around return type.
86684         * manual/llio.texi (mmap): Add space after comma.
86685         (mmap64): Likewise.
86686         * manual/math.texi (jn): Use @var{} on parameter names.
86687         (jnf): Likewise.
86688         (jnl): Likewise.
86689         (yn): Likewise.
86690         (ynf): Likewise.
86691         (ynl): Likewise.
86692         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86693         line.
86694         * manual/resource.texi (ulimit): Use @dots{} instead of literal
86695         "...".
86696         (sched_get_priority_min): Remove semicolon on @deftypefun line.
86697         (sched_get_priority_max): Likewise.
86698         * manual/signal.texi (sigvec): Add space after comma.
86699         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86700         names.
86701         (if_indextoname): Likewise.
86702         (if_freenameindex): Likewise.
86703         (sendto): Use ',' instead of '.' in prototype.
86704         * manual/startup.texi (syscall): Use @dots{} instead of literal
86705         "...".
86706         * manual/stdio.texi (__fpending): Separate initial words of
86707         paragraph from @deftypefun line.
86708         * manual/syslog.texi (syslog): Use @dots{} instead of literal
86709         "...".
86710         (vsyslog): Use @var{} on parameter names.
86711         * manual/terminal.texi (stty): Use @var{} on parameter names.
86712         * manual/users.texi (getutmp): Use @var{} on parameter names.
86713         (getutmpx): Likewise.
86715 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86717         [BZ #6884]
86718         * manual/stdio.texi (fopen): Fix typos in description of
86719         ",ccs=STRING".
86721 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
86723         [BZ #4026]
86724         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86725         get clock_id definition.
86727 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
86729         [BZ #4822]
86730         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86731         (madvise): Cast every argument to void on its own.
86733 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86735         [BZ #9902]
86736         * manual/startup.texi (Exit Status): Fix typo.
86738 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86740         [BZ #10140]
86741         * manual/examples/argp-ex1.c: Include <stdlib.h>.
86742         * manual/examples/argp-ex2.c: Likewise.
86743         * manual/examples/argp-ex3.c: Likewise.
86745 2012-02-16  Richard Henderson  <rth@redhat.com>
86747         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86748         * sysdeps/s390/s390-32/initfini.c: Remove.
86749         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86750         * sysdeps/s390/s390-64/initfini.c: Remove.
86752 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
86754         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86755         compiler output for sysdeps/generic/initfini.c.
86756         * sysdeps/sh/elf/initfini.c: Remove file.
86758 2012-02-16  David S. Miller  <davem@davemloft.net>
86760         [BZ #11494]
86761         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86763         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86764         * sysdeps/sparc/crti.S: New file.
86765         * sysdeps/sparc/crtn.S: New file.
86766         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86767         * sysdeps/sparc/sparc64/Makefile: Likewise.
86769 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
86771         [BZ #3335]
86772         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86774 2012-02-15  Roland McGrath  <roland@hack.frob.com>
86776         [BZ #4822]
86777         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86779         * mach/devstream.c (cookie_io_functions_t): Macro removed.
86780         (write, read, close): Likewise.
86781         Patch by Aurelien Jarno <aurelien@aurel32.net>.
86783 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
86785         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86786         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86787         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86788         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86789         <bits/signalfd.h>.
86790         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86792         bits/signalfd.h.
86794 2012-02-14  Marek Polacek  <polacek@redhat.com>
86796         * sysdeps/x86_64/crti.S: New file.
86797         * sysdeps/x86_64/crtn.S: New file.
86798         * sysdeps/x86_64/elf/initfini.c: Remove file.
86800 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86802         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
86803         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
86804         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
86805         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
86806         <bits/inotify.h>.
86807         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
86808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86809         bits/inotify.h.
86811 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86813         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
86814         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
86815         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
86816         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
86817         <bits/eventfd.h>.
86818         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
86819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86820         bits/eventfd.h.
86822 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
86824         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
86825         __feraiseexcept instead of feraiseexcept.
86827         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
86828         nanosleep invocations.
86829         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
86830         strings, and add error checking for a nanosleep invocations.
86832 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
86834         Replace FSF snail mail address with URLs, as per GNU coding standards.
86835         Most of the snail mail addresses were wrong anyway, and omitting
86836         them makes the source code easier to maintain.  Almost all of the
86837         changes are to license notices and to locale LC_IDENTIFICATION
86838         addresses, except for this one:
86839         * manual/libc.texinfo: In "Published by", give the FSF's URL,
86840         not its snail mail address.
86842 2012-02-09  Richard Henderson  <rth@twiddle.net>
86844         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
86845         of kernel-features.h.
86847         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
86849 2012-02-08  Marek Polacek  <polacek@redhat.com>
86851         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
86852         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
86853         * sysdeps/gnu/_G_config.h: Likewise.
86854         * sysdeps/generic/_G_config.h: Likewise.
86856 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
86858         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
86859         tests.
86860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86862         * sysdeps/powerpc/powerpc32/crti.S: New file.
86863         * sysdeps/powerpc/powerpc32/crtn.S: New file.
86864         * sysdeps/powerpc/powerpc64/crti.S: New file.
86865         * sysdeps/powerpc/powerpc64/crtn.S: New file.
86867         * Makeconfig (have-initfini): Don't set.
86868         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
86869         * configure.in (nopic_initfini): Don't substitute.
86870         * config.h.in (HAVE_INITFINI): Don't #undef.
86871         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
86872         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
86874 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
86876         Support crti.S and crtn.S provided directly by architectures.
86877         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
86878         [crti.S in sysdirs] (omit-deps): Likewise.
86879         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
86880         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
86881         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
86882         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
86883         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
86884         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
86885         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
86886         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
86887         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
86888         compiler output for sysdeps/generic/initfini.c.
86889         * sysdeps/i386/elf/Makefile: Remove file.
86890         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
86892 2012-02-07  Marek Polacek  <polacek@redhat.com>
86894         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
86895         * sysdeps/gnu/_G_config.h: Likewise.
86896         * sysdeps/mach/hurd/_G_config.h: Likewise.
86898 2012-02-07  Marek Polacek  <polacek@redhat.com>
86900         * math/Makefile (tests): Add tst-CMPLX2.
86901         * math/tst-CMPLX2.c: New file.
86903 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
86905         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86907         * math/libm-test.inc (jn_test): Add missing L suffix.
86909 2012-02-06  Marek Polacek  <polacek@redhat.com>
86911         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
86912         * sysdeps/i386/fpu/e_powf.S: Likewise.
86913         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86914         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86915         * sysdeps/i386/fpu/e_acosh.S: Likewise.
86916         * sysdeps/i386/fpu/e_pow.S: Likewise.
86917         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
86918         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86919         * sysdeps/i386/fpu/s_expm1.S: Likewise.
86920         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
86921         * sysdeps/i386/fpu/e_log2.S: Likewise.
86922         * sysdeps/i386/fpu/e_log2l.S: Likewise.
86923         * sysdeps/i386/fpu/e_scalb.S: Likewise.
86924         * sysdeps/i386/fpu/e_powl.S: Likewise.
86925         * sysdeps/i386/fpu/s_log1p.S: Likewise.
86926         * sysdeps/i386/fpu/e_log10f.S: Likewise.
86927         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
86928         * sysdeps/i386/fpu/e_logl.S: Likewise.
86929         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
86930         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
86931         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
86932         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
86933         * sysdeps/i386/fpu/e_log2f.S: Likewise.
86934         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86935         * sysdeps/i386/fpu/e_log.S: Likewise.
86936         * sysdeps/i386/fpu/s_cexp.S: Likewise.
86937         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86938         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
86939         * sysdeps/i386/fpu/e_logf.S: Likewise.
86940         * sysdeps/i386/fpu/e_log10l.S: Likewise.
86941         * sysdeps/i386/fpu/e_atanh.S: Likewise.
86942         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
86943         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
86944         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86945         * sysdeps/i386/fpu/e_log10.S: Likewise.
86946         * sysdeps/i386/fpu/s_frexp.S: Likewise.
86947         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86948         * sysdeps/i386/fpu/s_asinh.S: Likewise.
86949         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
86950         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86951         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
86952         * sysdeps/i386/asm-syntax.h: Likewise.
86953         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86954         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86955         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86956         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
86957         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
86958         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86959         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
86960         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
86961         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86962         * sysdeps/powerpc/sysdep.h: Likewise.
86963         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
86964         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
86966 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86968         [BZ #411]
86969         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
86971 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86973         * sysdeps/i386/sysdep.h: Include <features.h>.
86974         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
86975         version.
86977 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
86979         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
86980         Define.
86981         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
86982         LOAD_PIC_REG_STR.
86984 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86986         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
86987         (SETUP_PIC_REG): Use GET_PC_THUNK.
86988         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
86989         macro.
86991 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86993         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
86994         for non-PIC compilation.
86995         (SETUP_PIC_REG): Add .p2align directive.
86996         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
86997         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
86998         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
86999         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
87000         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
87001         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
87002         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
87003         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87004         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
87005         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
87006         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
87007         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
87008         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
87009         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
87010         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
87011         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
87012         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
87013         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
87014         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
87015         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
87016         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
87017         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
87018         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
87019         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
87020         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
87021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
87022         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87023         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
87024         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
87025         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
87026         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
87027         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87028         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
87029         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
87030         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
87031         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
87032         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
87033         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
87034         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
87035         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
87036         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
87038 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87040         * math/tst-CMPLX.c: Include <stdio.h>.
87042 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
87044         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
87045         float.
87046         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87047         * sysdeps/sparc/bits/mathdef.h: Likewise.
87049 2012-01-31  Marek Polacek  <polacek@redhat.com>
87051         * libio/libio.h: Don't define _PARAMS.
87052         * locale/programs/config.h: Don't define PARAMS.
87053         * stdlib/strtol_l.c: Likewise.
87054         (__strtol_l): Remove PARAMS from the prototype.
87056 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
87058         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
87059         names.  Just use the correct names.  Remove unnecessary wrapper
87060         functions.
87061         * malloc/arena.c: Likewise.
87062         * malloc/hooks.c: Likewise.
87064         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
87065         ARENA_TEST says not to.  Simplify test for creation of a new arena.
87066         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
87068 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
87070         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
87071         into tail calls.
87072         (update_get_addr): New function.
87073         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
87074         GET_ADDR_MODULE parameter.
87076 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87078         * crypt/cert.c: Remove __STDC__ conditionals.
87079         * crypt/crypt-entry.c: Likewise.
87080         * crypt/crypt_util.c: Likewise.
87081         * libio/filedoalloc.c: Likewise.
87082         * libio/fileops.c: Likewise.
87083         * libio/genops.c: Likewise.
87084         * libio/iofclose.c: Likewise.
87085         * libio/iofdopen.c: Likewise.
87086         * libio/iofopen.c: Likewise.
87087         * libio/iofopen64.c: Likewise.
87088         * libio/iogetdelim.c: Likewise.
87089         * libio/iopopen.c: Likewise.
87090         * libio/obprintf.c: Likewise.
87091         * libio/oldfileops.c: Likewise.
87092         * libio/oldiofclose.c: Likewise.
87093         * libio/oldiofdopen.c: Likewise.
87094         * libio/oldiofopen.c: Likewise.
87095         * libio/oldiopopen.c: Likewise.
87096         * libio/wfiledoalloc.c: Likewise.
87097         * libio/wgenops.c: Likewise.
87098         * locale/programs/xmalloc.c: Likewise.
87099         * misc/syslog.c: Likewise.
87100         * stdio-common/xbug.c: Likewise.
87101         * string/memchr.c: Likewise.
87102         * string/memcmp.c: Likewise.
87103         * string/memrchr.c: Likewise.
87104         * string/rawmemchr.c: Likewise.
87105         * sysdeps/posix/getcwd.c: Likewise.
87106         * time/strftime_l.c: Likewise.
87108 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87110         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87111         * config.make.in (config-cflags-sse2avx): Define.
87112         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87113         Fix typo.
87115 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
87117         * scripts/config.guess: Update from upstream config git repository.
87118         * scripts/config.sub: Likewise.
87120 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
87122         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87123         (EM_NUM): Update.
87124         (R_TILEPRO_*, R_TILEGX_*): New macros.
87126         * scripts/firstversions.awk: Fix bug in version range handling.
87128         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87130         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87132         * include/sys/epoll.h: New file.
87133         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87134         libc_hidden_def.
87136 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
87138         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87139         Avoid unnecessary __WORDSIZE == 64 test.
87140         (fmaxf): Use VEX format if possible.
87141         (fmax): Likewise.
87142         (fminf): Likewise.
87143         (fmin): Likewise.
87145         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87146         * math/math_private.h: Remove libc_fegetround* and
87147         libc_fesetround*.
87148         * sysdeps/i386/configure.in: Check for -msse2avx.
87149         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87150         also if SSE2AVX is defined.
87151         Remove libc_fegetround* and libc_fesetround*.
87152         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
87153         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
87154         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
87155         of HAS_YMM_USABLE.
87156         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87157         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87158         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87159         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87160         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87162         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
87164 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87166         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
87167         size is not set.
87168         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87170 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
87172         [BZ #13618]
87173         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
87174         relocation.
87175         * Makeconfig (libm): Define.
87176         * elf/Makefile: Add rules to build and run tst-relsort1.
87177         * elf/tst-relsort1.c: New file.
87178         * elf/tst-relsort1mod1.c: New file.
87179         * elf/tst-relsort1mod2.c: New file.
87181 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
87183         * math/s_ldexp.c: Remove __STDC__ conditionals.
87184         * math/s_ldexpf.c: Likewise.
87185         * math/s_ldexpl.c: Likewise.
87186         * math/s_nextafter.c: Likewise.
87187         * math/s_nexttowardf.c: Likewise.
87188         * math/s_significand.c: Likewise.
87189         * math/s_significandf.c: Likewise.
87190         * math/s_significandl.c: Likewise.
87191         * math/w_jnl.c: Likewise.
87192         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87193         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87194         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87195         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87196         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87197         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87198         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
87199         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87200         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87201         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87202         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87203         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87204         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87205         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87206         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87207         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87208         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87209         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87210         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87211         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87212         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87213         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87214         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87215         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87216         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87217         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87218         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87219         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87220         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87221         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87222         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87223         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87224         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87225         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87226         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87227         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87228         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87229         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87230         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87231         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87232         * sysdeps/ieee754/k_standard.c: Likewise.
87233         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87234         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87235         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87236         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87237         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87238         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87239         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87240         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87241         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87242         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87243         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87244         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87245         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87246         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87247         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87248         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87249         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87250         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87251         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87252         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87255         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87256         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87257         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87258         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87259         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87260         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87261         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87262         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87263         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87264         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
87265         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87266         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87268         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87269         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
87270         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87271         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87272         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
87273         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
87274         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87275         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
87276         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
87277         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87278         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
87279         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
87280         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87281         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87282         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
87283         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
87284         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87285         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87286         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87287         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87288         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87289         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
87290         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87291         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87292         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87293         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87294         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87295         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87296         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87297         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87298         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87299         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87300         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87301         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87302         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87303         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87304         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87305         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87306         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87307         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87308         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87309         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87310         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87311         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87312         * sysdeps/ieee754/s_matherr.c: Likewise.
87313         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87314         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87315         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87318 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87320         * crypt/md5.h: Remove __STDC__ conditionals.
87321         * libio/libioP.h: Likewise.
87322         * locale/programs/config.h: Likewise.
87323         * sysdeps/generic/sysdep.h: Likewise.
87324         * sysdeps/i386/asm-syntax.h: Likewise.
87325         * sysdeps/s390/asm-syntax.h: Likewise.
87326         * sysdeps/unix/sysdep.h: Likewise.
87327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
87328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87330 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87332         * libio/libio.h: Remove __STDC__ conditionals.
87333         * malloc/obstack.h: Likewise.
87334         * math/complex.h: Likewise.
87335         * math/math.h: Likewise.
87336         * sysdeps/generic/_G_config.h: Likewise.
87337         * sysdeps/gnu/_G_config.h: Likewise.
87338         * sysdeps/mach/hurd/_G_config.h: Likewise.
87339         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87340         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87341         * sysdeps/sparc/bits/mathdef.h: Likewise.
87343 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
87345         [BZ #13583]
87346         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
87347         Clean up HAS_* macros.
87348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
87349         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
87350         possible.
87351         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
87352         HAS_AVX.
87353         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87354         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87355         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87356         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87357         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87359 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
87361         * elf/tst-unique3.cc (gets): Remove declaration.
87362         * elf/tst-unique3lib.cc (gets): Likewise.
87363         * elf/tst-unique3lib2.cc (gets): Likewise.
87364         * elf/tst-unique4.cc (gets): Likewise.
87366 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
87368         * include/stdio.h: Add C++ protection.  Add gets declarations and
87369         definitions.
87370         * debug/tst-chk1.c: Don't declare gets here.
87371         * stdio-common/tst-gets.c: Likewise.
87373 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87375         * posix/glob: Remove directory.
87377 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87379         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87381 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
87383         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87384         of the non-standard EPFNOSUPPORT.
87386 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87388         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87389         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87390         ANYWHERE set to 1 only on KERN_NO_SPACE error.
87392 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
87394         * wcsmbs/uchar.h: Test __STDC_VERSION__.
87396 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
87398         * nscd/aicache.c (addhstaiX): Do not cache negative results of
87399         transient errors.
87400         * nscd/grpcache.c (cache_addgr): Likewise.
87401         * nscd/hstcache.c (cache_addhst): Likewise.
87402         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87403         * nscd/pwdcache.c (cache_addpw): Likewise.
87404         * nscd/servicescache.c (cache_addserv): Likewise.
87406 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
87408         * malloc/malloc.c: Various cleanups.
87409         * malloc/hooks.c: Likewise.
87411         * stdlib/Makefile (tests): Add bug-fmtmsg1.
87412         * stdlib/bug-fmtmsg1.c: New file.
87414         * stdlib/fmtmsg.c (init): Add missing unlock.
87415         Patch by Peng Haitao <penght@cn.fujitsu.com>.
87417 2012-01-12  Marek Polacek  <polacek@redhat.com>
87419         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87420         and _GNU_SOURCE.
87422 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87424         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87425         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87426         macro to ensure uniqueness of label name.
87427         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87428         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87430 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
87432         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87434         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87435         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87436         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87437         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87439 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
87441         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87443         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87444         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87445         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87447         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87449         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87450         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87451         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87454         * math/bits/math-finite.h: Add ldexp support.
87456 2012-01-10  Marek Polacek  <polacek@redhat.com>
87458         * locale/programs/localedef.h (show_archive_content): Add noreturn
87459         attribute.
87461 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87463         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87465 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87467         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87469         * io/Makefile (headers): Add bits/poll2.h.
87471 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87474         typo #include statement.
87476 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87478         * include/sys/cdefs.h: Define __attribute_alloc_size.
87479         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87480         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87481         * elf/pldd.c: Likewise.
87482         * iconv/iconv_charmap.c: Likewise.
87483         * iconv/iconvconfig.c: Likewise.
87484         * iconv/strtab.c: Likewise.
87485         * locale/programs/locale.c: Likewise.
87486         * locale/programs/localedef.h: Likewise.
87487         * locale/programs/simple-hash.c: Likewise.
87488         * nscd/nscd.h: Likewise.
87489         * nss/makedb.c: Likewise.
87490         * sysdeps/generic/ldconfig.h: Likewise.
87491         * locale/programs/localedef.c: Remove xmalloc prototype.
87492         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87494 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87496         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87497         appropriate.
87499 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87501         * math/Makefile (tests): Add tst-CMPLX.
87502         * math/tst-CMPLX.c: New file.
87504         * math/complex.h (CMPLXL): Fix typo.
87506         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87507         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87508         GLIBC_2.16.
87509         * debug/tst-chk1.c: Add poll and ppoll tests.
87510         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87511         * include/sys/poll.h: Add hidden proto for ppoll.
87512         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87513         * sysdeps/mach/hurd/ppoll.c: Likewise.
87514         * io/ppoll.c: Likewise.
87515         * debug/poll_chk.c: New file.
87516         * debug/ppoll_chk.c: New file.
87517         * include/bits/poll2.h: New file.
87518         * io/bits/poll2.h: New file.
87520         [BZ #1350]
87521         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87523         * configure.in: static is always set to yes.  Remove.
87524         * config.make.in: Don't set build-static.
87525         * Makeconfig: Remove use of build-static.
87526         * dlfcn/Makefile: Likewise.
87527         * elf/Makefile: Likewise.
87528         * math/Makefile: Likewise.
87529         * misc/Makefile: Likewise.
87530         * nptl/Makefile: Likewise.
87531         * sysdeps/mach/hurd/Makefile: Likewise.
87533         * configure.in: PWD_P is not used anymore.
87534         * config.make.in: Remove PWD_P entry.
87536         * configure.in: Remove last remnants of RANLIB.
87537         No need to check for signed size_t anymore.
87538         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87539         and IA-64.
87540         Remove __builtin_expect test because we require at least gcc 3.4.
87541         * aclocal.m4: Likewise.
87543         * wcsmbs/mbrtoc16.c: Implement using towc function.
87544         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87545         * wcsmbs/wcsmbsload.c: Likewise.
87546         * iconv/gconv_simple.c: Likewise.
87547         * iconv/gconv_int.h: Likewise.
87548         * iconv/gconv_builtin.h: Likewise.
87549         * iconv/iconv_prog.c: Remove CHAR16 handling.
87551         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87553         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87555         * configure.in: Remove --with-elf and --enable-bounded options.
87556         Dont set base_machine for ia64.  More non-ELF conditions removed.
87557         Remove testing and setting of leading underscore information.
87558         * config.make.in (build-bounded): Set to no.
87559         * config.h.in: Remove NO_UNDERSCORES entry.
87560         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87561         them.
87562         * csu/start.c: Remove !NO_UNDERSCORE code.
87563         * locale/localeinfo.h: Likewise.
87564         * sysdeps/generic/machine-gmon.h: Likewise.
87565         * sysdeps/generic/sysdep.h: Likewise.
87566         * sysdeps/i386/sysdep.h: Likewise.
87567         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87568         * sysdeps/mach/sysdep.h: Likewise.
87569         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87570         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87571         * sysdeps/sh/sysdep.h: Likewise.
87572         * sysdeps/sparc/sparc32/alloca.S: Likewise.
87573         * sysdeps/unix/i386/sysdep.S: Likewise.
87574         * sysdeps/unix/sparc/start.c: Likewise.
87575         * sysdeps/unix/sparc/sysdep.S: Likewise.
87576         * sysdeps/unix/sparc/sysdep.h: Likewise.
87577         * sysdeps/unix/start.c: Likewise.
87578         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87579         * sysdeps/x86_64/sysdep.h: Likewise.
87581 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
87583         [BZ #13553]
87584         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87585         for non-gcc.
87586         * argp/argp-fmtstream.h: Use const instead __const.
87587         * argp/argp.h: Likewise.
87588         * assert/assert.h: Likewise.
87589         * bits/fenv.h: Likewise.
87590         * bits/sched.h: Likewise.
87591         * bits/sigset.h: Likewise.
87592         * bits/sigthread.h: Likewise.
87593         * catgets/nl_types.h: Likewise.
87594         * conform/data/pthread.h-data: Likewise.
87595         * crypt/crypt-private.h: Likewise.
87596         * crypt/crypt.h: Likewise.
87597         * crypt/crypt_util.c: Likewise.
87598         * ctype/ctype.h: Likewise.
87599         * debug/execinfo.h: Likewise.
87600         * debug/mbsnrtowcs_chk.c: Likewise.
87601         * debug/mbsrtowcs_chk.c: Likewise.
87602         * debug/wcsnrtombs_chk.c: Likewise.
87603         * debug/wcsrtombs_chk.c: Likewise.
87604         * debug/wcstombs_chk.c: Likewise.
87605         * dirent/dirent.h: Likewise.
87606         * dlfcn/dlfcn.h: Likewise.
87607         * elf/neededtest4.c: Likewise.
87608         * grp/grp.h: Likewise.
87609         * gshadow/gshadow.h: Likewise.
87610         * iconv/gconv.h: Likewise.
87611         * iconv/gconv_int.h: Likewise.
87612         * iconv/gconv_simple.c: Likewise.
87613         * iconv/iconv.h: Likewise.
87614         * iconv/loop.c: Likewise.
87615         * iconv/skeleton.c: Likewise.
87616         * include/aio.h: Likewise.
87617         * include/aliases.h: Likewise.
87618         * include/argz.h: Likewise.
87619         * include/arpa/inet.h: Likewise.
87620         * include/assert.h: Likewise.
87621         * include/dirent.h: Likewise.
87622         * include/dlfcn.h: Likewise.
87623         * include/execinfo.h: Likewise.
87624         * include/fcntl.h: Likewise.
87625         * include/fenv.h: Likewise.
87626         * include/glob.h: Likewise.
87627         * include/grp.h: Likewise.
87628         * include/libintl.h: Likewise.
87629         * include/mntent.h: Likewise.
87630         * include/netdb.h: Likewise.
87631         * include/pwd.h: Likewise.
87632         * include/rpc/netdb.h: Likewise.
87633         * include/sched.h: Likewise.
87634         * include/search.h: Likewise.
87635         * include/shadow.h: Likewise.
87636         * include/signal.h: Likewise.
87637         * include/stdio.h: Likewise.
87638         * include/stdlib.h: Likewise.
87639         * include/string.h: Likewise.
87640         * include/sys/socket.h: Likewise.
87641         * include/sys/stat.h: Likewise.
87642         * include/sys/statfs.h: Likewise.
87643         * include/sys/statvfs.h: Likewise.
87644         * include/sys/syslog.h: Likewise.
87645         * include/sys/time.h: Likewise.
87646         * include/sys/uio.h: Likewise.
87647         * include/time.h: Likewise.
87648         * include/unistd.h: Likewise.
87649         * include/utmp.h: Likewise.
87650         * include/wchar.h: Likewise.
87651         * include/wctype.h: Likewise.
87652         * inet/aliases.h: Likewise.
87653         * inet/arpa/inet.h: Likewise.
87654         * inet/netinet/ether.h: Likewise.
87655         * inet/netinet/in.h: Likewise.
87656         * intl/libintl.h: Likewise.
87657         * io/bits/fcntl2.h: Likewise.
87658         * io/fcntl.h: Likewise.
87659         * io/ftw.h: Likewise.
87660         * io/sys/poll.h: Likewise.
87661         * io/sys/stat.h: Likewise.
87662         * io/sys/statfs.h: Likewise.
87663         * io/sys/statvfs.h: Likewise.
87664         * io/utime.h: Likewise.
87665         * libio/bits/stdio.h: Likewise.
87666         * libio/bits/stdio2.h: Likewise.
87667         * libio/libio.h: Likewise.
87668         * libio/libioP.h: Likewise.
87669         * libio/stdio.h: Likewise.
87670         * locale/lc-ctype.c: Likewise.
87671         * locale/locale.h: Likewise.
87672         * login/utmp.h: Likewise.
87673         * malloc/arena.c: Likewise.
87674         * malloc/malloc.c: Likewise.
87675         * malloc/malloc.h: Likewise.
87676         * malloc/mcheck.c: Likewise.
87677         * malloc/mtrace.c: Likewise.
87678         * math/bits/mathcalls.h: Likewise.
87679         * math/fenv.h: Likewise.
87680         * math/math_private.h: Likewise.
87681         * misc/bits/error.h: Likewise.
87682         * misc/bits/syslog.h: Likewise.
87683         * misc/err.h: Likewise.
87684         * misc/error.h: Likewise.
87685         * misc/fstab.h: Likewise.
87686         * misc/mntent.h: Likewise.
87687         * misc/regexp.h: Likewise.
87688         * misc/search.h: Likewise.
87689         * misc/sgtty.h: Likewise.
87690         * misc/sys/mman.h: Likewise.
87691         * misc/sys/syslog.h: Likewise.
87692         * misc/sys/uio.h: Likewise.
87693         * misc/sys/xattr.h: Likewise.
87694         * misc/ttyent.h: Likewise.
87695         * nis/rpcsvc/ypclnt.h: Likewise.
87696         * nss/nss.h: Likewise.
87697         * posix/bits/unistd.h: Likewise.
87698         * posix/fnmatch.h: Likewise.
87699         * posix/glob.h: Likewise.
87700         * posix/sched.h: Likewise.
87701         * posix/spawn.h: Likewise.
87702         * posix/sys/wait.h: Likewise.
87703         * posix/unistd.h: Likewise.
87704         * posix/wordexp.h: Likewise.
87705         * pwd/pwd.h: Likewise.
87706         * resolv/netdb.h: Likewise.
87707         * resource/sys/resource.h: Likewise.
87708         * rt/aio.h: Likewise.
87709         * rt/bits/mqueue2.h: Likewise.
87710         * rt/mqueue.h: Likewise.
87711         * shadow/shadow.h: Likewise.
87712         * signal/signal.h: Likewise.
87713         * socket/send.c: Likewise.
87714         * socket/sendto.c: Likewise.
87715         * socket/sys/socket.h: Likewise.
87716         * stdio-common/printf.h: Likewise.
87717         * stdlib/bits/stdlib.h: Likewise.
87718         * stdlib/fmtmsg.h: Likewise.
87719         * stdlib/monetary.h: Likewise.
87720         * stdlib/stdlib.h: Likewise.
87721         * stdlib/ucontext.h: Likewise.
87722         * streams/stropts.h: Likewise.
87723         * string/argz.h: Likewise.
87724         * string/bits/string2.h: Likewise.
87725         * string/string.h: Likewise.
87726         * string/strings.h: Likewise.
87727         * sunrpc/rpc/auth.h: Likewise.
87728         * sunrpc/rpc/auth_des.h: Likewise.
87729         * sunrpc/rpc/clnt.h: Likewise.
87730         * sunrpc/rpc/netdb.h: Likewise.
87731         * sunrpc/rpc/pmap_clnt.h: Likewise.
87732         * sunrpc/rpc/xdr.h: Likewise.
87733         * sysdeps/generic/inttypes.h: Likewise.
87734         * sysdeps/generic/net/if.h: Likewise.
87735         * sysdeps/generic/sys/swap.h: Likewise.
87736         * sysdeps/gnu/net/if.h: Likewise.
87737         * sysdeps/gnu/utmpx.h: Likewise.
87738         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87739         * sysdeps/i386/i486/bits/string.h: Likewise.
87740         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87741         * sysdeps/s390/bits/string.h: Likewise.
87742         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87743         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87744         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87745         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87746         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87747         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87748         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87749         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87750         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87751         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87752         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87753         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87754         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87755         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87756         * sysdeps/unix/sysv/linux/readv.c: Likewise.
87757         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87758         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87759         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87760         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87761         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87762         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87763         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87764         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87765         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87766         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87767         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87768         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87769         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87770         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87771         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87772         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87773         * sysvipc/sys/ipc.h: Likewise.
87774         * sysvipc/sys/msg.h: Likewise.
87775         * sysvipc/sys/sem.h: Likewise.
87776         * sysvipc/sys/shm.h: Likewise.
87777         * termios/termios.h: Likewise.
87778         * time/sys/time.h: Likewise.
87779         * time/time.h: Likewise.
87780         * wcsmbs/bits/wchar2.h: Likewise.
87781         * wcsmbs/uchar.h: Likewise.
87782         * wcsmbs/wchar.h: Likewise.
87783         * wctype/wctype.h: Likewise.
87785         [BZ #13551]
87786         * Makeconfig: Remove all but ELF support including AIX support.
87787         * Makerules: Likewise.
87788         * config.h.in: Likewise.
87789         * config.make.in: Likewise.
87790         * configure: Likewise.
87791         * configure.in: Likewise.
87792         * csu/Makefile: Likewise.
87793         * csu/version.c: Likewise.
87794         * debug/Makefile: Likewise.
87795         * dlfcn/Makefile: Likewise.
87796         * elf/Makefile: Likewise.
87797         * extra-lib.mk: Likewise.
87798         * iconv/Makefile: Likewise.
87799         * include/libc-symbols.h: Likewise.
87800         * include/shlib-compat.h: Likewise.
87801         * resolv/Makefile: Likewise.
87802         * resolv/res_libc.c: Likewise.
87803         * rt/Makefile: Likewise.
87804         * sysdeps/i386/asm-syntax.h: Likewise.
87805         * sysdeps/i386/sysdep.h: Likewise.
87806         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87807         * sysdeps/mach/sysdep.h: Likewise.
87808         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
87809         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
87810         * sysdeps/s390/asm-syntax.h: Likewise.
87811         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87812         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87813         * sysdeps/sh/sysdep.h: Likewise.
87814         * sysdeps/unix/sparc/sysdep.h: Likewise.
87815         * sysdeps/wordsize-32/divdi3.c: Likewise.
87816         * sysdeps/x86_64/sysdep.h: Likewise.
87818         * argp/Versions: Remove _argp_unlock_xxx.
87820         [BZ #13559]
87821         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
87822         * abilist/libBrokenLocale.abilist: Likewise.
87823         * abilist/libanl.abilist: Likewise.
87824         * abilist/libc.abilist: Likewise.
87825         * abilist/libcrypt.abilist: Likewise.
87826         * abilist/libdl.abilist: Likewise.
87827         * abilist/libm.abilist: Likewise.
87828         * abilist/libnsl.abilist: Likewise.
87829         * abilist/libpthread.abilist: Likewise.
87830         * abilist/libresolv.abilist: Likewise.
87831         * abilist/librt.abilist: Likewise.
87832         * abilist/libthread_db.abilist: Likewise.
87833         * abilist/libutil.abilist: Likewise.
87834         * abilist/libnss_db.abilist: New file.
87836         * scripts/abilist.awk: Add support for indirect functions.
87838         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
87840         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
87842         * shlib-versions: Remove entries for ports architectures.
87844         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
87845         files in ports.
87846         * elf/stackguard-macros.h: Remove support for IA-64.
87847         * elf/tst-auditmod1.c: Likewise.
87848         * sysdeps/generic/ldsodefs.h: Likewise.
87850         * sysdeps/unix/sysv/linux/configure.in: Ports should define
87851         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
87852         configure files.
87854         [BZ #13552]
87855         * configure.in: Remove --enable-omitfp support.
87856         * FAQ.in: Adjust.
87857         * config.make.in: Likewise.
87858         * Makeconfig: Likewise.
87859         * manual/install.texi: Likewise.
87861         In case anyone cares, the IA-64 architecture could move to ports.
87862         * sysdeps/ia64/*: Removed.
87863         * sysdeps/unix/sysv/linux/ia64/*: Removed.
87864         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
87866         [BZ #13555]
87867         * configure.in: Remove entries for unsupported architectures.
87869         [BZ #13533]
87870         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
87871         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
87872         routines.
87873         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
87874         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
87875         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
87876         fall back to using wcrtomb.
87877         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
87878         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
87879         renaming.
87880         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
87881         * wcsmbs/tst-c16c32-1.c: New file.
87883         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
87884         local variable.
87886         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
87888         * elf/tst-unique3.cc: Add explicit declaration of gets.
87889         * elf/tst-unique3lib.cc: Likewise.
87890         * elf/tst-unique3lib2.cc: Likewise.
87891         * elf/tst-unique4.cc: Likewise.
87893         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
87895 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
87897         [BZ #13566]
87898         * assert/assert.h (static_assert): Don't define for C++.
87899         * libio/stdio.h (gets): Do declare for C++ <= C++11.
87900         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
87902 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
87904         * iconv/loop.c (single loop): Fix assertion in storing of
87905         remaining bytes.
87907         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
87909 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
87911         * posix/getconf.c: Update copyright year.
87912         * nss/getent.c: Likewise.
87913         * nss/makedb.c: Likewise.
87914         * iconv/iconvconfig.c: Likewise.
87915         * iconv/iconv_prog.c: Likewise.
87916         * elf/ldconfig.c: Likewise.
87917         * elf/pldd.c: Likewise.
87918         * elf/sotruss.ksh: Likewise.
87919         * catgets/gencat.c: Likewise.
87920         * csu/version.c: Likewise.
87921         * elf/ldd.bash.in: Likewise.
87922         * elf/sprof.c (print_version): Likewise.
87923         * locale/programs/locale.c: Likewise.
87924         * locale/programs/localedef.c: Likewise.
87925         * login/programs/pt_chown.c: Likewise.
87926         * nscd/nscd.c (print_version): Likewise.
87927         * debug/xtrace.sh: Likewise.
87928         * malloc/memusage.sh: Likewise.
87929         * malloc/mtrace.pl: Likewise.
87930         * debug/catchsegv.sh: Likewise.
87932 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
87934         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
87935         pure attribute.
87937 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
87939         [BZ #13533]
87940         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
87941         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
87942         transformations.
87943         * iconv/gconv_int.h: Likewise.
87944         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
87945         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
87946         from libc for GLIBC_2.16.
87947         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
87948         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
87949         * wcsmbs/uchar.h: Really define mbstate_t.
87950         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
87951         * wcsmbs/c16rtomb.c: New file.
87952         * wcsmbs/mbrtoc16.c: New file.
87953         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
87954         for C/POSIX locale.
87955         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
87956         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
87958         * wcsmbs/wchar.h: Add missing __restrict.
87960 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
87962         [BZ #13532]
87963         * time/Makefile (routines): Add timespec_get.
87964         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
87965         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
87966         timespec for ISO C11.
87967         * time/timespec_get.c: New file.
87968         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
87969         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
87971         [BZ #13531]
87972         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
87973         * stdlib/stdlib.h: Declare aligned_alloc.
87974         * Versions.def: Add GLIBC_2.16 for libc.
87975         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
87977         [BZ 13527]
87978         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
87979         ISO C11.
87981         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
87982         code.
87984         [BZ #13528]
87985         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
87987         [BZ #13529]
87988         * assert/assert.h (static_assert): Define.
87990         * version.h: Update for 2.16 development version.
87992         [BZ #13526]
87993         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
87994         _ISOC11_SOURCE.
87996         * version.h (RELEASE): Bump for 2.15 release.
87997         * include/features.h (__GLIBC_MINOR__): Bump to 15.
87999         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
88000         Patch by Marek Polacek <mpolacek@redhat.com>.
88002         * bits/byteswap.h: Protect long long constants with __extension__.
88003         * sysdeps/i386/bits/byteswap.h: Likewise.
88004         * sysdeps/ia64/bits/byteswap.h: Likewise.
88005         * sysdeps/s390/bits/byteswap.h: Likewise.
88006         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88008 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88010         [BZ #13540]
88011         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
88012         destination buffer.
88013         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
88015 2011-12-23  Marek Polacek  <polacek@redhat.com>
88017         * elf/dl-addr.c (determine_info): Add inline keyword.
88018         * elf/tst-auditmod4b.c (check_avx): Likewise.
88019         * elf/tst-auditmod6b.c (check_avx): Likewise.
88020         * elf/tst-auditmod6c.c (check_avx): Likewise.
88021         * elf/tst-auditmod7b.c (check_avx): Likewise.
88023 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88025         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
88026         !__SSE_MATH__.
88028 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88030         [BZ #13540]
88031         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
88032         processing for last bytes.
88034 2011-08-06  Bruno Haible  <bruno@clisp.org>
88036         [BZ #13061]
88037         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
88038         U+0385, not to U+1FEE.
88040         [BZ #13062]
88041         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
88042         entry for U+00A5 U+0301.
88044 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88046         [BZ #13166]
88047         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
88048         buffer for the output is too small.
88050         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
88051         optimization.
88053         [BZ #13185]
88054         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
88055         SSE flags if possible.
88057 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88059         [BZ #13540]
88060         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
88061         processing for last bytes.
88063 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
88065         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
88066         (syscall-list-default-options, syscall-list-default-condition)
88067         (syscall-list-includes): Define.
88068         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
88069         list of ABIs and options and #if conditions for each ABI.  Do not
88070         handle common syscalls between ABIs specially.
88071         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
88072         Remove.
88073         (syscall-list-variants, syscall-list-32bit-options)
88074         (syscall-list-32bit-condition, syscall-list-64bit-options)
88075         (syscall-list-64bit-condition): Define.
88076         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
88077         (syscall-list-variants, syscall-list-32bit-options)
88078         (syscall-list-32bit-condition, syscall-list-64bit-options)
88079         (syscall-list-64bit-condition): Define.
88080         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88081         Remove.
88082         (syscall-list-variants, syscall-list-32bit-options)
88083         (syscall-list-32bit-condition, syscall-list-64bit-options)
88084         (syscall-list-64bit-condition): Define.
88085         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
88086         Remove.
88087         (syscall-list-variants, syscall-list-32bit-options)
88088         (syscall-list-32bit-condition, syscall-list-64bit-options)
88089         (syscall-list-64bit-condition): Define.
88091 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88093         * locale/iso-639.def: Add brx entry.
88095         [BZ #13328]
88096         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88097         Proposed by Mariusz_Cukr <marcukr@op.pl>.
88099         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88100         __feraiseexcept_renamed.
88102 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88104         [BZ #13538]
88105         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88106         EPOLLET with unsigned values.
88107         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88108         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88110         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88111         to large cancellation.
88112         * math/s_cacoshf.c: Likewise.
88113         * math/s_cacoshl.c: Likewise.
88115 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
88117         [BZ #13305]
88118         [BZ #12786]
88119         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88120         * math/s_cacoshf.c: Likewise.
88121         * math/s_cacoshl.c: Likewise.
88123 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88125         [BZ #13439]
88126         * iconv/gconv.h: Define __GCONV_SWAP.
88127         * iconvdata/unicode.c: The swap bit must be stored in __flags.
88128         * iconvdata/utf-16.c: Likewise.
88129         * iconvdata/utf-32.c: Likewise.
88131 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
88133         [BZ #13524]
88134         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88135         numerator after shifting it by one limb.
88137 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
88139         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88140         under [__USE_EXTERN_INLINES].
88142 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88144         [BZ #13446]
88145         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88147 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88149         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88150         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88151         optimized code.
88152         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
88153         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
88154         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
88155         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
88156         for strncasecmp/strncasecmp_l compilation.
88157         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
88158         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
88160 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
88162         [BZ #13484]
88163         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
88164         of __asm__.
88166 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88168         [BZ #13506]
88169         * time/tzfile.c (__tzfile_read): Check values from file header.
88171 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
88173         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
88174         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
88175         * powerpc/powerpc32/dl-start.S: Likewise.
88176         * powerpc/powerpc32/elf/start.S: Likewise.
88177         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
88178         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
88179         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
88180         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
88181         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
88182         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
88183         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
88184         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
88185         * powerpc/powerpc32/fpu/s_round.S: Likewise.
88186         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
88187         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
88188         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
88189         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
88190         * powerpc/powerpc32/memset.S: Likewise.
88191         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
88192         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
88193         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
88194         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
88195         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88196         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
88197         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
88198         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
88199         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
88200         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
88201         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
88202         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88203         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88205 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88207         * math/libm-test.inc: Added more nearbyint tests.
88208         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
88209         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
88210         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
88211         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
88213 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
88215         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
88216         FD_CLOEXEC.
88218 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88220         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
88221         Add wcscpy-ssse3 wcscpy-c.
88222         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
88223         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
88224         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
88225         * sysdeps/x86_64/wcschr.S: New file.
88226         * sysdeps/x86_64/wcsrchr.S: New file.
88227         * string/test-strcmp.c: Remove checking of wcscmp function for
88228         wrong alignments.
88229         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
88230         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
88231         wcsrchr-sse2 wcsrchr-c.
88232         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
88233         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
88234         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
88235         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
88236         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
88237         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
88238         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
88239         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
88240         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
88241         * wcsmbc/wcschr.c (WCSCHR): New macro.
88243 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88245         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
88246         * wcsmbs/test-wcsrchr.c: New file.
88247         * string/test-strrchr.c: Add wcsrchr support.
88248         (WIDE): New macro.
88249         * wcsmbs/test-wcscpy.c: New file.
88250         * string/test-strcpy.c: Add wcscpy support.
88251         (WIDE): New macro.
88253 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
88255         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
88256         the inner loop.
88258 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
88260         [BZ #13472]
88261         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
88263 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
88265         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
88266         Minor optimizations.
88268         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
88269         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
88270         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
88272 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
88274         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
88275         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
88276         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
88277         for gcc to avoid warnings.
88278         * inet/Makefile (tests): Add tst-checks.
88279         * inet/tst-checks.c: New file.
88281         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
88282         warning.
88284         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
88285         __wmemcmp_sse2.
88287         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
88288         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
88290         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
88292 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
88294         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
88295         problem.
88297         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
88299 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
88301         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
88302         conditional on GCC version.
88303         (__arch_compare_and_exchange_val_8_acq)
88304         (__arch_compare_and_exchange_val_16_acq)
88305         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
88306         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
88307         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
88309 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
88311         * sysdeps/sh/backtrace.c: New file.
88313 2011-12-02  Andreas Schwab  <schwab@redhat.com>
88315         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
88316         parenthesis.
88318 2011-12-01  Andreas Schwab  <schwab@redhat.com>
88320         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
88321         falling back to utime.
88323 2011-11-30  Andreas Schwab  <schwab@redhat.com>
88325         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
88326         expectations for float.
88328 2011-11-29  Andreas Schwab  <schwab@redhat.com>
88330         * locale/weight.h (findidx): Add parameter len.
88331         * locale/weightwc.h (findidx): Likewise.
88332         * posix/fnmatch_loop.c (FCT): Adjust caller.
88333         * posix/regcomp.c (build_equiv_class): Likewise.
88334         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
88335         * posix/regexec.c (check_node_accept_bytes): Likewise.
88336         * string/strcoll_l.c (STRCOLL): Likewise.
88337         * string/strxfrm_l.c (STRXFRM): Likewise.
88339 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
88341         * Makefile.in: Remove CVSOPT handling.
88342         * configure.in: Remove use of AC_REVISION.
88343         * iconvdata/Makefile (distribute): No need to filter out CVS.
88344         * scripts/list-sources.sh: Remove CVS, subversion and monotone
88345         handling.
88347 2011-11-16  Andreas Schwab  <schwab@redhat.com>
88349         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
88350         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
88351         [USE_AS_STRNCASECMP_L]: Likewise.
88352         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
88353         NO_TLS_DIRECT_SEG_REFS.
88354         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
88355         Fix argument offsets for non-PIC.
88356         [USE_AS_STRNCASECMP_L]: Likewise.
88357         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
88358         NO_TLS_DIRECT_SEG_REFS.
88360 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88362         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
88363         O_CLOEXEC.
88364         * locale/loadlocale.c (_nl_load_locale): Likewise.
88366 2011-11-15  Andreas Schwab  <schwab@redhat.com>
88368         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
88369         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
88370         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
88371         (SYSCALL_GETTIME): Set errno on error.
88373         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88374         count references to noai6ai_cached.
88376 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88378         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88380         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88381         FD_CLOEXEC for /proc/self/maps.
88383         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88384         FD_CLOEXEC for /proc/meminfo.
88386         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88387         gai.conf.
88389         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
88390         FD_CLOEXEC for given file.
88392         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88394         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88395         FD_CLOEXEC for /etc/hosts.
88396         (_gethtent): Likewise.
88398         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88400         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88401         cancellation and set FD_CLOEXEC for /etc/netgroup.
88403         * nss/nss_files/files-key.c (search): Don't allow cancellation when
88404         reading /etc/publickey.
88406         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88407         allow cancellation when reading /etc/group.
88409         * nss/nss_files/files-alias.c (internal_setent): Don't allow
88410         cancellation.
88411         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
88413         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88414         when using data file.
88416         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88418         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88419         (write_nis_obj): Use "c" and "e" in fopen.
88421         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88423         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88425         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88427         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88429         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88430         locale.alias.
88432         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88434         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88436         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88438         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88439         file parsing and set FD_CLOEXEC.
88441 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88443         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88445 2011-11-14  Andreas Schwab  <schwab@redhat.com>
88447         * malloc/arena.c (arena_get2): Don't call reused_arena when
88448         _int_new_arena failed.
88450 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88452         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88453         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88454         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88455         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88456         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88457         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88458         to compile strcasecmp and strncasecmp.
88459         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88460         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88464 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88466         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88467         locale-defines.sym to gen-as-const-headers.
88468         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88469         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88470         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88471         to compile strcasecmp and strncasecmp.
88472         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88473         strcasecmp_l and strncasecmp_l.
88474         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88475         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88476         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88477         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88478         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88479         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88480         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88481         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88482         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88483         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88484         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88486 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88488         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88489         result of SYSDEP_GETTIME_CPU to retval.
88490         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88491         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88493         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88494         variable.
88496         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88497         mantissa words.
88498         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88500         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88501         from unused variable.
88503         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88504         DWARF definitions.
88505         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88506         for assembling.
88508         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88509         over namespaces.
88511         * sunrpc/rpc_prot.c (rejected): Fix case value.
88513         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88514         unsigned long long int to avoid warnings in shift.
88516         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88517         of use of trans.
88518         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88519         variable tmp.
88521         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88522         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88523         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88525         * nis/nis_table.c (nis_list): Use variable of correct type for
88526         result of __follow_path call.
88528 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88530         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88531         of math functions ceil, trunc, floor, round, and sqrt, when
88532         avaliable on the platform.
88533         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88534         name clash.
88535         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88536         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88537         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88539 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88541         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88542         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88544 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88546         * include/unistd.h: Fix __readlink return type.
88547         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88549 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88551         * stdlib/ucontext.h: Undo last change for makecontext.
88553 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88555         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88557         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88558         * setjmp/setjmp.h: Mark functions as non-leaf.
88559         * setjmp/bits/setjmp2.h: Likewise.
88560         * stdlib/ucontext.h: Likewise.
88562 2011-11-10  Andreas Schwab  <schwab@redhat.com>
88564         * malloc/arena.c (_int_new_arena): Don't increment narenas.
88565         (reused_arena): Don't check arena limit.
88566         (arena_get2): Atomically check arena limit.
88568 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
88570         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88571         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88573         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88574         instructions.
88576 2011-11-07  Andreas Schwab  <schwab@redhat.com>
88578         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88579         handler when locking.
88581         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88582         Fix size of allocated buffer.
88584 2011-11-04  Andreas Schwab  <schwab@redhat.com>
88586         [BZ #10103]
88587         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88588         declarations for long double functions.
88589         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88591         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88593 2011-11-03  Andreas Schwab  <schwab@redhat.com>
88595         * nscd/nscd.c (main): Don't start AVC thread until credentials are
88596         installed.
88598         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88599         is disabled.
88601 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88603         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88605 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
88607         * include/alloca.h (stackinfo_alloca_round): Define.
88608         (extend_alloca): Use it.
88609         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88610         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88611         here.
88613         * scripts/check-local-headers.sh: Ignore libaudit.h.
88615         * nscd/Makefile (extra-objs): Make recursively expanded.
88617 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
88619         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88620         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88622         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88623         * posix/tst-rfc3484-2.c: Likewise.
88624         * posix/tst-rfc3484-3.c: Likewise.
88626         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88627         process_vm_writev.
88628         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88629         process_vm_writev.
88630         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88631         process_vm_writev from libc using GLIBC_2.15 version.
88633         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88635 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
88637         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88638         stack usage.
88640 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
88642         [BZ #13367]
88643         * nss/getent.c (initgroups_keys): Show error message in case no group
88644         names are given.
88646         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88647         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88648         __bump_nl_timestamp.
88649         * nscd/connections (nscd_init): When host database is served open
88650         netlink socket and request notification about configuration changes.
88651         (main_loop_poll): Track netlink file descriptor and bump timestamp
88652         in case data becomes available.
88653         (main_loop_epoll): Likewise.
88654         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88655         (database_pers_head): Add extra_data fileds.
88656         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88657         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88658         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88659         Adjust caller.
88660         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88661         in6ai data, call __free_in6ai.
88662         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88663         Add -DHAVE_NETLINK.
88664         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
88665         interface information.  Reuse previous data if netlink timestamp
88666         is not changed.
88667         (__bump_nl_timestamp): New function.
88668         (__free_in6ai): New function.
88670 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
88672         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88673         close_not_cancel_no_status here.
88674         (__check_pf): Reorganize code a bit to not call close twice if OOM.
88676 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88678         [BZ #13276]
88679         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88680         return value.
88682         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88683         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88684         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88686 2011-07-03  Andreas Jaeger  <aj@suse.de>
88688         [BZ #10709]
88689         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88690         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88691         * math/libm-test.inc (sin_test): Add test case.
88693 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88695         [BZ #13337]
88696         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88697         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88699         * elf/chroot_canon.c (chroot_canon): Cleanups.
88701         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88703         [BZ #13335]
88704         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88705         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88707         * string/test-strchr.c: Make usable for strchrnul testing.
88708         * string/test-strchrnul.c: New file.
88709         * string/Makefile (strop-tests): Add strchrnul.
88711         * po/it.po: Update from translation team.
88712         * po/es.po: Likewise.
88714 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
88716         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88717         the three constants needed as parameters.  Drop the others.
88718         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88719         __m128i_strloadu_tolower.
88720         Create and initialize variable zero and use it in all the places
88721         where _mm_setzero_si128 was used.
88723         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88724         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88725         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88726         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88727         anymore.
88728         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88729         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88730         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88731         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88732         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88733         __mpranred, __mptan.
88734         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88735         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88736         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88737         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88738         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88739         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88740         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88741         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88742         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88744 2011-10-28  Andreas Schwab  <schwab@redhat.com>
88746         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88747         redefine if SHARED.
88748         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88751         wide char related routines to wcsmbs subdir.
88753 2011-10-27  Andreas Schwab  <schwab@redhat.com>
88755         [BZ #13344]
88756         * misc/sys/cdefs.h (__THROWNL): Define.
88757         * posix/unistd.h: Use __THREADNL instead of __THREAD
88758         for memory synchronization functions.
88760 2011-10-26  Roland McGrath  <roland@hack.frob.com>
88762         [BZ #13349]
88763         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88764         doesn't exist.
88765         * manual/stdio.texi (Obstack Streams): Node removed.
88767 2011-10-26  Andreas Schwab  <schwab@redhat.com>
88769         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88770         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88771         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88773         * math/math_private.h (math_force_eval): Allow non-addressable
88774         arguments.
88775         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88777 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88779         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88780         file is not needed.
88782         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88783         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88784         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88785         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88786         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88787         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88788         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88789         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88790         Add AVX variants.
88791         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
88792         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
88793         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
88794         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
88795         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
88796         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
88797         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
88798         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
88799         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
88800         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
88801         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
88802         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
88803         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
88804         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
88805         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
88806         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
88807         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
88808         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
88809         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
88811         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
88812         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
88814         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
88815         place.  Use VEX encoding when compiling for AVX.
88817 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88819         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
88820         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
88822         * string/test-strchr.c (do_test): Don't generate NUL bytes.
88824 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88826         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
88827         useless if() expression.
88828         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88829         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
88830         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
88831         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88832         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
88833         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88834         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88835         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88836         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
88837         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88838         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88839         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88840         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
88841         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88842         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
88843         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88844         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88845         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88846         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
88848         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
88850 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88852         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
88853         condition.
88854         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88856 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88858         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
88859         .text section.  Avoid duplicate constants.
88860         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
88861         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88862         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88863         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88864         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88865         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88866         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88867         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88868         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
88869         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
88870         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
88871         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
88872         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
88873         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
88874         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
88875         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
88876         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
88877         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
88878         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
88879         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88880         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
88881         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
88882         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
88883         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
88884         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
88885         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
88886         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
88887         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
88888         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
88889         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
88890         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
88891         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
88892         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
88893         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
88894         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
88895         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
88896         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
88897         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
88898         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
88899         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
88900         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
88901         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
88902         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
88903         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
88904         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
88906 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
88908         * sysdeps/x86_64/dla.h: Move to ...
88909         * sysdeps/x86_64/fpu/dla.h: ...here.
88910         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
88911         situations.  Use __builtin_fma only for gcc 4.6 and up.
88913         * config.make.in: Add have-mfma4 entry.
88914         * configure.in: Substitute libc_cv_cc_fma4.
88915         * math/Makefile (dbl-only-routines): Add sincostab.
88916         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
88917         Use __sincostab not sincos.
88918         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
88919         name is a macro.
88920         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88921         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88922         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88923         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
88924         using __copysign.
88925         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
88926         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
88927         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
88928         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
88929         and __inv.
88930         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
88931         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
88932         __copysign.
88933         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
88934         define aliases when function name is a macro.
88935         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
88936         sysdeps/ieee754/dbl-64/sincos.tbl.
88937         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
88938         fma4-enabled routines.
88939         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
88940         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
88941         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
88942         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
88943         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
88944         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
88945         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
88946         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
88947         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
88948         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
88949         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
88950         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
88951         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
88952         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
88953         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
88954         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
88955         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
88956         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
88957         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
88958         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
88959         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
88960         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
88961         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
88962         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
88963         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
88964         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
88965         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
88966         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
88967         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
88968         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
88970         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
88971         rename.
88972         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88973         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88974         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88975         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88976         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88977         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88978         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88979         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88981 2011-10-24  Andreas Schwab  <schwab@redhat.com>
88983         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
88985 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88987         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
88989         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
88990         prediction.
88991         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
88993         * string/strnlen.c: Don't define STRNLEN, reverse logic.
88994         Remove unused variable magic_bits.
88995         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
88997         * string/strnlen.c: Define and use STRNLEN macro.
88998         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
88999         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
89000         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
89001         * wcsmbs/wcslen.c: Define and use WCSLEN.
89002         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
89003         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
89004         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
89005         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
89006         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
89007         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
89008         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89010 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89013         strnlen-sse2-no-bsf.
89014         Rename strlen-no-bsf to strlen-sse2-no-bsf.
89015         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
89016         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
89017         Add strnlen support.
89018         (USE_AS_STRNLEN): New macro.
89019         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
89020         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
89021         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
89022         * sysdeps/x86_64/wcslen.S: New file.
89024 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
89026         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
89027         XMM-moves are used for copying on small sizes.
89029 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89031         * wcsmbs/Makefile (strop-tests): Add wcschr.
89032         * wcsmbs/test-wcschr.c: New file.
89033         * string/test-strchr.c: Update.
89034         Add wcschr support.
89035         (WIDE): New macro.
89037 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89039         * wcsmbs/Makefile (strop-tests): Add wcslen.
89040         * wcsmbs/test-wcslen.c: New file.
89041         * string/test-strlen.c: Update.
89042         Add wcslen support.
89043         (WIDE): New macro.
89045 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89047         * po/it.po: Update from translation team.
89049 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89051         * sysdeps/x86_64/wcscmp.S: Update.
89052         Fix wrong comparison semantics.
89053         wcscmp shall use signed comparison not unsigned.
89054         Don't use substraction to avoid overflow bug.
89055         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
89056         * wcsmbc/wcscmp.c: Likewise.
89057         * string/test-strcmp.c: Likewise.
89058         Add new tests to check cases with negative values.
89060 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89062         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
89063         * sysdeps/x86_64/dla.h: ...here.  New file.
89064         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
89065         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89066         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89068         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89069         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89070         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89071         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89072         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89074 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
89076         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
89077         __ynl_finite aliases.
89079 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89083         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89084         define DLA_FMA.
89085         [DLA_FMA] (EMULV): Use DLA_FMA.
89086         [DLA_FMA] (MUL12): Use EMULV.
89087         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89088         that are not needed.
89089         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89090         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89093         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89094         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89095         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89097 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
89099         * math/s_nan.c: Undef __nan.
89100         * math/s_nanf.c: Undef __nanf.
89101         * math/s_nanl.c: Undef __nanl.
89102         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89103         "math_private.h".
89105 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89107         * math/s_catan.c: Add branch predictions.
89108         * math/s_catanf.c: Likewise.
89109         * math/s_catanh.c: Likewise.
89110         * math/s_catanhf.c: Likewise.
89111         * math/s_catanhl.c: Likewise.
89112         * math/s_catanl.c: Likewise.
89113         * math/s_cexp.c: Likewise.
89114         * math/s_cexpf.c: Likewise.
89115         * math/s_cexpl.c: Likewise.
89116         * math/s_clog.c: Likewise.
89117         * math/s_clog10.c: Likewise.
89118         * math/s_clog10f.c: Likewise.
89119         * math/s_clog10l.c: Likewise.
89120         * math/s_clogf.c: Likewise.
89121         * math/s_clogl.c: Likewise.
89122         * math/s_csqrt.c: Likewise.
89123         * math/s_csqrtf.c: Likewise.
89124         * math/s_csqrtl.c: Likewise.
89125         * math/s_ctanf.c: Likewise.
89126         * math/s_ctanh.c: Likewise.
89127         * math/s_ctanhf.c: Likewise.
89128         * math/s_ctanhl.c: Likewise.
89129         * math/s_ctanl.c: Likewise.
89131         * math/math_private.h: Define __nan, __nanf, __nanl.
89132         * math/s_cacosh.c: Include <math_private.h>.
89133         * math/s_cacoshl.c: Likewise.
89134         * math/s_casinh.c: Likewise.
89135         * math/s_casinhf.c: Likewise.
89136         * math/s_casinhl.c: Likewise.
89137         * math/s_ccos.c: Rely entire on ccosh.
89138         * math/s_ccosf.c: Rely entire on ccoshf.
89139         * math/s_ccosl.c: Rely entirely on ccoshl.
89140         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
89141         Remove tests for FE_INVALID.
89142         * math/s_ccoshf.c: Likewise.
89143         * math/s_ccoshl.c: Likewise.
89144         * math/s_csin.c: Likewise.
89145         * math/s_csinf.c: Likewise.
89146         * math/s_csinh.c Likewise.
89147         * math/s_csinhf.c: Likewise.
89148         * math/s_csinhl.c: Likewise.
89149         * math/s_csinl.c: Likewise.
89150         * math/s_ctan.c: Likewise.
89151         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
89152         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
89153         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
89155 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
89157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
89158         compilation problems.
89160         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
89161         __builtin_expect.
89163 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
89165         * sysdeps/i386/configure.in: Test for -mfma4 option.
89166         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
89167         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
89168         COMMON_CPUID_INDEX_80000001.
89169         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
89170         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
89171         use it if FMA3 is not supported.
89172         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
89174         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
89175         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89177 2011-10-20  Andreas Schwab  <schwab@redhat.com>
89179         [BZ #12892]
89180         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
89181         it would create a cycle with a link time dependency.
89183 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
89185         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
89186         instruction.
89187         * string/Makefile (strop-tests): Add rawmemchr.
89188         * string/test-rawmemchr.c: New file.
89190         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
89191         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
89192         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
89193         when compiling str{,n}casecmp and when AVX is available.  Hook up
89194         new optimized code in initializers.
89196 2011-10-19  Andreas Schwab  <schwab@redhat.com>
89198         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
89199         __feraiseexcept instead of feraiseexcept.
89201 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
89203         * math/math_private.h: Define defaults for libc_fetestexcept and
89204         libc_feupdateenv.
89205         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
89206         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
89207         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89208         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89209         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
89210         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89211         libc_fetestexcept and libc_feupdateenv.
89213         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
89214         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
89215         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
89216         * sysdeps/x86_64/fpu/math_private.h: Define special version of
89217         libc_feholdexcept_setround.
89219         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
89220         Add s_nearbyint-c and s_nearbyintf-c.
89221         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
89222         nearbyintf inlines.
89223         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
89224         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
89225         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
89226         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
89228         * math/math_private.h: Define defaults for libc_fegetround,
89229         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
89230         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
89231         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
89232         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
89233         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
89234         standard functions.
89235         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89236         Remove comments and hacks for old compiler versions.
89237         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89238         libc_fegetround, libc_fesetround, libc_feholdexcept, and
89239         libc_feholdexceptl.
89241 2011-10-18  Andreas Schwab  <schwab@redhat.com>
89243         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
89244         (__feraiseexcept_renamed): Add __NTH.
89245         (feraiseexcept): Add __NTH.  Rename local variables to fix
89246         namespace violations.
89248 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
89250         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
89252         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
89254         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
89255         recently added interfaces.
89256         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
89258         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
89259         about macro parameter expansion.
89261         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
89262         __NO_MATH_INLINES is defined.  Cleanups.
89264         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
89265         and __floorf is target has SSE4.1.
89266         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
89267         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
89268         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
89269         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
89271         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
89272         name.
89273         (floorf): Likewise.
89275         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
89277 2011-10-17  Andreas Schwab  <schwab@redhat.com>
89279         * misc/sys/cdefs.h: Fix last change.
89281         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
89282         database lookup.
89284 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
89286         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
89288         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
89289         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89290         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
89291         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89292         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89293         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
89294         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89295         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89296         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
89297         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
89298         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
89299         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
89300         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
89301         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
89302         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
89303         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
89304         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
89305         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
89306         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
89307         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
89308         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
89309         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
89311         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
89312         ceil, ceilf, floor, floorf.
89314         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
89315         Perform IRELATIVE relocations last.
89317         * elf/do-rel.h: Add another parameter nrelative, replacing the
89318         local variable with the same name.  Change name of the function
89319         to end in Rel or Rela (uppercase).
89320         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
89321         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
89322         elf_dynamic_do_##reloc function.
89324 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89326         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
89327         is sufficient, at least on modern CPUs.
89329         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
89331         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
89332         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
89334         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
89335         __expl_finite.
89336         * math/bits/math-finite.h: Add entries for exp.
89337         * math/e_expl.c: Add __*_finite alias.
89338         * sysdeps/i386/fpu/e_exp.S: Likewise.
89339         * sysdeps/i386/fpu/e_expf.S: Likewise.
89340         * sysdeps/i386/fpu/e_expl.c: Likewise.
89341         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89342         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89343         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
89344         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
89345         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
89346         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
89347         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
89349         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
89350         is sufficient, at least on modern CPUs.
89352         * ctype/ctype-info.c (__ctype_init): Define.
89353         * include/ctype.h (__ctype_init): Declare.
89354         (__ctype_b_loc): The variable is always initialized.
89355         (__ctype_toupper_loc): Likewise.
89356         (__ctype_tolower_loc): Likewise.
89357         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
89358         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
89360 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
89362         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
89364         * configure.in: Also look in $cxxmachine/include for C++ system
89365         headers.
89367 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89369         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
89370         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
89371         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
89372         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
89373         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89374         (USE_AS_WMEMCMP): New macro.
89375         Fixing indents.
89376         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89377         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89378         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89379         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89380         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89381         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89382         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89383         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89384         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89385         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89386         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89387         (USE_AS_WMEMCMP): New macro.
89388         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89389         * sysdeps/string/test-memcmp.c: Update.
89390         Fix simple_wmemcmp.
89391         Add new tests.
89392         * wcsmbs/wmemcmp.c: Update.
89393         (WMEMCMP): New macro.
89394         Fix overflow bug.
89396 2011-10-12  Andreas Jaeger  <aj@suse.de>
89398         [BZ #13268]
89399         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89401 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89403         * libio/iofwide.c (do_length): Avoid warning.
89405         * ctype/ctype.h (__isctype_f): Add missing __THROW.
89407 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
89409         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89411         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89412         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89413         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89414         * sysdeps/i386/i686/fpu/e_log.S: New file.
89415         * sysdeps/i386/i686/fpu/e_logf.S: New file.
89416         * sysdeps/i386/i686/fpu/e_logl.S: New file.
89418         * ctype/ctype.h: Add support for inlined isXXX functions when
89419         compiling C++ code.
89421 2011-10-14  Andreas Schwab  <schwab@redhat.com>
89423         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89425         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89427 2011-10-13  Roland McGrath  <roland@hack.frob.com>
89429         [BZ #13291]
89430         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89432 2011-10-13  Andreas Schwab  <schwab@redhat.com>
89434         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89435         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89436         feraiseexcept.
89438         * sysdeps/x86_64/memrchr.S: Check for zero size.
89440         * string/stratcliff.c: Add memrchr tests.
89442 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89444         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89445         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89446         rawmemchr-sse2 rawmemchr-sse2-bsf.
89447         * sysdeps/i386/i686/multiarch/memchr.S: New file.
89448         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89449         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89450         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89451         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89452         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89453         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89454         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89455         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89456         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89457         * string/memrchr.c (MEMRCHR): New macro.
89459 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89461         Add integration with gcc's -ffinite-math-only and optimize wrapper
89462         functions in libm.
89463         * Versions.def: Define GLIBC_2.15 version for libm.
89464         * math/Makefile (headers): Add bits/math-finite.h.
89465         * math/bits/math-finite.h: New file.
89466         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89467         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89468         * math/e_acoshl.c: Add __*_finite alias.
89469         * math/e_acosl.c: Likewise.
89470         * math/e_asinl.c: Likewise.
89471         * math/e_atan2l.c: Likewise.
89472         * math/e_atanhl.c: Likewise.
89473         * math/e_coshl.c: Likewise.
89474         * math/e_exp10.c: Likewise.
89475         * math/e_exp10f.c: Likewise.
89476         * math/e_exp10l.c: Likewise.
89477         * math/e_exp2l.c: Likewise.
89478         * math/e_fmodl.c: Likewise.
89479         * math/e_gammal_r.c: Likewise.
89480         * math/e_hypotl.c: Likewise.
89481         * math/e_j0l.c: Likewise.
89482         * math/e_j1l.c: Likewise.
89483         * math/e_jnl.c: Likewise.
89484         * math/e_lgammal_r.c: Likewise.
89485         * math/e_log10l.c: Likewise.
89486         * math/e_log2l.c: Likewise.
89487         * math/e_logl.c: Likewise.
89488         * math/e_powl.c: Likewise.
89489         * math/e_sinhl.c: Likewise.
89490         * math/e_sqrtl.c: Likewise.
89491         * math/e_scalb.c: Completely rewritten and optimized.
89492         * math/e_scalbf.c: Likewise.
89493         * math/e_scalbl.c: Likewise.
89494         * math/w_acos.c: Likewise.
89495         * math/w_acosf.c: Likewise.
89496         * math/w_acosl.c: Likewise.
89497         * math/w_acosh.c: Likewise.
89498         * math/w_acoshf.c: Likewise.
89499         * math/w_acoshl.c: Likewise.
89500         * math/w_asin.c: Likewise.
89501         * math/w_asinf.c: Likewise.
89502         * math/w_asinl.c: Likewise.
89503         * math/w_atan2.c: Likewise.
89504         * math/w_atan2f.c: Likewise.
89505         * math/w_atan2l.c: Likewise.
89506         * math/w_atanh.c: Likewise.
89507         * math/w_atanhf.c: Likewise.
89508         * math/w_atanhl.c: Likewise.
89509         * math/w_exp10.c: Likewise.
89510         * math/w_exp10f.c: Likewise.
89511         * math/w_exp10l.c: Likewise.
89512         * math/w_fmod.c: Likewise.
89513         * math/w_fmodf.c: Likewise.
89514         * math/w_fmodl.c: Likewise.
89515         * math/w_j0.c: Likewise.
89516         * math/w_j0f.c: Likewise.
89517         * math/w_j0l.c: Likewise.
89518         * math/w_j1.c: Likewise.
89519         * math/w_j1f.c: Likewise.
89520         * math/w_j1l.c: Likewise.
89521         * math/w_jn.c: Likewise.
89522         * math/w_jnf.c: Likewise.
89523         * math/w_log.c: Likewise.
89524         * math/w_logf.c: Likewise.
89525         * math/w_logl.c: Likewise.
89526         * math/w_log10.c: Likewise.
89527         * math/w_log10f.c: Likewise.
89528         * math/w_log10l.c: Likewise.
89529         * math/w_log2.c: Likewise.
89530         * math/w_log2f.c: Likewise.
89531         * math/w_log2l.c: Likewise.
89532         * math/w_pow.c: Likewise.
89533         * math/w_powf.c: Likewise.
89534         * math/w_powl.c: Likewise.
89535         * math/w_remainder.c: Likewise.
89536         * math/w_remainderf.c: Likewise.
89537         * math/w_remainderl.c: Likewise.
89538         * math/w_scalb.c: Likewise.
89539         * math/w_scalbf.c: Likewise.
89540         * math/w_scalbl.c: Likewise.
89541         * math/w_sqrt.c: Likewise.
89542         * math/w_sqrtf.c: Likewise.
89543         * math/w_sqrtl.c: Likewise.
89544         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89545         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89546         used.
89547         * math/math_private.h: Declare __kernel_standard_f.
89548         * math/w_cosh.c: Remove cruft and optimize a bit.
89549         * math/w_coshf.c: Likewise.
89550         * math/w_coshl.c: Likewise.
89551         * math/w_exp2.c: Likewise.
89552         * math/w_exp2f.c: Likewise.
89553         * math/w_exp2l.c: Likewise.
89554         * math/w_hypot.c: Likewise.
89555         * math/w_hypotf.c: Likewise.
89556         * math/w_hypotl.c: Likewise.
89557         * math/w_lgamma.c: Likewise.
89558         * math/w_lgamma_r.c: Likewise.
89559         * math/w_lgammaf.c: Likewise.
89560         * math/w_lgammaf_r.c: Likewise.
89561         * math/w_lgammal.c: Likewise.
89562         * math/w_lgammal_r.c: Likewise.
89563         * math/w_sinh.c: Likewise.
89564         * math/w_sinhf.c: Likewise.
89565         * math/w_sinhl.c: Likewise.
89566         * math/w_tgamma.c: Likewise.
89567         * math/w_tgammaf.c: Likewise.
89568         * math/w_tgammal.c: Likewise.
89569         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89570         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89571         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89572         Minor optimizations.  Pretty printing.  Remove cruft.
89573         * sysdeps/i386/fpu/e_acosf.S: Likewise.
89574         * sysdeps/i386/fpu/e_acosh.S: Likewise.
89575         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89576         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89577         * sysdeps/i386/fpu/e_acosl.c: Likewise.
89578         * sysdeps/i386/fpu/e_asin.S: Likewise.
89579         * sysdeps/i386/fpu/e_asinf.S: Likewise.
89580         * sysdeps/i386/fpu/e_atan2.S: Likewise.
89581         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89582         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89583         * sysdeps/i386/fpu/e_atanh.S: Likewise.
89584         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89585         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89586         * sysdeps/i386/fpu/e_exp10.S: Likewise.
89587         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89588         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89589         * sysdeps/i386/fpu/e_exp2.S: Likewise.
89590         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89591         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89592         * sysdeps/i386/fpu/e_fmod.S: Likewise.
89593         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89594         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89595         * sysdeps/i386/fpu/e_hypot.S: Likewise.
89596         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89597         * sysdeps/i386/fpu/e_log.S: Likewise.
89598         * sysdeps/i386/fpu/e_log10.S: Likewise.
89599         * sysdeps/i386/fpu/e_log10f.S: Likewise.
89600         * sysdeps/i386/fpu/e_log10l.S: Likewise.
89601         * sysdeps/i386/fpu/e_log2.S: Likewise.
89602         * sysdeps/i386/fpu/e_log2f.S: Likewise.
89603         * sysdeps/i386/fpu/e_log2l.S: Likewise.
89604         * sysdeps/i386/fpu/e_logf.S: Likewise.
89605         * sysdeps/i386/fpu/e_logl.S: Likewise.
89606         * sysdeps/i386/fpu/e_pow.S: Likewise.
89607         * sysdeps/i386/fpu/e_powf.S: Likewise.
89608         * sysdeps/i386/fpu/e_powl.S: Likewise.
89609         * sysdeps/i386/fpu/e_remainder.S: Likewise.
89610         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89611         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89612         * sysdeps/i386/fpu/e_scalb.S: Likewise.
89613         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89614         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89615         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89616         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89617         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89618         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89619         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89621         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89622         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89623         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89624         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89625         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89626         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89627         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89628         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89629         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89631         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89632         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89633         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89634         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89635         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89636         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89637         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89638         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89639         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89640         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89641         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89642         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89643         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89644         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89645         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89646         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89647         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89648         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89649         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89650         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89651         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89652         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89653         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89654         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89655         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89656         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89657         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89658         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89659         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89660         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89661         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89662         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89663         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89664         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89665         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89666         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89667         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89668         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89669         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89670         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89671         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89672         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89673         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89674         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89675         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89676         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89677         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89678         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89679         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89680         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89681         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89682         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89683         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89684         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89685         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89686         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89687         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89688         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89689         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89690         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89691         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89692         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89693         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89694         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89695         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89696         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89697         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89698         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89699         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89700         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89701         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89702         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89703         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89704         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89705         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89706         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89707         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89708         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89709         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89710         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89711         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89712         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89713         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89714         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89715         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89716         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89717         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89718         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89719         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89720         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89721         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89722         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89723         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89724         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89725         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89726         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89727         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89728         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
89729         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89730         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89731         (__isnanf): Likewise.
89732         (__isinf_ns): Likewise.
89733         (__isinf_nsf): Likewise.
89734         (__finite): Likewise.
89735         (__finitef): Likewise.
89736         (__ieee754_sqrt): Define as macro.
89737         (__ieee754_sqrtf): Define as macro.
89738         (__ieee754_sqrtl): Define as macro.
89739         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89740         inlined copy.
89741         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89742         __FINITE_MATH_ONLY__ consistent.
89743         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89745 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
89747         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89748         of rawmemchr.
89750         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89752 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
89754         * po/ja.po: Update from translation team.
89756 2011-10-08  Roland McGrath  <roland@hack.frob.com>
89758         * locale/programs/locarchive.c (prepare_address_space): New function.
89759         (create_archive, enlarge_archive, open_archive): Use it.
89761         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89762         inside [SHARED], where it is used.
89764         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89766         * nss/getent.c (netgroup_keys): Remove unused variable.
89767         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89769 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
89771         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89772         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89773         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89774         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89775         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89776         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89777         * math/Makefile (libm-calls): Add s_isinf_ns.
89778         * math/divtc3.c: Use __isinf_nsl instead of isinf.
89779         * math/multc3.c: Likewise.
89780         * math/s_casin.c: Likewise.
89781         * math/s_casinf.c: Likewise.
89782         * math/s_casinl.c: Likewise.
89783         * math/s_ccos.c: Likewise.
89784         * math/s_ccosf.c: Likewise.
89785         * math/s_ccosl.c: Likewise.
89786         * math/s_ctan.c: Likewise.
89787         * math/s_ctanf.c: Likewise.
89788         * math/s_ctanh.c: Likewise.
89789         * math/s_ctanhf.c: Likewise.
89790         * math/s_ctanhl.c: Likewise.
89791         * math/s_ctanl.c: Likewise.
89792         * math/w_fmod.c: Likewise.
89793         * math/w_fmodf.c: Likewise.
89794         * math/w_fmodl.c: Likewise.
89795         * math/w_remainder.c: Likewise.
89796         * math/w_remainderf.c: Likewise.
89797         * math/w_remainderl.c: Likewise.
89798         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
89799         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
89800         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
89801         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
89802         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
89803         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
89804         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
89805         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
89807         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
89808         of the number.
89809         * stdio-common/printf_fphex.c: Likewise.
89810         * stdio-common/printf_size.c: Likewise.
89812         * math/e_exp10.c: Include math_private.h using <...> not "...".
89813         * math/e_exp10f.c: Likewise.
89814         * math/e_exp10l.c: Likewise.
89815         * math/e_exp2l.c: Likewise.
89816         * math/e_j0l.c: Likewise.
89817         * math/e_j1l.c: Likewise.
89818         * math/e_jnl.c: Likewise.
89819         * math/e_lgammal_r.c: Likewise.
89820         * math/e_rem_pio2l.c: Likewise.
89821         * math/e_scalb.c: Likewise.
89822         * math/e_scalbf.c: Likewise.
89823         * math/e_scalbl.c: Likewise.
89824         * math/k_cosl.c: Likewise.
89825         * math/k_sinl.c: Likewise.
89826         * math/k_tanl.c: Likewise.
89827         * math/s_cacoshf.c: Likewise.
89828         * math/s_catan.c: Likewise.
89829         * math/s_catanf.c: Likewise.
89830         * math/s_catanh.c: Likewise.
89831         * math/s_catanhf.c: Likewise.
89832         * math/s_catanhl.c: Likewise.
89833         * math/s_catanl.c: Likewise.
89834         * math/s_ccosh.c: Likewise.
89835         * math/s_ccoshf.c: Likewise.
89836         * math/s_ccoshl.c: Likewise.
89837         * math/s_cexp.c: Likewise.
89838         * math/s_cexpf.c: Likewise.
89839         * math/s_cexpl.c: Likewise.
89840         * math/s_clog.c: Likewise.
89841         * math/s_clog10.c: Likewise.
89842         * math/s_clog10f.c: Likewise.
89843         * math/s_clog10l.c: Likewise.
89844         * math/s_clogf.c: Likewise.
89845         * math/s_clogl.c: Likewise.
89846         * math/s_csin.c: Likewise.
89847         * math/s_csinf.c: Likewise.
89848         * math/s_csinh.c: Likewise.
89849         * math/s_csinhf.c: Likewise.
89850         * math/s_csinhl.c: Likewise.
89851         * math/s_csinl.c: Likewise.
89852         * math/s_csqrt.c: Likewise.
89853         * math/s_csqrtf.c: Likewise.
89854         * math/s_csqrtl.c: Likewise.
89855         * math/s_ctan.c: Likewise.
89856         * math/s_ctanf.c: Likewise.
89857         * math/s_ctanh.c: Likewise.
89858         * math/s_ctanhf.c: Likewise.
89859         * math/s_ctanhl.c: Likewise.
89860         * math/s_ctanl.c: Likewise.
89861         * math/s_ldexp.c: Likewise.
89862         * math/s_ldexpf.c: Likewise.
89863         * math/s_ldexpl.c: Likewise.
89864         * math/s_significand.c: Likewise.
89865         * math/s_significandf.c: Likewise.
89866         * math/s_significandl.c: Likewise.
89867         * math/w_acos.c: Likewise.
89868         * math/w_acosf.c: Likewise.
89869         * math/w_acosh.c: Likewise.
89870         * math/w_acoshf.c: Likewise.
89871         * math/w_acoshl.c: Likewise.
89872         * math/w_acosl.c: Likewise.
89873         * math/w_asin.c: Likewise.
89874         * math/w_asinf.c: Likewise.
89875         * math/w_asinl.c: Likewise.
89876         * math/w_atan2.c: Likewise.
89877         * math/w_atan2f.c: Likewise.
89878         * math/w_atan2l.c: Likewise.
89879         * math/w_atanh.c: Likewise.
89880         * math/w_atanhf.c: Likewise.
89881         * math/w_atanhl.c: Likewise.
89882         * math/w_cosh.c: Likewise.
89883         * math/w_coshf.c: Likewise.
89884         * math/w_coshl.c: Likewise.
89885         * math/w_dremf.c: Likewise.
89886         * math/w_exp10.c: Likewise.
89887         * math/w_exp10f.c: Likewise.
89888         * math/w_exp10l.c: Likewise.
89889         * math/w_exp2.c: Likewise.
89890         * math/w_exp2f.c: Likewise.
89891         * math/w_fmod.c: Likewise.
89892         * math/w_fmodf.c: Likewise.
89893         * math/w_fmodl.c: Likewise.
89894         * math/w_hypot.c: Likewise.
89895         * math/w_hypotf.c: Likewise.
89896         * math/w_hypotl.c: Likewise.
89897         * math/w_j0.c: Likewise.
89898         * math/w_j0f.c: Likewise.
89899         * math/w_j0l.c: Likewise.
89900         * math/w_j1.c: Likewise.
89901         * math/w_j1f.c: Likewise.
89902         * math/w_j1l.c: Likewise.
89903         * math/w_jn.c: Likewise.
89904         * math/w_jnf.c: Likewise.
89905         * math/w_jnl.c: Likewise.
89906         * math/w_lgamma.c: Likewise.
89907         * math/w_lgamma_r.c: Likewise.
89908         * math/w_lgammaf.c: Likewise.
89909         * math/w_lgammaf_r.c: Likewise.
89910         * math/w_lgammal.c: Likewise.
89911         * math/w_lgammal_r.c: Likewise.
89912         * math/w_log.c: Likewise.
89913         * math/w_log10.c: Likewise.
89914         * math/w_log10f.c: Likewise.
89915         * math/w_log10l.c: Likewise.
89916         * math/w_log2.c: Likewise.
89917         * math/w_log2f.c: Likewise.
89918         * math/w_log2l.c: Likewise.
89919         * math/w_logf.c: Likewise.
89920         * math/w_logl.c: Likewise.
89921         * math/w_pow.c: Likewise.
89922         * math/w_powf.c: Likewise.
89923         * math/w_powl.c: Likewise.
89924         * math/w_remainder.c: Likewise.
89925         * math/w_remainderf.c: Likewise.
89926         * math/w_remainderl.c: Likewise.
89927         * math/w_scalb.c: Likewise.
89928         * math/w_scalbf.c: Likewise.
89929         * math/w_scalbl.c: Likewise.
89930         * math/w_sinh.c: Likewise.
89931         * math/w_sinhf.c: Likewise.
89932         * math/w_sinhl.c: Likewise.
89933         * math/w_sqrt.c: Likewise.
89934         * math/w_sqrtf.c: Likewise.
89935         * math/w_sqrtl.c: Likewise.
89936         * math/w_tgamma.c: Likewise.
89937         * math/w_tgammaf.c: Likewise.
89938         * math/w_tgammal.c: Likewise.
89940         * po/ja.po: Update from translation team.
89942 2011-09-29  Andreas Jaeger  <aj@suse.de>
89944         [BZ #13179]
89945         * sunrpc/netname.c (netname2host): Fix logic.
89947         [BZ #6779]
89948         [BZ #6783]
89949         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
89950         correctly.
89951         * math/w_remainder.c (__remainder): Likewise.
89952         * math/w_remainderf.c (__remainderf): Likewise.
89953         * math/libm-test.inc (remainder_test): Add test cases.
89955 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89957         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
89958         sdiv_qrnnd.
89960 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89962         * string/test-memcmp.c: Avoid unncessary #defines.
89963         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89965 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89967         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
89968         Use new sse2 version for core i3 - i7 as it's faster
89969         than sse42 version.
89970         (bit_Prefer_PMINUB_for_stringop): New.
89971         * sysdeps/x86_64/rawmemchr.S: Update.
89972         Replace with faster SSE2 version.
89973         * sysdeps/x86_64/memrchr.S: New file.
89974         * sysdeps/x86_64/memchr.S: Update.
89975         Replace with faster SSE2 version.
89977 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
89979         * elf/dl-load.c (lose): Add cast to avoid warning.
89981 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89983         * po/ca.po: Update from translation team.
89985         * inet/getnetgrent_r.c: Hook up nscd.
89986         * nscd/Makefile (routines): Add nscd_netgroup.
89987         (nscd-modules): Add netgroupcache.
89988         (CFLAGS-netgroupcache.c): Define.
89989         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
89990         (cache_search): Add const to second parameter.
89991         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
89992         INNETGR.
89993         (dbs): Add netgrdb entry.
89994         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
89995         (verify_persistent_db): Handle netgrdb.
89996         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
89997         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
89998         GETFDNETGR.
89999         (netgroup_response_header): Define.
90000         (innetgroup_response_header): Define.
90001         (datahead): Add netgroup_response_header and innetgroup_response_header
90002         elements.
90003         * nscd/nscd.conf: Add entries for netgroup cache.
90004         * nscd/nscd.h (dbtype): Add netgrdb.
90005         (_PATH_NSCD_NETGROUP_DB): Define.
90006         (netgroup_iov_disabled): Declare.
90007         (xmalloc, xcalloc, xrealloc): Move declarations here.
90008         (cache_search): Adjust prototype.
90009         Add netgroup-related prototypes.
90010         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
90011         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
90012         (__nscd_innetgr): Declare.
90013         * nscd/selinux.c (perms): Use access_vector_t as element type and
90014         add netgroup-related initializers.
90015         * nscd/netgroupcache.c: New file.
90016         * nscd/nscd_netgroup.c: New file.
90017         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
90018         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
90019         For four parameters use innetgr.
90020         * nss/nss_files/files-init.c: Add definition and callback for netgr.
90021         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
90022         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
90023         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
90025         * nscd/connections.c (register_traced_file): Don't register file
90026         for disabled databases.
90028 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
90030         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
90032         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
90033         from tree and freeing node.
90035 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
90037         * nss/nsswitch.c (__nss_database_lookup): Handle
90038         nss_parse_service_list out of memory case.
90040 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
90042         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
90043         out of memory case.
90045 2011-10-04  Andreas Schwab  <schwab@redhat.com>
90047         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
90048         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
90049         pass it down.
90050         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
90051         elf_machine_rela, elf_machine_lazy_rel.
90052         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
90053         (ELF_DYNAMIC_DO_REL): Likewise.
90054         (ELF_DYNAMIC_DO_RELA): Likewise.
90055         (ELF_DYNAMIC_RELOCATE): Likewise.
90056         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
90057         to ELF_DYNAMIC_DO_REL.
90058         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
90059         (dl_main): In trace mode always set __RTLD_NOIFUNC.
90060         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
90061         elf_machine_rela.
90062         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
90063         skip_ifunc, don't call ifunc function if non-zero.
90064         (elf_machine_rela): Likewise.
90065         (elf_machine_lazy_rel): Likewise.
90066         (elf_machine_lazy_rela): Likewise.
90067         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
90068         (elf_machine_lazy_rel): Likewise.
90069         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
90070         Likewise.
90071         (elf_machine_lazy_rel): Likewise.
90072         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90073         Likewise.
90074         (elf_machine_lazy_rel): Likewise.
90075         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
90076         (elf_machine_lazy_rel): Likewise.
90077         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
90078         (elf_machine_lazy_rel): Likewise.
90079         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90080         (elf_machine_lazy_rel): Likewise.
90081         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90082         (elf_machine_lazy_rel): Likewise.
90083         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90084         (elf_machine_lazy_rel): Likewise.
90085         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90086         (elf_machine_lazy_rel): Likewise.
90088 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
90090         * nss/nss_files/files-init.c (_nss_files_init): Use static
90091         initialization for all the *_traced_file variables.
90093 2011-09-28  Andreas Schwab  <schwab@redhat.com>
90095         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90097 2011-09-27  Roland McGrath  <roland@hack.frob.com>
90099         [BZ #13226]
90100         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90102 2011-09-27  Andreas Schwab  <schwab@redhat.com>
90104         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90105         Reread the line before reparsing it.
90107 2011-09-26  Andreas Schwab  <schwab@redhat.com>
90109         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90111 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
90112             Maxim Kuvyrkov  <maxim@codesourcery.com>
90113             Joseph Myers  <joseph@codesourcery.com>
90115         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90116         if needed for __stack_chk_guard.
90118 2011-09-19  Roland McGrath  <roland@hack.frob.com>
90120         * sysdeps/posix/spawni.c (script_execute): Always define it.
90121         It will be optimized away if unused.
90122         (maybe_script_execute): New function.
90123         (__spawni): Call it.
90125         * Makerules: Don't include tls.make.
90126         (config-tls): Always set to thread.
90127         * tls.make.c: File removed.
90129 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
90131         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90132         * config.make.in (CPPFLAGS-config): New substituted variable.
90134 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90136         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90138         [BZ #13192]
90139         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90140         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90142 2011-09-15  Roland McGrath  <roland@hack.frob.com>
90144         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90145         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90146         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90147         (CALL_FAIL): Likewise.
90148         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90149         (CALL_FAIL): Macro removed.
90150         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
90152 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90154         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
90155         for __FINITE_MATH_ONLY__ == 1.
90157 2011-09-15  Andreas Schwab  <schwab@redhat.com>
90159         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
90160         __ieee754_sqrt instead of sqrt.
90161         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
90162         __ieee754_sqrtf instead of sqrtf.
90163         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
90164         __floorf instead of floorf.
90165         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
90166         __floorf, __truncf instead of floorf, truncf.
90168 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
90170         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
90172         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
90173         __extern_always_inline.
90174         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
90175         32-bit.
90177 2011-09-14  Andreas Schwab  <schwab@redhat.com>
90179         * elf/rtld.c (dl_main): Also relocate in dependency order when
90180         doing symbol dependency testing.
90182 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
90184         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90185         Always define `refsym'.
90187 2011-09-13  Andreas Schwab  <schwab@redhat.com>
90189         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
90190         (__FD_ELT): Renamed from __FDELT.
90191         * misc/bits/select2.h (__FD_ELT): Likewise.
90192         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
90193         __FD_MASK instead of __FDELT, __FDMASK.
90194         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90195         Likewise.
90196         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90197         Likewise.
90199         * elf/Makefile (gen-ldd): Fix pattern.
90201         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
90202         (init_tls): Likewise.
90204 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
90206         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
90208 2011-09-12  Andreas Schwab  <schwab@redhat.com>
90210         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
90211         `struct cmsghdr *' instead of `void *'.
90212         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
90213         Likewise.
90215 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
90217         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
90218         if non-absolute.
90219         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
90220         ldd_rewrite_script.
90222 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
90224         * configure.in: Remove --with-tls option.
90225         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
90226         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
90227         out in case it is missing.
90228         * sysdeps/ia64/elf/configure.in: Likewise.
90229         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
90230         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
90231         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
90232         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
90233         * sysdeps/sh/elf/configure.in: Likewise.
90234         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
90235         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
90236         * sysdeps/x86_64/elf/configure.in: Likewise.
90237         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
90238         * sysdeps/mach/hurd/tls.h: Likewise.
90240         [BZ #13067]
90241         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
90243         [BZ #13090]
90244         * configure.in: Fix use of AC_INIT.
90246         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
90248 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
90250         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
90251         __set_errno.
90252         * malloc/hooks.c: Likewise.
90254         [BZ #11929]
90255         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
90256         variables statically.
90257         (narenas): Initialize.
90258         (list_lock): Initialize.
90259         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
90260         initializtion of main_arena and list_lock.  Small cleanups.
90261         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
90262         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
90263         Add initializers to main_arena and mp_.
90264         (malloc_state): Remove pagesize member.  Change all users to use
90265         GLRO(dl_pagesize).
90267         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
90268         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
90269         is always initialized.
90271         * malloc/malloc.c: Removed unused configurations and dead code.
90272         * malloc/arena.c: Likewise.
90273         * malloc/hooks.c: Likewise.
90274         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
90276         * include/tls.h: Removed.  USE___THREAD must always be defined.
90277         * bits/libc-tsd.h: Don't handle !USE___THREAD.
90278         * elf/dl-libc.c: Likewise.
90279         * elf/dl-tsd.c: Likewise.
90280         * include/errno.h: Likewise.
90281         * include/netdb.h: Likewise.
90282         * include/resolv.h: Likewise.
90283         * inet/herrno-loc.c: Likewise.
90284         * inet/herrno.c: Likewise.
90285         * malloc/arena.c: Likewise.
90286         * malloc/hooks.c: Likewise.
90287         * malloc/malloc.c: Likewise.
90288         * resolv/res-state.c: Likewise.
90289         * resolv/res_libc.c: Likewise.
90290         * sysdeps/i386/dl-machine.h: Likewise.
90291         * sysdeps/ia64/dl-machine.h: Likewise.
90292         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
90293         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
90294         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
90295         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90296         * sysdeps/sh/dl-machine.h: Likewise.
90297         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
90298         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
90299         * sysdeps/unix/i386/sysdep.S: Likewise.
90300         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
90301         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
90302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
90303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
90304         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
90305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
90306         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
90307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
90308         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90310         * sysdeps/unix/x86_64/sysdep.S: Likewise.
90311         * sysdeps/x86_64/dl-machine.h: Likewise.
90312         * tls.make.c: Likewise.
90314         * configure.in: Remove --with-__thread option.  Make tests for
90315         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
90316         tls_model attribute fail if no support is available.  Remove
90317         USE_IN_LIBIO.
90318         * Makeconfig: Adjust for dropped configure option.  All features are
90319         now mandatory.
90320         * Makerules: Likewise.
90321         * Versions.def: Likewise.
90322         * argp/argp-fmtstream.c: Likewise.
90323         * argp/argp-fmtstream.h: Likewise.
90324         * argp/argp-help.c: Likewise.
90325         * assert/assert.c: Likewise.
90326         * config.h.in: Likewise.
90327         * config.make.in: Likewise.
90328         * configure: Likewise.
90329         * configure.in: Likewise.
90330         * csu/Versions: Likewise.
90331         * csu/init.c: Likewise.
90332         * elf/tst-audit2.c: Likewise.
90333         * elf/tst-tls10.c: Likewise.
90334         * elf/tst-tls10.h: Likewise.
90335         * elf/tst-tls11.c: Likewise.
90336         * elf/tst-tls12.c: Likewise.
90337         * elf/tst-tls14.c: Likewise.
90338         * elf/tst-tlsmod11.c: Likewise.
90339         * elf/tst-tlsmod12.c: Likewise.
90340         * elf/tst-tlsmod13.c: Likewise.
90341         * elf/tst-tlsmod13a.c: Likewise.
90342         * elf/tst-tlsmod14a.c: Likewise.
90343         * elf/tst-tlsmod15b.c: Likewise.
90344         * elf/tst-tlsmod16a.c: Likewise.
90345         * elf/tst-tlsmod16b.c: Likewise.
90346         * elf/tst-tlsmod7.c: Likewise.
90347         * elf/tst-tlsmod8.c: Likewise.
90348         * elf/tst-tlsmod9.c: Likewise.
90349         * gmon/gmon.c: Likewise.
90350         * grp/fgetgrent_r.c: Likewise.
90351         * grp/putgrent.c: Likewise.
90352         * hurd/fopenport.c: Likewise.
90353         * include/libc-symbols.h: Likewise.
90354         * include/tls.h: Likewise.
90355         * intl/gettextP.h: Likewise.
90356         * intl/loadinfo.h: Likewise.
90357         * locale/global-locale.c: Likewise.
90358         * locale/localeinfo.h: Likewise.
90359         * mach/devstream.c: Likewise.
90360         * malloc/arena.c: Likewise.
90361         * malloc/set-freeres.c: Likewise.
90362         * misc/err.c: Likewise.
90363         * misc/getttyent.c: Likewise.
90364         * misc/mntent_r.c: Likewise.
90365         * posix/getopt.c: Likewise.
90366         * posix/wordexp.c: Likewise.
90367         * pwd/fgetpwent_r.c: Likewise.
90368         * resolv/Versions: Likewise.
90369         * resolv/res_hconf.c: Likewise.
90370         * shadow/fgetspent_r.c: Likewise.
90371         * shadow/putspent.c: Likewise.
90372         * stdio-common/printf_fphex.c: Likewise.
90373         * stdio-common/tmpfile.c: Likewise.
90374         * stdlib/abort.c: Likewise.
90375         * stdlib/fmtmsg.c: Likewise.
90376         * sunrpc/auth_unix.c: Likewise.
90377         * sunrpc/clnt_perr.c: Likewise.
90378         * sunrpc/clnt_tcp.c: Likewise.
90379         * sunrpc/clnt_udp.c: Likewise.
90380         * sunrpc/clnt_unix.c: Likewise.
90381         * sunrpc/openchild.c: Likewise.
90382         * sunrpc/svc_simple.c: Likewise.
90383         * sunrpc/svc_tcp.c: Likewise.
90384         * sunrpc/svc_udp.c: Likewise.
90385         * sunrpc/svc_unix.c: Likewise.
90386         * sunrpc/xdr.c: Likewise.
90387         * sunrpc/xdr_array.c: Likewise.
90388         * sunrpc/xdr_rec.c: Likewise.
90389         * sunrpc/xdr_ref.c: Likewise.
90390         * sunrpc/xdr_stdio.c: Likewise.
90392 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90394         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90396 2011-07-03  Andreas Jaeger  <aj@suse.de>
90398         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90399         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90400         regenerate with gen-libm-tests.pl.
90402 2010-05-12  Petr Baudis  <pasky@suse.cz>
90404         [BZ #11589]
90405         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90406         around j0() zero points by switching to j1().
90407         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90408         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90410         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90412 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90414         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90415         instead of 0.
90416         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90417         instead of 0.
90418         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90419         Patch in part by Pavel Roskin <proski@gnu.org>.
90421         [BZ #13138]
90422         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90423         realloc.
90424         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
90425         Free memory block if necessary.
90427         [BZ #12847]
90428         * libio/genops.c (INTDEF): For string streams the _lock pointer can
90429         be NULL.  Don't lock in this case.
90431 2011-09-09  Roland McGrath  <roland@hack.frob.com>
90433         * elf/elf.h (ELFOSABI_GNU): New macro.
90434         (ELFOSABI_LINUX): Define to that.
90436 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
90438         * string/strncat.c (strncat): Undef the symbol in case it has been
90439         defined in bits/string.h.
90441 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90443         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90445         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90446         link map.
90448 2011-08-17  Andreas Jaeger  <aj@suse.de>
90450         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90452 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
90453             Ian Lance Taylor  <iant@google.com>
90455         * math/libm-test.inc (lround_test): New testcase.
90456         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90458 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90460         * Makefile: Remove support for automatic cvs check-ins.
90461         * Makerules: Likewise.
90462         * config.make.in: Likewise.
90463         * configure.in: Likewise.
90464         * intl/Makefile: Likewise.
90465         * locale/Makefile: Likewise.
90466         * po/Makefile: Likewise.
90467         * posix/Makefile: Likewise.
90468         * sysdeps/gnu/Makefile: Likewise.
90469         * sysdeps/mach/hurd/Makefile: Likewise.
90470         * sysdeps/sparc/sparc32/Makefile: Likewise.
90472         [BZ #13118]
90473         * posix/Makefile (bug-regex32-ENV): Define.
90474         Patch by John Stanley <jpsinthemix@verizon.net>.
90476         * misc/Makefile (headers): Add bits/select2.h.
90477         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90478         * misc/bits/select2.h: New file.
90479         * include/bits/select2.h: New file.
90480         * debug/Makefile (routines): Add fdelt_chk.
90481         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90482         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90483         FD_ISSET.
90484         * debug/fdelt_chk.c: New file.
90486         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90487         * wcsmbs/test-wmemcmp.c: Likewise.
90488         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90489         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90491 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90493         * string/Makefile (strop-tests): Add memcmp.
90494         * string/test-wmemcmp.c: New file.
90495         * string/test-memcmp.c: Add wmemcmp support.
90497 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90499         [BZ #13153]
90500         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90501         2011-07-19 change.
90503         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90504         garbage value in a __mach_port_mod_refs call in the cases of the
90505         task-self and thread-self ports.
90507 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90509         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90511 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90513         * elf/dl-load.c (lose): Check for non-null L.
90515 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90517         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90519         * elf/dl-libc.c (dlerror_run): Pass back error code from
90520         dl_catch_error.
90522         [BZ #13123]
90523         * elf/dl-load.c (lose): Free l_origin if it is valid.
90525         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90526         names.
90527         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90528         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90529         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90530         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90531         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90532         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90534 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90536         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90537         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90538         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90539         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90540         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90541         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90542         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90543         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90544         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90545         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90547 2011-08-15  Alan Modra  <amodra@gmail.com>
90549         [BZ #13092]
90550         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90551         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90552         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90553         ppc_mcount to static-only-routines.
90554         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90555         __mcount_internal.
90556         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90557         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90559 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90561         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90562         for finite and infinity parameters.
90564 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
90566         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90567         and add nop instructions for throughput optimization.
90568         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90570 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
90572         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90573         aligned copy for power7 with vector-scalar instructions.
90574         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90576 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
90578         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90579         AVX check.
90581 2011-09-07  Andreas Schwab  <schwab@redhat.com>
90583         [BZ #13144]
90584         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90585         last change.
90587 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90589         * sysdeps/unix/sysv/linux/x86_64/init-first.c
90590         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90591         syscall wrapper around clock_gettime in __vdso_clock_gettime.
90592         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90593         clock_gettime.
90595 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90597         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90598         Forgot to demangle the pointer.
90600         * sysdeps/i386/sysdep.h: Define atom_text_section.
90601         * sysdeps/x86_64/sysdep.h: Likewise.
90602         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90603         section with atom_text_section.
90604         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90605         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90606         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90607         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90608         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90610         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90611         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90612         already be defined.  Change to take two parameters and don't assign
90613         result to variable.  Adjust all users.
90614         Define INTERNAL_GETTIME if not already defined.
90615         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90616         call.
90617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90618         HAVE_CLOCK_GETTIME_VSYSCALL.
90619         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90621         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90622         gettimeofday vsyscall, just use time.
90624 2011-09-06  Andreas Schwab  <schwab@redhat.com>
90626         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90627         <errno.h>.
90629 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90631         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90632         syscall on x86-64.
90633         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90634         syscall.
90635         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90636         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90637         syscall if possible.
90639 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90641         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90642         e_ident.  Don't pass to find_mapsXX.
90643         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90645 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90648         strchr-sse2-no-bsf strrchr-sse2-no-bsf
90649         * sysdeps/x86_64/multiarch/strchr.S: Update.
90650         Check bit_slow_BSF bit.
90651         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90652         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90653         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90655 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90657         [BZ #13134]
90658         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90659         before glibc 2.15.
90660         (tryshell): Define.
90661         (__spawni): Change last parameter to be flag.  Test
90662         SPAWN_XFLAGS_USE_PATH flag to use path or not.
90663         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90664         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90665         * posix/spawni.c: Likewise.
90666         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90667         * posix/spawnp.c: Likewise.  Change normal version to use
90668         SPAWN_XFLAGS_USE_PATH.
90669         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90670         SPAWN_XFLAGS_TRY_SHELL.
90672         [BZ #13150]
90673         * posix/glob.h: Remove gcc 1.x support.
90675         [BZ #13068]
90676         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90678 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90680         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90681         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90682         strrchr-sse2-bsf
90683         * sysdeps/i386/i686/multiarch/strchr.S: New file.
90684         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90685         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90686         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90687         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90688         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90690 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90692         * sysdeps/x86_64/wcscmp.S: New file.
90694         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90695         wcscmp-c wcscmp-sse2
90696         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90697         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90698         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90699         * wcsmbs/wcscmp.c: Allow renaming.
90701 2011-09-05  David S. Miller  <davem@davemloft.net>
90703         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90704         stack slot, rather than the struct return pointer slot.
90705         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90706         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90708         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90710 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90712         * po/ja.po: Update from translation team.
90714         [BZ #13144]
90715         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90716         kernel in 64-bit binaries.
90718 2011-09-01  David S. Miller  <davem@davemloft.net>
90720         * elf/elf.h (HWCAP_SPARC_*): Move to..
90721         * sysdeps/sparc/sysdep.h: this new file and add new values.
90722         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90723         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90724         _DL_HWCAP_COUNT to 24.
90725         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90726         entries.
90727         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90728         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90729         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90730         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90731         instead of magic constants.
90732         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90734 2011-08-31  David S. Miller  <davem@davemloft.net>
90736         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90737         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90738         Reimplement to do errno handling inline.
90739         (SYSCALL_ERROR_HANDLER): New macro.
90740         (__SYSCALL_STRING): Do not do errno handling in asm.
90741         (__CLONE_SYSCALL_STRING): Delete.
90742         (__INTERNAL_SYSCALL_STRING): Delete.
90743         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90744         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90745         (PSEUDO): Reimplement to do errno handling inline.
90746         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90747         (SYSCALL_ERROR_HANDLER): New macro.
90748         (__SYSCALL_STRING): Do not do errno handling in asm.
90749         (__CLONE_SYSCALL_STRING): Delete.
90750         (__INTERNAL_SYSCALL_STRING): Delete.
90751         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90752         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90753         i386.
90754         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90755         (inline_syscall*): Add 'err' argument.
90756         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90757         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90758         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90759         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90761         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90762         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90764 2011-08-30  Andreas Schwab  <schwab@redhat.com>
90766         * elf/rtld.c (dl_main): Relocate objects in dependency order.
90768 2011-08-29  Jiri Olsa <jolsa@redhat.com>
90770         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90771         directive.
90773 2011-08-24  David S. Miller  <davem@davemloft.net>
90775         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90777 2011-08-24  Andreas Schwab  <schwab@redhat.com>
90779         * elf/Makefile: Add rules to build and run unload8 test.
90780         * elf/unload8.c: New file.
90781         * elf/unload8mod1.c: New file.
90782         * elf/unload8mod1x.c: New file.
90783         * elf/unload8mod2.c: New file.
90784         * elf/unload8mod3.c: New file.
90786         * elf/dl-close.c (_dl_close_worker): Reset private search list if
90787         it wasn't used.
90789 2011-08-23  David S. Miller  <davem@davemloft.net>
90791         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
90792         subtract stack bias.
90793         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
90794         %sp not %fp in calculations.
90795         (_JMPBUF_UNWINDS_ADJ): Likewise.
90797         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
90798         (aio_suspend): Call it to force an exception region around the
90799         AIO_MISC_WAIT() invocation.
90801 2011-08-23  Andreas Schwab  <schwab@redhat.com>
90803         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
90804         backslash.
90806 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
90808         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
90809         protection macro.
90810         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
90811         and <dl-machine.h>.
90812         (Elf64_FuncDesc): Remove.
90814 2011-08-22  David S. Miller  <davem@davemloft.net>
90816         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
90817         sigaltstack check, add missing cfi directives.
90818         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
90819         missing cfi directives, and sigaltstack handling.
90821 2011-08-16  Andreas Schwab  <schwab@redhat.com>
90823         [BZ #11724]
90824         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
90825         object is seen twice.
90826         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90828         * elf/Makefile (distribute): Add tst-initorder2.c.
90829         (tests): Add tst-initorder2.
90830         (modules-names): Add tst-initorder2a tst-initorder2b
90831         tst-initorder2c tst-initorder2d.  Add rules to build them.
90832         ($(objpfx)tst-initorder2.out): New rule.
90833         * elf/tst-initorder2.c: New file.
90834         * elf/tst-initorder2.exp: New file.
90836 2011-08-22  Andreas Schwab  <schwab@redhat.com>
90838         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
90840         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
90841         dependencies back to end of function.
90843         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90844         $(elfobjdir)/ld.so.
90846 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
90848         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
90849         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
90850         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
90851         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
90852         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
90853         of __vdso_gettimeofday.
90854         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
90855         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
90856         attribute_hidden.
90857         (_libc_vdso_platform_setup): Remove initialization of
90858         __vdso_gettimeofday and __vdso_time.
90860 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90862         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
90863         and fgetc_unlocked.
90864         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
90865         getc_unlocked.
90867         * elf/dl-open.c (add_to_global): Report additions to the global scope
90868         for LD_DEBUG=scopes.
90869         (dl_open_worker): Also print scope of newly loaded dependencies.
90870         (_dl_show_scope): Indicate if there is no scope.
90872         [BZ #13114]
90873         * stdio-common/Makefile (tests): Add bug24.
90874         * stdio-common/bug24.c: New file.
90876 2011-08-19  Andreas Jaeger  <aj@suse.de>
90878         [BZ #13114]
90879         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
90880         non-existant file when using close-on-exec mode.
90882 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90884         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
90885         the very first instruction.
90887         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
90888         the CFI state in the end.
90889         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
90890         inclusion of dl-trampoline.h.
90891         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
90893 2011-08-19  Andreas Schwab  <schwab@redhat.com>
90895         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
90896         expectations for long double.
90898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
90899         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
90901 2011-08-14  David S. Miller  <davem@davemloft.net>
90903         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
90904         artificual limit depends upon the system page size.
90906 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90908         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
90909         * resolv/Makefile: Define CFLAGS-libresolv.
90911 2011-08-17  Andreas Schwab  <schwab@redhat.com>
90913         * nss/makedb.c (compute_tables): Make variables used in nested
90914         function static.
90916 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90918         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
90919         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
90920         if buffer was too small.
90922         * elf/pldd.c (main): Attach to all threads in the process.
90923         Rewrite /proc handling to use *at functions.
90925 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
90927         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
90928         specifies first scope to show.
90929         (dl_open_worker): Update callers.  Move printing scope of new
90930         object to before the relocation.
90931         * elf/rtld.c (dl_main): Update _dl_show_scope call.
90932         * sysdeps/generic/ldsodefs.h: Update declaration.
90934         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
90935         string for the scope number.
90937 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
90939         * nscd/servicescache.c (cache_addserv): Make sure written is always
90940         initialized.
90942 2011-08-14  Roland McGrath  <roland@hack.frob.com>
90944         * sysdeps/i386/i486/bits/atomic.h
90945         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
90946         statement expression, so as to suppress "set but not used" warning.
90947         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
90949         * string/strncat.c (STRNCAT): Use prototype definition.
90951         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
90952         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
90953         -Iprograms here.
90954         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
90955         (localedef-modules): Add localedef.
90956         (locale-modules): Add locale.
90958         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
90959         * elf/rtld.c (dl_main): Invert order of assignment in last change,
90960         to avoid a warning.
90962 2011-08-14  David S. Miller  <davem@davemloft.net>
90964         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
90965         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
90967 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
90969         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
90970         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
90971         * elf/rtld.c (dl_main): Set l_name of vDSO.
90972         Call _dl_show_scope when DL_DEBUG_SCOPES.
90973         (process_dl_debug): Recognize scopes flag and also set it for all.
90974         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
90975         Declare _dl_show_scope.
90977         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
90978         (do_dlopen): Pass caller_dlopen to dl_open.
90979         (__libc_dlopen_mode): Initialize caller_dlopen.
90981         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
90982         of libc.  Make tolower call locale-independent.  Optimize a bit by
90983         using isdigit instead of isalnum.
90984         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
90986 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
90988         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
90989         was a dependency or dynamically loaded.
90991 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
90993         * intl/l10nflist.c: Allow architecture-specific pop function.
90994         * sysdeps/x86_64/l10nflist.c: New file.
90996         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
90997         classification.
90999 2011-08-10  Andreas Schwab  <schwab@redhat.com>
91001         * include/dirent.h: Add libc_hidden_proto for scandirat and
91002         scandirat64.  Don't declare __scandirat64.
91003         * dirent/scandirat.c: Add libc_hidden_def.
91004         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
91005         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
91007 2011-08-10  David S. Miller  <davem@davemloft.net>
91009         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
91010         enum.
91011         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91012         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91013         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91015 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
91017         * Versions.def [libc]: Add GLIBC_2.15.
91018         * dirent/Makefile (routines): Add scandirat and scandirat64.
91019         * dirent/Versions [libc]: Export scandirat and scandirat64 for
91020         GLIBC_2.15.
91021         * dirent/dirent.h: Declare scandirat and scandirat64.
91022         * dirent/scandirat.c: New file.
91023         * dirent/scandirat64.c: New file.
91024         * sysdeps/wordsize-64/scandirat.c: New file.
91025         * sysdeps/wordsize-64/scandirat64.c: New file.
91026         * dirent/opendir.c: Define opendirat.
91027         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
91028         using scandirat.
91029         * dirent/scandir64.c: Adjust for scandir.c change.
91030         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
91031         __scandirat64, and __scandir_cancel_handler.
91032         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
91033         additional parameter and use openat instead of open (outside of ld.so).
91034         Add new __opendir as wrapper around __opendirat.
91035         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
91036         here without requiring old scandirat implementation.
91038 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
91040         * dirent/scandir.c (cancel_handler): Renamed to
91041         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
91042         defined.  Adjust users.
91043         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
91044         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
91046 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
91048         * string/test-string.h (IMPL): Use __STRING to expand name and then
91049         stringify it.
91051         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
91052         of cleanups.
91054 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91056         * string/Makefile: Update.
91057         (strop-tests): Append strncat.
91058         * string/test-wcscmp.c: New file.
91059         New comprehensive test for wcscmp.
91060         * string/test-strcmp.c: Update.
91061         (WIDE): New define.
91063 2011-07-22  Andreas Schwab  <schwab@redhat.com>
91065         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
91066         line.
91068 2011-07-26  Andreas Schwab  <schwab@redhat.com>
91070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91071         encoding to ACE if AI_IDN.
91073 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
91075         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
91076         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
91078 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91080         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91081         Fix overflow bug in strncat.
91082         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91084         * string/test-strncat.c: Update.
91085         Add new tests for checking overflow bugs.
91087 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91089         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91090         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91091         * sysdeps/i386/i686/multiarch/strcat.S: New file.
91092         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91093         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91094         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91095         * sysdeps/i386/i686/multiarch/strncat.S: New file.
91096         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91097         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91099         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91100         (USE_AS_STRCAT): Define.
91101         Add strcat and strncat support.
91102         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91104 2011-07-25  Andreas Schwab  <schwab@redhat.com>
91106         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91107         __n bigger than INT_MAX+1.
91108         (__strncmp_g): Likewise.
91110 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
91112         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91113         * libio/stido.h: Likewise.
91115         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91116         (AF_NFC): Define.
91117         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91118         (AF_NFC): Define.
91120         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91121         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91122         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91123         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91124         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91126         [BZ #13021]
91127         * scripts/test-installation.pl: Don't expect libnss_test1 to be
91128         installed.
91130         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91131         typo.
91132         (_dl_x86_64_save_sse): Likewise.
91134 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
91136         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91137         OSXSAVE.
91138         (_dl_x86_64_save_sse): Likewise.
91140         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91142         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91144 2011-07-21  Andreas Schwab  <schwab@redhat.com>
91146         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91147         change.
91148         (_dl_x86_64_save_sse): Use correct AVX check.
91150 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91152         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
91153         bug in strncpy/strncat.
91154         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
91156 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
91158         * string/tester.c (test_strcat): Add tests for different alignments
91159         of source and destination.
91160         (test_strncat): Likewise.
91162 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91164         [BZ #12852]
91165         * posix/glob.c (glob): Check passed in values before using them in
91166         expressions to avoid some overflows.
91167         (glob_in_dir): Likewise.
91169         [BZ #13007]
91170         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
91171         check for AVX enablement so that we don't crash with old kernels and
91172         new hardware.
91173         * elf/tst-audit4.c: Add same checks here.
91174         * elf/tst-audit6.c: Likewise.
91176         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
91178 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
91180         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
91182 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91184         * po/cs.po: Update from translation team.
91185         * po/bg.po: Likewise.
91187 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
91189         * misc/sys/cdefs.h: Add support for const attribute.
91190         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
91191         to gnu_dev_{major,minor,makedev} functions.
91193 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
91195         * intl/dcigettext.c (get_output_charset): Add missing bracket.
91197 2011-07-20  Andreas Schwab  <schwab@redhat.com>
91199         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
91200         strlen results.
91202 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
91205         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
91206         register in order to avoid conflicts with the soft frame pointer
91207         being held in r11 when necessary.
91208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
91209         (INTERNAL_VSYSCALL_NCS): Likewise.
91211 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
91213         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
91214         * elf/dl-fini.c (_dl_fini): Adjust caller.
91215         * elf/dl-close.c (_dl_close_worker): Likewise.
91216         * sysdeps/generic/ldsodefs.h: Adjust declaration.
91218 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91220         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
91221         "aux_cache->nlibs < 0".
91223         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91224         in the reload-count case.
91226 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91229         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
91230         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
91231         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
91232         * sysdeps/x86_64/multiarch/strcat.S: New file.
91233         * sysdeps/x86_64/multiarch/strncat.S: New file.
91234         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
91235         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
91236         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
91237         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
91238         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
91239         (USE_AS_STRCAT): Define.
91240         Add strcat and strncat support.
91241         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91242         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
91243         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
91244         * string/strncat.c: Update.
91245         (USE_AS_STRNCAT): Define.
91246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91247         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
91248         and i7.
91249         * sysdeps/x86_64/multiarch/init-arch.h
91250         (bit_Prefer_PMINUB_for_stringop): New.
91251         (index_Prefer_PMINUB_for_stringop): Likewise.
91252         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
91253         bit_Prefer_PMINUB_for_stringop.
91255 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91257         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
91258         buffer64.
91259         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
91260         of casting of buffer.
91261         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
91262         buffer32 and buffer64.
91263         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
91264         writes instead of casting of buffer.
91265         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
91266         buffer32.
91267         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
91268         casting of buffer.
91270 2011-07-19  Andreas Schwab  <schwab@redhat.com>
91272         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
91274 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91276         * nscd/nscd.c (termination_handler): Don't do anything for a database
91277         if it has not yet been initialized.
91279 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91281         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91283 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91285         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91287 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91289         * po/nl.po: Update from translation team.
91290         * po/sv.po: Likewise.
91292 2011-07-16  Roland McGrath  <roland@hack.frob.com>
91294         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
91295         now disallowed by GCC.
91297         * configure.in (use-default-link): Default to yes if a test -shared
91298         link meets our qualifications.
91299         * configure: Regenerated.
91301         * config.make.in (output-format): New variable.
91302         * configure.in: Check for ld --print-output-format support.
91303         * configure: Regenerated.
91304         * Makerules ($(common-objpfx)format.lds)
91305         [$(output-format) != unknown]: Just use $(output-format),
91306         instead of the linker-script munging.
91308 2011-07-14  Roland McGrath  <roland@hack.frob.com>
91310         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
91311         of $(common-objpfx)shlib.lds.
91312         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
91314         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
91315         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
91317         * configure.in (-z relro check): Adjust test code to add a large
91318         writable data section after it.
91319         * configure: Regenerated.
91321 2011-07-11  Roland McGrath  <roland@hack.frob.com>
91323         * configure.in (-z relro check): Fix test code to make the variable
91324         truly const.
91325         * configure: Regenerated.
91327 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
91329         * nscd/nscd.h (struct traced_file): Define.
91330         (struct database_dyn): Remove inotify_descr, reset_res, and filename
91331         elements.  Add traced_files.
91332         (inotify_fd): Declare.
91333         (register_traced_file): Declare.
91334         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
91335         (inotify_fd): Export.
91336         (resolv_conf_descr): Remove.
91337         (nscd_init): Move inotify descriptor creation to main.
91338         Don't register files for notification here.
91339         (register_traced_file): New function.
91340         (invalidate_cache): Don't use reset_res to determine whether to call
91341         res_init, go through the list of registered files.
91342         (main_loop_poll): The inotify descriptors are now stored in the
91343         structures for the traced files.
91344         (main_loop_epoll): Likewise.
91345         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
91346         to __nss_disable_nscd.
91347         * nscd/cache.c (prune_cache): There is no single inotify descriptor
91348         for a database anymore.  Check the records for all the registered
91349         files instead.
91350         * nss/Makefile (libnss_files-routines): Add files-init.
91351         (libnss_db-routines): Add db-init.
91352         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
91353         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
91354         * nss/nss_db/db-init.c: New file.
91355         * nss/nss_files/files-init.c: New file.
91356         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
91357         __nss_lookup_function.
91358         (__nss_lookup_function): Call nss_load_library.
91359         (nss_load_all_libraries): New function.
91360         (__nss_disable_nscd): Take parameter with callback function for files
91361         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
91362         used for the cached services.
91363         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
91364         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
91365         options for features to all the files in nscd.
91367         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
91369 2011-07-10  Roland McGrath  <roland@hack.frob.com>
91371         * csu/elf-init.c (__libc_csu_init): Comment typo.
91373 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
91375         * po/pl.po: Update from translation team.
91376         * po/ja.po: Likewise.
91377         * po/ru.po: Likewise.
91378         * po/ko.po: Likewise.
91379         * po/fr.po: Likewise.
91381 2011-07-09  Roland McGrath  <roland@hack.frob.com>
91383         * configure.in (.ctors/.dtors header and trailer check):
91384         Use an empirical test on a built program.
91385         * configure: Regenerated.
91387         * configure.in (-z relro check): Use an empirical test on a built DSO.
91388         Detect, but do not require, on ia64.
91389         * configure: Regenerated.
91391         * configure.in (READELF): Find it with AC_CHECK_TOOL.
91392         Update tests that use readelf to use $READELF instead.
91393         * configure: Regenerated.
91395 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
91397         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91398         if the result is not used.
91400 2011-07-05  Andreas Jaeger  <aj@suse.de>
91402         [BZ #9696]
91403         * stdlib/tst-strtod.c: Add testcase.
91405 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
91407         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91408         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91409         The latter has a higher limit.  Take additional parameter to pass to
91410         the new function.
91411         (__pathconf): Pass file to __statfs_link_max.
91412         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91413         __statfs_link_max.
91414         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91415         __statfs_link_max.
91417         [BZ #12868]
91418         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91419         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91420         Handle Lustre.
91421         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91422         (__statfs_filesize_max): Likewise.
91423         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91425 2011-07-05  Andreas Jaeger  <aj@suse.de>
91427         * resolv/res_comp.c (dn_skipname): Remove unused variable.
91429 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
91431         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91432         `status' variable.
91433         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91434         Likewise.
91436 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
91438         * Makefile (strop-tests): Add strncat.
91439         * string/test-strncat.c: New file.
91441 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
91443         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91445 2011-06-21  Andreas Jaeger  <aj@suse.de>
91447         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91448         Copy rule from iconvdata/Makefile.
91450 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91452         [BZ #12922]
91453         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91454         but no long options are defined, just return 'W'.
91456 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
91458         [BZ #9696]
91459         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91461 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91463         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91464         netgroups to read.
91465         (innetgr): Likewise.
91467 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91469         * config.make.in (install_root): Default to $(DESTDIR).
91471 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91473         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91475 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91477         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91479         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91480         containing directory rather than embedding absolute directory names.
91482         * scripts/check-local-headers.sh: Rewritten using awk.
91483         Match by word, not by line.  Print error messages for matches.
91484         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91486         * Makerules [shlib-lds-flags empty]:
91487         ($(common-objpfx)libc_pic.opts): New target.
91488         ($(common-objpfx)libc_pic.os.clean): New target.
91489         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91491         * config.make.in (OBJCOPY): New variable.
91492         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91493         * configure: Regenerated.
91495         * config.make.in (use-default-link): New variable.
91496         * configure.in (use_default_link): Grok --with-default-link to set it.
91497         * configure: Regenerated.
91498         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91499         (shlib-lds, shlib-lds-flags): Define to empty.
91501         * Makerules (shlib-lds): New variable.
91502         (shlib-lds-flags): New variable.
91503         (build-shlib, build-moduile, build-module-asneeded): Use it.
91504         ($(common-objpfx)libc.so): Use $(shlib-lds).
91505         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91506         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91508         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91509         DT_FLAGS/DT_FLAGS_1 with zero flags.
91511         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91512         linker script munging.
91514 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91516         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91517         as 128-bit value.
91518         * crypt/sha512.c (sha512_process_block): Perform total addition using
91519         128-bit if possible.
91520         (__sha512_finish_ctx): Likewise.
91521         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91522         as 64-bit value.
91523         * crypt/sha256.c (SWAP64): Define.
91524         (sha256_process_block): Perform total addition using 64-bit if
91525         possible.
91526         (__sha256_finish_ctx): Likewise.
91528 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91530         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91531         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91532         * nscd/hstcache.c (cache_addhst): Likewise.
91533         * nscd/grpcache.c (cache_addgr): Likewise.
91534         * nscd/aicache.c (addhstaiX): Likewise.
91535         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91537 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91539         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91540         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91541         * nscd/hstcache.c (cache_addhst): Likewise.
91542         * nscd/grpcache.c (cache_addgr): Likewise.
91543         * nscd/aicache.c (addhstaiX): Likewise.
91545 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91547         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91548         domain only when needed.
91550 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91553         is always restored.
91555 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91557         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91558         are re-adding the entry.
91559         * nscd/servicescache.c (cache_addserv): Likewise.
91561 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
91563         * sysdeps/generic/dl-irel.h: fix protection against multiple
91564         inclusions.
91565         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91567 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
91569         [BZ #12935]
91570         * malloc/memusage.sh: Fix quoting in message.
91571         * debug/xtrace.sh: Likewise.
91573         * configure.in: Remove support for --experimental-malloc option, make
91574         it the default.
91575         * config.make.in: Likewise.
91576         * malloc/Makefile: Likewise.
91578 2011-06-27  Andreas Schwab  <schwab@redhat.com>
91580         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91581         two-byte characters.
91583 2011-06-27  Roland McGrath  <roland@hack.frob.com>
91585         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91586         AC_CACHE_CHECK invocation.
91587         * configure: Regenerated.
91589         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91591 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
91593         [BZ #12350]
91594         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
91595         bit from old_res_options.
91597         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91599         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91600         value type for setfct.
91602 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
91604         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91605         __gettimeofday instead of gettimeofday.
91607 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
91609         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91611 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
91613         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91615         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91616         info.
91618 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91621         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91622         strcpy-sse2-unaligned strncpy-sse2-unaligned
91623         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91624         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91625         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91626         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91627         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91628         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91629         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91630         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91631         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91632         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91633         (STRCPY): Support SSE2 and SSSE3 versions.
91635 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
91637         [BZ #12874]
91638         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91639         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91640         kernels which artificially limit size of requests.
91642 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91644         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91645         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91646         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91647         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91648         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91649         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91650         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91651         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91652         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91653         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91654         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91655         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91656         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91657         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91658         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91660         Enable unaligned load optimization for Intel Core i3, i5 and i7
91661         processors.
91662         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91663         Define.
91664         (index_Fast_Unaligned_Load): Define.
91665         (HAS_FAST_UNALIGNED_LOAD): Define.
91667 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
91669         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91671 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91673         [BZ #12907]
91674         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91675         until it is clear that the information is realy needed.
91676         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91678 2011-06-22  Andreas Schwab  <schwab@redhat.com>
91680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91682 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91684         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91685         /sys/devices/system/cpu/online if it is usable.
91687         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91688         reading the information from the /proc filesystem to once a second.
91690 2011-06-21  Andreas Jaeger  <aj@suse.de>
91692         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91693         NULL after inclusion of kernel headers.
91695 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
91697         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91698         calls to internal_setent.
91700         [BZ #12885]
91701         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91702         addresses using gethostbyname4_r ignore IPv4 addresses.
91704         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91705         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
91707         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91709 2011-06-20  David S. Miller  <davem@davemloft.net>
91711         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91712         inclusions.
91713         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91715         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91716         (elf_irel): Use it.
91717         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91718         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91719         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91720         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91721         * sysdeps/x86_64/dl-irel.h: Likewise.
91723         * elf/dl-runtime.c: Use elf_ifunc_invoke.
91724         * elf/dl-sym.c: Likewise.
91726 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91728         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
91729         need to dereference resplen2.
91731 2011-06-14  Andreas Schwab  <schwab@redhat.com>
91733         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91735 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91737         * Makeconfig: Define vardbdir and inst_vardbdir.
91738         * nss/Makefile: Add rules to install db-Makefile.
91740         * nss/nss_db/db-XXX.c: Cleanup.
91742         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91743         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91744         GLIBC_PRIVATE.
91745         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91746         * nss/makedb.c: Implement -g option to specify that value strings
91747         are generated and should not be added to table iterated over for
91748         get*ent calls.
91749         * nss/nss_db/db-initgroups.c: New file.
91751         * nss/getent.c: Add support for initgroups lookups through getgrouplist
91752         interface.
91754         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91755         (internal_getgrouplist): Adjust to name change.
91756         Update use_initgroups_entry if this is not the first call.
91757         * nss/databases.def: Add initgroups entry.
91759         * nss/makedb.c (compute_tables): Check result of multiple hash table
91760         sizes to minimize maximum chain length.
91762 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
91764         * Versions.def: Add entry for libnss_db.
91765         * shlib-versions: Likewise.
91766         * nss/Makefile: Add rules to build libnss_db.
91767         * nss/Versions: Add libnss_db information.  Organize libnss_files
91768         entries better.
91769         * nss/db-Makefile: Add gshadow support.  Change rules for the new
91770         makedb progra.  Some minor improvements to generate smaller files.
91771         * nss/nss_db/nss_db.h: Move NSS database header data structures to
91772         here from...
91773         * nss/makedb.c: ...here.
91774         Improve database format to be smaller and require less memory at
91775         runtime.
91776         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
91777         db anymore.
91778         * nss/nss_db/db-netgrp.c: Likewise.
91779         * nss/nss_db/db-open.c: Likewise.
91780         * nss/nss_files/flies-XXX.x: Adjust comments.
91781         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91782         * nss/nss_files/files-grp.c: Likewise.
91783         * nss/nss_files/files-hosts.c: Likewise.
91784         * nss/nss_files/files-network.c: Likewise.
91785         * nss/nss_files/files-proto.c: Likewise.
91786         * nss/nss_files/files-pwd.c: Likewise.
91787         * nss/nss_files/files-rpc.c: Likewise.
91788         * nss/nss_files/files-service.c: Likewise.
91789         * nss/nss_files/files-sgrp.c: Likewise.
91790         * nss/nss_files/files-spwd.c: Likewise.
91791         * nss/nss_db/db-alias.c: Removed.
91792         * nss/nss_db/dummy-db.h: Removed.
91794 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
91796         * nss/makedb.c: Rewritten to not use database library.
91797         * nss/Makefile: Update to build new makedb program.
91799 2011-06-14  Andreas Jaeger  <aj@suse.de>
91801         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
91802         memset declaration.
91804 2011-06-10  Andreas Schwab  <schwab@redhat.com>
91806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
91807         tmpbuf.
91809 2011-06-10  Roland McGrath  <roland@hack.frob.com>
91811         * Makerules (shlib.lds): Fail if the linker script comes out empty.
91812         * elf/Makefile ($(objpfx)ld.so): Likewise.
91814         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
91815         Don't list ld.so twice in dependencies.
91817         * posix/bug-regex31.c: Include <stdlib.h>.
91819         * nscd/hstcache.c (cache_addhst): Remove unused variable.
91821         * nis/nss_compat/compat-spwd.c
91822         (getspent_next_nss_netgr): Remove unused variable.
91823         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
91825         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
91826         nonmembers" output to use the right array.
91828         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
91830         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
91832         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
91833         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
91834         * catgets/gencat.c (read_input_file): Likewise.
91835         * locale/programs/locarchive.c (enlarge_archive): Likewise.
91837         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
91838         variable definition inside #if's controlling its use.
91840         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
91842         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
91844         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
91846         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
91847         unreachable code.
91849         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
91851         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
91852         * configure: Regenerated.
91854         * Makerules: Revert last change.
91855         * elf/Makefile: Likewise.
91857 2011-06-09  Roland McGrath  <roland@hack.frob.com>
91859         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
91860         * elf/Makefile ($(objpfx)librtld.os): Likewise.
91861         (reloc-link): Likewise.
91863 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
91865         * elf/Makefile: Add rules to build pldd.
91866         * elf/pldd.c: New file.
91867         * elf/pldd-xx.c: New file.
91869 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
91871         * version.h: Update for 2.15 development version.
91873 2011-06-07  David S. Miller  <davem@davemloft.net>
91875         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
91876         ifuncs.
91877         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
91878         elf_machine_lazy_rel): Likewise.
91879         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
91880         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
91881         elf_machine_lazy_rel): Likewise.
91882         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
91883         dl_hwcap via passed in argument.
91884         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
91885         Likewise.
91887 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91889         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
91891 2011-06-06  Roland McGrath  <roland@hack.frob.com>
91893         [BZ #12849]
91894         * manual/fdl-1.1.texi: New file, verbatim from:
91895         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
91896         * manual/lgpl-2.1.texi: New file, verbatim from:
91897         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
91898         * manual/Makefile (licenses): New variable, list those new file names.
91899         (texis): Use it.
91900         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
91902         * manual/fdl.texi: File removed.
91903         * manual/lesser.texi: File removed.
91904         * manual/libc.texinfo (Copying, Documentation License):
91905         Use new @include file names, put @appendix directive before @include.
91907 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
91909         [BZ #12841]
91910         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
91911         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
91912         (mq_open): Add __NTH.
91914 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
91916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91917         Assume Intel Core i3/i5/i7 processor if AVX is available.
91919 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91921         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
91922         typo.
91924 2011-05-31  Andreas Schwab  <schwab@redhat.com>
91926         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
91927         memory.  Use alloca_account.  Fix memory leak when retrying.
91929 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91931         * version.h (RELEASE): Bump for 2.14 release.
91932         * include/features.h (__GLIBC_MINOR__): Bump to 14.
91934         * config.make.in (RANLIB): Remove entry.
91936 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
91938         * po/Makefile (po-sed-cmd): Add ksh to extensions.
91939         (libc.pot): Work around missing support for .ksh extension in xgettext.
91941         [BZ #12684]
91942         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
91943         if both request failed.
91944         (send_dg): In case of server errors clear resplen or *resplen2.
91946         [BZ #12454]
91947         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
91948         when there are multiple maps.
91949         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
91950         (_dl_fini): Remove test here.
91952         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
91954 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
91956         [BZ #12350]
91957         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
91958         bit from old_res_options.
91959         (gaih_inet): Likewise.
91961         [BZ #11099]
91962         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
91963         as signed.
91965         * resolv/res_init.c (res_setoptions): Make the code more compact.
91967         [BZ #11558]
91968         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
91969         set RES_USEVC.
91971         [BZ #11634]
91972         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
91974         * malloc/malloc.h: Mark malloc hook variables as deprecated.
91976         [BZ #11781]
91977         * malloc/malloc.h: Declare malloc hook variables as volatile.
91979         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
91980         in last patch.
91982         [BZ #11799]
91983         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
91984         raise in the comment.
91985         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
91986         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
91987         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
91989 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
91991         [BZ #12811]
91992         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
91993         grow the buffers more if it already has to be sufficient.
91994         (build_wcs_upper_buffer): Likewise.
91995         * posix/regexec.c (check_matching): Likewise.
91996         (clean_state_log_if_needed): Likewise.
91997         (extend_buffers): Don't enlarge buffers beyond size of the input
91998         buffer.
91999         Patches mostly by Emil Wojak <emil@wojak.eu>.
92000         * posix/bug-regex32.c: New file.
92001         * posix/Makefile (tests): Add bug-regex32.
92003         * locale/findlocale.c (_nl_find_locale): Return right away if
92004         _nl_explode_name failed.
92005         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
92007         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
92009         * debug/xtrace.sh: Unify messages.
92010         * malloc/memusage.sh: Likewise.
92012         [BZ #12813]
92013         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
92014         time symbol from vDSO.  Substitute with vsyscall if not available.
92015         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
92016         __vdso_time.
92018         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
92019         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
92020         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
92021         Add sendmmsg and internal_sendmmsg.
92022         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
92023         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
92024         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
92026         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
92027         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
92028         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
92030 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
92032         [BZ #12813]
92033         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
92034         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
92035         available.
92036         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
92037         __vdso_getcpu.
92039         [BZ #12814]
92040         * iconvdata/Makefile (tests): Add bug-iconv9.
92041         * iconvdata/bug-iconv9.c: New file.
92043 2011-05-27  Andreas Schwab  <schwab@redhat.com>
92045         [BZ #12814]
92046         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92048 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
92050         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92051         (struct user_regs_struct): Change intcs field back to cs.
92053 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
92055         * po/ja.po: Update from translation team.
92057 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
92059         [BZ #12795]
92060         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
92061         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
92063 2011-05-20  Andreas Schwab  <schwab@redhat.com>
92065         * stdlib/longlong.h: Update from GCC.
92067 2011-05-23  Andreas Schwab  <schwab@redhat.com>
92069         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
92070         parameter name.
92071         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
92072         Add parameter name.
92073         (__sysconf): Pass it down.
92075 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
92077         [BZ #12671]
92078         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92079         some situations.
92080         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92081         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92082         add in in __libc_use_alloca calls.  Adjust callers.
92083         (glob): Use malloc in some situations.
92085         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92086         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92087         pltexit.
92089 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
92091         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92092         and CLOCK_BOOTTIME_ALARM.
92094         [BZ #12782]
92095         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92096         is returned.
92098         * string/_strerror.c (__strerror_r): Print negative errors as signed
92099         numbers.
92101         [BZ #12777]
92102         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92103         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92104         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92106         * configure.in: Fix typo in redirection and correct removal of test
92107         files in two cases.
92109         [BZ #12788]
92110         * locale/setlocale.c (new_composite_name): Fix test to check for
92111         identical name of all categories.
92113         [BZ #12792]
92114         * libio/filedoalloc.c (local_isatty): New function.
92115         (_IO_file_doallocate): Use local_isatty.
92116         * stdio-common/perror.c (perror): In case a new stream is used
92117         forward the stream error.
92118         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92119         error flag.
92121 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
92123         [BZ #11884]
92124         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92125         alloca.
92126         * include/alloca.h (extend_alloca_account): Define.
92128         [BZ #11857]
92129         * posix/regex.h: Fix comments with documentation of user-accessible
92130         fields after compilation and describe correct free'ing of pattern
92131         after re_compile_pattern.
92132         Patch by Reuben Thomas <rrt@sc3d.org>.
92134 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
92136         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92137         and -mno-altivec to prevent the compiler from using Altivec and/or
92138         VSX instructions when the corresponding registers are not available.
92140 2011-05-19  Andreas Schwab  <schwab@redhat.com>
92142         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92144 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
92146         * libio/freopen.c (freopen): Use __dup2, not dup2.
92147         * libio/freopen64.c (freopen64): Likewise.
92149 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
92151         [BZ #12775]
92152         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
92153         * math/Makefile (tests): Add test-powl.
92154         (CFLAGS-test-powl.c): Define.
92155         * math/test-powl.c: New file.
92157 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
92159         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92161 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
92163         [BZ #11837]
92164         * iconvdata/gb18030.c: Update to GB18020-2005.
92166 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
92168         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
92169         RE_SYNTAX_POSIX_AWK): Update to match recent development.
92170         Patch by Aharon Robbins <arnold@skeeve.com>.
92172         [BZ #11892]
92173         * stdlib/putenv.c (putenv): Don't always create copy of the variable
92174         on the stack.
92176         [BZ #11895]
92177         * misc/pselect.c (__pselect): Handle timeout value errors hidden
92178         through underflows.
92180         [BZ #12766]
92181         * misc/error.c (error_at_line): Ensure file_name and old_file_name
92182         point to strings before performing equality test for error_one_per_line
92183         mode.
92185         [BZ #11697]
92186         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92188         [BZ #11820]
92189         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92190         (struct user_fpregs_struct): Avoid __uint*_t types.
92192         [BZ #6420]
92193         * malloc/mtrace.c (tr_where): Add additional parameter to point to
92194         symbol info.  Use it instead of calling _dl_addr locally.
92195         (lock_and_info): New function.
92196         (tr_freehook): Call lock_and_info and pass symbol info as additional
92197         parameter to tr_where.
92198         (tr_mallochook): Likewise.
92199         (tr_reallochook): Likewise.
92200         (tr_memalignhook): Likewise.
92202         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
92203         used and couldn't be at all thread-safe.
92205 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
92207         * libio/freopen.c (freopen): Don't close old file descriptor
92208         before the new one is opened.  Instead dup the new file descriptor
92209         to the old one after the new stream is created.
92210         * libio/freopen64.c (freopen64): Likewise.
92211         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
92212         * libio/fileops.c (_IO_new_file_close_it): Handle new
92213         _IO_FLAGS2_NOCLOSE flag.
92214         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
92215         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
92216         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
92217         _IO_FLAGS2_NOCLOSE flag.
92218         * include/unistd.h: Add hidden_proto for dup3.
92219         Define __have_dup3.
92220         * io/dup3.c: Define hidden symbol.
92221         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
92223         [BZ #7101]
92224         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92225         when an incomplete long option is used.
92226         * posix/tst-getopt_long1.c: New file.
92227         * posix/Makefile (tests): Add tst-getopt_long1.
92229         [BZ #10138]
92230         * scripts/config.guess: Update from autoconf-2.68.
92231         * scripts/config.sub: Likewise.
92233         [BZ #10157]
92234         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
92235         tests into ...
92236         (has_cpuclock): ...this.  New function.
92237         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
92238         macro here based on has_cpuclock code.
92240         [BZ #10149]
92241         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92242         First byte (not low byte) is now always NUL.
92243         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
92245         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92246         Use non-cancelable interfaces.
92248         [BZ #9809]
92249         * locale/iso-639.def: Add entry for Sorani.
92251         [BZ #11901]
92252         * include/stdlib.h: Move include protection to the right place.
92253         Define abort_msg_s.  Declare __abort_msg with it.
92254         * stdlib/abort.c (__abort_msg): Adjust type.
92255         * assert/assert.c (__assert_fail_base): New function.  Majority
92256         of code from __assert_fail.  Allocate memory for __abort_msg with
92257         mmap.
92258         (__assert_fail): Now call __assert_fail_base.
92259         * assert/assert-perr.c: Remove bulk of implementation.  Use
92260         __assert_fail_base.
92261         * include/assert.hL Declare __assert_fail_base.
92262         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
92263         mmap.
92264         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92266 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
92268         [BZ #11952]
92269         [BZ #12453]
92270         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
92271         until all modules are registered in the DTV.
92272         * elf/Makefile: Add rules to build and run tst-tls19.
92273         * elf/tst-tls19.c: New file.
92274         * elf/tst-tls19mod1.c: New file.
92275         * elf/tst-tls19mod2.c: New file.
92276         * elf/tst-tls19mod3.c: New file.
92277         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
92279         [BZ #12083]
92280         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
92281         correctly.
92283         [BZ #12601]
92284         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
92285         two-byte sequence errors.
92286         * iconvdata/Makefile (tests): Add bug-iconv8.
92287         * iconvdata/bug-iconv8.c: New file.
92289         [BZ #12626]
92290         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
92291         buf2 definition.
92293         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
92295         [BZ #12432]
92296         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
92297         (dummy_getcfa): New function.
92298         (init): Get _Unwind_GetCFA address, use dummy if not found.
92299         (backtrace_helper): In recursion check, also check whether CFA changes.
92300         (__backtrace): Completely initialize arg.
92302         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
92303         storing incomplete byte sequence in state object.  Avoid testing for
92304         guaranteed too small input if we know there is enough data available.
92306 2011-05-11  Andreas Schwab  <schwab@redhat.com>
92308         * Makeconfig (+link-pie): Indent.
92309         * Rules (binaries-pie): Define if $(have-fpie) and
92310         $(build-shared).
92311         (binaries-shared): Also filter out $(binaries-pie).
92312         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
92313         * nscd/Makefile (others-pie): Add nscd.
92314         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
92315         ($(objpfx)nscd): Remove command override.
92316         * login/Makefile (others-pie): Add pt_chown.
92317         ($(objpfx)pt_chown): Remove command override.
92318         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
92319         remove command overrides.
92321 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
92323         * libio/tst_putwc.c: Fix error messages.
92325         [BZ #12724]
92326         * libio/fileops.c (_IO_new_file_close_it): Always flush when
92327         currently writing and seek to current position when not.
92328         * libio/Makefile (tests): Add bug-fclose1.
92329         * libio/bug-fclose1.c: New file.
92331 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
92333         [BZ #12511]
92334         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
92335         don't set DF_1_NODELETE here.
92336         (do_lookup_x): When entering new entry test for copy relocation
92337         and if necessary set DF_1_NODELETE flag.
92338         * elf/tst-unique4.cc: New file.
92339         * elf/tst-unique4.h: New file.
92340         * elf/tst-unique4lib.cc: New file.
92341         * elf/Makefile: Add rules to build and run tst-unique4.
92342         Patch by Piotr Bury <pbury@goahead.com>.
92344 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
92346         [BZ #12052]
92347         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
92349         [BZ #12625]
92350         * misc/mntent_r.c (addmntent): Flush the stream after the output
92352         [BZ #12393]
92353         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
92354         (is_trusted_path_normalize): Skip initial colon.  Append slash
92355         to empty buffer.  Duplicate is_trusted_path code but allow
92356         constructed patch to be prefix.
92357         (is_dst): Allow $ORIGIN followed by /.
92358         (_dl_dst_substitute): Correct clearing of check_for_trusted.
92359         Correct testing of result of is_trusted_path_normalize
92360         (decompose_rpath): Fix warning.
92362 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
92364         [BZ #11257]
92365         * grp/initgroups.c (internal_getgrouplist): When we found the service
92366         list through the initgroups entry in nsswitch.conf do not always
92367         continue on a successful lookup.  Don't always use the
92368         __nss_group_database value if it is set.
92369         * nss/nsswitch.conf (initgroups): Change action for successful db
92370         lookup to continue for compatibility.
92372 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
92374         [BZ #11532]
92375         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92376         and CP774 modules.
92377         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92378         and CP774 modules.
92379         * iconvdata/tst-tables.sh: Likewise.
92380         * iconvdata/cp770.c: New file.
92381         * iconvdata/cp771.c: New file.
92382         * iconvdata/cp772.c: New file.
92383         * iconvdata/cp773.c: New file.
92384         * iconvdata/cp774.c: New file.
92385         * iconvdata/testdata/CP770: New file.
92386         * iconvdata/testdata/CP770..UTF8: New file.
92387         * iconvdata/testdata/CP771: New file.
92388         * iconvdata/testdata/CP771..UTF8: New file.
92389         * iconvdata/testdata/CP772: New file.
92390         * iconvdata/testdata/CP772..UTF8: New file.
92391         * iconvdata/testdata/CP773: New file.
92392         * iconvdata/testdata/CP773..UTF8: New file.
92393         * iconvdata/testdata/CP774: New file.
92394         * iconvdata/testdata/CP774..UTF8: New file.
92396         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92397         END CHARMAP line.
92398         * iconvdata/gen-8bit-gap.sh: Likewise.
92399         * iconvdata/gen-8bit.sh: Likewise.
92401         * locale/iso-639.def: Add ary entry.
92403         [BZ #11258]
92404         * locale/C-translit.h.in: Add U20A1 transliteration.
92406         [BZ #12178]
92407         * locale/iso-639.def: Add wae entry.
92408         Patch by Kevin Bortis <bortis@translate-wae.ch>.
92410         [BZ #12545]
92411         * locale/programs/localedef.c (construct_output_path): Use ssize_t
92412         for n.
92414         [BZ #12711]
92415         * locale/C-translit.h.in: Add entry for U20B9.
92416         Patch by pravin.d.s@gmail.com.
92418 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
92420         [BZ #12713]
92421         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92422         ENAMETOOLONG use generic getcwd.
92423         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
92424         in rtld.  Use *stat64.
92425         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92426         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92427         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92428         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92429         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92430         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92431         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92432         __fstatat64 macros.
92433         * include/dirent.h: Add libc_hidden_proto for rewinddir.
92434         * dirent/rewinddir.c: Add libc_hidden_def.
92435         * sysdeps/mach/hurd/rewinddir.c: Likewise.
92436         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
92438         * include/dirent.h (__alloc_dir): Add flags parameter.
92439         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92440         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92441         __alloc_dir.
92442         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
92443         from fdopendir if O_CLOEXEC is already set.
92445 2011-03-15  Alan Modra  <amodra@gmail.com>
92447         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92448         l_tls_firstbyte_offset non-zero.  Save padding offset in
92449         l_tls_firstbyte_offset for later use.
92450         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92451         freeing static tls block.
92453 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
92455         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92456         where #ifdef was intended.  The intent is to prevent ARG_MAX from
92457         being defined by the kernel headers.
92459 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92461         [BZ #12734]
92462         * resolv/resolv.h: Define RES_NOTLDQUERY.
92463         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92464         no-tld-query and set RES_NOTLDQUERY.
92465         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92466         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92467         modern BIND to search name as TLD unless forbidden.
92469 2011-05-07  Petr Baudis  <pasky@suse.cz>
92470             Ulrich Drepper  <drepper@gmail.com>
92472         [BZ #12393]
92473         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92474         (is_trusted_path): ...to here.
92475         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92476         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92477         using is_trusted_path_normalize() in setuid scripts.
92479 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92481         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92482         __BEGIN/__END_DECLS.
92484 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92486         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92487         NSS_STATUS_NOTFOUND if no record was found.
92489 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92491         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92492         (headers-not-in-tirpc): Remove rpc/netdb.h
92493         * resolv/netdb.h: Revert last change.
92495 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92497         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92498         circular dependency between libgcc.a and libc.a.
92500 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92502         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92503         * nis/Makefile: Don't install rpcsvc/*.
92504         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92505         instead of <rpc/types.h>.
92506         (MAXHOSTNAMELEN): Define.
92508 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92510         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92512 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92514         [BZ #12714]
92515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92516         gethostbyname4_r when IPv6 results are possible.
92518 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92520         [BZ #12723]
92521         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92522         _PC_PIPE_BUF handling.
92524 2011-04-30  Bruno Haible  <bruno@clisp.org>
92526         [BZ #12717]
92527         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92528         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92529         to 'int'.
92530         * inet/getnameinfo.c (getnameinfo): Likewise.
92532 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92534         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92535         to groups setting in database lookup.
92536         * nss/nsswitch.conf: Add initgroups entry.
92538 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92540         [BZ #12685]
92541         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92542         mode string.
92543         Patch by Eric Blake <eblake@redhat.com>.
92545 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92547         * sunrpc/Makefile (need-export-routines): Add svc_run.
92548         (routines): Remove svc_run.
92549         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92550         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92551         * sunrpc/svc_run.c (svc_run): Likewise.
92552         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92554 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92556         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92557         problem in reallocation in last patch.
92559 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92561         * sunrpc/Makefile: Move inclusion of Rules.
92563 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92565         * nss/nss_files/files-initgroups.c: New file.
92566         * nss/Makefile (libnss_files-routines): Add files-initgroups.
92567         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92568         _nss_files_initgroups_dyn.
92570 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
92572         * elf/elf.h (R_ARM_IRELATIVE): Define.
92574 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92576         * po/ru.po: Update from translation team.
92578 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92580         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92581         dependencies.
92583 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
92585         [BZ #12653]
92586         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92587         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92588         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92589         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92590         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92592 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
92594         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92595         differing bytes.
92596         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92597         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92598         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92600 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92602         [BZ #12420]
92603         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92604         storing it.
92605         * stdlib/bug-getcontext.c: New file.
92606         * stdlib/Makefile: Add rules to build and run bug-getcontext.
92608 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92610         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92611         instructions into .machine "z9-109".
92612         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92613         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92615 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92617         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92618         between environment variables and auxiliary vector.
92620 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
92622         * Makefile: Add rules to build linkobj/libc.so.
92623         * include/libc-symbols.h: Define libc_hidden_nolink.
92624         * include/rpc/auth.h: Mark functions which are to be hidden.
92625         * include/rpc/auth_des.h: Likewise.
92626         * include/rpc/auth_unix.h: Likewise.
92627         * include/rpc/clnt.h: Likewise.
92628         * include/rpc/des_crypt.h: Likewise.
92629         * include/rpc/key_prot.h: Likewise.
92630         * include/rpc/pmap_clnt.h: Likewise.
92631         * include/rpc/pmap_prot.h: Likewise.
92632         * include/rpc/pmap_rmt.h: Likewise.
92633         * include/rpc/rpc_msg.h: Likewise.
92634         * include/rpc/svc.h: Likewise.
92635         * include/rpc/svc_auth.h: Likewise.
92636         * include/rpc/xdr.h: Likewise.
92637         * nis/Makefile: Link all DSOs against linkobj/libc.so.
92638         * nss/Makefile: Likewise.
92639         * sunrpc/Makefile: Don't install headers.  Build library with normal
92640         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
92641         * sunrpc/auth_des.c: Hide exported symbols by default, export some
92642         for the compat linking library.  Remove use of INTDEF/INTUSE.
92643         * sunrpc/auth_none.c: Likewise.
92644         * sunrpc/auth_unix.c: Likewise.
92645         * sunrpc/authdes_prot.c: Likewise.
92646         * sunrpc/authuxprot.c: Likewise.
92647         * sunrpc/clnt_gen.c: Likewise.
92648         * sunrpc/clnt_perr.c: Likewise.
92649         * sunrpc/clnt_raw.c: Likewise.
92650         * sunrpc/clnt_simp.c: Likewise.
92651         * sunrpc/clnt_tcp.c: Likewise.
92652         * sunrpc/clnt_udp.c: Likewise.
92653         * sunrpc/clnt_unix.c: Likewise.
92654         * sunrpc/des_crypt.c: Likewise.
92655         * sunrpc/des_soft.c: Likewise.
92656         * sunrpc/get_myaddr.c: Likewise.
92657         * sunrpc/key_call.c: Likewise.
92658         * sunrpc/key_prot.c: Likewise.
92659         * sunrpc/netname.c: Likewise.
92660         * sunrpc/pm_getmaps.c: Likewise.
92661         * sunrpc/pm_getport.c: Likewise.
92662         * sunrpc/pmap_clnt.c: Likewise.
92663         * sunrpc/pmap_prot.c: Likewise.
92664         * sunrpc/pmap_prot2.c: Likewise.
92665         * sunrpc/pmap_rmt.c: Likewise.
92666         * sunrpc/publickey.c: Likewise.
92667         * sunrpc/rpc_cmsg.c: Likewise.
92668         * sunrpc/rpc_common.c: Likewise.
92669         * sunrpc/rpc_dtable.c: Likewise.
92670         * sunrpc/rpc_prot.c: Likewise.
92671         * sunrpc/rpc_thread.c: Likewise.
92672         * sunrpc/rtime.c: Likewise.
92673         * sunrpc/svc.c: Likewise.
92674         * sunrpc/svc_auth.c: Likewise.
92675         * sunrpc/svc_authux.c: Likewise.
92676         * sunrpc/svc_raw.c: Likewise.
92677         * sunrpc/svc_run.c: Likewise.
92678         * sunrpc/svc_simple.c: Likewise.
92679         * sunrpc/svc_tcp.c: Likewise.
92680         * sunrpc/svc_udp.c: Likewise.
92681         * sunrpc/svc_unix.c: Likewise.
92682         * sunrpc/svcauth_des.c: Likewise.
92683         * sunrpc/xcrypt.c: Likewise.
92684         * sunrpc/xdr.c: Likewise.
92685         * sunrpc/xdr_array.c: Likewise.
92686         * sunrpc/xdr_float.c: Likewise.
92687         * sunrpc/xdr_intXX_t.c: Likewise.
92688         * sunrpc/xdr_mem.c: Likewise.
92689         * sunrpc/xdr_rec.c: Likewise.
92690         * sunrpc/xdr_ref.c: Likewise.
92691         * sunrpc/xdr_sizeof.c: Likewise.
92692         * sunrpc/xdr_stdio.c: Likewise.
92694 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
92696         [BZ #12650]
92697         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92698         * sysdeps/ia64/dl-tls.h: Likewise.
92699         * sysdeps/powerpc/dl-tls.h: Likewise.
92700         * sysdeps/s390/dl-tls.h: Likewise.
92701         * sysdeps/sh/dl-tls.h: Likewise.
92702         * sysdeps/sparc/dl-tls.h: Likewise.
92703         * sysdeps/x86_64/dl-tls.h: Likewise.
92704         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92706 2011-03-14  Andreas Schwab  <schwab@redhat.com>
92708         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92709         rpath element also skip the following colon.
92710         (expand_dynamic_string_token): Add is_path parameter and pass
92711         down to DL_DST_REQUIRED and _dl_dst_substitute.
92712         (decompose_rpath): Call expand_dynamic_string_token with
92713         non-zero is_path.  Ignore empty rpaths.
92714         (_dl_map_object_from_fd): Call expand_dynamic_string_token
92715         with zero is_path.
92717 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
92719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92720         Make cancelable.
92722 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
92724         [BZ #12655]
92725         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92726         Patch by Filipe David Manana <fdmanana@apache.org>.
92728 2011-04-07  Andreas Schwab  <schwab@redhat.com>
92730         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92731         Maintain aligned stack.
92732         (CHECK_RSP): Remove unused macro.
92734 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
92736         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92737         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92739 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
92741         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92743         * include/features.h: Mention __USE_XOPEN2K8 in comment.
92745 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
92747         [BZ #12518]
92748         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92749         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92750         * sysdeps/x86_64/memmove.c: New file.
92751         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92752         (memcpy): Renamed to ...
92753         (__new_memcpy): This.
92754         (memcpy): Provide GLIBC_2_14 memcpy.
92755         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92756         (memcpy): Provide GLIBC_2_2_5 memcpy.
92758 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92760         [BZ #12631]
92761         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92763 2011-03-30  Andreas Schwab  <schwab@redhat.com>
92765         * misc/syncfs.c: New file.
92766         * misc/Makefile (routines): Add syncfs.
92767         * posix/unistd.h: Declare syncfs.
92768         * sysdeps/unix/syscalls.list: Add syncfs.
92770 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92772         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92773         open_by_handle_at.
92774         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92775         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92776         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92777         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92778         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92779         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92780         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92782 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92784         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92785         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92786         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92787         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92788         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92789         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92790         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92792         * io/Makefile: Compile fallocate.c, fallocate64.c, and
92793         sync_file_range.c with -fexceptions.
92794         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
92795         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
92796         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
92797         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
92798         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
92799         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
92800         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
92801         sync_file_range as cancellation point
92802         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
92803         now a wrapper around __call_sync_file_range with cancellation handling.
92804         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
92805         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
92806         function name to __call_sync_file_range.
92807         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
92808         Add call_sync_file_range.
92810 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
92813         bits/timex.h.
92815 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92817         * iconv/iconv.h: Fix typo in comment.
92818         * io/fcntl.h: Likewise.
92819         * libio/stdio.h: Likewise.
92820         * posix/spawn.h: Likewise.
92821         * posix/unistd.h: Likewise.
92822         * stdlib/stdlib.h: Likewise.
92823         * time/time.h: Likewise.
92824         * wcsmbs/wchar.h: Likewise.
92826         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
92827         open_by_handle): Add.
92828         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
92829         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
92830         Augment a few comments.
92831         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92832         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92833         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92835         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92836         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
92837         open_by_handle.
92839         * io/fcntl.h (AT_EMPTY_PATH): Define.
92841 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
92843         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
92844         * sysdeps/unix/sysv/linux/bits/time.h: New file.
92845         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
92846         to...
92847         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
92848         * Versions.def: Add GLIBC_2.14.
92849         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
92850         Export.
92852 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
92854         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
92855         round counter.
92856         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92858 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
92860         [BZ #12597]
92861         * string/test-strncmp.c (do_page_test): New function.
92862         (check2): Likewise.
92863         (test_main): Call check2.
92864         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
92866 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
92868         [BZ #12587]
92869         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
92870         Handle cache information in CPU leaf 4.
92871         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92873 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
92875         [BZ #12583]
92876         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
92877         character representation.
92878         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
92880 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
92882         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
92883         END(__isnan) to END(__isnanf) to match function entry point/label
92884         EALIGN(__isnanf,...).
92886 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
92888         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
92890 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
92892         [BZ #12510]
92893         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
92894         copy from the symbol referenced in the relocation to initialize the
92895         used variable.
92896         Patch by Piotr Bury <pbury@goahead.com>.
92897         * elf/Makefile: Add rules to build and tst-unique3.
92898         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
92899         * elf/tst-unique3.cc: New file.
92900         * elf/tst-unique3.h: New file.
92901         * elf/tst-unique3lib.cc: New file.
92902         * elf/tst-unique3lib2.cc: New file.
92904         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
92906 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
92908         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
92909         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
92910         to _start.
92912 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
92914         * elf/dl-load.c (_dl_map_object): If we are looking for the first
92915         to-be-loaded object along a path to loader is ld.so.
92917 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92918             Ulrich Drepper  <drepper@gmail.com>
92920         * sysdeps/x86_64/memset.S: After aligning destination, code
92921         branches to different locations depending on the value of
92922         misalignment, when multiarch is enabled. Fix this.
92924 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92926         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
92927         Set _x86_64_preferred_memory_instruction for AMD processsors.
92928         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92929         Set bit_Prefer_SSE_for_memop for AMD processors.
92931 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
92933         * libio/fmemopen.c (fmemopen): Optimize a bit.
92935 2011-03-03  Andreas Schwab  <schwab@redhat.com>
92937         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
92939 2011-03-03  Roland McGrath  <roland@redhat.com>
92941         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
92943 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
92945         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
92946         __bzero_ultra1 instead of __memset_ultra1.
92948 2011-02-23  Andreas Schwab  <schwab@redhat.com>
92949             Ulrich Drepper  <drepper@gmail.com>
92951         [BZ #12509]
92952         * include/link.h (struct link_map): Add l_orig_initfini.
92953         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
92954         returning unsuccessfully.
92955         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
92956         close of a file loaded at startup, restore the original l_initfini
92957         list.
92958         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
92959         list, store the pointer.
92960         * elf/Makefile ($(objpfx)noload-mem): New rule.
92961         (noload-ENV): Define.
92962         (tests): Add $(objpfx)noload-mem.
92963         * elf/noload.c: Include <memcheck.h>.
92964         (main): Call mtrace.  Close all opened handles.
92966 2011-02-17  Andreas Schwab  <schwab@redhat.com>
92968         [BZ #12454]
92969         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
92970         dependencies are missing.
92972 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92974         Fix __if_freereq crash: Unlike the generic version which uses free,
92975         Hurd needs munmap.
92976         * sysdeps/mach/hurd/ifreq.h: New file.
92978 2011-01-27  Petr Baudis  <pasky@suse.cz>
92979             Ulrich Drepper  <drepper@gmail.com>
92981         [BZ 12445]#
92982         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
92983         to extend_alloca().
92984         * stdio-common/bug23.c: New file.
92985         * stdio-common/Makefile (tests): Add bug23.
92987 2010-09-28  Andreas Schwab  <schwab@redhat.com>
92988             Ulrich Drepper  <drepper@gmail.com>
92990         [BZ #12489]
92991         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
92992         before performing relro protection.  At old place add assertion
92993         to make sure nothing changed.
92995 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
92996             Glauber de Oliveira Costa  <glommer@gmail.com>
92998         * elf/elf.h: Add new ARM TLS relocs.
93000 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
93002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
93003         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
93004         cast from r3.
93005         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
93006         'tests' variable.
93007         * sysdeps/wordsize-64/tst-writev.c: New file.
93009 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
93011         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
93012         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
93013         insns in _dl_start to prevent a TOC reference before relocs are
93014         resolved.
93016 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
93018         [BZ #12469]
93019         * Makeconfig: Remove RANLIB definition.
93020         * Makerules: Don't use RANLIB.
93021         * aclocal.m4: Remove ranlib test.
93022         * configure.in: No need to check for ranlib.
93023         * elf/rtld-Rules: Don't use RANLIB.
93025 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93027         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
93028         protection macro.
93029         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
93030         inclusion protection macro.
93032         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
93033         SIGRTMIN and SIGRTMAX and print information in that case only when
93034         SIGRTMIN is defined.
93036 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
93038         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
93039         arginfo fn returning -1.
93041         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
93042         and thousands string is zero terminated.
93044 2011-02-03  Andreas Schwab  <schwab@redhat.com>
93046         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
93047         sysdeps/unix/sysv/linux/bits/socket.h.
93049 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93051         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
93052         (__CPU_COUNT): Remove old macros.
93053         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
93054         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
93055         (__CPU_ALLOC, __CPU_FREE): Add macros.
93056         (__sched_cpualloc, __sched_cpufree): Add declarations.
93058 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
93060         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
93061         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
93062         * nscd/aicache.c (addhstaiX): Return timeout of added value.
93063         (readdhstai): Return value of addhstaiX call.
93064         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
93065         (addgrbyX): Return value returned by cache_addgr.
93066         (readdgrbyname): Return value returned by addgrbyX.
93067         (readdgrbygid): Likewise.
93068         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
93069         (addpwbyX): Return value returned by cache_addpw.
93070         (readdpwbyname): Return value returned by addhstbyX.
93071         (readdpwbyuid): Likewise.
93072         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
93073         (addservbyX): Return value returned by cache_addserv.
93074         (readdservbyname): Return value returned by addservbyX:
93075         (readdservbyport): Likewise.
93076         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
93077         (addhstbyX): Return value returned by cache_addhst.
93078         (readdhstbyname): Return value returned by addhstbyX.
93079         (readdhstbyaddr): Likewise.
93080         (readdhstbynamev6): Likewise.
93081         (readdhstbyaddrv6): Likewise.
93082         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93083         (readdinitgroups): Return value returned by addinitgroupsX.
93084         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93085         (prune_cache): Keep track of timeout value of re-added entries.
93086         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93087         * nscd/nscd.h: Adjust prototypes of readd* functions.
93089 2011-02-04  Roland McGrath  <roland@redhat.com>
93091         * nis/nis_server.c (nis_servstate): Use the right name for 0.
93092         (nis_stats): Likewise.
93093         * nis/nis_modify.c (nis_modify): Likewise.
93094         * nis/nis_remove.c (nis_remove): Likewise.
93095         * nis/nis_add.c (nis_add): Likewise.
93097         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93099         * posix/fnmatch_loop.c: Add some consts.
93101         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93103 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
93105         [BZ #12460]
93106         * config.make.in (config-cflags-novzeroupper): Define.
93107         * configure.in: Substitute libc_cv_cc_novzeroupper.
93108         * elf/Makefile (AVX-CFLAGS): Define.
93109         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93110         (CFLAGS-tst-auditmod4a.c): Likewise.
93111         (CFLAGS-tst-auditmod4b.c): Likewise.
93112         (CFLAGS-tst-auditmod6b.c): Likewise.
93113         (CFLAGS-tst-auditmod6c.c): Likewise.
93114         (CFLAGS-tst-auditmod7b.c): Likewise.
93115         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93117 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
93119         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93120         function to the callback.
93121         Patch partly by Jiri Olsa <jolsa@redhat.com>.
93123 2011-02-02  Andreas Schwab  <schwab@redhat.com>
93125         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93126         of errno.
93128 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
93130         [BZ #11724]
93131         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93132         of constructors.
93133         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93134         of destructors.
93135         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93137         [BZ #11724]
93138         * elf/Makefile: Add rules to build and run new test.
93139         * elf/tst-initorder.c: New file.
93140         * elf/tst-initorder.exp: New file.
93141         * elf/tst-initordera1.c: New file.
93142         * elf/tst-initordera2.c: New file.
93143         * elf/tst-initordera3.c: New file.
93144         * elf/tst-initordera4.c: New file.
93145         * elf/tst-initorderb1.c: New file.
93146         * elf/tst-initorderb2.c: New file.
93147         * elf/tst-order-a1.c: New file.
93148         * elf/tst-order-a2.c: New file.
93149         * elf/tst-order-a3.c: New file.
93150         * elf/tst-order-a4.c: New file.
93151         * elf/tst-order-b1.c: New file.
93152         * elf/tst-order-b2.c: New file.
93153         * elf/tst-order-main.c: New file.
93154         New test case by George Gensure <werkt0@gmail.com>.
93156 2010-10-01  Andreas Schwab  <schwab@redhat.com>
93158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93159         decoding ACE if AI_CANONIDN.
93161 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
93163         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
93165 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
93167         * version.h (RELEASE): Bump for 2.13 release.
93168         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
93170         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
93172         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
93173         MADV_NOHUGEPAGE.
93174         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
93175         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
93176         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
93177         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
93178         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
93179         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93181         * posix/getconf.c: Update copyright year.
93182         * catgets/gencat.c: Likewise.
93183         * csu/version.c: Likewise.
93184         * debug/catchsegv.sh: Likewise.
93185         * debug/xtrace.sh: Likewise.
93186         * elf/ldconfig.c: Likewise.
93187         * elf/ldd.bash.in: Likewise.
93188         * elf/sprof.c (print_version): Likewise.
93189         * iconv/iconv_prog.c: Likewise.
93190         * iconv/iconvconfig.c: Likewise.
93191         * locale/programs/locale.c: Likewise.
93192         * locale/programs/localedef.c: Likewise.
93193         * malloc/memusage.sh: Likewise.
93194         * malloc/mtrace.pl: Likewise.
93195         * nscd/nscd.c (print_version): Likewise.
93196         * nss/getent.c: Likewise.
93198         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
93199         PF_CAIF, and PF_ALG.
93200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
93202 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
93204         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
93205         (modules-names): Use them.
93206         (ifunc-test-modules, ifunc-pie-tests): Define.
93207         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
93208         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
93209         (test-extras): Likewise.
93210         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
93211         $(compile-command.c).
93212         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
93213         (all-built-dso): Define.
93214         (check-textrel.out, check-execstack.out): Depend on it.
93216         * configure.in: Don't override --enable-multi-arch.
93218 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
93220         [BZ #6812]
93221         * nscd/hstcache.c (tryagain): Define.
93222         (cache_addhst): Return tryagain not notfound for temporary errors.
93223         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
93224         failed.
93226 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
93228         [BZ #10563]
93229         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
93230         to make the syscall.
93231         * sysdeps/unix/sysv/linux/setgroups.c: New file.
93233         [BZ #12378]
93234         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
93235         and fall back to matching as normal character if the string ends before
93236         the matching ']' is found.  This is what POSIX requires.
93237         * posix/testfnm.c: Adjust test result.
93238         * posix/globtest.sh: Adjust test result.  Add new test.
93239         * posix/tst-fnmatch.input: Likewise.
93240         * posix/tst-fnmatch2.c: Add new test.
93242 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
93244         * elf/Makefile (check-execstack): Revert last change.  Depend on
93245         check-execstack.h.
93246         (check-execstack.h): New target.
93247         (generated): Add check-execstack.h.
93248         * elf/check-execstack.c: Include "check-execstack.h".
93249         (main): Revert last change.
93250         (handle_file): Return zero if GNU_STACK is absent and
93251         DEFAULT_STACK_PERMS doesn't include PF_X.
93253 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
93255         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
93256         in child fails because the descriptor is already closed.
93257         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
93258         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
93259         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
93261         [BZ #12397]
93262         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
93263         syscall.
93265         [BZ #10484]
93266         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
93267         temporary buffer used to handle multi lookups locally.
93268         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
93270 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93272         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
93273         loader is ld.so.
93275 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
93277         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
93278         alignment for SSE2.
93280 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93282         [BZ #12394]
93283         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
93284         characters.  When rounding increased number of integer digits recompute
93285         number of groups.
93286         * stdio-common/tst-grouping.c: New file.
93287         * stdio-common/Makefile: Add rules to build and run tst-grouping.
93289 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
93291         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
93292         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
93294         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
93295         void.
93296         * bits/select.h: Likewise.
93298 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
93300         * po/ja.po: Update from translation team.
93302 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
93304         [BZ #11155]
93305         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
93306         implementation just like for lxstat, fxstatat, et al.
93308 2010-12-27  Jim Meyering  <meyering@redhat.com>
93310         [BZ #12348]
93311         * posix/regexec.c (build_trtable): Return failure indication upon
93312         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
93314 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
93316         [BZ #12201]
93317         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
93318         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
93319         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
93320         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
93322         [BZ #12207]
93323         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
93325         [BZ #12204]
93326         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
93327         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
93329 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
93331         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
93332         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
93333         script has SORT_BY_INIT_PRIORITY.
93334         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
93335         NO_CTORS_DTORS_SECTIONS is defined.
93336         * elf/soinit.c: Likewise.
93337         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
93338         NO_CTORS_DTORS_SECTIONS is defined.
93339         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
93340         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
93341         * sysdeps/sh/init-first.c: Likewise.
93342         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
93344 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
93346         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
93347         always use the slow path.
93349 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
93351         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
93352         similar rule which adds the sysdep directories to the header search in
93353         order to pick up the correct platform stackinfo.h.
93354         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
93355         perform test if it is, otherwise return successfully without testing.
93356         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
93357         DEFAULT_STACK_PERMS define in stackinfo.h.
93358         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
93359         defined in stackinfo.h.
93360         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
93361         DEFAULT_STACK_PERMS defined in stackinfo.h.
93362         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
93363         * sysdeps/ia64/stackinfo.h: Likewise.
93364         * sysdeps/s390/stackinfo.h: Likewise.
93365         * sysdeps/sh/stackinfo.h: Likewise.
93366         * sysdeps/sparc/stackinfo.h: Likewise.
93367         * sysdeps/x86_64/stackinfo.h: Likewise.
93368         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
93369         PF_X for powerpc64.  Retain PF_X for powerpc32.
93371 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
93373         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93374         accurately.
93375         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93376         GETDENTS_64BIT_ALIGNED.
93378 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
93380         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93382 2010-12-10  Andreas Schwab  <schwab@redhat.com>
93384         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93385         _GNU_SOURCE.
93387         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93388         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93389         Remove __restrict.
93390         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93391         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93393 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
93395         [BZ #11655]
93396         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93397         are initialized.
93399 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
93401         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93403 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
93405         * po/it.po: Update from translation team.
93407 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
93409         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93410         unused codes.
93412 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
93414         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93416 2010-11-24  Andreas Schwab  <schwab@redhat.com>
93418         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93419         specially.
93420         (gaih_getanswer_slice): Likewise.
93422 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
93424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93426 2010-05-31  Petr Baudis  <pasky@suse.cz>
93428         [BZ #11149]
93429         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93430         silently even in the chroot mode.
93432 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
93434         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93435         last patch a bit.  Pretty printing
93437 2010-05-31  Petr Baudis <pasky@suse.cz>
93439         [BZ #10085]
93440         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93441         initialization of skip_initgroups_dyn.
93443 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
93445         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93446         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93448 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
93450         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93452 2010-11-11  Andreas Schwab  <schwab@redhat.com>
93454         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93455         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93456         (tst-fnmatch-ENV): Set MALLOC_TRACE.
93457         ($(objpfx)tst-fnmatch-mem): New rule.
93458         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93459         * posix/tst-fnmatch.c (main): Call mtrace.
93461 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93464         Support Intel processor model 6 and model 0x2c.
93466 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93468         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93469           signed comparison.
93471 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93473         [BZ #12205]
93474         * string/test-strncasecmp.c (check_result): New function.
93475         (do_one_test): Use it.
93476         (check1): New function.
93477         (test_main): Use it.
93478         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93479         Support strcasecmp and strncasecmp.
93481 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93483         [BZ #12194]
93484         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93485         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93487 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93489         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93490         IFUNC support.
93491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93492         memset-x86-64.
93493         * sysdeps/x86_64/multiarch/bzero.S: New file.
93494         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93495         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93496         * sysdeps/x86_64/multiarch/memset.S: New file.
93497         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93499         Set bit_Prefer_SSE_for_memop for Intel processors.
93500         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93501         Define.
93502         (index_Prefer_SSE_for_memop): Define.
93503         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93505 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93507         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93508         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93510 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93512         [BZ #12191]
93513         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93514         (__x86_64_raw_data_cache_size_half): Likewise.
93515         (__x86_64_raw_shared_cache_size): Likewise.
93516         (__x86_64_raw_shared_cache_size_half): Likewise.
93518         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93519         (__x86_64_raw_data_cache_size_half): Likewise.
93520         (__x86_64_raw_shared_cache_size): Likewise.
93521         (__x86_64_raw_shared_cache_size_half): Likewise.
93522         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93523         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93524         and __x86_64_raw_shared_cache_size_half.  Round
93525         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93526         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93527         to multiple of 256 bytes.
93529 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93531         [BZ #12167]
93532         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93533         of inacessible symlinks.  Verify result of symlink before returning it.
93534         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93535         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93537 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93539         * math/math.h (isinf): Fix typo in comment.
93541 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93543         * po/da.po: Update from translation team.
93545 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93547         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93548         is added to the list.
93550 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93551             Ulrich Drepper  <drepper@gmail.com>
93553         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93554         the global list here.  Move code to...
93555         (_dl_add_to_namespace_list): ...here.  New function.
93556         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93557         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93558         * elf/dl-load.c (lose): Don't remove the element from the list.
93559         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93560         (_dl_map_object): Likewise.
93562 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
93564         [BZ #12159]
93565         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93566         into all bytes of SSE register.
93567         Patch by Richard Li <richardpku@gmail.com>.
93569 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
93571         [BZ #12140]
93572         * malloc/malloc.c (_int_free): Fill correct number of bytes when
93573         perturbing.
93575 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
93577         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93578         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93579         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93580         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93582         submachine.
93583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93585 2010-10-22  Andreas Schwab  <schwab@redhat.com>
93587         * include/dlfcn.h (__RTLD_SECURE): Define.
93588         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
93589         mode & __RTLD_SECURE instead.
93590         (open_path): Rename preloaded parameter to secure.
93591         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93592         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93593         * elf/dl-deps.c (openaux): Likewise.
93594         * elf/rtld.c (struct map_args): Remove is_preloaded.
93595         (map_doit): Don't use it.
93596         (dl_main): Likewise.
93597         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93598         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93600 2010-09-09  Andreas Schwab  <schwab@redhat.com>
93602         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93603         (sysd-rules-targets): Remove duplicates.
93604         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93605         rtld-%.$o dependency.
93607 2010-10-18  Andreas Schwab  <schwab@redhat.com>
93609         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93610         _dl_map_object do it.
93612 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
93614         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93615         fast fma builtins, define the macros in the C99 standard.
93616         (FP_FAST_FMAF): Likewise.
93617         (FP_FAST_FMAL): Likewise.
93618         * sysdeps/x86_64/bits/mathdef.h: Likewise.
93620         * bits/mathdef.h: Update copyright year.
93621         * sysdeps/powerpc/bits/mathdef.h: Likewise.
93623 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
93625         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93626         builtins, define the macros in the C99 standard.
93627         (FP_FAST_FMAF): Likewise.
93628         (FP_FAST_FMAL): Likewise.
93629         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93630         multiply/add.
93631         (FP_FAST_FMAF): Likewise.
93633 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
93635         [BZ #3268]
93636         * math/libm-test.inc (fma_test): Some new testcases.
93637         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93638         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93639         y and infinite z.  Do multiplication by C already in long double.
93640         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93642         y and infinite z.  Do bitwise or of inexact bit into u.d.
93643         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93644         * sysdeps/i386/fpu/s_fmaf.S: Removed.
93645         * sysdeps/i386/fpu/s_fma.S: Removed.
93646         * sysdeps/i386/fpu/s_fmal.S: Removed.
93648 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
93650         [BZ #3268]
93651         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93652         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93653         computation is not scheduled after fetestexcept.  Fix value
93654         of minimum denormal long double.
93656 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
93658         [BZ #3268]
93659         * math/libm-test.inc (fma_test): Add some more tests.
93660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93661         correctly.
93663 2010-10-15  Andreas Schwab  <schwab@redhat.com>
93665         * scripts/data/localplt-s390-linux-gnu.data: New file.
93666         * scripts/data/localplt-s390x-linux-gnu.data: New file.
93668 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
93670         [BZ #3268]
93671         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93672         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93673         instead of dbl-64.
93674         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93675         inlines.
93676         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93678         if one of x and y is very large and the other is subnormal.
93679         * sysdeps/s390/fpu/s_fmaf.c: New file.
93680         * sysdeps/s390/fpu/s_fma.c: New file.
93681         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93682         * sysdeps/powerpc/fpu/s_fma.S: New file.
93683         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93684         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93685         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93687 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
93689         [BZ #3268]
93690         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93691         fma tests.
93692         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93693         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93694         * sysdeps/i386/i686/multiarch/s_fma.c: Include
93695         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93696         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93697         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93698         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93700 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
93702         [BZ #12078]
93703         * posix/regcomp.c (parse_branch): One more memory leak plugged.
93704         * posix/bug-regex31.input: Add test case.
93706 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93708         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93709         * posix/bug-regex31.input: New file.
93711         [BZ #12078]
93712         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93713         (parse_sub_exp): Fix last change, use postorder.
93715         * posix/bug-regex31.c: New file.
93716         * posix/Makefile: Add rules to build and run bug-regex31.
93718         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93720         [BZ #12078]
93721         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93723         [BZ #12108]
93724         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93725         to have entries in sys_siglist.
93727         [BZ #12093]
93728         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93729         be NULL.
93731 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
93733         [BZ #3268]
93734         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93735         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93736         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93737         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93738         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93739         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93740         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93741         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93742         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93743         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93744         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93745         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93746         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93747         * math/ftestexcept.c (fetestexcept): Likewise.
93748         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93749         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93750         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93751         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93752         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93753         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93754         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93756 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93758         [BZ #12107]
93759         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93760         newline.
93762 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
93764         * string/bug-strstr1.c: New file.
93765         * string/Makefile: Add rules to build and run bug-strstr1.
93767 2010-10-05  Eric Blake  <eblake@redhat.com>
93769         [BZ #12092]
93770         * string/str-two-way.h (two_way_long_needle): Always clear memory
93771         when skipping input due to the shift table.
93773 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
93775         [BZ #12005]
93776         * malloc/mcheck.c: Handle large requests.
93778         [BZ #12077]
93779         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93780         for strncmp and strncasecmp.
93781         * string/stratcliff.c: Add tests for strcmp and strncmp.
93782         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93784 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
93786         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93787         __set_fpscr.
93789 2010-09-30  Andreas Jaeger  <aj@suse.de>
93791         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93792         (CGROUP_SUPER_MAGIC): Define.
93793         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93794         Handle btrfs and cgroup file systems.
93795         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
93796         Likewise.
93798 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
93800         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
93801         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
93803 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93805         [BZ #12067]
93806         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
93807         trying to locate the ELF header.
93809 2010-09-27  Andreas Schwab  <schwab@redhat.com>
93811         [BZ #11611]
93812         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
93813         Mask out sign-bit copies when constructing f_fsid.
93815 2010-09-24  Petr Baudis <pasky@suse.cz>
93817         * debug/stack_chk_fail_local.c: Add missing licence exception.
93818         * debug/warning-nop.c: Likewise.
93820 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
93822         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
93823         implementing getdents64 using getdents syscall, set d_type if
93824         __ASSUME_GETDENTS32_D_TYPE.
93826 2010-09-16  Andreas Schwab  <schwab@redhat.com>
93828         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
93829         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
93831 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
93833         [BZ #12037]
93834         * posix/unistd.h: Undo change of feature selection for ftruncate from
93835         2010-01-11.
93837 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
93839         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
93840         detection.
93842 2010-09-20  Andreas Schwab  <schwab@redhat.com>
93844         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
93845         fanotify_mark.
93846         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93848 2010-09-14  Andreas Schwab  <schwab@redhat.com>
93850         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
93851         variables after CHECK_SP call.
93852         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
93854 2010-09-13  Andreas Schwab  <schwab@redhat.com>
93855             Ulrich Drepper  <drepper@redhat.com>
93857         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
93858         re-relocationg ld.so.
93859         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
93860         _dl_init_paths call.
93861         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
93862         here anymore.
93864 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
93866         * resolv/res_init.c (__res_vinit): Count the default server we added.
93868 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
93869             Ulrich Drepper  <drepper@redhat.com>
93871         [BZ #11968]
93872         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
93873         (____longjmp_chk): Use %ebx for saving value across system call.
93874         Add unwind info.
93876 2010-09-06  Andreas Schwab  <schwab@redhat.com>
93878         * manual/Makefile: Don't mix pattern rules with normal rules.
93880 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
93882         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
93883         operation.
93884         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
93885         * libio/iofopncook.c (_IO_cookie_init): Likewise.
93886         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
93887         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
93888         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
93889         Likewise.
93891 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
93893         [BZ #11979]
93894         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
93895         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
93897 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
93899         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
93900         * sysdeps/x86_64/addmul_1.S: Likewise.
93901         * sysdeps/x86_64/lshift.S: Likewise.
93902         * sysdeps/x86_64/mul_1.S: Likewise.
93903         * sysdeps/x86_64/rshift.S: Likewise.
93904         * sysdeps/x86_64/sub_n.S: Likewise.
93905         * sysdeps/x86_64/submul_1.S: Likewise.
93907 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93909         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
93910         Define __sched_param instead of SCHED_* and sched_param when
93911         <bits/sched.h> is included with __need_schedparam defined.
93912         * bits/sched.h [__need_schedparam]
93913         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
93914         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
93915         (__defined_schedparam): Define to 1.
93916         (__sched_param): New structure, identical to sched_param.
93917         (__need_schedparam): Undefine.
93919 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
93921         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
93922         (epoll_create1): Declare.
93924         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
93926 2010-08-31  Andreas Schwab  <schwab@redhat.com>
93928         [BZ #7066]
93929         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
93930         shifting retval into place.
93932 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
93934         * nis/rpcsvc/nis.h: Update copyright notice.
93935         * nis/rpcsvc/nis.x: Likewise.
93936         * nis/rpcsvc/nis_callback.h: Likewise.
93937         * nis/rpcsvc/nis_callback.x: Likewise.
93938         * nis/rpcsvc/nis_object.x: Likewise.
93939         * nis/rpcsvc/nis_tags.h: Likewise.
93940         * nis/rpcsvc/yp.h: Likewise.
93941         * nis/rpcsvc/yp.x: Likewise.
93942         * nis/rpcsvc/ypupd.h: Likewise.
93943         * nis/yp_xdr.c: Likewise.
93944         * nis/ypupdate_xdr.c: Likewise.
93946         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
93947         mainly the body of pmap_getport.  Add parameters to specify timeouts.
93948         (pmap_getport): Use __libc_rpc_getport.
93949         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
93950         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
93951         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
93953 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
93955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
93956         fanotify_mark.
93958 2010-08-27  Roland McGrath  <roland@redhat.com>
93960         * sysdeps/i386/i686/multiarch/Makefile
93961         (CFLAGS-varshift.c): New variable.
93963 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
93965         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
93966         * sysdeps/i386/i686/multiarch/varshift.c: New file.
93968         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
93970         * sysdeps/x86_64/strlen.S: Minimal code improvement.
93972 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
93974         * sysdeps/x86_64/strlen.S: Unroll the loop.
93975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93976         strlen-sse2 strlen-sse2-bsf.
93977         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
93978         __strlen_no_bsf if bit_Slow_BSF is set.
93979         (__strlen_sse42): Removed.
93980         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
93981         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
93983 2010-08-25  Roland McGrath  <roland@redhat.com>
93985         * sysdeps/x86_64/multiarch/varshift.S: File removed.
93986         * sysdeps/x86_64/multiarch/varshift.c: New file.
93987         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
93988         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
93989         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
93990         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
93992 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
93994         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93995         strlen-sse2 strlen-sse2-bsf.
93996         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
93997         __strlen_sse2_bsf if bit_Slow_BSF is unset.
93998         (__strlen_sse2): Removed.
93999         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
94000         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
94001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
94002         bit_Slow_BSF for Atom.
94003         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
94004         (index_Slow_BSF): Define.
94005         (HAS_SLOW_BSF): Define.
94007 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
94009         [BZ #10851]
94010         * resolv/res_init.c (__res_vinit): When no server address at all
94011         is given default to loopback.
94013 2010-08-24  Roland McGrath  <roland@redhat.com>
94015         * configure.in: Remove config-name.h generation.
94016         * configure: Regenerated.
94017         * config-name.in: File removed.
94018         * scripts/config-uname.sh: New file.
94019         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
94020         ($(objdir)config-name.h): New target.
94022         * sunrpc/rpc_parse.h: Avoid nested comment.
94024 2010-08-24  Richard Henderson  <rth@redhat.com>
94025             Ulrich Drepper  <drepper@redhat.com>
94026             H.J. Lu  <hongjiu.lu@intel.com>
94028         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
94029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
94030         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
94031         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
94032         _mm_alignr_epi8 with _mm_loadu_si128.
94033         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
94034         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
94035         (__m128i_shift_right): Removed.
94036         * sysdeps/i386/i686/multiarch/varshift.h: New file.
94037         * sysdeps/i386/i686/multiarch/varshift.S: New file.
94038         * sysdeps/x86_64/multiarch/varshift.h: New file.
94039         * sysdeps/x86_64/multiarch/varshift.S: New file.
94041 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
94043         * configure.in: Move assembler checks to before sysdep dir checking.
94045 2010-08-20  Petr Baudis  <pasky@suse.cz>
94047         * LICENSES: Sync the sunrpc license.
94049 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
94051         * sunrpc/auth_des.c: Update copyright notice once again.
94052         * sunrpc/auth_none.c: Likewise.
94053         * sunrpc/auth_unix.c: Likewise.
94054         * sunrpc/authdes_prot.c: Likewise.
94055         * sunrpc/authuxprot.c: Likewise.
94056         * sunrpc/bindrsvprt.c: Likewise.
94057         * sunrpc/clnt_gen.c: Likewise.
94058         * sunrpc/clnt_perr.c: Likewise.
94059         * sunrpc/clnt_raw.c: Likewise.
94060         * sunrpc/clnt_simp.c: Likewise.
94061         * sunrpc/clnt_tcp.c: Likewise.
94062         * sunrpc/clnt_udp.c: Likewise.
94063         * sunrpc/clnt_unix.c: Likewise.
94064         * sunrpc/des_crypt.c: Likewise.
94065         * sunrpc/des_soft.c: Likewise.
94066         * sunrpc/get_myaddr.c: Likewise.
94067         * sunrpc/getrpcport.c: Likewise.
94068         * sunrpc/key_call.c: Likewise.
94069         * sunrpc/key_prot.c: Likewise.
94070         * sunrpc/openchild.c: Likewise.
94071         * sunrpc/pm_getmaps.c: Likewise.
94072         * sunrpc/pm_getport.c: Likewise.
94073         * sunrpc/pmap_clnt.c: Likewise.
94074         * sunrpc/pmap_prot.c: Likewise.
94075         * sunrpc/pmap_prot2.c: Likewise.
94076         * sunrpc/pmap_rmt.c: Likewise.
94077         * sunrpc/rpc/auth.h: Likewise.
94078         * sunrpc/rpc/auth_unix.h: Likewise.
94079         * sunrpc/rpc/clnt.h: Likewise.
94080         * sunrpc/rpc/des_crypt.h: Likewise.
94081         * sunrpc/rpc/key_prot.h: Likewise.
94082         * sunrpc/rpc/netdb.h: Likewise.
94083         * sunrpc/rpc/pmap_clnt.h: Likewise.
94084         * sunrpc/rpc/pmap_prot.h: Likewise.
94085         * sunrpc/rpc/pmap_rmt.h: Likewise.
94086         * sunrpc/rpc/rpc.h: Likewise.
94087         * sunrpc/rpc/rpc_des.h: Likewise.
94088         * sunrpc/rpc/rpc_msg.h: Likewise.
94089         * sunrpc/rpc/svc.h: Likewise.
94090         * sunrpc/rpc/svc_auth.h: Likewise.
94091         * sunrpc/rpc/types.h: Likewise.
94092         * sunrpc/rpc/xdr.h: Likewise.
94093         * sunrpc/rpc_clntout.c: Likewise.
94094         * sunrpc/rpc_cmsg.c: Likewise.
94095         * sunrpc/rpc_common.c: Likewise.
94096         * sunrpc/rpc_cout.c: Likewise.
94097         * sunrpc/rpc_dtable.c: Likewise.
94098         * sunrpc/rpc_hout.c: Likewise.
94099         * sunrpc/rpc_main.c: Likewise.
94100         * sunrpc/rpc_parse.c: Likewise.
94101         * sunrpc/rpc_parse.h: Likewise.
94102         * sunrpc/rpc_prot.c: Likewise.
94103         * sunrpc/rpc_sample.c: Likewise.
94104         * sunrpc/rpc_scan.c: Likewise.
94105         * sunrpc/rpc_scan.h: Likewise.
94106         * sunrpc/rpc_svcout.c: Likewise.
94107         * sunrpc/rpc_tblout.c: Likewise.
94108         * sunrpc/rpc_util.c: Likewise.
94109         * sunrpc/rpc_util.h: Likewise.
94110         * sunrpc/rpcinfo.c: Likewise.
94111         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94112         * sunrpc/rpcsvc/key_prot.x: Likewise.
94113         * sunrpc/rpcsvc/klm_prot.x: Likewise.
94114         * sunrpc/rpcsvc/mount.x: Likewise.
94115         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94116         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94117         * sunrpc/rpcsvc/rex.x: Likewise.
94118         * sunrpc/rpcsvc/rstat.x: Likewise.
94119         * sunrpc/rpcsvc/rusers.x: Likewise.
94120         * sunrpc/rpcsvc/sm_inter.x: Likewise.
94121         * sunrpc/rpcsvc/spray.x: Likewise.
94122         * sunrpc/rpcsvc/yppasswd.x: Likewise.
94123         * sunrpc/rtime.c: Likewise.
94124         * sunrpc/svc.c: Likewise.
94125         * sunrpc/svc_auth.c: Likewise.
94126         * sunrpc/svc_authux.c: Likewise.
94127         * sunrpc/svc_raw.c: Likewise.
94128         * sunrpc/svc_run.c: Likewise.
94129         * sunrpc/svc_simple.c: Likewise.
94130         * sunrpc/svc_tcp.c: Likewise.
94131         * sunrpc/svc_udp.c: Likewise.
94132         * sunrpc/svc_unix.c: Likewise.
94133         * sunrpc/svcauth_des.c: Likewise.
94134         * sunrpc/xcrypt.c: Likewise.
94135         * sunrpc/xdr.c: Likewise.
94136         * sunrpc/xdr_array.c: Likewise.
94137         * sunrpc/xdr_float.c: Likewise.
94138         * sunrpc/xdr_mem.c: Likewise.
94139         * sunrpc/xdr_rec.c: Likewise.
94140         * sunrpc/xdr_ref.c: Likewise.
94141         * sunrpc/xdr_sizeof.c: Likewise.
94142         * sunrpc/xdr_stdio.c: Likewise.
94144         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94145         handling.
94147 2010-08-19  Andreas Schwab  <schwab@redhat.com>
94149         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94151 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
94153         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
94154         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
94155         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
94156         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
94157         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
94158         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
94159         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
94160         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
94161         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
94162         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
94163         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
94164         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
94165         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
94166         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
94168 2010-07-26  Anton Blanchard  <anton@samba.org>
94170         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
94171         * malloc/arena.c (heap_trim): Likewise.
94173 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
94175         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
94176         here.  Not...
94177         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
94178         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
94180 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
94182         * sysdeps/i386/elf/Makefile: New file.
94184 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94186         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
94187         from fanotify_init.
94188         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
94189         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94191 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
94193         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
94194         of strncasecmp_l.
94195         * sysdeps/multiarch/strcmp.S: Likewise.
94197 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
94199         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94200         strncase_l-nonascii.
94201         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94202         Add strncase_l-ssse3.
94203         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
94204         * sysdeps/x86_64/strcmp.S: Likewise.
94205         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
94206         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
94207         * sysdeps/x86_64/strncase.S: New file.
94208         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
94209         * sysdeps/x86_64/strncase_l.S: New file.
94210         * string/Makefile (strop-tests): Add strncasecmp.
94211         * string/test-strncasecmp.c: New file.
94213         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
94214         warning.
94216         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
94217         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
94219 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94221         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
94223 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
94225         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
94226         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
94227         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
94229 2010-05-01  Alan Modra  <amodra@gmail.com>
94231         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
94232         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
94233         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
94234         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
94235         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
94236         tidying.  Don't tail-call __sigjmp_save for static lib.
94237         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
94238         save location.
94239         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
94240         (CALL_MCOUNT): Add eh info, and nop after bl.
94241         (TAIL_CALL_SYSCALL_ERROR): New macro.
94242         (PSEUDO_RET): Use it.
94243         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
94244         Correct save location of integer regs and cr.
94245         (_dl_profile_resolve): Correct cr save location.  Delete nops
94246         after bl when SHARED.  Reduce cfi size a little by better
94247         placement of cfi directives.
94248         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
94249         make a stack frame.  Instead use parm save area as a temp.
94250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
94251         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
94252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
94253         Don't make a stack frame for parent, use parm save area.
94254         Increase child stack frame to 112 bytes.  Don't save unused reg,
94255         and adjust reg usage.  Set up cfi on error recovery and
94256         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
94257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
94258         (__makecontext): Add dummy nop after jump to exit.
94259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
94260         Use correct parm save area and cr save, reduce stack frame.
94261         Correct cfi for possible PSEUDO_RET frame setup.
94262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
94263         Branch to local label emitted by PSEUDO_RET rather than
94264         __syscall_error.
94266 2010-08-12  Andreas Schwab  <schwab@redhat.com>
94268         [BZ #11904]
94269         * locale/programs/locale.c (print_assignment): New function.
94270         (show_locale_vars): Use it.
94272 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
94274         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
94275         field.
94276         (struct statfs64): Likewise.
94277         (_STATFS_F_FLAGS): Define.
94278         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
94279         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94280         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
94281         (ST_VALID): Define locally.
94282         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
94283         __statvfs_getflags, use the provided value.
94284         * sysdeps/unix/sysv/linux/kernel-features.h: Define
94285         __ASSUME_STATFS_F_FLAGS.
94287         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
94289         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94290         Add sys/fanotify.h.
94291         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
94292         fanotify_mask for GLIBC_2.13.
94293         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
94294         fanotify_init and fanotify_mark.
94295         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94296         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
94298         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
94299         Add prlimit.
94300         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
94301         prlimit64 for GLIBC_2.13.
94302         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
94303         prlimit64.
94304         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
94305         syscall.
94306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
94307         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94308         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
94309         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
94310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
94311         add prlimit alias.
94312         * sysdeps/unix/sysv/linux/prlimit.c: New file.
94314         [BZ #11903]
94315         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
94316         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
94318         * nss/Makefile: Add rules to build and run tst-nss-test1.
94319         * shlib-versions: Add entry for libnss_test1.
94320         * nss/nss_test1.c: New file.
94321         * nss/tst-nss-test1.c: New file.
94323         * nss/nsswitch.c (__nss_database_custom): Define new variable.
94324         (__nss_configure_lookup): Set appropriate entry in
94325         __nss_configure_lookup to true.
94326         * nss/nsswitch.h: Define enum with indeces of databases in
94327         databases and __nss_database_custom arrays.  Declare
94328         __nss_database_custom.
94329         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
94330         to avoid using nscd when custom rules are installed.
94331         * nss/getXXbyYY_r.c: Likewise.
94332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
94334         * nss/nss_files/files-parse.c: Whitespace fixes.
94336 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
94338         [BZ #11883]
94339         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
94340         * posix/fnmatch_loop.c: Likewise.
94342 2010-07-17  Andi Kleen  <ak@linux.intel.com>
94344         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
94345         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
94346         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
94347         * Versions.def [GLIBC_2.13]: Add.
94349 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
94351         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94352         Also fail if tpwd after pwuid call is NULL.
94354 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94356         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
94357         when converting to ms.
94359 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94361         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
94362         EOPNOTSUPP errors with ENOTTY.
94363         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
94364         EOPNOTSUPP errors with ENOTTY.
94366 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
94368         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94369         Add strcasecmp_l-ssse3.
94370         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
94371         strcasecmp.
94372         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94373         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94374         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94376 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
94378         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94380         * string/Makefile (strop-tests): Add strcasecmp.
94381         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94382         strcasecmp_l-nonascii.
94383         (gen-as-const-headers): Add locale-defines.sym.
94384         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94385         * sysdeps/x86_64/strcasecmp.S: New file.
94386         * sysdeps/x86_64/strcasecmp_l.S: New file.
94387         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94388         * sysdeps/x86_64/locale-defines.sym: New file.
94389         * string/test-strcasecmp.c: New file.
94391         * string/test-strcasestr.c: Test both ends of the range of characters.
94392         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94394 2010-07-29  Roland McGrath  <roland@redhat.com>
94396         [BZ #11856]
94397         * manual/locale.texi (Yes-or-No Questions): Fix example code.
94399 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
94401         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94402         for ld.so.
94404 2010-07-27  Andreas Schwab  <schwab@redhat.com>
94406         * manual/memory.texi (Malloc Tunable Parameters): Document
94407         M_PERTURB.
94409 2010-07-26  Roland McGrath  <roland@redhat.com>
94411         [BZ #11840]
94412         * configure.in (-fgnu89-inline check): Set and substitute
94413         gnu89_inline, not libc_cv_gnu89_inline.
94414         * configure: Regenerated.
94415         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94417 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
94419         * string/test-strnlen.c: New file.
94420         * string/Makefile (strop-tests): Add strnlen.
94421         * string/tester.c (test_strnlen): Add a few more test cases.
94422         * string/tst-strlen.c: Better error reporting.
94424         * sysdeps/x86_64/strnlen.S: New file.
94426 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
94428         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94429         lower-latency instructions.
94431 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
94433         * string/test-strcasestr.c: New file.
94434         * string/test-strstr.c: New file.
94435         * string/Makefile (strop-tests): Add strstr and strcasestr.
94436         * string/str-two-way.h: Don't undefine MAX.
94437         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94439 2010-07-21  Andreas Schwab  <schwab@redhat.com>
94441         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94442         strcasestr-nonascii.
94443         (CFLAGS-strcasestr-nonascii.c): Define.
94444         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94445         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94446         Remove unused attribute.
94448 2010-07-20  Roland McGrath  <roland@redhat.com>
94450         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94451         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
94452         ld.so.cache was broken.  With it, there is no way to disable dsocaps
94453         like LD_HWCAP_MASK can disable hwcaps.
94455 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94457         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94459 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94461         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94462         call in strcasestr.
94463         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94464         __strcasestr_sse42_nonascii.
94465         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94466         strcasestr-nonascii.c.
94467         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94469 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94471         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94472         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94473         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94474         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94476 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94478         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94479         fcntl.
94481 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94483         [BZ #11577]
94484         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94485         dl_signal_cerror.
94487 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94489         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94490         _PC_PIPE_BUF using F_GETPIPE_SZ.
94492 2010-07-05  Roland McGrath  <roland@redhat.com>
94494         * manual/arith.texi (Rounding Functions): Fix rint description
94495         implicit in round description.
94497 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94499         * elf/Makefile: Fix linking for a few tests to make recent linker
94500         happy.
94502 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94504         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94505         $(common-objpfx)libc_nonshared.a.
94507 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94509         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94510         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94511         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94512         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94513         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94514         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94515         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94516         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94531         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94532         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94533         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94534         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94535         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94536         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94537         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94538         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94539         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94540         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94541         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94542         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94558 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94560         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94561         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94562         * string/memmove.c (memmove): Renamed to ...
94563         (MEMMOVE): ...this.  Default to memmove.
94564         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94565         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94566         (END_CHK): Define.
94567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94568         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94569         mempcpy-ssse3-back memmove-ssse3-back.
94570         * sysdeps/x86_64/multiarch/bcopy.S: New file .
94571         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94572         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94573         * sysdeps/x86_64/multiarch/memcpy.S: New file.
94574         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94575         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94576         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94577         * sysdeps/x86_64/multiarch/memmove.c: New file.
94578         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94579         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94580         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94581         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94582         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94583         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94584         Define.
94585         (index_Fast_Copy_Backward): Define.
94586         (HAS_ARCH_FEATURE): Define.
94587         (HAS_FAST_REP_STRING): Define.
94588         (HAS_FAST_COPY_BACKWARD): Define.
94590 2010-06-21  Andreas Schwab  <schwab@redhat.com>
94592         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94593         Restore proper fallback handling.
94595 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
94597         [BZ #11701]
94598         * posix/group_member.c (__group_member): Correct checking loop.
94600         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94601         OOM in getpwuid_r correctly.  Return error number when the caller
94602         should return, otherwise -1.
94603         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94604         call returning > 0 value.
94605         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94607 2010-06-07  Andreas Schwab  <schwab@redhat.com>
94609         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94610         libc_nonshared.a from targets in modules-names.
94612 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
94614         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94615         requires it.
94617 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
94619         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94620         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94621         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94622         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94624 2010-06-02  Andreas Schwab  <schwab@redhat.com>
94626         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94628 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
94630         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94631         and F_GETPIPE_SZ.
94632         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94636         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94637         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94639 2010-06-14  Roland McGrath  <roland@redhat.com>
94641         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94643 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
94645         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94646         __REDIRECT followed by __THROW.
94647         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94648         * posix/getopt.h (getopt): Likewise.
94650 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94652         * hurd/lookup-at.c (__file_name_lookup_at): Accept
94653         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
94654         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94655         in AT_FLAGS.
94656         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94657         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94659 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
94661         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94663 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
94665         [BZ #11640]
94666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94667         Properly check family and model.
94669 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
94671         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94673 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
94675         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94677 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
94679         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94680         symbol reference.
94682 2010-05-19  Andreas Schwab  <schwab@redhat.com>
94684         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94685         symbol reference.
94687 2010-05-21  Andreas Schwab  <schwab@redhat.com>
94689         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94690         and internal_recvmmsg.
94691         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94692         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94693         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94694         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94696         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94697         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94698         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94700 2010-05-20  Andreas Schwab  <schwab@redhat.com>
94702         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94704 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
94706         POWER7 optimizations.
94707         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94708         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94710 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
94712         * version.h: Update for 2.13 development version.
94714 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
94716         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94717         exceptions.  Return 0.
94719 2010-05-07  Roland McGrath  <roland@redhat.com>
94721         * elf/ldconfig.c (main): Add a const.
94723 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
94725         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94726         (args_options): Add no-idn option.
94727         (ahosts_keys_int): Add idn_flags to ai_flags.
94728         (parse_option): Handle 'i' option to clear idn_flags.
94730         * malloc/malloc.c (_int_free): Possible race in the most recently
94731         added check.  Only act on the data if no current modification
94732         happened.
94734 See ChangeLog.17 for earlier changes.